1 2000-09-29 Miles Bader <miles@gnu.org>
3 * image-file.el (image-file-name-extensions): New variable.
4 (image-file-name-regexps): Renamed from `image-file-regexps'.
5 New default value is nil. Call `auto-image-file-mode'.
6 (image-file-name-regexp): New function.
7 (auto-image-file-mode): New minor mode.
8 (insert-image-file): Don't make conditional on the image-file
10 (image-file-handler): Make the call here conditional instead.
11 (set-image-file-handler-enabled, enable-image-file-handler)
12 (disable-image-file-handler): Functions removed.
14 * emacs-lisp/authors.el (authors-print): Rephrase many-files
17 2000-09-29 Gerd Moellmann <gerd@gnu.org>
19 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
20 it's a function from CL.
21 (latex-imenu-create-index): Replace eval-when-compile with progn
22 because latex-section-alist is not bound while compiling.
24 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
26 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
27 (outline-mode): Use define-derived-mode.
29 * progmodes/perl-mode.el (perl-mode):
30 * progmodes/awk-mode.el (awk-mode):
31 * progmodes/asm-mode.el (asm-mode):
32 Don't gratuitously override the default for comment-column.
34 * emacs-lisp/lisp.el (lisp-complete-symbol):
35 Distinguish the let-binding case from the funcall case.
36 (forward-sexp-function): New variable.
37 (forward-sexp): Use it.
39 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
40 (easy-mmode-defmap): Remove the now useless autoload.
42 * time.el (display-time-mode): Use define-minor-mode.
44 * subr.el (add-minor-mode): Don't eval NAME.
45 Don't depend on the presence of TOGGLE-FUN for any special behavior.
46 Use if rather than cond.
48 * simple.el (read-expression-map): Define more properly.
49 (comment-indent-hook): Remove.
50 (string-to-syntax): Bug fix.
52 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
53 (cvs-ediff-diff): Fix typo.
54 (cvs-revert-if-needed): Don't bother preserving read-only.
56 * paren.el (show-paren-mode): Use define-minor-mode.
58 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
59 (toggle-auto-compression): Remove.
60 (jka-compr-build-file-regexp): Remove useless grouping.
62 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
63 Avoid user-reserved bindings.
64 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
65 (diff-header-face): Revert to grey85.
67 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
69 * complete.el (partial-completion-mode) <defcustom>: Remove.
70 (partial-completion-mode): Use define-minor-mode.
71 (PC-do-completion): Understand `completion-auto-help = delay'
72 to mean to popup the completion buffer only the second time.
73 (PC-include-file-all-completions, PC-include-file-all-completions)
74 (PC-include-file-all-completions): Don't quote lambda.
76 * comint.el (comint-mode-hook): Docstring fix.
77 (comint-mode): Use define-derived-mode.
78 (comint-mode-map): Remove obsolete comment.
79 (make-comint): Minor stylistic change.
80 (comint-insert-clicked-input): Be more careful to find the overlay.
81 Use this-command-keys rather than hardcoding mouse-2.
83 * font-lock.el: Replace confusing (,@ with ,
84 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
85 Don't use regexp-opt-depth. Spice up the regexp for args.
86 Don't distinguish between cmds that can take an opt arg or not.
87 Use `append' and `prepend' rather than `keep'.
89 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
90 (latex-outline-regexp): New var.
91 (latex-outline-level): New fun.
92 (latex-section-alist): New var.
93 (latex-imenu-create-index): Use it. Use `push' as well.
94 (tex-shell-map): Initialize it properly.
95 (tex-mode): Minor stylistic change.
96 (plain-tex-mode): Use define-derived-mode.
97 (latex-mode): Use define-derived-mode.
98 Construct the paragraph regexps in a more readable way.
99 Set the buffer-local outline-{level,regexp} vars.
100 (slitex-mode): Derive from latex-mode.
101 (tex-common-initialization): Don't kill-all-vars anymore.
102 Add setting for comment-add and font-lock-defaults.
103 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
104 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
105 (tex-start-tex): New arg DIR (and send a chdir command for it).
106 Also display the shell buffer and save it in tex-last-buffer-texed.
107 (tex-region): Use expand-file-name rather than concat.
108 Remove code made useless by changes in tex-start-tex.
109 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
111 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
113 2000-09-28 Dave Love <fx@gnu.org>
115 * eshell/eshell.el (eshell) <defgroup>: Add :version.
117 2000-09-28 Gerd Moellmann <gerd@gnu.org>
119 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
122 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
124 * info.el (Info-extract-pointer): Undo last change.
125 Instead, fix the position of the `bound' arg to re-search-backward.
127 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
129 * info.el (Info-extract-pointer):
130 Widen more carefully, to avoid finding pointers in other nodes.
131 (Info-index): Use push.
133 2000-09-27 Gerd Moellmann <gerd@gnu.org>
135 * frame.el (set-frame-font): Remove call to obsolete function
137 (set-foreground-color, set-background-color): Likewise for
138 frame-update-face-colors.
140 2000-09-27 Miles Bader <miles@gnu.org>
142 * image-file.el: New file.
144 2000-09-27 Gerd Moellmann <gerd@gnu.org>
146 * frame.el (frame-notice-user-settings): Don't call
147 frame-update-faces, which is a no-op now.
149 * ediff-wind.el (ediff-control-frame-parameters): Add zero
152 2000-09-27 Dave Love <fx@gnu.org>
154 * mouse.el: Fix last change.
156 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
158 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
160 2000-09-22 Kenichi Handa <handa@etl.go.jp>
162 * international/quail.el (quail-help): The output message is
165 2000-09-26 Dave Love <fx@gnu.org>
167 * mouse.el (popup-menu): If POSITION is nil, set it using
170 2000-09-25 Sam Steingold <sds@gnu.org>
172 * net/browse-url.el (browse-url-file-url): Check for null maps.
174 2000-09-26 Gerd Moellmann <gerd@gnu.org>
176 * frame.el (frame-notice-user-settings): Don't add a
177 tool-bar-lines frame parameter to default-frame-alist in batch mode.
179 * frame.el (frame-notice-user-settings):
180 Make tool-bar-mode and default-frame-alist consistent.
182 * toolbar/tool-bar.el (tool-bar-help): New function.
184 2000-09-25 Gerd Moellmann <gerd@gnu.org>
186 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
187 current-load-list in top-level forms. Else this leaks a cons cell
188 every time a defun is called.
190 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
192 2000-09-25 Dave Love <fx@gnu.org>
194 * startup.el (fancy-splash-head): Check XPM is available.
196 * autoinsert.el (auto-insert): Doc fix.
197 (auto-insert-alist): Following GNU notices, don't say `copyright
198 _by_'. Use line-beginning-position.
199 (auto-insert): Check buffer-file-name is non-nil before use.
201 2000-09-25 Gerd Moellmann <gerd@gnu.org>
203 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
204 starting with `@def' or `@multitable', in addition to ones
205 specified by the user in auto-fill-inhibit-regexp.
207 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
209 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
210 rmail-dont-reply-to-names matches the empty string.
212 2000-09-25 Gerd Moellmann <gerd@gnu.org>
214 * startup.el (command-line-1, fancy-splash-text): Change the
215 text to sound more friendly.
217 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
219 * progmodes/hideshow.el: Update author email address.
220 Generally, sync w/ maintainer version 5.22.
221 (hs-hide-all-non-comment-function): New var.
222 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
223 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
224 (hs-show-region): Delete this command.
225 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
227 2000-09-22 Dave Love <fx@gnu.org>
229 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
230 (hl-line-highlight): Specify buffer when moving overlay.
232 * progmodes/fortran.el (fortran-mode): Locally set
233 normal-auto-fill-function.
234 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
235 (fortran-mode-map): Adjust auto-fill menu entry.
237 2000-09-22 Gerd Moellmann <gerd@gnu.org>
239 * vc-rcs.el (toplevel): Require `vc' when compiling.
241 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
243 2000-09-22 Andre Spiegel <spiegel@gnu.org>
245 * vc.el (vc-switch-backend): Signal an error if the file is not
246 registered under the new backend.
248 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
249 without explicit revision number.
251 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
253 * diff-mode.el (diff-file-header-face): Reset to its previous value.
254 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
255 (diff-xor): New function.
256 (diff-find-source-location): Use it. Fix a stupid name clash.
257 (diff-hunk-status-msg): New function.
258 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
259 (diff-test-hunk): Use diff-find-source-location.
260 (diff-goto-source): Favor the `reverse'.
261 (diff-hunk-text): Properly handle one-sided context diffs.
262 (diff-apply-hunk): When done, advance to the next hunk.
264 2000-09-21 Gerd Moellmann <gerd@gnu.org>
266 * startup.el (command-line): If frame was created with a non-zero
267 tool-bar-lines parameter, switch tool-bar-mode on.
269 * add-log.el (change-log-date-face, change-log-name-face)
270 (change-log-email-face, change-log-file-face)
271 (change-log-list-face, change-log-conditionals-face)
272 (change-log-function-face, change-log-acknowledgement-face):
273 New faces, inheriting from font-lock faces.
274 (change-log-font-lock-keywords): Use them.
276 2000-09-21 Dave Love <fx@gnu.org>
278 * progmodes/cperl-mode.el (top-level): Clean up
279 `eval-when-compile's and assorted defvars.
280 (cperl-invalid-face): Don't double-quote value. Change custom
282 (cperl-mode): Set normal-auto-fill-function and don't zap
284 (cperl-imenu--function-name-regexp-perl): Renamed from
285 imenu-example--function-name-regexp-perl.
286 (cperl-imenu--create-perl-index): Renamed from
287 imenu-example--create-perl-index.
288 (cperl-xsub-scan): Don't require cl.
290 * msb.el (msb-mode-map): Use substitute-key-definition.
291 (msb-mode): Use msb-mode-map.
293 2000-09-21 Andre Spiegel <spiegel@gnu.org>
295 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
297 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
298 (vc-switch-backend): New function.
299 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
300 (vc-register): Fix prompt.
301 (vc-unregister, vc-default-unregister): New functions.
302 (vc-version-diff): Handle empty buffer in sentinel.
304 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
305 (vc-rcs-state-heuristic): Use it to guess the state of files with
307 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
308 been set with -b, but not created yet.
309 (vc-rcs-fetch-master-state): With non-strict locking, compare file
310 contents in order to find the state.
311 (vc-rcs-checkin): Allow creation of branches with no changes.
312 (vc-rcs-unregister, vc-rcs-receive-file)
313 (vc-rcs-set-non-strict-locking): New functions.
315 * vc-hooks.el (vc-name): Force correct computation of the value
316 in case it is missing.
318 2000-09-21 Gerd Moellmann <gerd@gnu.org>
320 * startup.el (fancy-splash-tail): Use a different foreground
321 color on a dark frame background.
323 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
325 * info.el: Use the correct capitalization when making Info-mode
326 and Info-edit-mode `special' modes.
328 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
330 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
331 (diff-mode): Add support for add-log.el.
332 (diff-hunk-text): Use char offsets rather than line offsets.
333 (diff-find-source-location): Replace LINE with line-offset (nil
334 if not found) and always set POS to a meaningful position.
335 Adapt to the new char-offsets.
336 (diff-apply-hunk): Drop support for the unused `select' POPUP.
337 Adapt to the new diff-find-source-location.
338 (diff-goto-source): Adapt to the new diff-find-source-location.
340 * add-log.el (add-log-file-name): New function (split out of
341 add-change-log-entry).
342 (add-change-log-entry): Use it.
343 Call add-log-file-name-function with the changelog file name if
344 the current buffer is not associated with any file.
345 Avoid find-file if the selected window is dedicated.
347 * diff-mode.el (diff-find-source-location):
348 Move code from diff-apply-hunk. Return buffer rather than file.
349 (diff-apply-hunk): Use the new result from diff-find-source-location.
350 (diff-goto-source): Use the new diff-find-source-location.
352 2000-09-20 Dave Love <fx@gnu.org>
354 * iswitchb.el: Some doc fixes.
355 (iswitchb-mode-map): Define completely initially. Inherit
356 minibuffer-local-map.
357 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
359 (iswitchb-global-map): New variable.
360 (iswitchb-summaries-to-end): Amalgamate regexps.
361 (iswitchb-mode): New.
362 (iswitchb-mode-hook): New variable.
363 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
366 2000-09-20 Gerd Moellmann <gerd@gnu.org>
368 * ehelp.el (electric-help): New defgroup.
369 (electric-help-shrink-window): New user-option.
370 (with-electric-help): Use it.
372 * window.el (shrink-window-if-larger-than-buffer): If face
373 `mode-line' has a :box, and we're on a graphical frame, add 1
374 to the needed window height.
376 * frame.el (frame-notice-user-settings): Add a last parameter nil
377 to a call to `append', because the last list passed to `append' is
378 not copied, and so subsequent calls to assq-delete-all will modify
381 * startup.el (fancy-splash-image): Change :type.
382 (fancy-splash-head): Use an XBM image if appropriate.
383 (command-line-1): Show splash screens in more cases.
385 * startup.el (fancy-splash-text): Don't quote faces.
387 * dired.el (dired-font-lock-keywords): Undo last change.
388 (dired-readin): Bind indent-tabs-mode to nil.
390 * startup.el (fancy-splash-head): If frame's background mode
391 is `dark', change the black background of the image to gray.
392 (fancy-splash-screens): Display startup echo area message.
393 (display-startup-echo-area-message): New function.
395 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
397 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
399 * info.el (info-header-node): Tweak for color ttys.
401 * faces.el (face-valid-attribute-values): Make sure directories we
402 search for stipples both exist and are readable before trying to
405 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
408 * jka-compr.el (with-auto-compression-mode): New macro.
410 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
411 (custom-group-tag-face, custom-variable-tag-face): Use relative
412 :height and inherit from `variable-pitch' face instead of
414 * hi-lock.el (hi-black-hb): Likewise.
416 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
417 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
418 toolbar-add-item, if image doesn't have a mask add a `:mask
421 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
423 * diff-mode.el: Docstring fixes.
424 (diff-header-face, diff-comment-face): New faces.
425 (diff-font-lock-keywords): Highlight a bit differently.
426 (diff-find-source-location): Don't return SPAN any more.
427 (diff-hunk-text): Don't bother erasing the temp buffer.
428 (diff-find-text): Drop argument LINE.
429 (diff-apply-hunk): Update calls to diff-find-text.
430 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
432 * calendar/calendar.el: Docstring fixes.
433 (calendar-make-alist): Don't quote lambda.
434 (calendar-star-date): Use make-local-variable.
436 2000-09-19 Dave Love <fx@gnu.org>
438 * toolbar/tool-bar.el: Renamed from toolbar.el.
439 Change `toolbar' to `tool-bar' generally in symbols.
440 Make some items invisible in `special' major modes.
441 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
444 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
446 (fancy-splash-delay, fancy-splash-image): Remove :version here.
448 2000-09-19 Gerd Moellmann <gerd@gnu.org>
450 * progmodes/sh-script.el (sh-search-word): Remove call to
453 * files.el (find-file-suppress-same-file-warnings): New
455 (find-file-noselect): Use it.
457 * startup.el (fancy-splash-delay, fancy-splash-image): Add
459 (fancy-splash-screen): Defgroup.
461 * add-log.el (change-log-font-lock-keywords): Match names
462 more exactly for the case that font-lock-constant-face is
465 2000-09-19 Richard M. Stallman <rms@gnu.org>
467 * progmodes/sh-script.el (sh-search-word): Rewritten for
470 2000-09-19 Andre Spiegel <spiegel@gnu.org>
472 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
474 2000-09-19 Gerd Moellmann <gerd@gnu.org>
476 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
477 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
478 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
479 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
480 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
481 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
482 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
483 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
484 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
485 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
486 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
487 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
489 * startup.el (fancy-splash-text): New variable.
490 (fancy-splash-delay, fancy-splash-image): New user-options.
491 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
492 (fancy-splash-screens): New functions.
493 (command-line-1): If display has a `display' frame parameter, has
494 colors, and we have XPM support, show more fancy splash screens.
496 2000-09-19 Dave Love <fx@gnu.org>
498 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
499 with null `help'. Use modern backquote syntax.
501 2000-09-19 Gerd Moellmann <gerd@gnu.org>
503 * font-lock.el (font-lock-mode): Change message telling the user
504 that ``the buffer is too big''.
506 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
507 for instance for the case that tab-width is 2.
509 2000-09-18 Gerd Moellmann <gerd@gnu.org>
511 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
512 toolbar-add-item, if image doesn't have a mask add a `:mask
515 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
517 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
518 and return a cons if it's non-nil.
519 (diff-apply-hunk): Try to jump to the line in the source text
520 corresponding to the position of point in the in the hunk.
522 * info.el (Info-title-3-face, Info-title-2-face)
523 (Info-title-1-face): Use face inheritance and relative sizes
524 instead of hard-wiring things.
526 * faces.el (secondary-selection): Make dark-background variant sane.
528 2000-09-16 Andrew Innes <andrewi@gnu.org>
530 * makefile.nt (compile-files): No need to make .elc files
531 read-only, since they aren't under VC now.
533 * makefile.w32-in (compile-files-CMD): No need to make .elc files
534 read-only, since they aren't under VC now.
536 2000-09-17 Dave Love <fx@gnu.org>
538 * tmm.el: Replace mapcar with mapc in several places.
540 * loadhist.el (unload-feature): Maybe call elp-restore-list and
543 * international/latin1-disp.el: New file.
545 * calendar/cal-move.el (scroll-calendar-left)
546 (scroll-calendar-right): Make arg optional (for active mode line).
548 * calendar/calendar.el (calendar-mode-line-format): Make fields
550 (calendar-read-date, calendar-read-date, calendar-window-list):
552 (calendar-month-name): Use aref, not sref.
554 * view.el (minor-mode-alist): Propertize the string.
556 * international/characters.el (standard-case-table): Add entries
559 2000-09-18 Miles Bader <miles@gnu.org>
561 * info.el (info-node, info-xref): Add dark-background variants.
563 * faces.el (header-line): Change defaults to be less confusing
564 when mixed with mode-lines.
566 * info.el (Info-fontify-node): Make a few cleanups.
567 Add extra `help-echo' and `local-map' props to node xrefs.
568 Use header-specific faces for node-names & xrefs.
569 (Info-use-header-line): New variable.
570 (info-header-xref, info-header-node): New faces.
571 (Info-setup-header-line): New function.
572 (Info-select-node): Call Info-setup-header-line when enabled.
573 (Info-extract-pointer): Work even if the header line is hidden.
574 (Info-header-line): New variable.
576 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
578 * vms-patch.el (print-region-function): Don't quote lambda.
580 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
582 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
583 (lm-get-header-re): Allow spaces between the header and the colon.
584 (lm-header): Allow $ in non-RCS headers.
585 (lm-header-multiline): Put the strings back into order.
586 Stop at an empty line. Don't require two space chars if the
587 line is clearly not another header line.
589 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
590 (popup-menu-popup): Remove.
592 2000-09-15 Gerd Moellmann <gerd@gnu.org>
594 * toolbar/toolbar.el (toolbar-add-item): Use the same image
595 specification if or if not tool-bar item contains an `:enabled'
598 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
599 current buffer has no file name.
601 2000-09-15 Dave Love <fx@gnu.org>
603 * strokes.el: Sync with maintainer's current version with changes
604 for Emacs, but avoid runtime cl and levents.
605 (toplevel): Change autoloads and compilation requires.
606 (strokes-version, strokes-bug-address, strokes-lift): Values
608 (strokes-xpm-header, strokes-insinuated): New variable.
609 (strokes): Add :link.
610 (strokes-mode): Customized.
611 (strokes-while-inhibiting-garbage-collector): New macro.
612 (strokes-remassoc): Avoid remove-if.
613 (strokes-fix-button2-command): Don't use ad-do-it.
614 (strokes-insinuate): New function.
615 (strokes-button-press-event-p, strokes-button-release-event-p):
616 New functions, used instead of non-`strokes-' versions..
617 (strokes-mouse-event-p): Rewritten.
618 (strokes-event-closest-point): Avoid event-point.
619 (strokes-get-grid-position): Avoid cdadr, caadr
620 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
622 (strokes-help): Use with-output-to-temp-buffer.
623 (strokes-window-configuration-changed-p): New function.
624 (strokes-update-window-configuration): Use buffer-live-p,
625 strokes-window-configuration-changed-p.
626 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
627 (strokes-char-face): New face.
628 (strokes-char-table, strokes-base64-chars): New variable.
629 (strokes-xpm-for-stroke, strokes-list-strokes)
630 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
631 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
632 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
633 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
634 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
637 2000-09-15 Gerd Moellmann <gerd@gnu.org>
639 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
641 * image.el (create-image): Doc fix.
643 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
644 instead of `:heuristic-mask t'.
646 2000-09-14 Andrew Innes <andrewi@gnu.org>
648 * makefile.w32-in: Revert to Unix line endings.
650 2000-09-14 Andrew Innes <andrewi@gnu.org>
652 * makefile.w32-in: Add bootstrap support. Also copy lisp source
655 * makefile.nt (DONTCOMPILE): Fix typo.
657 * shell.el (shell-write-history-on-exit): New function.
658 (shell-dumb-shell-regexp): New custom variable.
659 (shell-mode): Make shell-write-history-on-exit the process
660 sentinel if shell name matches shell-dumb-shell-regexp.
662 * w32-fns.el: Comment out before-init-hook function which resets
663 source-directory based; this breaks bootstrap.
665 2000-09-14 Dave Love <fx@gnu.org>
667 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
668 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
669 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
670 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
671 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
672 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
673 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
674 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
675 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
677 * toolbar/toolbar.el: New.
679 * subdirs.el: Add toolbar.
681 2000-09-14 Gerd Moellmann <gerd@gnu.org>
683 * indent.el (indent-for-tab-command): Doc fix.
685 2000-09-14 Alex Schroeder <alex@gnu.org>
687 * ansi-color.el (ansi-colors): Doc change.
688 (ansi-color-get-face): Simplified regexp.
689 (ansi-color-faces-vector): Added more faces, doc change.
690 (ansi-color-names-vector): Doc change.
691 (ansi-color-regexp): Simplified regexp.
692 (ansi-color-parameter-regexp): New regexp.
693 (ansi-color-filter-apply): Doc change.
694 (ansi-color-filter-region): Doc change.
695 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
696 deal with zero length parameters.
697 (ansi-color-apply-on-region): Doc change.
698 (ansi-color-map): Doc change.
699 (ansi-color-map-update): Removed debugging message.
700 (ansi-color-get-face-1): Added condition-case to trap
701 args-out-of-range errors.
702 (ansi-color-get-face): Doc change.
703 (ansi-color-make-face): Removed.
704 (ansi-color-for-shell-mode): New option.
706 2000-09-13 Kenichi Handa <handa@etl.go.jp>
708 * international/quail.el (quail-start-translation): Translate KEY
709 if necessary even if it doesn't have any mapping in the current
711 (quail-start-conversion): Likewise.
712 (quail-help): The output message is improved.
714 2000-09-13 Miles Bader <miles@gnu.org>
716 * comint.el (comint-output-filter): Revert to using
717 `insert-before-markers'. Add bletcherous hack to undo damage
718 caused by `insert-before-markers'. Put `front-sticky' property on
719 overlays created here so that the field code understands how the
720 overlay works. Use a let when making comint-last-prompt-overlay,
721 so that the code is easier to read.
723 2000-09-13 Dave Love <fx@gnu.org>
725 * wid-edit.el (widget-default-format-handler): DTRT when
726 doc-property is a function.
728 2000-09-12 Francesco Potorti` <pot@gnu.org>
730 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
731 filed name if it's not there.
733 2000-09-12 Dave Love <fx@gnu.org>
735 * simple.el (read-mail-command): Doc fix.
736 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
738 * vc.el (vc-dired-listing-switches): Fix :version.
740 * vc-hooks.el: Doc fixes.
742 * subr.el (add-minor-mode): Use toggle-fun arg.
744 * speedbar.el: Add :version to several defcustoms.
746 * imenu.el (imenu--truncate-items, imenu--cleanup)
747 (imenu--generic-function): Avoid mapcar.
748 (imenu--replace-spaces): Function removed.
749 (imenu--completion-buffer): Use subst-char-in-string.
750 (imenu-add-to-menubar): Use keymap inheritance.
752 2000-09-12 Miles Bader <miles@gnu.org>
754 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
755 (diff-mode-map): Bind `diff-test-hunk'.
756 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
758 2000-09-11 Gerd Moellmann <gerd@gnu.org>
760 * bytecomp.el (byte-compile-defvar): Undo last change
761 because it breaks '(make-variable-buffer-local (defvar ...)'
762 which is used at least in dired.
764 2000-09-12 Kenichi Handa <handa@etl.go.jp>
766 * international/quail.el (quail-define-package): Docstring
769 2000-09-12 Kenichi Handa <handa@etl.go.jp>
771 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
772 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
773 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
774 docstring of "chinese-py".
776 * international/quail.el (quail-translation-docstring): New
778 (quail-show-keyboard-layout): Docstring modified.
779 (quail-select-current): Likewise.
780 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
781 infinite recursive call.
782 (quail-help): Check quail-translation-docstring. Format of the
784 (quail-help-insert-keymap-description): Adjusted for the above
787 2000-09-11 Gerd Moellmann <gerd@gnu.org>
789 * bytecomp.el (byte-compile-defvar): Only cons onto
790 current-load-list in top-level forms. Else this leaks a cons cell
791 every time a defun is called.
793 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
795 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
796 Now understands non-unified diffs. Some functionality moved into
797 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
798 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
799 modify anything. Only reposition point in the patched file if the
800 patch succeeds. Only pop up another window if POPUP is true.
801 Emit a message describing what happened if successful, and at what
802 line-offset. Automatically detect reversed hunks and do something
804 (diff-hunk-text, diff-find-text): New functions.
805 (diff-filter-lines): Function removed.
806 (diff-test-hunk): New function.
807 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
809 2000-09-10 Dave Love <fx@gnu.org>
811 * textmodes/tildify.el: Minor doc/commentary fixes.
812 (tildify) <defgroup>: Add :version.
814 * faces.el (face-x-resources): Make custom type more specific.
815 (frame-background-mode): Use mapc.
816 (region) <defcustom>: Add :version.
818 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
820 * vc-sccs.el (vc-sccs-register):
821 * vc-rcs.el (vc-rcs-register):
822 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
823 * vc.el (vc-register): Clear file's properties.
825 2000-09-08 Gerd Moellmann <gerd@gnu.org>
827 * faces.el (face-spec-set): Only face-spec-reset-face when
830 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
832 * help.el (help-insert-xref-button): Fix a typo in doc string.
834 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
836 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
837 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
840 * menu-bar.el (read-mail-item-name): New function.
841 (menu-bar-tools-menu): Use it to compute and display the package
843 (menu-bar-tools-menu): Fix typo in GUD's help string.
845 2000-09-07 Dave Love <fx@gnu.org>
847 * diff-mode.el (diff-mouse-goto-source): New function.
849 * vc-sccs.el: Doc fixes.
850 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
852 * vc-rcs.el: Doc fixes.
853 (vc-rcs-register-switches, vc-rcs-checkin-switches)
854 (vc-rcs-checkout-switches, vc-rcs-header)
855 (vc-rcs-master-templates): Add or change :version.
857 * vc-cvs.el: Doc fixes.
858 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
859 (vc-cvs-stay-local): Add :version.
861 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
863 2000-09-07 Kenichi Handa <handa@etl.go.jp>
865 * international/quail.el (quail-help): Fix previous change.
867 2000-09-07 Gerd Moellmann <gerd@gnu.org>
869 * faces.el (color-values): Doc fix.
871 * faces.el (frame-set-background-mode): Use frame-parameter
872 instead of frame-parameters.
874 * frame.el (filtered-frame-list): Reduce consing.
875 (frames-on-display-list): Call frame-parameter instead of
878 2000-09-07 Kenichi Handa <handa@etl.go.jp>
880 * language/devan-util.el (devanagari-to-indian-region): In the
881 loop, change the following char, not preceding char.
883 2000-09-07 Gerd Moellmann <gerd@gnu.org>
885 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
886 instead of frame-parameters.
888 * faces.el (set-face-attribute): Simplify by calling
889 internal-set-lisp-face-attribute with FRAME being 0.
891 * vc.el: Remove `Id' version control keyword.
893 2000-09-07 Kenichi Handa <handa@etl.go.jp>
895 * help.el (help-make-xrefs): Adjusted for the change of
896 help-xref-mule-regexp.
897 (help-insert-xref-button): New function.
899 * international/mule-cmds.el (help-xref-mule-regexp-template):
900 Include the pattern for character set.
903 * international/quail.el: Don't require face.
905 (quail-other-command): Dummy command to make quail-help work better.
906 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
907 (quail-keyboard-layout-substitution): New variable.
908 (quail-update-keyboard-layout): New function.
909 (quail-keyboard-layout-type): New customizable variable.
910 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
911 (quail-keyboard-translate): Pay attention to
912 quail-keyboard-layout-substitution.
913 (quail-insert-kbd-layout): New function.
914 (quail-show-keyboard-layout): New function.
915 (quail-get-translation): If the definition is a vector of length
916 1, and the element is a string of length 1, return the character
918 (quail-update-current-translations): Fix the case of
919 relative-index out of range.
920 (quail-build-decode-map, quail-insert-decode-map): New Functions.
921 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
922 Show key sequences for all available characters.
923 (quail-help-insert-keymap-description): Don't show such verbose
924 key bindings as quail-self-insert-command.
926 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
927 Format changed, and each element now have extra documentations.
928 (tit-process-header): Delete invalid characters from TIT-PROMPT.
929 Adjusted for the change of quail-cxterm-package-ext-info.
931 2000-09-06 Gerd Moellmann <gerd@gnu.org>
933 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
934 requiring it leads to a recursive loading of vc.el and vc-hooks.el
937 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
939 * vc.el: (toplevel): Don't require `dired' at run-time.
940 (vc-dired-resynch-file): Remove autoload cookie.
942 2000-09-05 Andre Spiegel <spiegel@gnu.org>
944 * vc.el: Made several backend functions optional.
945 (vc-default-responsible-p): New function.
946 (vc-merge): Use RET for first version to trigger merge-news, not
948 (vc-annotate): Handle backends that do not support annotation.
949 (vc-default-merge-news): Removed. The existence of a merge-news
950 implementation is now checked on caller sites.
952 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
955 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
956 special case that has been removed from the default in vc-hooks.el.
958 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
960 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
962 2000-09-05 Andre Spiegel <spiegel@gnu.org>
964 * vc-hooks.el: Require vc during compilation.
965 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
966 macro `with-vc-properties' in vc.el.
967 (vc-file-getprop): Doc fix.
968 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
970 * vc.el: Require dired-aux during compilation.
971 (vc-name-assoc-file): Moved to vc-sccs.el.
972 (with-vc-properties): New macro.
973 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
974 vc-finish-steal): Use it.
975 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
976 to the backend-specific function is now supposed to do the checkout,
978 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
980 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
981 set file properties; that gets done in the generic code now.
983 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
984 Changed parameter list, added code from vc.el that does the
985 checkout, possibly with a double-take.
987 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
988 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
989 the above under the new name.
990 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
991 parameter list, added checkout command.
992 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
993 properties; that gets done in the generic code now.
995 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
997 * vc.el: Docstring fixes (courtesy of checkdoc).
999 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1001 * vc.el (vc-checkout-writable-buffer-hook)
1002 (vc-checkout-writable-buffer): Remove.
1003 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
1004 (vc-log-mode): Make it into a clean derived major mode.
1005 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
1006 vc-log-mode if log-edit is not available.
1007 (vc-dired-mode-map): Don't set-keymap-parent yet.
1008 (vc-dired-mode): Do set-keymap-parent here.
1009 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
1011 2000-09-05 Gerd Moellmann <gerd@gnu.org>
1013 * faces.el (set-face-attribute, face-spec-reset-face)
1014 (face-spec-set): Avoid consing by removing calls to `apply'.
1016 * frame.el (frame-parameter): Move to C code.
1018 2000-09-05 Dave Love <fx@gnu.org>
1020 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
1021 insert-before-markers-and-inherit. Now checked systematically!
1023 2000-09-05 Alex Schroeder <alex@gnu.org>
1025 * sql.el (sql-postgres): Use sql-postgres-options.
1026 (sql-postgres-options): New variable.
1028 2000-09-05 Alex Schroeder <alex@gnu.org>
1030 * sql.el (sql-mode-menu): Work around missing variable mark-active
1032 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
1033 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
1036 2000-09-04 Gerd Moellmann <gerd@gnu.org>
1038 * vc.el (vc-dired-resynch-file): Add autoload cookie.
1040 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
1042 * Makefile.in (DONTCOMPILE): Fix typo in file name.
1044 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1046 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
1047 don't support anything else under SCCS yet.
1049 * vc-hooks.el: Minor doc fixes.
1051 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1053 * vc.el (vc-next-action-on-file): Do not visit the file if it's
1054 not necessary. If verbose in state `needs-patch', do the same as
1055 under `up-to-date'. When NOT verbose and `needs-patch', check out
1056 latest version instead of `merge-news'.
1057 (vc-next-action-dired): Don't mess with default-directory here; it
1058 breaks other parts of dired. It is the job of the
1059 backend-specific functions to adjust it temporarily if they need it.
1060 (vc-next-action): Remove a special CVS case.
1061 (vc-clear-headers): New optional arg FILE.
1062 (vc-checkin, vc-checkout): Set properties vc-state and
1063 vc-checkout-time properly.
1064 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
1065 (vc-print-log): Use new backend function `show-log-entry'.
1066 (vc-cancel-version): Do the checks in a different order. Added a
1067 FIXME concerning RCS-only code.
1069 * vc-rcs.el (vc-rcs-show-log-entry): New function.
1070 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
1072 * vc-cvs.el (vc-cvs-show-log-entry): New function.
1074 * vc-hooks.el (vc-default-mode-line-string): Show state
1075 `needs-patch' as a `-' too.
1077 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1079 * vc.el (vc-responsible-backend): New optional arg REGISTER.
1080 (vc-default-could-register): New function.
1081 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
1082 (vc-resynch-buffer): Call vc-dired-resynch-file.
1083 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
1084 vc-resynch-buffer instead of vc-resynch-window.
1085 (vc-next-action-dired): Don't redisplay here, that gets done as a
1086 result of the individual file operations.
1087 (vc-retrieve-snapshot): Corrected prompt order.
1089 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
1091 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
1093 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
1094 hostname regexps. Updated all callers.
1095 (vc-cvs-responsible-p): Handle directories as well.
1096 (vc-cvs-could-register): New function.
1097 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
1098 properties up-to-date.
1100 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
1101 user whether to create one.
1103 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1105 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
1106 check out a non-existing file.
1108 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
1109 workfile does not exist.
1111 * vc.el (vc-version-diff): Use `require' to check for existence of
1114 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1116 * vc-cvs.el (vc-cvs-registered): Use new function
1117 vc-cvs-parse-entry to do the actual work.
1119 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1121 * vc-hooks.el (vc-find-backend-function): If function doesn't
1122 exist, return nil instead of error.
1123 (vc-call-backend): Doc fix.
1125 * vc.el (vc-do-command): Doc fix.
1126 (vc-finish-logentry): When checking in from vc-dired, choose the
1127 right backend for logentry check.
1128 (vc-dired-mode-map): Inherit from dired-mode-map.
1129 (vc-dired-mode): Local value of dired-move-to-filename-regexp
1131 (vc-dired-state-info): Removed, updated caller.
1132 (vc-default-dired-state-info): Use parentheses instead of hyphens.
1133 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
1134 (vc-dired-listing-switches): New variable.
1135 (vc-directory): Use it, instead of dired-listing-switches.
1137 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
1138 (vc-cvs-dir-state): New function.
1139 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
1140 (vc-cvs-parse-entry): New function, also to be used in
1143 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1145 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
1146 *or* single-window-frames.
1148 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1150 * vc.el (vc-update-changelog): Split into generic part and default
1151 implementation. Doc string adapted.
1152 (vc-default-update-changelog): New function. Call the `rcs2log'
1153 script in exec-directory, to fix a long-standing nuisance.
1155 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
1156 simply signals an error.
1158 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1160 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
1161 control-flow more clear and to avoid running `cvs' twice.
1163 * vc.el (vc-next-action-on-file): Doc fix.
1164 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
1165 (vc-print-log): Eval `file' before constructing the continuation.
1167 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1169 * vc.el (vc-next-action-on-file): Corrected several messages.
1170 (vc-merge): Add prefix arg `merge-news'; handle it.
1172 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
1173 is not reached. It is.
1174 (vc-cvs-merge): Set state to 'edited after merge.
1175 (vc-cvs-merge-news): Set workfile version to nil if not known.
1176 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
1178 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
1179 via stdout. (Merge from main line.)
1181 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1183 * vc.el (vc-finish-logentry): Thinko in the "same comment"
1186 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1188 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
1189 against kill-all-local-variables.
1190 (vc-log-edit): Don't save vc-parent-buffer any more.
1191 (vc-last-comment-match): Initialize to an empty string.
1192 (vc-post-command-functions): New hook.
1193 (vc-do-command): Run it.
1194 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
1195 (vc-finish-logentry): Only add the comment to the ring if it's
1196 different from the last comment entered.
1197 (vc-new-comment-index): New function.
1198 (vc-previous-comment): Use it. Make the minibuffer message
1199 slightly less terse.
1200 (vc-comment-search-reverse): Make it work forward as well. Don't
1201 set vc-comment-ring-index if no match is found. Use
1202 vc-new-comment-index.
1203 (vc-comment-search-forward): Use vc-comment-search-reverse.
1204 (vc-dired-mode-map): Don't inherit from dired-mode-map since
1205 define-derived-mode will do it for us. Bind `v' to a keymap that
1206 inherits from vc-prefix-map so that we can bind `vt' without
1208 (vc-retrieve-snapshot): Parenthesis typo.
1210 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
1211 to 1. Make sure to switch to *vc* before looking for an error
1212 message. Use vc-parse-buffer.
1214 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1216 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
1218 (vc-retrieve-snapshot): Split into two parts.
1219 (vc-default-retrieve-snapshot): New function.
1221 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
1222 (vc-cvs-retrieve-snapshot): New function (untested).
1223 (vc-cvs-stay-local): Default to t.
1224 (vc-cvs-remote-p): New function and property.
1225 (vc-cvs-state): Stay local only if the above is t.
1226 (vc-handle-cvs): Removed.
1227 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
1228 done via vc-handled-backends now.
1229 (vc-cvs-header): Escape Id.
1231 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1233 * vc.el (vc-do-command): Remove unused commands.
1234 (vc-version-diff): Make sure default-directory ends with a slash.
1235 Move the window commands into a vc-exec-after.
1236 (vc-print-log): Move more of the code into the `vc-exec-after'.
1238 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1240 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
1241 (vc-print-log): Search current revision from beginning of buffer.
1242 (vc-revert-buffer): Clear echo area after the diff is finished.
1243 (vc-prefix-map): Removed definition of "t" for terse display in vc
1245 (vc-dired-mode-map): Inherit from dired-mode-map. Added
1246 definition of "vt" for terse display.
1247 (vc-dired-mode): Fix dired-move-to-filename-regexp.
1249 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1251 * vc.el (vc-exec-after): Avoid caddr.
1253 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1255 * vc.el (vc-exec-after): New function.
1256 (vc-do-command): Use it to add a termination message for async
1258 (vc-checkout): Try to handle a missing-backend situation.
1259 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
1260 of a directory with a backend using async diffs.
1261 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
1264 * vc-sccs.el (vc-sccs-state-heuristic): Use
1265 file-ownership-preserved-p.
1267 * vc-rcs.el (vc-rcs-state-heuristic): Use
1268 file-ownership-preserved-p.
1269 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
1271 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1273 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
1276 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
1277 when there are no changes.
1279 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1281 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
1283 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
1285 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1287 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
1289 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
1290 the `fset' outside of the defvar so that it works even if
1291 vc-prefix-map was already defined.
1292 (vc-setup-buffer): New function, split out of vc-do-command.
1293 (vc-do-command): Allow BUFFER to be t to mean `just use the
1294 current buffer without any fuss'.
1295 (vc-version-diff): Change the `diff' backend operation to just put
1296 the diff in the current buffer without erasing it. Always use
1297 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
1298 shrink-window-if-larger-than-buffer.
1299 (vc-print-log): Change the `print-log' backend operation to just
1300 put the log in the current buffer without erasing it. Protect
1301 shrink-window-if-larger-than-buffer.
1302 (vc-update-change-log): Fix setd typo.
1304 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
1305 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
1307 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
1308 (vc-rcs-diff): Insert in the current buffer and remove unused arg
1311 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
1312 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
1313 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
1315 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1317 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
1318 not possible, use vc-BACKEND-workfile-unchanged-p.
1319 (vc-default-workfile-unchanged-p): New function. Delegates to a
1320 full vc-BACKEND-diff.
1322 * vc-hooks.el (vc-simple-command): Removed.
1324 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
1325 instead of vc-simple-command.
1326 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
1327 avoid doing a diff when opening a file.
1328 (vc-rcs-state): Added check for unlocked-changes.
1329 (vc-rcs-header): Escape Id.
1330 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
1331 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
1334 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
1335 (vc-sccs-diff): Remove optional arg CMP.
1336 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
1337 SCCS-specific function.
1339 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
1342 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1344 * vc.el (vc-editable-p): Renamed from vc-writable-p.
1345 (with-vc-file, vc-merge): Use vc-editable-p.
1346 (vc-do-command): Remove unused var vc-file and fix the
1347 doubly-defined `status' var. Add a user message when starting an
1349 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
1350 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
1351 Use with-current-buffer.
1352 (vc-buffer-sync): Use unless.
1353 (vc-next-action-on-file): If the file is 'edited by read-only,
1354 make it read-write instead of trying to commit.
1355 (vc-version-diff, vc-update-change-log): Use `setq
1356 default-directory' rather than `cd'.
1357 (vc-log-edit): Don't forget to set default-directory in the
1360 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
1361 (vc-sccs-state-heuristic): Use file-writable-p instead of
1363 (vc-sccs-checkout): Use `unless'.
1365 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
1366 of comparing userids.
1367 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
1368 Simplify the logic by eliminating unreachable code.
1369 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
1370 just do a recursive call if we need to retry.
1371 (vc-rcs-checkout): Handle the case where rcs is missing by making
1372 the buffer read-write if requested and re-signalling the error.
1374 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
1376 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1378 * vc-hooks.el (vc-handled-backends): Docstring change.
1379 (vc-ignore-vc-files): Mark obsolete.
1380 (vc-registered): Check vc-ignore-vc-files.
1381 (vc-find-file-hook, vc-file-not-found-hook): Don't check
1384 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
1386 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1388 * vc.el (vc-checkout): Don't do anything special for ange-ftp
1389 files since ange-ftp already has vc-registered return nil.
1391 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
1392 (vc-sccs-workfile-version): Use with-temp-buffer and new
1393 vc-parse-buffer and don't bother setting the property.
1394 (vc-sccs-add-triple): Use with-current-buffer and
1396 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
1398 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
1399 derives from the old vc-parse-buffer but uses the revision number
1400 rather than the date (much easier to compare robustly).
1401 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
1402 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
1403 locking-user more directly. Check strict locking and set
1404 checkout-model appropriately.
1405 (vc-rcs-parse-locks): Remove.
1406 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
1407 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
1408 (vc-rcs-system-release): Use with-current-buffer and
1410 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
1412 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
1413 (vc-simple-command): Docstring fix.
1414 (vc-registered): Align the way the file-handler is called with the
1415 way the function itself works.
1416 (vc-file-owner): Remove.
1418 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
1419 extraction of fields and call to file-attributes because of a
1420 temporary bug in rcp.el.
1421 (vc-cvs-fetch-status): Use with-current-buffer.
1423 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1425 * vc.el (vc-do-command): Use file-relative-name.
1426 (vc-responsible-backend): Use vc-backend if possible.
1427 (vc-create-snapshot): Improve the `interactive' spec. Add support
1428 for branches and dispatch to backend-specific `create-snapshot'.
1429 (vc-default-create-snapshot): New function, containing the bulk of
1430 the old vc-create-snapshot.
1431 (vc-retrieve-snapshot): Improve the interactive spec.
1433 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
1434 (vc-backend-hook-functions): Remove.
1435 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
1436 (vc-backend): Reintroduce the test for `file = nil' now that I
1437 know why it was there (and added a comment to better remember).
1439 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
1440 code from vc-sccs-hooks.el.
1441 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
1443 (vc-sccs-responsible-p): Use expand-file-name instead of concat
1444 and file-directory-p instead of file-exists-p.
1445 (vc-sccs-check-headers): Simplify the regexp.
1447 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
1448 from vc-rcs-hooks.el. Don't require 'vc anymore.
1449 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
1450 file-directory-p instead of file-exists-p.
1452 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
1453 from vc-cvs-hooks.el.
1454 (proto vc-cvs-registered): Require 'vc-cvs instead of
1455 'vc-cvs-hooks. Don't require 'vc anymore.
1456 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
1457 file-directory-p instead of file-exists-p.
1458 (vc-cvs-create-snapshot): New function, replacing
1460 (vc-cvs-assign-name): Remove.
1462 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1464 * vc-cvs.el (vc-cvs-header): New var.
1466 * vc-rcs.el (vc-rcs-exists): Remove.
1467 (vc-rcs-header): New var.
1469 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
1470 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
1471 (vc-sccs-header): New var.
1473 * vc.el (vc-do-command): Get rid of the `last' argument.
1474 (vc-header-alist): Remove, replaced by vc-X-header.
1475 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
1476 (vc-dired-hook): Use expand-file-name instead of concat.
1477 (vc-directory): Use file-name-as-directory.
1478 (vc-snapshot-precondition, vc-create-snapshot)
1479 (vc-retrieve-snapshot): Allow the command to operate on any
1482 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
1483 just removing the 'WORKFILE argument or by removing the 'MASTER
1484 argument and replacing `file' with (vc-name file).
1486 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1488 * vc.el: Update Copyright and add a crude list of backend funs.
1489 (vc-writable-p): New function.
1490 (with-vc-file): Use vc-writable-p.
1491 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
1492 (vc-register): Avoid vc-name.
1493 (vc-locking-user): Remove.
1494 (vc-steal-lock): Make the `owner' arg non-optional.
1495 (vc-merge): Use vc-writable-p instead of vc-locking-user and
1497 (vc-default-dired-state-info): Use vc-state instead of
1498 vc-locking-user and return special strings for special states.
1499 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
1500 and get rid of one of the special CVS cases.
1501 (vc-cancel-version): prettify error message with \\[...].
1502 (vc-rename-master): New function.
1503 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
1504 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
1505 the CVS special case generic.
1506 (vc-default-record-rename): Remove.
1507 (vc-file-tree-walk-internal): Only call FUNC for files that are
1508 under control of some VC backend and replace `concat' with
1510 (vc-file-tree-walk): Update docstring.
1511 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
1512 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
1514 * vc-sccs.el (vc-sccs-rename-file): Renamed from
1515 vc-sccs-record-rename. Use `find-file-noselect' rather than
1516 `find-file' and call `vc-rename-master' to do the actual move.
1517 (vc-sccs-diff): Remove unused `backend' variable.
1519 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
1520 to delay loading of vc-sccs until it is really used.
1521 (vc-sccs-master-templates): Preload.
1522 (vc-sccs-state): Update call to vc-sccs-parse-locks.
1523 (vc-sccs-project-dir): Remove (merged into
1524 vc-sccs-search-project-dir).
1525 (vc-sccs-search-project-dir): Rewrite using file name handling ops
1526 rather than `concat', make sure it is preloaded and don't bother
1527 to check that the file actually exists.
1528 (vc-sccs-parse-locks): Remove unused `file' argument, remove
1529 `locks' argument (use buffer's content instead) and eliminate n^2
1532 * vc-rcs.el: Update Copyright.
1533 (vc-rcs-rename-file): New function.
1534 (vc-rcs-diff): Remove unused `backend' variable.
1536 * vc-hooks.el: Update Copyright.
1537 (vc-backend): Don't accept a nil argument any more.
1538 (vc-up-to-date-p): Turn into a defsubst.
1539 (vc-possible-master): New function.
1540 (vc-check-master-templates): Use `vc-possible-master' and allow
1541 funs in vc-X-master-templates to return a non-existent file.
1543 * vc-cvs.el: Update Copyright.
1544 (vc-cvs-diff): Remove unused `backend' variable.
1545 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
1547 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
1549 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1551 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
1552 since it can be called from vc-rcs.el.
1553 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
1555 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1557 * vc.el (vc-version-diff): Expand file name read from the
1558 minibuffer. Handle the case when a previous version number can't
1559 be guessed. Give suitable messages when there were no differences
1561 (vc-clear-headers): Call backend-specific implementation, if one
1563 (vc-cancel-version): Made error checks generic. When done, clear
1564 headers generically, too.
1566 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
1567 from vc-clear-headers in vc.el.
1569 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
1571 (vc-rcs-latest-on-branch-p): Made second argument VERSION
1572 optional. Handle the case when it's not there.
1574 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1576 * vc.el (vc-locking-user): Moved from vc-hooks.el.
1578 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1580 * vc-hooks.el (vc-loadup): Remove.
1581 (vc-find-backend-function): Use `require'. Also, handle the case
1582 where vc-BACKEND-hooks.el doesn't exist.
1583 (vc-call-backend): Cleanup.
1585 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1587 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
1588 vc-rcs-grab-templates)
1589 (vc-rcs-registered): Remove. The default function works as well.
1590 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
1591 vc-sccs-grab-templates)
1592 (vc-sccs-registered): Remove. The default function works as well.
1594 * vc.el (vc-version-diff): Left out a vc- in call to
1596 (vc-default-dired-state-info, vc-default-record-rename)
1597 (vc-default-merge-news): Update for the new backend argument.
1599 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
1600 using the default function.
1601 (vc-call-backend): If calling the default function, pass it the
1602 backend as first argument. Update the docstring accordingly.
1603 (vc-default-state-heuristic, vc-default-mode-line-string): Update
1604 for the new backend argument.
1605 (vc-make-backend-sym): Renamed from vc-make-backend-function.
1606 (vc-find-backend-function): Use the new name.
1607 (vc-default-registered): New function.
1609 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1611 * vc.el (vc-merge): Use vc-find-backend-function.
1613 * vc-hooks.el (vc-backend-functions): Remove.
1614 (vc-loadup): Don't setup 'vc-functions.
1615 (vc-find-backend-function): New function.
1616 (vc-call-backend): Use above fun and populate 'vc-functions
1618 (vc-backend-defines): Remove.
1620 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1622 * vc.el (vc-register): Put a FIXME note for a newly found bug.
1623 Call vc-call-backend without the leading vc-.
1624 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
1625 (vc-check-headers): Call vc-call-backend without the leading vc-.
1626 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
1627 (vc-annotate-display): Replace confusing use of `cond' with `or'.
1628 Call vc-call-backend without the leading vc-.
1630 * vc-cvs.el (tail): Provide vc-cvs.
1631 * vc-sccs.el (tail): Provide vc-sccs.
1632 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
1634 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
1635 (vc-make-backend-function, vc-call): Pass names without leading
1636 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
1637 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
1638 (vc-call-backend): Always try to load vc-X-hooks.
1639 (vc-registered): Remove vc- in call to vc-call-backend.
1641 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1643 * vc.el (vc-process-filter): New function.
1644 (vc-do-command): Setup `vc-process-filter' for the async process.
1645 (vc-maybe-resolve-conflicts): New function to reduce
1646 code-duplication. Additionally, it puts the buffer in
1647 `smerge-mode' if applicable.
1648 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
1649 calling `merge-news'.
1650 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
1651 (vc-log-edit): New function. Replacement for `vc-log-mode' by
1652 interfacing to log-edit.el.
1653 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
1654 log-edit is available.
1655 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
1657 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1659 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
1660 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
1661 defvar and the initialization.
1662 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
1664 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
1665 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
1667 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
1669 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1671 * vc.el (vc-file-clear-masterprops): Removed.
1672 (vc-checkin, vc-revert-buffer): Removed calls to the above.
1673 (vc-version-diff): Use buffer-size without argument.
1674 (vc-register): Heed vc-initial-comment.
1676 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
1679 * vc-rcs.el (vc-rcs-register): Parse command output to find master
1680 file name and workfile version.
1681 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
1683 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
1684 vc-file-clear-masterprops.
1686 * vc-sccs.el (vc-sccs-checkout): Removed call to
1687 vc-file-clear-masterprops. If writable, set vc-state to 'edited
1688 rather than user login name.
1691 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1693 * vc.el (vc-workfile-unchanged-p): Remove unused argument
1694 `want-differences-if-changed' and simplify.
1695 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
1696 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
1697 output (which is invalid for async vc-diff) to decide whether to
1698 do the revert silently or not.
1700 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1702 * vc-hooks.el (vc-loadup): Load files quietly.
1703 (vc-call-backend): Oops, brain fart.
1705 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1707 * vc-cvs.el (vc-cvs-state): Typo.
1708 (vc-cvs-merge-news): Return the status code rather than the error msg.
1710 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1712 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
1713 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
1714 vc-state or vc-up-to-date-p.
1715 (vc-merge): Use vc-backend-defines to check whether merging is
1716 possible. Set state to 'edited after successful merge.
1718 * vc-hooks.el (vc-locking-user): If locked by the calling user,
1719 return that name. Redocumented.
1721 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1723 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
1724 new `vc-state' semantics.
1725 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
1726 'vc-locking-user to the current user.
1727 (vc-merge): Inline vc-backend-merge. Comment out code that I
1728 don't understand and hence can't adapt to the new `vc-state' and
1729 `vc-locking-user' semantics.
1730 (vc-backend-merge): Remove.
1732 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
1733 rather than 'vc-locking-user.
1735 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
1737 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
1738 (vc-state): Don't use 'reserved any more. Just use the same
1739 convention as the one used for vc-<backend>-state where the
1740 locking user (as a string) is returned.
1741 (vc-locking-user): Update, based on the above convention. The
1742 'vc-locking-user property has disappeared.
1743 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
1745 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
1746 with a heuristic one.
1747 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
1748 (vc-cvs-checkin): Do a trivial parse to set the state in case of
1749 error. That allows us to get to 'needs-merge even in the
1750 stay-local case. There's still no way to detect 'needs-patch in
1751 such a setup (or to force an update for that matter).
1752 (vc-cvs-logentry-check): Remove, the default works as well.
1754 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1756 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
1758 * vc.el (vc-do-command): kill-all-local-variables, to reset any
1759 major-mode in which the buffer might have been put earlier. Use
1760 `remove' and `when'. Allow `okstatus' to be `async' and use
1761 `start-process' in this case.
1762 (vc-version-diff): Handle the case where the diff looks empty
1763 because of the use of an async process.
1765 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1767 * vc.el (vc-next-action-on-file): Removed optional parameter
1768 `simple'. Recompute state unconditionally.
1769 (vc-default-toggle-read-only): Removed.
1771 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
1772 (vc-toggle-read-only): Undid prev change.
1774 * vc-cvs.el (vc-cvs-stay-local): Renamed from
1775 vc-cvs-simple-toggle. Redocumented.
1776 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
1777 (vc-cvs-toggle-read-only): Removed.
1779 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1781 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
1782 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
1783 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
1784 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
1785 still is. So maybe it should be removed.
1786 (vc-head-version, vc-find-binary): Remove.
1787 (vc-recompute-state): Move from vc-hooks.el.
1788 (vc-next-action-on-file): Add a `simple' argument to allow
1789 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
1790 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
1791 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
1792 (vc-dired-mode-map): Properly defvar it.
1793 (vc-print-log): Call log-view-mode if available.
1794 (small-temporary-file-directory): defvar instead of use boundp.
1795 (vc-merge-news): Moved to vc-cvs.el.
1796 (vc-default-merge-news): New function.
1798 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
1799 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
1800 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
1801 unknown `vc-latest-version' function. It should probably refer to
1802 vc-workfile-version or somesuch, but it's very unclear to me and I
1803 don't have SCCS to test things.
1805 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
1806 (vc-sccs-state-heuristic): Fix typo.
1807 (vc-sccs-workfile-unchanged-p): Add missing argument.
1809 * vc-rcs.el: Require vc and vc-rcs-hooks.
1810 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
1811 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
1812 (vc-release-greater-or-equal-p): Move from vc.
1813 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
1814 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
1815 (vc-rcs-checkout): Add a missing `new-version' argument in the
1816 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
1818 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
1819 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
1820 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
1821 than the apparently unbound `workfile-version'.
1823 * vc-hooks.el (vc-master-templates): Def the obsolete var.
1824 (vc-file-prop-obarray): Use `make-vector'.
1825 (vc-backend-functions): Add new hookable functions
1826 vc-toggle-read-only, vc-record-rename and vc-merge-news.
1827 (vc-loadup): If neither backend nor default functions exist, use
1828 the backend function rather than nil.
1829 (vc-call-backend): If the function if not bound yet, try to load
1830 the non-hook file to see if it provides it.
1831 (vc-call): New macro plus use it wherever possible.
1832 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
1833 nor `vc-find-binary' since it's only called from
1834 vc-mistrust-permission which is only used once the backend is known.
1835 (vc-checkout-model): Fix parenthesis.
1836 (vc-recompute-state, vc-prefix-map): Move to vc.el.
1838 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
1839 (vc-cvs-release, vc-cvs-system-release): Remove.
1840 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
1841 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
1843 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
1844 (vc-cvs-toggle-read-only): First cut at a function to allow a
1845 cvs-status-free vc-toggle-read-only.
1846 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
1847 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
1848 vc-cvs-status. Also set vc-state rather than vc-locking-user.
1849 (vc-cvs-checkout): Modify access rights directly if the user
1850 requested not to use `cvs edit'. And refresh the mode line.
1852 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
1853 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
1855 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1857 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
1858 workfile' that got lost when the code was extracted from vc.el.
1859 And merged the tail with the rest of the code (not possible in the
1860 old vc.el where the tail was shared among all backends). And
1861 explicitly set the state to 'edited if `writable' is set.
1863 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
1864 (vc-cvs-state): Be careful to return the value from
1866 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
1867 property but return it instead. Also be careful to handle a nil
1868 or "" `rev' when workfile is non-nil (it was handled properly when
1871 * vc.el: Removed those pesky unnecessary `(function' quotes.
1872 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
1873 directly in the defvar.
1874 (vc-do-command): Bind inhibit-read-only so as to properly handle
1875 the case where the destination buffer has been made read-only.
1876 (vc-diff): Delegate to vc-version-diff in all cases.
1877 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
1878 (vc-annotate-mode-variables): Removed (code moved partly to
1879 defvars and partly to vc-annotate-add-menu).
1880 (vc-annotate-mode): Turned into a derived-mode.
1881 (vc-annotate-add-menu): Moved in code in
1882 vc-annotate-mode-variables.
1883 (vc-update-change-log): Use make-temp-file if available.
1885 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
1887 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
1888 `vc-checkout-model' updated to `vc-cvs-update-model'.
1890 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1892 * vc.el (vc-next-action-on-file): Added handling of state
1894 (vc-checkout-carefully): Is now practically obsolete, unless the
1895 above is too slow to be enabled unconditionally.
1896 (vc-update-change-log): Fixed typo.
1898 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
1900 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
1901 Now handles state `unlocked-changes'.
1902 (vc-sccs-workfile-unchanged-p): New function, to support the above.
1904 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
1906 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
1907 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
1909 (vc-rcs-workfile-unchanged-p): Renamed from
1910 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
1911 function yet, but supposed to become one soon.
1913 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
1915 (vc-call-backend): Changed error message.
1916 (vc-state): Added description of state `unlocked-changes'.
1918 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1920 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
1921 always return t in CVS-controlled directories.
1923 * vc.el (vc-responsible-backend): New function.
1924 (vc-register): Largely rewritten.
1925 (vc-admin): Removed (implementation moved into vc-register).
1926 (vc-checkin): Redocumented.
1927 (vc-finish-logentry): If no backend defined yet (because we are in
1928 the process of registering), use the responsible backend.
1930 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
1931 Updated function lists.
1932 (vc-call-backend): Fixed typo.
1934 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
1936 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
1937 Removed query option. Redocumented.
1939 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1941 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
1943 * vc.el: Updated callers of `vc-checkout-required' to use
1944 `vc-checkout-model'.
1946 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1948 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
1949 stuff updated to reference this function instead of the old
1950 `vc-backend-release-p'.
1952 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1954 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
1955 vc-checkout-model. Return appropriate values. Updated callers.
1957 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1959 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
1960 (vc-backend-revert): Function moved into `vc-revert';
1961 `vc-next-action' must be updated to accomodate this change.
1962 (vc-backend-steal): Function moved into `vc-finish-steal'.
1963 (vc-backend-logentry-check): Function moved into
1964 `vc-finish-logentry'.
1965 (vc-backend-printlog): Function moved into `vc-print-log'.
1966 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
1967 (vc-backend-assign-name): Function moved into
1968 `vc-create-snapshot'.
1970 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
1972 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
1973 Rename to vc-checkout-model. Return appropriate values.
1976 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
1977 to vc-checkout-model.
1978 (vc-checkout-required): Rename to vc-checkout-model.
1979 Re-implement and re-comment.
1980 (vc-after-save): Use vc-checkout-model.
1982 2000-09-04 Martin Lorentzson <martinl@gnu.org>
1984 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
1985 Update to use the vc-BACKEND-diff functions instead.
1986 `vc-diff' is now working.
1988 * vc-rcs.el (vc-rcs-logentry-check): New function.
1990 * vc-cvs.el (vc-cvs-logentry-check): New function.
1992 * vc-sccs.el (vc-sccs-diff): Function changed name from
1993 `vc-backend-diff'. This makes `vc-diff' work.
1995 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
1996 of functions possibly implemented in a vc-BACKEND library.
1997 (vc-checkout-required): Fix bug that caused an error to be
1998 signaled during `vc-after-save'.
2001 This checkin is made with our new VC code base for the very first time.
2002 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
2004 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
2005 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
2007 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
2008 updated to `vc-uses-locking'.
2009 (vc-checkout-required): Call to backend function.
2010 `vc-checkout-required' updated to `vc-uses-locking' instead.
2012 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
2013 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
2015 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
2016 to match the split into various backends.
2017 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
2018 (vc-retrieve-snapshot): Bug fix.
2020 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2022 * vc-sccs.el (vc-sccs-release): Doc fix.
2024 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2026 * vc.el (vc-next-action-on-file): Bug found and fixed.
2027 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
2028 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
2030 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
2031 (vc-rcs-checkout): Name space cleaned up. No more revision number
2032 crunching function names that are not prefixed with vc-rcs.
2033 (vc-rcs-checkout-model): Function added. References to
2034 `vc-checkout-model' replaced.
2036 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2038 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
2039 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
2040 still need to be split, and implemented for RCS).
2042 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2044 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
2046 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
2047 required by the vc.el file.
2049 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
2050 required by the vc.el file.
2051 (vc-rcs-exists): Function added.
2053 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
2054 required by the vc.el file.
2056 * vc.el (vc-admin): Updated to handle selection of appropriate
2057 backend. Current implementation is crufty and need re-thinking.
2059 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
2061 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2063 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
2064 beginning of annotate buffers correctly.
2066 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
2067 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
2068 functionality updated quite a lot to support multiple backends.
2069 Variables `vc-annotate-mode', `vc-annotate-buffers',
2070 `vc-annotate-backend' added.
2072 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
2073 `vc-annotate-difference' added to supported backend functions.
2075 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2077 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
2078 Use with-temp-file instead of /bin/sh. Merged from mainline
2080 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2082 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
2084 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
2086 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
2088 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2090 * vc-hooks.el: vc-state-heuristic added to
2091 vc-backend-hook-functions.
2093 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
2095 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
2097 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
2098 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
2099 state to `reserved'.
2101 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
2102 `vc-checkout-required'. Rename the `locked' state to `reserved'.
2104 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2106 * vc-rcs-hooks.el: Implement new state model. Hardly anything
2109 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
2111 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
2112 if defined. (Merged from main line, slightly adapted.)
2114 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
2115 millenium problem (merged from mainline).
2117 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2119 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
2120 part and moved the non-BACKEND stuff to vc.el.
2122 * vc.el: Split the annotate feature into a BACKEND specific part
2123 and moved it from the vc-cvs.el file to this one.
2125 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2127 * vc-hooks.el: Implement new state model.
2128 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
2129 (vc-locking-user): Simplify. Now only needed if the file is
2130 locked by somebody else.
2131 (vc-lock-from-permissions): Remove. Functionality is in
2132 vc-sccs-hooks.el and vc-rcs-hooks.el now.
2133 (vc-mode-line-string): New name for former vc-status. Adapted.
2134 (vc-mode-line): Adapt to use the above. Remove optional parameter.
2136 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
2137 Various simplifications and adaptations all over the place.
2139 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
2140 Simplify and adapt the rest.
2142 * vc.el (vc-resynch-window): Add TODO comment: check for
2143 interaction with view mode according to recent RCS change.
2144 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
2146 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2148 * vc.el: Convert the remaining function comments to docstrings.
2150 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2152 * vc.el (vc-backend-release, vc-release-greater-or-equal)
2153 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
2154 (vc-minor-part, vc-previous-version): Functions that operate and
2155 compare revision numbers got proper documentation. Comments added
2156 about their possible removal.
2158 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2160 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
2161 the vc-backend.el files.
2163 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
2165 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
2166 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
2167 (vc-rcs-previous-version): Functions added.
2169 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
2171 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
2173 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2175 * vc-hooks.el (vc-master-templates): Is really obsolete.
2176 Comment out the definition for now. What is the right procedure
2178 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
2180 (vc-default-registered): Remove.
2181 (vc-check-master-templates): New function; does mostly what the
2183 (vc-locking-user): Don't rely on the backend to set the property.
2185 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
2186 Rewrite documentation.
2187 (vc-rcs-templates-grabbed): New variable.
2188 (vc-rcs-grab-templates): New function.
2189 (vc-rcs-registered): Rewrite to use above mechanism.
2191 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
2192 Rewrite documentation.
2193 (vc-sccs-templates-grabbed): New variable.
2194 (vc-sccs-grab-templates): New function.
2195 (vc-sccs-registered): Rewrite to use above mechanism.
2196 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
2197 Don't throw the result, simply return it.
2199 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
2200 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
2201 (vc-cvs-registered): Does the check itself now. Simplify.
2203 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
2206 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2208 * vc-cvs.el (vc-cvs-diff): New function.
2210 * vc-sccs.el (vc-sccs-diff): New function.
2212 * vc-rcs.el (vc-rcs-diff): New function.
2213 (vc-rcs-checkout): Bug (typo) found and fixed.
2214 (vc-rcs-register-switches): New variable.
2216 * vc.el (vc-backend-diff): Function removed and placed in the
2219 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2221 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
2223 * vc.el (vc-backend-checkout): Function removed and replaced in
2224 the vc-backend.el files.
2226 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
2228 * vc.el (vc-backend-admin): Removed and replaced in the
2229 vc-backend.el files.
2231 * vc.el (Martin): Removed all the annotate functionality since it
2232 is CVS backend specific.
2234 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2236 * spec.txt: Added specification of vc-state.
2238 * vc-sccs-hooks.el (vc-sccs-master-properties):
2239 Remove handling of vc-latest-version and
2240 vc-your-latest-version. What used to be vc-latest-version, is now
2241 returned as vc-workfile-version.
2242 (vc-sccs-workfile-version): Adapt.
2244 2000-09-04 Dave Love <fx@gnu.org>
2246 * vc.el: [Merged from mainline.]
2247 (vc-dired-mode): Make the dired-move-to-filename-regexp
2248 regexp match the date, to avoid treating date as file size.
2249 Add YYYY S option to WESTERN/
2251 2000-09-04 Dave Love <fx@gnu.org>
2253 * vc.el: Require `compile' when compiling.
2254 (vc-logentry-check-hook): New option.
2255 (vc-steal-lock): Use compose-mail.
2256 (vc-dired-mode-map): Defvar when compiling.
2257 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
2258 vc-sccs.el and renamed. Callers changed.
2259 (vc-backend-checkout, vc-backend-logentry-check)
2260 (vc-backend-merge-news): Doc fix.
2261 (vc-default-logentry-check): New function.
2262 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
2263 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
2264 (vc-backend-merge): Doc fix. Use backend functions.
2265 (vc-check-headers): Use backend functions.
2267 * vc-cvs.el: Require vc when compiling.
2268 (vc-cvs-register-switches): Doc fix.
2269 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
2270 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
2271 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
2272 New functions (code from vc.el).
2273 (vc-annotate-display-default): Fix interactive spec.
2274 (vc-annotate-time-span): Doc fix.
2276 * vc-rcs.el: Require vc when compiling.
2277 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
2278 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
2279 (vc-rcs-checkin): New functions (code from vc.el).
2280 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
2282 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
2284 * vc-sccs.el: Require vc when compiling.
2285 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
2286 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
2288 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
2290 (vc-sccs-add-triple, vc-sccs-record-rename)
2291 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
2292 (vc-sccs-admin): Doc fix.
2294 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2296 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
2297 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
2298 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
2301 * vc-sccs.el (vc-admin-sccs): Added from vc.el
2303 * vc-cvs.el: Moved the annotate functionality from vc.el.
2304 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
2306 2000-09-04 Dave Love <fx@gnu.org>
2308 * vc.el (vc-backend-release): Call vc-system-release.
2310 * vc-sccs.el (vc-sccs-system-release):
2311 Renamed from vc-sccs-backend-release.
2313 * vc-rcs.el (vc-rcs-system-release):
2314 Renamed from vc-rcs-backend-release.
2316 * vc-cvs.el (vc-cvs-system-release):
2317 Renamed from vc-cvs-backend-release.
2319 2000-09-04 Dave Love <fx@gnu.org>
2321 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
2323 (vc-backend-release): Dispatch to backend functions.
2324 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
2325 probably needs attention.]
2327 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
2328 (vc-sccs-backend-release): New function.
2330 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
2331 (vc-cvs-backend-release): New function.
2333 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
2335 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
2336 (vc-default-dired-state-info): New function.
2337 (vc-dired-state-info): Dispatch to backends.
2338 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
2340 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
2341 from vc.el and renamed.
2343 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2345 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
2346 (vc-version-other-window, vc-backend-assign-name): Removed
2347 references to vc-latest-version; sometimes changed into
2348 vc-workfile-version.
2350 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
2351 vc-rcs-master-workfile-version.
2352 (vc-rcs-workfile-version): Use the above. Don't call
2353 vc-latest-version (that was unreachable code, anyway).
2354 (vc-rcs-fetch-master-properties): Doc fix.
2356 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
2357 (vc-backend-hook-functions): Removed them from this list, too.
2358 (vc-fetch-properties): Removed.
2359 (vc-workfile-version): Doc fix.
2361 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
2362 (vc-rcs-workfile-version, vc-rcs-locking-user)
2363 (vc-rcs-uses-locking): Use it.
2365 * vc-hooks.el (vc-consult-rcs-headers):
2366 Moved into vc-rcs-hooks.el, under the name
2367 vc-rcs-consult-headers.
2369 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
2371 (vc-cvs-find-master): Use this name only; correct different
2372 versions of the name.
2374 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
2376 (vc-sccs-locking-user): Use the latter.
2378 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
2381 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
2383 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
2384 functions are implementation details of those two backends.
2386 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2388 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
2389 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
2391 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
2392 (vc-sccs-parse-locks): SCCS-specific code moved here from
2395 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
2396 code moved here from vc-hooks.
2398 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
2399 into back-end specific parts and removed. Callers not updated
2400 yet; because I guess these callers will disappear into back-end
2401 specific files anyway.
2403 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2405 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
2406 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
2409 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
2410 Store yes/no in the property, and return t/nil. Updated all
2413 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
2414 vc-sccs-uses-locking. Don't set property.
2415 (vc-sccs-locking-user): Don't set property.
2417 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
2418 vc-cvs-uses-locking. Don't set property here; leave that to
2420 (vc-cvs-locking-user): Reflect above change. Streamlined.
2422 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
2423 vc-rcs-uses-locking.
2424 (vc-rcs-locking-user): Reflect above change.
2426 2000-09-04 Dave Love <fx@gnu.org>
2428 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
2430 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
2432 * vc-hooks.el (vc-checkout-model): Punt to backends.
2434 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
2436 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
2438 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
2441 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
2444 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
2445 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
2447 * vc-hooks.el (vc-default-locking-user): New function.
2448 (vc-locking-user, vc-workfile-version): Punt to backends.
2450 2000-09-04 Dave Love <fx@gnu.org>
2452 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
2453 (vc-master-workfile-version): Moved from vc-hooks.
2455 * vc-rcs-hooks.el: Fix duplicate code in last change.
2457 * vc-rcs-hooks.el: Require vc-hooks when compiling.
2458 (vc-rcs-master-templates): Improve :type.
2459 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
2460 vc-master-workfile-version): Moved from vc-hooks.
2462 * vc-sccs-hooks.el: Require vc-hooks when compiling.
2463 (vc-sccs-master-templates): Improve :type.
2464 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
2466 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
2468 * vc-cvs-hooks.el: Require vc-hooks when compiling.
2469 (vc-cvs-master-templates): Improve :type. Use
2470 vc-cvs-find-cvs-master.
2471 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
2473 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
2475 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
2476 Moved to vc-cvs-hooks.
2478 * vc-hooks.el: Add doc strings in various places. Simplify the
2480 (vc-handled-backends): New user variable.
2481 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
2484 2000-09-04 Dave Love <fx@gnu.org>
2486 * vc.el: Some doc fixes for autoloaded and interactive functions.
2487 Fix compilation warnings from ediff stuff.
2488 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
2490 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
2492 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
2494 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
2496 2000-09-04 Dave Love <fx@gnu.org>
2498 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2500 (vc-make-backend-function, vc-loadup, vc-call-backend)
2501 (vc-backend-defines): New functions.
2503 * vc-hooks.el: Various doc fixes.
2504 (vc-default-back-end, vc-follow-symlinks): Custom fix.
2505 (vc-match-substring): Function removed. Callers changed to use
2507 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
2510 2000-09-04 Dave Love <fx@gnu.org>
2512 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
2514 (vc-sccs-project-dir, vc-search-sccs-project-dir)
2515 (vc-sccs-registered): Doc fix.
2517 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
2518 (vc-cvs-registered): Doc fix.
2520 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
2521 (vc-rcs-registered): Doc fix.
2523 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2525 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
2527 * vc-hooks.el: vc-registered has been renamed
2528 vc-default-registered. Some functions have been moved to the
2529 backend specific files. they all support the
2530 vc-BACKEND-registered functions.
2532 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2534 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
2536 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
2538 2000-09-04 Dave Love <fx@gnu.org>
2540 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
2541 menu-bar-update-hook.
2543 * help.el (help-manyarg-func-alist): Add
2544 find-operation-coding-system.
2546 * wid-edit.el (widget-sexp-validate): Fix garbled code.
2548 * custom.el (custom-set-variables): Print message about errors in
2551 2000-09-03 Andrew Innes <andrewi@gnu.org>
2553 * makefile.w32-in: Change to DOS line endings.
2555 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2557 * mouse.el (mouse-popup-menubar): Supply the prompt string for
2558 minor-mode keymaps, if they don't have one.
2560 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2562 * eshell/esh-module.el (eval-when-compile): Don't lose if
2563 esh-module.el's file name is truncated to DOS 8+3 limits.
2565 2000-09-01 John Wiegley <johnw@gnu.org>
2567 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
2568 predicate, which caused entries in the completion list to be
2571 2000-08-30 John Wiegley <johnw@gnu.org>
2573 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
2574 sending to subprocesses. Also, hook pre-command-hook if
2575 `eshell-send-direct-to-subprocesses' is non-nil.
2576 (eshell-send-direct-to-subprocesses): New config variable. If t,
2577 subprocess input is send immediately.
2578 (eshell-toggle-direct-send): New function.
2579 (eshell-self-insert-command): New function.
2580 (eshell-intercept-commands): New function.
2581 (eshell-send-input): If direct subprocess sending is enabled,
2582 don't echo any input to the Eshell buffer. Let the subprocess
2583 handle that. This requires "stty echo" in bash, for example.
2585 2000-08-28 John Wiegley <johnw@gnu.org>
2587 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
2588 completion function for Eshell's implementation of `unset'.
2590 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2592 * info.el (Info-directory-list): Doc fix.
2594 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
2596 * filecache.el (file-cache-add-directory-using-find): Don't quote
2597 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
2599 2000-08-31 Kenichi Handa <handa@etl.go.jp>
2601 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
2604 2000-08-30 Andrew Innes <andrewi@gnu.org>
2606 * timer.el (run-with-idle-timer): Undo last change, so that timer
2607 is not activated immediately if Emacs is already idle. Some
2608 existing code relies on this behaviour.
2610 2000-08-30 Miles Bader <miles@gnu.org>
2612 * frame.el (set-frame-font): Do completion of font-name for
2615 2000-08-30 Kenichi Handa <handa@etl.go.jp>
2617 * international/quail.el (quail-start-translation): Bind locally
2618 last-command-event, last-command, and this-command.
2619 (quail-start-conversion): Likewise.
2620 (quail-self-insert-command): Fix docstring.
2622 2000-08-29 Gerd Moellmann <gerd@gnu.org>
2624 * progmodes/executable.el
2625 (executable-make-buffer-file-executable-if-script-p): Check that
2626 buffer contains at least 2 characters.
2628 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2630 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
2632 2000-08-29 Dave Love <fx@gnu.org>
2634 * diff-mode.el (diff-mode) <defgroup>: Add :version.
2635 (diff-mode-shared-map): Bind mouse-2.
2636 (diff-imenu-generic-expression): New variable.
2637 (diff-mode): Use it.
2639 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
2640 (mouse-popup-menubar): Add minor mode menus.
2641 (popup-menu): Check for lookup-key returning number.
2643 2000-08-29 Miles Bader <miles@gnu.org>
2645 * comint.el (comint-send-input): Create overlays using the proper
2646 front/read-advance arguments.
2648 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
2650 * ps-print.el: Even/odd pages printing. Doc fix.
2651 (ps-print-version): New version number (6.0).
2652 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
2653 (ps-background, ps-begin-file, ps-begin-job): Code fix.
2654 (ps-print-duplex-feature): Variable eliminated.
2655 (ps-even-or-odd-pages): New variable.
2657 * progmodes/ebnf2ps.el: Doc fix.
2658 (ebnf-version): New version (3.3).
2659 (ebnf-user-arrow): Change variable customization to sexp.
2660 (ebnf-user-arrow): Function eliminated.
2661 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
2663 2000-08-29 Kenichi Handa <handa@etl.go.jp>
2665 * help.el (help-xref-mule-regexp): New variable.
2666 (help-make-xrefs): Handle help-xref-mule-regexp.
2668 * international/mule-cmds.el (help-xref-mule-regexp-template): New
2670 (describe-input-method): Temporarily activate the specfied input
2671 method to display the information.
2672 (describe-language-environment): Hyperlinks to mule related items.
2674 * international/mule-diag.el (charset-multibyte-form-string): New
2676 (list-character-sets-1): Use charset-multibyte-form-string.
2677 (describe-character-set): New function.
2678 (describe-coding-system): Hyperlinks to safe character sets.
2680 * international/quail.el (quail-help): New arg PACKAGE.
2681 Hyperlinks to mule related items.
2682 (quail-help-insert-keymap-description): Use
2683 substitute-command-keys instead of describe-bindings.
2684 (quail-translation-help): Hyperlinks to mule related items.
2686 2000-08-28 John Wiegley <johnw@gnu.org>
2688 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
2689 have a defsubst call itself. Made `eshell-flatten-list' back into
2692 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
2693 catch, in case re-centering point at bottom messes up the display.
2694 This happens frequently in Emacs 21, due I believe to variable
2697 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
2698 to call `find-tag-interactive'.
2700 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
2701 the list of remember directories.
2703 2000-08-28 John Wiegley <johnw@gnu.org>
2705 * align.el: Test align-region-separate to see if it's a symbol.
2707 2000-08-28 John Wiegley <johnw@gnu.org>
2709 * eshell/esh-util.el (eshell-flatten-list): Made this function
2710 into a defsubst form. It gets used very frequently, although
2711 calls don't occur all that often.
2713 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
2716 * eshell/esh-cmd.el (eshell-rewrite-while-command):
2717 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
2719 (eshell-copy-handles): Created a new macro for duplicating the
2720 current set of open handles. This is needed by the looping
2722 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
2723 is not incorrectly stomped on.
2725 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
2726 declaration for pcomplete-use-paring.
2727 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
2728 value of eshell-cmpl-use-paring.
2729 * pcomplete.el (pcomplete-use-paring): New config variable, to
2730 indicate whether paring should be used.
2731 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
2732 completion alternatives that have already been used.
2734 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
2735 bound to C-c C-y, which will repeat the previous N arguments
2736 (based on prefix argument).
2737 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
2739 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
2740 if there is no *Help* buffer. This is for XEmacs, which renames
2741 its help buffers uniquely. TODO: Find out what the current buffer
2744 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
2745 first entry that correlates to a passwd/group number. Later
2746 entries (used for group/user name aliasing to multiple IDs) are
2749 * eshell/em-xtra.el (eshell/expr):
2750 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
2751 (eshell-grep, eshell/diff, eshell/locate):
2752 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
2753 argument list, before passing it to the system command.
2755 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
2756 `find-tag' for use at final position in Eshell buffers (which
2757 otherwise triggers an error on Emacs 21).
2758 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
2759 buffer, if it is currently bound to `find-tag'.
2761 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
2762 in the list of matched Makefile names.
2763 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
2764 directory, prefer its contents to Makefile.
2766 * eshell/em-dirs.el (eshell/cd): cd commands that look up
2767 directory parts (like "cd old new", or "cd =regexp"), are now case
2768 sensitive on non-Windows/DOS platforms.
2770 * eshell/esh-mode.el (eshell-parse-command-input): When a user
2771 types RET after an open delimiter (like "), display a message
2772 indicating that Eshell is waiting for the closing delimiter.
2774 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
2775 environment variables.
2777 * eshell/em-unix.el (eshell/diff): Added logic to fail more
2778 gracefully if the user enters incorrect arguments.
2780 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
2783 * eshell/esh-var.el (eshell-interpolate-variable):
2784 * eshell/esh-mode.el (eshell-move-argument):
2785 * eshell/em-unix.el (eshell-du-sum-directory):
2786 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
2787 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
2790 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
2791 to ensure the `preserve' flag gets propagated when doing recursive
2794 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
2796 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
2797 Don't convert \n into \0177 in memory.
2798 (eshell-read-history, eshell-write-history): Convert \n to \0177,
2799 and back again, when reading and writing.
2801 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
2803 * eshell/esh-util.el (eshell-processp): Added to relieve constant
2804 testing of `fboundp' on `processp'.
2806 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
2807 (eshell/jobs): Don't call process-list if it is not bound.
2808 (eshell-gather-process-output): Support systems where async
2809 subprocesses aren't supported.
2810 (eshell-scratch-buffer, eshell-last-sync-output-start): New
2813 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
2814 eshell-do-eval returns t.
2815 (eshell-do-pipelines-synchronously): New defmacro.
2816 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
2817 when async subprocesses aren't supported.
2818 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
2819 if async subprocesses aren't supported.
2820 (eshell-resume-command): Don't assume STATUS is a string.
2822 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
2824 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
2825 (eshell-close-target, eshell-get-target): Use eshell-processp.
2826 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
2828 (eshell-get-target, eshell-create-handles): Doc fix.
2830 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
2832 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
2833 criterion to include commands that output something, as long as it
2834 leaves both the command and the end-of-buffer visible when the
2836 (eshell-review-quick-commands): Adjust the help doc string
2839 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
2841 * locate.el (locate): Cleaned up locate command's interactive prompting
2842 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
2844 * filecache.el (file-cache-case-fold-search): New variable
2845 (file-cache-assoc-function): New variable
2846 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
2847 Use file-cache-case-fold-search variable
2848 (file-cache-add-file): Use file-cache-assoc-function
2849 (file-cache-delete-file): likewise
2850 (file-cache-directory-name): likewise
2851 (file-cache-debug-read-from-minibuffer): likewise
2853 2000-08-28 Gerd Moellmann <gerd@gnu.org>
2855 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
2856 (abbrev-table-name): New function.
2857 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
2858 If non-nil list local abbrev, only.
2860 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
2862 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
2863 from Gnus support code, and use special article copy buffer
2864 `(gnus-original-article-buffer)' instead. This allows to get rid
2865 of article-hide-headers usage (which breaks in the latest Gnus
2866 version). Thanks to Detlev Zundel.
2868 2000-08-28 Kenichi Handa <handa@etl.go.jp>
2870 * international/quail.el (quail-use-package): Hide "... loaded"
2872 (quail-start-translation, quail-start-conversion): Likewise.
2874 * international/kkc.el (kkc-region): Hide "... loaded" message.
2876 2000-08-27 Dave Love <fx@gnu.org>
2878 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
2880 2000-08-27 Miles Bader <miles@gnu.org>
2882 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
2884 2000-08-27 Kenichi Handa <handa@etl.go.jp>
2886 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
2887 'ja-dic-cnv), not (require 'skkdic-cnv).
2889 2000-08-26 Miles Bader <miles@gnu.org>
2891 * faces.el (face-x-resources): Add entry for :inherit.
2892 * cus-face.el (custom-face-attributes): Add support for :inherit
2893 attribute. Add support for relative face heights.
2894 (custom-face-attributes-get): Treat `nil' as being a default value
2895 for :inherit (as well as `unspecified').
2897 * faces.el (set-face-attribute): Update doc string.
2898 (face-attribute-name-alist): Add :inherit.
2899 (face-valid-attribute-values): Handle :inherit.
2900 (face-read-string): Rephrase prompt to be less confusing.
2901 Assume that DEFAULT is a string, since we must return a string.
2902 (face-read-integer): Use `format' to turn DEFAULT into an
2903 acceptable default for face-read-string. Match NEW-VALUE against
2904 the string "unspecified", not the symbol `unspecified', since
2905 that's what face-read-string returns.
2906 (read-face-attribute): Lookup a name for old-value in valid, and
2907 use it as a default if we find one. Treat all values from
2908 face-read-string as strings. If the default is used, don't do any
2909 more processing on the value, just use the old value directly.
2910 (read-face-and-attribute, modify-face): Tweak prompt.
2911 (read-face-name): Don't assume prompt ends with a space.
2913 * faces.el (describe-face): Add support for :inherit attribute.
2915 2000-08-25 Kenichi Handa <handa@etl.go.jp>
2917 * terminal.el (terminal-emulator): Fix args to `concat'. Now
2918 concat doesn't accept interger.
2920 * international/kkc.el: Remove SKK from Keywords. Require
2921 ja-dic-utl instead of skkdic-utl.
2923 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
2924 Provide ja-dic-cnv instead of skkdic-cnv.
2925 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
2926 (iso-2022-7bit-short): Add safe-charsets property.
2927 (skkdic-convert-postfix): Search Japanese chou-on character in
2928 addition to Hiragana character.
2929 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
2930 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
2931 (batch-skkdic-convert): Likewise.
2933 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
2934 Provide ja-dic-utl instead of skkdic-utl.
2935 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
2937 2000-08-24 Dave Love <fx@gnu.org>
2939 * disp-table.el (standard-display-default): Make the test of `l'
2942 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
2945 * international/iso-ascii.el: Make pilcrow convenient string
2946 consistent with section.
2947 (iso-ascii-display): Set up multibyte characters as well as
2950 2000-08-24 Kenichi Handa <handa@etl.go.jp>
2952 * international/mule-cmds.el (reset-language-environment): Set
2953 default-process-coding-system to '(undecided . iso-latin-1), which
2954 makes process I/O almost consistent with file I/O. Call this
2955 function when mule-cmds.el[c] is loaded.
2957 2000-08-22 Andrew Innes <andrewi@gnu.org>
2959 * makefile.w32-in: New file.
2961 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
2963 * comint.el (comint-output-filter): Compare end of
2964 comint-last-output-overlay with the start of the newly inserted
2965 text, not the end, when deciding whether to extend it.
2966 Set saved-point's insertion type to advance after insertion.
2968 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
2969 since this is now done independently of font-lock mode.
2971 2000-08-21 Gerd Moellmann <gerd@gnu.org>
2973 * server.el (server-kill-new-buffers): New user option.
2974 (server-existing-buffer): New buffer-local variable.
2975 (server-visit-files): When using an existing buffer, set
2976 server-existing-buffer to t.
2977 (server-buffer-done): If server-kill-new-buffers is t, kill the
2978 buffer, unless it was already present before visiting it with
2981 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
2983 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
2984 even if the display doesn't support colors: some displays will
2985 support bold/underline faces.
2987 2000-08-21 Gerd Moellmann <gerd@gnu.org>
2989 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
2991 * startup.el (command-line): If user's init file had an error,
2992 add explanatory text to *Messages*.
2994 2000-08-21 Kenichi Handa <handa@etl.go.jp>
2996 * man.el (Man-getpage-in-background): Decode the process output by
2997 the system locale coding system.
2999 2000-08-20 Dave Love <fx@gnu.org>
3001 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
3002 Don't test x-popup-menu.
3003 (function) <complete-function>: Complete only fbound symbols.
3004 <validate, value>: New.
3005 (variable) <complete-function>: Complete only bound symbols.
3006 (coding-system): Add :base-only, :complete-function, :validate,
3007 :value, :prompt-match.
3008 (widget-coding-system-prompt-value): Use read-coding-system and
3010 (editable-field): Add :help-echo.
3011 (widget-push-button-gui, widget-push-button-cache)
3012 (widget-gui-action, widget-editable-list-gui): COmment out, along
3014 (widget-at): Make arg optional.
3015 (widget-echo-help): Adjust for current help-echo calling sequence.
3016 (widget-specify-field, widget-specify-button)
3017 (widget-specify-insert, widget-get-sibling, widget-image-find)
3018 (widget-convert, widget-insert, widget-leave-text)
3019 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
3020 (widget-setup, widget-field-find, widget-before-change)
3021 (widget-after-change, widget-default-complete)
3022 (widget-default-create, widget-default-delete)
3023 (widget-push-button-value-create, editable-field)
3024 (widget-field-prompt-value, widget-field-validate)
3025 (widget-choice-value-create, widget-choice-action)
3026 (widget-choice-validate, widget-checklist-add-item)
3027 (widget-radio-add-item, widget-radio-chosen)
3028 (widget-radio-value-inline, widget-editable-list-value-create)
3029 (widget-editable-list-entry-create)
3030 (widget-documentation-link-add)
3031 (widget-documentation-string-value-create)
3032 (widget-regexp-validate, widget-file-complete)
3033 (widget-sexp-validate, widget-plist-convert-widget)
3034 (widget-plist-convert-widget, widget-alist-convert-widget)
3035 (widget-alist-convert-widget, widget-color-complete): Simplify,
3036 particularly to avoid bindings which aren't optimized out.
3038 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
3040 (down-list, backward-up-list, up-list, kill-sexp)
3041 (backward-kill-sexp, mark-sexp): Make arg optional.
3042 (lisp-complete-symbol): Add optional arg PREDICATE.
3044 * cus-start.el: Add display-buffer-reuse-frames,
3045 file-coding-system-alist.
3047 2000-08-20 Gerd Moellmann <gerd@gnu.org>
3049 * startup.el (command-line): Clear realized faces after
3050 modifying TTY color mappings.
3052 2000-08-20 Miles Bader <miles@gnu.org>
3054 * faces.el (face-attr-match-p): Don't return true if ATTRS are
3055 merely a subset of FACE's attributes.
3057 2000-08-19 Miles Bader <miles@gnu.org>
3059 * comint.el (comint-output-filter): Save the point with a marker,
3060 not just a buffer position.
3062 * international/mule.el (set-buffer-process-coding-system): Make
3063 interactive prompt less confusing.
3065 2000-08-19 Gerd Moellmann <gerd@gnu.org>
3067 * hilit-chg.el: General cleanup of doc strings, comments and
3070 2000-08-19 Miles Bader <miles@gnu.org>
3072 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
3073 Compiler macro removed; beginning-of-line is no longer always
3074 equivalent to forward-line, in the presence of fields.
3076 * comint.el (comint-output-filter): Remove ad-hoc saving of
3077 restriction, and just use save-restriction, now that it works
3078 correctly. Don't adjust comint-last-input-start to account for
3079 our insertion; it shouldn't have moved because we don't use
3080 insert-before-markers anymore. Comment out call to
3081 `force-mode-line-update'; why is it here?
3083 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
3084 while checking for prompt to delete. Use `forward-line 0'
3085 instead of beginning-of-line.
3086 (gud-filter): Temporarily widen gud comint buffer while
3089 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
3091 * progmodes/sh-script.el: Big bag of typos.
3093 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
3094 check since ispell-process is not bound when ispell is not yet loaded.
3096 2000-08-18 Dave Love <fx@gnu.org>
3098 * image.el (find-image): Copy `spec' before using plist-put.
3100 2000-08-18 Gerd Moellmann <gerd@gnu.org>
3102 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
3105 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
3106 backward-kill-sexp, analogous to kill-sexp.
3108 * progmodes/icon.el (icon-indent-line)
3109 (icon-is-continuation-line): Handle comments specially.
3111 2000-08-17 Ken Stevens <k.stevens@ieee.org>
3113 * ispell.el: Set to standard author/maintainer/keyword fields.
3114 Fine tuning to menu map appearance and operation, and added help.
3115 Remove `start' and `end' error messages when compiling.
3116 (ispell-choices-win-default-height): Fixed comment string.
3117 (ispell-dictionary-alist-1): Fixed regexp in castellano and
3118 castellano8 dictionaries.
3119 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
3120 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
3121 dictionary, added italiano dictionary.
3122 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
3124 (ispell-tex-skip-alists): Added psfig support.
3125 (ispell-skip-html): Renamed from ispell-skip-sgml.
3126 (ispell-begin-skip-region-regexp, ispell-skip-region)
3127 (ispell-minor-check): Improved html skipping support to skip across
3128 code, and recognize `&' commands without propper `;' syntax;
3129 (ispell-process-line): Fix alignment error when manually
3130 correcting spelling.
3131 (ispell): Fix comment string.
3132 (ispell-add-per-file-word-list): Always put word list on new line.
3134 2000-08-17 Gerd Moellmann <gerd@gnu.org>
3136 * format.el (format-encode-run-method): Fix error message to say
3137 `encode' instead of `decode'. Use save-window-excursion around
3138 shell-command-on-region as in format-decode-run-method because
3139 shell-command-on-region can display a buffer with error output.
3140 (format-decode): Don't record undo information for the decoding.
3141 (format-annotate-function): Add parameter FORMAT-COUNT. Make
3142 that number part of the temporary buffer name so that more than
3143 one decoding using a temporary buffer can happen safely.
3145 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
3146 of `A-z' in the regexp.
3148 * hilit-chg.el: Fix typos in commentary.
3150 * help.el (view-emacs-news): Rewritten for new naming scheme
3153 * startup.el (command-line): Pop to *Messages* in case an error
3154 is signaled while loading user-init-file.
3156 2000-08-17 Andreas Schwab <schwab@suse.de>
3158 * files.el (insert-directory): Don't lose original file name,
3159 undoing an undocumented change.
3161 2000-08-17 Alex Schroeder <alex@gnu.org>
3163 * sql.el (sql-magic-go): Use comint-bol.
3164 (sql-copy-column): Use comint-line-beginning-position.
3165 (comint-line-beginning-position): Define a replacement for
3166 comint-line-beginning-position if it is not fboundp.
3168 2000-08-17 Alex Schroeder <alex@gnu.org>
3170 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
3171 it didn't have any effect anyway.
3173 2000-08-17 Alex Schroeder <alex@gnu.org>
3175 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
3176 --pset and pager=off instead of sending \\o|cat at the beginning
3179 2000-08-17 Miles Bader <miles@gnu.org>
3181 * progmodes/octave-inf.el: Add compatibility definition of
3182 comint-line-beginning-position.
3184 2000-08-17 Kenichi Handa <handa@etl.go.jp>
3186 * startup.el (normal-top-level): Look in each dir in load-path for
3187 a leim-list.el file too. This assures of loading leim-list.el
3188 that is created at Emacs installation time even if a user have his
3191 2000-08-17 Miles Bader <miles@gnu.org>
3193 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
3194 foreground color to black if the background is dark.
3196 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
3198 * loadhist.el (unload-feature): Typo.
3200 * finder.el (finder-compile-keywords):
3201 * cus-dep.el (custom-make-dependencies): Add local-variable settings
3202 to the generated file.
3204 * mail/mh-e.el (mh-make-local-vars):
3205 Replace make-variable-buffer-local with make-local-variable.
3208 * options.el (Edit-options-{set,toggle,t,nil}):
3209 * mail/mailabbrev.el (mail-abbrevs-mode):
3210 * textmodes/tex-mode.el (tex-expand-files):
3211 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
3213 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
3215 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
3216 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
3217 Allow going past the last element.
3218 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
3219 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
3220 (cvs-mouse-toggle-mark): Don't move point.
3221 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
3223 * progmodes/compile.el (grep): Provide a default set of files.
3224 (next-error): Docstring fix.
3225 (compilation-find-file): Avoid find-file (fails in a dedicated window).
3227 * emacs-lisp/easy-mmode.el (define-minor-mode):
3228 Use `symbol-value' to keep the byte-compiler quiet.
3230 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
3231 (diff-find-source-location): New fun, extracted from diff-goto-source.
3232 (diff-goto-source): Use it.
3233 (diff-next-complex-hunk, diff-filter-lines): New function.
3234 (diff-apply-hunk): New command.
3236 * smerge-mode.el (smerge-mode-menu): Doc fix.
3238 * msb.el (msb-mode): Define it in terms of define-minor-mode.
3240 2000-08-16 Dave Love <fx@gnu.org>
3242 * windmove.el (windmove) <defgroup>: Add :version.
3244 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
3245 (goto-address-fontify-p, goto-address-highlight-p)
3246 (goto-address-url-face, goto-address-url-mouse-face)
3247 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
3248 (goto-address-url-regexp): Use thing-at-point-url-regexp.
3249 (goto-address-fontify, goto-address-at-mouse): Simplify,
3250 (goto-address-at-point): browse-url-url-at-point,
3251 goto-address-find-address-at-point can return nil.
3252 (goto-address-find-address-at-point): Return nil on failure.
3254 * align.el (align) <defgroup>: Add :version.
3256 * calculator.el (calculator): Add :version.
3257 (calculator): Use two lines for calculator window if `modeline'
3260 * play/5x5.el: Doc fixes.
3261 (5x5) <defgroup>: Add :version.
3263 * play/fortune.el (fortune) <defgroup>: Add :version.
3264 (fortune-append): Fix error message.
3265 (fortune-from-region): Doc fix.
3267 * play/pong.el (pong): Doc fix.
3269 * play/morse.el: Keywords, commentary, autoloads.
3271 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
3273 * desktop.el (desktop-save): Don't look at symbol-value of a
3274 member of minor-mode-alist, unless it is boundp.
3276 2000-08-16 Sam Steingold <sds@gnu.org>
3278 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
3279 `while'; use `with-current-buffer' instead of `save-excursion'.
3280 Removed unnecessary kludges now that "*Buffer List*" is excluded.
3282 2000-08-16 Kenichi Handa <handa@etl.go.jp>
3284 * international/ccl.el (declare-ccl-program): Docstring modified.
3285 (ccl-execute-with-args): Likewise.
3287 2000-08-16 Miles Bader <miles@gnu.org>
3289 * progmodes/sql.el: Add compatibility definition of
3290 comint-line-beginning-position.
3292 2000-08-15 Gerd Moellmann <gerd@gnu.org>
3294 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
3295 'buffer-menu' property.
3296 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
3298 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
3299 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
3302 * buff-menu.el (list-buffers-noselect): Don't display the
3303 *Buffer List* buffer.
3305 * font-lock.el: Require jit-lock to prevent a very late
3306 `Loading jit-lock' message.
3308 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
3309 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
3312 2000-08-15 Miles Bader <miles@gnu.org>
3314 * textmodes/ispell.el (ispell-graphic-p): New constant.
3315 (ispell-choices-win-default-height, ispell-help): Use
3316 `ispell-graphic-p' instead of `xemacsp'.
3318 2000-08-15 Dave Love <fx@gnu.org>
3320 * simple.el: Autoload widget-convert when compiling.
3321 (mail-user-agent): Doc fix.
3323 * help.el (function-called-at-point, variable-at-point): Use
3325 (help-manyarg-func-alist): Add insert-and-inherit.
3327 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
3329 * delsel.el (delsel-unload-hook): New function.
3331 * find-file.el: Doc fixes. Move provide to end.
3332 (ff) <defgroup>: Add :link.
3333 (ff-goto-click): Deleted.
3334 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
3335 Use mouse-set-point.
3337 * textmodes/tildify.el: Doc fixes.
3338 (tildify) <defgroup>: Add:version.
3340 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
3341 (glasses-custom-set): Use set-default, not set.
3342 (minor-mode-alist): Propertize the lighter.
3343 (glasses-mode): Provide optional arg.
3345 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
3346 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
3347 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
3348 option. Provide :type.
3349 (cwarn-configuration): Provide :type.
3350 (cwarn-mode): Doc fix.
3352 * add-log.el (change-log-merge): Doc fix.
3353 (change-log-redate): New command.
3355 * net/browse-url.el (browse-url-filename-alist): Add a clause for
3357 (browse-url): Use dolist, not mapcar.
3358 (browse-url-at-point): Check for null url.
3359 (browse-url-event-buffer, browse-url-event-point): Functions
3361 (browse-url-at-mouse, browse-url-netscape): Simplify.
3363 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
3365 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
3366 Fix previous change to mapcan.
3367 (msb--init-file-alist, msb--add-separators)
3368 (msb--make-keymap-menu): Simplify.
3369 (msb--choose-file-menu): Use copy-sequence.
3370 (msb-mode-map): Add title to keymap.
3371 (msb-unload-hook): New function.
3373 * bs.el: Fix indentation.
3374 (bs) <defgroup>: Add :links.
3376 (bs-apply-sort-faces): Don't use window-system.
3377 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
3379 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
3381 * calendar/timeclock.el (timeclock-file): Run .timelog through
3382 convert-standard-filename.
3384 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3386 * emacs-lisp/authors.el: New file.
3388 * paren.el (show-paren-priority): New user option.
3389 (show-paren-function): Set overlay priorities to
3390 show-paren-priority.
3392 2000-08-14 Miles Bader <miles@gnu.org>
3394 * comint.el (comint-bol): Use `forward-line 0' instead of calling
3395 beginning-of-line with inhibit-field-text-motion bound.
3397 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3399 * calendar/timeclock.el: New file.
3401 2000-08-14 David Ponce <david@dponce.com>
3403 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
3404 `widget-button-click'. so that one can use left mouse button to
3405 click on dialog buttons.
3407 2000-08-14 Emmanuel Briot <briot@gnat.com>
3409 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
3410 identifiers, since XML is case sensitive
3412 2000-08-12 Miles Bader <miles@gnu.org>
3414 * comint.el (comint-output-filter): Don't bother frobbing
3415 window-start, it doesn't seem to be necessary.
3417 * comint.el (comint-send-string, comint-send-region): Make into
3418 real functions. Snapshot the prompt before sending.
3420 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3422 * info.el (Info-find-emacs-command-nodes): Rewrite to use
3423 technique similar to Info-index, instead of relying on specific
3424 names of relevant Index nodes.
3425 (Info-goto-emacs-command-node): Bind Info-history to nil when
3426 going to the first node found by Info-find-emacs-command-nodes.
3428 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3430 * menu-bar.el (menu-bar-help-menu): Add a :help string.
3432 2000-08-10 Miles Bader <miles@gnu.org>
3434 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
3436 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3438 * info.el (Info-file-list-for-emacs): More elements for the
3439 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
3442 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
3444 * comint.el (comint-send-input): Make the newline boundary overlay
3445 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
3446 (comint-output-filter): Use `insert' instead of
3447 `insert-before-markers'. Extend comint-last-output-overlay when
3448 necessary since we can't rely on insert-before-markers to do it.
3449 * gud.el (gud-filter): Use `with-current-buffer' instead of
3450 save-excursion when inserting the output, so that point gets
3451 updated correctly; the old method relied on a rather dodgy
3452 side-effect of comint-output-filter to avoid the effect of
3455 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3457 * files.el (recover-file): Call insert-directory instead of
3458 invoking `ls' directly.
3460 2000-08-10 Miles Bader <miles@gnu.org>
3462 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
3463 (comint-last-prompt-overlay): New variables.
3464 (comint-output-filter): Implement prompt highlighting.
3465 (comint-snapshot-last-prompt): New function.
3466 (comint-send-input): Snapshot the last prompt.
3467 Use comint-highlight-input-face.
3468 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
3469 Use defface instead of defcustom.
3470 (send-invisible, comint-send-eof): Snapshot the last prompt.
3471 (comint-delchar-or-maybe-eof): Use comint-send-eof.
3472 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
3474 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
3476 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
3477 (regexp-opt-group): Use a list of chars for `letters'.
3478 (regexp-opt-charset): `chars' is now a list of chars.
3479 Use a char-table rather than a vector so it works for multibyte chars.
3481 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
3482 Set cvs-minor-current-files to the selected fileinfo.
3483 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
3484 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
3486 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
3488 * files.el (insert-directory): Don't call access-file on
3489 directories on DOS and Windows.
3491 2000-08-09 Kenichi Handa <handa@etl.go.jp>
3493 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
3494 longer if necessary.
3495 (ccl-embed-code): Call ccl-embed-data to store CODE in
3498 2000-08-09 Miles Bader <miles@gnu.org>
3500 * comint.el (comint-output-filter): Properly handle the case where
3501 the text surrounded by comint-last-output-overlay was deleted.
3503 2000-08-08 Gerd Moellmann <gerd@gnu.org>
3505 * info.el (Info-insert-dir): Use Info-additional-directory-list if
3507 (Info-file-list-for-emacs): Remove "info" from the list because
3508 that leads to trying to use the documentation from file `info'
3509 in various situations where it isn't appropriate, for instance
3512 * ffap.el (ffap-read-file-or-url-internal): Handle case that
3513 DIR and/or STRING are nil.
3515 * progmodes/compile.el (compilation-setup): Make variable
3516 compilation-error-screen-columns buffer-local, as some comment
3517 in the code suggests it should be.
3519 * files.el (auto-mode-interpreter-regexp): New variable.
3520 (set-auto-mode): Use it.
3522 * indent.el (indent-for-tab-command): Doc fix.
3524 * mouse-sel.el (mouse-sel-mode): Doc fix.
3526 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
3529 * help.el (print-help-return-message): When
3530 display-buffer-reuse-frames is set, let the help window been quit,
3531 instead of deleting it, which might delete a reused frame.
3533 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
3535 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
3536 rename a directory to a name that differs only by its letter case.
3538 2000-08-08 Kenichi Handa <handa@etl.go.jp>
3540 * international/quail.el (quail-define-rules): Handle Quail decode
3541 map correctly. Add code for supporting annotations.
3542 (quail-install-decode-map): New function.
3543 (quail-defrule-internal): New optional arguments decode-map and
3545 (quail-advice): New function.
3547 2000-08-07 Sam Steingold <sds@gnu.org>
3549 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
3550 `defconst', `define-condition', `with-slots'.
3551 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
3553 2000-08-03 Miles Bader <miles@gnu.org>
3555 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3557 (comint-prompt-regexp, comint-get-old-input): Document dependence on
3558 comint-use-prompt-regexp-instead-of-fields.
3559 (comint-send-input): Add `input' field property to stuff we send to
3560 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
3561 (comint-output-filter): Add `output' field property to process
3562 output, if comint-use-prompt-regexp-instead-of-fields is nil.
3563 (comint-replace-by-expanded-history)
3564 (comint-get-old-input-default, comint-show-output)
3565 (comint-backward-matching-input, comint-forward-matching-input)
3566 (comint-next-prompt, comint-previous-prompt): Use field
3567 properties if comint-use-prompt-regexp-instead-of-fields is nil.
3568 (comint-line-beginning-position): New function.
3569 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
3570 (comint-replace-by-expanded-history-before-point): Use
3571 comint-line-beginning-position and line-end-position.
3572 (comint-last-output-overlay): New variable.
3573 (comint-mode): Make `comint-last-output-overlay' buffer-local.
3575 * shell.el (shell-prompt-pattern): Doc change.
3576 (shell-backward-command): Use line-beginning-position.
3578 * gud.el (gud-gdb-complete-command): Use
3579 comint-line-beginning-position.
3581 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
3582 comint-bol doesn't actually go to the beginning of the line.
3584 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
3585 if comint-use-prompt-regexp-instead-of-fields is non-nil.
3586 (try-expand-line-all-buffers): Likewise.
3588 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
3589 explicitly matching comint-prompt-regexp.
3590 (sql-copy-column): Use comint-line-beginning-position instead of
3591 explicitly matching comint-prompt-regexp.
3593 * progmodes/octave-inf.el (inferior-octave-complete): Use
3594 comint-line-beginning-position.
3596 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
3598 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
3599 looking for a prompt, use `forward-line 0' instead of
3600 `beginning-of-line', to avoid getting caught by an input field.
3602 2000-08-07 Gerd Moellmann <gerd@gnu.org>
3604 * files.el (shell-quote-wildcard-pattern): Make sure to return
3605 PATTERN, in the Unix case.
3607 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
3609 * play/zone.el (zone): Discard any pending input before running
3610 the randomly-chosen pgm.
3612 2000-08-07 Kenichi Handa <handa@etl.go.jp>
3614 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
3615 checking the existence of any multibyte characters.
3617 2000-08-06 Gerd Moellmann <gerd@gnu.org>
3619 * help.el (describe-mode): Test minor-mode symbol for being
3620 bound before testing its value for being nil.
3622 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
3623 `first', `second', and `third'.
3625 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
3626 (second): Make it an alias for `cadr'.
3628 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
3630 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
3631 types of display support faces now.
3633 2000-08-05 Gerd Moellmann <gerd@gnu.org>
3635 * pcvs.el (require): Require `cl' during compilation, only.
3637 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
3638 (toplevel): Remove `remq' and `remove' from autoloads.
3639 (cl-fake-autoloads): New variable. If set, arrange for an error
3640 when CL functions etc. are autoloaded.
3642 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
3644 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
3646 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
3647 popped up, but the user clicks outside the menu, return an empty
3648 regexp (that causes unhighlight-regexp to have no effect).
3650 * menu-bar.el (menu-bar-games-menu): Add Zone.
3652 * hi-lock.el (toplevel): Require font-lock.
3654 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3656 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
3657 (ebnf-8-bit-chars): New var for bug fix.
3658 (ebnf-string): Bug fix.
3660 2000-08-03 Sam Steingold <sds@gnu.org>
3662 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
3663 instead of `buffer-string'.
3664 (require 'cl): Always, not just when compiling.
3665 `ignore-errors' in `interactive', `list*', `defun*' &c make this
3668 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
3670 * international/mule-cmds.el (select-safe-coding-system): Make
3671 the message text about selecting a safe coding system more clear.
3673 2000-08-02 Gerd Moellmann <gerd@gnu.org>
3675 * hi-lock.el: New file.
3677 * play/zone.el: New file.
3679 * replace.el (occur): Set tab-width in the *Occur* buffer to the
3680 value of tab-width in the original buffer. Choose a line number
3681 format that's a multiple of the original buffer's tab width, so
3682 that lines appear right.
3684 * textmodes/ispell.el (ispell): New function, replacing an alias.
3685 Spell-check active region if in transient-mark-mode and mark
3686 is active; otherwise spell-check buffer.
3688 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3690 * ps-mule.el: Fix a customization problem on
3691 ps-mule-font-info-database-default.
3693 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
3695 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
3696 display-mouse-p instead of window-system.
3697 (ebrowse-member-mode-map): Ditto.
3699 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3701 * progmodes/ebnf2ps.el: Update ps-print functions call.
3702 Indentation fix. Doc fix.
3703 (ebnf-version): New version number (3.2).
3704 (ebnf-format-color, ebnf-begin-job): Code fix.
3706 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
3708 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
3709 font lock support on window-system.
3710 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
3712 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
3713 display-color-p, if fboundp, instead of window-system.
3715 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
3717 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
3718 instead of window-system.
3720 * wid-edit.el (widget-choose): Use display-mouse-p instead of
3722 (widget-choice-mouse-down-action): Use display-popup-menus-p
3723 instead of window-system.
3725 * strokes.el (strokes-file): Run the file name through
3726 convert-standard-filename.
3727 (strokes-mode): Call display-mouse-p instead of looking at
3728 window-system. Change the error message accordingly.
3730 * progmodes/cpp.el (toplevel): Support faces on tty's.
3732 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
3733 (lm-plot-square, lm-init-display): Don't use window-system.
3735 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
3736 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
3738 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
3739 instead of looking at window-system.
3741 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3743 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
3744 of testing if iswitchb-prepost-hooks is bound, because the
3745 latter will always be true when invoking a recursive minibuffer
3746 from an active Iswitchb buffer.
3748 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
3750 * files.el (shell-quote-wildcard-pattern): New function.
3751 (insert-directory): Call it. Only prepend "\" to command on Unix
3752 and GNU/Linux systems.
3754 2000-07-30 Gerd Moellmann <gerd@gnu.org>
3756 * eshell/esh-groups.el: Change custom :link file names
3757 from `eshell.info' to `eshell'.
3759 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
3761 * dired.el (dired-build-subdir-alist): Expand subdirectory names
3762 correctly in recursive ange-ftp listings.
3764 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3766 * ps-print.el: Fix bug 1: if ps-font-size-internal,
3767 ps-header-font-size-internal and
3768 ps-header-title-font-size-internal variables are not set,
3769 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
3770 face text property is (foreground-color . COLOR) or
3771 `(background-color . COLOR)', ps-print crashes. Doc fix.
3772 (ps-print-version): New version number (5.2.4).
3773 (ps-plot-region): Code fix.
3774 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
3775 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
3778 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
3780 * glasses.el (glasses-make-readable): Fix uncapitalization of
3781 identifiers like `myXMLDocument'.
3783 2000-07-28 Karl Fogel <kfogel@red-bean.com>
3785 * mail/mail-hist.el (mail-hist-previous-input)
3786 (mail-hist-next-input): Do the obvious code factorization.
3787 (mail-hist-retrieve-and-insert): New func, contains common
3789 If inserting a message body, leave point at top.
3791 2000-07-28 Sam Steingold <sds@gnu.org>
3793 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
3794 Use `<=', not `<' to compare times!
3795 (ange-ftp-ls): Remove.
3797 2000-07-27 Gerd Moellmann <gerd@gnu.org>
3799 * play/cookie1.el: Add explanation of how to make cookie.el
3800 compatible with strfile(1) to comment.
3802 * subr.el (remove, remq): New functions.
3804 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
3805 escape `*' in regexps.
3806 (midnight-find): Reverse order of arguments in the funcall of
3809 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
3812 * play/meese.el: Add Commentary section.
3814 2000-07-27 Alex Schroeder <alex@gnu.org>
3816 * sql.el (sql-ms): Added autoload cookie.
3817 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
3818 (sql-oracle): Ditto.
3819 (sql-help): Doc change.
3821 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
3822 types and exceptions.
3824 2000-07-27 Alex Schroeder <alex@gnu.org>
3826 * sql.el (sql-placeholder-history): New variable.
3827 (sql-query-placeholders-and-send): New function that will query
3828 the user and replace placeholders with user input.
3829 (sql-oracle): If running on NT, set comint-input-sender to
3830 sql-query-placeholders-and-send.
3832 (sql-stop): If in the SQLi buffer, insert stop notification, else
3833 present it as a message.
3835 2000-07-27 Alex Schroeder <alex@gnu.org>
3837 * sql.el (sql-input-ring-separator): Doc change.
3838 (sql-input-ring-file-name): Doc change.
3839 (sql-interactive-mode): Use `sql-input-ring-separator' and
3840 `sql-input-ring-file-name' to set the comint-mode equivalents
3841 without making them local variables.
3842 (sql-stop): Don't bind `sql-input-ring-separator' and
3843 `sql-input-ring-file-name' dynamically to their comint-mode
3846 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3848 * international/mule.el (register-char-codings): New function.
3849 (make-coding-system): Handle `safe-chars' specification in the arg
3852 * international/mule-cmds.el
3853 (find-coding-systems-region-subset-p): This function deleted.
3854 (sort-coding-systems-predicate): New variable.
3855 (sort-coding-systems): New function.
3856 (find-coding-systems-region): Use
3857 find-coding-systems-region-internal.
3858 (find-coding-systems-string): Use find-coding-systems-region.
3859 (find-coding-systems-for-charsets): Check
3860 char-coding-system-table.
3861 (select-safe-coding-system-accept-default-p): New variable.
3862 (select-safe-coding-system): Mostly rewritten. New argument
3864 (select-message-coding-system): Call select-safe-coding-system
3865 with ACCEPT-DEFAULT-P arg.
3866 (reset-language-environment): Reset default-sendmail-coding-system
3867 to the default value iso-latin-1.
3868 (set-language-environment): Don't set the obsolete variable
3869 charset-origin-alist.
3871 * international/codepage.el (cp-coding-system-for-codepage-1):
3872 Give `safe-chars' property to make-coding-system.
3874 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
3875 calling select-message-coding-system twice.
3877 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
3878 instead of `safe-charsets'.
3879 (cyrillic-alternativnyj): Likewise.
3880 (ccl-encode-alternativnyj): Don't check the charset
3883 2000-07-27 Kenichi Handa <handa@etl.go.jp>
3885 * composite.el (compose-chars-after): Preserve match data.
3887 2000-07-26 Sam Steingold <sds@gnu.org>
3889 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
3890 (ange-ftp-real-file-newer-than-file-p): New function.
3891 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
3892 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
3894 * tooltip.el (tooltip-float-time): Removed (use `float-time').
3895 * midnight.el (midnight-float-time): Ditto.
3897 2000-07-26 Andreas Schwab <schwab@suse.de>
3899 * files.el (normal-backup-enable-predicate): Correct
3900 interpretation of the return value of compare-strings.
3902 2000-07-26 Gerd Moellmann <gerd@gnu.org>
3904 * isearch.el (isearch-resume): New function.
3905 (isearch-done): Add something to command-history to resume
3907 (isearch-yank-line, isearch-yank-word): Use
3908 buffer-substring-no-properties instead of buffer-substring.
3910 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
3911 of flyspell-mouse-map.
3913 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
3914 duplicate definition.
3915 (makefile-mode): Remove duplicate setting of local-abbrev-table.
3917 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
3918 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
3920 2000-07-25 Sam Steingold <sds@gnu.org>
3922 * net/ange-ftp.el: Get modtime over the net.
3923 (ange-ftp-file-modtime): New function.
3924 (ange-ftp-write-region, ange-ftp-insert-file-contents)
3925 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
3927 (ange-ftp-dot-to-slash): New function.
3928 (ange-ftp-fix-name-for-vms): Use it.
3930 * midnight.el (midnight-buffer-display-time): Use
3931 `with-current-buffer'.
3933 2000-07-25 Gerd Moellmann <gerd@gnu.org>
3935 * find-dired.el: Update copyright notice.
3936 (find-dired): Offer to kill a running `find'.
3938 * enriched.el (enriched-face-ans): For a `foreground-color'
3939 property, return '(("x-color" COLOR))' so that COLOR will be
3940 output as a parameter of the x-color annotation. Likewise for the
3941 `background-color' property. In the case of normal face
3942 properties, don't return annotations for unspecified foreground
3943 and background face attributes.
3945 2000-07-25 Kenichi Handa <handa@etl.go.jp>
3947 * language/japan-util.el (japanese-katakana-region): Fix handling
3950 2000-07-25 Miles Bader <miles@gnu.org>
3952 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
3953 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
3956 2000-07-24 Andrew Innes <andrewi@gnu.org>
3958 * timer.el (timer-activate-when-idle): Add optional parameter
3959 DONT-WAIT. Update docstring.
3960 (run-with-idle-timer): Specify extra parameter to
3961 timer-activate-when-idle, so that timer will be activated
3962 immediately if Emacs is already idle.
3964 * w32-fns.el (w32-using-nt): Fix docstring.
3966 2000-07-24 Dave Love <fx@gnu.org>
3968 * mouse.el (popup-menu): Set last-command-event.
3969 (mouse-major-mode-menu-prefix): Declare.
3971 2000-07-24 Gerd Moellmann <gerd@gnu.org>
3973 * textmodes/flyspell.el: Update to author's version 1.5d.
3975 * progmodes/hideshow.el: Update copyright notice.
3977 * vcursor.el: Set maintainer to FSF, since author cannot
3980 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
3982 * info.el (Info-goto-emacs-key-command-node): Leave a space after
3985 * mouse.el (popup-menu): Run the keymap through indirect-function,
3986 in case it was defined with define-prefix-key. If the menu is a
3987 list of keymaps, look up the binding of user's choice in each one
3989 (mouse-popup-menubar): If the global and local menu-bar keymaps
3990 don't have a prompt string, create one and insert it into the
3991 keymap. Don't barf if current-local-map returns nil.
3993 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
3995 * dired.el (dired-sort-R-check): Added to allow recursive listing
3997 (dired-sort-other): Use it.
3999 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4001 * Release of cc-mode 5.27
4003 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4005 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
4006 c-beginning-of-statement-1 that caused a bad case of recursion
4007 which could consume a lot of CPU in large classes in languages
4008 that have in-expression classes (i.e. Java and Pike).
4010 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
4011 statements before top level constructs (i.e. case 6 is moved
4012 before case 5 and is now case 4) to catch in-expression
4013 classes in top level expressions correctly.
4015 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4017 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
4018 objc-method-intro. Case 4 removed and case 5I added.
4020 * cc-langs.el (c-append-paragraph-start): New variable used by
4021 c-common-init to get paragraph-start correct.
4022 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
4023 initialize paragraph-start to make it correct both with and
4024 without the javadoc special case.
4026 * cc-mode.el (java-mode): Use c-append-paragraph-start to
4027 initialize paragraph-start for javadoc markup.
4029 * cc-vars.el (c-style-variables-are-local-p): Incompatible
4030 change by defaulting this to t. It's motivated by the
4031 confusing behavior that otherwise arise from the style system
4032 when editing both java and non-java files at the same time
4033 (see the comments about style setting in c-common-init).
4035 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4037 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
4038 similar to the one in c-fill-paragraph to check the fill
4039 prefix from the adaptive fill function for sanity.
4041 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4043 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
4046 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4048 * cc-mode.texi Documented the change of cpp-macro.
4050 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4052 * cc-align.el (c-lineup-multi-inher): Handle lines with
4053 leading comma nicely. Extended to handle member initializers
4056 * cc-engine.el: (c-beginning-of-inheritance-list,
4057 c-guess-basic-syntax): Fixed recognition of inheritance lists
4058 when the lines begins with a comma.
4060 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
4062 * cc-vars.el (c-offsets-alist): Changed default for
4063 member-init-cont to c-lineup-multi-inher since it now handles
4064 member initializers and indents better for leading commas.
4066 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4068 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
4069 handling that caused class open lines to be recognized as
4070 statement-conts in some cases.
4072 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
4073 guessed by the adaptive fill function unless point is on the
4074 first line of a block comment.
4076 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
4077 when the buffer ends with a macro continuation char.
4079 * cc-engine.el (c-guess-basic-syntax): Added support for
4080 function definitions as statements in Pike. The first
4081 statement in a lambda block is now labeled defun-block-intro
4082 instead of statement-block-intro.
4084 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
4085 so that the class surrounding point is selected, not the one
4086 innermost in the state.
4088 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
4089 recognition of switch labels having hanging multiline
4092 * cc-engine.el (c-beginning-of-member-init-list): Broke out
4093 some code in c-guess-basic-syntax to a separate function.
4094 * cc-engine.el (c-just-after-func-arglist-p): Fixed
4095 recognition of member inits with multiple line arglists.
4096 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
4097 member-init-cont when the commas are in funny places.
4099 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4101 * cc-defs.el (c-auto-newline): Removed this macro since it's
4104 * cc-engine.el (c-looking-at-bos): New helper function.
4105 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
4106 inexpr and toplevel classes apart in Pike.
4108 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
4111 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
4112 constant, since "class" can introduce an in-expression class
4115 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4117 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
4118 indentation on cpp-macro lines.
4120 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
4121 a syntax modifier like comment-intro, to make it possible to
4122 get syntactic indentation for preprocessor directives. It's
4123 incompatible wrt to lineup functions on cpp-macro, but it has
4124 no observable effect in the 99.9% common case where cpp-macro
4127 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4129 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
4130 member-init-cont when the preceding arglist is several lines.
4132 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4134 * cc-styles.el (c-style-alist): The basic offset for the BSD
4135 style corrected to 8.
4137 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4139 * cc-styles.el (c-style-alist): Adjusted the indentation of
4140 brace list openers in the gnu style.
4142 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4144 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
4146 * cc-cmds.el (c-electric-brace, c-electric-slash,
4147 c-electric-star, c-electric-semi&comma, c-electric-colon,
4148 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
4149 when c-syntactic-indentation is nil.
4151 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
4152 we were left at comments preceding the first statement when
4153 reaching the beginning of the buffer.
4155 * cc-vars.el (c-syntactic-indentation): New variable to turn
4156 off all syntactic indentation.
4158 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4160 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
4161 between the text and the block comment ender when it hangs,
4162 depending on how many there are before the fill.
4164 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4166 * cc-engine.el (c-beginning-of-closest-statement): New helper
4167 function to go back to the closest preceding statement start,
4168 which could be inside a conditional statement.
4169 * cc-engine.el (c-guess-basic-syntax): Use
4170 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
4172 * cc-engine.el (c-guess-basic-syntax): Better handling of
4173 arglist-intro, arglist-cont-nonempty and arglist-close when
4174 the arglist is nested inside parens. Cases 7A, 7C and 7F
4177 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
4178 up-to-date with javadoc 1.2.
4180 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4182 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
4183 multiline Pike type decls.
4185 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4187 * cc-cmds.el (c-indent-new-comment-line): Always break
4188 multiline comments in multiline mode, regardless of
4191 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4193 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
4194 fully::qualified::names in C++ member init lists. Preamble in
4197 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4199 * cc-langs.el (c-common-init): Handling of obsolete variables
4200 moved to c-initialize-cc-mode. More compatible style override
4201 when using global style variables.
4202 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
4203 variables moved here.
4205 * cc-mode.texi: Documented the special behavior of
4206 c-special-indent-hook as a style variable. Don't talk about
4207 doing (c-make-styles-buffer-local t) in a mode hook, since
4208 that's already too late to work right.
4210 * cc-styles.el (c-make-styles-buffer-local): Flag style
4211 variable localness in c-style-variables-are-local-p to make
4212 the compatibility measure in c-common-init work well.
4214 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
4215 longer contain set-from-style.
4216 * cc-styles.el (c-initialize-builtin-style): Don't check for
4217 set-from-style on c-special-indent-hook.
4218 * cc-styles.el (c-copy-tree): Obsolete. The standard function
4219 copy-alist is sufficient now.
4221 * cc-styles.el (c-set-style, c-set-style-1,
4222 c-get-style-variables): Fixes to variable initialization so
4223 that duplicate entries in styles have the same effect
4224 regardless of DONT-OVERRIDE.
4226 * cc-styles.el (c-set-style-2): Fixed bug where the
4227 initialization of inheriting styles failed when the
4228 dont-override flag is set.
4230 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
4233 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4235 * cc-defs.el (c-forward-comment): Removed the workaround
4236 introduced in 5.38 since it had worse side-effects. If a line
4237 contains the string "//\"", it regarded the // as a comment
4238 start since the \ temporarily doesn't have escape syntax.
4240 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
4242 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
4243 ada-xref.el before ada-prj.el, so that the Project menu is created
4244 when ada-prj tries to add to it.
4245 (ada-activate-keys-for-case): Suppress the characters that are not
4246 part of the Ada syntax. Better compatibility with else-mode
4247 (ada-adjust-case-interactive): When auto-casing is not active,
4248 correctly insert newlines (used to insert only ^M). Prevent the
4249 syntax table from being changed in case of an error
4250 (or '_' becomes part of a word and some commands are confused).
4251 Do nothing if ada-auto-case is nil.
4252 (ada-after-keyword-p): Ignore keywords that are also attributes
4253 (ada-batch-reformat): Update usage comment
4254 (ada-call-from-contextual-menu): New function
4255 (ada-case-read-exceptions): Reinitialize the casing exception list
4256 first to nil first, so that the casing exception file can be
4258 (ada-check-defun-name): Handles "configure" keyword for gnatdist
4260 (ada-compile-goto-error): Fix regexp used to detect a file:line
4261 anywhere in the error message
4262 (ada-contextual-menu-last-point): New variable
4263 (ada-create-keymap): If the variable delete-key-deletes-forward is
4264 t on XEmacs, it means that DEL should delete one character
4266 (ada-create-menu): Use :included instead of :visible for XEmacs.
4267 New submenu "Options".
4268 (ada-end-stmt-re): Correctly indent "select ... then abort"
4270 (ada-fill-comment-paragraph): Correctly delete all leading '--'
4271 even if they don't match ada-fill-comment-prefix Fix handling of
4272 paragraphs on the first or last line of a file.
4273 (ada-format-paramlist): Fix handling of default parameter values.
4274 (ada-get-body-name): New function.
4275 (ada-get-current-indent): Optimized by searchling directly for an
4276 existing generic part or a statement outside of it. Handle
4277 ada-indent-align-comments when indenting comments Replaced some
4278 regexps by testing directly the next character. This results in a
4279 huge speedup on some files. New indentation scheme for renames
4280 statements. Stop looking for the 'while' or 'for' associated with
4281 a 'loop' at the first semicolon encountered. A "return" can also
4282 match an anonymous access subprogram declaration.
4283 (ada-get-indent-noindent): Ignore strings and comments when
4284 looking for the keywords "record" and "private".
4285 (ada-goto-matching-decl-start): When matching "if", make sure we
4286 are not in fact seeing "end if". Ignore "when" statements except
4287 when initial keyword was "begin". Fix handling of nested
4288 procedures. Add a recursive call to this function to skip over
4289 other 'end' statmts. Fix indentation for "when .. => begin"
4290 (ada-in-open-paren-p): Fix indentation for complex boolean
4291 expressions, where 'and then', 'or else' and parenthesis
4292 statements are mixed up.
4293 (ada-in-paramlist-p): Skip comments while searching for the
4294 beginning Fix handling of operator declarations.
4295 (ada-indent-align-comments): New variable
4296 (ada-indent-current): Change the syntax table only in the
4297 protected section, so that we are sure it is restored correctly.
4298 (ada-indent-on-previous-lines): Use ada-use-indent and
4299 ada-with-indent Correctly indent "select ... then"
4300 (ada-indent-region): Slight speedup.
4301 (ada-indent-renames): New variable.
4302 (ada-last-which-function-subprog, ada-last-which-function-line):
4304 (ada-looking-at-semi-private): Correctly indent the 'private'
4305 keyword when it is the first word in a package declaration.
4306 (ada-loose-case-word): Stop searching if at the end of the buffer.
4307 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
4308 even if point is not initially at the end of the word.
4309 (ada-matching-decl-start-re): Add "when".
4310 (ada-mode): Add support for abbrev-mode, outline-mode and
4311 which-func-mode Override the old find-file.el entry in
4312 ff-special-constructs since it is using the obsolete
4313 ada-spec-suffix variable
4314 (ada-no-auto-case): New function
4315 (ada-scan-paramlist): When parsing the argument type, accept
4316 spaces (as in "X 'Class", generated by Rational Rose).
4317 (ada-other-file-name): No longer loads the other file.
4318 (ada-popup-menu): Save and restore the current buffer and cursor
4319 position before and after displaying the menu.
4320 (ada-search-ignore-complex-boolean): New function.
4321 (ada-uncomment-region): Emacs21 already knows how to delete
4322 comments not starting in the first column.
4323 (ada-use-indent): New variable
4324 (ada-which-function): New function.
4325 (ada-with-indent): New variable
4326 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
4327 can be batch-compiled from the command line.
4329 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
4330 Add to the menu when the file is loaded, not in ada-mode-hook.
4331 Add -toolbar to the default ddd command Switches moved from
4332 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
4333 ada-prj-default-comp-opt
4334 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
4335 Reference Manual to the menu
4336 (ada-check-current): rewritten as a call to ada-compile-current
4337 (ada-compile): Removed.
4338 (ada-compile-application, ada-compile-current, ada-check-current):
4339 Set the compilation-search-path so that compile.el automatically
4340 finds the sources in src_dir. Automatic scrollong of the
4341 compilation buffer. C-uC-cC-c asks for confirmation before
4343 (ada-compile-current): New parameter, prj-field
4344 (ada-complete-identifier): Load the .ali file before doing
4346 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
4347 conform to gnatmake's behavior.
4348 (ada-find-file-in-dir): New function
4349 (ada-find-references): Set the environment variables for gnatfind
4350 (ada-find-src-file-in-dir): New function.
4351 (ada-first-non-nil): Removed
4352 (ada-gdb-application): Add support for jdb, the java debugger.
4353 (ada-get-ada-file-name): Load the original-file first if not done
4355 (ada-get-all-references): Handles the new ali syntax (parent types
4356 are found between <>).
4357 (ada-initialize-runtime-library): New function
4358 (ada-mode-hook): Always load a project file when a file is opened,
4359 so that the casing exceptions are correctly read.
4360 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
4361 (ada-parse-prj-file): Use find-file-noselect instead of find-file
4362 to open the project file, since the latter does not work with
4363 speedbar Get default values before loading the prj file, or the
4364 default executable file name is wrong. Use the absolute value of
4365 src_dir to initialize ada-search-directories and
4366 compilation-search-path,... Add the standard runtime library to
4367 the search path for find-file.
4368 (ada-prj-default-debugger): Was missing an opening '{'
4369 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
4371 (ada-prj-default-gnatmake-opt): New variable
4372 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
4373 buffers, the project file is the default one Save the windows
4374 configuration before displaying the menu.
4375 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
4376 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
4377 ...) regexp-quote identifiers names to support operators +,
4379 (ada-remote): New function.
4380 (ada-run-application): Erase the output buffer before starting the
4381 run Support remote execution of the application. Use
4382 call-process, or the arguments are incorrectly parsed
4383 (ada-set-default-project-file): Reread the content of the active
4384 project file, not the one from the current buffer When a project
4385 file is set as the default project, all directories are
4386 automatically associated with it.
4387 (ada-set-environment): New function
4388 (ada-treat-cmd-string): New special variable ${current}
4389 (ada-treat-cmd-string): Revised. The substitution is now done for
4390 any ${...} substring
4391 (ada-xref-current): If no body was found, compiles the spec
4392 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
4393 compiler to get rid of command line length limitations.
4394 (ada-xref-get-project-field): New function
4395 (ada-xref-project-files): New variable
4396 (ada-xref-runtime-library-specs-path)
4397 (ada-xref-runtime-library-ali-path): New variables
4398 (ada-xref-set-default-prj-values): Default run command now does a
4399 cd to the build directory. New field: main_unit Provide a default
4400 file name even if the current buffer has no prj file.
4403 Rewritten to show a tabbed-dialog.
4404 (ada-prj-add-ada-menu): Remove the map and name parameters.
4405 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
4407 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
4408 (ada-prj-load-from-file): New function
4409 (ada-prj-save): Always save fields that depend on the current buffer
4410 (ada-prj-show-value): New function
4412 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
4413 Ada mode. This will allow us to display the Ada menu in any buffer
4414 we want (for project items).
4415 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
4416 number of spaces in the header.
4418 2000-07-24 Dave Love <fx@gnu.org>
4420 * ediff-init.el (ediff-region-help-echo): Bind face-help.
4422 2000-07-23 Noah Friedman <friedman@splode.com>
4424 * type-break.el (type-break): perform autosave.
4425 Suggested by Stephen Gildea <gildea@intouchsys.com>.
4426 (type-break-do-query): Cancel query schedule while performing
4427 actual query, to avoid possibility of a second query being made
4428 while first one is already in progress.
4429 (type-break-time-stamp-format): New variable.
4430 (type-break-time-stamp): New function.
4431 (type-break-time-warning): Use it.
4432 (type-break-keystroke-warning): Use it.
4433 (type-break-noninteractive-query): Use it.
4435 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
4437 Use add-minor-mode to set minor-mode-alist, if available.
4438 (eldoc-echo-area-use-multiline-p): New user option.
4439 (eldoc-echo-area-multiline-supported-p): New variable.
4440 (eldoc-docstring-format-sym-doc): Use them.
4441 (eldoc-mode): If not using idle timers, append to local post and
4442 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
4443 (eldoc-display-message-no-interference-p): Don't interfere with
4445 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
4446 (eldoc-function-arglist): New function.
4447 (eldoc-function-argstring): Use it.
4449 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
4450 auto save directory exists before calling directory-files.
4452 2000-07-23 Dave Love <fx@gnu.org>
4454 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
4457 2000-07-21 Dave Love <fx@gnu.org>
4459 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
4460 now passed to the function. It now works properly.
4462 * smerge-mode.el (smerge-mode-menu): Fill it out.
4464 2000-07-20 Gerd Moellmann <gerd@gnu.org>
4466 * info-look.el (info-lookup): If *info* is shown in another frame
4467 on the same display, select that frame, instead of switching to
4468 the Info buffer in another window of the selected frame.
4470 * simple.el (universal-argument-map): Bind numeric keypad keys
4471 kp-0 to kp-9 and kp-subtract.
4472 (digit-argument): Handle these keys.
4474 2000-07-20 Dave Love <fx@gnu.org>
4476 * net/goto-addr.el (goto-address-fontify): Don't bother with
4477 buffer-modified and read-only stuff -- irrelevant with overlays.
4478 Put an extra property on the overlays and use it to clean up in
4479 case goto-address is re-run.
4481 2000-07-19 Richard M. Stallman <rms@gnu.org>
4483 * timer.el (run-with-idle-timer): Doc fix.
4485 * mail/mail-utils.el (mail-strip-quoted-names):
4486 Handle case where <...> appears inside "...".
4487 Use replace-match to edit the string more simply.
4488 (rmail-dont-reply-to): Cope with an unmatched ".
4490 2000-07-19 Dave Love <fx@gnu.org>
4492 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
4495 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
4496 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
4497 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
4499 2000-07-19 Gerd Moellmann <gerd@gnu.org>
4501 * textmodes/refer.el: Correct maintainer's email address.
4503 * progmodes/hideif.el: Correct author's email address.
4504 Fix typo in comment.
4508 * mail/mailheader.el: Correct author's mail address.
4510 * gnus/parse-time.el: Correct author's mail address.
4512 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
4514 * comint.el (comint-highlight-input, comint-highlight-face):
4516 (comint-input-ring-file-name): Change custom type.
4517 (comint-mode-map): Bind mouse-2.
4518 (comint-insert-clicked-input): New function.
4519 (comint-send-input): Handle input highlighting.
4521 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
4523 * mouse.el (popup-menu): New function.
4524 (mouse-major-mode-menu): Use it.
4526 2000-07-18 Dave Love <fx@gnu.org>
4528 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
4531 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4533 * faces.el (face-font-selection-order)
4534 (face-font-family-alternatives): Add custom type.
4536 2000-07-18 Dave Love <fx@gnu.org>
4538 * cus-edit.el (custom-variable-reset-saved)
4539 (custom-variable-reset-standard): Remove unused bindings.
4541 * rect.el (open-rectangle-line): Remove unused let.
4543 * hl-line.el (hl-line-highlight): Check hl-line-mode.
4545 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4547 * cdl.el: Fix `Maintainer' keyword.
4549 * play/pong.el: Add author's email address.
4551 2000-07-17 Sam Steingold <sds@gnu.org>
4553 * files.el (insert-directory): Call `split-string' instead of
4556 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4558 * mail/vms-pmail.el: Change maintainer to FSF.
4560 * net/goto-addr.el: Change maintainer to FSF.
4562 * recentf.el: Update from author.
4564 * info.el (Info-title-face-alist): Removed.
4566 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
4568 * eshell/eshell.el (eshell): Replace links to eshell.info with
4569 links to eshell, to avoid problems on systems where the manual is
4570 installed as `eshell'.
4571 * eshell/esh-cmd.el (eshell-cmd): Ditto.
4572 * eshell/em-smart.el (eshell-smart): Ditto.
4573 * eshell/em-banner.el (eshell-banner): Ditto.
4574 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
4576 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
4577 same-file check in the MS-DOS version (it does support inodes).
4579 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
4581 * eshell/eshell.el (eshell-directory-name):
4582 Run default directory name through convert-standard-filename.
4584 2000-07-18 Kenichi Handa <handa@etl.go.jp>
4586 * international/mule-cmds.el (select-safe-coding-system):
4587 Fix typo in the comment.
4589 * language/european.el (compound-text):
4590 Force katakana-jisx0201 to be designated to G1.
4592 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
4593 Don't translate some national variant characters of latin-jisx0201.
4594 (x-ctext): Force katakana-jisx0201 to be designated to G1.
4596 * international/kkc.el (kkc-after-update-conversion-functions):
4598 (kkc-update-conversion): Run functions in it at the tail.
4600 2000-07-16 John Wiegley <johnw@gnu.org>
4602 * lisp/align.el (align-newline-and-indent):
4603 Adding new function. for auto-aligning blocks of code on RET.
4604 (align-region): Fixed badly formatted minibuffer message.
4606 2000-07-17 Kenichi Handa <handa@etl.go.jp>
4608 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
4609 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
4610 the conversion list at first if appropriate.
4611 (kkc-next): Don't update kkc-next-count here.
4612 (kkc-prev): Don't update kkc-prev-count here.
4613 (kkc-show-conversion-list-update): Fix setting up of conversion
4616 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
4618 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
4620 2000-07-16 Dave Love <fx@gnu.org>
4622 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
4623 function to be more specific.
4625 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
4626 non-string help-echo.
4627 (widget-types-convert-widget): Defsubst it.
4628 (widget-echo-help): Try to cope with a help-echo function of two
4631 2000-07-15 Jason Rumney <jasonr@gnu.org>
4633 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4634 Declare as obsolete.
4636 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
4638 2000-07-14 Gerd Moellmann <gerd@gnu.org>
4640 * hilit-chg.el: Fix typo.
4642 2000-07-14 Dave Love <fx@gnu.org>
4644 * info.el (Info-mode-menu): Fix use of :help, :enable.
4646 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
4648 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
4650 2000-07-13 Dave Love <fx@gnu.org>
4652 * emacs-lisp/easymenu.el: Doc fixes.
4653 (easy-menu-remove): Defalias to ignore.
4655 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
4656 Call throw correctly.
4658 2000-07-13 Gerd Moellmann <gerd@gnu.org>
4660 * faces.el (frame-background-mode): Doc fix.
4662 * simple.el (eval-expression-print-length): Change custom type to
4663 allow entering nil as value.
4665 2000-07-13 Dave Love <fx@gnu.org>
4667 * progmodes/fortran.el (fortran-imenu-generic-expression):
4668 Change definition layout.
4669 (fortran-mode-menu): Reinstate customize entries.
4671 * cus-edit.el (custom-group-menu-create, customize-menu-create):
4672 Use :filter, per old XEmacs code.
4674 2000-07-12 Gerd Moellmann <gerd@gnu.org>
4676 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
4677 event when deciding what to send to the terminal.
4679 2000-07-12 Dave Love <fx@gnu.org>
4681 * cus-start.el: Add optional version as 4th element of specs and
4682 use it for several things new in v21. Remove load-path. Fix type
4683 of line-number-display-limit.
4685 2000-07-11 Dave Love <fx@gnu.org>
4687 * progmodes/fortran.el: Don't require easymenu.
4688 Use repeat counts in various regexps.
4689 (fortran-mode-syntax-table): Defvar directly.
4690 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
4691 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
4692 Use defvar, not defconst.
4693 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
4694 (fortran-mode): Set fortran-comment-line-start-skip,
4695 fortran-comment-line-start-skip, dabbrev-case-fold-search.
4696 (fortran-comment-indent): Use defsubst.
4697 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
4698 Use fortran-comment-indent, not fortran-comment-indent-function.
4699 (fortran-comment-region, fortran-electric-line-number): Simplify.
4700 (fortran-auto-fill): New function.
4701 (fortran-do-auto-fill): Deleted.
4702 (fortran-find-comment-start-skip):
4703 Check for non-null comment-start-skip.
4704 (fortran-auto-fill-mode, fortran-fill-statement):
4705 Use fortran-auto-fill.
4706 (fortran-fill): Use fortran-auto-fill. Check for null
4707 comment-start-skip. Simplify final clause and use end-of-line finally.
4709 * widget.el (widget-plist-member): New alias.
4711 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
4713 * eshell/esh-module.el (toplevel): Reference
4714 byte-compile-current-file only if it is bound.
4716 2000-07-10 Gerd Moellmann <gerd@gnu.org>
4718 * dired.el: Don't require `dired-aux'.
4720 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
4722 * dired-aux.el (dired-show-file-type): New function.
4723 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
4724 (dired-show-file-type): Add autoload.
4726 2000-07-10 Kenichi Handa <handa@etl.go.jp>
4728 * international/mule-diag.el (describe-font): Adjusted for the
4729 change of fontset-info.
4730 (print-fontset): Likewise.
4732 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
4734 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
4736 2000-07-07 Gerd Moellmann <gerd@gnu.org>
4738 * bindings.el: Bind `[delete]' to delete-char.
4740 * dired.el (dired-find-alternate-file): New function.
4741 (dired-mode-map): Bind `a' to dired-find-alternate-file.
4742 (toplevel): Require dired-aux when compiling.
4743 (dired-buffers): Move defvar within file to avoid compiler warning.
4745 * info.el (Info-last-search): Variable removed.
4746 (Info-search-history): New variable.
4747 (Info-search): New Info-search-history.
4749 * battery.el, info-look.el: Change author's mail address.
4751 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
4753 * mail/rmail.el (rmail-clear-headers): Don't throw an error
4754 if rmail-ignored-headers is nil.
4755 (rmail-retry-failure): Bind rmail-ignored-headers and
4756 rmail-displayed-headers to nil.
4758 2000-07-06 Gerd Moellmann <gerd@gnu.org>
4760 * lpr.el (lpr-page-header-switches): Add `-h' switch.
4761 (print-region-1): Don't hard code `-h' here.
4763 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
4765 2000-07-01 Francesco Potorti` <pot@gnu.org>
4767 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
4768 exim can use "your message" instead of "the message".
4770 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
4772 * facemenu.el: Docstrings fixes.
4773 (facemenu-get-face): Don't use internal-find-face.
4774 (facemenu-iterate): Rename arg to match the docstring.
4776 * newcomment.el (uncomment-region): Be more careful when skipping
4777 backwards over `=' not to bump into BOBP.
4779 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
4781 * ediff-diff.el (ediff-wordify): Use syntax table.
4782 * ediff-init.el (ediff-has-face-support-p): Use
4783 ediff-color-display-p.
4784 (ediff-color-display-p): Use display-color-p, changed to defun
4786 Got rid of special cases for NeXT and OS/2.
4787 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
4790 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4792 * emacs-lisp/lucid.el: Require CL.
4793 (copy-tree, remprop): Remove, it's provided by CL.
4794 (map-keymap): Define in terms of cl-map-keymap.
4795 (extent-property, set-extent-end-glyph): New functions.
4797 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
4799 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4801 * Makefile.in (DONTCOMPILE): Add comment that the name may
4802 not be changed without changing the make-dist script.
4804 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
4805 (cl-mapc): Use mapc instead of cl-old-mapc.
4807 2000-07-05 Andrew Innes <andrewi@gnu.org>
4809 * makefile.nt: Add support for `bootstrap' and related targets.
4811 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
4813 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
4814 (easy-menu-do-define): Use `menu-item' format.
4815 Handle case where easy-menu-create-menu returns a symbol.
4816 Manually call the potential top-level filter in the function binding.
4817 (easy-menu-filter-return): New arg NAME.
4818 Convert to a keymap if MENU is an XEmacs menu.
4819 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
4820 (easy-menu-converted-items-table, easy-menu-convert-item):
4821 New var and fun to memoize easy-menu-convert-item-1.
4822 (easy-menu-do-add-item): Use it.
4823 (easy-menu-create-menu): Use easy-menu-convert-item.
4824 Wrap easy-menu-filter-return around any :filter specification.
4825 Don't convert the menu if a filter was specified.
4826 Tell easy-menu-make-symbol not to check for MENU being an expression.
4827 (easy-menu-make-symbol): New arg NOEXP.
4829 2000-07-05 Gerd Moellmann <gerd@gnu.org>
4831 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
4832 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
4833 (eval-defun): If called with prefix arg, instrument code for
4836 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
4837 similar to that of eval-defun.
4839 2000-07-04 Dave Love <fx@gnu.org>
4841 * hl-line.el (hl-line-overlay): Make it permanent-local.
4843 * calendar/todo-mode.el: Replaced with a working version, based on
4844 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
4846 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
4848 * paths.el (prune-directory-list): New function.
4849 (Info-default-directory-list): Rewritten to more methodically
4850 enumerate a big list of possible info directories (based on the
4851 list used by the standalone info reader).
4853 * info.el (info-initialize): Use prune-directory-list to remove
4854 non-existent directories from Info-directory-list.
4856 * paths.el (Info-default-directory-list): Try a list of possible
4857 info-directories instead of a single one. Add the possible
4858 info directory "/usr/share/info".
4860 * woman.el (woman-man.conf-path): Explicitly include the debian
4861 man-db config file "/etc/manpath.config".
4862 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
4863 are present in `manpath.config'.
4864 (woman-manpath): Include "/usr/share/man".
4866 2000-07-03 Gerd Moellmann <gerd@gnu.org>
4868 * frame.el (blink-cursor-mode): Don't hide cursor initially.
4870 * startup.el (command-line): Initialize blink-cursor based
4873 * frame.el (blink-cursor): Default to nil if not running under
4876 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
4877 (face-x-resources): Remove duplicate entry for :font.
4879 * textmodes/refer.el (refer-find-entry-internal): Use some-window
4880 instead of cycling through windows with next-window.
4882 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
4883 of cycling through windows with next-window.
4885 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
4886 of cycling through windows with next-window.
4888 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
4889 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
4890 instead of cycling through windows with next-window.
4892 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
4893 instead of cycling through windows with next-window.
4895 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
4896 of cycling through windows with next-window.
4898 * terminal.el (te-process-output): Use walk-windows instead of
4899 cycling through windows with next-window.
4901 * server.el (server-switch-buffer): Use some-window instead of
4902 cycling through windows with next-window.
4904 * window.el (some-window): New function.
4905 (walk-windows): Remove reference to walk-windows-start.
4907 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
4909 2000-07-03 Richard Stallman <rms@gnu.org>
4911 * window.el (walk-windows): Guarantee termination by keeping a list
4912 of all the windows already handled.
4914 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4916 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
4919 * man.el (Man-notify-when-ready): Don't use window-system. If
4920 Man-notify-method is newframe, and the display is not
4921 multi-frame, select the frame created for the man page.
4922 (Man-init-defvars): Doc fix.
4924 2000-06-28 Gerd Moellmann <gerd@gnu.org>
4926 * faces.el (region): Change background color for light background.
4928 * ediff-wind.el (ediff-setup-control-frame): Remove :box
4929 attribute from mode-line face of Ediff control frame.
4931 * replace.el (query-replace-map): Bind `e' like `E'.
4933 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
4935 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
4936 Change name to "Select All".
4938 * dos-fns.el (convert-standard-filename): Fix last change.
4940 2000-06-27 Gerd Moellmann <gerd@gnu.org>
4942 * help.el (describe-variable): Don't insert a second `'s' in front
4943 of the string `value is shown below'. Since the syntax-table is
4944 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
4945 an existing `'s', so that this won't be deleted.
4947 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
4948 * pcmpl-unix.el: New files.
4950 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
4952 * wid-edit.el (widget-member): Use the new plist-member.
4954 2000-06-26 Gerd Moellmann <gerd@gnu.org>
4956 * replace.el (perform-replace): Undo change of 2000-04-04.
4957 Instead, move backward 1 character at the end of the loop when
4960 * faces.el (fringe): Change face for different backgrounds.
4962 * eshell/esh-module.el (toplevel): Load defgroup's differently;
4965 * eshell/*.el: Change spelling of the Free Software Foundation.
4967 * eshell/esh-toggle.el: Removed.
4969 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
4971 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
4974 2000-06-26 Alex Schroeder <alex@gnu.org>
4976 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
4977 `define-key'; instead of checking `(emacs-version)' check for
4978 `set-keymap-parent' and `set-keymap-name' directly. Add entries
4979 for `;' and `o' which might be electric.
4981 (sql-electric-stuff): New user option.
4982 (sql-magic-go): New function which uses `sql-electric-stuff'.
4983 (sql-magic-semicolon): New function which uses
4984 `sql-electric-stuff'.
4986 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
4989 (sql-oracle-options): New variable.
4990 (sql-oracle): Use it.
4992 (sql-imenu-generic-expression): Doc change.
4993 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
4996 (sql-informix): Added command line parameter "-" to force
4997 sql-informix-program to use stdout.
4999 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
5001 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
5002 (cp864-decode-table): Doc fix.
5003 (cp720-decode-table): New variable, supports the Arabic OEM
5004 codepage used by Windows.
5005 (cp737-decode-table): New, Greek OEM codepage used by Windows.
5007 2000-06-23 Dave Love <fx@gnu.org>
5009 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
5010 (font-lock-fontify-anchored-keywords): Use
5011 line-beginning-position.
5012 (global-font-lock-mode): Use mapc.
5014 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
5016 * eshell/esh-module.el: Require CL when compiling.
5018 2000-06-23 Gerd Moellmann <gerd@gnu.org>
5020 * comint.el (comint-substitute-in-file-name): Call replace-match
5021 with second and third arg t.
5023 * cus-edit.el (custom-button-face, custom-button-pressed-face):
5024 Specify foreground color.
5026 * faces.el (tool-bar, mode-line, header-line): Specify foreground
5029 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
5031 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
5032 cddr instead of cdddr.
5034 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
5035 instead of copy-list.
5037 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
5040 * subdirs.el: Add eshell subdirectory.
5042 * eshell: New subdirectory containing the Eshell package.
5044 * pcomplete.el: New file.
5046 2000-06-23 Paul Eggert <eggert@twinsun.com>
5048 * mail/mailpost.el (post-mail-send-it): Make sure file has
5049 proper permissions from birth.
5051 * files.el (basic-save-buffer-2): When temporarily setting
5052 file modes, set them to current modes plus 0200, not to 0777.
5054 * emerge.el (emerge-make-temp-file): Make sure file has proper
5055 permissions from birth.
5057 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
5059 * files.el (make-backup-file-name-1): On DOS/Windows, run the
5060 backup file name through convert-standard-filename.
5062 * dos-fns.el (convert-standard-filename): Convert leading
5063 directories as well. When long file names are supported, convert
5064 characters that are invalid in Windows file names.
5066 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5068 * ps-print.el: Fix bug: if ^L is the very first buffer character,
5069 ps-print crashes. New feature: page selection for printing. Create
5070 raw-text-unix coding system for XEmacs. Doc fix.
5071 (ps-print-version): New version number (5.2.3).
5072 (ps-plot-region): Bug fix.
5073 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
5074 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
5075 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
5077 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
5078 (ps-last-page): New vars.
5080 2000-06-21 Gerd Moellmann <gerd@gnu.org>
5082 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
5083 empty option string.
5085 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
5087 * man.el (man): Doc fix.
5089 2000-06-21 Kenichi Handa <handa@etl.go.jp>
5091 * international/mule-cmds.el (set-language-info-alist): Docstring
5094 2000-06-20 Gerd Moellmann <gerd@gnu.org>
5096 * version.el (emacs-version): Use ISO date format.
5098 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
5099 instead of `M-backspace'.
5101 * simple.el (turn-off-auto-fill): New function.
5103 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
5105 * jit-lock.el (with-buffer-prepared-for-jit-lock):
5106 Renamed from with-buffer-prepared-for-font-lock and use
5107 inhibit-modification-hooks rather than setting *-change-functions.
5108 Update all functions to use the new name.
5109 (jit-lock-first-unfontify-pos): New semantics (and doc).
5110 (jit-lock-mode): Make non-interactive.
5111 Don't automatically turn on font-lock.
5112 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
5113 Always use jit-lock-after-change.
5114 Remove and restore font-lock-after-change-function.
5115 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
5116 (jit-lock-after-unfontify-buffer): Remove.
5117 (jit-lock-stealth-fontify):
5118 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
5119 (jit-lock-after-change): Set the `fontified' text-prop to nil.
5121 2000-06-20 Sam Steingold <sds@gnu.org>
5123 * emacs-lisp/cl-indent.el (toplevel): Indent
5124 `print-unreadable-object' properly. Untabify.
5126 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5128 * textmodes/reftex.el (reftex-find-citation-regexp-format):
5129 Support for bibentry.
5130 (reftex-compile-variables): Fixed problem with end of section-re.
5132 * texmodes/reftex-dcr.el (reftex-view-crossref,
5133 reftex-view-crossref-from-bibtex):
5134 Deal with changed `reftex-find-citation-regexp-format'.
5135 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
5136 Replaced `remprop' with `put'.
5137 (reftex-view-crossref, reftex-view-crossref-when-idle):
5138 Support for bibentry.
5140 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
5141 New entry for bibentry package.
5143 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
5144 Regexp also matches "\nobibliography".
5146 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
5147 Call `reftex-ensure-write-access' before doing anything.
5148 (reftex-ensure-write-access): New function.
5150 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5152 * progmodes/idlwave.el: File re-installed (update to version 4.2)
5154 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
5156 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
5158 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
5161 2000-06-20 Dave Love <fx@gnu.org>
5163 * faces.el (frame-background-mode): Use set-default, not set, in
5165 (frame-update-faces, frame-update-face-colors): Define with
5168 * enriched.el (enriched-decode-foreground)
5169 (enriched-decode-background): Don't use internal-find-face.
5171 * apropos.el: Doc fixes.
5173 * cus-edit.el (customize-changed-options): Check arg.
5174 (customize-version-lessp): Don't require decimal point.
5176 * custom.el (defcustom, defgroup): Doc fix.
5178 * newcomment.el (comment) <defgroup>: Add :version.
5179 (comment-multi-line): Doc fix.
5181 * emulation/mlsupport.el (define-hooked-local-abbrev,
5182 define-hooked-global-abbrev): Fix, using define-abbrev.
5184 2000-06-19 Gerd Moellmann <gerd@gnu.org>
5186 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
5189 2000-06-19 Dave Love <fx@gnu.org>
5191 * menu-bar.el (menu-bar-options-save): New function.
5192 (menu-bar-options-menu): Use it.
5193 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
5196 2000-06-19 Andreas Schwab <schwab@suse.de>
5198 * progmodes/etags.el (tags-query-replace): Put new parameters
5199 START and END at the end, for backward compatibility.
5201 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5203 * international/codepage.el:
5204 (cp-coding-system-for-codepage-1): Delete special codes for
5205 generating xxx-dos coding system because now a CCL based coding
5206 system can handle EOL conversion by default.
5208 * international/mule.el (make-coding-system): Generate subsidiary
5209 coding systems for EOL handling variants even for a CCL based
5212 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5214 * international/isearch-x.el (isearch-minibuffer-input-method)
5215 (isearch-minibuffer-input-method-function): These variables
5217 (isearch-with-input-method): Don't use the above variables.
5218 (isearch-process-search-multibyte-characters): Likewise. Call
5219 read-string with the arg INHERIT-INPUT-METHOD t.
5221 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
5223 * font-lock.el (font-lock-after-fontify-buffer)
5224 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
5226 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
5227 Use consistent make-local-variable style for font-lock-fontified.
5228 (jit-lock-fontify-buffer):
5229 Don't bother checking for font-lock-mode and jit-lock-mode.
5231 * time.el: Remove trailing ^M that prevent CVS-merging.
5233 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5235 * Makefile.in (distclean): New target.
5237 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
5239 * Makefile.in (srcdir): Define for update-subdirs.
5241 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5243 * find-lisp.el: New file.
5245 2000-06-16 Andrew Innes <andrewi@gnu.org>
5247 * time.el (display-time-mail-function): New variable, to allow
5248 external packages to indicate when new mail is available.
5249 (display-time-update): Use it.
5251 2000-06-16 Kenichi Handa <handa@etl.go.jp>
5253 * international/mule.el (mule-version): Change version name to
5254 SAKAKI. AOI has already been used by Meadow.
5256 * international/quail.el (quail-show-guidance-buf): To find the
5257 bottom window (but minibuffer), pay attention to the height of
5260 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
5262 * arc-mode.el (archive-mode-map): Use the new menu-item format for
5263 menu-bar menus. Add help strings. Don't remove the Edit menu
5264 from the menu bar, as the menu bar has enough space now.
5266 * Makefile.in (SHELL): Make sure /bin/sh is used.
5268 * woman.el (woman-man-buffer): Fix bold and underlined CJK
5269 characters, which use series of two ^H characters instead of one.
5271 2000-06-15 Gerd Moellmann <gerd@gnu.org>
5273 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
5274 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
5276 (Info-find-node-2): Try a case-sensitive search first, then
5277 do a case-insensitive search.
5279 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
5282 * complete.el (PC-env-vars-alist): New variable.
5283 (PC-complete-as-file-name): New function.
5284 (partial-completion-mode): Initialize PC-env-vars-alist from
5285 process-environment.
5286 (PC-do-completion): Handle completion of env vars.
5288 * info.el (Info-set-mode-line): Show file name in mode line,
5289 use `*Info*' instead of `Info:'.
5291 * startup.el (command-line-1): Change copyright messages to year
5294 2000-06-15 Dave Love <fx@gnu.org>
5296 * net/goto-addr.el (goto-address-fontify): Use keymap property,
5299 2000-06-15 Kenichi Handa <handa@etl.go.jp>
5301 * international/mule.el (set-buffer-file-coding-system): Almost
5302 rewritten to handle `undecided' as no-op.
5304 2000-06-14 Gerd Moellmann <gerd@gnu.org>
5306 * Makefile.in: New file.
5308 * Makefile: Removed.
5310 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
5311 (goto-address-highlight-keymap): Bind C-c RET.
5313 2000-06-14 Kenichi Handa <handa@etl.go.jp>
5315 * mail/sendmail.el (sendmail-send-it): The temporary buffer
5316 inherits buffer-file-coding-system of the current buffer.
5318 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
5319 0. Give correct argument to set-auto-coding-function.
5320 (tar-expunge): For goto-char, use (point-min), not 0.
5321 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
5322 (tar-subfile-save-buffer): Likewize.
5324 * international/mule.el
5325 (after-insert-file-set-buffer-file-coding-system): Call
5326 set-buffer-file-coding-system with the arg FORCE t.
5328 2000-06-13 Gerd Moellmann <gerd@gnu.org>
5330 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
5331 nil. Contemporary sendmails issue an X-Authentication-Warning if
5332 the sender is set with `-f'.
5334 2000-06-13 Dave Love <fx@gnu.org>
5336 * help.el (describe-function-1): Kluge around cases of functions
5337 fset to subrs whose doc doesn't match their symbol-name.
5339 * image.el (insert-image): Default STRING to a space.
5341 * info.el Doc fixes.
5342 (Info-build-node-completions): Match Ref tags.
5344 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
5346 * frame.el (display-multi-frame-p, display-multi-font-p): New
5347 defaliases for display-graphic-p.
5349 * hl-line.el: Fixed a typo in commentary.
5351 2000-06-13 Kenichi Handa <handa@etl.go.jp>
5353 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
5356 2000-06-12 Dave Love <fx@gnu.org>
5358 * image.el (insert-image): Save a little consing.
5360 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5362 * language/tibet-util.el: Convert all tibetan-1-column characters
5363 to the corresponding tibetan characters.
5364 (tibetan-add-components): Delete code for the special treatment of
5367 * language/tibetan.el (tibetan-composable-pattern): Fix previous
5369 (tibetan-vowel-transcription-alist): More rules added.
5370 (tibetan-composite-vowel-alist): New variable.
5371 (tibetan-precomposition-rule-alist): More rules added.
5373 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
5375 * startup.el (command-line): Only call menu-bar-mode if interactive.
5377 * thingatpt.el (toplevel symbol-properties):
5378 * textmodes/makeinfo.el (makeinfo-compile):
5379 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
5380 * progmodes/hideif.el (hif-compress-define-list)
5381 (hide-ifdef-use-define-alist):
5382 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
5383 (ange-ftp-vms-add-file-entry):
5384 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
5385 * man.el (Man-build-man-command):
5386 * mail/rnewspost.el (news-reply-header-hook):
5387 * info.el (Info-insert-dir):
5388 * emulation/mlconvert.el (backward-word, forward-word, setq):
5389 * emacs-lisp/gulp.el (gulp-send-requests):
5390 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
5391 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
5392 (byte-optimize-apply, end of file):
5393 * emacs-lisp/advice.el (ad-advice-class-completion-table)
5394 (ad-make-freeze-definition):
5395 * startup.el (command-line, command-line-1): Don't quote lambdas.
5397 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
5398 (cvs-cleanup-removed): New function.
5399 (cvs-cleanup-functions): New var.
5400 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
5401 some flexibility in specifying additional entries to auto-cleanup.
5402 (cvs-quickdir): New function.
5403 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
5404 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
5405 (cvs-mode-find-file): Check that we are on a filename or dirname
5406 when invoked through a mouse-click.
5407 (cvs-full-path): Remove.
5408 (cvs-dired-action): Re-introduced.
5409 (cvs-dired-noselect): Use it.
5410 (vc-post-command-functions): use this new hook if available.
5412 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
5413 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
5414 (cvs-filename-map, cvs-dirname-map): Remove.
5415 (cvs-default-action): Remove.
5416 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
5417 if the arg is really a keymap.
5418 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
5419 Don't hardcode the mapping from state (aka type) to face, but check
5420 the var cvs-fi-<type>-face instead.
5421 (cvs-fileinfo-from-entries): New function.
5423 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
5425 (cvs-find-file-and-jump): Change default to be safer.
5426 (cvs-mode-diff-map): Define it as a function as well.
5427 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
5428 Bind mouse-2 in this global map rather than with text-properties.
5430 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
5431 file to resolve the ambiguity between C(conflict) and C(need-merge).
5433 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5435 * international/mule.el (set-buffer-file-coding-system): If
5436 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
5439 2000-06-12 Dave Love <fx@gnu.org>
5441 * wid-edit.el (widget-specify-button): Really suppress the face if
5444 2000-06-11 Gerd Moellmann <gerd@gnu.org>
5446 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
5448 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
5450 * imenu.el (imenu-generic-expression): Docstring fix.
5452 * composite.el (composition-function-table): Move the `put'
5453 below the autoload cookie so we can load the file before loaddefs.
5455 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
5457 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
5458 Handle easy-mmode-define-global-mode.
5459 For complex macros like define-minor-mode that can generate
5460 several autoload entries, try to autoload entries in the
5463 * emacs-lisp/easy-mmode.el (define-minor-mode):
5464 If KEYMAP is a symbol, just use it.
5465 Use byte-compile-current-file and load-file-name to infer the
5466 proper :require to pass to defcustom.
5467 Wrap the hook var into `progn' so as not to autoload it.
5468 Add a :autoload-end cookie.
5469 Be more careful about the evaluation of KEYMAP.
5470 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
5471 (define-derived-mode): Move define-abbrev-table outside of defvar.
5473 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
5475 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
5476 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
5477 (backup-compiled-files): Ignore errors during `tar'.
5478 (bootstrap): Make autoloads before elc files.
5480 2000-06-10 Kenichi Handa <handa@etl.go.jp>
5482 * international/mule.el (set-buffer-file-coding-system): If one of
5483 undecided-XXX is specified, change only EOL conversion.
5485 * international/mule-conf.el (unix): New alias for the coding
5486 system undecided-unix.
5488 2000-06-09 Dave Love <fx@gnu.org>
5490 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
5492 * progmodes/executable.el: Byte compile dynamic.
5493 (executable-insert): Change custom type.
5494 (executable-find): Add autoload cookie.
5495 (executable-make-buffer-file-executable-if-script-p): New
5496 function. After Noah Friedman.
5498 * files.el (after-save-hook): Customize, with
5499 executable-make-buffer-file-executable-if-script-p as an option.
5501 2000-06-09 Kenichi Handa <handa@etl.go.jp>
5503 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
5504 "tib24p-mule.bdf" for Tibetan.
5506 * composite.el (decompose-composite-char): Declare it as obsolete.
5508 * man.el (Man-fontify-manpage): Pay attention to underline and
5509 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
5511 2000-06-08 Gerd Moellmann <gerd@gnu.org>
5513 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
5514 Set maintainer to FSF since author isn't reachable.
5516 2000-06-08 Dave Love <fx@gnu.org>
5518 * international/mule-cmds.el (select-safe-coding-system): If
5519 DEFAULT-CODING-SYSTEM is not specified, also check the most
5520 preferred coding-system if buffer-file-coding-system is
5521 `undecided'. From Handa.
5523 2000-06-08 Kenichi Handa <handa@etl.go.jp>
5525 * international/mule.el
5526 (after-insert-file-set-buffer-file-coding-system): If the buffer
5527 size is greater than INSERTED, judget that we are not visiting.
5529 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
5531 * whitespace.el (defgroup whitespace): Comment out `:version'.
5532 XEmacs 20.4 has problems defining the group with this present.
5533 We'll have this commented out till get resolve the problem.
5535 2000-06-07 Gerd Moellmann <gerd@gnu.org>
5537 * align.el: Update from author.
5539 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
5541 * apropos.el (apropos-mode-hook): New user variable.
5542 (apropos-mode): Run apropos-mode-hook.
5544 2000-06-07 David Ponce <david@dponce.com>
5546 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
5547 commands. Require `wid-edit' at run-time.
5549 2000-06-07 David Ponce <david@dponce.com>
5551 * recentf.el: Added some "Commentary".
5552 (recentf-open-more-files, recentf-edit-list): Minor changes to
5553 move the point at the top of the file list. This behaviour is
5554 consistent with the menu one when the list contains a lot of
5556 (recentf-cleanup): Now displays the number of items removed from
5558 (recentf-relative-filter) New menu filter to show filenames
5559 relative to `default-directory'.
5561 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5563 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
5564 with/without giving an error if PostScript printer doesn't have this
5565 kind of page size. Zebra Stripe continues or restarts on next page.
5566 Manual/automatic paper feeding. Switch or not the header.
5567 (ps-print-version): New version number (5.2.2).
5568 (ps-windows-system): Include emx as a Windows system.
5569 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
5570 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
5571 (ps-background-text): Code fix.
5572 (ps-error-handler-message, ps-user-defined-prologue)
5573 (ps-print-prologue-header, ps-printer-name)
5574 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
5575 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
5576 (ps-use-face-background): Customization fix.
5577 (ps-n-up-database): Data fix.
5578 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
5579 (ps-switch-header): New vars.
5580 (ps-xemacs-color-name, ps-face-foreground-name)
5581 (ps-face-background-name, ps-boolean-constant): New funs.
5583 2000-06-07 Dave Love <fx@gnu.org>
5585 * allout.el: New version from Manheimer.
5587 2000-06-07 Kenichi Handa <handa@etl.go.jp>
5589 * textmodes/fill.el (fill-find-break-point): Check the validity of
5592 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5594 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
5595 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
5596 Call display-color-p and display-mouse-p instead of looking at
5599 2000-06-06 Dave Love <fx@gnu.org>
5601 * image.el (find-image): Doc fix. Return nil if image not found.
5602 (put-image, insert-image): Make STRING arg optional.
5604 2000-06-06 Kenichi Handa <handa@etl.go.jp>
5606 * language/vietnamese.el: Remove eval-when-compile.
5607 (viet-viscii-nonascii-translation-table): Define it as a
5608 translation table made from viet-viscii-decode-table.
5609 (viet-viscii-encode-table): Define it as a translation table made
5610 from the reverse map of above.
5611 (viet-vscii-nonascii-translation-table): Define it as a
5612 translation table made from viet-vscii-decode-table.
5613 (viet-vscii-encode-table): Define it as a translation table made
5614 from the reverse map of above.
5615 (ccl-decode-viscii): Use translate-character.
5616 (ccl-encode-viscii, ccl-encode-viscii-font)
5617 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
5620 * language/cyrillic.el: Remove eval-when-compile.
5621 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
5622 translation table made from cyrillic-koi8-r-decode-table.
5623 (cyrillic-koi8-r-encode-table): Define it as a translation table
5624 made from the reverse map of above.
5625 (ccl-decode-koi8): Use translate-character.
5626 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
5627 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
5628 a translation table made from cyrillic-alternativnyj-decode-table.
5629 (cyrillic-alternativnyj-encode-table): Define it as a translation
5630 table made from the reverse map of above.
5631 (ccl-decode-alternativnyj): Use translate-character.
5632 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
5635 * international/mule-diag.el (non-iso-charset-alist): Specify
5636 translation table symbol instead of translation table itself.
5637 (list-block-of-chars): CHARSET may be a translation table symbol.
5639 * international/mule.el (make-coding-system): If CODING-SYSTEM
5640 already exists, override it.
5642 * international/fontset.el: Use family `proportional' for Tibetan
5645 * international/ccl.el (ccl-compile-translate-character): Don't
5646 check if Rrr has property translation-table.
5647 (ccl-compile-map-multiple): Modified to avoid compiler warning.
5649 2000-06-05 Gerd Moellmann <gerd@gnu.org>
5651 * info.el: Bind case-fold-search to t when searching in case
5652 a user sets it to nil in a hook.
5654 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
5656 * autoarg.el (autoarg-mode, autoarg-kp-mode):
5657 * hl-line.el (hl-line-mode): Use the new :global key argument.
5659 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
5660 (tar-clip-time-string): Prepend a space.
5661 (tar-grind-file-mode): Construct a string rather than modifying one.
5662 (tar-header-block-summarize): Fix docstring.
5663 Use `format' rather than an error-prone set of copy-loops.
5665 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
5666 (diff-goto-source, diff-unified->context, diff-context->unified)
5667 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
5668 understand the format output by the `-p' argument to diff.
5670 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
5671 (sh-re-done): Use defconst.
5672 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
5673 (sh-help-string-for-variable, sh-guess-basic-offset):
5674 Don't quote lambdas.
5675 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
5676 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
5678 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
5679 (mh-letter-mode): Derive from text-mode.
5680 This implicitly means that it now calls kill-all-local-variables.
5681 Also remove the Emacs-18 compatibility code.
5683 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
5684 Make use of symbol-property doc-string-elt.
5685 Use memq rather than a sequence of eq.
5686 (doc-string-elt): Fix the wrong or missing previously unused values.
5687 (autoload-print-form): New function extracted from
5688 generate-file-autoloads to allow recursion when handling progn
5689 so that defvar's and defun's docstrings are properly printed.
5690 (generate-file-autoloads): Use it.
5692 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
5693 Use find-file-hooks in the minor-mode function.
5694 Be careful not to loop indefinitely in the post-command-hook function.
5696 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
5698 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
5700 * ediff-diff.el (ediff-exec-process): Use --binary for fine
5701 differences whenever appropriate.
5702 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
5703 * viper.el (find-file, find-file-other-window): Get viper to do
5706 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
5708 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
5709 (jit-lock-fontify-buffer): New function for JIT refontification.
5710 (jit-lock-mode): Fix docstring.
5711 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
5712 Remove jit-lock-after-change from the _local_ hook.
5713 (jit-lock-function-1): Fix docstring.
5715 * info.el (Info-on-current-buffer): Initialize info.
5717 * newcomment.el (comment-indent): Ignore comment-indent-hook.
5719 * progmodes/tcl.el (tcl-indent-for-comment):
5720 Ignore comment-indent-hook.
5722 * emacs-lisp/easy-mmode.el: Require CL during compilation.
5723 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
5724 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
5725 and improve to use the lighter to guess the capitalization.
5726 (define-minor-mode): Inline code from easy-mmode-define-toggle.
5727 Add keyword arguments to specify global-ness or the custom group.
5728 Add local-map and help-echo properties to the lighter.
5729 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
5730 (easy-mmode-define-global-mode): New macro.
5732 2000-06-02 Dave Love <fx@gnu.org>
5734 * wid-edit.el: byte-compile-dynamic since we typically don't use
5735 all the widgets. Don't require cl or widget. Remove
5736 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
5737 (widget-read-event): Removed. Callers changed to use read-event.
5738 (widget-button-release-event-p): Renamed from
5739 button-release-event-p.
5740 (widget-field-add-space, widget-field-use-before-change):
5742 (widget-specify-field): Use keymap property, not local-map.
5743 (widget-specify-button): Obey :suppress-face.
5744 (widget-specify-insert): Use modern backquote syntax.
5745 (widget-image-directory): Renamed from widget-glyph-directory.
5746 (widget-image-enable): Renamed from widget-glyph-enable.
5747 (widget-image-find): Replaces widget-glyph-find.
5748 (widget-button-pressed-face): Move defvar.
5749 (widget-image-insert): Replaces widget-glyph-insert.
5750 (widget-convert): Use keywordp.
5751 (widget-leave-text, widget-children-value-delete): Use mapc.
5752 (widget-keymap): Remove XEmacs stuff.
5753 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
5754 (widget-button-click): Don't set point at the click, but re-centre
5755 if we scroll out of window. Rewritten for images v. glyphs &c.
5756 (widget-tabable-at): Use POS arg, not point.
5757 (widget-beginning-of-line, widget-end-of-line)
5758 (widget-item-value-create, widget-sublist, widget-princ-to-string)
5759 (widget-sexp-prompt-value, widget-echo-help): Simplify.
5760 (widget-default-create): Use widget-image-insert; some rewriting.
5761 (widget-visibility-value-create)
5762 (widget-push-button-value-create, widget-toggle-value-create): Use
5763 widget-image-insert.
5764 (checkbox): Create on and off images dynamically.
5765 (documentation-link): Change :help-echo.
5766 (widget-documentation-link-echo-help): Remove.
5768 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
5770 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
5772 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
5773 (easy-mmode-define-toggle, define-minor-mode): Use it.
5774 (easy-mmode-define-keymap): Docstring fix.
5775 (define-derived-mode): Default PARENT to fundamental-mode.
5776 Add the derived-mode-parent symbol-property.
5777 (easy-mmode-derived-mode-p): New function.
5779 2000-06-02 Dave Love <fx@gnu.org>
5781 * files.el (convert-standard-filename): Doc fix.
5782 (normal-backup-enable-predicate): New function.
5783 (backup-enable-predicate): Use it to replace the lambda form.
5785 * calendar/todo-mode.el: [This needs more work on the outline
5787 (todo) <defgroup>: Add :version.
5788 (todo-add-category): Don't use pushnew.
5789 (todo-cmd-raise): Fix typo.
5790 (todo-top-priorities): Change temp buffer name.
5791 (todo-category-alist): Avoid redundant lambda.
5792 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
5793 Use outline-next-heading.
5795 * autoarg.el: Rewritten to use define-minor-mode.
5796 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
5797 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
5799 2000-06-02 Kenichi Handa <handa@etl.go.jp>
5801 * isearch.el (isearch-other-meta-char): Fix previous change.
5803 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5805 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
5806 (log-edit-done): Only add the comment to the ring if it's different
5807 from the last comment entered.
5809 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
5811 2000-06-01 Dave Love <fx@gnu.org>
5813 * hl-line.el: Rewritten using define-minor-mode.
5815 * help.el (describe-function-1): Distinguish special form from
5816 builtin function. Sanity-check presence of arglist for builtins.
5818 2000-06-01 Kenichi Handa <handa@etl.go.jp>
5820 * international/characters.el: Fix syntax/category setting of
5823 * language/tibet-util.el (tibetan-add-components): Fixes for new
5824 encoding of Tibetan characters.
5825 (tibetan-decompose-precomposition-alist): New variable.
5826 (tibetan-decompose-region): Convert precomposed characters to
5827 non-precomposed characters.
5828 (tibetan-decompose-string): Likewise.
5829 (tibetan-composition-function): Fix args to
5830 thibetan-compose-string.
5832 * language/tibetan.el (tibetan-composable-pattern): More
5833 characters included.
5834 (tibetan-consonant-transcription-alist): Rule for "R" added.
5835 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
5837 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
5839 * language/lao-util.el (lao-composition-function): Fix args to
5842 * language/thai-util.el (thai-composition-function): Fix args to
5845 * isearch.el (isearch-update): Set disable-point-adjustment to t
5846 to prevent the point moving to the end of a composition when a
5847 part of a composition is searched.
5848 (isearch-other-meta-char): If the key invoking this command can be
5849 mapped by function-key-map to a printing char, call
5850 isearch-process-search-char directly.
5852 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
5854 * emacs-lisp/bytecomp.el:
5856 * international/mule-cmds.el:
5857 * international/mule-util.el:
5858 * international/mule.el:
5861 * faces.el: Update calls to make-obsolete with a WHEN argument.
5863 * byte-run.el (make-obsolete, make-obsolete-variable):
5864 Add an optional WHEN argument and change the format of the
5865 symbol-property information.
5866 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
5867 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
5868 new obsolete-symbol-property format and print WHEN if it is provided.
5870 2000-05-31 Dave Love <fx@gnu.org>
5872 * loadhist.el (loadhist-hook-functions): Remove
5873 before-change-function, after-change-function.
5874 (unload-feature): Deal with symbols which are both bound and
5877 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
5878 before-change-function, after-change-function.
5880 * simple.el (newline): Don't bind before-change-function,
5881 after-change-function.
5883 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
5885 * whitespace.el (whitespace-rescan-timer-time): Update interval
5886 set to 600 seconds (10 minutes) instead of 60 seconds since
5887 a large number of whitespace buffers causes emacs to `freeze'
5888 for a considerable amount of time.
5890 * whitespace.el: Updated email address
5892 2000-05-31 Dave Love <fx@gnu.org>
5894 * add-log.el (change-log-font-lock-keywords) <function>: Add
5895 pattern for function of change.
5896 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
5897 acknowledgements patterns.
5899 2000-05-31 Kenichi Handa <handa@etl.go.jp>
5901 * isearch.el (isearch-printing-char): If keyboard coding system is
5902 being used, call isearch-process-search-multibyte-characters.
5904 * international/isearch-x.el: Mostly rewritten.
5906 * international/quail.el (quail-start-conversion): Don't include
5907 unhandled events in the returned events, but set them in
5908 unread-command-events. Exit if all inputs are deleted.
5910 2000-05-30 Jason Rumney <jasonr@gnu.org>
5912 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
5914 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
5915 Reenable code to create initial fontsets.
5916 Use set-fontset-font in place of put-charset-property.
5918 2000-05-30 Gerd Moellmann <gerd@gnu.org>
5920 * progmodes/perl-mode.el (perl-indent-line): When looking for a
5921 label, ensure that the first colon isn't followed by another.
5923 * paths.el (Info-default-directory-list): Doc fix.
5925 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
5926 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
5927 send a query containing USER only, not USER@HOST.
5929 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
5930 and rmail-msgend to compute the restriction at the end, instead of
5933 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5935 * dabbrev.el (dabbrev-expand): Don't display messages in the
5936 echo area if the minibuffer window is active.
5938 * jit-lock.el (jit-lock-mode): Add after change function to
5941 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
5943 * antlr-mode.el: New commands: hide/unhide actions,
5944 upcase/downcase literals.
5945 (antlr-tiny-action-length): New user option.
5946 (antlr-hide-actions): New command. Suggested by
5947 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
5948 (antlr-mode-map): New binding [C-c C-v].
5949 (antlr-mode-menu): New entries.
5950 (antlr-downcase-literals): New command.
5951 (antlr-upcase-literals): Ditto.
5953 * antlr-mode.el: Minor changes: indendation, mode-name.
5954 (antlr-indent-line): Indent cpp directive at column 0.
5955 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
5957 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
5958 (antlr-font-lock-additional-keywords): Workaround for intentional
5959 bug in XEmacs version of font-lock.
5960 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
5961 be used by a smarter version of `buffers-menu-grouping-function'.
5963 2000-05-29 Gerd Moellmann <gerd@gnu.org>
5965 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
5966 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
5968 2000-05-29 Kenichi Handa <handa@etl.go.jp>
5970 * international/encoded-kb.el
5971 (encoded-kbd-iso2022-designation-map): Pay attention to that
5972 charset-iso-final-char return -1 for eight-bit-control and
5975 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
5977 * speedbar.el (speedbar-use-images, speedbar-update-flag)
5978 (speedbar-easymenu-definition-base): Use display-graphic-p where
5979 available, instead of window-system.
5981 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
5983 * international/codepage.el (cp-coding-system-for-codepage-1): Add
5984 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
5987 2000-05-26 Dave Love <fx@gnu.org>
5989 * disp-table.el (standard-display-underline): Don't use
5992 * mail/reporter.el: Maintainer change. Doc fixes.
5993 (reporter-version): Deleted.
5995 * emacs-lisp/elp.el: Maintainer change.
5996 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
5998 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
6000 * add-log.el (add-change-log-entry): Merge the current entry with the
6001 previous one if the previous one is empty.
6003 2000-05-26 Dave Love <fx@gnu.org>
6005 * loadhist.el (unload-feature): Fix interactive spec [from
6006 lijnzaad@ebi.ac.uk].
6008 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
6009 subr-arity to check primitives.
6010 (byte-compile-flush-pending, byte-compile-file-form-progn)
6011 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
6012 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
6015 2000-05-26 Kenichi Handa <handa@etl.go.jp>
6017 * international/fontset.el: Set family names of non-latin charsets
6018 in default fontset to "*".
6020 * international/mule-diag.el (print-fontset): Combine family part
6021 and registry part of the fontname by "-*-" instead of "-".
6023 * international/mule-cmds.el (encode-coding-char): Make strings
6024 multibyte before calling encode-coding-string.
6026 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
6028 * derived.el: Fix keywords.
6029 (define-derived-mode): Only define if needed.
6031 * simple.el (fill-comment, comment-column, comment-start)
6032 (comment-start-skip, comment-end, comment-indent-function)
6033 (block-comment-start, block-comment-end, indent-for-comment)
6034 (set-comment-column, kill-comment, comment-padding, comment-region)
6035 (comment-multi-line, indent-new-comment-line): Remove.
6037 * bindings.el (esc-map): Change ; to comment-dwim and use the new
6038 function names for comment operations.
6040 * newcomment.el: Add abundant autoload cookies.
6041 (comment-style): Don't depend on runtime data at compile-time.
6042 (comment-indent-hook): Remove.
6043 (comment-indent): Check if comment-indent-hook is bound.
6044 (comment-region): Docstring fix.
6046 2000-05-25 Dave Love <fx@gnu.org>
6048 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
6049 byte-code-function-p.
6051 * mail/rmailsum.el: Add provide.
6053 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
6055 * smerge-mode.el (smerge-diff-switches): Don't use list* in
6058 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
6060 * ediff-diff.el (ediff-exec-process): delete --binary option from
6061 non-buffer ediff jobs.
6063 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6065 * hilit-chg.el (highlight-changes-mode): Ask about color or
6066 grayscale support, not about window-system.
6068 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
6070 (ffap-highlight): Always default to t.
6072 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
6073 display-popup-menus-p instead of looking at window-system.
6075 * disp-table.el (standard-display-g1, standard-display-graphic):
6076 Only refuse to use string glyphs on X and MS-Windows.
6078 * avoid.el: Remove window-system from commentary, suggest to use
6079 display-*-p instead.
6081 * apropos.el (apropos-print): Use display-mouse-p instead of
6084 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6086 * international/codepage.el (cp-decoding-vector-for-codepage):
6087 Fill up unsupported characters with their own codes. From Kenichi
6090 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6092 * international/mule-diag.el (describe-char-after): Use
6093 display-graphic-p instead of window-system, so that this function
6096 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6098 * international/codepage.el (cp-make-coding-systems-for-codepage):
6099 Remove the eight-bit-graphic and eight-bit-control charsets from
6100 the list of charsets which we convert into `?'.
6102 2000-05-25 Kenichi Handa <handa@etl.go.jp>
6104 * international/mule-conf.el: Specify CHARSET-ID explicitely for
6106 (mule-unicode-0100-24ff, japanese-jisx0213-1,
6107 japanese-jisx0213-2): New charsets.
6109 * international/fontset.el: Setup default fontset for new charsets.
6111 2000-05-24 Dave Love <fx@gnu.org>
6113 * info.el (Info-find-node-2): Restructure [following "Vadim
6114 S. Solomin" <sovs@uic.nnov.ru>].
6116 * icomplete.el: Fix header for Finder.
6118 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
6120 * rmailout.el (rmail-output-to-rmail-file): Added optional param
6123 * rmail.el (rmail-automatic-folder-directives): New user variable.
6124 (rmail-show-message): Add call to `rmail-auto-file' during
6126 (rmail-auto-file): New function.
6128 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6130 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
6132 (ediff-test-utility,ediff-diff-mandatory-option)
6133 (ediff-reset-diff-options): Utilities for proper initialization of
6134 ediff-diff-options and ediff-diff3-options on Windows.
6136 * ediff-init.el (ediff-merge-filename-prefix): New customizable
6139 * ediff-mult.el (ediff-filegroup-action): Use
6140 ediff-merge-filename-prefix.
6142 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6144 * viper-ex.el (ex-write): Set selective display to nil.
6146 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6148 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
6149 aliases for hebrew-iso-8bit.
6151 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6153 * woman.el: New version from Francis J. Wright
6154 <F.J.Wright@Maths.QMW.ac.uk>.
6155 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
6156 names in environment variables regardless of the path separator.
6157 (woman-topic-all-completions-1): Don't call file-name-directory-p
6158 on all files, since woman-file-regexp already filters out any
6161 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6163 * international/quail.el (quail-start-translation): Don't change
6164 modified-p of the current buffer.
6165 (quail-start-conversion): Likewise.
6167 * international/kkc.el (kkc-region): Don't change modified-p of
6170 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
6172 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
6174 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
6176 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
6177 (speedbar-insert-button): Invisible text property fix.
6178 (speedbar-directory-plus): Renamed from speedbar-directory-+
6179 (speedbar-directory-minus): Renamed from speedbar-directory--
6180 (speedbar-page-plus): Renamed from speedbar-file-+
6181 (speedbar-page-minus): Renamed from speedbar-file--
6182 (speedbar-page): Renamed from speedbar-file-
6183 (speedbar-tag): Renamed from speedbar-tag-
6184 (speedbar-tag-plus): Renamed from speedbar-tag-+
6185 (speedbar-tag-minus): Renamed from speedbar-tag--
6186 (speedbar-expand-image-button-alist): Use above renames.
6188 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
6189 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
6190 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
6191 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
6192 * sb-pg.xpm: Renamed from sb-file.xpm
6193 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
6194 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
6196 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6198 * international/quail.el (quail-show-guidance-buf): Set
6199 current-input-method of the guidance buffer to the name of the
6200 curren input method.
6202 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
6204 * progmodes/compile.el (compile-internal): Style typo.
6206 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
6207 quote vars and functions in the docstring.
6209 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
6211 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
6212 Don't quote lambdas.
6214 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
6216 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6218 * startup.el (command-line): Determine source file of compiled
6219 user init file differently. Warn if compiled user init file
6220 is older than its source file.
6222 * ffap.el (ffap-url-regexp): Add `https'.
6224 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
6226 * files.el (make-backup-file-name-1): Replace slashes with `!'
6227 rather than `|' (which is not allowed on Windows). Replace the
6228 drive letters with a string "drive_X".
6230 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6232 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
6234 * files.el (interpreter-mode-alist): Add `bash2'.
6236 2000-05-22 Dave Love <fx@gnu.org>
6238 * loadhist.el (feature-symbols, file-provides, file-requires): Use
6240 (feature-file): Avoid calling symbol-name. Doc fix.
6241 (file-set-intersect, file-dependents): Use dolist, not mapcar.
6242 (loadhist-hook-functions): Add mouse-position-function.
6243 (unload-feature): Change uses of mapcar.
6245 * files.el (parse-colon-path): Doc fix.
6246 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
6247 (set-auto-mode): Use mapc.
6249 * complete.el (PC-look-for-include-file): Use :alnum: character
6251 (partial-completion-mode): Add autoload cookie.
6253 2000-05-22 Sam Steingold <sds@gnu.org>
6255 * info.el (Info-fontify-node): Fixed the call to
6256 `add-text-properties' (bug introduced on 2000-05-18).
6258 2000-05-22 Dave Love <fx@gnu.org>
6260 * bindings.el: Remove debug-ignored-errors set in other files.
6262 * progmodes/etags.el: Add to debug-ignored-errors.
6263 (visit-tags-table-buffer): Clear out buffers holding old tables
6264 when making a new list.
6265 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
6268 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
6270 (cmpl-string-case-type): Use character classes.
6273 * textmodes/ispell.el:
6276 * progmodes/compile.el: Add to debug-ignored-errors.
6278 * dabbrev.el: Add to debug-ignored-errors.
6279 (dabbrev-completion): Use mapc.
6281 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
6283 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
6284 (woman-mapcan, woman-parse-man.conf)
6285 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
6286 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
6287 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
6289 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
6290 (woman-manpath): Call woman-parse-man.conf.
6291 (woman-emulation): New defcustom, defaults to nroff.
6292 (woman-font-support): New defconst.
6293 (woman-use-symbol-font): New defcustom.
6294 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
6296 Many functions: Doc fix.
6298 2000-05-22 Kenichi Handa <handa@etl.go.jp>
6300 * international/quail.el (quail-simple-translation-keymap): Map
6301 128..255 to quail-self-insert-command.
6302 (quail-keyboard-layout-alist): Add definition for "pc102-de".
6304 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
6306 * help.el (help-manyarg-func-alist): Typo.
6308 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
6309 intervals which makes it heaps simpler.
6311 * newcomment.el (comment-region-internal): Go back to BEG after quoting
6312 the nested comment markers.
6314 * subr.el (remove-hook): Don't turn the hook's value into a list.
6316 2000-05-21 Dave Love <fx@gnu.org>
6318 * edmacro.el (edmacro-parse-keys): Return vector if any elements
6319 are invalid characters.
6321 * international/mule-util.el (detect-coding-with-priority): Use
6322 mapc. Remove redundant lambda.
6324 * international/mule-diag.el (list-non-iso-charset-chars)
6325 (describe-fontset): Remove redundant lambda.
6327 * emulation/crisp.el (brief-mode): New alias.
6329 * emacs-lisp/ring.el (ring-elements): New function.
6331 * emacs-lisp/easymenu.el (easy-menu-create-menu)
6332 (easy-menu-do-add-item): Use keywordp.
6334 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
6336 * replace.el: Doc and error message fixes.
6337 (replace-highlight): Use facep, not internal-find-face.
6339 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
6341 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
6343 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
6344 (log-edit-insert-changelog): Drop `:' as well.
6346 * log-view.el: Fix file description.
6347 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
6349 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
6350 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
6352 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
6353 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
6354 Print a status message if the toggle is called interactively.
6355 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
6356 for global minor modes and use `defcustom' for them.
6358 (easy-mmode-define-derived-mode): Remove.
6359 (define-derived-mode): Fancier default docstring.
6360 (easy-mmode-define-navigation): Signal an error rather than (ding).
6362 * newcomment.el (comment-styles): New `box-multi'.
6363 (comment-normalize-vars): Better default for comment-continue to
6364 avoid whitespace-only continuations.
6365 (comment-search-forward): Always move even in the no-syntax case.
6366 (comment-padright): Only obey N if it's only obeyed for padleft.
6367 (comment-make-extra-lines): Better handling of empty continuations.
6368 Use `=' for the filler if comment-start has only one character.
6369 (uncomment-region): Try handling the special `=' filler.
6370 (comment-region): Allow LINES even if MULTI is nil.
6371 (comment-box): Choose box style based on comment-style.
6373 2000-05-20 Kenichi Handa <handa@etl.go.jp>
6375 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
6376 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
6378 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
6380 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
6381 and insert, not subst-char-in-region.
6383 * international/mule-diag.el (list-character-sets-1): Handle
6384 charsets eight-bit-control and eight-bit-graphic.
6385 (list-iso-charset-chars): Likewise.
6386 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
6387 charactes as is. Use indent-to to align characters.
6389 * international/mule-cmds.el (find-multibyte-characters): Never
6390 exclude charsets eight-bit-control and eight-bit-graphic.
6392 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6394 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
6395 Don't quote lambdas.
6397 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
6399 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6401 * gud.el (gud-jdb-directories): Doc fix.
6403 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6405 * newcomment.el: New file.
6407 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6409 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
6411 2000-05-18 Andreas Schwab <schwab@suse.de>
6413 * dired.el (dired-between-files): Also skip lines beginning with
6416 2000-05-18 Gerd Moellmann <gerd@gnu.org>
6418 * msb.el (msb-menu-cond): Add choice `user'.
6420 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6422 * ps-print.el: Compatibility, customization and doc fix.
6423 (ps-printer-name-option): Replace defconst by defvar.
6424 (ps-postscript-code-directory): XEmacs compatibility.
6425 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
6427 (ps-user-defined-prologue, ps-print-prologue-header)
6428 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
6429 compatibility and code fix.
6430 (ps-print-background-image, ps-print-background-text):
6432 (ps-line-number-start, ps-n-up-on): New vars.
6434 2000-05-18 Espen Skoglund <esk@ira.uka.de>
6436 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
6437 the indent-comment function to just return the appropriate indent.
6439 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
6441 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
6442 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
6443 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
6445 2000-05-18 Dave Love <fx@gnu.org>
6447 * info.el (Info-fontify-node): Add intangible property as well as
6450 * calendar/appt.el (appt-make-list): Match all lines of entry.
6451 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
6453 2000-05-18 Kenichi Handa <handa@etl.go.jp>
6455 * international/mule-diag.el (describe-char-after): Call
6456 internal-char-font, not char-font. If internal-char-font returns
6457 nil, display "-- none --".
6459 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6461 * image.el (image-type-available-p): Don't reference image-types
6464 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
6466 * autoarg.el (autoarg-mode): Typo in the :set argument.
6468 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6470 * startup.el (command-line-1): Don't signal an error if the
6471 directory for auto-save-list files does not yet exist.
6473 2000-05-17 Kenichi Handa <handa@etl.go.jp>
6475 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
6477 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
6479 * subr.el (remove-hook): `setq' hook-value, not `set'.
6481 2000-05-16 Sam Steingold <sds@gnu.org>
6483 * info.el (debug-ignored-errors): More errors to ignore.
6485 2000-05-16 Dave Love <fx@gnu.org>
6487 * cus-edit.el: Don't require cl or easymenu.
6488 (custom-variable-prompt): Test standard-value property, not
6491 2000-05-16 Sam Steingold <sds@gnu.org>
6493 * subr.el (add-hook): `setq' hook-value, not `set'.
6495 2000-05-16 Gerd Moellmann <gerd@gnu.org>
6497 * startup.el (command-line-1): Mention the FAQ in the startup
6500 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
6502 * progmodes/compile.el (compilation-parse-errors): Collect
6503 `nomessage' regexps last.
6505 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
6507 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
6508 to the function name.
6510 2000-05-15 Dave Love <fx@gnu.org>
6512 * speedbar.el (speedbar-recenter): Typo.
6513 (speedbar-expand-line): Make arg optional.
6514 (speedbar-mode): Avoid a compiler warning.
6516 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6518 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
6519 user-specified option string is empty.
6521 * mouse.el (mouse-yank-at-click): Doc fix.
6523 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
6525 * term/internal.el (IT-character-translations): More updates of
6526 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
6529 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6531 * env.el (getenv): New function, interactively callable.
6532 (setenv, getenv): Remove autoload cookies.
6534 * loadup.el: Load `env'.
6536 * progmodes/f90.el: Change author's mail address.
6538 2000-05-14 Dave Love <fx@gnu.org>
6540 * mail/rmail.el (rmail-show-message-hook): Customize and offer
6541 goto-addr as an option.
6543 * help.el (help-xref-stack): Doc fix.
6544 (help-xref-following): New variable.
6545 (help-make-xrefs): Use it.
6546 (help-xref-go-back): Use position information from stack element.
6547 (help-follow): Make position in stack element a pair. Use
6548 help-xref-following.
6550 * autoarg.el: New file.
6552 * faces.el: Declare more functions obsolete.
6554 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
6555 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
6556 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
6557 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
6558 Remove all the setup-...-environment functions.
6560 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
6562 * speedbar.el: Updated the commentary section. xemacs20p now uses
6563 >= when detecting. Require `defimage' safely.
6564 (speedbar-easymenu-definition-base): Add toggle for images.
6565 (speedbar-easymenu-definition-special): Add flush cache & expand.
6566 (speedbar-visiting-tag-hook): Set new defaults. Added options.
6567 (speedbar-reconfigure-keymaps-hook): New variable.
6568 (speedbar-frame-parameters): Updated documentation.
6569 (speedbar-use-imenu-flag): Updated custom tag
6570 (speedbar-dynamic-tags-function-list): New variable.
6571 (speedbar-tag-hierarchy-method): Updated doc & custom.
6572 (speedbar-indentation-width, speedbar-indentation-width) New
6574 (speedbar-hide-button-brackets-flag): Customizable.
6575 (speedbar-vc-indicator): Doc update.
6576 (speedbar-ignored-path-expressions): Updated default value.
6577 (speedbar-supported-extension-expressions): Updated default value.
6578 (speedbar-syntax-table): Remove {} paren status.
6579 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
6580 as "+". Added overlay aliases.
6581 (speedbar-mode): Use `speedbar-mode-line-update' instead of
6582 `force-mode-line-update'.
6583 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
6584 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
6586 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
6587 (speedbar-item-info-tag-helper): Revamped to handle a wider range
6588 of arbitrary text, and new helper functions.
6589 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
6591 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
6592 (speedbar-directory-buttons): Update path search/expansion.
6593 (speedbar-make-tag-line): Pay attention to
6594 `speedbar-indentation-width'. Use more care w/ invisible
6596 (speedbar-change-expand-button-char): Call
6597 `speedbar-insert-image-button-maybe'.
6598 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
6599 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
6600 (speedbar-trim-words-tag-hierarchy)
6601 (speedbar-simple-group-tag-hierarchy): New functions
6602 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
6603 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
6605 (speedbar-mouse-set-point): New function
6606 (speedbar-power-click): Updated documentation.
6607 (speedbar-line-token, speedbar-goto-this-file): Handle more types
6609 (speedbar-expand-line, speedbar-contract-line): Make more robust
6611 (speedbar-expand-line): Takes universal argument to flush the
6613 (speedbar-flush-expand-line): New function.
6614 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
6615 Use new generator insertion method.
6616 (speedbar-fetch-dynamic-tags): New function.
6617 (speedbar-fetch-dynamic-imenu): Removed code now handled in
6618 `speedbar-fetch-dynamic-imenu'.
6619 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
6620 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
6621 "Revert Buffer" menu items.
6622 (speedbar-buffer-buttons-engine): Be smarter when creating a
6623 filename tag (for expansion purposes.).
6624 (speedbar-highlight-one-tag-line,
6625 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
6626 (speedbar-recenter): New functions.
6627 (defimage-speedbar): Image loading abstraction.
6628 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
6629 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
6630 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
6631 (speedbar-tag-type, speedbar-tag-mail): New images.
6632 (speedbar-expand-image-button-alist): New variable.
6633 (speedbar-insert-image-button-maybe): Insert an image over some
6636 2000-05-13 Kenichi Handa <handa@etl.go.jp>
6638 * international/mule-cmds.el (encode-coding-char): An ASCII
6639 character is always encodable.
6641 * international/mule-conf.el: Add more information in descriptions
6644 * international/mule-diag.el (describe-char-after): New function.
6645 (describe-font-internal): Adjusted for the change of font-info.
6646 (describe-font): Likewise.
6647 (print-fontset): Rewritten for the new fontset implementation.
6648 (describe-fontset): Include fontset alias names in completion.
6649 (list-fontsets): Adjusted for the change of print-fontset.
6651 * simple.el (what-cursor-position): If DETAIL is non-nil, call
6652 describe-char-after instead of displaying the detail in the echo
6654 (syntax-code-table): Format changed.
6655 (string-to-syntax): Adjusted for the above change.
6657 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
6659 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
6661 2000-05-12 Dave Love <fx@gnu.org>
6663 * calendar/todo-mode.el: Remove some compatibility stuff and CL
6664 dependence. Use line-{beginning,end}-position, not
6665 point-at{b,e}ol. Some doc fixes.
6666 (todo-position): New function. Fix callers of position to use it.
6667 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
6669 2000-05-12 Gerd Moellmann <gerd@gnu.org>
6671 * time.el (display-time-mail-icon): Use `:ascent center'.
6673 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
6674 handling FTP security extensions.
6676 2000-05-11 Dave Love <fx@gnu.org>
6678 * calendar/todo-mode.el: New file.
6680 2000-05-11 Gerd Moellmann <gerd@gnu.org>
6682 * comint.el (comint-read-input-ring): Move reference to
6683 comint-input-ring-size outside of the save-excursion. It was
6684 causing the default value to be the only one ever seen.
6686 * font-lock.el: Update copyright. Remove Simon Marshall's email
6687 address on request from him.
6689 * subr.el (substitute-key-definition): Add comment describing
6690 the meaning of PREFIX.
6692 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
6694 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
6696 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
6697 (add-minor-mode): Don't make the variable buffer-local and add a
6698 reference to define-minor-mode in the docstring.
6700 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
6701 HEADER/FOOTER and fix bug with trailing empty directory.
6702 (cvs-append-to-ignore): Use vc-editable-p if available.
6703 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
6704 (vc-do-command): Tweak advice to handle the new VC.
6706 * log-view.el (log-view-goto-rev): New function for the new VC.
6707 (log-view-minor-wrap): Use mark-active.
6709 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
6710 (log-edit-changelog-full-paragraphs): New var.
6711 (log-edit-insert-changelog): Remove a lonely leading `* file'.
6712 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
6713 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
6714 (log-edit-changelog-ours-p, log-edit-changelog-entries)
6715 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
6716 Replace the `cvs' prefix with `log-edit'.
6718 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
6720 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
6721 (diff-font-lock-defaults): Explicitly turn off multiline.
6722 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
6723 (diff-ediff-patch): Fix call to ediff-patch-file.
6724 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
6727 * frame.el (automatic-hscrolling): Typo.
6729 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
6731 2000-05-09 Sam Steingold <sds@goems.com>
6733 * apropos.el (apropos-print): use `describe-face' instead of
6734 `customize-face-other-window'.
6736 2000-05-09 Dave Love <fx@gnu.org>
6738 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
6740 * help.el (describe-variable): Have customize button pop the
6741 help-xref stack when invoked.
6742 (help-xref-symbol-regexp): Add `face'.
6743 (help-make-xrefs): Check for quoted face names and adapt regexp
6744 submatch numbers to cope.
6745 (help-xref-interned): Maybe insert face doc too. Separate
6746 sections with a line of hyphens.
6748 * faces.el: Some doc fixes. Declare some functions obsolete.
6749 (describe-face): Add customize button. Return the help
6752 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
6754 * term/internal.el (IT-character-translations): Fix last change.
6756 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6758 * woman.el: New file
6759 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
6761 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
6763 * term/internal.el (IT-character-translations): Update ASCII
6764 simulations for greek-iso8859-7, add latin-iso8859-14 and
6767 * international/mule-cmds.el (set-language-info-alist): Call
6768 define-prefix-command with 3 arguments, to make the map suitable
6771 2000-05-07 Dave Love <fx@gnu.org>
6773 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
6775 2000-05-05 Dave Love <fx@gnu.org>
6777 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
6778 list in doc string. Don't quote keyword symbols.
6779 * emacs-lisp/cl.el: Likewise
6780 * emacs-lisp/cl-seq.el: Likewise
6782 2000-05-05 Gerd Moellmann <gerd@gnu.org>
6784 * abbrev.el (abbrev-mode): Make ARG optional.
6786 2000-05-04 Gerd Moellmann <gerd@gnu.org>
6788 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
6790 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
6792 * subr.el (substitute-key-definition): Clarify documentation.
6794 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
6796 * glasses.el (glasses-convert-to-unreadable): Use
6797 `glasses-separator' instead of the hard-wired "_".
6798 (glasses-mode): Call `glasses-make-unreadable' only in a single
6801 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
6803 * term/internal.el (cjk-codepages-alist): Add associations for
6804 Chinese and Korean codepages. Remove FIXME comment.
6806 2000-05-03 Dave Love <fx@gnu.org>
6808 * time.el (display-time-mail-face, display-time-use-mail-icon):
6810 (display-time-mail-icon): New variable.
6811 (display-time-string-forms): Use the above. Fix the local-map.
6813 2000-05-03 Gerd Moellmann <gerd@gnu.org>
6815 * replace.el (query-replace-map): Add binding for `E'.
6816 (query-replace-help): Extend help text.
6817 (perform-replace): Allow editing the replacement string.
6819 * make-mode.el (makefile-mode-abbrev-table): New variable.
6820 (makefile-mode): Set local abbrev table to
6821 makefile-mode-abbrev-table.
6822 (makefile-font-lock-keywords): Fontify includes and conditionals.
6824 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
6827 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
6828 mail-interactive-insert-alias.
6829 (mail-abbrev-complete-alias): New command.
6830 (mail-mode-map): Bind it to `M-TAB'.
6832 2000-05-03 Kenichi Handa <handa@etl.go.jp>
6834 * language/lao-util.el (lao-compose-region): New function.
6836 2000-05-02 Gerd Moellmann <gerd@gnu.org>
6838 * files.el (recover-session): Make directories as necessary
6839 if they don't exist yet.
6841 * calendar/cal-french.el
6842 (french-calendar-multibyte-special-days-array)
6843 (french-calendar-special-days-array): Change French text.
6844 (calendar-french-date-string): Change output.
6845 (calendar-goto-french-date): Likewise.
6847 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
6849 * wid-edit.el (widget-default-active): Obey `:always-active'.
6850 (widget-documentation-string-value-create): Set `:always-active'.
6852 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6854 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
6855 default prefix to `~/_emacs.d/auto-save.list/_s'.
6856 (normal-top-level): Create the directory for auto-save files, if
6857 it doesn't already exist (in the ms-dos case only).
6859 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
6861 * international/mule-cmds.el (set-language-environment): Don't
6862 concat an integer (dos-codepage), use format instead.
6864 2000-05-02 Dave Love <fx@gnu.org>
6866 * help.el (help-xref-on-pp): Check for constant symbols.
6868 2000-04-29 Gerd Moellmann <gerd@gnu.org>
6870 * startup.el (normal-top-level): Put a condition-case around
6871 the code loading subdirs.el.
6873 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6875 * ps-print.el: Upside-down and face background color printing,
6876 line number step, doc fix.
6877 (ps-print-version): New version number (5.2).
6878 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
6879 (ps-face-attribute-list, ps-plot-with-face): Code fix.
6880 (ps-spool-config): Var fix.
6881 (ps-printer-name-option): Const fix.
6882 (ps-print-upside-down, ps-use-face-background)
6883 (ps-line-number-step): New vars.
6884 (ps-window-system, ps-lp-system): New consts.
6885 (ps-face-background): New fun.
6887 2000-04-28 Richard Stallman <rms@gnu.org>
6889 * files.el (make-auto-save-file-name):
6890 Apply auto-save-file-name-transforms to visited file name
6891 before generating auto save file name.
6892 (auto-save-file-name-transforms): New variable.
6894 * files.el (backup-enable-predicate):
6895 Correctly test for a file under a temporary directory.
6897 2000-04-28 Gerd Moellmann <gerd@gnu.org>
6899 * subr.el (add-minor-mode): Rewritten.
6901 2000-04-28 Kenichi Handa <handa@etl.go.jp>
6903 * mail/sendmail.el (sendmail-send-it): Set
6904 buffer-file-coding-system to the selected coding system for MIME
6907 2000-04-27 Gerd Moellmann <gerd@gnu.org>
6909 * dired.el (dired-move-to-filename-regexp): Allow format where
6910 YYYY is followed by two spaces.
6912 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
6913 in the second character class of the regexp.
6915 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
6918 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
6921 * subr.el (add-minor-mode): Use `set' instead of `setq'.
6923 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
6926 2000-04-27 Sen Nagata <sen@eccosys.com>
6928 * emacs-lisp/crm.el (crm-completion-table): New variable.
6929 (crm-collection-fn, crm-test-completion)
6930 (completing-read-multiple): Use it.
6932 2000-04-27 Dave Love <fx@gnu.org>
6934 * help.el (locate-library): Use mapc.
6935 (help-manyarg-func-alist): Add call-process-region.
6937 2000-04-26 Gerd Moellmann <gerd@gnu.org>
6939 * subr.el (add-minor-mode): Make argument MAP optional.
6941 * desktop.el (desktop-save): Save list of minor modes.
6942 (desktop-create-buffer): Restore minor modes.
6943 (desktop-minor-mode-table): New user-option.
6945 * subr.el (add-minor-mode): New function.
6947 * image.el (find-image): New function.
6948 (defimage): Rewritten to find image at load time.
6950 * startup.el (normal-top-level-add-to-load-path): Handle
6951 case that the default directory is not in load-path.
6953 * help.el: Old patch from Stefan Monnier.
6954 (help-xref-on-pp): New function.
6955 (describe-variable): Use it to display xrefs in a symbol's value.
6957 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
6959 * cus-edit.el (custom-face): Fix parenthesis.
6961 2000-04-26 Kenichi Handa <handa@etl.go.jp>
6963 * mail/rmail.el (rmail-expunge): When there are no deleted
6964 messages, do nothing.
6966 2000-04-26 Dave Love <fx@gnu.org>
6968 * international/mule-cmds.el (locale-translation-file-name):
6970 (set-locale-environment): Set it here (at runtime).
6972 2000-04-25 Gerd Moellmann <gerd@gnu.org>
6974 * replace.el (perform-replace): Add parameters START and END. Use
6975 them instead of the check for a region in Transient Mark mode.
6976 (query-replace-read-args): Return two more list elements for the
6977 start and end of the region in Transient Mark mode.
6978 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6979 (map-query-replace-regexp, replace-string, replace-regexp): Add
6980 optional last arguments START and END and pass them to
6983 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
6984 form with additional arguments for perform-replace.
6986 * progmodes/etags.el (tags-query-replace): Add parameters START
6987 and END. Construct a form with additional arguments for
6990 * simple.el (shell-command): Set default directory for "*Shell
6991 Command Output" buffer.
6993 * language/european.el (iso-latin-4): Fix typo.
6995 * emacs-lisp/crm.el: New file.
6997 2000-04-24 Dave Love <fx@gnu.org>
6999 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
7000 (Custom-reset-saved, Custom-reset-standard)
7001 (custom-group-value-create, custom-group-set, custom-group-save)
7002 (custom-group-reset-current, custom-group-reset-saved)
7003 (custom-group-reset-standard): Use mapc.
7004 (custom-buffer-create-internal): Disable undo when creating items.
7006 (custom-face): Avoid redundant lambda.
7008 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7010 * startup.el (auto-save-list-file-prefix): Set default to
7011 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
7013 2000-04-24 Sam Steingold <sds@gnu.org>
7015 * time-stamp.el (time-stamp-string-preprocess): Always convert
7016 `field-result' to a string.
7018 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7020 * frame.el (scrolling): New group.
7021 (automatic-hscrolling): New user-option.
7023 * startup.el (command-line-x-option-alist): Add `-lsp' and
7026 2000-04-19 Dave Love <fx@gnu.org>
7028 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
7029 (cl-mapc): Rename from mapc. Fix the funcall.
7031 2000-04-19 Gerd Moellmann <gerd@gnu.org>
7033 * simple.el (clone-indirect-buffer-other-window): New command.
7034 (clone-indirect-buffer): Add optional arg NORECROD.
7035 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
7037 * help.el (resize-temp-buffer-window): Use count-screen-lines.
7039 * window.el (count-screen-lines): New function.
7040 (shrink-window-if-larger-than-buffer): Use count-screen-lines
7041 instead of window-buffer-height.
7043 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
7044 non-existing variable comint-input-sentinel.
7045 (inferior-lisp-args-to-list): Removed.
7046 (inferior-lisp): Use split-string instead of
7047 inferior-lisp-args-to-list.
7049 * hexl.el (hexl-insert-hex-string): New command.
7051 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
7054 2000-04-18 Gerd Moellmann <gerd@gnu.org>
7056 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
7057 at the start of an existing but empty folder.
7059 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7061 * ps-mule.el: Customization fix, doc fix.
7062 (ps-multibyte-buffer): Customization fix.
7064 2000-04-17 Richard M. Stallman <rms@gnu.org>
7066 * subr.el (read-passwd): Use read-char-exclusive.
7068 2000-04-17 Gerd Moellmann <gerd@gnu.org>
7070 * textmodes/texinfo.el (texinfo-insert-@email)
7071 (texinfo-insert-@emph, texinfo-insert-@quotation)
7072 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
7073 (texinfo-mode-map): Add key bindings for them.
7075 * files.el (basic-save-buffer-2): Use a template with `$'
7076 instead of `#' for VMS.
7078 * simple.el (clone-indirect-buffer): New function.
7080 2000-04-16 Stephen Eglen <stephen@gnu.org>
7082 * iswitchb.el (iswitchb-case): New function. If the user input
7083 contains any upper-case characters, the search is made
7086 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
7088 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
7090 (texinfo-font-lock-syntactic-keywords): New var.
7091 (texinfo-font-lock-keywords): Remove comment regexp.
7092 (texinfo-insert-block): New function.
7093 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
7094 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
7095 and font-lock-defaults. Use regexp-opt for outline-regexp.
7096 (texinfo-environments): New var.
7097 (texinfo-environment-regexp): Use regexp-opt and
7098 texinfo-environments.
7100 * textmodes/ispell.el (ispell-menu-map-needed): Check that
7101 ispell-process is bound since this might be eval'd before ispell
7103 (ispell-message): Use a tiny bit less magic and a bit more hard
7104 data to figure out what kind of sc-cite-regexp to use.
7106 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
7108 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
7109 (insert-cyclic-diary-entry): Unquote the lambda.
7111 * gud.el (gud-jdb-build-source-files-list): Fix typo.
7113 * files.el (backup-enable-predicate): Unquote the lambda.
7115 * cus-edit.el (custom-face, face): Unquote the lambda.
7117 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7119 * ps-print.el: Check for line-beginning-position definition.
7121 * ps-print.el: Fix counting lines in a region.
7122 (ps-print-version): New version number (5.1.5).
7123 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
7124 (ps-printing-region): Fun code fix.
7126 2000-04-15 Gerd Moellmann <gerd@gnu.org>
7128 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
7129 to file-directory-p.
7131 2000-04-14 Gerd Moellmann <gerd@gnu.org>
7133 * gud.el (gud-jdb-build-source-files-list): Check that directory
7134 exists before calling directory-files.
7136 2000-04-13 Dave Love <fx@gnu.org>
7138 * emacs-lisp/trace.el: Change maintainer. Use new backquote
7141 * emacs-lisp/cl-specs.el: Remove when, unless.
7143 * emacs-lisp/cl-extra.el: Don't quote keywords.
7144 (cl-old-mapc): New variable.
7146 (cl-map-intervals): Use with-current-buffer. Don't check for
7147 next-property-change.
7148 (cl-map-overlays): Use with-current-buffer.
7150 (copy-tree, remprop): Define unconditionally.
7152 * emacs-lisp/cl-compat.el (keywordp): Remove.
7154 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
7156 (edebug-spec): Enable keywordp.
7158 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
7161 * cus-start.el: Use keywordp.
7163 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7165 * diary-lib.el (include-other-diary-files): Fix the fix of
7166 2000-02-18 by doing a save-excursion.
7168 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7170 * ps-print.el: Customization fix, doc fix.
7171 (ps-print-version): New version number (5.1.4).
7172 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
7173 (ps-print-preprint): Adjust code.
7174 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
7175 (ps-print-prologue-header, ps-print-control-characters)
7176 (ps-spool-config): Customization fix.
7178 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
7180 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
7181 converted to the new menu-item format, names silightly changed,
7184 Support for spelling without async subprocesses:
7186 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
7187 (ispell-session-buffer): New variables.
7188 (ispell-start-process, ispell-process-status,
7189 ispell-accept-output, ispell-send-string): New functions, for
7190 Ispell invocation when async subprocesses aren't supported.
7191 (ispell-word, ispell-pdict-save, ispell-command-loop,
7192 ispell-process-line, ispell-buffer-local-parsing): Replace calls
7193 to process-send-string with calls to ispell-send-string, and
7194 accept-process-output with ispell-accept-output.
7195 (ispell-init-process): Call ispell-process-status instead of
7196 process-status with.
7197 (ispell-init-process): Call ispell-start-process. Call
7198 ispell-accept-output and ispell-send-string. Don't call
7199 process-kill-without-query and kill-process if they are unbound.
7200 (ispell-async-processp): New function.
7202 2000-04-12 Dave Love <fx@gnu.org>
7204 * info.el: Add debug-ignored-errors.
7205 (Info-mode-menu): Add some items.
7206 (Info-directory): Add autoload cookie.
7208 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
7209 Modify `truncate-lines'. Make `describe-language-environment'
7210 always visible and add help. Modify `describe-key' help. Invoke
7211 Info-directory from `info'. New entry `emacs-manual'.
7213 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7215 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
7216 propertized-buffer-identification.
7217 (ebrowse-update-member-buffer-mode-line): Likewise.
7218 (ebrowse--mode-strings): Removed.
7219 (ebrowse--mode-line-props): Removed.
7221 * files.el (auto-mode-alist): Add `EBROWSE'.
7223 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
7224 space before testing for end of buffer.
7225 (ebrowse-load): Removed.
7226 (ebrowse-revert-tree-buffer-from-file): Rewritten.
7227 (ebrowse-create-tree-buffer): Rewritten.
7228 (ebrowse-tree-mode): Read tree from buffer.
7230 * progmodes/ebrowse-ffh.el: Removed.
7232 2000-04-10 Kenichi Handa <handa@etl.go.jp>
7234 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
7236 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7238 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
7241 2000-04-09 Dave Love <fx@gnu.org>
7243 * files.el (backup-enable-predicate): Use
7244 temporary-file-directory, small-temporary-file-directory.
7245 (make-backup-file-name-function, backup-directory-alist): New
7247 (make-backup-file-name-1): New function.
7248 (make-backup-file-name): Use it.
7249 (find-backup-file-name): Likewise. Use format for clarity, not
7251 (file-newest-backup): Use make-backup-file-name.
7253 2000-04-09 Gerd Moellmann <gerd@gnu.org>
7255 * progmodes/ebrowse-ffh.el: New file.
7257 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
7259 (ebrowse-load): Add autoload.
7261 * finder.el (finder-commentary): Add autoload cookie.
7263 * mail/rfc2368.el: Correct author's email address.
7265 * progmodes/ebrowse.el: New file.
7267 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
7269 (easy-menu-do-add-item): Ditto.
7270 (easy-menu-define): Extend doc string.
7272 * jit-lock.el (with-buffer-unmodified): Use
7273 restore-buffer-modified-p.
7274 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
7275 (jit-lock-function, jit-lock-stealth-fontify): Don't use
7276 with-buffer-unmodified.
7278 2000-04-08 Dave Love <fx@gnu.org>
7280 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
7283 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
7285 * viper-util.el (viper-put-on-search-overlay): New subroutine.
7286 (viper-flash-search-pattern): No operation when using Emacs
7287 doesn't support face.
7288 Use `viper-put-on-search-overlay'.
7290 2000-04-04 Gerd Moellmann <gerd@gnu.org>
7292 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
7295 * progmodes/make-mode.el: Some doc fixes.
7296 (makefile-mode-abbrev-table): New variable.
7297 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
7298 (makefile-font-lock-keywords): Fontify includes and conditionals.
7299 (toplevel): Require `dabbrev' and `add-log' when compiling.
7301 * replace.el (perform-replace): Don't move forward one char
7302 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
7303 to do that because it leaves point 1 position after the last
7304 replacement, after everything has been replaced.
7306 * jit-lock.el (with-buffer-unmodified): New macro.
7307 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
7309 (jit-lock-function-1): Extracted from jit-lock-function; not
7310 preserving buffer's modified state.
7311 (jit-lock-function, jit-lock-stealth-fontify): Call
7312 jit-lock-function-1.
7314 * mail/rfc2368.el: Remove supernumerary copyright line.
7316 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
7318 * glasses.el: Provide facilities for inserting space before left
7319 parentheses and uncapitalization of identifiers.
7320 (glasses-mode): Try to remove old overlays in all cases.
7322 2000-04-03 Gerd Moellmann <gerd@gnu.org>
7324 * progmodes/compile.el (compile-internal): Display the compilation
7325 buffer in a different frame, if it's already displayed there.
7327 * mail/rfc2368.el: New file.
7329 * simple.el (sendmail-user-agent-compose): Recognize a `body'
7330 header and insert its value as mail body.
7332 * subr.el (member-ignore-case): New function.
7334 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
7335 (dabbrev--find-expansion): Ignore buffers matching a regexp
7336 from dabbrev-ignored-regexps.
7338 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
7339 to extensions handled by gzip.
7341 2000-04-03 Richard M. Stallman <rms@gnu.org>
7343 * files.el (insert-directory): List the total free space
7344 along with the used space.
7346 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
7347 line is followed by one that matches CITATION-REGEXP, end the
7350 2000-04-03 Markus Rost <rost@delysid.gnu.org>
7352 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
7353 (rmail-make-basic-summary-line): Use that option.
7355 2000-04-03 Kenichi Handa <handa@etl.go.jp>
7357 * international/mule-cmds.el (encoded-string-description):
7358 Rewritten. Try pretty description for ISO 2022 escape sequences
7359 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
7360 for hexadecimal format.
7362 2000-04-01 Dave Love <fx@gnu.org>
7364 * cpp.el: Change customization group to `c' from `C'.
7366 * vcursor.el (vcursor-move): Use display-color-p.
7368 * international/mule-util.el: Provide mule-utils.
7369 (string-to-sequence): Simplify and speed up.
7371 * international/mule.el (make-coding-system): Purecopy doc-string.
7373 * international/mule-cmds.el: Various menu changes.
7374 (describe-specified-language-support): Handle `Default'.
7375 (set-language-info): Purecopy `info'.
7377 2000-03-31 Andrew Innes <andrewi@gnu.org>
7379 * vc.el (vc-backend-diff): Return the correct status if we had to
7380 retry the rcsdiff command without the --brief option.
7382 2000-03-31 Dave Love <fx@gnu.org>
7384 * help.el (help-manyarg-func-alist): Correct several omissions.
7386 * add-log.el: Don't require cl, fortran.
7387 (add-log-current-defun-function): Doc fix.
7388 (change-log-version-number-regexp-list): Remove SCCS part. Doc
7390 (change-log-version-rcs): Function deleted.
7391 (change-log-version-number-search): Doc fix. Use
7392 vc-workfile-version. Avoid CL dolist.
7393 (add-change-log-entry): Just call add-log-current-defun to get
7394 defun. Simplify somewhat.
7395 (change-log-get-method-definition-1): Likewise.
7396 (add-log-current-defun): Return nil if calling
7397 add-log-current-defun-function does so. Move Fortran stuff to
7398 fortran.el. Return string without properties.
7400 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
7401 and :alpha: char classes.
7403 * mail/supercite.el: Defvar curline when compiling.
7404 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
7405 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
7406 rather than a-zA-Z0-9 to allow non-ASCII characters.
7408 2000-03-31 Gerd Moellmann <gerd@gnu.org>
7410 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
7412 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7415 * lpr.el (print-region-1): Use -d to specify printer name for
7416 systems `usg-unix-v*, `dgux', `hpux', `irix'.
7418 2000-03-31 Dave Love <fx@gnu.org>
7420 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
7421 for function definition in symbol's function value slot first
7422 instead of first consulting byte-compile-function-environment.
7424 2000-03-31 Kenichi Handa <handa@etl.go.jp>
7426 * language/european.el ("Polish"): New language environment.
7427 (setup-polish-environment): New function.
7429 2000-03-30 Gerd Moellmann <gerd@gnu.org>
7431 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7434 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
7435 trying to `load' the symbol of an autoload instead of the file
7436 recorded in the autoload. Fix error messages.
7438 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7440 * ps-print.el: PostScript programming fix for ghostview, doc fix.
7441 (ps-print-version): New version number (5.1.3).
7442 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
7443 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
7444 (ps-generate-postscript-with-faces): Code fix.
7445 (ps-color-values): XEmacs compatibility.
7446 (ps-print-background-image, ps-print-background-text, ps-printer-name)
7447 (ps-default-fg, ps-default-bg): Adjust customization.
7448 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
7449 (ps-color-scale): Renaming old ps-color-value fun.
7450 (ps-print-headers): Replace ps-print-header group to avoid conflict
7451 with ps-print-header variable.
7452 (ps-print-miscellany): New group.
7453 (ps-format-color, ps-rgb-color): New funs.
7454 (ps-default-foreground): New var.
7455 (ps-printer-name-option): New const.
7457 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
7460 (network-connection-host, network-connection-service): New variables
7461 (network-connection-mode): New mode, derived from comint-mode
7462 (network-connection-mode-setup): New function, saves host and
7463 service information in local variables.
7466 (locate-word-at-point): Added this function
7467 (locate): Default to using locate-word-at-point as input
7470 2000-03-29 Dave Love <fx@gnu.org>
7472 * calendar/appt.el: Doc fixes.
7473 (appt-check): Convert min-to-app to a string before passing to
7474 appt-disp-window-function or concat.
7475 (appt-delete-window): Remove test for frame-root-window.
7476 (appt-select-lowest-window, appt-convert-time): Simplify.
7478 * emacs-lisp/bytecomp.el: Doc fixes.
7479 (byte-compile-file-form-autoload): Update
7480 byte-compile-function-environment.
7482 2000-03-29 Andreas Schwab <schwab@suse.de>
7484 * emacs-lisp/autoload.el: Also print defsubst doc string
7487 * dired.el (dired-insert-directory): If dired-free-space-program
7488 failed just delete its output.
7490 2000-03-29 Dave Love <fx@gnu.org>
7492 * international/iso-cvt.el: Move provide to end. Doc fixes.
7493 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
7494 (iso-iso2sgml, iso-sgml2iso): New functions.
7495 (iso-cvt-define-menu): Fix some entries and use backquote for
7498 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
7500 2000-03-28 Gerd Moellmann <gerd@gnu.org>
7502 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
7503 ISO-DATE. If non-nil, return date in ISO 8601 format.
7505 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
7507 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
7508 if it ever becomes used.
7509 (log-edit-mode-hook): Default to vc-log-mode-hook.
7510 (log-edit-mode): Fix the docstring.
7512 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
7515 2000-03-26 Dave Love <fx@gnu.org>
7517 * net/browse-url.el (browse-url): Re-fix case of
7518 browse-url-browser-function being an alist.
7519 (browse-url): Add :link to defgroup.
7521 * files.el: Doc fixes.
7522 (file-truename): Include `[' in wildcard characters.
7523 (automount-dir-prefix): Customize.
7524 (find-file-wildcards): Add :version.
7525 (find-file-noselect): Simplify a mapcar call.
7527 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
7528 compatible with inf-lisp version.
7529 (eval-defun-1): Fix custom-declare-variable case.
7531 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
7533 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
7535 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7537 * Makefile (COMPILE_FIRST): New macro.
7538 (compile-files): Compile files from COMPILE_FIRST first.
7540 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
7543 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
7544 matching open parenthesis in column 0 to defun-prompt-regexp
7545 only if open-paren-in-column-0-is-defun-start is set.
7547 * sun-curs.el: Require CL at compile-time only.
7549 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
7550 instead of copy-list which is a function from CL.
7551 (msb--choose-menu, msb--mode-menu-cond)
7552 (msb--create-buffer-menu-2): Use dolist instead of mapc.
7553 (msb--init-file-alist): Use mapcar instead of mapcan.
7554 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
7555 `(' in column 0 in doc string.
7556 (msb--add-separators): Use mapcar instead of mapcan.
7558 * cus-dep.el: Require CL at compile-time only.
7560 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
7562 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
7563 (byte-compile-warnings): New warning `noruntime'.
7564 (byte-compile-constants, byte-compile-variables): Fix docstring.
7565 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
7566 execute `eval-whenc-compile's body.
7567 (byte-compile-unresolved-functions): Fix docstring.
7568 (byte-compile-eval): New function.
7569 (byte-compile-callargs-warn): Check if the function will be available
7570 at runtime (via property `byte-compile-noruntime').
7571 (byte-compile-print-syms): New function.
7572 (byte-compile-warn-about-unresolved-functions): Also warn about
7573 `noruntime' functions (and use `byte-compile-print-syms').
7574 (byte-compile-file): Capitalize the message.
7576 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7578 * mail/rmail.el (rmail-confirm-expunge): New user-option.
7579 (rmail-expunge): Ask for confirmation depending on the setting
7580 of rmail-confirm-expunge.
7582 2000-03-23 Gerd Moellmann <gerd@gnu.org>
7584 * Makefile (bootstrap-clean): If $(emacs) exists, build
7585 loaddefs.el first. A loaddefs.el that's not up-to-date might
7586 cause a bootstrap failure because things don't autoload as
7589 2000-03-23 Dave Love <fx@gnu.org>
7591 * net/browse-url.el: Restore previous use of
7592 browse-url-maybe-new-window.
7594 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7596 * ps-print.el: Skip banner page fix.
7597 (ps-print-version): New version number (5.1.2).
7598 (ps-begin-file, ps-end-file, ps-generate): Code fix.
7600 2000-03-23 Dave Pearson <davep@davep.org>
7602 * net/quickurl.el Changed the type of parameter passed to the
7603 function defined by `quickurl-format-function'. Before only the
7604 text of the URL was passed. Now the whole URL structure is passed
7605 and the function is responsible for extracting the parts it
7606 requires. Changed the default of `quickurl-format-function'
7608 (quickurl-insert): Changed the `funcall' of
7609 `quickurl-format-function' to match the above change.
7610 (quickurl-list-insert): Changed the `url' case so that it makes
7611 use of `quickurl-format-function', previous to this the format was
7614 2000-03-22 Gerd Moellmann <gerd@gnu.org>
7616 * startup.el: Change some spellings for the X Window System.
7618 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
7620 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
7621 up the code and the regexp and make sure the cursor is temporarily
7622 moved to the suspicious line while querying the user.
7624 2000-03-22 Jason Rumney <jasonr@gnu.org>
7626 * w32-fns.el (w32-charset-info-alist): Initialize.
7628 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7630 * ps-print.el: N-up last page fix.
7631 (ps-print-version): New version number (5.1.1).
7632 (ps-end-file, ps-end-job, ps-generate): Code fix.
7634 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7636 * files.el (find-file-run-dired): Update docstring.
7637 (find-directory-functions): New hook.
7638 (find-file-noselect): Run find-directory-functions rather than
7639 calling dired directly.
7641 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
7643 * pcvs.el: Add a minimal leading commentary.
7644 (cvs-make-cvs-buffer): Change the header part by removing the startup
7645 message and adding a `Module' entry. Also replace the FOOTER and
7646 HEADER special fileinfos with the new support in ewoc for updating
7647 its own footer and header.
7648 (cvs-update-header): Update to use the header/footer of the ewoc.
7649 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
7650 (cvs-is-within-p): New function.
7651 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
7652 to only examine some subset of the buffers.
7654 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
7655 `format' instead of our own ad-hoc functions.
7656 Remove HEADER and FOOTER cases, now handled in the EWOC.
7657 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
7659 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
7660 output to avoid scaring the user.
7661 (cvs-parse-table): Catch message for non-up-to-date commits.
7663 * pcvs-defs.el (cvs-startup-message): Remove.
7664 (cvs-global-menu): New autoloaded menu.
7666 * pcvs-util.el (cvs-string-fill): Remove.
7668 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
7669 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
7670 PP part of it and also make it work for footers and headers.
7671 (ewoc-create): Drop POS and BUFFER arguments.
7672 Use the DLL's dummy node to store the end-of-footer position.
7673 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
7674 (ewoc-refresh): Remove unused `header' variable.
7675 (ewoc-(get|set)-hf): New functions.
7677 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
7678 log-view-*-(message|file) and use easy-mmode-define-navigation.
7679 (log-view-message-re): Match SCCS format as well.
7680 And match the revision line rather than the dashed separator line.
7681 (log-view-mode): Use the new define-derived-mode.
7682 (log-view-current-tag): Fill in with an actual implementation.
7684 * cvs-status.el (cvs-status-(prev|next)): Rename from
7685 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
7686 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
7687 to let the output "breathe" a little more (more readable).
7688 (cvs-status-mode): Use the new define-derived-mode.
7690 * smerge-mode.el (smerge-auto-leave): New function and variable.
7691 (smerge-basic-map): Rename from smerge-basic-keymap.
7692 Change the bindings for smerge-diff-*.
7693 (smerge-*-map): Use easy-mmode-defmap.
7694 (smerge-(next|prev)): Use easy-mmode-define-navigation.
7695 (smerge-keep-*): Use smerge-auto-leave.
7697 2000-03-21 Jason Rumney <jasonr@gnu.org>
7699 * cus-edit.el (custom-button-face): Use 3D look for w32.
7700 (custom-button-pressed-face): Likewise.
7702 2000-03-21 Gerd Moellmann <gerd@gnu.org>
7704 * progmodes/etags.el (tags-case-fold-search): New user-option.
7705 (tags-loop-eval): New function. Bind case-fold-search around eval
7706 depending on the value of tags-case-fold-search.
7707 (tags-loop-continue): Use tags-loop-eval.
7708 (find-tag-in-order): Bind case-fold-search depending on the value
7709 of tags-case-fold-search.
7711 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
7713 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
7714 (diff-end-of-hunk): Return the end position for use in
7715 `easy-mmode-define-navigation'.
7716 (diff-recenter): Remove.
7717 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
7718 of `easy-mmode-define-navigation'.
7719 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
7720 previous renaming) and fix to use new names.
7721 (diff-merge-strings): Use \n as separator: simpler, faster.
7722 (diff-mode): Use `define-derived-mode'.
7724 * derived.el (define-derived-mode): Don't autoload anymore.
7725 Prefer the macro-only version provided by easy-mmode.el.
7727 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
7728 `easy-mmode-define-derived-mode'.
7729 Use `combine-run-hooks'.
7730 (easy-mmode-define-navigation): New macro.
7732 * subr.el (combine-run-hooks): New function.
7734 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
7736 * term/x-win.el: Fontsets related initialization is simplified.
7738 * international/mule-diag.el (describe-font): Don't refer to
7739 global-fontset-alist, instead call font-list.
7740 (describe-fontset, list-fontsets, mule-diag): Likewise.
7741 (print-fontset): Adjusted for the change of fontset
7744 * international/fontset.el (x-charset-registries): Variable
7745 removed, instead the corresponding data is stored in the default
7747 (register-alternate-fontnames): Function removed.
7748 (resolved-ascii-font): Variable removed.
7749 (x-compose-font-name): Ignore the second argument REDOCE.
7750 (x-complement-fontset-spec): Complement only an ASCII font and
7751 element for those charsets than can use that ASCII font.
7752 (generate-fontset-menu): Don't refer to global-fontset-alist,
7753 instead call fontset-list.
7754 (uninstantiated-fontset-alist): Variable removed.
7755 (x-style-funcs-alist): Likewise.
7756 (fontset-default-styles): Likewise.
7757 (x-modify-font-name): Function removed.
7758 (create-fontset-from-fontset-spec): Ignore the argument
7760 (create-fontset-from-ascii-font): Docsting adjusted for the above
7762 (instantiate-fontset, resolve-fontset-name): Functions removed.
7763 (fontset-list): Now implemented by C code.
7765 * faces.el (read-face-font): Fix TABLE arg to completing-read.
7766 (describe-face): Include `font' attribute in the description.
7768 2000-03-21 Kenichi Handa <handa@etl.go.jp>
7770 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
7772 2000-03-20 Gerd Moellmann <gerd@gnu.org>
7774 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
7775 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
7776 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
7778 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
7779 about behavior of set-buffer-modified-p wrt redisplay.
7781 2000-03-19 Richard M. Stallman <rms@gnu.org>
7783 * view.el (view-mode-disable): Kill local binding of view-read-only.
7785 2000-03-18 Gerd Moellmann <gerd@gnu.org>
7787 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
7788 is a string, convert it to a syntax cell using string-to-syntax.
7790 * simple.el (syntax-code-table, syntax-flag-table): New variables.
7791 (string-to-syntax): New function.
7793 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
7794 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
7795 try to use passive ftp mode.
7797 2000-03-17 Gerd Moellmann <gerd@gnu.org>
7799 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
7801 * simple.el (append-to-buffer): Update point of windows after
7804 * abbrev.el (inverse-add-abbrev): Identify word by first moving
7805 forward then moving backward. Reindent.
7807 * frame.el (other-frame): Call x-focus-frame only if
7808 focus-follows-mouse is off.
7810 2000-03-17 Dave Love <fx@gnu.org>
7812 * pcvs-util.el (cvs-strings->string): Rename
7813 replace-regexps-in-string.
7815 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
7817 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
7818 regexp for labels cannot span several lines.
7820 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
7821 `(setq :<key> ':<key>)' to the macro expansion.
7823 2000-03-16 Dave Love <fx@gnu.org>
7825 * progmodes/f90.el (f90): Put custom group under `languages', not
7827 (f90-mode-hook): Customize.
7828 (f90-mode): Set add-log-current-defun-function.
7829 (f90-current-defun): New function.
7831 2000-03-16 Gerd Moellmann <gerd@gnu.org>
7833 * cus-edit.el (custom-variable-tag-face): Handle case that
7834 default face's height is not a number.
7835 (custom-face-tag-face, custom-group-tag-face-1)
7836 (custom-group-tag-face): Ditto.
7837 (custom-group-tag-face-1): Add :group.
7839 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
7841 2000-03-15 Gerd Moellmann <gerd@gnu.org>
7843 * pcvs-defs.el (toplevel): Remove autoload cookie for form
7846 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7848 * ps-print.el: PostScript user-defined prologue, PostScript error
7850 (ps-print-version): New version number (5.1).
7851 (ps-user-defined-prologue, ps-error-handler-message)
7852 (ps-print-prologue-0, ps-error-handler-alist): New vars.
7853 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
7854 (ps-insert-string): New function.
7856 2000-03-15 Kenichi Handa <handa@etl.go.jp>
7858 * international/ccl.el (ccl-compile-expression): Don't generate
7859 invalid self-assignment code.
7861 2000-03-14 Dave Love <fx@gnu.org>
7863 * subr.el (replace-regexp-in-string): Renamed from
7864 replace-regexps-in-string. Doc fix.
7866 2000-03-12 Dave Love <fx@gnu.org>
7868 * cus-edit.el: Doc fixes.
7869 (customize-set-variable, customize-save-variable): Rename args for
7871 (custom-variable-tag-face, custom-face-tag-face)
7872 (custom-group-tag-face-1, custom-group-tag-face): Modify from
7873 style which user identify as hyperlink.
7874 (hook): Don't add undefined functions to the hook.
7875 (debug-ignored-errors): Transfer message from bindings.el.
7877 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7879 * recentf.el (recentf-keep-non-readable-files-p): Remove
7880 double/nested definition.
7882 2000-03-12 Dave Love <fx@gnu.org>
7884 * facemenu.el (facemenu-get-face): Use display-color-p.
7885 * enriched.el (enriched-decode-foreground): Likewise.
7886 (enriched-decode-background): Likewise.
7887 * isearch.el (isearch-highlight): Likewise.
7888 * info-look.el (info-lookup): Likewise.
7889 * simple.el (completion-setup-function): Likewise.
7891 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
7894 * bindings.el (mode-line-format): Fix line-number and
7895 column-number items. Add help-echo for the background.
7896 (mode-line-mule-info): Modify help-echo.
7898 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
7901 * files.el (load-file): Allow completion to .elc.
7903 * man.el: Doc fixes.
7904 (Man-init-defvars): Use display-color-p to set fontification.
7906 * play/hanoi.el (hanoi-internal): Don't use oddp.
7908 2000-03-12 Gerd Moellmann <gerd@gnu.org>
7910 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
7912 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
7914 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
7916 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
7919 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
7921 * font-lock.el (font-lock-keywords): Fix the doc now that
7922 regexp-opt-depth is unnecessary.
7923 (save-buffer-state): Set an edebug spec.
7924 (font-lock-fontify-anchored-keywords): Properly handle the case when
7925 the matcher goes past the limit.
7927 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
7928 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
7930 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
7931 dll.el and cookie.el (from Elib) with heavy renaming and other
7934 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
7935 Autoload the functions used.
7936 (easy-mmode-define-syntax): Fix CL typo.
7937 (easy-mmode-define-derived-mode): Improve the docstring generation.
7939 2000-03-10 Gerd Moellmann <gerd@gnu.org>
7941 * textmodes/texinfo.el (texinfo-version): Variable and function
7944 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
7946 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
7947 allow more flexibility.
7948 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
7950 (easy-mmode-defmap, easy-mmode-defsyntax)
7951 (easy-mmode-define-derived-mode): New macros.
7953 2000-03-09 Didier Verna <didier@xemacs.org>
7955 * rect.el (replace-rectangle): New function.
7957 2000-03-09 Dave Love <fx@gnu.org>
7959 * progmodes/fortran.el (fortran-comment-line-start): Define as
7961 (fortran-comment-line-start-skip): Don't match cpp stuff.
7962 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
7963 (fortran-mode-map): Remove over-eager custom-menu-create for now.
7964 (fortran-mode): Don't set fortran-comment-line-start-skip,
7965 fortran-comment-line-start here. Set comment-start,
7966 add-log-current-defun.
7967 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
7968 (fortran-current-defun): New function.
7970 2000-03-09 Gerd Moellmann <gerd@gnu.org>
7972 * emacs-lisp/re-builder.el: New file.
7974 * mouse.el (mouse-drag-region): Don't run up-event handler
7975 if hscroll has changed.
7977 * octave-mod.el (octave-font-lock-keywords): To font-lock the
7978 builtin operators, use `font-lock-builtin-face' for Emacs and
7979 `font-lock-preprocessor-face' otherwise.
7981 * font-lock.el (lisp-font-lock-keywords-1): Highlight
7982 `(defun (setf foo)' differently.
7984 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
7986 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
7987 (regexp-opt): Update comment and adapt the code the new meaning of
7988 the `paren' argument of regex-opt-group for shy-groups.
7989 (regexp-opt-depth): Handle shy groups as well as backslashed
7991 (regexp-opt-group): Turn the leading comment into a docstring.
7992 Allow `paren' to be a string (the string to use to open a group).
7993 Remove open-presuf and close-presuf. Instead of checking for `all
7994 one-char' and then later on check for `several one-char', handle
7995 both cases close together. Also apply a more generic algorithm
7996 for suffixes (the mirror image of the algorithm used for
7997 prefixes). Use shy-groups. Use nreverse rather than reverse.
7998 (regexp-opt-try-suffix): Removed.
8000 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
8001 from comint-mode-map, so we can just inherit from it. Also, move
8002 the initialization into the `defvar' since there's no docstring
8003 anyway and it's fairly short.
8004 (inferior-scheme-mode): Define it as derived-mode: the code is
8005 shorter and this way we inherit from comint-mode-map rather than
8008 * subr.el (replace-regexps-in-string): Properly handle the case
8009 where we match an empty string.
8011 * comint.el (comint-exec-1): Add the current-dir to the exec-path
8012 when the command has a directory component (such as "./testml").
8013 Also fix a typo in the comment.
8015 2000-03-08 Gerd Moellmann <gerd@gnu.org>
8017 * Makefile (compile-files): Compile files one by one because
8018 that's the only way to ensure a clean compilation environment for
8019 each individual file.
8021 * frame.el (other-frame): Call x-focus-frame.
8023 2000-03-07 Dave Love <fx@gnu.org>
8025 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
8026 :require to defcustom.
8028 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
8031 * files.el (auto-mode-alist): Add configure.in.
8033 * progmodes/autoconf.el: New file.
8035 2000-03-07 Gerd Moellmann <gerd@gnu.org>
8037 * mail/mh-e.el: Change maintainer to `none'.
8039 * recentf.el (recentf-keep-non-readable-files-p): Quote args
8040 to remove-hook and add-hook.
8042 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8044 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
8046 (mail-send): Test mail-send-nonascii also for the new `mime' value.
8047 (sendmail-send-it): Conditionally add MIME headers specifying the
8050 2000-03-07 Dave Love <fx@gnu.org>
8052 * winner.el: Fix keywords, autoload cookies. Split
8053 eval-when-compile form to avoid compilation failure.
8055 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
8057 * international/mule.el: Modify comment about coding system
8058 property `coding-category'.
8059 (make-coding-system): New argument EOL-TYPE. Pay attention to
8060 coding-category property of PROPERTIES.
8062 * international/mule-conf.el (coding-category-utf-8,
8063 coding-category-utf-16-be, coding-category-utf-16-le): New coding
8064 categories. Include them in the argument for set-coding-priority.
8066 * international/mule-cmds.el (reset-language-environment): Include
8067 coding-category-utf-8, coding-category-utf-16-be, and
8068 coding-category-utf-16-le in the argument for set-coding-priority.
8069 (reset-language-environment): Initialize coding-category-utf-8,
8070 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
8072 2000-03-06 Karl Fogel <kfogel@red-bean.com>
8074 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
8075 code abstracted out of `bookmark-jump-noselect'. Now tries info
8076 extensions as well as compression extensions.
8077 (bookmark-jump-noselect): Use above new func.
8079 2000-03-03 Gerd Moellmann <gerd@gnu.org>
8081 * strokes.el: Change maintainer's mail address.
8083 2000-03-03 Kenichi Handa <handa@etl.go.jp>
8085 * international/mule-diag.el (list-character-sets): Make help-echo
8086 string by substitute-command-keys.
8087 (list-character-sets): Likewise.
8088 (sort-listed-character-sets): Call help-setup-xref.
8090 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8092 * time.el (display-time-mail-file): Add `none' to the list of
8095 2000-03-01 Dave Love <fx@gnu.org>
8097 * help.el (help-xref-go-back): Don't try to set position.
8099 * international/mule-diag.el (list-character-sets): Call
8100 help-setup-xref. Add help-echo to xrefs.
8101 (list-character-sets-1): Add help-echo to xrefs.
8103 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8105 * frame.el (blink-cursor-mode): Switch cursor on when turning
8108 * add-log.el (add-log-current-defun): Add support for
8111 * mail/rmail.el (rmail-quit-hook): New variable.
8113 2000-03-01 Dave Love <fx@gnu.org>
8115 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
8117 * help.el (help-xref-button): Add help-echo arg.
8118 (describe-function-1, describe-variable, help-make-xrefs): Use it.
8120 * faces.el (list-faces-display): Supply help-echo with
8123 * facemenu.el (list-text-properties-at): Set help-xref-stack to
8126 2000-03-01 Gerd Moellmann <gerd@gnu.org>
8128 * image.el (defimage): Look for image files in load-path.
8130 * frame.el (busy-cursor-delay-seconds): Change type to
8133 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8135 * recentf.el (recentf): Added version tag to the defgroup of
8138 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8140 * recentf.el (recentf-cleanup): Changed to remove excluded file
8142 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
8143 action to select/unselect a file.
8144 (recentf-edit-list): Code cleanup and improvement.
8145 (recentf-open-more-files-action): `recentf-open-more-files' button
8146 widget action to open a file.
8147 (recentf-open-more-files): No more use standard completion but
8149 (recentf-more-collection): Deleted.
8150 (recentf-more-history): Deleted.
8151 (recentf-setup-more-completion): Deleted.
8153 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8155 * recentf.el (recentf-mode): No more needs that Emacs is running
8156 under a window-system.
8158 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8160 * recentf.el (recentf-edit-list): New command to edit the recent
8161 list which allow the user to remove files.
8162 (recentf-edit-selected-items): New global variable, used by
8163 `recentf-edit-list' to hold the list of files to be removed from
8165 (recentf-make-menu-items): Updated to display a "Edit list..."
8166 menu item. Minor code cleanup.
8168 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8170 * recentf.el (recentf-open-more-files): New command to open files
8171 that are not displayed in the menu.
8172 (recentf-more-collection): New global variable holding the set of
8173 permissible completions used by `recentf-open-more-files'.
8174 (recentf-more-history): New global variable holding the history list
8175 used by `recentf-open-more-files' completion.
8176 (recentf-setup-more-completion): New function to setup completion for
8177 `recentf-open-more-files'.
8178 (recentf-make-menu-items): Updated to display a "More..." menu item.
8180 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8182 * recentf.el (recentf-menu-action): Doc fixed.
8184 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8186 * recentf.el (recentf-menu-filter): Doc updated.
8187 (recentf-update-menu-hook): Allow menu filters to force menu update.
8188 (recentf-make-menu-items): New menu filter handling.
8189 (recentf-make-menu-item): New helper function.
8190 (recentf-menu-elements): New menu handling function.
8191 (recentf-sort-ascending): Updated to new menu filter handling.
8192 (recentf-sort-descending): Updated to new menu filter handling.
8193 (recentf-sort-basenames-ascending): New menu filter function.
8194 (recentf-sort-basenames-descending): New menu filter function.
8195 (recentf-show-basenames): New menu filter function.
8196 (recentf-show-basenames-ascending): New menu filter function.
8197 (recentf-show-basenames-descending): New menu filter function.
8199 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8201 * diary-lib.el (list-diary-entries): Don't try to go forward at
8202 the end of the buffer.
8204 2000-02-29 Kenichi Handa <handa@etl.go.jp>
8206 * international/mule-diag.el (list-character-sets): Completely
8208 (sort-listed-character-sets): New function.
8209 (list-character-sets-1): Completely rewritten.
8210 (list-character-sets-2): New function.
8211 (non-iso-charset-alist): New variable.
8212 (decode-codepage-char): New function.
8213 (charset-history): New variable.
8214 (read-charset) (list-block-of-chars)
8215 (list-iso-charset-chars)
8216 (list-non-iso-charset-chars)
8217 (list-charset-chars): New functions.
8218 (mule-diag): Call list-character-sets-2, not
8219 list-character-sets-2.
8220 (dump-charsets): Likewise.
8222 2000-02-29 Gerd Moellmann <gerd@gnu.org>
8224 * dired-x.el (dired-filename-at-point): Add `@' to valid
8225 file name characters.
8226 (dired-filename-at-point): Handle ange-ftp file names.
8228 * frame.el (frame-notice-user-settings): Use assq-delete-all
8229 instead of assoc-delete-all.
8230 (frame-notice-user-settings): Ditto.
8232 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
8235 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
8237 * calculator.el (calculator-use-menu): New option.
8238 (calculator-initial-bindings): Changed some bindings to work as
8240 (calculator-forced-input): Removed.
8241 (calculator-restart-other-mode): New variable.
8242 (calculator-mode-map): Set up menu.
8244 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
8246 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
8249 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
8251 * viper-cmd.el (viper-envelop-ESC-key): added the option to
8252 translate all ESC key sequences.
8253 (viper-goto-mark-subr): restore markers for files for which
8255 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
8256 * viper-util.el (viper-set-replace-overlay-glyphs,
8257 viper-set-replace-overlay): always check if the replacement
8259 * viper.el (viper-vi-state-mode-list): added major modes.
8260 * ediff-wind.el: minor comment changes.
8261 * ediff.el: copyright notice date fix.
8263 2000-02-27 Jason Rumney <jasonr@gnu.org>
8265 * faces.el (face-font-family-alternatives): Add arial to helv.
8266 (mode-line, header-line, tool-bar): Same default as x for w32.
8267 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
8268 face-font-family-alternatives from working.
8269 * term/w32-win.el (mouse-set-font): Do not build fontset from
8272 2000-02-25 Sam Steingold <sds@goems.com>
8274 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
8277 2000-02-25 Richard M. Stallman <rms@gnu.org>
8279 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
8281 2000-02-25 Gerd Moellmann <gerd@gnu.org>
8283 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
8286 * frame.el (busy-cursor-delay-seconds): New option.
8288 2000-02-24 Gerd Moellmann <gerd@gnu.org>
8290 * frame.el (show-cursor-in-non-selected-windows): New option.
8292 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8294 * diary-lib.el (include-other-diary-files): Undo the selective
8295 display in any included file and don't kill it.
8297 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
8299 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
8300 bar. Menu items converted to (menu-item format, help strings
8302 [downcase, upcase]: Don't enable on MS-DOS.
8303 [symlink, symlinks]: Don't show if make-symbolic-link is not
8305 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
8307 2000-02-23 Dave Love <fx@gnu.org>
8309 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
8310 (backward-kill-word): Revert addition of * to interactive spec --
8313 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
8314 (backward-kill-sentence, kill-sentence): Likewise.
8316 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
8317 scratch buffer name.
8318 (gud-format-command): Use int-to-string in ?l case. Simplify
8321 * term/w32-win.el (internal-face-interactive): Update prompt for
8324 * mail/footnote.el (footnote): Add :version to defgroup.
8325 (footnote-section-tag-regexp): Customize.
8326 (footnote-start-tag, footnote-end-tag): New option.
8327 (footnote-latin-regexp): New variable.
8328 (Footnote-latin): New function.
8329 (footnote-style-alist): Add element for latin style.
8330 (footnote-style): Moved.
8331 (Footnote-goto-footnote): Use eq to test arg.
8333 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
8335 * emacs-lisp/byte-opt.el: Change old backquote syntax.
8336 (byte-compile-trueconstp): Include keywords.
8337 (byte-optimize-quote, byte-optimize-lapcode): Use
8338 byte-compile-const-symbol-p.
8339 (byte-optimize-char-before): New optimization.
8341 * emacs-lisp/bytecomp.el: Change old backquote syntax.
8342 (byte-compile-const-symbol-p): New function.
8343 (byte-compile-constp, byte-compile-out-toplevel)
8344 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
8347 * subr.el (define-key-after): Default AFTER to t. Doc fix.
8349 2000-02-23 Kenichi Handa <handa@etl.go.jp>
8351 * international/encoded-kb.el: Be sure to update minor-mode-alist
8352 and minor-mode-map-alist.
8353 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
8354 codes SS2 and SS3 correctly.
8355 (encoded-kbd-self-insert-ccl): New function.
8356 (encoded-kbd-setup-keymap): New function.
8357 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
8358 by calling encoded-kbd-setup-keymap.
8360 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
8362 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
8365 2000-02-22 Dave Love <fx@gnu.org>
8367 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
8368 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
8370 (lisp-mode-syntax-table): Set up for #|...|# comments.
8371 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
8372 classes. Match `defface'.
8373 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
8374 (eval-defun-1): Fix for defcustom.
8375 (lisp-indent-region): Doc fix.
8377 * subr.el (when, unless, split-string): Doc fix.
8378 (read-passwd): Move call of clear-this-command-keys to the right
8380 (replace-regexps-in-string): New function.
8382 2000-02-22 Gerd Moellmann <gerd@gnu.org>
8384 * help.el (describe-variable): Set syntax table to
8385 emacs-lisp-mode-syntax-table when moving forward over the
8388 2000-02-22 Dave Love <fx@gnu.org>
8390 * xt-mouse.el: Doc fixes.
8391 (xterm-mouse-position-function): New function, replacing advice of
8393 (xterm-mouse-mode): Use it. Don't turn on under a window system.
8395 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
8397 2000-02-21 Gerd Moellmann <gerd@gnu.org>
8399 * format.el (format-annotate-single-property-change): Handle
8400 properties.with dotted-list values.
8401 (format-proper-list-p): New function.
8403 * enriched.el (enriched-face-ans): Handle '(foreground-color
8404 . COLOR) and (background-color . COLOR).
8406 2000-02-20 Dave Love <fx@gnu.org>
8408 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
8409 and assignments to it.
8410 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
8412 (make-flyspell-overlay): Use it.
8413 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
8415 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
8416 (lm-get-header-re): Defun, not defsubst.
8417 (lm-get-package-name): Defun, not defsubst. Simplify.
8418 (lm-version): Doc fix. Simplify.
8419 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
8420 (lm-crack-address, lm-last-modified-date, lm-commentary)
8421 (lm-verify, lm-synopsis): Simplify.
8422 (lm-report-bug): Require emacsbug. Use compose-mail.
8424 2000-02-20 Gerd Moellmann <gerd@gnu.org>
8426 * dired.el (dired-mode): Call propertized-buffer-identification
8427 to set mode-line-buffer-identification to something having
8428 the right text properties.
8430 * bindings.el (propertized-buffer-identification): New function.
8432 2000-02-20 Dave Love <fx@gnu.org>
8434 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
8435 check for t-mouse too.
8437 * cus-start.el: Make echo-keystrokes `number'.
8439 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
8441 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
8442 Don't call ring-empty-p unless tags-location-ring is bound.
8443 From Noah Friedman <friedman@splode.com>.
8445 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
8447 * progmodes/hideshow.el (hs-flag-region): No longer use
8448 `intangible' overlay property.
8450 (hs-toggle-hiding): New command.
8451 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
8453 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
8454 Fix omission bug: Run `hs-minor-mode-hook' for both activation
8457 2000-02-18 Gerd Moellmann <gerd@gnu.org>
8459 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
8461 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8463 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
8465 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
8466 of `*' to handle `(* ... *)' comments.
8468 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
8470 * faces.el (list-faces-display): Use display-mouse-p instead of
8473 * menu-bar.el (global-map): Menu-bar items converted to the new
8474 format (menu-item..., rearranged for better CUA compliance, and
8475 their names changed for better clarity. Help strings added.
8477 * international/mule-cmds.el (mule-menu-keymap)
8478 (describe-language-environment-map, set-coding-system-map)
8479 (setup-language-environment-map): Convert to new (menu-item...
8480 form, add help strings. Change names of menu items for better
8481 clarity. "Mule" menu-bar item removed (it's now in the "Options"
8484 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8486 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
8489 2000-02-16 Dave Love <fx@gnu.org>
8491 * faces.el: Don't require custom. Add more specific :groups to
8493 (set-face-attribute): Purecopy args.
8494 (read-face-name): Default to name at point and use it in prompt.
8495 Remove colon from arg in all callers.
8496 (list-faces-display): Hyperlink to face descriptions and customize
8499 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
8501 * wid-edit.el (widget-match-inline): An atom never matches a
8504 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8506 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8507 at ':' characters by call to split-string.
8509 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8511 * textmodes/bibtex.el: Added RCS version identification.
8513 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8515 * textmodes/bibtex.el: Some temporary comments removed.
8516 (bibtex-field-name, bibtex-entry-type): Made the relationship
8518 (bibtex-field-const): Allow capital letters.
8519 (bibtex-start-of-string): Deleted because unused.
8521 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8522 use the term 'reference' to describe a bibtex entry as a whole.
8523 Further, reference keys are no longer called 'labels'.
8524 (bibtex-keys): Renamed to bibtex-reference-keys.
8525 (bibtex-reformat-previous-labels): Renamed to
8526 bibtex-reformat-previous-reference-keys.
8527 (bibtex-reference-type): Renamed to bibtex-entry-type.
8528 (bibtex-reference-head): Renamed to bibtex-entry-head.
8529 (bibtex-reference-maybe-empty-head): Renamed to
8530 bibtex-entry-maybe-empty-head.
8531 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8532 (bibtex-search-reference): Renamed to bibtex-search-entry.
8533 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8534 bibtex-enclosing-entry-maybe-empty-head.
8535 (bibtex-entry-field-alist, bibtex-entry-head,
8536 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8537 bibtex-map-entries, bibtex-search-entry,
8538 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8539 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8540 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8541 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8542 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8543 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8544 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8546 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8548 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8550 (bibtex-format-field-delimiters): New function, functionality
8551 extracted from bibtex-format-entry.
8552 (bibtex-autokey-get-yearfield-digits): New function, functionality
8553 extracted from bibtex-autokey-get-yearfield.
8555 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8556 entries in order to avoid stack overflow in the regexp matcher if
8557 field contents become large.
8558 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8559 bibtex-field-string-part-not-braced,
8560 bibtex-field-string-part-no-inner-braces,
8561 bibtex-field-string-part-1-inner-brace,
8562 bibtex-field-string-part-2-inner-braces,
8563 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8564 bibtex-field-string-quoted, bibtex-field-string,
8565 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8566 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8567 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8568 as parsing is now performed by the following functions.
8569 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8570 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8571 bibtex-parse-field-string, bibtex-search-forward-field-string,
8572 bibtex-parse-association, bibtex-field-name-for-parsing,
8573 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8574 bibtex-search-forward-field, bibtex-search-backward-field,
8575 bibtex-start-of-field, bibtex-end-of-field,
8576 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8577 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8578 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8579 bibtex-parse-string, bibtex-search-forward-string,
8580 bibtex-search-backward-string, bibtex-start-of-string,
8581 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8582 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8583 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8584 entries. Instead of reporting the results of the parsing by
8585 match-beginning or match-end, these functions return data structures
8586 that hold the corresponding positions.
8587 (bibtex-enclosing-field): Changed to also report field boundaries by
8588 return values rather than by match-beginning or match-end. The
8589 following functions have been adapted to use the new parsing
8591 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8592 bibtex-enclosing-field, bibtex-format-entry,
8593 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8594 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8595 bibtex-print-help-message, bibtex-end-of-entry,
8596 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8597 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8598 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8600 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8601 bibtex-map-entries, bibtex-flash-head,
8602 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8603 bibtex-autokey-change, bibtex-autokey-get-namefield,
8604 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8605 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8606 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8607 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8608 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8609 order to make the new binding of case-fold-search immediately
8612 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8614 * textmodes/bibtex.el: Copyright notice is up to date.
8615 Added constant 'bibtex-maintainer-salutation.
8617 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8618 than make-temp-name, use match-string-no-properties and eliminate
8619 a quadratic behavior when building bibtex-strings.
8621 * bibtex.el (bibtex-reference-key): Accept string entries whose
8622 reference key contains upper case letters.
8624 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8626 * bibtex.el (bibtex-reference-head): Allow entries to start with
8629 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8631 * bibtex.el: Hiding of entry bodies is not longer provided by
8632 bibtex.el directly. Instead the hideshow package can be used.
8633 Added a special bibtex entry to hs-special-modes-alist.
8634 (bibtex-hs-forward-sexp): Added for hideshow.el.
8636 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8638 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8639 at ':' characters by call to split-string.
8641 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8643 * textmodes/bibtex.el: Added RCS version identification.
8645 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8647 * textmodes/bibtex.el: Some temporary comments removed.
8648 (bibtex-field-name, bibtex-entry-type): Made the relationship
8650 (bibtex-field-const): Allow capital letters.
8651 (bibtex-start-of-string): Deleted because unused.
8653 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8654 use the term 'reference' to describe a bibtex entry as a whole.
8655 Further, reference keys are no longer called 'labels'.
8656 (bibtex-keys): Renamed to bibtex-reference-keys.
8657 (bibtex-reformat-previous-labels): Renamed to
8658 bibtex-reformat-previous-reference-keys.
8659 (bibtex-reference-type): Renamed to bibtex-entry-type.
8660 (bibtex-reference-head): Renamed to bibtex-entry-head.
8661 (bibtex-reference-maybe-empty-head): Renamed to
8662 bibtex-entry-maybe-empty-head.
8663 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8664 (bibtex-search-reference): Renamed to bibtex-search-entry.
8665 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8666 bibtex-enclosing-entry-maybe-empty-head.
8667 (bibtex-entry-field-alist, bibtex-entry-head,
8668 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8669 bibtex-map-entries, bibtex-search-entry,
8670 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8671 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8672 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8673 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8674 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8675 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8676 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8678 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8680 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8682 (bibtex-format-field-delimiters): New function, functionality
8683 extracted from bibtex-format-entry.
8684 (bibtex-autokey-get-yearfield-digits): New function, functionality
8685 extracted from bibtex-autokey-get-yearfield.
8687 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8688 entries in order to avoid stack overflow in the regexp matcher if
8689 field contents become large.
8690 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8691 bibtex-field-string-part-not-braced,
8692 bibtex-field-string-part-no-inner-braces,
8693 bibtex-field-string-part-1-inner-brace,
8694 bibtex-field-string-part-2-inner-braces,
8695 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8696 bibtex-field-string-quoted, bibtex-field-string,
8697 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8698 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8699 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8700 as parsing is now performed by the following functions.
8701 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8702 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8703 bibtex-parse-field-string, bibtex-search-forward-field-string,
8704 bibtex-parse-association, bibtex-field-name-for-parsing,
8705 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8706 bibtex-search-forward-field, bibtex-search-backward-field,
8707 bibtex-start-of-field, bibtex-end-of-field,
8708 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8709 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8710 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8711 bibtex-parse-string, bibtex-search-forward-string,
8712 bibtex-search-backward-string, bibtex-start-of-string,
8713 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8714 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8715 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8716 entries. Instead of reporting the results of the parsing by
8717 match-beginning or match-end, these functions return data structures
8718 that hold the corresponding positions.
8719 (bibtex-enclosing-field): Changed to also report field boundaries by
8720 return values rather than by match-beginning or match-end. The
8721 following functions have been adapted to use the new parsing
8723 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8724 bibtex-enclosing-field, bibtex-format-entry,
8725 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8726 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8727 bibtex-print-help-message, bibtex-end-of-entry,
8728 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8729 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8730 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8732 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8733 bibtex-map-entries, bibtex-flash-head,
8734 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8735 bibtex-autokey-change, bibtex-autokey-get-namefield,
8736 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8737 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8738 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8739 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8740 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8741 order to make the new binding of case-fold-search immediately
8744 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8746 * textmodes/bibtex.el: Copyright notice is up to date.
8747 Added constant 'bibtex-maintainer-salutation.
8749 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
8750 than make-temp-name, use match-string-no-properties and eliminate
8751 a quadratic behavior when building bibtex-strings.
8753 * bibtex.el (bibtex-reference-key): Accept string entries whose
8754 reference key contains upper case letters.
8756 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8758 * bibtex.el (bibtex-reference-head): Allow entries to start with
8761 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8763 * bibtex.el: Hiding of entry bodies is not longer provided by
8764 bibtex.el directly. Instead the hideshow package can be used.
8765 Added a special bibtex entry to hs-special-modes-alist.
8766 (bibtex-hs-forward-sexp): Added for hideshow.el.
8768 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8770 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
8771 proceedings entry type (for cross referencing). Thanks to Wagner
8772 Toledo Correa for the suggestion.
8774 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
8776 2000-02-14 Kenichi Handa <handa@etl.go.jp>
8778 * international/characters.el: Setup case table for Vietnamese.
8780 2000-02-12 Gerd Moellmann <gerd@gnu.org>
8782 * uniquify.el (toplevel): Require CL at compile time.
8783 (uniquify-push): Removed.
8785 * shadowfile.el (shadow-when): Removed.
8787 * tempo.el (tempo-dolist, tempo-mapc): Removed.
8788 (tempo-process-and-insert-string): Use dolist instead of
8791 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
8792 regexp for paragraph-start.
8794 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
8797 2000-02-10 Dave Love <fx@gnu.org>
8799 * wid-edit.el: (widgets) [defgroup]: Remove url link.
8800 (widget-color-choice-list, widget-color-history, widget-mouse-help):
8802 (widget-specify-field, widget-specify-button): Don't use
8803 widget-mouse-help as help-echo property.
8804 (default): Use #'ignore for :validate and :mouse-down-action.
8805 (checkbox): Add help-echo.
8806 (widget-sexp-validate): Rewritten to clarify error messages.
8807 (character): Use char-valid-p in :match function.
8808 (widget-color-complete): Use facemenu-color-alist.
8809 (widget-color-action): Use facemenu-read-color.
8811 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
8812 set up `caar' &c that we now have.
8814 2000-02-09 Ray Blaak <blaak@gnu.org>
8816 * delphi.el: Make resourcestring a declaration region, like const
8819 2000-02-09 Dave Love <fx@gnu.org>
8821 * bindings.el (mode-line-input-method-map): New variable.
8822 (mode-line-mule-info): Use it; fix last change.
8823 (mode-line-mode-menu): Move definition.
8824 (mode-line-mouse-sensitive-p): Deleted.
8825 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
8826 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
8829 * startup.el (command-line-1): Don't call
8830 make-mode-line-mouse-sensitive.
8832 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8834 * mail/rmail.el (rmail-retry-failure): Use
8835 rmail-beginning-of-message before rmail-toggle-header, because the
8836 former toggles headers.
8838 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
8840 * diff-mode.el (diff-kill-junk): New interactive function.
8841 (diff-reverse-direction): Use delete-and-extract-region.
8842 (diff-post-command-hook): Restrict the area so that the hook also works
8843 outside of any diff hunk. This is necessary for the minor-mode.
8844 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
8845 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
8847 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
8848 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
8849 so that it can be used more easily in <foo>-mode-hook. Also make sure
8850 to avoid duplicate entries.
8851 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
8852 (font-lock-remove-keywords): Just as was done for `add', allow it to
8853 work even if font-lock-mode is nil. Also make sure we don't modify
8854 any pre-existing list by forcing a copy-sequence. Finally rename
8855 `major-mode' to `mode'.
8856 (font-lock-fontify-syntactic-anchored-keywords)
8857 (font-lock-fontify-anchored-keywords)
8858 (font-lock-fontify-keywords-region): Use line-end-position.
8859 Don't make `font-lock-multiline' local (it's now done in
8860 font-lock-set-defaults).
8861 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
8862 move the `font-lock-fontified' creation to inside the `unless'.
8864 2000-02-06 Andrew Innes <andrewi@gnu.org>
8866 * term/w32-win.el (x-handle-args): Comment out call to message,
8867 which occurs before window system is initialized.
8869 * makefile.nt: Add support for recompiling lisp code.
8871 2000-02-04 Dave Love <fx@gnu.org>
8873 * bindings.el (mode-line-mule-info): Fix/extend last change.
8875 * completion.el: Replace completion-dolist with dolist.
8877 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
8880 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
8882 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
8883 environment names before they go into the section regexp.
8885 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
8886 char class in regexp.
8888 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
8889 `case-fold-search' to nil.
8891 * progmodes/idlwave.el (idlwave-template): Respect
8892 `idlwave-abbrev-change-case'.
8893 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
8894 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
8895 idlwave-while): respect `idlwave-reserved-word-upcase'.
8896 (idlwave-rw-case): New function.
8897 (idlwave-statement-match): Fixed problem with assignment regexp.
8898 (idlwave-font-lock-keywords): Improved regexp for keyword
8900 (idlwave-surround): New argument LENGTH to support padding of
8901 operators longer than 1 char.
8903 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
8904 idlwave-shell-expression-overlay. Implemented printing of
8905 expressions on higher levels of the calling stack.
8906 (idlwave-shell-display-level-in-calling-stack): Restore stack
8908 (idlwave-retrieve-expression-from-level): New function.
8909 (idlwave-shell-last-calling-stack): Variable removed.
8910 (idlwave-shell-reset): Argument action reversed (`visible' to
8911 `hidden'). Also remove stop-line overlay.
8912 (idlwave-shell-calling-stack-routine): New variable.
8913 (idlwave-shell-parse-stack-and-display): Messages now display
8914 negative level numbers.
8915 (idlwave-shell-mode): Set `modeline-format'.
8916 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
8917 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
8919 (idlwave-shell-print-expression-function): New option.
8921 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
8922 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
8923 `tool-bar' instead of `toolbar'.
8925 2000-02-02 Dave Love <fx@gnu.org>
8927 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
8928 emacs-lisp-mode-hook. Don't check for defalias being defined.
8930 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
8931 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
8932 the new builtins directly.
8934 * whitespace.el (whitespace): Add :version to defgroup.
8936 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
8939 * thingatpt.el (sexp-at-point, symbol-at-point)
8940 (number-at-point, list-at-point): Add autoload cookie.
8942 * recentf.el (recentf): Add :version to defgroup.
8944 * quickurl.el (quickurl): Add :version to defgroup.
8946 * elide-head.el (elide-head): Use point-marker more.
8948 * bs.el (bs): Add :version to defgroup.
8950 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
8952 * progmodes/delphi.el (delphi): Add :version to defgroup.
8954 2000-02-02 Gerd Moellmann <gerd@gnu.org>
8956 * ange-ftp.el (ange-ftp-write-region): Handle case that
8957 succeeding process operation sets a different coding system.
8959 * calculator.el: New file.
8961 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
8963 * frame.el (frames-on-display-list, framep-on-display): New
8965 (display-mouse-p, display-popup-menus-p, display-graphic-p)
8966 (display-selections-p, display-screens, display-pixel-width)
8967 (display-pixel-height, display-mm-width, display-mm-height)
8968 (display-backing-store, display-save-under, display-planes)
8969 (display-color-cells, display-visual-class): New functions.
8971 * term/tty-colors.el (tty-color-gray-shades): New function.
8973 * faces.el (display-color-p): Use framep-on-display.
8974 (display-grayscale-p): New function.
8976 2000-01-31 Dave Love <fx@gnu.org>
8978 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
8979 (create-fontset-from-x-resource): Don't concat integers.
8981 2000-01-31 Inge Frick <inge@nada.kth.se>
8983 * view.el: Some changes in documentation. Removed some trailing
8984 whitespace. Changed some parameter names to agree with
8986 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
8987 window is not deleted. Modifies change 1998-04-26.
8989 2000-01-31 Gerd Moellmann <gerd@gnu.org>
8991 * windmove.el: New file.
8993 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
8994 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
8995 progmodes/ebnf-yac.el: Update copyright and license info.
8997 * jit-lock.el (jit-lock-function): Widen before calculating end
8999 (jit-lock-stealth-chunk-start): Rewritten.
9001 * info.el (Info-title-face-alist): Removed.
9002 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
9004 (Info-fontify-node): Use these faces.
9006 2000-01-30 Gerd Moellmann <gerd@gnu.org>
9008 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
9009 (cl-macro-list1): Recognize `&allow-other-keys' instead of
9010 `&allow-other-keywords'.
9012 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
9013 the list of directories scanned heuristically.
9015 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
9018 2000-01-30 Jason Rumney <jasonr@gnu.org>
9020 * w32-fns.el: Define w32-tty-standard-colors.
9022 * startup.el (command-line): Use w32-tty-standard-colors when in
9025 2000-01-30 Dave Love <fx@gnu.org>
9027 * jka-compr.el (jka-compr-load): Fix up load-history.
9029 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
9031 * emacs-lisp/cl-macs.el: Revert previous change.
9033 2000-01-29 Dave Love <fx@gnu.org>
9035 * facemenu.el: Purecopy various strings.
9037 * timezone.el (timezone-fix-time): Window against 69 for two-digit
9038 years. Deal with three-digit years.
9040 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
9042 (help-back-label): Purecopy it.
9044 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9046 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
9047 variable. If non-nil, order the buffer list according to the
9048 currently selected frame.
9049 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
9050 non-nil, pass the selected frame to function buffer-list.
9052 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9054 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
9056 2000-01-28 Dave Love <fx@gnu.org>
9058 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
9060 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
9061 Don't use lisp-indent-hook property.
9064 * subr.el: Move out indent and edebug specs for when and unless.
9066 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
9069 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
9072 2000-01-28 Gerd Moellmann <gerd@gnu.org>
9074 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
9075 `collecting' as synonym for `collect'.
9077 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
9078 for the case it contains spaces.
9080 * simple.el (what-cursor-position): Change formatting of
9083 * frame.el (delete-other-frames): New function.
9084 (toplevel): Bind it to C-x 5 1.
9086 * sort.el (sort-numeric-base): New option.
9087 (sort-numeric-fields): If number starts with `0' or `0[xX[',
9088 interpret it as octal or hexadecimal. Use sort-numeric-base
9091 * progmodes/glasses.el: New file.
9093 2000-01-27 Gerd Moellmann <gerd@gnu.org>
9095 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
9096 userids differently.
9098 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9099 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9100 progmodes/ebnf-yac.el: New files.
9102 2000-01-26 Dave Love <fx@gnu.org>
9104 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
9105 on a function with an empty body. [From Eric Ludlam.]
9107 2000-01-25 Andre Spiegel <spiegel@gnu.org>
9109 * vc.el (vc-version-diff): Make sure file name is expanded.
9111 2000-01-25 Gerd Moellmann <gerd@gnu.org>
9113 * scroll-bar.el (scroll-bar-timer): Variable removed.
9114 (scroll-bar-toolkit-scroll): Don't use a timer.
9116 2000-01-25 Kenichi Handa <handa@etl.go.jp>
9118 * language/thai-util.el (thai-composition-function): Delete
9121 2000-01-24 Dave Love <fx@gnu.org>
9123 * fortran.el (fortran-mode): Use beginning-of-defun-function,
9124 end-of-defun-function.
9126 * font-lock.el (turn-on-font-lock): Don't depend on window-system
9129 2000-01-22 Jason Rumney <jasonr@gnu.org>
9131 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
9132 conflicts with new face support.
9134 2000-01-22 Richard M. Stallman <rms@gnu.org>
9136 * replace.el (query-replace): Rename last arg to DELIMITED.
9137 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
9138 (query-replace-regexp): Likewise.
9140 2000-01-20 Richard M. Stallman <rms@gnu.org>
9142 * subr.el (with-syntax-table): Use make-symbol, not gensym.
9144 * emacs-lisp/lisp.el (beginning-of-defun-function):
9145 Variable renamed from beginning-of-defun.
9146 Do not call make-variable-buffer-local.
9147 (beginning-of-defun-raw): Use new variable name; doc fix.
9148 (beginning-of-defun): Doc fix.
9149 (end-of-defun-function): Variable renamed from end-of-defun.
9150 Do not call make-variable-buffer-local.
9151 (end-of-defun): Use new variable name; doc fix.
9153 * subr.el (dolist, dotimes): Copied from cl-macs.el
9156 * mail/undigest.el (rmail-digest-end-regexps):
9157 Variable replaces rmail-digest-end-regexp.
9158 Allows multiple regexps for detecting the end line.
9159 (undigestify-rmail-message): Corresponding changes.
9161 2000-01-19 Dave Love <fx@gnu.org>
9163 * files.el (user-init-file): Don't declare here -- is primitive.
9165 * startup.el (command-line): Check for compiled user-init-file and
9166 set to uncompiled version if necessary.
9168 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9170 * mail/undigest.el (rmail-digest-end-regexp): New user option.
9171 (undigestify-rmail-message): Use it.
9173 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
9175 2000-01-17 Gerd Moellmann <gerd@gnu.org>
9177 * tmm.el (tmm-goto-completions): Adapt to prompt being part
9180 2000-01-14 Gerd Moellmann <gerd@gnu.org>
9182 * emacs-lisp/copyright.el (copyright-update): Removed the
9183 requirement for a trailing space from `copyright-regexp', to
9184 support copyrights with owner specified on a separate line..
9186 * align.el: New file.
9188 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
9190 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
9192 2000-01-13 Dave Love <fx@gnu.org>
9194 * ph.el: Removed. (Obsoleted by EUDC.)
9196 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9198 * net/eudc.el (toplevel): Remove autoloaded code installing
9199 menu with easymenu, because that causes build problems.
9201 * frame.el (frame-notice-user-settings): New variable.
9202 (frame-notice-user-settings): Don't modify frame parameters
9203 if called a second time.
9205 2000-01-13 Richard M. Stallman <rms@gnu.org>
9207 * frame.el (frame-notice-user-settings):
9208 Notice default-frame-parameters even for non-window frames.
9210 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9212 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
9214 (eudc-bob-can-display-inline-images): Extend for Emacs.
9215 (eudc-bob-toggle-inline-display): Ditto.
9216 (eudc-bob-display-jpeg): Ditto.
9218 2000-01-12 Gerd Moellmann <gerd@gnu.org>
9220 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
9221 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
9222 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
9224 * add-log.el (add-change-log-entry): Fix error trying an `(insert
9227 * subdirs.el: Add `net' directory.
9229 * net: New directory.
9231 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
9232 eval-last-sexp. Don't bind debug-on-error here.
9233 (eval-last-sexp): New function. Bind debug-on-error if
9234 eval-expression-debug-on-error is non-nil.
9235 (eval-defun-2, eval-defun): Likewise.
9237 * simple.el (eval-expression): Don't bind debug-on-error if
9238 eval-expression-debug-on-error is nil. Detect changed
9239 debug-on-error, and propagate new value to global binding, if
9240 eval-expression-debug-on-error is non-nil,
9241 (eval-expression-debug-on-error): Change doc string.
9243 2000-01-11 Richard M. Stallman <rms@gnu.org>
9245 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
9247 * emacs-lisp/lisp-mode.el (with-syntax-table):
9248 Set up lisp-indent-function property.
9250 * subr.el (with-syntax-table): Moved from simple.el.
9252 * simple.el (with-syntax-table): Moved to subr.el.
9254 2000-01-11 Gerd Moellmann <gerd@gnu.org>
9256 * tmm.el (tmm-shortcut): Delete region after prompt instead
9259 * textmodes/fill.el (fill-common-string-prefix): New function.
9260 (fill-context-prefix): Use the longest common prefix of first
9261 and second line fill prefix, if there is one.
9263 2000-01-11 Richard M. Stallman <rms@gnu.org>
9265 * array.el (array-mode): Don't use make-variable-buffer-local.
9266 Use make-local-variable for `truncate-lines'.
9268 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
9270 * add-log.el (add-log-current-defun): Handle user-defined
9271 add-log-current-function returning nil,
9273 * add-log.el (add-change-log-entry): Insert version number
9274 if having found a current function
9276 * add-log.el (add-log-current-defun): Call
9277 `add-log-current-defun-function'. Try matches at level 0 and
9278 level 1. Strip whitespace from defun found.
9280 2000-01-10 John Wiegley <johnw@gnu.org>
9282 * allout.el (isearch-done/outline-provisions): Added `edit'
9283 argument to correspond with the current definition of
9286 2000-01-10 Dave Love <fx@gnu.org>
9288 * elide-head.el (elide-head): Use point-marker, not point.
9290 2000-01-10 Gerd Moellmann <gerd@gnu.org>
9292 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
9293 before and after the year 2000.
9295 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
9298 2000-01-10 Ken Stevens <k.stevens@ieee.org>
9300 * ispell.el: Only define dictionaries in menus when they exist.
9301 (version18p): New variable.
9302 (version20p): New variable.
9303 (xemacsp): New variable.
9304 (ispell-choices-win-default-height): Fix for XEmacs visibility.
9305 (ispell-dictionary-alist1): Added Brasileiro dictionary.
9306 (ispell-dictionary-alist6): Russian command lines no longer accept
9308 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
9309 (ispell-dictionary-alist): Add koi8-r to customize definition.
9310 (check-ispell-version): Added documentation string. Returns
9311 library path when called non-interactively.
9312 (ispell-menu-map-needed): Uses new variables.
9313 (ispell-library-path): New variable.
9314 (ispell-decode-string): XEmacs fix for bogus variable bindings.
9315 (ispell-word): Improved documentation string. Test for valid
9316 character mappings. Correctly check typed in word changes that can
9317 result in single words split into multiple words. Returns
9319 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
9320 replace in recursive query replace mode. Help message for
9321 recursive edit mode.
9322 (ispell-show-choices): Protect against bad framepop bindings.
9323 (ispell-help): Fix to work with XEmacs.
9324 (ispell-highlight-spelling-error): Use new variables.
9325 (ispell-overlay-window): Fix to work with XEmacs.
9326 (ispell-parse-output): Passed and returns location information
9327 tracking spelling corrections. Doesn't recheck same word on
9329 (ispell-init-process): Protect against bogus XEmacs variable binding.
9330 Fix call to single argument in sleep-for. Use new variables.
9331 (ispell-region): Passed and returns location information tracking
9332 spelling corrections. Doesn't check same word on current line.
9333 Improved documentation string. Doesn't resend a line already
9334 checked to the ispell process - fixes bug in LaTeX parsing.
9335 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
9336 (ispell-skip-region): No longer skips <TT> in SGML.
9337 (ispell-process-line): Tracks location information with spelling
9338 corrections. Added documentation string. Accounts for words
9339 already accepted on this line. Don't allow query-replace on line
9340 starting with math characters. Doesn't resend a line already sent
9341 to ispell process. Fixes alignment error bug.
9343 2000-01-10 Richard M. Stallman <rms@gnu.org>
9345 * dired-x.el (dired-guess-shell-alist-default):
9346 Suggest xloadimage, which is free, not xv, which isn't.
9348 * ange-ftp.el (ange-ftp-file-name-nondirectory):
9349 Don't ever include the host name or user name in the value.
9351 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9353 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
9356 2000-01-09 Stephen Eglen <stephen@gnu.org>
9358 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
9361 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
9363 * cus-edit.el (custom-hook-convert-widget): Fix comment.
9365 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9367 * progmodes/cperl-mode.el: Replace ^F with ^L.
9369 * sendmail.el (toplevel): Provide `sendmail' when compiling
9370 before `require'ing rmail and mailalias to prevent infinite
9373 2000-01-08 Dave Love <fx@gnu.org>
9375 * emacs-lisp/backquote.el: Remove inappropriate customization
9376 (allowing custom.el to use backquote).
9378 2000-01-07 Dave Love <fx@gnu.org>
9380 * add-log.el (add-log-debugging): Deleted.
9381 (add-change-log-entry): Treat a backup FILE-NAME as its parent
9382 file. Remove debugging code.
9383 (change-log-get-method-definition, change-log-name): Add doc.
9384 (change-log-sortable-date-at): New function.
9385 (change-log-merge): New command.
9387 * time.el (display-time-string-forms): Make the Mail string active.
9388 (display-time-update): Provide help-echo for load average.
9390 * bindings.el (make-mode-line-mouse2-map): New function.
9391 (mode-line-modified): Use it and simplify.
9392 (mode-line-mule-info): Provide help-echo info.
9393 (minor-mode-alist): Activate the strings.
9394 (make-mode-line-mouse-sensitive): Simplify for
9395 mode-line-buffer-identification.
9397 2000-01-07 Gerd Moellmann <gerd@gnu.org>
9399 * play/pong.el: New file.
9401 2000-01-06 Dave Love <fx@gnu.org>
9403 * array.el: Assorted cleanups for compiler warnings, doc strings,
9404 `array-' prefix for symbols.
9406 2000-01-05 Dave Love <fx@gnu.org>
9408 * textmodes/outline.el (outline-mode-menu-bar-map): Add
9409 outline-headers-as-kill.
9410 (outline-mode): Define imenu-generic-expression.
9411 (outline-headers-as-kill): New command.
9413 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
9414 from paragraph-start.
9415 (paragraph-indent-minor-mode): New command.
9417 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
9418 M-C-e, M-C-h, C-j, C-xnd, TAB.
9419 (fortran-mode): Set beginning-of-defun, end-of-defun.
9420 (fortran-column-ruler): Simplify.
9421 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
9422 (fortran-with-subprogram-narrowing): Likewise.
9423 (fortran-indent-subprogram): Call mark-defun.
9424 (fortran-check-for-matching-do): Change narrowing.
9426 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
9427 (cl-lucid-hash-tag): Delete.
9428 (cl-hash-table-p): Correct test for native table.
9429 (cl-hash-table-count): Use hash-table-count.
9431 * browse-url.el (browse-url): Fix case of
9432 browse-url-browser-function being an alist.
9434 2000-01-05 Carsten Dominik <cd@gnu.org>
9436 * textmodes/reftex-vars.el (reftex-parse-file-extension)
9437 (reftex-index-phrase-file-extension): New options.
9439 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
9440 Use new option `reftex-index-phrase-file-extension'.
9442 * textmodes/reftex.el (reftex-access-parse-file): Use new option
9443 `reftex-parse-file-extension'.
9445 2000-01-05 Dave Love <fx@gnu.org>
9447 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
9448 (beginning-of-defun-raw): Use it.
9449 (end-of-defun): New variable.
9450 (end-of-defun): Use it.
9451 (check-parens): New command.
9453 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
9455 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
9456 (hs-show-block): Don't use `mapcar' when not accumulating.
9458 Fix buglet in local variables initialization.
9460 2000-01-05 Andreas Schwab <schwab@suse.de>
9462 * hscroll.el (hscroll): Doc fix.
9464 2000-01-05 Carsten Dominik <cd@gnu.org>
9466 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
9469 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
9471 (idlwave-customize): load must read file idlw-shell.el.
9472 (idlwave-create-customize-menu): load must read file idlw-shell.el.
9474 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
9476 * progmodes/idlw-shell.el: Also provide idlwave-shell
9477 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
9478 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
9480 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
9481 both reftex-dcr and reftex-vcr.
9483 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
9485 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9487 * ps-print.el: PostScript code now is in separate files, doc fix.
9488 (ps-print-version): New version number (5.0.3).
9489 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
9491 (ps-spool-config): Initialization fix.
9492 (ps-print-prologue-1, ps-print-prologue-2)
9493 (ps-print-duplex-feature): PostScript code moved to separated file.
9494 (ps-background-image): Little code reformating.
9495 (ps-begin-file, ps-begin-job): Fix code.
9496 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
9497 (ps-prologue-file): New fun.
9499 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9501 * ps-vars.el: Eliminated.
9503 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
9506 * ps-print.el: ps-vars eliminated, doc fix.
9507 (ps-print-version): New version number (5.0.2).
9508 (ps-spool-config): Initialization fix.
9509 (ps-print-customize): New fun.
9511 2000-01-04 Gerd Moellmann <gerd@gnu.org>
9513 * autorevert.el (auto-revert-mode): Return value of
9516 2000-01-04 Dave Love <fx@gnu.org>
9518 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
9521 2000-01-03 Dave Love <fx@gnu.org>
9523 * elide-head.el (elide-head) [defgroup]: Add :version.
9525 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
9526 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
9527 `cl-hash-table-p', not `hash-table-p'.
9528 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
9530 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9532 * faces.el (face-read-integer, read-face-attribute)
9533 (color-defined-p, color-values): unspecified-{f,b}g are now
9536 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
9538 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
9539 at comment end, and re-insert them after filling.
9541 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9543 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
9544 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
9545 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
9547 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9549 * term/x-win.el (xw-defined-colors): Call color-supported-p,
9550 the new name of face-color-supported-p.
9552 * term/w32-win.el (xw-defined-colors): Likewise.
9554 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9556 * simple.el (completion-setup-function): Count completion-size
9557 from minibuffer-prompt-end, not from point-min.
9559 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
9561 * faces.el (read-face-attribute, defined-colors, color-defined-p):
9562 Pass the frame to tty-color-* functions.
9563 (display-color-p, frame-set-background-mode): Pass the frame to
9564 tty-display-color-p.
9566 * term/tty-colors.el (tty-defined-color-alist): Renamed from
9568 (tty-color-alist, tty-modify-color-alist): New functions.
9569 (tty-color-define, tty-color-clear, tty-color-approximate)
9570 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
9571 an optional parameter FRAME.
9573 2000-01-01 Gerd Moellmann <gerd@gnu.org>
9575 * image.el (create-image, defimage): Don't assume image data is a
9578 * image.el (defimage): Handle specifications containing :data
9580 (image-type-from-data): New function.
9581 (image-type-from-file-header): Use it.
9582 (create-image): Add parameter DATA-P.
9584 See ChangeLog.8 for earlier changes.
9587 ;; coding: iso-2022-7bit-unix