1 2000-10-08 Dave Love <fx@gnu.org>
3 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
5 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
7 * play/studly.el (studlify-region, studlify-word): Add autoload
10 * play/morse.el (morse-region, unmorse-region): Add autoload
13 * play/spook.el (spook-phrases-file): Use expand-file-name, not
16 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
17 insist on symbols starting with word syntax.
18 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
19 (eval-defun-1): Doc fix.
20 (indent-sexp): Use nconc to build up indent-stack.
22 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
24 (mail-setup-hook): Add mail-abbrevs-setup to options.
26 * recentf.el: Doc fixes.
28 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
31 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
32 without timezone and (8) with timezone to enforce some whitespace.
33 Simplify code somewhat.
35 * options.el (list-options): Doc that you should use customize.
37 * iswitchb.el (iswitchb-mode): Add :require.
39 * info.el (Info-goto-node, Info-menu): Doc fix.
40 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
41 (info-tool-bar-map): New variable.
43 (Info-edit-map): Define all in defvar.
44 (speedbar-attached-frame): Avoid compiler warning.
46 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
47 (global-map): Bind [tool-bar] to a filtered map.
48 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
49 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
51 (tool-bar-setup): Adjust calls of tool-bar-add-item.
53 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
54 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
55 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
56 icons, except up_arrow, which is left-arrow rotated.
58 * imenu.el (imenu-add-to-menubar): Fix last change.
60 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
62 * generic-x.el (rul-generic-mode): Remove eval-when-compile
63 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
65 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
67 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
70 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
71 the doc strings how to customize Font Lock faces.
73 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
74 computing growth when dragging the header line.
76 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
78 * simple.el (kill-line): Doc fix.
80 2000-10-08 Miles Bader <miles@gnu.org>
82 * faces.el (secondary-selection): Make foreground visible on tty.
84 * jka-compr.el (auto-compression-mode): Move to the end of the
85 file, because `define-minor-mode' actually calls the mode-function
86 if the associated variable is non-nil, which requires that all
87 needed functions be already defined.
88 (with-auto-compression-mode): Add autoload cookie.
90 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
92 * files.el (find-backup-file-name) [ms-dos]: If support for long
93 file names is not available, behave as if version-control were set
96 2000-10-07 Dave Love <fx@gnu.org>
98 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
99 (browse-url-gnome-moz): New function.
100 (browse-url-browser-function): Use it.
101 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
103 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
105 * indent.el (tab-always-indent): New var.
106 (indent-for-tab-command): Use it.
108 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
109 raise an error. This way it can still default to a sane value.
111 * startup.el (fancy-splash-screens): Use local rather than global map.
112 Don't use `update-menu-bindings' any more.
113 Get rid of assumptions about keymap representation.
115 2000-10-06 Dave Love <fx@gnu.org>
117 * textmodes/fill.el (sentence-end-double-space)
118 (sentence-end-without-period): Doc fix.
119 (adaptive-fill-regexp): Purecopy.
120 (unjustify-current-line): Use line-end-position.
121 (fill-individual-paragraphs-prefix): Use line-beginning-position.
123 * net/eudc-vars.el (eudc): Add :version, :link.
125 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
127 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
128 Fix for define-minor-mode.
129 (function-at-point): Alias to function-called-at-point.
131 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
133 * simple.el (backward-word): Doc fix.
135 * image-file.el (image-file-name-regexp): image-file-regexps ->
136 image-file-name-regexps.
137 (image-file-name-extensions): Add pbm.
139 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
141 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
142 and add filename to the names so that diff-mode can jump to source.
144 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
145 (tex-font-lock-keywords, tex-font-lock-keywords-2)
146 (tex-font-lock-keywords-1): Remove.
147 (font-lock-turn-on-thing-lock): Use jit-lock-register.
148 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
149 (font-lock-default-fontify-region):
150 Expand beg..end correctly when just following a multiline region.
151 (font-lock-fontify-anchored-keywords):
152 Include the anchor text as part of the multiline.
154 2000-10-06 Gerd Moellmann <gerd@gnu.org>
156 * loadup.el (toplevel): Load `loaddefs' before `help' because the
157 latter needs the autoloaded define-minor-mode macro during the
160 * startup.el (command-line): For now, activate tool-bar-mode only
161 if XPM images are supported.
163 * mouse.el (mouse-drag-header-line): Don't allow resizing a
164 window by dragging a header-line at the top of the frame; that's
165 confusing because the header-line doesn't move.
166 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
167 of treating the event as a list. Some cleanup.
169 2000-10-06 Miles Bader <miles@gnu.org>
171 * simple.el (display-message-or-buffer): New function.
172 (shell-command-on-region): Use `display-message-or-buffer'.
174 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
177 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
178 (smbclient-prompt-regexp): Add usage note to doc string.
179 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
180 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
181 Use add-hook for adding the comint filter function, and only do so
182 if it's not already in the global hook list.
183 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
184 to `make-local-variable'.
185 (nslookup-font-lock-keywords): Remove prompt entry.
186 (nslookup): Don't set the process-filter.
187 (finger): Exit the loop correctly when the regexps list runs out.
188 (ftp, smbclient, smbclient-list-shares):
189 Set the real major mode immediately, not after execing.
190 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
192 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
194 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
196 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
198 * which-func.el (which-func-format): Remove spurious space.
199 (which-func-mode): Don't make it permanent-local.
200 (which-func-ff-hook): Allow which-func-maxout to be nil.
201 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
202 (which-func-mode): Simplify.
203 Use post-command-idle-hook rather than post-command-hook.
204 Go through all buffers and update their state.
205 (which-function): Also try add-log-current-defun-function.
207 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
208 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
209 Update call to with-vc-properties accordingly.
210 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
211 (vc-revert-buffer): More careful about window selection and deletion.
212 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
214 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
215 (cvs-retrieve-revision): Reuse a pre-existing buffer.
216 (cvs-dired-action): Change the default to quickdir.
218 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
219 if comment-indent-function returns nil.
220 (comment-indent-default): New function.
221 (comment-indent-function): Use it and document the new semantics.
223 * image-file.el: Docstring fixes.
225 * help.el (help-xref-on-pp): Use match-string.
226 (describe-variable): New arg BUFFER.
227 Store the current buffer in the help-xref-stack.
228 (temp-buffer-resize-mode): Use define-minor-mode.
230 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
231 consistently with its docstring.
232 Set jit-lock-first-unfontify-pos in an idempotent way.
233 (jit-lock-register): Autoload and add arg CONTEXTUAL.
235 2000-10-05 Alex Schroeder <alex@gnu.org>
237 * sql.el (sql-mysql-options): New variable.
240 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
242 * image.el (image): New group.
244 * smerge-mode.el (smerge-mine-face, smerge-other-face)
245 (smerge-base-face, smerge-markers-face): Add dark-background variants.
247 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
249 * net/net-utils.el (nslookup-font-lock-keywords)
250 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
251 Ignore the value of wqindow-system; always define keywords
253 2000-10-05 Kenichi Handa <handa@etl.go.jp>
255 * startup.el (fancy-splash-screens): Remove the code for
256 debugging; `(trace-to-stderr "EXITTT\n")'.
258 2000-10-05 Miles Bader <miles@gnu.org>
260 * diff-mode.el (diff-goto-source): Update call to
261 `diff-hunk-status-msg' to reflect new REV variable.
263 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
265 * progmodes/icon.el (icon-mode):
266 Don't gratuitously override the default for comment-column.
268 * vc-hooks.el (vc-mode-line): Fix interactive spec.
270 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
271 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
272 (jit-lock-functions): New var.
273 (jit-lock-function-1): Use it if non-nil.
274 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
275 Set the `fontified' property before doing the fontification to avoid
276 repeatedly going through the same error.
277 Don't turn errors into messages.
278 (jit-lock-register, jit-lock-unregister): New functions.
280 * dired.el (dired-mark-pop-up): Turn comment into docstring.
281 Use with-current-buffer.
283 * dired-aux.el (dired-do-create-files, dired-kill-tree):
284 Turn comment into docstring.
286 * apropos.el (apropos-mode): Use define-derived-mode.
288 2000-10-04 Gerd Moellmann <gerd@gnu.org>
290 * startup.el (fancy-splash-pending-command): New variable.
291 (fancy-splash-pre-command): New function.
292 (fancy-splash-screens): Rewritten.
293 (command-line-1): If fancy-splash-pending-command is set, call it
296 2000-10-04 Dave Love <fx@gnu.org>
298 * toolbar/tool-bar.el (tool-bar-setup): New function.
299 (tool-bar-mode): Use it.
301 * subr.el (substitute-key-definition): Doc fix.
302 (play-sound-file): New command.
304 2000-10-04 Andre Spiegel <spiegel@gnu.org>
306 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
307 vc-version-backup-file-name): New functions.
309 * files.el (basic-save-buffer): Call vc-before-save before saving.
311 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
314 * vc.el (vc-revert-buffer): Handle empty diff properly.
315 (vc-version-backup-file): New function.
316 (vc-checkout): Create a version backup if necessary.
317 (vc-checkin): If a version backup file exists, delete it.
318 (vc-version-diff): Diff locally using version backups, if available.
319 (vc-revert-file): If there's a version backup, revert locally.
320 (vc-transfer-file): Use version backup for base version, if
321 available. If not, ask for confirmation whether to get it from the
322 server. Update mode line before check-in.
324 2000-10-04 Dave Love <fx@gnu.org>
326 * toolbar/tool-bar.el (tool-bar-setup): New function.
327 (tool-bar-mode): Use it.
329 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
331 * net/net-utils.el (nslookup-font-lock-keywords)
332 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
333 Only set if window-system is non-nil
334 (net-utils-run-program): Returns buffer.
335 (network-connection-reconnect): Added this function.
338 Incorporates extensive cleanup and docfixes by
339 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
340 Uses cl compile-time macros.
341 (generic-mode-name, generic-comment-list)
342 (generic-keywords-list, generic-font-lock-expressions)
343 (generic-mode-function-list, generic-mode-syntax-table):
345 (generic-mode-alist): Renamed to generic-mode-list.
346 (generic-find-file-regexp): Default changed to "^#".
347 (generic-read-type): Uses completing read on generic-mode-list.
348 (generic-mode-sanity-check): removed this function.
349 (generic-add-to-auto-mode): Removed this function
350 (generic-mode-internal): Bind mode-specific definitions
351 into function instead of putting them in alist.
352 (generic-mode-set-comments): Reworked extensively.
353 (generic-mode-find-file-hook): Simplified regexp searching
354 (generic-make-keywords-list): Omit extra pair of parens
356 * find-lisp.el (find-lisp-find-files-internal):
357 Make sure directory name ends with "/".
359 * generic-x.el (apache-conf-generic-mode):
360 Regexp now allows leading whitespace.
361 (rc-generic-mode): Added eval-when-compile
362 around generic-make-keywords-list.
363 Deleted duplicate regexp
364 (rul-generic-mode): Added eval-when-compile
365 around generic-make-keywords-list.
366 (etc-fstab-generic-mode): New generic mode.
367 (rul-generic-mode): Removed one eval-when-compile
368 which caused a max-specpdl-size exceeded error.
370 2000-10-04 Miles Bader <miles@gnu.org>
372 * simple.el (minibuffer-temporary-goal-position): New variable.
373 (next-history-element): Try to keep the position of point in the
374 input string constant.
376 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
377 (dired-do-create-files): If there's only one file, pass it in as
378 the DEFAULT arg to dired-mark-read-file-name.
380 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
382 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
383 (diff-goto-source): Be smarter when choosing REVERSE or not.
385 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
386 (texinfo-mode-menu): Add an explicit shortcut for update all.
388 2000-10-03 Andre Spiegel <spiegel@gnu.org>
390 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
391 factorize backend-specific code cleanly (this was essentially
392 conceived by Stefan Monnier).
393 (vc-unregister): Function removed.
394 (vc-revert-file): New function.
395 (vc-revert-buffer): Delegate some of the work to it.
397 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
398 default branch unconditionally.
399 (vc-rcs-set-default-branch): New function.
400 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
401 (vc-rcs-checkin): If an appropriate default branch has been set,
402 force creation of that branch.
403 (vc-rcs-receive-file): Rewritten to contain only backend-specific
404 code (as suggested by Stefan Monnier).
406 2000-10-02 Gerd Moellmann <gerd@gnu.org>
408 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
409 highlighting overlay with a different face over the overlay
410 isearch uses to highlight the current match because that can lead
411 to bad face combinations.
413 * loadup.el (toplevel): Load faces before isearch.
415 * isearch.el (isearch-faces): New custom group.
416 (isearch): New defface; was already tested for in the code.
417 (isearch-lazy-highlight-face): Changed to defface from defcustom.
418 (isearch-highlight): Always use face `isearch'.
420 2000-10-02 Dave Love <fx@gnu.org>
422 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
423 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
424 comparison of opcode with operand.
426 2000-10-03 Miles Bader <miles@gnu.org>
428 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
429 buffer, since the echo area will now grow to accommodate them.
431 2000-10-02 Andre Spiegel <spiegel@gnu.org>
433 * vc-hooks.el (vc-registered): If FILE used to be registered under
434 a certain backend, try that one first.
436 * vc.el (vc-responsible-backend): Undo the previous change in the
437 argument list. Handle multiple backends correctly.
438 (vc-find-new-backend): Function removed.
439 (vc-register): Use vc-responsible-backend, as before.
440 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
442 2000-10-02 Gerd Moellmann <gerd@gnu.org>
444 * startup.el (fancy-splash-head): Change message below the
447 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
449 * diff-mode.el (diff-goto-source): Emit a status message.
450 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
451 (diff-test-hunk): Fix doc string.
452 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
453 (diff-advance-after-apply-hunk): New variable.
454 (diff-apply-hunk): Don't return a value.
456 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
458 * vc.el (vc-editable-p): Minor optimization.
459 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
460 (vc-find-new-backend): New function split from vc-responsible-backend.
461 (vc-register): Use it.
462 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
463 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
464 (vc-default-unregister, vc-revert-buffer): Docstring fix.
465 (vc-clear-headers): Don't use find-file.
466 (vc-revert-buffer): Use `and' again (must have been a braino).
467 (vc-switch-backend): Only prompt if requested.
468 Short circuit if nothing is to be done.
469 Don't use vc-resynch-buffer which could lose unsaved editing.
470 (vc-default-receive-file): Update call to vc-unregister.
471 (with-vc-file, vc-next-action-on-file):
472 Use vc-backend rather than vc-registered.
473 (vc-next-action-on-file): Use intern-soft.
474 Deal with read-only *vc-diff* buffer.
475 (vc-transfer-file): Docstring fix.
477 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
478 (vc-rcs-receive-file): Avoid with-vc-properties.
479 Update call to vc-unregister.
480 Use constant `RCS' rather than (dynamically bound) var `backend'.
482 2000-10-01 Andre Spiegel <spiegel@gnu.org>
484 * vc.el (vc-next-action-on-file): Update mode line only if file
486 (vc-start-entry): New argument initial-contents. Don't visit the file
487 if it isn't already visited. Brought documentation up-to-date.
488 (vc-next-action, vc-register): Updated calls to vc-start-entry.
489 (vc-checkin): New optional arg initial-contents, which is passed to
491 (vc-finish-logentry): Make sure to bury log buffer only if there
492 really is one. Call `vc-resynch-buffer' on log-file, not
494 (vc-default-comment-history, vc-default-wash-log): New functions.
495 (vc-index-of): Removed.
496 (vc-transfer-file): Make do without the above.
497 (vc-default-receive-file): Call comment-history unconditionally. Pass
498 the resulting string to vc-checkin, instead of inserting it into the
501 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
502 unconditionally. Use the comments as initial contents of the log
503 entry buffer. Document the trick to force branch creation with no
506 2000-10-01 Miles Bader <miles@gnu.org>
508 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
509 `recenter' with an arg to prevent redrawing the display.
511 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
513 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
515 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
517 * progmodes/c-mode.el (c-mode):
518 Don't gratuitously override the default for comment-column.
520 * textmodes/tex-mode.el (latex-metasection-list): New var.
521 (latex-imenu-create-index): Use it.
522 Move the regexp construction outside loops (and use push).
523 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
524 (tex-font-lock-keywords): Moved from font-lock.el.
525 (tex-comment-indent): Remove.
526 (tex-common-initialization): Don't set comment-indent-function.
527 (latex-block-default): New var.
528 (tex-latex-block): Use it to provide a default choice.
529 Add any unknown choice to latex-block-names.
530 Insert [...] after {...}.
531 (tex-last-unended-begin): Simplify regexp.
532 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
533 (latex-forward-sexp-1, latex-forward-sexp): New functions.
534 (latex-mode): Set forward-sexp-function.
536 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
537 Add regexp for @ignore ... @end ignore.
538 (texinfo-heading-face): New face.
539 (texinfo-font-lock-keywords): Use it.
540 (texinfo-mode-menu): New menu.
541 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
543 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
544 (texinfo-section-types-regexp, texinfo-section-level-regexp)
545 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
547 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
549 * delsel.el (delete-selection-mode): Use define-minor-mode.
551 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
553 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
555 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
557 2000-09-30 Gerd Moellmann <gerd@gnu.org>
559 * replace.el (keep-lines-read-args): New function.
560 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
561 read arguments interactively. Add parameters RSTART and REND.
562 Operate on the active region in Transient Mark mode.
564 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
566 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
567 (authors-obsolete-files-regexps): New variable.
568 (authors-add): Don't record changes in obsolete files.
570 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
572 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
574 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
575 (comment-indent): Make sure there's a space between code and comment.
576 Shift comments left to avoid going past fill-column.
578 2000-09-29 Gerd Moellmann <gerd@gnu.org>
580 * startup.el (startup-echo-area-message): New function.
581 (display-startup-echo-area-message): Use it.
582 (fancy-splash-screens): Rewritten to use keymaps and a timer.
583 (fancy-splash-default-action): New function.
584 (fancy-splash-screens-1): New function.
585 (fancy-splash-head): Put a help-echo and a keymap under the image.
587 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
589 * diff-mode.el (diff-add-log-file-name): Remove.
590 (diff-mode): Use add-log-buffer-file-name-function.
592 * add-log.el (find-change-log): New arg BUFFER-FILE.
593 (add-log-file-name): Obey add-log-file-name-function.
594 (add-log-buffer-file-name-function): New var.
595 (add-change-log-entry): Use it.
597 2000-09-29 Miles Bader <miles@gnu.org>
599 * image-file.el (image-file-name-extensions): New variable.
600 (image-file-name-regexps): Renamed from `image-file-regexps'.
601 New default value is nil. Call `auto-image-file-mode'.
602 (image-file-name-regexp): New function.
603 (auto-image-file-mode): New minor mode.
604 (insert-image-file): Don't make conditional on the image-file
605 handler being enabled.
606 (image-file-handler): Make the call here conditional instead.
607 (set-image-file-handler-enabled, enable-image-file-handler)
608 (disable-image-file-handler): Functions removed.
610 * emacs-lisp/authors.el (authors-print): Rephrase many-files
613 2000-09-29 Gerd Moellmann <gerd@gnu.org>
615 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
616 it's a function from CL.
617 (latex-imenu-create-index): Replace eval-when-compile with progn
618 because latex-section-alist is not bound while compiling.
620 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
622 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
623 (outline-mode): Use define-derived-mode.
625 * progmodes/perl-mode.el (perl-mode):
626 * progmodes/awk-mode.el (awk-mode):
627 * progmodes/asm-mode.el (asm-mode):
628 Don't gratuitously override the default for comment-column.
630 * emacs-lisp/lisp.el (lisp-complete-symbol):
631 Distinguish the let-binding case from the funcall case.
632 (forward-sexp-function): New variable.
633 (forward-sexp): Use it.
635 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
636 (easy-mmode-defmap): Remove the now useless autoload.
638 * time.el (display-time-mode): Use define-minor-mode.
640 * subr.el (add-minor-mode): Don't eval NAME.
641 Don't depend on the presence of TOGGLE-FUN for any special behavior.
642 Use if rather than cond.
644 * simple.el (read-expression-map): Define more properly.
645 (comment-indent-hook): Remove.
646 (string-to-syntax): Bug fix.
648 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
649 (cvs-ediff-diff): Fix typo.
650 (cvs-revert-if-needed): Don't bother preserving read-only.
652 * paren.el (show-paren-mode): Use define-minor-mode.
654 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
655 (toggle-auto-compression): Remove.
656 (jka-compr-build-file-regexp): Remove useless grouping.
658 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
659 Avoid user-reserved bindings.
660 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
661 (diff-header-face): Revert to grey85.
663 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
665 * complete.el (partial-completion-mode) <defcustom>: Remove.
666 (partial-completion-mode): Use define-minor-mode.
667 (PC-do-completion): Understand `completion-auto-help = delay'
668 to mean to popup the completion buffer only the second time.
669 (PC-include-file-all-completions, PC-include-file-all-completions)
670 (PC-include-file-all-completions): Don't quote lambda.
672 * comint.el (comint-mode-hook): Docstring fix.
673 (comint-mode): Use define-derived-mode.
674 (comint-mode-map): Remove obsolete comment.
675 (make-comint): Minor stylistic change.
676 (comint-insert-clicked-input): Be more careful to find the overlay.
677 Use this-command-keys rather than hardcoding mouse-2.
679 * font-lock.el: Replace confusing (,@ with ,
680 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
681 Don't use regexp-opt-depth. Spice up the regexp for args.
682 Don't distinguish between cmds that can take an opt arg or not.
683 Use `append' and `prepend' rather than `keep'.
685 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
686 (latex-outline-regexp): New var.
687 (latex-outline-level): New fun.
688 (latex-section-alist): New var.
689 (latex-imenu-create-index): Use it. Use `push' as well.
690 (tex-shell-map): Initialize it properly.
691 (tex-mode): Minor stylistic change.
692 (plain-tex-mode): Use define-derived-mode.
693 (latex-mode): Use define-derived-mode.
694 Construct the paragraph regexps in a more readable way.
695 Set the buffer-local outline-{level,regexp} vars.
696 (slitex-mode): Derive from latex-mode.
697 (tex-common-initialization): Don't kill-all-vars anymore.
698 Add setting for comment-add and font-lock-defaults.
699 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
700 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
701 (tex-start-tex): New arg DIR (and send a chdir command for it).
702 Also display the shell buffer and save it in tex-last-buffer-texed.
703 (tex-region): Use expand-file-name rather than concat.
704 Remove code made useless by changes in tex-start-tex.
705 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
707 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
709 2000-09-28 Dave Love <fx@gnu.org>
711 * eshell/eshell.el (eshell) <defgroup>: Add :version.
713 2000-09-28 Gerd Moellmann <gerd@gnu.org>
715 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
718 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
720 * info.el (Info-extract-pointer): Undo last change.
721 Instead, fix the position of the `bound' arg to re-search-backward.
723 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
725 * info.el (Info-extract-pointer):
726 Widen more carefully, to avoid finding pointers in other nodes.
727 (Info-index): Use push.
729 2000-09-27 Gerd Moellmann <gerd@gnu.org>
731 * frame.el (set-frame-font): Remove call to obsolete function
733 (set-foreground-color, set-background-color): Likewise for
734 frame-update-face-colors.
736 2000-09-27 Miles Bader <miles@gnu.org>
738 * image-file.el: New file.
740 2000-09-27 Gerd Moellmann <gerd@gnu.org>
742 * frame.el (frame-notice-user-settings): Don't call
743 frame-update-faces, which is a no-op now.
745 * ediff-wind.el (ediff-control-frame-parameters): Add zero
748 2000-09-27 Dave Love <fx@gnu.org>
750 * mouse.el: Fix last change.
752 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
754 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
756 2000-09-22 Kenichi Handa <handa@etl.go.jp>
758 * international/quail.el (quail-help): The output message is
761 2000-09-26 Dave Love <fx@gnu.org>
763 * mouse.el (popup-menu): If POSITION is nil, set it using
766 2000-09-25 Sam Steingold <sds@gnu.org>
768 * net/browse-url.el (browse-url-file-url): Check for null maps.
770 2000-09-26 Gerd Moellmann <gerd@gnu.org>
772 * frame.el (frame-notice-user-settings): Don't add a
773 tool-bar-lines frame parameter to default-frame-alist in batch mode.
775 * frame.el (frame-notice-user-settings):
776 Make tool-bar-mode and default-frame-alist consistent.
778 * toolbar/tool-bar.el (tool-bar-help): New function.
780 2000-09-25 Gerd Moellmann <gerd@gnu.org>
782 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
783 current-load-list in top-level forms. Else this leaks a cons cell
784 every time a defun is called.
786 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
788 2000-09-25 Dave Love <fx@gnu.org>
790 * startup.el (fancy-splash-head): Check XPM is available.
792 * autoinsert.el (auto-insert): Doc fix.
793 (auto-insert-alist): Following GNU notices, don't say `copyright
794 _by_'. Use line-beginning-position.
795 (auto-insert): Check buffer-file-name is non-nil before use.
797 2000-09-25 Gerd Moellmann <gerd@gnu.org>
799 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
800 starting with `@def' or `@multitable', in addition to ones
801 specified by the user in auto-fill-inhibit-regexp.
803 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
805 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
806 rmail-dont-reply-to-names matches the empty string.
808 2000-09-25 Gerd Moellmann <gerd@gnu.org>
810 * startup.el (command-line-1, fancy-splash-text): Change the
811 text to sound more friendly.
813 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
815 * progmodes/hideshow.el: Update author email address.
816 Generally, sync w/ maintainer version 5.22.
817 (hs-hide-all-non-comment-function): New var.
818 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
819 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
820 (hs-show-region): Delete this command.
821 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
823 2000-09-22 Dave Love <fx@gnu.org>
825 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
826 (hl-line-highlight): Specify buffer when moving overlay.
828 * progmodes/fortran.el (fortran-mode): Locally set
829 normal-auto-fill-function.
830 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
831 (fortran-mode-map): Adjust auto-fill menu entry.
833 2000-09-22 Gerd Moellmann <gerd@gnu.org>
835 * vc-rcs.el (toplevel): Require `vc' when compiling.
837 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
839 2000-09-22 Andre Spiegel <spiegel@gnu.org>
841 * vc.el (vc-switch-backend): Signal an error if the file is not
842 registered under the new backend.
844 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
845 without explicit revision number.
847 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
849 * diff-mode.el (diff-file-header-face): Reset to its previous value.
850 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
851 (diff-xor): New function.
852 (diff-find-source-location): Use it. Fix a stupid name clash.
853 (diff-hunk-status-msg): New function.
854 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
855 (diff-test-hunk): Use diff-find-source-location.
856 (diff-goto-source): Favor the `reverse'.
857 (diff-hunk-text): Properly handle one-sided context diffs.
858 (diff-apply-hunk): When done, advance to the next hunk.
860 2000-09-21 Gerd Moellmann <gerd@gnu.org>
862 * startup.el (command-line): If frame was created with a non-zero
863 tool-bar-lines parameter, switch tool-bar-mode on.
865 * add-log.el (change-log-date-face, change-log-name-face)
866 (change-log-email-face, change-log-file-face)
867 (change-log-list-face, change-log-conditionals-face)
868 (change-log-function-face, change-log-acknowledgement-face):
869 New faces, inheriting from font-lock faces.
870 (change-log-font-lock-keywords): Use them.
872 2000-09-21 Dave Love <fx@gnu.org>
874 * progmodes/cperl-mode.el (top-level): Clean up
875 `eval-when-compile's and assorted defvars.
876 (cperl-invalid-face): Don't double-quote value. Change custom
878 (cperl-mode): Set normal-auto-fill-function and don't zap
880 (cperl-imenu--function-name-regexp-perl): Renamed from
881 imenu-example--function-name-regexp-perl.
882 (cperl-imenu--create-perl-index): Renamed from
883 imenu-example--create-perl-index.
884 (cperl-xsub-scan): Don't require cl.
886 * msb.el (msb-mode-map): Use substitute-key-definition.
887 (msb-mode): Use msb-mode-map.
889 2000-09-21 Andre Spiegel <spiegel@gnu.org>
891 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
893 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
894 (vc-switch-backend): New function.
895 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
896 (vc-register): Fix prompt.
897 (vc-unregister, vc-default-unregister): New functions.
898 (vc-version-diff): Handle empty buffer in sentinel.
900 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
901 (vc-rcs-state-heuristic): Use it to guess the state of files with
903 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
904 been set with -b, but not created yet.
905 (vc-rcs-fetch-master-state): With non-strict locking, compare file
906 contents in order to find the state.
907 (vc-rcs-checkin): Allow creation of branches with no changes.
908 (vc-rcs-unregister, vc-rcs-receive-file)
909 (vc-rcs-set-non-strict-locking): New functions.
911 * vc-hooks.el (vc-name): Force correct computation of the value
912 in case it is missing.
914 2000-09-21 Gerd Moellmann <gerd@gnu.org>
916 * startup.el (fancy-splash-tail): Use a different foreground
917 color on a dark frame background.
919 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
921 * info.el: Use the correct capitalization when making Info-mode
922 and Info-edit-mode `special' modes.
924 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
926 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
927 (diff-mode): Add support for add-log.el.
928 (diff-hunk-text): Use char offsets rather than line offsets.
929 (diff-find-source-location): Replace LINE with line-offset (nil
930 if not found) and always set POS to a meaningful position.
931 Adapt to the new char-offsets.
932 (diff-apply-hunk): Drop support for the unused `select' POPUP.
933 Adapt to the new diff-find-source-location.
934 (diff-goto-source): Adapt to the new diff-find-source-location.
936 * add-log.el (add-log-file-name): New function (split out of
937 add-change-log-entry).
938 (add-change-log-entry): Use it.
939 Call add-log-file-name-function with the changelog file name if
940 the current buffer is not associated with any file.
941 Avoid find-file if the selected window is dedicated.
943 * diff-mode.el (diff-find-source-location):
944 Move code from diff-apply-hunk. Return buffer rather than file.
945 (diff-apply-hunk): Use the new result from diff-find-source-location.
946 (diff-goto-source): Use the new diff-find-source-location.
948 2000-09-20 Dave Love <fx@gnu.org>
950 * iswitchb.el: Some doc fixes.
951 (iswitchb-mode-map): Define completely initially. Inherit
952 minibuffer-local-map.
953 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
955 (iswitchb-global-map): New variable.
956 (iswitchb-summaries-to-end): Amalgamate regexps.
957 (iswitchb-mode): New.
958 (iswitchb-mode-hook): New variable.
959 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
962 2000-09-20 Gerd Moellmann <gerd@gnu.org>
964 * ehelp.el (electric-help): New defgroup.
965 (electric-help-shrink-window): New user-option.
966 (with-electric-help): Use it.
968 * window.el (shrink-window-if-larger-than-buffer): If face
969 `mode-line' has a :box, and we're on a graphical frame, add 1
970 to the needed window height.
972 * frame.el (frame-notice-user-settings): Add a last parameter nil
973 to a call to `append', because the last list passed to `append' is
974 not copied, and so subsequent calls to assq-delete-all will modify
977 * startup.el (fancy-splash-image): Change :type.
978 (fancy-splash-head): Use an XBM image if appropriate.
979 (command-line-1): Show splash screens in more cases.
981 * startup.el (fancy-splash-text): Don't quote faces.
983 * dired.el (dired-font-lock-keywords): Undo last change.
984 (dired-readin): Bind indent-tabs-mode to nil.
986 * startup.el (fancy-splash-head): If frame's background mode
987 is `dark', change the black background of the image to gray.
988 (fancy-splash-screens): Display startup echo area message.
989 (display-startup-echo-area-message): New function.
991 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
993 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
995 * info.el (info-header-node): Tweak for color ttys.
997 * faces.el (face-valid-attribute-values): Make sure directories we
998 search for stipples both exist and are readable before trying to
1001 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
1002 in the dry-run case.
1004 * jka-compr.el (with-auto-compression-mode): New macro.
1006 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
1007 (custom-group-tag-face, custom-variable-tag-face): Use relative
1008 :height and inherit from `variable-pitch' face instead of
1010 * hi-lock.el (hi-black-hb): Likewise.
1012 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
1013 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
1014 toolbar-add-item, if image doesn't have a mask add a `:mask
1017 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
1019 * diff-mode.el: Docstring fixes.
1020 (diff-header-face, diff-comment-face): New faces.
1021 (diff-font-lock-keywords): Highlight a bit differently.
1022 (diff-find-source-location): Don't return SPAN any more.
1023 (diff-hunk-text): Don't bother erasing the temp buffer.
1024 (diff-find-text): Drop argument LINE.
1025 (diff-apply-hunk): Update calls to diff-find-text.
1026 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
1028 * calendar/calendar.el: Docstring fixes.
1029 (calendar-make-alist): Don't quote lambda.
1030 (calendar-star-date): Use make-local-variable.
1032 2000-09-19 Dave Love <fx@gnu.org>
1034 * toolbar/tool-bar.el: Renamed from toolbar.el.
1035 Change `toolbar' to `tool-bar' generally in symbols.
1036 Make some items invisible in `special' major modes.
1037 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
1040 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
1042 (fancy-splash-delay, fancy-splash-image): Remove :version here.
1044 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1046 * progmodes/sh-script.el (sh-search-word): Remove call to
1049 * files.el (find-file-suppress-same-file-warnings): New
1051 (find-file-noselect): Use it.
1053 * startup.el (fancy-splash-delay, fancy-splash-image): Add
1055 (fancy-splash-screen): Defgroup.
1057 * add-log.el (change-log-font-lock-keywords): Match names
1058 more exactly for the case that font-lock-constant-face is
1061 2000-09-19 Richard M. Stallman <rms@gnu.org>
1063 * progmodes/sh-script.el (sh-search-word): Rewritten for
1066 2000-09-19 Andre Spiegel <spiegel@gnu.org>
1068 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
1070 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1072 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
1073 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
1074 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
1075 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
1076 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
1077 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
1078 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
1079 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
1080 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
1081 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
1082 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
1083 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
1085 * startup.el (fancy-splash-text): New variable.
1086 (fancy-splash-delay, fancy-splash-image): New user-options.
1087 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
1088 (fancy-splash-screens): New functions.
1089 (command-line-1): If display has a `display' frame parameter, has
1090 colors, and we have XPM support, show more fancy splash screens.
1092 2000-09-19 Dave Love <fx@gnu.org>
1094 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
1095 with null `help'. Use modern backquote syntax.
1097 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1099 * font-lock.el (font-lock-mode): Change message telling the user
1100 that ``the buffer is too big''.
1102 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
1103 for instance for the case that tab-width is 2.
1105 2000-09-18 Gerd Moellmann <gerd@gnu.org>
1107 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
1108 toolbar-add-item, if image doesn't have a mask add a `:mask
1111 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
1113 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
1114 and return a cons if it's non-nil.
1115 (diff-apply-hunk): Try to jump to the line in the source text
1116 corresponding to the position of point in the in the hunk.
1118 * info.el (Info-title-3-face, Info-title-2-face)
1119 (Info-title-1-face): Use face inheritance and relative sizes
1120 instead of hard-wiring things.
1122 * faces.el (secondary-selection): Make dark-background variant sane.
1124 2000-09-16 Andrew Innes <andrewi@gnu.org>
1126 * makefile.nt (compile-files): No need to make .elc files
1127 read-only, since they aren't under VC now.
1129 * makefile.w32-in (compile-files-CMD): No need to make .elc files
1130 read-only, since they aren't under VC now.
1132 2000-09-17 Dave Love <fx@gnu.org>
1134 * tmm.el: Replace mapcar with mapc in several places.
1136 * loadhist.el (unload-feature): Maybe call elp-restore-list and
1139 * international/latin1-disp.el: New file.
1141 * calendar/cal-move.el (scroll-calendar-left)
1142 (scroll-calendar-right): Make arg optional (for active mode line).
1144 * calendar/calendar.el (calendar-mode-line-format): Make fields
1146 (calendar-read-date, calendar-read-date, calendar-window-list):
1148 (calendar-month-name): Use aref, not sref.
1150 * view.el (minor-mode-alist): Propertize the string.
1152 * international/characters.el (standard-case-table): Add entries
1155 2000-09-18 Miles Bader <miles@gnu.org>
1157 * info.el (info-node, info-xref): Add dark-background variants.
1159 * faces.el (header-line): Change defaults to be less confusing
1160 when mixed with mode-lines.
1162 * info.el (Info-fontify-node): Make a few cleanups.
1163 Add extra `help-echo' and `local-map' props to node xrefs.
1164 Use header-specific faces for node-names & xrefs.
1165 (Info-use-header-line): New variable.
1166 (info-header-xref, info-header-node): New faces.
1167 (Info-setup-header-line): New function.
1168 (Info-select-node): Call Info-setup-header-line when enabled.
1169 (Info-extract-pointer): Work even if the header line is hidden.
1170 (Info-header-line): New variable.
1172 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
1174 * vms-patch.el (print-region-function): Don't quote lambda.
1176 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
1178 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
1179 (lm-get-header-re): Allow spaces between the header and the colon.
1180 (lm-header): Allow $ in non-RCS headers.
1181 (lm-header-multiline): Put the strings back into order.
1182 Stop at an empty line. Don't require two space chars if the
1183 line is clearly not another header line.
1185 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
1186 (popup-menu-popup): Remove.
1188 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1190 * toolbar/toolbar.el (toolbar-add-item): Use the same image
1191 specification if or if not tool-bar item contains an `:enabled'
1194 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
1195 current buffer has no file name.
1197 2000-09-15 Dave Love <fx@gnu.org>
1199 * strokes.el: Sync with maintainer's current version with changes
1200 for Emacs, but avoid runtime cl and levents.
1201 (toplevel): Change autoloads and compilation requires.
1202 (strokes-version, strokes-bug-address, strokes-lift): Values
1204 (strokes-xpm-header, strokes-insinuated): New variable.
1205 (strokes): Add :link.
1206 (strokes-mode): Customized.
1207 (strokes-while-inhibiting-garbage-collector): New macro.
1208 (strokes-remassoc): Avoid remove-if.
1209 (strokes-fix-button2-command): Don't use ad-do-it.
1210 (strokes-insinuate): New function.
1211 (strokes-button-press-event-p, strokes-button-release-event-p):
1212 New functions, used instead of non-`strokes-' versions..
1213 (strokes-mouse-event-p): Rewritten.
1214 (strokes-event-closest-point): Avoid event-point.
1215 (strokes-get-grid-position): Avoid cdadr, caadr
1216 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
1218 (strokes-help): Use with-output-to-temp-buffer.
1219 (strokes-window-configuration-changed-p): New function.
1220 (strokes-update-window-configuration): Use buffer-live-p,
1221 strokes-window-configuration-changed-p.
1222 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
1223 (strokes-char-face): New face.
1224 (strokes-char-table, strokes-base64-chars): New variable.
1225 (strokes-xpm-for-stroke, strokes-list-strokes)
1226 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
1227 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
1228 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1229 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
1230 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
1233 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1235 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
1237 * image.el (create-image): Doc fix.
1239 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
1240 instead of `:heuristic-mask t'.
1242 2000-09-14 Andrew Innes <andrewi@gnu.org>
1244 * makefile.w32-in: Revert to Unix line endings.
1246 2000-09-14 Andrew Innes <andrewi@gnu.org>
1248 * makefile.w32-in: Add bootstrap support. Also copy lisp source
1251 * makefile.nt (DONTCOMPILE): Fix typo.
1253 * shell.el (shell-write-history-on-exit): New function.
1254 (shell-dumb-shell-regexp): New custom variable.
1255 (shell-mode): Make shell-write-history-on-exit the process
1256 sentinel if shell name matches shell-dumb-shell-regexp.
1258 * w32-fns.el: Comment out before-init-hook function which resets
1259 source-directory based; this breaks bootstrap.
1261 2000-09-14 Dave Love <fx@gnu.org>
1263 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
1264 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
1265 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
1266 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
1267 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
1268 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
1269 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
1270 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
1271 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
1273 * toolbar/toolbar.el: New.
1275 * subdirs.el: Add toolbar.
1277 2000-09-14 Gerd Moellmann <gerd@gnu.org>
1279 * indent.el (indent-for-tab-command): Doc fix.
1281 2000-09-14 Alex Schroeder <alex@gnu.org>
1283 * ansi-color.el (ansi-colors): Doc change.
1284 (ansi-color-get-face): Simplified regexp.
1285 (ansi-color-faces-vector): Added more faces, doc change.
1286 (ansi-color-names-vector): Doc change.
1287 (ansi-color-regexp): Simplified regexp.
1288 (ansi-color-parameter-regexp): New regexp.
1289 (ansi-color-filter-apply): Doc change.
1290 (ansi-color-filter-region): Doc change.
1291 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
1292 deal with zero length parameters.
1293 (ansi-color-apply-on-region): Doc change.
1294 (ansi-color-map): Doc change.
1295 (ansi-color-map-update): Removed debugging message.
1296 (ansi-color-get-face-1): Added condition-case to trap
1297 args-out-of-range errors.
1298 (ansi-color-get-face): Doc change.
1299 (ansi-color-make-face): Removed.
1300 (ansi-color-for-shell-mode): New option.
1302 2000-09-13 Kenichi Handa <handa@etl.go.jp>
1304 * international/quail.el (quail-start-translation): Translate KEY
1305 if necessary even if it doesn't have any mapping in the current
1307 (quail-start-conversion): Likewise.
1308 (quail-help): The output message is improved.
1310 2000-09-13 Miles Bader <miles@gnu.org>
1312 * comint.el (comint-output-filter): Revert to using
1313 `insert-before-markers'. Add bletcherous hack to undo damage
1314 caused by `insert-before-markers'. Put `front-sticky' property on
1315 overlays created here so that the field code understands how the
1316 overlay works. Use a let when making comint-last-prompt-overlay,
1317 so that the code is easier to read.
1319 2000-09-13 Dave Love <fx@gnu.org>
1321 * wid-edit.el (widget-default-format-handler): DTRT when
1322 doc-property is a function.
1324 2000-09-12 Francesco Potorti` <pot@gnu.org>
1326 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
1327 filed name if it's not there.
1329 2000-09-12 Dave Love <fx@gnu.org>
1331 * simple.el (read-mail-command): Doc fix.
1332 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
1334 * vc.el (vc-dired-listing-switches): Fix :version.
1336 * vc-hooks.el: Doc fixes.
1338 * subr.el (add-minor-mode): Use toggle-fun arg.
1340 * speedbar.el: Add :version to several defcustoms.
1342 * imenu.el (imenu--truncate-items, imenu--cleanup)
1343 (imenu--generic-function): Avoid mapcar.
1344 (imenu--replace-spaces): Function removed.
1345 (imenu--completion-buffer): Use subst-char-in-string.
1346 (imenu-add-to-menubar): Use keymap inheritance.
1348 2000-09-12 Miles Bader <miles@gnu.org>
1350 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
1351 (diff-mode-map): Bind `diff-test-hunk'.
1352 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
1354 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1356 * bytecomp.el (byte-compile-defvar): Undo last change
1357 because it breaks '(make-variable-buffer-local (defvar ...)'
1358 which is used at least in dired.
1360 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1362 * international/quail.el (quail-define-package): Docstring
1365 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1367 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
1368 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
1369 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
1370 docstring of "chinese-py".
1372 * international/quail.el (quail-translation-docstring): New
1374 (quail-show-keyboard-layout): Docstring modified.
1375 (quail-select-current): Likewise.
1376 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
1377 infinite recursive call.
1378 (quail-help): Check quail-translation-docstring. Format of the
1380 (quail-help-insert-keymap-description): Adjusted for the above
1383 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1385 * bytecomp.el (byte-compile-defvar): Only cons onto
1386 current-load-list in top-level forms. Else this leaks a cons cell
1387 every time a defun is called.
1389 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
1391 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
1392 Now understands non-unified diffs. Some functionality moved into
1393 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
1394 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
1395 modify anything. Only reposition point in the patched file if the
1396 patch succeeds. Only pop up another window if POPUP is true.
1397 Emit a message describing what happened if successful, and at what
1398 line-offset. Automatically detect reversed hunks and do something
1400 (diff-hunk-text, diff-find-text): New functions.
1401 (diff-filter-lines): Function removed.
1402 (diff-test-hunk): New function.
1403 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
1405 2000-09-10 Dave Love <fx@gnu.org>
1407 * textmodes/tildify.el: Minor doc/commentary fixes.
1408 (tildify) <defgroup>: Add :version.
1410 * faces.el (face-x-resources): Make custom type more specific.
1411 (frame-background-mode): Use mapc.
1412 (region) <defcustom>: Add :version.
1414 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
1416 * vc-sccs.el (vc-sccs-register):
1417 * vc-rcs.el (vc-rcs-register):
1418 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
1419 * vc.el (vc-register): Clear file's properties.
1421 2000-09-08 Gerd Moellmann <gerd@gnu.org>
1423 * faces.el (face-spec-set): Only face-spec-reset-face when
1426 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
1428 * help.el (help-insert-xref-button): Fix a typo in doc string.
1430 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
1432 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1433 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
1436 * menu-bar.el (read-mail-item-name): New function.
1437 (menu-bar-tools-menu): Use it to compute and display the package
1439 (menu-bar-tools-menu): Fix typo in GUD's help string.
1441 2000-09-07 Dave Love <fx@gnu.org>
1443 * diff-mode.el (diff-mouse-goto-source): New function.
1445 * vc-sccs.el: Doc fixes.
1446 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
1448 * vc-rcs.el: Doc fixes.
1449 (vc-rcs-register-switches, vc-rcs-checkin-switches)
1450 (vc-rcs-checkout-switches, vc-rcs-header)
1451 (vc-rcs-master-templates): Add or change :version.
1453 * vc-cvs.el: Doc fixes.
1454 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
1455 (vc-cvs-stay-local): Add :version.
1457 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
1459 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1461 * international/quail.el (quail-help): Fix previous change.
1463 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1465 * faces.el (color-values): Doc fix.
1467 * faces.el (frame-set-background-mode): Use frame-parameter
1468 instead of frame-parameters.
1470 * frame.el (filtered-frame-list): Reduce consing.
1471 (frames-on-display-list): Call frame-parameter instead of
1474 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1476 * language/devan-util.el (devanagari-to-indian-region): In the
1477 loop, change the following char, not preceding char.
1479 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1481 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
1482 instead of frame-parameters.
1484 * faces.el (set-face-attribute): Simplify by calling
1485 internal-set-lisp-face-attribute with FRAME being 0.
1487 * vc.el: Remove `Id' version control keyword.
1489 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1491 * help.el (help-make-xrefs): Adjusted for the change of
1492 help-xref-mule-regexp.
1493 (help-insert-xref-button): New function.
1495 * international/mule-cmds.el (help-xref-mule-regexp-template):
1496 Include the pattern for character set.
1499 * international/quail.el: Don't require face.
1501 (quail-other-command): Dummy command to make quail-help work better.
1502 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
1503 (quail-keyboard-layout-substitution): New variable.
1504 (quail-update-keyboard-layout): New function.
1505 (quail-keyboard-layout-type): New customizable variable.
1506 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
1507 (quail-keyboard-translate): Pay attention to
1508 quail-keyboard-layout-substitution.
1509 (quail-insert-kbd-layout): New function.
1510 (quail-show-keyboard-layout): New function.
1511 (quail-get-translation): If the definition is a vector of length
1512 1, and the element is a string of length 1, return the character
1514 (quail-update-current-translations): Fix the case of
1515 relative-index out of range.
1516 (quail-build-decode-map, quail-insert-decode-map): New Functions.
1517 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
1518 Show key sequences for all available characters.
1519 (quail-help-insert-keymap-description): Don't show such verbose
1520 key bindings as quail-self-insert-command.
1522 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1523 Format changed, and each element now have extra documentations.
1524 (tit-process-header): Delete invalid characters from TIT-PROMPT.
1525 Adjusted for the change of quail-cxterm-package-ext-info.
1527 2000-09-06 Gerd Moellmann <gerd@gnu.org>
1529 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
1530 requiring it leads to a recursive loading of vc.el and vc-hooks.el
1533 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1535 * vc.el: (toplevel): Don't require `dired' at run-time.
1536 (vc-dired-resynch-file): Remove autoload cookie.
1538 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1540 * vc.el: Made several backend functions optional.
1541 (vc-default-responsible-p): New function.
1542 (vc-merge): Use RET for first version to trigger merge-news, not
1544 (vc-annotate): Handle backends that do not support annotation.
1545 (vc-default-merge-news): Removed. The existence of a merge-news
1546 implementation is now checked on caller sites.
1548 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
1551 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
1552 special case that has been removed from the default in vc-hooks.el.
1554 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1556 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
1558 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1560 * vc-hooks.el: Require vc during compilation.
1561 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
1562 macro `with-vc-properties' in vc.el.
1563 (vc-file-getprop): Doc fix.
1564 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
1566 * vc.el: Require dired-aux during compilation.
1567 (vc-name-assoc-file): Moved to vc-sccs.el.
1568 (with-vc-properties): New macro.
1569 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
1570 vc-finish-steal): Use it.
1571 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
1572 to the backend-specific function is now supposed to do the checkout,
1574 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
1576 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
1577 set file properties; that gets done in the generic code now.
1579 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
1580 Changed parameter list, added code from vc.el that does the
1581 checkout, possibly with a double-take.
1583 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
1584 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
1585 the above under the new name.
1586 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
1587 parameter list, added checkout command.
1588 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
1589 properties; that gets done in the generic code now.
1591 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1593 * vc.el: Docstring fixes (courtesy of checkdoc).
1595 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1597 * vc.el (vc-checkout-writable-buffer-hook)
1598 (vc-checkout-writable-buffer): Remove.
1599 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
1600 (vc-log-mode): Make it into a clean derived major mode.
1601 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
1602 vc-log-mode if log-edit is not available.
1603 (vc-dired-mode-map): Don't set-keymap-parent yet.
1604 (vc-dired-mode): Do set-keymap-parent here.
1605 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
1607 2000-09-05 Gerd Moellmann <gerd@gnu.org>
1609 * faces.el (set-face-attribute, face-spec-reset-face)
1610 (face-spec-set): Avoid consing by removing calls to `apply'.
1612 * frame.el (frame-parameter): Move to C code.
1614 2000-09-05 Dave Love <fx@gnu.org>
1616 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
1617 insert-before-markers-and-inherit. Now checked systematically!
1619 2000-09-05 Alex Schroeder <alex@gnu.org>
1621 * sql.el (sql-postgres): Use sql-postgres-options.
1622 (sql-postgres-options): New variable.
1624 2000-09-05 Alex Schroeder <alex@gnu.org>
1626 * sql.el (sql-mode-menu): Work around missing variable mark-active
1628 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
1629 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
1632 2000-09-04 Gerd Moellmann <gerd@gnu.org>
1634 * vc.el (vc-dired-resynch-file): Add autoload cookie.
1636 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
1638 * Makefile.in (DONTCOMPILE): Fix typo in file name.
1640 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1642 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
1643 don't support anything else under SCCS yet.
1645 * vc-hooks.el: Minor doc fixes.
1647 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1649 * vc.el (vc-next-action-on-file): Do not visit the file if it's
1650 not necessary. If verbose in state `needs-patch', do the same as
1651 under `up-to-date'. When NOT verbose and `needs-patch', check out
1652 latest version instead of `merge-news'.
1653 (vc-next-action-dired): Don't mess with default-directory here; it
1654 breaks other parts of dired. It is the job of the
1655 backend-specific functions to adjust it temporarily if they need it.
1656 (vc-next-action): Remove a special CVS case.
1657 (vc-clear-headers): New optional arg FILE.
1658 (vc-checkin, vc-checkout): Set properties vc-state and
1659 vc-checkout-time properly.
1660 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
1661 (vc-print-log): Use new backend function `show-log-entry'.
1662 (vc-cancel-version): Do the checks in a different order. Added a
1663 FIXME concerning RCS-only code.
1665 * vc-rcs.el (vc-rcs-show-log-entry): New function.
1666 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
1668 * vc-cvs.el (vc-cvs-show-log-entry): New function.
1670 * vc-hooks.el (vc-default-mode-line-string): Show state
1671 `needs-patch' as a `-' too.
1673 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1675 * vc.el (vc-responsible-backend): New optional arg REGISTER.
1676 (vc-default-could-register): New function.
1677 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
1678 (vc-resynch-buffer): Call vc-dired-resynch-file.
1679 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
1680 vc-resynch-buffer instead of vc-resynch-window.
1681 (vc-next-action-dired): Don't redisplay here, that gets done as a
1682 result of the individual file operations.
1683 (vc-retrieve-snapshot): Corrected prompt order.
1685 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
1687 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
1689 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
1690 hostname regexps. Updated all callers.
1691 (vc-cvs-responsible-p): Handle directories as well.
1692 (vc-cvs-could-register): New function.
1693 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
1694 properties up-to-date.
1696 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
1697 user whether to create one.
1699 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1701 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
1702 check out a non-existing file.
1704 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
1705 workfile does not exist.
1707 * vc.el (vc-version-diff): Use `require' to check for existence of
1710 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1712 * vc-cvs.el (vc-cvs-registered): Use new function
1713 vc-cvs-parse-entry to do the actual work.
1715 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1717 * vc-hooks.el (vc-find-backend-function): If function doesn't
1718 exist, return nil instead of error.
1719 (vc-call-backend): Doc fix.
1721 * vc.el (vc-do-command): Doc fix.
1722 (vc-finish-logentry): When checking in from vc-dired, choose the
1723 right backend for logentry check.
1724 (vc-dired-mode-map): Inherit from dired-mode-map.
1725 (vc-dired-mode): Local value of dired-move-to-filename-regexp
1727 (vc-dired-state-info): Removed, updated caller.
1728 (vc-default-dired-state-info): Use parentheses instead of hyphens.
1729 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
1730 (vc-dired-listing-switches): New variable.
1731 (vc-directory): Use it, instead of dired-listing-switches.
1733 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
1734 (vc-cvs-dir-state): New function.
1735 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
1736 (vc-cvs-parse-entry): New function, also to be used in
1739 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1741 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
1742 *or* single-window-frames.
1744 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1746 * vc.el (vc-update-changelog): Split into generic part and default
1747 implementation. Doc string adapted.
1748 (vc-default-update-changelog): New function. Call the `rcs2log'
1749 script in exec-directory, to fix a long-standing nuisance.
1751 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
1752 simply signals an error.
1754 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1756 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
1757 control-flow more clear and to avoid running `cvs' twice.
1759 * vc.el (vc-next-action-on-file): Doc fix.
1760 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
1761 (vc-print-log): Eval `file' before constructing the continuation.
1763 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1765 * vc.el (vc-next-action-on-file): Corrected several messages.
1766 (vc-merge): Add prefix arg `merge-news'; handle it.
1768 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
1769 is not reached. It is.
1770 (vc-cvs-merge): Set state to 'edited after merge.
1771 (vc-cvs-merge-news): Set workfile version to nil if not known.
1772 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
1774 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
1775 via stdout. (Merge from main line.)
1777 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1779 * vc.el (vc-finish-logentry): Thinko in the "same comment"
1782 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1784 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
1785 against kill-all-local-variables.
1786 (vc-log-edit): Don't save vc-parent-buffer any more.
1787 (vc-last-comment-match): Initialize to an empty string.
1788 (vc-post-command-functions): New hook.
1789 (vc-do-command): Run it.
1790 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
1791 (vc-finish-logentry): Only add the comment to the ring if it's
1792 different from the last comment entered.
1793 (vc-new-comment-index): New function.
1794 (vc-previous-comment): Use it. Make the minibuffer message
1795 slightly less terse.
1796 (vc-comment-search-reverse): Make it work forward as well. Don't
1797 set vc-comment-ring-index if no match is found. Use
1798 vc-new-comment-index.
1799 (vc-comment-search-forward): Use vc-comment-search-reverse.
1800 (vc-dired-mode-map): Don't inherit from dired-mode-map since
1801 define-derived-mode will do it for us. Bind `v' to a keymap that
1802 inherits from vc-prefix-map so that we can bind `vt' without
1804 (vc-retrieve-snapshot): Parenthesis typo.
1806 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
1807 to 1. Make sure to switch to *vc* before looking for an error
1808 message. Use vc-parse-buffer.
1810 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1812 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
1814 (vc-retrieve-snapshot): Split into two parts.
1815 (vc-default-retrieve-snapshot): New function.
1817 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
1818 (vc-cvs-retrieve-snapshot): New function (untested).
1819 (vc-cvs-stay-local): Default to t.
1820 (vc-cvs-remote-p): New function and property.
1821 (vc-cvs-state): Stay local only if the above is t.
1822 (vc-handle-cvs): Removed.
1823 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
1824 done via vc-handled-backends now.
1825 (vc-cvs-header): Escape Id.
1827 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1829 * vc.el (vc-do-command): Remove unused commands.
1830 (vc-version-diff): Make sure default-directory ends with a slash.
1831 Move the window commands into a vc-exec-after.
1832 (vc-print-log): Move more of the code into the `vc-exec-after'.
1834 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1836 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
1837 (vc-print-log): Search current revision from beginning of buffer.
1838 (vc-revert-buffer): Clear echo area after the diff is finished.
1839 (vc-prefix-map): Removed definition of "t" for terse display in vc
1841 (vc-dired-mode-map): Inherit from dired-mode-map. Added
1842 definition of "vt" for terse display.
1843 (vc-dired-mode): Fix dired-move-to-filename-regexp.
1845 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1847 * vc.el (vc-exec-after): Avoid caddr.
1849 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1851 * vc.el (vc-exec-after): New function.
1852 (vc-do-command): Use it to add a termination message for async
1854 (vc-checkout): Try to handle a missing-backend situation.
1855 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
1856 of a directory with a backend using async diffs.
1857 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
1860 * vc-sccs.el (vc-sccs-state-heuristic): Use
1861 file-ownership-preserved-p.
1863 * vc-rcs.el (vc-rcs-state-heuristic): Use
1864 file-ownership-preserved-p.
1865 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
1867 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1869 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
1872 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
1873 when there are no changes.
1875 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1877 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
1879 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
1881 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1883 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
1885 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
1886 the `fset' outside of the defvar so that it works even if
1887 vc-prefix-map was already defined.
1888 (vc-setup-buffer): New function, split out of vc-do-command.
1889 (vc-do-command): Allow BUFFER to be t to mean `just use the
1890 current buffer without any fuss'.
1891 (vc-version-diff): Change the `diff' backend operation to just put
1892 the diff in the current buffer without erasing it. Always use
1893 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
1894 shrink-window-if-larger-than-buffer.
1895 (vc-print-log): Change the `print-log' backend operation to just
1896 put the log in the current buffer without erasing it. Protect
1897 shrink-window-if-larger-than-buffer.
1898 (vc-update-change-log): Fix setd typo.
1900 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
1901 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
1903 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
1904 (vc-rcs-diff): Insert in the current buffer and remove unused arg
1907 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
1908 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
1909 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
1911 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1913 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
1914 not possible, use vc-BACKEND-workfile-unchanged-p.
1915 (vc-default-workfile-unchanged-p): New function. Delegates to a
1916 full vc-BACKEND-diff.
1918 * vc-hooks.el (vc-simple-command): Removed.
1920 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
1921 instead of vc-simple-command.
1922 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
1923 avoid doing a diff when opening a file.
1924 (vc-rcs-state): Added check for unlocked-changes.
1925 (vc-rcs-header): Escape Id.
1926 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
1927 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
1930 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
1931 (vc-sccs-diff): Remove optional arg CMP.
1932 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
1933 SCCS-specific function.
1935 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
1938 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1940 * vc.el (vc-editable-p): Renamed from vc-writable-p.
1941 (with-vc-file, vc-merge): Use vc-editable-p.
1942 (vc-do-command): Remove unused var vc-file and fix the
1943 doubly-defined `status' var. Add a user message when starting an
1945 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
1946 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
1947 Use with-current-buffer.
1948 (vc-buffer-sync): Use unless.
1949 (vc-next-action-on-file): If the file is 'edited by read-only,
1950 make it read-write instead of trying to commit.
1951 (vc-version-diff, vc-update-change-log): Use `setq
1952 default-directory' rather than `cd'.
1953 (vc-log-edit): Don't forget to set default-directory in the
1956 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
1957 (vc-sccs-state-heuristic): Use file-writable-p instead of
1959 (vc-sccs-checkout): Use `unless'.
1961 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
1962 of comparing userids.
1963 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
1964 Simplify the logic by eliminating unreachable code.
1965 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
1966 just do a recursive call if we need to retry.
1967 (vc-rcs-checkout): Handle the case where rcs is missing by making
1968 the buffer read-write if requested and re-signalling the error.
1970 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
1972 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1974 * vc-hooks.el (vc-handled-backends): Docstring change.
1975 (vc-ignore-vc-files): Mark obsolete.
1976 (vc-registered): Check vc-ignore-vc-files.
1977 (vc-find-file-hook, vc-file-not-found-hook): Don't check
1980 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
1982 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1984 * vc.el (vc-checkout): Don't do anything special for ange-ftp
1985 files since ange-ftp already has vc-registered return nil.
1987 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
1988 (vc-sccs-workfile-version): Use with-temp-buffer and new
1989 vc-parse-buffer and don't bother setting the property.
1990 (vc-sccs-add-triple): Use with-current-buffer and
1992 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
1994 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
1995 derives from the old vc-parse-buffer but uses the revision number
1996 rather than the date (much easier to compare robustly).
1997 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
1998 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
1999 locking-user more directly. Check strict locking and set
2000 checkout-model appropriately.
2001 (vc-rcs-parse-locks): Remove.
2002 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
2003 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
2004 (vc-rcs-system-release): Use with-current-buffer and
2006 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
2008 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
2009 (vc-simple-command): Docstring fix.
2010 (vc-registered): Align the way the file-handler is called with the
2011 way the function itself works.
2012 (vc-file-owner): Remove.
2014 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
2015 extraction of fields and call to file-attributes because of a
2016 temporary bug in rcp.el.
2017 (vc-cvs-fetch-status): Use with-current-buffer.
2019 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2021 * vc.el (vc-do-command): Use file-relative-name.
2022 (vc-responsible-backend): Use vc-backend if possible.
2023 (vc-create-snapshot): Improve the `interactive' spec. Add support
2024 for branches and dispatch to backend-specific `create-snapshot'.
2025 (vc-default-create-snapshot): New function, containing the bulk of
2026 the old vc-create-snapshot.
2027 (vc-retrieve-snapshot): Improve the interactive spec.
2029 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
2030 (vc-backend-hook-functions): Remove.
2031 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
2032 (vc-backend): Reintroduce the test for `file = nil' now that I
2033 know why it was there (and added a comment to better remember).
2035 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
2036 code from vc-sccs-hooks.el.
2037 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
2039 (vc-sccs-responsible-p): Use expand-file-name instead of concat
2040 and file-directory-p instead of file-exists-p.
2041 (vc-sccs-check-headers): Simplify the regexp.
2043 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
2044 from vc-rcs-hooks.el. Don't require 'vc anymore.
2045 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
2046 file-directory-p instead of file-exists-p.
2048 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
2049 from vc-cvs-hooks.el.
2050 (proto vc-cvs-registered): Require 'vc-cvs instead of
2051 'vc-cvs-hooks. Don't require 'vc anymore.
2052 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
2053 file-directory-p instead of file-exists-p.
2054 (vc-cvs-create-snapshot): New function, replacing
2056 (vc-cvs-assign-name): Remove.
2058 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2060 * vc-cvs.el (vc-cvs-header): New var.
2062 * vc-rcs.el (vc-rcs-exists): Remove.
2063 (vc-rcs-header): New var.
2065 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
2066 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
2067 (vc-sccs-header): New var.
2069 * vc.el (vc-do-command): Get rid of the `last' argument.
2070 (vc-header-alist): Remove, replaced by vc-X-header.
2071 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
2072 (vc-dired-hook): Use expand-file-name instead of concat.
2073 (vc-directory): Use file-name-as-directory.
2074 (vc-snapshot-precondition, vc-create-snapshot)
2075 (vc-retrieve-snapshot): Allow the command to operate on any
2078 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
2079 just removing the 'WORKFILE argument or by removing the 'MASTER
2080 argument and replacing `file' with (vc-name file).
2082 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2084 * vc.el: Update Copyright and add a crude list of backend funs.
2085 (vc-writable-p): New function.
2086 (with-vc-file): Use vc-writable-p.
2087 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
2088 (vc-register): Avoid vc-name.
2089 (vc-locking-user): Remove.
2090 (vc-steal-lock): Make the `owner' arg non-optional.
2091 (vc-merge): Use vc-writable-p instead of vc-locking-user and
2093 (vc-default-dired-state-info): Use vc-state instead of
2094 vc-locking-user and return special strings for special states.
2095 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
2096 and get rid of one of the special CVS cases.
2097 (vc-cancel-version): prettify error message with \\[...].
2098 (vc-rename-master): New function.
2099 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
2100 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
2101 the CVS special case generic.
2102 (vc-default-record-rename): Remove.
2103 (vc-file-tree-walk-internal): Only call FUNC for files that are
2104 under control of some VC backend and replace `concat' with
2106 (vc-file-tree-walk): Update docstring.
2107 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
2108 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
2110 * vc-sccs.el (vc-sccs-rename-file): Renamed from
2111 vc-sccs-record-rename. Use `find-file-noselect' rather than
2112 `find-file' and call `vc-rename-master' to do the actual move.
2113 (vc-sccs-diff): Remove unused `backend' variable.
2115 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
2116 to delay loading of vc-sccs until it is really used.
2117 (vc-sccs-master-templates): Preload.
2118 (vc-sccs-state): Update call to vc-sccs-parse-locks.
2119 (vc-sccs-project-dir): Remove (merged into
2120 vc-sccs-search-project-dir).
2121 (vc-sccs-search-project-dir): Rewrite using file name handling ops
2122 rather than `concat', make sure it is preloaded and don't bother
2123 to check that the file actually exists.
2124 (vc-sccs-parse-locks): Remove unused `file' argument, remove
2125 `locks' argument (use buffer's content instead) and eliminate n^2
2128 * vc-rcs.el: Update Copyright.
2129 (vc-rcs-rename-file): New function.
2130 (vc-rcs-diff): Remove unused `backend' variable.
2132 * vc-hooks.el: Update Copyright.
2133 (vc-backend): Don't accept a nil argument any more.
2134 (vc-up-to-date-p): Turn into a defsubst.
2135 (vc-possible-master): New function.
2136 (vc-check-master-templates): Use `vc-possible-master' and allow
2137 funs in vc-X-master-templates to return a non-existent file.
2139 * vc-cvs.el: Update Copyright.
2140 (vc-cvs-diff): Remove unused `backend' variable.
2141 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
2143 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
2145 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2147 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
2148 since it can be called from vc-rcs.el.
2149 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
2151 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2153 * vc.el (vc-version-diff): Expand file name read from the
2154 minibuffer. Handle the case when a previous version number can't
2155 be guessed. Give suitable messages when there were no differences
2157 (vc-clear-headers): Call backend-specific implementation, if one
2159 (vc-cancel-version): Made error checks generic. When done, clear
2160 headers generically, too.
2162 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
2163 from vc-clear-headers in vc.el.
2165 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
2167 (vc-rcs-latest-on-branch-p): Made second argument VERSION
2168 optional. Handle the case when it's not there.
2170 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2172 * vc.el (vc-locking-user): Moved from vc-hooks.el.
2174 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2176 * vc-hooks.el (vc-loadup): Remove.
2177 (vc-find-backend-function): Use `require'. Also, handle the case
2178 where vc-BACKEND-hooks.el doesn't exist.
2179 (vc-call-backend): Cleanup.
2181 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2183 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
2184 vc-rcs-grab-templates)
2185 (vc-rcs-registered): Remove. The default function works as well.
2186 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
2187 vc-sccs-grab-templates)
2188 (vc-sccs-registered): Remove. The default function works as well.
2190 * vc.el (vc-version-diff): Left out a vc- in call to
2192 (vc-default-dired-state-info, vc-default-record-rename)
2193 (vc-default-merge-news): Update for the new backend argument.
2195 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
2196 using the default function.
2197 (vc-call-backend): If calling the default function, pass it the
2198 backend as first argument. Update the docstring accordingly.
2199 (vc-default-state-heuristic, vc-default-mode-line-string): Update
2200 for the new backend argument.
2201 (vc-make-backend-sym): Renamed from vc-make-backend-function.
2202 (vc-find-backend-function): Use the new name.
2203 (vc-default-registered): New function.
2205 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2207 * vc.el (vc-merge): Use vc-find-backend-function.
2209 * vc-hooks.el (vc-backend-functions): Remove.
2210 (vc-loadup): Don't setup 'vc-functions.
2211 (vc-find-backend-function): New function.
2212 (vc-call-backend): Use above fun and populate 'vc-functions
2214 (vc-backend-defines): Remove.
2216 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2218 * vc.el (vc-register): Put a FIXME note for a newly found bug.
2219 Call vc-call-backend without the leading vc-.
2220 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
2221 (vc-check-headers): Call vc-call-backend without the leading vc-.
2222 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
2223 (vc-annotate-display): Replace confusing use of `cond' with `or'.
2224 Call vc-call-backend without the leading vc-.
2226 * vc-cvs.el (tail): Provide vc-cvs.
2227 * vc-sccs.el (tail): Provide vc-sccs.
2228 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
2230 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
2231 (vc-make-backend-function, vc-call): Pass names without leading
2232 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
2233 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
2234 (vc-call-backend): Always try to load vc-X-hooks.
2235 (vc-registered): Remove vc- in call to vc-call-backend.
2237 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2239 * vc.el (vc-process-filter): New function.
2240 (vc-do-command): Setup `vc-process-filter' for the async process.
2241 (vc-maybe-resolve-conflicts): New function to reduce
2242 code-duplication. Additionally, it puts the buffer in
2243 `smerge-mode' if applicable.
2244 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
2245 calling `merge-news'.
2246 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
2247 (vc-log-edit): New function. Replacement for `vc-log-mode' by
2248 interfacing to log-edit.el.
2249 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
2250 log-edit is available.
2251 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
2253 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2255 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
2256 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
2257 defvar and the initialization.
2258 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
2260 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
2261 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
2263 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
2265 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2267 * vc.el (vc-file-clear-masterprops): Removed.
2268 (vc-checkin, vc-revert-buffer): Removed calls to the above.
2269 (vc-version-diff): Use buffer-size without argument.
2270 (vc-register): Heed vc-initial-comment.
2272 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
2275 * vc-rcs.el (vc-rcs-register): Parse command output to find master
2276 file name and workfile version.
2277 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
2279 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
2280 vc-file-clear-masterprops.
2282 * vc-sccs.el (vc-sccs-checkout): Removed call to
2283 vc-file-clear-masterprops. If writable, set vc-state to 'edited
2284 rather than user login name.
2287 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2289 * vc.el (vc-workfile-unchanged-p): Remove unused argument
2290 `want-differences-if-changed' and simplify.
2291 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
2292 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
2293 output (which is invalid for async vc-diff) to decide whether to
2294 do the revert silently or not.
2296 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2298 * vc-hooks.el (vc-loadup): Load files quietly.
2299 (vc-call-backend): Oops, brain fart.
2301 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2303 * vc-cvs.el (vc-cvs-state): Typo.
2304 (vc-cvs-merge-news): Return the status code rather than the error msg.
2306 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2308 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
2309 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
2310 vc-state or vc-up-to-date-p.
2311 (vc-merge): Use vc-backend-defines to check whether merging is
2312 possible. Set state to 'edited after successful merge.
2314 * vc-hooks.el (vc-locking-user): If locked by the calling user,
2315 return that name. Redocumented.
2317 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2319 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
2320 new `vc-state' semantics.
2321 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
2322 'vc-locking-user to the current user.
2323 (vc-merge): Inline vc-backend-merge. Comment out code that I
2324 don't understand and hence can't adapt to the new `vc-state' and
2325 `vc-locking-user' semantics.
2326 (vc-backend-merge): Remove.
2328 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
2329 rather than 'vc-locking-user.
2331 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
2333 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
2334 (vc-state): Don't use 'reserved any more. Just use the same
2335 convention as the one used for vc-<backend>-state where the
2336 locking user (as a string) is returned.
2337 (vc-locking-user): Update, based on the above convention. The
2338 'vc-locking-user property has disappeared.
2339 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
2341 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
2342 with a heuristic one.
2343 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
2344 (vc-cvs-checkin): Do a trivial parse to set the state in case of
2345 error. That allows us to get to 'needs-merge even in the
2346 stay-local case. There's still no way to detect 'needs-patch in
2347 such a setup (or to force an update for that matter).
2348 (vc-cvs-logentry-check): Remove, the default works as well.
2350 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2352 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
2354 * vc.el (vc-do-command): kill-all-local-variables, to reset any
2355 major-mode in which the buffer might have been put earlier. Use
2356 `remove' and `when'. Allow `okstatus' to be `async' and use
2357 `start-process' in this case.
2358 (vc-version-diff): Handle the case where the diff looks empty
2359 because of the use of an async process.
2361 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2363 * vc.el (vc-next-action-on-file): Removed optional parameter
2364 `simple'. Recompute state unconditionally.
2365 (vc-default-toggle-read-only): Removed.
2367 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
2368 (vc-toggle-read-only): Undid prev change.
2370 * vc-cvs.el (vc-cvs-stay-local): Renamed from
2371 vc-cvs-simple-toggle. Redocumented.
2372 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
2373 (vc-cvs-toggle-read-only): Removed.
2375 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2377 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
2378 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
2379 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
2380 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
2381 still is. So maybe it should be removed.
2382 (vc-head-version, vc-find-binary): Remove.
2383 (vc-recompute-state): Move from vc-hooks.el.
2384 (vc-next-action-on-file): Add a `simple' argument to allow
2385 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
2386 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
2387 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
2388 (vc-dired-mode-map): Properly defvar it.
2389 (vc-print-log): Call log-view-mode if available.
2390 (small-temporary-file-directory): defvar instead of use boundp.
2391 (vc-merge-news): Moved to vc-cvs.el.
2392 (vc-default-merge-news): New function.
2394 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
2395 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
2396 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
2397 unknown `vc-latest-version' function. It should probably refer to
2398 vc-workfile-version or somesuch, but it's very unclear to me and I
2399 don't have SCCS to test things.
2401 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
2402 (vc-sccs-state-heuristic): Fix typo.
2403 (vc-sccs-workfile-unchanged-p): Add missing argument.
2405 * vc-rcs.el: Require vc and vc-rcs-hooks.
2406 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
2407 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
2408 (vc-release-greater-or-equal-p): Move from vc.
2409 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
2410 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
2411 (vc-rcs-checkout): Add a missing `new-version' argument in the
2412 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
2414 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
2415 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
2416 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
2417 than the apparently unbound `workfile-version'.
2419 * vc-hooks.el (vc-master-templates): Def the obsolete var.
2420 (vc-file-prop-obarray): Use `make-vector'.
2421 (vc-backend-functions): Add new hookable functions
2422 vc-toggle-read-only, vc-record-rename and vc-merge-news.
2423 (vc-loadup): If neither backend nor default functions exist, use
2424 the backend function rather than nil.
2425 (vc-call-backend): If the function if not bound yet, try to load
2426 the non-hook file to see if it provides it.
2427 (vc-call): New macro plus use it wherever possible.
2428 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
2429 nor `vc-find-binary' since it's only called from
2430 vc-mistrust-permission which is only used once the backend is known.
2431 (vc-checkout-model): Fix parenthesis.
2432 (vc-recompute-state, vc-prefix-map): Move to vc.el.
2434 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
2435 (vc-cvs-release, vc-cvs-system-release): Remove.
2436 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
2437 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
2439 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
2440 (vc-cvs-toggle-read-only): First cut at a function to allow a
2441 cvs-status-free vc-toggle-read-only.
2442 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
2443 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
2444 vc-cvs-status. Also set vc-state rather than vc-locking-user.
2445 (vc-cvs-checkout): Modify access rights directly if the user
2446 requested not to use `cvs edit'. And refresh the mode line.
2448 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
2449 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
2451 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2453 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
2454 workfile' that got lost when the code was extracted from vc.el.
2455 And merged the tail with the rest of the code (not possible in the
2456 old vc.el where the tail was shared among all backends). And
2457 explicitly set the state to 'edited if `writable' is set.
2459 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
2460 (vc-cvs-state): Be careful to return the value from
2462 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
2463 property but return it instead. Also be careful to handle a nil
2464 or "" `rev' when workfile is non-nil (it was handled properly when
2467 * vc.el: Removed those pesky unnecessary `(function' quotes.
2468 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
2469 directly in the defvar.
2470 (vc-do-command): Bind inhibit-read-only so as to properly handle
2471 the case where the destination buffer has been made read-only.
2472 (vc-diff): Delegate to vc-version-diff in all cases.
2473 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
2474 (vc-annotate-mode-variables): Removed (code moved partly to
2475 defvars and partly to vc-annotate-add-menu).
2476 (vc-annotate-mode): Turned into a derived-mode.
2477 (vc-annotate-add-menu): Moved in code in
2478 vc-annotate-mode-variables.
2479 (vc-update-change-log): Use make-temp-file if available.
2481 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
2483 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
2484 `vc-checkout-model' updated to `vc-cvs-update-model'.
2486 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2488 * vc.el (vc-next-action-on-file): Added handling of state
2490 (vc-checkout-carefully): Is now practically obsolete, unless the
2491 above is too slow to be enabled unconditionally.
2492 (vc-update-change-log): Fixed typo.
2494 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
2496 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
2497 Now handles state `unlocked-changes'.
2498 (vc-sccs-workfile-unchanged-p): New function, to support the above.
2500 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
2502 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
2503 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
2505 (vc-rcs-workfile-unchanged-p): Renamed from
2506 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
2507 function yet, but supposed to become one soon.
2509 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
2511 (vc-call-backend): Changed error message.
2512 (vc-state): Added description of state `unlocked-changes'.
2514 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2516 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
2517 always return t in CVS-controlled directories.
2519 * vc.el (vc-responsible-backend): New function.
2520 (vc-register): Largely rewritten.
2521 (vc-admin): Removed (implementation moved into vc-register).
2522 (vc-checkin): Redocumented.
2523 (vc-finish-logentry): If no backend defined yet (because we are in
2524 the process of registering), use the responsible backend.
2526 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2527 Updated function lists.
2528 (vc-call-backend): Fixed typo.
2530 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
2532 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
2533 Removed query option. Redocumented.
2535 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2537 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
2539 * vc.el: Updated callers of `vc-checkout-required' to use
2540 `vc-checkout-model'.
2542 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2544 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
2545 stuff updated to reference this function instead of the old
2546 `vc-backend-release-p'.
2548 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2550 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
2551 vc-checkout-model. Return appropriate values. Updated callers.
2553 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2555 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
2556 (vc-backend-revert): Function moved into `vc-revert';
2557 `vc-next-action' must be updated to accomodate this change.
2558 (vc-backend-steal): Function moved into `vc-finish-steal'.
2559 (vc-backend-logentry-check): Function moved into
2560 `vc-finish-logentry'.
2561 (vc-backend-printlog): Function moved into `vc-print-log'.
2562 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
2563 (vc-backend-assign-name): Function moved into
2564 `vc-create-snapshot'.
2566 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2568 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
2569 Rename to vc-checkout-model. Return appropriate values.
2572 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
2573 to vc-checkout-model.
2574 (vc-checkout-required): Rename to vc-checkout-model.
2575 Re-implement and re-comment.
2576 (vc-after-save): Use vc-checkout-model.
2578 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2580 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
2581 Update to use the vc-BACKEND-diff functions instead.
2582 `vc-diff' is now working.
2584 * vc-rcs.el (vc-rcs-logentry-check): New function.
2586 * vc-cvs.el (vc-cvs-logentry-check): New function.
2588 * vc-sccs.el (vc-sccs-diff): Function changed name from
2589 `vc-backend-diff'. This makes `vc-diff' work.
2591 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
2592 of functions possibly implemented in a vc-BACKEND library.
2593 (vc-checkout-required): Fix bug that caused an error to be
2594 signaled during `vc-after-save'.
2597 This checkin is made with our new VC code base for the very first time.
2598 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
2600 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
2601 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
2603 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
2604 updated to `vc-uses-locking'.
2605 (vc-checkout-required): Call to backend function.
2606 `vc-checkout-required' updated to `vc-uses-locking' instead.
2608 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
2609 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
2611 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
2612 to match the split into various backends.
2613 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
2614 (vc-retrieve-snapshot): Bug fix.
2616 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2618 * vc-sccs.el (vc-sccs-release): Doc fix.
2620 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2622 * vc.el (vc-next-action-on-file): Bug found and fixed.
2623 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
2624 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
2626 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
2627 (vc-rcs-checkout): Name space cleaned up. No more revision number
2628 crunching function names that are not prefixed with vc-rcs.
2629 (vc-rcs-checkout-model): Function added. References to
2630 `vc-checkout-model' replaced.
2632 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2634 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
2635 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
2636 still need to be split, and implemented for RCS).
2638 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2640 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
2642 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
2643 required by the vc.el file.
2645 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
2646 required by the vc.el file.
2647 (vc-rcs-exists): Function added.
2649 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
2650 required by the vc.el file.
2652 * vc.el (vc-admin): Updated to handle selection of appropriate
2653 backend. Current implementation is crufty and need re-thinking.
2655 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
2657 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2659 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
2660 beginning of annotate buffers correctly.
2662 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
2663 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
2664 functionality updated quite a lot to support multiple backends.
2665 Variables `vc-annotate-mode', `vc-annotate-buffers',
2666 `vc-annotate-backend' added.
2668 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
2669 `vc-annotate-difference' added to supported backend functions.
2671 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2673 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
2674 Use with-temp-file instead of /bin/sh. Merged from mainline
2676 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2678 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
2680 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
2682 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
2684 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2686 * vc-hooks.el: vc-state-heuristic added to
2687 vc-backend-hook-functions.
2689 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
2691 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
2693 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
2694 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
2695 state to `reserved'.
2697 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
2698 `vc-checkout-required'. Rename the `locked' state to `reserved'.
2700 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2702 * vc-rcs-hooks.el: Implement new state model. Hardly anything
2705 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
2707 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
2708 if defined. (Merged from main line, slightly adapted.)
2710 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
2711 millenium problem (merged from mainline).
2713 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2715 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
2716 part and moved the non-BACKEND stuff to vc.el.
2718 * vc.el: Split the annotate feature into a BACKEND specific part
2719 and moved it from the vc-cvs.el file to this one.
2721 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2723 * vc-hooks.el: Implement new state model.
2724 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
2725 (vc-locking-user): Simplify. Now only needed if the file is
2726 locked by somebody else.
2727 (vc-lock-from-permissions): Remove. Functionality is in
2728 vc-sccs-hooks.el and vc-rcs-hooks.el now.
2729 (vc-mode-line-string): New name for former vc-status. Adapted.
2730 (vc-mode-line): Adapt to use the above. Remove optional parameter.
2732 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
2733 Various simplifications and adaptations all over the place.
2735 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
2736 Simplify and adapt the rest.
2738 * vc.el (vc-resynch-window): Add TODO comment: check for
2739 interaction with view mode according to recent RCS change.
2740 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
2742 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2744 * vc.el: Convert the remaining function comments to docstrings.
2746 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2748 * vc.el (vc-backend-release, vc-release-greater-or-equal)
2749 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
2750 (vc-minor-part, vc-previous-version): Functions that operate and
2751 compare revision numbers got proper documentation. Comments added
2752 about their possible removal.
2754 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2756 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
2757 the vc-backend.el files.
2759 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
2761 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
2762 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
2763 (vc-rcs-previous-version): Functions added.
2765 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
2767 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
2769 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2771 * vc-hooks.el (vc-master-templates): Is really obsolete.
2772 Comment out the definition for now. What is the right procedure
2774 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
2776 (vc-default-registered): Remove.
2777 (vc-check-master-templates): New function; does mostly what the
2779 (vc-locking-user): Don't rely on the backend to set the property.
2781 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
2782 Rewrite documentation.
2783 (vc-rcs-templates-grabbed): New variable.
2784 (vc-rcs-grab-templates): New function.
2785 (vc-rcs-registered): Rewrite to use above mechanism.
2787 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
2788 Rewrite documentation.
2789 (vc-sccs-templates-grabbed): New variable.
2790 (vc-sccs-grab-templates): New function.
2791 (vc-sccs-registered): Rewrite to use above mechanism.
2792 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
2793 Don't throw the result, simply return it.
2795 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
2796 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
2797 (vc-cvs-registered): Does the check itself now. Simplify.
2799 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
2802 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2804 * vc-cvs.el (vc-cvs-diff): New function.
2806 * vc-sccs.el (vc-sccs-diff): New function.
2808 * vc-rcs.el (vc-rcs-diff): New function.
2809 (vc-rcs-checkout): Bug (typo) found and fixed.
2810 (vc-rcs-register-switches): New variable.
2812 * vc.el (vc-backend-diff): Function removed and placed in the
2815 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2817 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
2819 * vc.el (vc-backend-checkout): Function removed and replaced in
2820 the vc-backend.el files.
2822 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
2824 * vc.el (vc-backend-admin): Removed and replaced in the
2825 vc-backend.el files.
2827 * vc.el (Martin): Removed all the annotate functionality since it
2828 is CVS backend specific.
2830 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2832 * spec.txt: Added specification of vc-state.
2834 * vc-sccs-hooks.el (vc-sccs-master-properties):
2835 Remove handling of vc-latest-version and
2836 vc-your-latest-version. What used to be vc-latest-version, is now
2837 returned as vc-workfile-version.
2838 (vc-sccs-workfile-version): Adapt.
2840 2000-09-04 Dave Love <fx@gnu.org>
2842 * vc.el: [Merged from mainline.]
2843 (vc-dired-mode): Make the dired-move-to-filename-regexp
2844 regexp match the date, to avoid treating date as file size.
2845 Add YYYY S option to WESTERN/
2847 2000-09-04 Dave Love <fx@gnu.org>
2849 * vc.el: Require `compile' when compiling.
2850 (vc-logentry-check-hook): New option.
2851 (vc-steal-lock): Use compose-mail.
2852 (vc-dired-mode-map): Defvar when compiling.
2853 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
2854 vc-sccs.el and renamed. Callers changed.
2855 (vc-backend-checkout, vc-backend-logentry-check)
2856 (vc-backend-merge-news): Doc fix.
2857 (vc-default-logentry-check): New function.
2858 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
2859 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
2860 (vc-backend-merge): Doc fix. Use backend functions.
2861 (vc-check-headers): Use backend functions.
2863 * vc-cvs.el: Require vc when compiling.
2864 (vc-cvs-register-switches): Doc fix.
2865 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
2866 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
2867 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
2868 New functions (code from vc.el).
2869 (vc-annotate-display-default): Fix interactive spec.
2870 (vc-annotate-time-span): Doc fix.
2872 * vc-rcs.el: Require vc when compiling.
2873 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
2874 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
2875 (vc-rcs-checkin): New functions (code from vc.el).
2876 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
2878 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
2880 * vc-sccs.el: Require vc when compiling.
2881 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
2882 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
2884 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
2886 (vc-sccs-add-triple, vc-sccs-record-rename)
2887 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
2888 (vc-sccs-admin): Doc fix.
2890 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2892 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
2893 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
2894 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
2897 * vc-sccs.el (vc-admin-sccs): Added from vc.el
2899 * vc-cvs.el: Moved the annotate functionality from vc.el.
2900 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
2902 2000-09-04 Dave Love <fx@gnu.org>
2904 * vc.el (vc-backend-release): Call vc-system-release.
2906 * vc-sccs.el (vc-sccs-system-release):
2907 Renamed from vc-sccs-backend-release.
2909 * vc-rcs.el (vc-rcs-system-release):
2910 Renamed from vc-rcs-backend-release.
2912 * vc-cvs.el (vc-cvs-system-release):
2913 Renamed from vc-cvs-backend-release.
2915 2000-09-04 Dave Love <fx@gnu.org>
2917 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
2919 (vc-backend-release): Dispatch to backend functions.
2920 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
2921 probably needs attention.]
2923 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
2924 (vc-sccs-backend-release): New function.
2926 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
2927 (vc-cvs-backend-release): New function.
2929 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
2931 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
2932 (vc-default-dired-state-info): New function.
2933 (vc-dired-state-info): Dispatch to backends.
2934 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
2936 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
2937 from vc.el and renamed.
2939 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2941 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
2942 (vc-version-other-window, vc-backend-assign-name): Removed
2943 references to vc-latest-version; sometimes changed into
2944 vc-workfile-version.
2946 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
2947 vc-rcs-master-workfile-version.
2948 (vc-rcs-workfile-version): Use the above. Don't call
2949 vc-latest-version (that was unreachable code, anyway).
2950 (vc-rcs-fetch-master-properties): Doc fix.
2952 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
2953 (vc-backend-hook-functions): Removed them from this list, too.
2954 (vc-fetch-properties): Removed.
2955 (vc-workfile-version): Doc fix.
2957 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
2958 (vc-rcs-workfile-version, vc-rcs-locking-user)
2959 (vc-rcs-uses-locking): Use it.
2961 * vc-hooks.el (vc-consult-rcs-headers):
2962 Moved into vc-rcs-hooks.el, under the name
2963 vc-rcs-consult-headers.
2965 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
2967 (vc-cvs-find-master): Use this name only; correct different
2968 versions of the name.
2970 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
2972 (vc-sccs-locking-user): Use the latter.
2974 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
2977 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
2979 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
2980 functions are implementation details of those two backends.
2982 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2984 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
2985 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
2987 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
2988 (vc-sccs-parse-locks): SCCS-specific code moved here from
2991 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
2992 code moved here from vc-hooks.
2994 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
2995 into back-end specific parts and removed. Callers not updated
2996 yet; because I guess these callers will disappear into back-end
2997 specific files anyway.
2999 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3001 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
3002 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
3005 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
3006 Store yes/no in the property, and return t/nil. Updated all
3009 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
3010 vc-sccs-uses-locking. Don't set property.
3011 (vc-sccs-locking-user): Don't set property.
3013 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
3014 vc-cvs-uses-locking. Don't set property here; leave that to
3016 (vc-cvs-locking-user): Reflect above change. Streamlined.
3018 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
3019 vc-rcs-uses-locking.
3020 (vc-rcs-locking-user): Reflect above change.
3022 2000-09-04 Dave Love <fx@gnu.org>
3024 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
3026 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
3028 * vc-hooks.el (vc-checkout-model): Punt to backends.
3030 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
3032 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
3034 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
3037 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
3040 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
3041 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
3043 * vc-hooks.el (vc-default-locking-user): New function.
3044 (vc-locking-user, vc-workfile-version): Punt to backends.
3046 2000-09-04 Dave Love <fx@gnu.org>
3048 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
3049 (vc-master-workfile-version): Moved from vc-hooks.
3051 * vc-rcs-hooks.el: Fix duplicate code in last change.
3053 * vc-rcs-hooks.el: Require vc-hooks when compiling.
3054 (vc-rcs-master-templates): Improve :type.
3055 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
3056 vc-master-workfile-version): Moved from vc-hooks.
3058 * vc-sccs-hooks.el: Require vc-hooks when compiling.
3059 (vc-sccs-master-templates): Improve :type.
3060 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
3062 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
3064 * vc-cvs-hooks.el: Require vc-hooks when compiling.
3065 (vc-cvs-master-templates): Improve :type. Use
3066 vc-cvs-find-cvs-master.
3067 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
3069 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
3071 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
3072 Moved to vc-cvs-hooks.
3074 * vc-hooks.el: Add doc strings in various places. Simplify the
3076 (vc-handled-backends): New user variable.
3077 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
3080 2000-09-04 Dave Love <fx@gnu.org>
3082 * vc.el: Some doc fixes for autoloaded and interactive functions.
3083 Fix compilation warnings from ediff stuff.
3084 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
3086 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
3088 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
3090 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
3092 2000-09-04 Dave Love <fx@gnu.org>
3094 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
3096 (vc-make-backend-function, vc-loadup, vc-call-backend)
3097 (vc-backend-defines): New functions.
3099 * vc-hooks.el: Various doc fixes.
3100 (vc-default-back-end, vc-follow-symlinks): Custom fix.
3101 (vc-match-substring): Function removed. Callers changed to use
3103 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
3106 2000-09-04 Dave Love <fx@gnu.org>
3108 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
3110 (vc-sccs-project-dir, vc-search-sccs-project-dir)
3111 (vc-sccs-registered): Doc fix.
3113 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
3114 (vc-cvs-registered): Doc fix.
3116 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
3117 (vc-rcs-registered): Doc fix.
3119 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3121 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
3123 * vc-hooks.el: vc-registered has been renamed
3124 vc-default-registered. Some functions have been moved to the
3125 backend specific files. they all support the
3126 vc-BACKEND-registered functions.
3128 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3130 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
3132 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
3134 2000-09-04 Dave Love <fx@gnu.org>
3136 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
3137 menu-bar-update-hook.
3139 * help.el (help-manyarg-func-alist): Add
3140 find-operation-coding-system.
3142 * wid-edit.el (widget-sexp-validate): Fix garbled code.
3144 * custom.el (custom-set-variables): Print message about errors in
3147 2000-09-03 Andrew Innes <andrewi@gnu.org>
3149 * makefile.w32-in: Change to DOS line endings.
3151 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3153 * mouse.el (mouse-popup-menubar): Supply the prompt string for
3154 minor-mode keymaps, if they don't have one.
3156 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3158 * eshell/esh-module.el (eval-when-compile): Don't lose if
3159 esh-module.el's file name is truncated to DOS 8+3 limits.
3161 2000-09-01 John Wiegley <johnw@gnu.org>
3163 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
3164 predicate, which caused entries in the completion list to be
3167 2000-08-30 John Wiegley <johnw@gnu.org>
3169 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
3170 sending to subprocesses. Also, hook pre-command-hook if
3171 `eshell-send-direct-to-subprocesses' is non-nil.
3172 (eshell-send-direct-to-subprocesses): New config variable. If t,
3173 subprocess input is send immediately.
3174 (eshell-toggle-direct-send): New function.
3175 (eshell-self-insert-command): New function.
3176 (eshell-intercept-commands): New function.
3177 (eshell-send-input): If direct subprocess sending is enabled,
3178 don't echo any input to the Eshell buffer. Let the subprocess
3179 handle that. This requires "stty echo" in bash, for example.
3181 2000-08-28 John Wiegley <johnw@gnu.org>
3183 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
3184 completion function for Eshell's implementation of `unset'.
3186 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3188 * info.el (Info-directory-list): Doc fix.
3190 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
3192 * filecache.el (file-cache-add-directory-using-find): Don't quote
3193 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
3195 2000-08-31 Kenichi Handa <handa@etl.go.jp>
3197 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
3200 2000-08-30 Andrew Innes <andrewi@gnu.org>
3202 * timer.el (run-with-idle-timer): Undo last change, so that timer
3203 is not activated immediately if Emacs is already idle. Some
3204 existing code relies on this behaviour.
3206 2000-08-30 Miles Bader <miles@gnu.org>
3208 * frame.el (set-frame-font): Do completion of font-name for
3211 2000-08-30 Kenichi Handa <handa@etl.go.jp>
3213 * international/quail.el (quail-start-translation): Bind locally
3214 last-command-event, last-command, and this-command.
3215 (quail-start-conversion): Likewise.
3216 (quail-self-insert-command): Fix docstring.
3218 2000-08-29 Gerd Moellmann <gerd@gnu.org>
3220 * progmodes/executable.el
3221 (executable-make-buffer-file-executable-if-script-p): Check that
3222 buffer contains at least 2 characters.
3224 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3226 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
3228 2000-08-29 Dave Love <fx@gnu.org>
3230 * diff-mode.el (diff-mode) <defgroup>: Add :version.
3231 (diff-mode-shared-map): Bind mouse-2.
3232 (diff-imenu-generic-expression): New variable.
3233 (diff-mode): Use it.
3235 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
3236 (mouse-popup-menubar): Add minor mode menus.
3237 (popup-menu): Check for lookup-key returning number.
3239 2000-08-29 Miles Bader <miles@gnu.org>
3241 * comint.el (comint-send-input): Create overlays using the proper
3242 front/read-advance arguments.
3244 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3246 * ps-print.el: Even/odd pages printing. Doc fix.
3247 (ps-print-version): New version number (6.0).
3248 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
3249 (ps-background, ps-begin-file, ps-begin-job): Code fix.
3250 (ps-print-duplex-feature): Variable eliminated.
3251 (ps-even-or-odd-pages): New variable.
3253 * progmodes/ebnf2ps.el: Doc fix.
3254 (ebnf-version): New version (3.3).
3255 (ebnf-user-arrow): Change variable customization to sexp.
3256 (ebnf-user-arrow): Function eliminated.
3257 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
3259 2000-08-29 Kenichi Handa <handa@etl.go.jp>
3261 * help.el (help-xref-mule-regexp): New variable.
3262 (help-make-xrefs): Handle help-xref-mule-regexp.
3264 * international/mule-cmds.el (help-xref-mule-regexp-template): New
3266 (describe-input-method): Temporarily activate the specfied input
3267 method to display the information.
3268 (describe-language-environment): Hyperlinks to mule related items.
3270 * international/mule-diag.el (charset-multibyte-form-string): New
3272 (list-character-sets-1): Use charset-multibyte-form-string.
3273 (describe-character-set): New function.
3274 (describe-coding-system): Hyperlinks to safe character sets.
3276 * international/quail.el (quail-help): New arg PACKAGE.
3277 Hyperlinks to mule related items.
3278 (quail-help-insert-keymap-description): Use
3279 substitute-command-keys instead of describe-bindings.
3280 (quail-translation-help): Hyperlinks to mule related items.
3282 2000-08-28 John Wiegley <johnw@gnu.org>
3284 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
3285 have a defsubst call itself. Made `eshell-flatten-list' back into
3288 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
3289 catch, in case re-centering point at bottom messes up the display.
3290 This happens frequently in Emacs 21, due I believe to variable
3293 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
3294 to call `find-tag-interactive'.
3296 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
3297 the list of remember directories.
3299 2000-08-28 John Wiegley <johnw@gnu.org>
3301 * align.el: Test align-region-separate to see if it's a symbol.
3303 2000-08-28 John Wiegley <johnw@gnu.org>
3305 * eshell/esh-util.el (eshell-flatten-list): Made this function
3306 into a defsubst form. It gets used very frequently, although
3307 calls don't occur all that often.
3309 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
3312 * eshell/esh-cmd.el (eshell-rewrite-while-command):
3313 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
3315 (eshell-copy-handles): Created a new macro for duplicating the
3316 current set of open handles. This is needed by the looping
3318 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
3319 is not incorrectly stomped on.
3321 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
3322 declaration for pcomplete-use-paring.
3323 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
3324 value of eshell-cmpl-use-paring.
3325 * pcomplete.el (pcomplete-use-paring): New config variable, to
3326 indicate whether paring should be used.
3327 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
3328 completion alternatives that have already been used.
3330 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
3331 bound to C-c C-y, which will repeat the previous N arguments
3332 (based on prefix argument).
3333 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
3335 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
3336 if there is no *Help* buffer. This is for XEmacs, which renames
3337 its help buffers uniquely. TODO: Find out what the current buffer
3340 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
3341 first entry that correlates to a passwd/group number. Later
3342 entries (used for group/user name aliasing to multiple IDs) are
3345 * eshell/em-xtra.el (eshell/expr):
3346 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
3347 (eshell-grep, eshell/diff, eshell/locate):
3348 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
3349 argument list, before passing it to the system command.
3351 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
3352 `find-tag' for use at final position in Eshell buffers (which
3353 otherwise triggers an error on Emacs 21).
3354 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
3355 buffer, if it is currently bound to `find-tag'.
3357 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
3358 in the list of matched Makefile names.
3359 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
3360 directory, prefer its contents to Makefile.
3362 * eshell/em-dirs.el (eshell/cd): cd commands that look up
3363 directory parts (like "cd old new", or "cd =regexp"), are now case
3364 sensitive on non-Windows/DOS platforms.
3366 * eshell/esh-mode.el (eshell-parse-command-input): When a user
3367 types RET after an open delimiter (like "), display a message
3368 indicating that Eshell is waiting for the closing delimiter.
3370 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
3371 environment variables.
3373 * eshell/em-unix.el (eshell/diff): Added logic to fail more
3374 gracefully if the user enters incorrect arguments.
3376 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
3379 * eshell/esh-var.el (eshell-interpolate-variable):
3380 * eshell/esh-mode.el (eshell-move-argument):
3381 * eshell/em-unix.el (eshell-du-sum-directory):
3382 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
3383 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
3386 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
3387 to ensure the `preserve' flag gets propagated when doing recursive
3390 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
3392 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
3393 Don't convert \n into \0177 in memory.
3394 (eshell-read-history, eshell-write-history): Convert \n to \0177,
3395 and back again, when reading and writing.
3397 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
3399 * eshell/esh-util.el (eshell-processp): Added to relieve constant
3400 testing of `fboundp' on `processp'.
3402 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
3403 (eshell/jobs): Don't call process-list if it is not bound.
3404 (eshell-gather-process-output): Support systems where async
3405 subprocesses aren't supported.
3406 (eshell-scratch-buffer, eshell-last-sync-output-start): New
3409 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
3410 eshell-do-eval returns t.
3411 (eshell-do-pipelines-synchronously): New defmacro.
3412 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
3413 when async subprocesses aren't supported.
3414 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
3415 if async subprocesses aren't supported.
3416 (eshell-resume-command): Don't assume STATUS is a string.
3418 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
3420 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
3421 (eshell-close-target, eshell-get-target): Use eshell-processp.
3422 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
3424 (eshell-get-target, eshell-create-handles): Doc fix.
3426 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
3428 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
3429 criterion to include commands that output something, as long as it
3430 leaves both the command and the end-of-buffer visible when the
3432 (eshell-review-quick-commands): Adjust the help doc string
3435 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
3437 * locate.el (locate): Cleaned up locate command's interactive prompting
3438 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
3440 * filecache.el (file-cache-case-fold-search): New variable
3441 (file-cache-assoc-function): New variable
3442 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
3443 Use file-cache-case-fold-search variable
3444 (file-cache-add-file): Use file-cache-assoc-function
3445 (file-cache-delete-file): likewise
3446 (file-cache-directory-name): likewise
3447 (file-cache-debug-read-from-minibuffer): likewise
3449 2000-08-28 Gerd Moellmann <gerd@gnu.org>
3451 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
3452 (abbrev-table-name): New function.
3453 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
3454 If non-nil list local abbrev, only.
3456 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
3458 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
3459 from Gnus support code, and use special article copy buffer
3460 `(gnus-original-article-buffer)' instead. This allows to get rid
3461 of article-hide-headers usage (which breaks in the latest Gnus
3462 version). Thanks to Detlev Zundel.
3464 2000-08-28 Kenichi Handa <handa@etl.go.jp>
3466 * international/quail.el (quail-use-package): Hide "... loaded"
3468 (quail-start-translation, quail-start-conversion): Likewise.
3470 * international/kkc.el (kkc-region): Hide "... loaded" message.
3472 2000-08-27 Dave Love <fx@gnu.org>
3474 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
3476 2000-08-27 Miles Bader <miles@gnu.org>
3478 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
3480 2000-08-27 Kenichi Handa <handa@etl.go.jp>
3482 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
3483 'ja-dic-cnv), not (require 'skkdic-cnv).
3485 2000-08-26 Miles Bader <miles@gnu.org>
3487 * faces.el (face-x-resources): Add entry for :inherit.
3488 * cus-face.el (custom-face-attributes): Add support for :inherit
3489 attribute. Add support for relative face heights.
3490 (custom-face-attributes-get): Treat `nil' as being a default value
3491 for :inherit (as well as `unspecified').
3493 * faces.el (set-face-attribute): Update doc string.
3494 (face-attribute-name-alist): Add :inherit.
3495 (face-valid-attribute-values): Handle :inherit.
3496 (face-read-string): Rephrase prompt to be less confusing.
3497 Assume that DEFAULT is a string, since we must return a string.
3498 (face-read-integer): Use `format' to turn DEFAULT into an
3499 acceptable default for face-read-string. Match NEW-VALUE against
3500 the string "unspecified", not the symbol `unspecified', since
3501 that's what face-read-string returns.
3502 (read-face-attribute): Lookup a name for old-value in valid, and
3503 use it as a default if we find one. Treat all values from
3504 face-read-string as strings. If the default is used, don't do any
3505 more processing on the value, just use the old value directly.
3506 (read-face-and-attribute, modify-face): Tweak prompt.
3507 (read-face-name): Don't assume prompt ends with a space.
3509 * faces.el (describe-face): Add support for :inherit attribute.
3511 2000-08-25 Kenichi Handa <handa@etl.go.jp>
3513 * terminal.el (terminal-emulator): Fix args to `concat'. Now
3514 concat doesn't accept interger.
3516 * international/kkc.el: Remove SKK from Keywords. Require
3517 ja-dic-utl instead of skkdic-utl.
3519 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
3520 Provide ja-dic-cnv instead of skkdic-cnv.
3521 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
3522 (iso-2022-7bit-short): Add safe-charsets property.
3523 (skkdic-convert-postfix): Search Japanese chou-on character in
3524 addition to Hiragana character.
3525 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
3526 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
3527 (batch-skkdic-convert): Likewise.
3529 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
3530 Provide ja-dic-utl instead of skkdic-utl.
3531 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
3533 2000-08-24 Dave Love <fx@gnu.org>
3535 * disp-table.el (standard-display-default): Make the test of `l'
3538 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
3541 * international/iso-ascii.el: Make pilcrow convenient string
3542 consistent with section.
3543 (iso-ascii-display): Set up multibyte characters as well as
3546 2000-08-24 Kenichi Handa <handa@etl.go.jp>
3548 * international/mule-cmds.el (reset-language-environment): Set
3549 default-process-coding-system to '(undecided . iso-latin-1), which
3550 makes process I/O almost consistent with file I/O. Call this
3551 function when mule-cmds.el[c] is loaded.
3553 2000-08-22 Andrew Innes <andrewi@gnu.org>
3555 * makefile.w32-in: New file.
3557 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
3559 * comint.el (comint-output-filter): Compare end of
3560 comint-last-output-overlay with the start of the newly inserted
3561 text, not the end, when deciding whether to extend it.
3562 Set saved-point's insertion type to advance after insertion.
3564 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
3565 since this is now done independently of font-lock mode.
3567 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3569 * server.el (server-kill-new-buffers): New user option.
3570 (server-existing-buffer): New buffer-local variable.
3571 (server-visit-files): When using an existing buffer, set
3572 server-existing-buffer to t.
3573 (server-buffer-done): If server-kill-new-buffers is t, kill the
3574 buffer, unless it was already present before visiting it with
3577 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
3579 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
3580 even if the display doesn't support colors: some displays will
3581 support bold/underline faces.
3583 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3585 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
3587 * startup.el (command-line): If user's init file had an error,
3588 add explanatory text to *Messages*.
3590 2000-08-21 Kenichi Handa <handa@etl.go.jp>
3592 * man.el (Man-getpage-in-background): Decode the process output by
3593 the system locale coding system.
3595 2000-08-20 Dave Love <fx@gnu.org>
3597 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
3598 Don't test x-popup-menu.
3599 (function) <complete-function>: Complete only fbound symbols.
3600 <validate, value>: New.
3601 (variable) <complete-function>: Complete only bound symbols.
3602 (coding-system): Add :base-only, :complete-function, :validate,
3603 :value, :prompt-match.
3604 (widget-coding-system-prompt-value): Use read-coding-system and
3606 (editable-field): Add :help-echo.
3607 (widget-push-button-gui, widget-push-button-cache)
3608 (widget-gui-action, widget-editable-list-gui): COmment out, along
3610 (widget-at): Make arg optional.
3611 (widget-echo-help): Adjust for current help-echo calling sequence.
3612 (widget-specify-field, widget-specify-button)
3613 (widget-specify-insert, widget-get-sibling, widget-image-find)
3614 (widget-convert, widget-insert, widget-leave-text)
3615 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
3616 (widget-setup, widget-field-find, widget-before-change)
3617 (widget-after-change, widget-default-complete)
3618 (widget-default-create, widget-default-delete)
3619 (widget-push-button-value-create, editable-field)
3620 (widget-field-prompt-value, widget-field-validate)
3621 (widget-choice-value-create, widget-choice-action)
3622 (widget-choice-validate, widget-checklist-add-item)
3623 (widget-radio-add-item, widget-radio-chosen)
3624 (widget-radio-value-inline, widget-editable-list-value-create)
3625 (widget-editable-list-entry-create)
3626 (widget-documentation-link-add)
3627 (widget-documentation-string-value-create)
3628 (widget-regexp-validate, widget-file-complete)
3629 (widget-sexp-validate, widget-plist-convert-widget)
3630 (widget-plist-convert-widget, widget-alist-convert-widget)
3631 (widget-alist-convert-widget, widget-color-complete): Simplify,
3632 particularly to avoid bindings which aren't optimized out.
3634 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
3636 (down-list, backward-up-list, up-list, kill-sexp)
3637 (backward-kill-sexp, mark-sexp): Make arg optional.
3638 (lisp-complete-symbol): Add optional arg PREDICATE.
3640 * cus-start.el: Add display-buffer-reuse-frames,
3641 file-coding-system-alist.
3643 2000-08-20 Gerd Moellmann <gerd@gnu.org>
3645 * startup.el (command-line): Clear realized faces after
3646 modifying TTY color mappings.
3648 2000-08-20 Miles Bader <miles@gnu.org>
3650 * faces.el (face-attr-match-p): Don't return true if ATTRS are
3651 merely a subset of FACE's attributes.
3653 2000-08-19 Miles Bader <miles@gnu.org>
3655 * comint.el (comint-output-filter): Save the point with a marker,
3656 not just a buffer position.
3658 * international/mule.el (set-buffer-process-coding-system): Make
3659 interactive prompt less confusing.
3661 2000-08-19 Gerd Moellmann <gerd@gnu.org>
3663 * hilit-chg.el: General cleanup of doc strings, comments and
3666 2000-08-19 Miles Bader <miles@gnu.org>
3668 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
3669 Compiler macro removed; beginning-of-line is no longer always
3670 equivalent to forward-line, in the presence of fields.
3672 * comint.el (comint-output-filter): Remove ad-hoc saving of
3673 restriction, and just use save-restriction, now that it works
3674 correctly. Don't adjust comint-last-input-start to account for
3675 our insertion; it shouldn't have moved because we don't use
3676 insert-before-markers anymore. Comment out call to
3677 `force-mode-line-update'; why is it here?
3679 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
3680 while checking for prompt to delete. Use `forward-line 0'
3681 instead of beginning-of-line.
3682 (gud-filter): Temporarily widen gud comint buffer while
3685 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
3687 * progmodes/sh-script.el: Big bag of typos.
3689 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
3690 check since ispell-process is not bound when ispell is not yet loaded.
3692 2000-08-18 Dave Love <fx@gnu.org>
3694 * image.el (find-image): Copy `spec' before using plist-put.
3696 2000-08-18 Gerd Moellmann <gerd@gnu.org>
3698 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
3701 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
3702 backward-kill-sexp, analogous to kill-sexp.
3704 * progmodes/icon.el (icon-indent-line)
3705 (icon-is-continuation-line): Handle comments specially.
3707 2000-08-17 Ken Stevens <k.stevens@ieee.org>
3709 * ispell.el: Set to standard author/maintainer/keyword fields.
3710 Fine tuning to menu map appearance and operation, and added help.
3711 Remove `start' and `end' error messages when compiling.
3712 (ispell-choices-win-default-height): Fixed comment string.
3713 (ispell-dictionary-alist-1): Fixed regexp in castellano and
3714 castellano8 dictionaries.
3715 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
3716 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
3717 dictionary, added italiano dictionary.
3718 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
3720 (ispell-tex-skip-alists): Added psfig support.
3721 (ispell-skip-html): Renamed from ispell-skip-sgml.
3722 (ispell-begin-skip-region-regexp, ispell-skip-region)
3723 (ispell-minor-check): Improved html skipping support to skip across
3724 code, and recognize `&' commands without propper `;' syntax;
3725 (ispell-process-line): Fix alignment error when manually
3726 correcting spelling.
3727 (ispell): Fix comment string.
3728 (ispell-add-per-file-word-list): Always put word list on new line.
3730 2000-08-17 Gerd Moellmann <gerd@gnu.org>
3732 * format.el (format-encode-run-method): Fix error message to say
3733 `encode' instead of `decode'. Use save-window-excursion around
3734 shell-command-on-region as in format-decode-run-method because
3735 shell-command-on-region can display a buffer with error output.
3736 (format-decode): Don't record undo information for the decoding.
3737 (format-annotate-function): Add parameter FORMAT-COUNT. Make
3738 that number part of the temporary buffer name so that more than
3739 one decoding using a temporary buffer can happen safely.
3741 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
3742 of `A-z' in the regexp.
3744 * hilit-chg.el: Fix typos in commentary.
3746 * help.el (view-emacs-news): Rewritten for new naming scheme
3749 * startup.el (command-line): Pop to *Messages* in case an error
3750 is signaled while loading user-init-file.
3752 2000-08-17 Andreas Schwab <schwab@suse.de>
3754 * files.el (insert-directory): Don't lose original file name,
3755 undoing an undocumented change.
3757 2000-08-17 Alex Schroeder <alex@gnu.org>
3759 * sql.el (sql-magic-go): Use comint-bol.
3760 (sql-copy-column): Use comint-line-beginning-position.
3761 (comint-line-beginning-position): Define a replacement for
3762 comint-line-beginning-position if it is not fboundp.
3764 2000-08-17 Alex Schroeder <alex@gnu.org>
3766 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
3767 it didn't have any effect anyway.
3769 2000-08-17 Alex Schroeder <alex@gnu.org>
3771 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
3772 --pset and pager=off instead of sending \\o|cat at the beginning
3775 2000-08-17 Miles Bader <miles@gnu.org>
3777 * progmodes/octave-inf.el: Add compatibility definition of
3778 comint-line-beginning-position.
3780 2000-08-17 Kenichi Handa <handa@etl.go.jp>
3782 * startup.el (normal-top-level): Look in each dir in load-path for
3783 a leim-list.el file too. This assures of loading leim-list.el
3784 that is created at Emacs installation time even if a user have his
3787 2000-08-17 Miles Bader <miles@gnu.org>
3789 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
3790 foreground color to black if the background is dark.
3792 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
3794 * loadhist.el (unload-feature): Typo.
3796 * finder.el (finder-compile-keywords):
3797 * cus-dep.el (custom-make-dependencies): Add local-variable settings
3798 to the generated file.
3800 * mail/mh-e.el (mh-make-local-vars):
3801 Replace make-variable-buffer-local with make-local-variable.
3804 * options.el (Edit-options-{set,toggle,t,nil}):
3805 * mail/mailabbrev.el (mail-abbrevs-mode):
3806 * textmodes/tex-mode.el (tex-expand-files):
3807 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
3809 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
3811 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
3812 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
3813 Allow going past the last element.
3814 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
3815 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
3816 (cvs-mouse-toggle-mark): Don't move point.
3817 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
3819 * progmodes/compile.el (grep): Provide a default set of files.
3820 (next-error): Docstring fix.
3821 (compilation-find-file): Avoid find-file (fails in a dedicated window).
3823 * emacs-lisp/easy-mmode.el (define-minor-mode):
3824 Use `symbol-value' to keep the byte-compiler quiet.
3826 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
3827 (diff-find-source-location): New fun, extracted from diff-goto-source.
3828 (diff-goto-source): Use it.
3829 (diff-next-complex-hunk, diff-filter-lines): New function.
3830 (diff-apply-hunk): New command.
3832 * smerge-mode.el (smerge-mode-menu): Doc fix.
3834 * msb.el (msb-mode): Define it in terms of define-minor-mode.
3836 2000-08-16 Dave Love <fx@gnu.org>
3838 * windmove.el (windmove) <defgroup>: Add :version.
3840 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
3841 (goto-address-fontify-p, goto-address-highlight-p)
3842 (goto-address-url-face, goto-address-url-mouse-face)
3843 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
3844 (goto-address-url-regexp): Use thing-at-point-url-regexp.
3845 (goto-address-fontify, goto-address-at-mouse): Simplify,
3846 (goto-address-at-point): browse-url-url-at-point,
3847 goto-address-find-address-at-point can return nil.
3848 (goto-address-find-address-at-point): Return nil on failure.
3850 * align.el (align) <defgroup>: Add :version.
3852 * calculator.el (calculator): Add :version.
3853 (calculator): Use two lines for calculator window if `modeline'
3856 * play/5x5.el: Doc fixes.
3857 (5x5) <defgroup>: Add :version.
3859 * play/fortune.el (fortune) <defgroup>: Add :version.
3860 (fortune-append): Fix error message.
3861 (fortune-from-region): Doc fix.
3863 * play/pong.el (pong): Doc fix.
3865 * play/morse.el: Keywords, commentary, autoloads.
3867 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
3869 * desktop.el (desktop-save): Don't look at symbol-value of a
3870 member of minor-mode-alist, unless it is boundp.
3872 2000-08-16 Sam Steingold <sds@gnu.org>
3874 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
3875 `while'; use `with-current-buffer' instead of `save-excursion'.
3876 Removed unnecessary kludges now that "*Buffer List*" is excluded.
3878 2000-08-16 Kenichi Handa <handa@etl.go.jp>
3880 * international/ccl.el (declare-ccl-program): Docstring modified.
3881 (ccl-execute-with-args): Likewise.
3883 2000-08-16 Miles Bader <miles@gnu.org>
3885 * progmodes/sql.el: Add compatibility definition of
3886 comint-line-beginning-position.
3888 2000-08-15 Gerd Moellmann <gerd@gnu.org>
3890 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
3891 'buffer-menu' property.
3892 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
3894 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
3895 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
3898 * buff-menu.el (list-buffers-noselect): Don't display the
3899 *Buffer List* buffer.
3901 * font-lock.el: Require jit-lock to prevent a very late
3902 `Loading jit-lock' message.
3904 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
3905 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
3908 2000-08-15 Miles Bader <miles@gnu.org>
3910 * textmodes/ispell.el (ispell-graphic-p): New constant.
3911 (ispell-choices-win-default-height, ispell-help): Use
3912 `ispell-graphic-p' instead of `xemacsp'.
3914 2000-08-15 Dave Love <fx@gnu.org>
3916 * simple.el: Autoload widget-convert when compiling.
3917 (mail-user-agent): Doc fix.
3919 * help.el (function-called-at-point, variable-at-point): Use
3921 (help-manyarg-func-alist): Add insert-and-inherit.
3923 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
3925 * delsel.el (delsel-unload-hook): New function.
3927 * find-file.el: Doc fixes. Move provide to end.
3928 (ff) <defgroup>: Add :link.
3929 (ff-goto-click): Deleted.
3930 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
3931 Use mouse-set-point.
3933 * textmodes/tildify.el: Doc fixes.
3934 (tildify) <defgroup>: Add:version.
3936 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
3937 (glasses-custom-set): Use set-default, not set.
3938 (minor-mode-alist): Propertize the lighter.
3939 (glasses-mode): Provide optional arg.
3941 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
3942 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
3943 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
3944 option. Provide :type.
3945 (cwarn-configuration): Provide :type.
3946 (cwarn-mode): Doc fix.
3948 * add-log.el (change-log-merge): Doc fix.
3949 (change-log-redate): New command.
3951 * net/browse-url.el (browse-url-filename-alist): Add a clause for
3953 (browse-url): Use dolist, not mapcar.
3954 (browse-url-at-point): Check for null url.
3955 (browse-url-event-buffer, browse-url-event-point): Functions
3957 (browse-url-at-mouse, browse-url-netscape): Simplify.
3959 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
3961 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
3962 Fix previous change to mapcan.
3963 (msb--init-file-alist, msb--add-separators)
3964 (msb--make-keymap-menu): Simplify.
3965 (msb--choose-file-menu): Use copy-sequence.
3966 (msb-mode-map): Add title to keymap.
3967 (msb-unload-hook): New function.
3969 * bs.el: Fix indentation.
3970 (bs) <defgroup>: Add :links.
3972 (bs-apply-sort-faces): Don't use window-system.
3973 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
3975 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
3977 * calendar/timeclock.el (timeclock-file): Run .timelog through
3978 convert-standard-filename.
3980 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3982 * emacs-lisp/authors.el: New file.
3984 * paren.el (show-paren-priority): New user option.
3985 (show-paren-function): Set overlay priorities to
3986 show-paren-priority.
3988 2000-08-14 Miles Bader <miles@gnu.org>
3990 * comint.el (comint-bol): Use `forward-line 0' instead of calling
3991 beginning-of-line with inhibit-field-text-motion bound.
3993 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3995 * calendar/timeclock.el: New file.
3997 2000-08-14 David Ponce <david@dponce.com>
3999 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
4000 `widget-button-click'. so that one can use left mouse button to
4001 click on dialog buttons.
4003 2000-08-14 Emmanuel Briot <briot@gnat.com>
4005 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
4006 identifiers, since XML is case sensitive
4008 2000-08-12 Miles Bader <miles@gnu.org>
4010 * comint.el (comint-output-filter): Don't bother frobbing
4011 window-start, it doesn't seem to be necessary.
4013 * comint.el (comint-send-string, comint-send-region): Make into
4014 real functions. Snapshot the prompt before sending.
4016 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4018 * info.el (Info-find-emacs-command-nodes): Rewrite to use
4019 technique similar to Info-index, instead of relying on specific
4020 names of relevant Index nodes.
4021 (Info-goto-emacs-command-node): Bind Info-history to nil when
4022 going to the first node found by Info-find-emacs-command-nodes.
4024 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4026 * menu-bar.el (menu-bar-help-menu): Add a :help string.
4028 2000-08-10 Miles Bader <miles@gnu.org>
4030 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
4032 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
4034 * info.el (Info-file-list-for-emacs): More elements for the
4035 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
4038 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
4040 * comint.el (comint-send-input): Make the newline boundary overlay
4041 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
4042 (comint-output-filter): Use `insert' instead of
4043 `insert-before-markers'. Extend comint-last-output-overlay when
4044 necessary since we can't rely on insert-before-markers to do it.
4045 * gud.el (gud-filter): Use `with-current-buffer' instead of
4046 save-excursion when inserting the output, so that point gets
4047 updated correctly; the old method relied on a rather dodgy
4048 side-effect of comint-output-filter to avoid the effect of
4051 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
4053 * files.el (recover-file): Call insert-directory instead of
4054 invoking `ls' directly.
4056 2000-08-10 Miles Bader <miles@gnu.org>
4058 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
4059 (comint-last-prompt-overlay): New variables.
4060 (comint-output-filter): Implement prompt highlighting.
4061 (comint-snapshot-last-prompt): New function.
4062 (comint-send-input): Snapshot the last prompt.
4063 Use comint-highlight-input-face.
4064 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
4065 Use defface instead of defcustom.
4066 (send-invisible, comint-send-eof): Snapshot the last prompt.
4067 (comint-delchar-or-maybe-eof): Use comint-send-eof.
4068 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
4070 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
4072 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
4073 (regexp-opt-group): Use a list of chars for `letters'.
4074 (regexp-opt-charset): `chars' is now a list of chars.
4075 Use a char-table rather than a vector so it works for multibyte chars.
4077 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
4078 Set cvs-minor-current-files to the selected fileinfo.
4079 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
4080 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
4082 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
4084 * files.el (insert-directory): Don't call access-file on
4085 directories on DOS and Windows.
4087 2000-08-09 Kenichi Handa <handa@etl.go.jp>
4089 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
4090 longer if necessary.
4091 (ccl-embed-code): Call ccl-embed-data to store CODE in
4094 2000-08-09 Miles Bader <miles@gnu.org>
4096 * comint.el (comint-output-filter): Properly handle the case where
4097 the text surrounded by comint-last-output-overlay was deleted.
4099 2000-08-08 Gerd Moellmann <gerd@gnu.org>
4101 * info.el (Info-insert-dir): Use Info-additional-directory-list if
4103 (Info-file-list-for-emacs): Remove "info" from the list because
4104 that leads to trying to use the documentation from file `info'
4105 in various situations where it isn't appropriate, for instance
4108 * ffap.el (ffap-read-file-or-url-internal): Handle case that
4109 DIR and/or STRING are nil.
4111 * progmodes/compile.el (compilation-setup): Make variable
4112 compilation-error-screen-columns buffer-local, as some comment
4113 in the code suggests it should be.
4115 * files.el (auto-mode-interpreter-regexp): New variable.
4116 (set-auto-mode): Use it.
4118 * indent.el (indent-for-tab-command): Doc fix.
4120 * mouse-sel.el (mouse-sel-mode): Doc fix.
4122 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
4125 * help.el (print-help-return-message): When
4126 display-buffer-reuse-frames is set, let the help window been quit,
4127 instead of deleting it, which might delete a reused frame.
4129 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
4131 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
4132 rename a directory to a name that differs only by its letter case.
4134 2000-08-08 Kenichi Handa <handa@etl.go.jp>
4136 * international/quail.el (quail-define-rules): Handle Quail decode
4137 map correctly. Add code for supporting annotations.
4138 (quail-install-decode-map): New function.
4139 (quail-defrule-internal): New optional arguments decode-map and
4141 (quail-advice): New function.
4143 2000-08-07 Sam Steingold <sds@gnu.org>
4145 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
4146 `defconst', `define-condition', `with-slots'.
4147 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
4149 2000-08-03 Miles Bader <miles@gnu.org>
4151 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4153 (comint-prompt-regexp, comint-get-old-input): Document dependence on
4154 comint-use-prompt-regexp-instead-of-fields.
4155 (comint-send-input): Add `input' field property to stuff we send to
4156 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
4157 (comint-output-filter): Add `output' field property to process
4158 output, if comint-use-prompt-regexp-instead-of-fields is nil.
4159 (comint-replace-by-expanded-history)
4160 (comint-get-old-input-default, comint-show-output)
4161 (comint-backward-matching-input, comint-forward-matching-input)
4162 (comint-next-prompt, comint-previous-prompt): Use field
4163 properties if comint-use-prompt-regexp-instead-of-fields is nil.
4164 (comint-line-beginning-position): New function.
4165 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
4166 (comint-replace-by-expanded-history-before-point): Use
4167 comint-line-beginning-position and line-end-position.
4168 (comint-last-output-overlay): New variable.
4169 (comint-mode): Make `comint-last-output-overlay' buffer-local.
4171 * shell.el (shell-prompt-pattern): Doc change.
4172 (shell-backward-command): Use line-beginning-position.
4174 * gud.el (gud-gdb-complete-command): Use
4175 comint-line-beginning-position.
4177 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
4178 comint-bol doesn't actually go to the beginning of the line.
4180 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
4181 if comint-use-prompt-regexp-instead-of-fields is non-nil.
4182 (try-expand-line-all-buffers): Likewise.
4184 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
4185 explicitly matching comint-prompt-regexp.
4186 (sql-copy-column): Use comint-line-beginning-position instead of
4187 explicitly matching comint-prompt-regexp.
4189 * progmodes/octave-inf.el (inferior-octave-complete): Use
4190 comint-line-beginning-position.
4192 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
4194 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
4195 looking for a prompt, use `forward-line 0' instead of
4196 `beginning-of-line', to avoid getting caught by an input field.
4198 2000-08-07 Gerd Moellmann <gerd@gnu.org>
4200 * files.el (shell-quote-wildcard-pattern): Make sure to return
4201 PATTERN, in the Unix case.
4203 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
4205 * play/zone.el (zone): Discard any pending input before running
4206 the randomly-chosen pgm.
4208 2000-08-07 Kenichi Handa <handa@etl.go.jp>
4210 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
4211 checking the existence of any multibyte characters.
4213 2000-08-06 Gerd Moellmann <gerd@gnu.org>
4215 * help.el (describe-mode): Test minor-mode symbol for being
4216 bound before testing its value for being nil.
4218 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
4219 `first', `second', and `third'.
4221 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
4222 (second): Make it an alias for `cadr'.
4224 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
4226 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
4227 types of display support faces now.
4229 2000-08-05 Gerd Moellmann <gerd@gnu.org>
4231 * pcvs.el (require): Require `cl' during compilation, only.
4233 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
4234 (toplevel): Remove `remq' and `remove' from autoloads.
4235 (cl-fake-autoloads): New variable. If set, arrange for an error
4236 when CL functions etc. are autoloaded.
4238 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
4240 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
4242 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
4243 popped up, but the user clicks outside the menu, return an empty
4244 regexp (that causes unhighlight-regexp to have no effect).
4246 * menu-bar.el (menu-bar-games-menu): Add Zone.
4248 * hi-lock.el (toplevel): Require font-lock.
4250 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4252 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
4253 (ebnf-8-bit-chars): New var for bug fix.
4254 (ebnf-string): Bug fix.
4256 2000-08-03 Sam Steingold <sds@gnu.org>
4258 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
4259 instead of `buffer-string'.
4260 (require 'cl): Always, not just when compiling.
4261 `ignore-errors' in `interactive', `list*', `defun*' &c make this
4264 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
4266 * international/mule-cmds.el (select-safe-coding-system): Make
4267 the message text about selecting a safe coding system more clear.
4269 2000-08-02 Gerd Moellmann <gerd@gnu.org>
4271 * hi-lock.el: New file.
4273 * play/zone.el: New file.
4275 * replace.el (occur): Set tab-width in the *Occur* buffer to the
4276 value of tab-width in the original buffer. Choose a line number
4277 format that's a multiple of the original buffer's tab width, so
4278 that lines appear right.
4280 * textmodes/ispell.el (ispell): New function, replacing an alias.
4281 Spell-check active region if in transient-mark-mode and mark
4282 is active; otherwise spell-check buffer.
4284 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4286 * ps-mule.el: Fix a customization problem on
4287 ps-mule-font-info-database-default.
4289 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
4291 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
4292 display-mouse-p instead of window-system.
4293 (ebrowse-member-mode-map): Ditto.
4295 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4297 * progmodes/ebnf2ps.el: Update ps-print functions call.
4298 Indentation fix. Doc fix.
4299 (ebnf-version): New version number (3.2).
4300 (ebnf-format-color, ebnf-begin-job): Code fix.
4302 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
4304 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
4305 font lock support on window-system.
4306 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
4308 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
4309 display-color-p, if fboundp, instead of window-system.
4311 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
4313 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
4314 instead of window-system.
4316 * wid-edit.el (widget-choose): Use display-mouse-p instead of
4318 (widget-choice-mouse-down-action): Use display-popup-menus-p
4319 instead of window-system.
4321 * strokes.el (strokes-file): Run the file name through
4322 convert-standard-filename.
4323 (strokes-mode): Call display-mouse-p instead of looking at
4324 window-system. Change the error message accordingly.
4326 * progmodes/cpp.el (toplevel): Support faces on tty's.
4328 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
4329 (lm-plot-square, lm-init-display): Don't use window-system.
4331 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
4332 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
4334 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
4335 instead of looking at window-system.
4337 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4339 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
4340 of testing if iswitchb-prepost-hooks is bound, because the
4341 latter will always be true when invoking a recursive minibuffer
4342 from an active Iswitchb buffer.
4344 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
4346 * files.el (shell-quote-wildcard-pattern): New function.
4347 (insert-directory): Call it. Only prepend "\" to command on Unix
4348 and GNU/Linux systems.
4350 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4352 * eshell/esh-groups.el: Change custom :link file names
4353 from `eshell.info' to `eshell'.
4355 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
4357 * dired.el (dired-build-subdir-alist): Expand subdirectory names
4358 correctly in recursive ange-ftp listings.
4360 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4362 * ps-print.el: Fix bug 1: if ps-font-size-internal,
4363 ps-header-font-size-internal and
4364 ps-header-title-font-size-internal variables are not set,
4365 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
4366 face text property is (foreground-color . COLOR) or
4367 `(background-color . COLOR)', ps-print crashes. Doc fix.
4368 (ps-print-version): New version number (5.2.4).
4369 (ps-plot-region): Code fix.
4370 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
4371 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
4374 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
4376 * glasses.el (glasses-make-readable): Fix uncapitalization of
4377 identifiers like `myXMLDocument'.
4379 2000-07-28 Karl Fogel <kfogel@red-bean.com>
4381 * mail/mail-hist.el (mail-hist-previous-input)
4382 (mail-hist-next-input): Do the obvious code factorization.
4383 (mail-hist-retrieve-and-insert): New func, contains common
4385 If inserting a message body, leave point at top.
4387 2000-07-28 Sam Steingold <sds@gnu.org>
4389 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
4390 Use `<=', not `<' to compare times!
4391 (ange-ftp-ls): Remove.
4393 2000-07-27 Gerd Moellmann <gerd@gnu.org>
4395 * play/cookie1.el: Add explanation of how to make cookie.el
4396 compatible with strfile(1) to comment.
4398 * subr.el (remove, remq): New functions.
4400 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
4401 escape `*' in regexps.
4402 (midnight-find): Reverse order of arguments in the funcall of
4405 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
4408 * play/meese.el: Add Commentary section.
4410 2000-07-27 Alex Schroeder <alex@gnu.org>
4412 * sql.el (sql-ms): Added autoload cookie.
4413 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
4414 (sql-oracle): Ditto.
4415 (sql-help): Doc change.
4417 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
4418 types and exceptions.
4420 2000-07-27 Alex Schroeder <alex@gnu.org>
4422 * sql.el (sql-placeholder-history): New variable.
4423 (sql-query-placeholders-and-send): New function that will query
4424 the user and replace placeholders with user input.
4425 (sql-oracle): If running on NT, set comint-input-sender to
4426 sql-query-placeholders-and-send.
4428 (sql-stop): If in the SQLi buffer, insert stop notification, else
4429 present it as a message.
4431 2000-07-27 Alex Schroeder <alex@gnu.org>
4433 * sql.el (sql-input-ring-separator): Doc change.
4434 (sql-input-ring-file-name): Doc change.
4435 (sql-interactive-mode): Use `sql-input-ring-separator' and
4436 `sql-input-ring-file-name' to set the comint-mode equivalents
4437 without making them local variables.
4438 (sql-stop): Don't bind `sql-input-ring-separator' and
4439 `sql-input-ring-file-name' dynamically to their comint-mode
4442 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4444 * international/mule.el (register-char-codings): New function.
4445 (make-coding-system): Handle `safe-chars' specification in the arg
4448 * international/mule-cmds.el
4449 (find-coding-systems-region-subset-p): This function deleted.
4450 (sort-coding-systems-predicate): New variable.
4451 (sort-coding-systems): New function.
4452 (find-coding-systems-region): Use
4453 find-coding-systems-region-internal.
4454 (find-coding-systems-string): Use find-coding-systems-region.
4455 (find-coding-systems-for-charsets): Check
4456 char-coding-system-table.
4457 (select-safe-coding-system-accept-default-p): New variable.
4458 (select-safe-coding-system): Mostly rewritten. New argument
4460 (select-message-coding-system): Call select-safe-coding-system
4461 with ACCEPT-DEFAULT-P arg.
4462 (reset-language-environment): Reset default-sendmail-coding-system
4463 to the default value iso-latin-1.
4464 (set-language-environment): Don't set the obsolete variable
4465 charset-origin-alist.
4467 * international/codepage.el (cp-coding-system-for-codepage-1):
4468 Give `safe-chars' property to make-coding-system.
4470 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
4471 calling select-message-coding-system twice.
4473 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
4474 instead of `safe-charsets'.
4475 (cyrillic-alternativnyj): Likewise.
4476 (ccl-encode-alternativnyj): Don't check the charset
4479 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4481 * composite.el (compose-chars-after): Preserve match data.
4483 2000-07-26 Sam Steingold <sds@gnu.org>
4485 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
4486 (ange-ftp-real-file-newer-than-file-p): New function.
4487 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
4488 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
4490 * tooltip.el (tooltip-float-time): Removed (use `float-time').
4491 * midnight.el (midnight-float-time): Ditto.
4493 2000-07-26 Andreas Schwab <schwab@suse.de>
4495 * files.el (normal-backup-enable-predicate): Correct
4496 interpretation of the return value of compare-strings.
4498 2000-07-26 Gerd Moellmann <gerd@gnu.org>
4500 * isearch.el (isearch-resume): New function.
4501 (isearch-done): Add something to command-history to resume
4503 (isearch-yank-line, isearch-yank-word): Use
4504 buffer-substring-no-properties instead of buffer-substring.
4506 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
4507 of flyspell-mouse-map.
4509 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
4510 duplicate definition.
4511 (makefile-mode): Remove duplicate setting of local-abbrev-table.
4513 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
4514 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
4516 2000-07-25 Sam Steingold <sds@gnu.org>
4518 * net/ange-ftp.el: Get modtime over the net.
4519 (ange-ftp-file-modtime): New function.
4520 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4521 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
4523 (ange-ftp-dot-to-slash): New function.
4524 (ange-ftp-fix-name-for-vms): Use it.
4526 * midnight.el (midnight-buffer-display-time): Use
4527 `with-current-buffer'.
4529 2000-07-25 Gerd Moellmann <gerd@gnu.org>
4531 * find-dired.el: Update copyright notice.
4532 (find-dired): Offer to kill a running `find'.
4534 * enriched.el (enriched-face-ans): For a `foreground-color'
4535 property, return '(("x-color" COLOR))' so that COLOR will be
4536 output as a parameter of the x-color annotation. Likewise for the
4537 `background-color' property. In the case of normal face
4538 properties, don't return annotations for unspecified foreground
4539 and background face attributes.
4541 2000-07-25 Kenichi Handa <handa@etl.go.jp>
4543 * language/japan-util.el (japanese-katakana-region): Fix handling
4546 2000-07-25 Miles Bader <miles@gnu.org>
4548 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
4549 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
4552 2000-07-24 Andrew Innes <andrewi@gnu.org>
4554 * timer.el (timer-activate-when-idle): Add optional parameter
4555 DONT-WAIT. Update docstring.
4556 (run-with-idle-timer): Specify extra parameter to
4557 timer-activate-when-idle, so that timer will be activated
4558 immediately if Emacs is already idle.
4560 * w32-fns.el (w32-using-nt): Fix docstring.
4562 2000-07-24 Dave Love <fx@gnu.org>
4564 * mouse.el (popup-menu): Set last-command-event.
4565 (mouse-major-mode-menu-prefix): Declare.
4567 2000-07-24 Gerd Moellmann <gerd@gnu.org>
4569 * textmodes/flyspell.el: Update to author's version 1.5d.
4571 * progmodes/hideshow.el: Update copyright notice.
4573 * vcursor.el: Set maintainer to FSF, since author cannot
4576 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
4578 * info.el (Info-goto-emacs-key-command-node): Leave a space after
4581 * mouse.el (popup-menu): Run the keymap through indirect-function,
4582 in case it was defined with define-prefix-key. If the menu is a
4583 list of keymaps, look up the binding of user's choice in each one
4585 (mouse-popup-menubar): If the global and local menu-bar keymaps
4586 don't have a prompt string, create one and insert it into the
4587 keymap. Don't barf if current-local-map returns nil.
4589 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
4591 * dired.el (dired-sort-R-check): Added to allow recursive listing
4593 (dired-sort-other): Use it.
4595 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4597 * Release of cc-mode 5.27
4599 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4601 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
4602 c-beginning-of-statement-1 that caused a bad case of recursion
4603 which could consume a lot of CPU in large classes in languages
4604 that have in-expression classes (i.e. Java and Pike).
4606 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
4607 statements before top level constructs (i.e. case 6 is moved
4608 before case 5 and is now case 4) to catch in-expression
4609 classes in top level expressions correctly.
4611 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4613 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
4614 objc-method-intro. Case 4 removed and case 5I added.
4616 * cc-langs.el (c-append-paragraph-start): New variable used by
4617 c-common-init to get paragraph-start correct.
4618 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
4619 initialize paragraph-start to make it correct both with and
4620 without the javadoc special case.
4622 * cc-mode.el (java-mode): Use c-append-paragraph-start to
4623 initialize paragraph-start for javadoc markup.
4625 * cc-vars.el (c-style-variables-are-local-p): Incompatible
4626 change by defaulting this to t. It's motivated by the
4627 confusing behavior that otherwise arise from the style system
4628 when editing both java and non-java files at the same time
4629 (see the comments about style setting in c-common-init).
4631 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4633 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
4634 similar to the one in c-fill-paragraph to check the fill
4635 prefix from the adaptive fill function for sanity.
4637 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4639 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
4642 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4644 * cc-mode.texi Documented the change of cpp-macro.
4646 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4648 * cc-align.el (c-lineup-multi-inher): Handle lines with
4649 leading comma nicely. Extended to handle member initializers
4652 * cc-engine.el: (c-beginning-of-inheritance-list,
4653 c-guess-basic-syntax): Fixed recognition of inheritance lists
4654 when the lines begins with a comma.
4656 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
4658 * cc-vars.el (c-offsets-alist): Changed default for
4659 member-init-cont to c-lineup-multi-inher since it now handles
4660 member initializers and indents better for leading commas.
4662 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4664 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
4665 handling that caused class open lines to be recognized as
4666 statement-conts in some cases.
4668 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
4669 guessed by the adaptive fill function unless point is on the
4670 first line of a block comment.
4672 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
4673 when the buffer ends with a macro continuation char.
4675 * cc-engine.el (c-guess-basic-syntax): Added support for
4676 function definitions as statements in Pike. The first
4677 statement in a lambda block is now labeled defun-block-intro
4678 instead of statement-block-intro.
4680 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
4681 so that the class surrounding point is selected, not the one
4682 innermost in the state.
4684 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
4685 recognition of switch labels having hanging multiline
4688 * cc-engine.el (c-beginning-of-member-init-list): Broke out
4689 some code in c-guess-basic-syntax to a separate function.
4690 * cc-engine.el (c-just-after-func-arglist-p): Fixed
4691 recognition of member inits with multiple line arglists.
4692 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
4693 member-init-cont when the commas are in funny places.
4695 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4697 * cc-defs.el (c-auto-newline): Removed this macro since it's
4700 * cc-engine.el (c-looking-at-bos): New helper function.
4701 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
4702 inexpr and toplevel classes apart in Pike.
4704 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
4707 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
4708 constant, since "class" can introduce an in-expression class
4711 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4713 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
4714 indentation on cpp-macro lines.
4716 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
4717 a syntax modifier like comment-intro, to make it possible to
4718 get syntactic indentation for preprocessor directives. It's
4719 incompatible wrt to lineup functions on cpp-macro, but it has
4720 no observable effect in the 99.9% common case where cpp-macro
4723 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4725 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
4726 member-init-cont when the preceding arglist is several lines.
4728 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4730 * cc-styles.el (c-style-alist): The basic offset for the BSD
4731 style corrected to 8.
4733 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4735 * cc-styles.el (c-style-alist): Adjusted the indentation of
4736 brace list openers in the gnu style.
4738 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4740 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
4742 * cc-cmds.el (c-electric-brace, c-electric-slash,
4743 c-electric-star, c-electric-semi&comma, c-electric-colon,
4744 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
4745 when c-syntactic-indentation is nil.
4747 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
4748 we were left at comments preceding the first statement when
4749 reaching the beginning of the buffer.
4751 * cc-vars.el (c-syntactic-indentation): New variable to turn
4752 off all syntactic indentation.
4754 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4756 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
4757 between the text and the block comment ender when it hangs,
4758 depending on how many there are before the fill.
4760 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4762 * cc-engine.el (c-beginning-of-closest-statement): New helper
4763 function to go back to the closest preceding statement start,
4764 which could be inside a conditional statement.
4765 * cc-engine.el (c-guess-basic-syntax): Use
4766 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
4768 * cc-engine.el (c-guess-basic-syntax): Better handling of
4769 arglist-intro, arglist-cont-nonempty and arglist-close when
4770 the arglist is nested inside parens. Cases 7A, 7C and 7F
4773 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
4774 up-to-date with javadoc 1.2.
4776 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4778 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
4779 multiline Pike type decls.
4781 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4783 * cc-cmds.el (c-indent-new-comment-line): Always break
4784 multiline comments in multiline mode, regardless of
4787 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4789 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
4790 fully::qualified::names in C++ member init lists. Preamble in
4793 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4795 * cc-langs.el (c-common-init): Handling of obsolete variables
4796 moved to c-initialize-cc-mode. More compatible style override
4797 when using global style variables.
4798 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
4799 variables moved here.
4801 * cc-mode.texi: Documented the special behavior of
4802 c-special-indent-hook as a style variable. Don't talk about
4803 doing (c-make-styles-buffer-local t) in a mode hook, since
4804 that's already too late to work right.
4806 * cc-styles.el (c-make-styles-buffer-local): Flag style
4807 variable localness in c-style-variables-are-local-p to make
4808 the compatibility measure in c-common-init work well.
4810 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
4811 longer contain set-from-style.
4812 * cc-styles.el (c-initialize-builtin-style): Don't check for
4813 set-from-style on c-special-indent-hook.
4814 * cc-styles.el (c-copy-tree): Obsolete. The standard function
4815 copy-alist is sufficient now.
4817 * cc-styles.el (c-set-style, c-set-style-1,
4818 c-get-style-variables): Fixes to variable initialization so
4819 that duplicate entries in styles have the same effect
4820 regardless of DONT-OVERRIDE.
4822 * cc-styles.el (c-set-style-2): Fixed bug where the
4823 initialization of inheriting styles failed when the
4824 dont-override flag is set.
4826 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
4829 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4831 * cc-defs.el (c-forward-comment): Removed the workaround
4832 introduced in 5.38 since it had worse side-effects. If a line
4833 contains the string "//\"", it regarded the // as a comment
4834 start since the \ temporarily doesn't have escape syntax.
4836 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
4838 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
4839 ada-xref.el before ada-prj.el, so that the Project menu is created
4840 when ada-prj tries to add to it.
4841 (ada-activate-keys-for-case): Suppress the characters that are not
4842 part of the Ada syntax. Better compatibility with else-mode
4843 (ada-adjust-case-interactive): When auto-casing is not active,
4844 correctly insert newlines (used to insert only ^M). Prevent the
4845 syntax table from being changed in case of an error
4846 (or '_' becomes part of a word and some commands are confused).
4847 Do nothing if ada-auto-case is nil.
4848 (ada-after-keyword-p): Ignore keywords that are also attributes
4849 (ada-batch-reformat): Update usage comment
4850 (ada-call-from-contextual-menu): New function
4851 (ada-case-read-exceptions): Reinitialize the casing exception list
4852 first to nil first, so that the casing exception file can be
4854 (ada-check-defun-name): Handles "configure" keyword for gnatdist
4856 (ada-compile-goto-error): Fix regexp used to detect a file:line
4857 anywhere in the error message
4858 (ada-contextual-menu-last-point): New variable
4859 (ada-create-keymap): If the variable delete-key-deletes-forward is
4860 t on XEmacs, it means that DEL should delete one character
4862 (ada-create-menu): Use :included instead of :visible for XEmacs.
4863 New submenu "Options".
4864 (ada-end-stmt-re): Correctly indent "select ... then abort"
4866 (ada-fill-comment-paragraph): Correctly delete all leading '--'
4867 even if they don't match ada-fill-comment-prefix Fix handling of
4868 paragraphs on the first or last line of a file.
4869 (ada-format-paramlist): Fix handling of default parameter values.
4870 (ada-get-body-name): New function.
4871 (ada-get-current-indent): Optimized by searchling directly for an
4872 existing generic part or a statement outside of it. Handle
4873 ada-indent-align-comments when indenting comments Replaced some
4874 regexps by testing directly the next character. This results in a
4875 huge speedup on some files. New indentation scheme for renames
4876 statements. Stop looking for the 'while' or 'for' associated with
4877 a 'loop' at the first semicolon encountered. A "return" can also
4878 match an anonymous access subprogram declaration.
4879 (ada-get-indent-noindent): Ignore strings and comments when
4880 looking for the keywords "record" and "private".
4881 (ada-goto-matching-decl-start): When matching "if", make sure we
4882 are not in fact seeing "end if". Ignore "when" statements except
4883 when initial keyword was "begin". Fix handling of nested
4884 procedures. Add a recursive call to this function to skip over
4885 other 'end' statmts. Fix indentation for "when .. => begin"
4886 (ada-in-open-paren-p): Fix indentation for complex boolean
4887 expressions, where 'and then', 'or else' and parenthesis
4888 statements are mixed up.
4889 (ada-in-paramlist-p): Skip comments while searching for the
4890 beginning Fix handling of operator declarations.
4891 (ada-indent-align-comments): New variable
4892 (ada-indent-current): Change the syntax table only in the
4893 protected section, so that we are sure it is restored correctly.
4894 (ada-indent-on-previous-lines): Use ada-use-indent and
4895 ada-with-indent Correctly indent "select ... then"
4896 (ada-indent-region): Slight speedup.
4897 (ada-indent-renames): New variable.
4898 (ada-last-which-function-subprog, ada-last-which-function-line):
4900 (ada-looking-at-semi-private): Correctly indent the 'private'
4901 keyword when it is the first word in a package declaration.
4902 (ada-loose-case-word): Stop searching if at the end of the buffer.
4903 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
4904 even if point is not initially at the end of the word.
4905 (ada-matching-decl-start-re): Add "when".
4906 (ada-mode): Add support for abbrev-mode, outline-mode and
4907 which-func-mode Override the old find-file.el entry in
4908 ff-special-constructs since it is using the obsolete
4909 ada-spec-suffix variable
4910 (ada-no-auto-case): New function
4911 (ada-scan-paramlist): When parsing the argument type, accept
4912 spaces (as in "X 'Class", generated by Rational Rose).
4913 (ada-other-file-name): No longer loads the other file.
4914 (ada-popup-menu): Save and restore the current buffer and cursor
4915 position before and after displaying the menu.
4916 (ada-search-ignore-complex-boolean): New function.
4917 (ada-uncomment-region): Emacs21 already knows how to delete
4918 comments not starting in the first column.
4919 (ada-use-indent): New variable
4920 (ada-which-function): New function.
4921 (ada-with-indent): New variable
4922 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
4923 can be batch-compiled from the command line.
4925 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
4926 Add to the menu when the file is loaded, not in ada-mode-hook.
4927 Add -toolbar to the default ddd command Switches moved from
4928 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
4929 ada-prj-default-comp-opt
4930 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
4931 Reference Manual to the menu
4932 (ada-check-current): rewritten as a call to ada-compile-current
4933 (ada-compile): Removed.
4934 (ada-compile-application, ada-compile-current, ada-check-current):
4935 Set the compilation-search-path so that compile.el automatically
4936 finds the sources in src_dir. Automatic scrollong of the
4937 compilation buffer. C-uC-cC-c asks for confirmation before
4939 (ada-compile-current): New parameter, prj-field
4940 (ada-complete-identifier): Load the .ali file before doing
4942 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
4943 conform to gnatmake's behavior.
4944 (ada-find-file-in-dir): New function
4945 (ada-find-references): Set the environment variables for gnatfind
4946 (ada-find-src-file-in-dir): New function.
4947 (ada-first-non-nil): Removed
4948 (ada-gdb-application): Add support for jdb, the java debugger.
4949 (ada-get-ada-file-name): Load the original-file first if not done
4951 (ada-get-all-references): Handles the new ali syntax (parent types
4952 are found between <>).
4953 (ada-initialize-runtime-library): New function
4954 (ada-mode-hook): Always load a project file when a file is opened,
4955 so that the casing exceptions are correctly read.
4956 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
4957 (ada-parse-prj-file): Use find-file-noselect instead of find-file
4958 to open the project file, since the latter does not work with
4959 speedbar Get default values before loading the prj file, or the
4960 default executable file name is wrong. Use the absolute value of
4961 src_dir to initialize ada-search-directories and
4962 compilation-search-path,... Add the standard runtime library to
4963 the search path for find-file.
4964 (ada-prj-default-debugger): Was missing an opening '{'
4965 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
4967 (ada-prj-default-gnatmake-opt): New variable
4968 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
4969 buffers, the project file is the default one Save the windows
4970 configuration before displaying the menu.
4971 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
4972 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
4973 ...) regexp-quote identifiers names to support operators +,
4975 (ada-remote): New function.
4976 (ada-run-application): Erase the output buffer before starting the
4977 run Support remote execution of the application. Use
4978 call-process, or the arguments are incorrectly parsed
4979 (ada-set-default-project-file): Reread the content of the active
4980 project file, not the one from the current buffer When a project
4981 file is set as the default project, all directories are
4982 automatically associated with it.
4983 (ada-set-environment): New function
4984 (ada-treat-cmd-string): New special variable ${current}
4985 (ada-treat-cmd-string): Revised. The substitution is now done for
4986 any ${...} substring
4987 (ada-xref-current): If no body was found, compiles the spec
4988 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
4989 compiler to get rid of command line length limitations.
4990 (ada-xref-get-project-field): New function
4991 (ada-xref-project-files): New variable
4992 (ada-xref-runtime-library-specs-path)
4993 (ada-xref-runtime-library-ali-path): New variables
4994 (ada-xref-set-default-prj-values): Default run command now does a
4995 cd to the build directory. New field: main_unit Provide a default
4996 file name even if the current buffer has no prj file.
4999 Rewritten to show a tabbed-dialog.
5000 (ada-prj-add-ada-menu): Remove the map and name parameters.
5001 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
5003 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
5004 (ada-prj-load-from-file): New function
5005 (ada-prj-save): Always save fields that depend on the current buffer
5006 (ada-prj-show-value): New function
5008 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
5009 Ada mode. This will allow us to display the Ada menu in any buffer
5010 we want (for project items).
5011 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
5012 number of spaces in the header.
5014 2000-07-24 Dave Love <fx@gnu.org>
5016 * ediff-init.el (ediff-region-help-echo): Bind face-help.
5018 2000-07-23 Noah Friedman <friedman@splode.com>
5020 * type-break.el (type-break): perform autosave.
5021 Suggested by Stephen Gildea <gildea@intouchsys.com>.
5022 (type-break-do-query): Cancel query schedule while performing
5023 actual query, to avoid possibility of a second query being made
5024 while first one is already in progress.
5025 (type-break-time-stamp-format): New variable.
5026 (type-break-time-stamp): New function.
5027 (type-break-time-warning): Use it.
5028 (type-break-keystroke-warning): Use it.
5029 (type-break-noninteractive-query): Use it.
5031 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
5033 Use add-minor-mode to set minor-mode-alist, if available.
5034 (eldoc-echo-area-use-multiline-p): New user option.
5035 (eldoc-echo-area-multiline-supported-p): New variable.
5036 (eldoc-docstring-format-sym-doc): Use them.
5037 (eldoc-mode): If not using idle timers, append to local post and
5038 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
5039 (eldoc-display-message-no-interference-p): Don't interfere with
5041 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
5042 (eldoc-function-arglist): New function.
5043 (eldoc-function-argstring): Use it.
5045 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
5046 auto save directory exists before calling directory-files.
5048 2000-07-23 Dave Love <fx@gnu.org>
5050 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
5053 2000-07-21 Dave Love <fx@gnu.org>
5055 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
5056 now passed to the function. It now works properly.
5058 * smerge-mode.el (smerge-mode-menu): Fill it out.
5060 2000-07-20 Gerd Moellmann <gerd@gnu.org>
5062 * info-look.el (info-lookup): If *info* is shown in another frame
5063 on the same display, select that frame, instead of switching to
5064 the Info buffer in another window of the selected frame.
5066 * simple.el (universal-argument-map): Bind numeric keypad keys
5067 kp-0 to kp-9 and kp-subtract.
5068 (digit-argument): Handle these keys.
5070 2000-07-20 Dave Love <fx@gnu.org>
5072 * net/goto-addr.el (goto-address-fontify): Don't bother with
5073 buffer-modified and read-only stuff -- irrelevant with overlays.
5074 Put an extra property on the overlays and use it to clean up in
5075 case goto-address is re-run.
5077 2000-07-19 Richard M. Stallman <rms@gnu.org>
5079 * timer.el (run-with-idle-timer): Doc fix.
5081 * mail/mail-utils.el (mail-strip-quoted-names):
5082 Handle case where <...> appears inside "...".
5083 Use replace-match to edit the string more simply.
5084 (rmail-dont-reply-to): Cope with an unmatched ".
5086 2000-07-19 Dave Love <fx@gnu.org>
5088 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
5091 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
5092 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
5093 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
5095 2000-07-19 Gerd Moellmann <gerd@gnu.org>
5097 * textmodes/refer.el: Correct maintainer's email address.
5099 * progmodes/hideif.el: Correct author's email address.
5100 Fix typo in comment.
5104 * mail/mailheader.el: Correct author's mail address.
5106 * gnus/parse-time.el: Correct author's mail address.
5108 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
5110 * comint.el (comint-highlight-input, comint-highlight-face):
5112 (comint-input-ring-file-name): Change custom type.
5113 (comint-mode-map): Bind mouse-2.
5114 (comint-insert-clicked-input): New function.
5115 (comint-send-input): Handle input highlighting.
5117 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
5119 * mouse.el (popup-menu): New function.
5120 (mouse-major-mode-menu): Use it.
5122 2000-07-18 Dave Love <fx@gnu.org>
5124 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
5127 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5129 * faces.el (face-font-selection-order)
5130 (face-font-family-alternatives): Add custom type.
5132 2000-07-18 Dave Love <fx@gnu.org>
5134 * cus-edit.el (custom-variable-reset-saved)
5135 (custom-variable-reset-standard): Remove unused bindings.
5137 * rect.el (open-rectangle-line): Remove unused let.
5139 * hl-line.el (hl-line-highlight): Check hl-line-mode.
5141 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5143 * cdl.el: Fix `Maintainer' keyword.
5145 * play/pong.el: Add author's email address.
5147 2000-07-17 Sam Steingold <sds@gnu.org>
5149 * files.el (insert-directory): Call `split-string' instead of
5152 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5154 * mail/vms-pmail.el: Change maintainer to FSF.
5156 * net/goto-addr.el: Change maintainer to FSF.
5158 * recentf.el: Update from author.
5160 * info.el (Info-title-face-alist): Removed.
5162 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
5164 * eshell/eshell.el (eshell): Replace links to eshell.info with
5165 links to eshell, to avoid problems on systems where the manual is
5166 installed as `eshell'.
5167 * eshell/esh-cmd.el (eshell-cmd): Ditto.
5168 * eshell/em-smart.el (eshell-smart): Ditto.
5169 * eshell/em-banner.el (eshell-banner): Ditto.
5170 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
5172 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
5173 same-file check in the MS-DOS version (it does support inodes).
5175 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
5177 * eshell/eshell.el (eshell-directory-name):
5178 Run default directory name through convert-standard-filename.
5180 2000-07-18 Kenichi Handa <handa@etl.go.jp>
5182 * international/mule-cmds.el (select-safe-coding-system):
5183 Fix typo in the comment.
5185 * language/european.el (compound-text):
5186 Force katakana-jisx0201 to be designated to G1.
5188 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
5189 Don't translate some national variant characters of latin-jisx0201.
5190 (x-ctext): Force katakana-jisx0201 to be designated to G1.
5192 * international/kkc.el (kkc-after-update-conversion-functions):
5194 (kkc-update-conversion): Run functions in it at the tail.
5196 2000-07-16 John Wiegley <johnw@gnu.org>
5198 * lisp/align.el (align-newline-and-indent):
5199 Adding new function. for auto-aligning blocks of code on RET.
5200 (align-region): Fixed badly formatted minibuffer message.
5202 2000-07-17 Kenichi Handa <handa@etl.go.jp>
5204 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
5205 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
5206 the conversion list at first if appropriate.
5207 (kkc-next): Don't update kkc-next-count here.
5208 (kkc-prev): Don't update kkc-prev-count here.
5209 (kkc-show-conversion-list-update): Fix setting up of conversion
5212 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
5214 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
5216 2000-07-16 Dave Love <fx@gnu.org>
5218 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
5219 function to be more specific.
5221 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
5222 non-string help-echo.
5223 (widget-types-convert-widget): Defsubst it.
5224 (widget-echo-help): Try to cope with a help-echo function of two
5227 2000-07-15 Jason Rumney <jasonr@gnu.org>
5229 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5230 Declare as obsolete.
5232 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
5234 2000-07-14 Gerd Moellmann <gerd@gnu.org>
5236 * hilit-chg.el: Fix typo.
5238 2000-07-14 Dave Love <fx@gnu.org>
5240 * info.el (Info-mode-menu): Fix use of :help, :enable.
5242 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
5244 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
5246 2000-07-13 Dave Love <fx@gnu.org>
5248 * emacs-lisp/easymenu.el: Doc fixes.
5249 (easy-menu-remove): Defalias to ignore.
5251 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
5252 Call throw correctly.
5254 2000-07-13 Gerd Moellmann <gerd@gnu.org>
5256 * faces.el (frame-background-mode): Doc fix.
5258 * simple.el (eval-expression-print-length): Change custom type to
5259 allow entering nil as value.
5261 2000-07-13 Dave Love <fx@gnu.org>
5263 * progmodes/fortran.el (fortran-imenu-generic-expression):
5264 Change definition layout.
5265 (fortran-mode-menu): Reinstate customize entries.
5267 * cus-edit.el (custom-group-menu-create, customize-menu-create):
5268 Use :filter, per old XEmacs code.
5270 2000-07-12 Gerd Moellmann <gerd@gnu.org>
5272 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
5273 event when deciding what to send to the terminal.
5275 2000-07-12 Dave Love <fx@gnu.org>
5277 * cus-start.el: Add optional version as 4th element of specs and
5278 use it for several things new in v21. Remove load-path. Fix type
5279 of line-number-display-limit.
5281 2000-07-11 Dave Love <fx@gnu.org>
5283 * progmodes/fortran.el: Don't require easymenu.
5284 Use repeat counts in various regexps.
5285 (fortran-mode-syntax-table): Defvar directly.
5286 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
5287 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
5288 Use defvar, not defconst.
5289 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
5290 (fortran-mode): Set fortran-comment-line-start-skip,
5291 fortran-comment-line-start-skip, dabbrev-case-fold-search.
5292 (fortran-comment-indent): Use defsubst.
5293 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
5294 Use fortran-comment-indent, not fortran-comment-indent-function.
5295 (fortran-comment-region, fortran-electric-line-number): Simplify.
5296 (fortran-auto-fill): New function.
5297 (fortran-do-auto-fill): Deleted.
5298 (fortran-find-comment-start-skip):
5299 Check for non-null comment-start-skip.
5300 (fortran-auto-fill-mode, fortran-fill-statement):
5301 Use fortran-auto-fill.
5302 (fortran-fill): Use fortran-auto-fill. Check for null
5303 comment-start-skip. Simplify final clause and use end-of-line finally.
5305 * widget.el (widget-plist-member): New alias.
5307 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
5309 * eshell/esh-module.el (toplevel): Reference
5310 byte-compile-current-file only if it is bound.
5312 2000-07-10 Gerd Moellmann <gerd@gnu.org>
5314 * dired.el: Don't require `dired-aux'.
5316 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
5318 * dired-aux.el (dired-show-file-type): New function.
5319 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
5320 (dired-show-file-type): Add autoload.
5322 2000-07-10 Kenichi Handa <handa@etl.go.jp>
5324 * international/mule-diag.el (describe-font): Adjusted for the
5325 change of fontset-info.
5326 (print-fontset): Likewise.
5328 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
5330 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
5332 2000-07-07 Gerd Moellmann <gerd@gnu.org>
5334 * bindings.el: Bind `[delete]' to delete-char.
5336 * dired.el (dired-find-alternate-file): New function.
5337 (dired-mode-map): Bind `a' to dired-find-alternate-file.
5338 (toplevel): Require dired-aux when compiling.
5339 (dired-buffers): Move defvar within file to avoid compiler warning.
5341 * info.el (Info-last-search): Variable removed.
5342 (Info-search-history): New variable.
5343 (Info-search): New Info-search-history.
5345 * battery.el, info-look.el: Change author's mail address.
5347 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5349 * mail/rmail.el (rmail-clear-headers): Don't throw an error
5350 if rmail-ignored-headers is nil.
5351 (rmail-retry-failure): Bind rmail-ignored-headers and
5352 rmail-displayed-headers to nil.
5354 2000-07-06 Gerd Moellmann <gerd@gnu.org>
5356 * lpr.el (lpr-page-header-switches): Add `-h' switch.
5357 (print-region-1): Don't hard code `-h' here.
5359 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
5361 2000-07-01 Francesco Potorti` <pot@gnu.org>
5363 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
5364 exim can use "your message" instead of "the message".
5366 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
5368 * facemenu.el: Docstrings fixes.
5369 (facemenu-get-face): Don't use internal-find-face.
5370 (facemenu-iterate): Rename arg to match the docstring.
5372 * newcomment.el (uncomment-region): Be more careful when skipping
5373 backwards over `=' not to bump into BOBP.
5375 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
5377 * ediff-diff.el (ediff-wordify): Use syntax table.
5378 * ediff-init.el (ediff-has-face-support-p): Use
5379 ediff-color-display-p.
5380 (ediff-color-display-p): Use display-color-p, changed to defun
5382 Got rid of special cases for NeXT and OS/2.
5383 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
5386 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5388 * emacs-lisp/lucid.el: Require CL.
5389 (copy-tree, remprop): Remove, it's provided by CL.
5390 (map-keymap): Define in terms of cl-map-keymap.
5391 (extent-property, set-extent-end-glyph): New functions.
5393 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
5395 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5397 * Makefile.in (DONTCOMPILE): Add comment that the name may
5398 not be changed without changing the make-dist script.
5400 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
5401 (cl-mapc): Use mapc instead of cl-old-mapc.
5403 2000-07-05 Andrew Innes <andrewi@gnu.org>
5405 * makefile.nt: Add support for `bootstrap' and related targets.
5407 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5409 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
5410 (easy-menu-do-define): Use `menu-item' format.
5411 Handle case where easy-menu-create-menu returns a symbol.
5412 Manually call the potential top-level filter in the function binding.
5413 (easy-menu-filter-return): New arg NAME.
5414 Convert to a keymap if MENU is an XEmacs menu.
5415 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
5416 (easy-menu-converted-items-table, easy-menu-convert-item):
5417 New var and fun to memoize easy-menu-convert-item-1.
5418 (easy-menu-do-add-item): Use it.
5419 (easy-menu-create-menu): Use easy-menu-convert-item.
5420 Wrap easy-menu-filter-return around any :filter specification.
5421 Don't convert the menu if a filter was specified.
5422 Tell easy-menu-make-symbol not to check for MENU being an expression.
5423 (easy-menu-make-symbol): New arg NOEXP.
5425 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5427 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
5428 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
5429 (eval-defun): If called with prefix arg, instrument code for
5432 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
5433 similar to that of eval-defun.
5435 2000-07-04 Dave Love <fx@gnu.org>
5437 * hl-line.el (hl-line-overlay): Make it permanent-local.
5439 * calendar/todo-mode.el: Replaced with a working version, based on
5440 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
5442 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
5444 * paths.el (prune-directory-list): New function.
5445 (Info-default-directory-list): Rewritten to more methodically
5446 enumerate a big list of possible info directories (based on the
5447 list used by the standalone info reader).
5449 * info.el (info-initialize): Use prune-directory-list to remove
5450 non-existent directories from Info-directory-list.
5452 * paths.el (Info-default-directory-list): Try a list of possible
5453 info-directories instead of a single one. Add the possible
5454 info directory "/usr/share/info".
5456 * woman.el (woman-man.conf-path): Explicitly include the debian
5457 man-db config file "/etc/manpath.config".
5458 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
5459 are present in `manpath.config'.
5460 (woman-manpath): Include "/usr/share/man".
5462 2000-07-03 Gerd Moellmann <gerd@gnu.org>
5464 * frame.el (blink-cursor-mode): Don't hide cursor initially.
5466 * startup.el (command-line): Initialize blink-cursor based
5469 * frame.el (blink-cursor): Default to nil if not running under
5472 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
5473 (face-x-resources): Remove duplicate entry for :font.
5475 * textmodes/refer.el (refer-find-entry-internal): Use some-window
5476 instead of cycling through windows with next-window.
5478 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
5479 of cycling through windows with next-window.
5481 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
5482 of cycling through windows with next-window.
5484 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
5485 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
5486 instead of cycling through windows with next-window.
5488 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
5489 instead of cycling through windows with next-window.
5491 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
5492 of cycling through windows with next-window.
5494 * terminal.el (te-process-output): Use walk-windows instead of
5495 cycling through windows with next-window.
5497 * server.el (server-switch-buffer): Use some-window instead of
5498 cycling through windows with next-window.
5500 * window.el (some-window): New function.
5501 (walk-windows): Remove reference to walk-windows-start.
5503 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
5505 2000-07-03 Richard Stallman <rms@gnu.org>
5507 * window.el (walk-windows): Guarantee termination by keeping a list
5508 of all the windows already handled.
5510 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5512 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
5515 * man.el (Man-notify-when-ready): Don't use window-system. If
5516 Man-notify-method is newframe, and the display is not
5517 multi-frame, select the frame created for the man page.
5518 (Man-init-defvars): Doc fix.
5520 2000-06-28 Gerd Moellmann <gerd@gnu.org>
5522 * faces.el (region): Change background color for light background.
5524 * ediff-wind.el (ediff-setup-control-frame): Remove :box
5525 attribute from mode-line face of Ediff control frame.
5527 * replace.el (query-replace-map): Bind `e' like `E'.
5529 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5531 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
5532 Change name to "Select All".
5534 * dos-fns.el (convert-standard-filename): Fix last change.
5536 2000-06-27 Gerd Moellmann <gerd@gnu.org>
5538 * help.el (describe-variable): Don't insert a second `'s' in front
5539 of the string `value is shown below'. Since the syntax-table is
5540 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
5541 an existing `'s', so that this won't be deleted.
5543 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
5544 * pcmpl-unix.el: New files.
5546 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
5548 * wid-edit.el (widget-member): Use the new plist-member.
5550 2000-06-26 Gerd Moellmann <gerd@gnu.org>
5552 * replace.el (perform-replace): Undo change of 2000-04-04.
5553 Instead, move backward 1 character at the end of the loop when
5556 * faces.el (fringe): Change face for different backgrounds.
5558 * eshell/esh-module.el (toplevel): Load defgroup's differently;
5561 * eshell/*.el: Change spelling of the Free Software Foundation.
5563 * eshell/esh-toggle.el: Removed.
5565 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
5567 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
5570 2000-06-26 Alex Schroeder <alex@gnu.org>
5572 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
5573 `define-key'; instead of checking `(emacs-version)' check for
5574 `set-keymap-parent' and `set-keymap-name' directly. Add entries
5575 for `;' and `o' which might be electric.
5577 (sql-electric-stuff): New user option.
5578 (sql-magic-go): New function which uses `sql-electric-stuff'.
5579 (sql-magic-semicolon): New function which uses
5580 `sql-electric-stuff'.
5582 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
5585 (sql-oracle-options): New variable.
5586 (sql-oracle): Use it.
5588 (sql-imenu-generic-expression): Doc change.
5589 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
5592 (sql-informix): Added command line parameter "-" to force
5593 sql-informix-program to use stdout.
5595 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
5597 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
5598 (cp864-decode-table): Doc fix.
5599 (cp720-decode-table): New variable, supports the Arabic OEM
5600 codepage used by Windows.
5601 (cp737-decode-table): New, Greek OEM codepage used by Windows.
5603 2000-06-23 Dave Love <fx@gnu.org>
5605 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
5606 (font-lock-fontify-anchored-keywords): Use
5607 line-beginning-position.
5608 (global-font-lock-mode): Use mapc.
5610 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
5612 * eshell/esh-module.el: Require CL when compiling.
5614 2000-06-23 Gerd Moellmann <gerd@gnu.org>
5616 * comint.el (comint-substitute-in-file-name): Call replace-match
5617 with second and third arg t.
5619 * cus-edit.el (custom-button-face, custom-button-pressed-face):
5620 Specify foreground color.
5622 * faces.el (tool-bar, mode-line, header-line): Specify foreground
5625 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
5627 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
5628 cddr instead of cdddr.
5630 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
5631 instead of copy-list.
5633 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
5636 * subdirs.el: Add eshell subdirectory.
5638 * eshell: New subdirectory containing the Eshell package.
5640 * pcomplete.el: New file.
5642 2000-06-23 Paul Eggert <eggert@twinsun.com>
5644 * mail/mailpost.el (post-mail-send-it): Make sure file has
5645 proper permissions from birth.
5647 * files.el (basic-save-buffer-2): When temporarily setting
5648 file modes, set them to current modes plus 0200, not to 0777.
5650 * emerge.el (emerge-make-temp-file): Make sure file has proper
5651 permissions from birth.
5653 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
5655 * files.el (make-backup-file-name-1): On DOS/Windows, run the
5656 backup file name through convert-standard-filename.
5658 * dos-fns.el (convert-standard-filename): Convert leading
5659 directories as well. When long file names are supported, convert
5660 characters that are invalid in Windows file names.
5662 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5664 * ps-print.el: Fix bug: if ^L is the very first buffer character,
5665 ps-print crashes. New feature: page selection for printing. Create
5666 raw-text-unix coding system for XEmacs. Doc fix.
5667 (ps-print-version): New version number (5.2.3).
5668 (ps-plot-region): Bug fix.
5669 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
5670 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
5671 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
5673 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
5674 (ps-last-page): New vars.
5676 2000-06-21 Gerd Moellmann <gerd@gnu.org>
5678 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
5679 empty option string.
5681 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
5683 * man.el (man): Doc fix.
5685 2000-06-21 Kenichi Handa <handa@etl.go.jp>
5687 * international/mule-cmds.el (set-language-info-alist): Docstring
5690 2000-06-20 Gerd Moellmann <gerd@gnu.org>
5692 * version.el (emacs-version): Use ISO date format.
5694 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
5695 instead of `M-backspace'.
5697 * simple.el (turn-off-auto-fill): New function.
5699 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
5701 * jit-lock.el (with-buffer-prepared-for-jit-lock):
5702 Renamed from with-buffer-prepared-for-font-lock and use
5703 inhibit-modification-hooks rather than setting *-change-functions.
5704 Update all functions to use the new name.
5705 (jit-lock-first-unfontify-pos): New semantics (and doc).
5706 (jit-lock-mode): Make non-interactive.
5707 Don't automatically turn on font-lock.
5708 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
5709 Always use jit-lock-after-change.
5710 Remove and restore font-lock-after-change-function.
5711 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
5712 (jit-lock-after-unfontify-buffer): Remove.
5713 (jit-lock-stealth-fontify):
5714 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
5715 (jit-lock-after-change): Set the `fontified' text-prop to nil.
5717 2000-06-20 Sam Steingold <sds@gnu.org>
5719 * emacs-lisp/cl-indent.el (toplevel): Indent
5720 `print-unreadable-object' properly. Untabify.
5722 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5724 * textmodes/reftex.el (reftex-find-citation-regexp-format):
5725 Support for bibentry.
5726 (reftex-compile-variables): Fixed problem with end of section-re.
5728 * texmodes/reftex-dcr.el (reftex-view-crossref,
5729 reftex-view-crossref-from-bibtex):
5730 Deal with changed `reftex-find-citation-regexp-format'.
5731 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
5732 Replaced `remprop' with `put'.
5733 (reftex-view-crossref, reftex-view-crossref-when-idle):
5734 Support for bibentry.
5736 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
5737 New entry for bibentry package.
5739 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
5740 Regexp also matches "\nobibliography".
5742 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
5743 Call `reftex-ensure-write-access' before doing anything.
5744 (reftex-ensure-write-access): New function.
5746 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5748 * progmodes/idlwave.el: File re-installed (update to version 4.2)
5750 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
5752 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
5754 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
5757 2000-06-20 Dave Love <fx@gnu.org>
5759 * faces.el (frame-background-mode): Use set-default, not set, in
5761 (frame-update-faces, frame-update-face-colors): Define with
5764 * enriched.el (enriched-decode-foreground)
5765 (enriched-decode-background): Don't use internal-find-face.
5767 * apropos.el: Doc fixes.
5769 * cus-edit.el (customize-changed-options): Check arg.
5770 (customize-version-lessp): Don't require decimal point.
5772 * custom.el (defcustom, defgroup): Doc fix.
5774 * newcomment.el (comment) <defgroup>: Add :version.
5775 (comment-multi-line): Doc fix.
5777 * emulation/mlsupport.el (define-hooked-local-abbrev,
5778 define-hooked-global-abbrev): Fix, using define-abbrev.
5780 2000-06-19 Gerd Moellmann <gerd@gnu.org>
5782 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
5785 2000-06-19 Dave Love <fx@gnu.org>
5787 * menu-bar.el (menu-bar-options-save): New function.
5788 (menu-bar-options-menu): Use it.
5789 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
5792 2000-06-19 Andreas Schwab <schwab@suse.de>
5794 * progmodes/etags.el (tags-query-replace): Put new parameters
5795 START and END at the end, for backward compatibility.
5797 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5799 * international/codepage.el:
5800 (cp-coding-system-for-codepage-1): Delete special codes for
5801 generating xxx-dos coding system because now a CCL based coding
5802 system can handle EOL conversion by default.
5804 * international/mule.el (make-coding-system): Generate subsidiary
5805 coding systems for EOL handling variants even for a CCL based
5808 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5810 * international/isearch-x.el (isearch-minibuffer-input-method)
5811 (isearch-minibuffer-input-method-function): These variables
5813 (isearch-with-input-method): Don't use the above variables.
5814 (isearch-process-search-multibyte-characters): Likewise. Call
5815 read-string with the arg INHERIT-INPUT-METHOD t.
5817 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
5819 * font-lock.el (font-lock-after-fontify-buffer)
5820 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
5822 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
5823 Use consistent make-local-variable style for font-lock-fontified.
5824 (jit-lock-fontify-buffer):
5825 Don't bother checking for font-lock-mode and jit-lock-mode.
5827 * time.el: Remove trailing ^M that prevent CVS-merging.
5829 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5831 * Makefile.in (distclean): New target.
5833 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
5835 * Makefile.in (srcdir): Define for update-subdirs.
5837 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5839 * find-lisp.el: New file.
5841 2000-06-16 Andrew Innes <andrewi@gnu.org>
5843 * time.el (display-time-mail-function): New variable, to allow
5844 external packages to indicate when new mail is available.
5845 (display-time-update): Use it.
5847 2000-06-16 Kenichi Handa <handa@etl.go.jp>
5849 * international/mule.el (mule-version): Change version name to
5850 SAKAKI. AOI has already been used by Meadow.
5852 * international/quail.el (quail-show-guidance-buf): To find the
5853 bottom window (but minibuffer), pay attention to the height of
5856 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
5858 * arc-mode.el (archive-mode-map): Use the new menu-item format for
5859 menu-bar menus. Add help strings. Don't remove the Edit menu
5860 from the menu bar, as the menu bar has enough space now.
5862 * Makefile.in (SHELL): Make sure /bin/sh is used.
5864 * woman.el (woman-man-buffer): Fix bold and underlined CJK
5865 characters, which use series of two ^H characters instead of one.
5867 2000-06-15 Gerd Moellmann <gerd@gnu.org>
5869 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
5870 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
5872 (Info-find-node-2): Try a case-sensitive search first, then
5873 do a case-insensitive search.
5875 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
5878 * complete.el (PC-env-vars-alist): New variable.
5879 (PC-complete-as-file-name): New function.
5880 (partial-completion-mode): Initialize PC-env-vars-alist from
5881 process-environment.
5882 (PC-do-completion): Handle completion of env vars.
5884 * info.el (Info-set-mode-line): Show file name in mode line,
5885 use `*Info*' instead of `Info:'.
5887 * startup.el (command-line-1): Change copyright messages to year
5890 2000-06-15 Dave Love <fx@gnu.org>
5892 * net/goto-addr.el (goto-address-fontify): Use keymap property,
5895 2000-06-15 Kenichi Handa <handa@etl.go.jp>
5897 * international/mule.el (set-buffer-file-coding-system): Almost
5898 rewritten to handle `undecided' as no-op.
5900 2000-06-14 Gerd Moellmann <gerd@gnu.org>
5902 * Makefile.in: New file.
5904 * Makefile: Removed.
5906 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
5907 (goto-address-highlight-keymap): Bind C-c RET.
5909 2000-06-14 Kenichi Handa <handa@etl.go.jp>
5911 * mail/sendmail.el (sendmail-send-it): The temporary buffer
5912 inherits buffer-file-coding-system of the current buffer.
5914 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
5915 0. Give correct argument to set-auto-coding-function.
5916 (tar-expunge): For goto-char, use (point-min), not 0.
5917 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
5918 (tar-subfile-save-buffer): Likewize.
5920 * international/mule.el
5921 (after-insert-file-set-buffer-file-coding-system): Call
5922 set-buffer-file-coding-system with the arg FORCE t.
5924 2000-06-13 Gerd Moellmann <gerd@gnu.org>
5926 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
5927 nil. Contemporary sendmails issue an X-Authentication-Warning if
5928 the sender is set with `-f'.
5930 2000-06-13 Dave Love <fx@gnu.org>
5932 * help.el (describe-function-1): Kluge around cases of functions
5933 fset to subrs whose doc doesn't match their symbol-name.
5935 * image.el (insert-image): Default STRING to a space.
5937 * info.el Doc fixes.
5938 (Info-build-node-completions): Match Ref tags.
5940 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
5942 * frame.el (display-multi-frame-p, display-multi-font-p): New
5943 defaliases for display-graphic-p.
5945 * hl-line.el: Fixed a typo in commentary.
5947 2000-06-13 Kenichi Handa <handa@etl.go.jp>
5949 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
5952 2000-06-12 Dave Love <fx@gnu.org>
5954 * image.el (insert-image): Save a little consing.
5956 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5958 * language/tibet-util.el: Convert all tibetan-1-column characters
5959 to the corresponding tibetan characters.
5960 (tibetan-add-components): Delete code for the special treatment of
5963 * language/tibetan.el (tibetan-composable-pattern): Fix previous
5965 (tibetan-vowel-transcription-alist): More rules added.
5966 (tibetan-composite-vowel-alist): New variable.
5967 (tibetan-precomposition-rule-alist): More rules added.
5969 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
5971 * startup.el (command-line): Only call menu-bar-mode if interactive.
5973 * thingatpt.el (toplevel symbol-properties):
5974 * textmodes/makeinfo.el (makeinfo-compile):
5975 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
5976 * progmodes/hideif.el (hif-compress-define-list)
5977 (hide-ifdef-use-define-alist):
5978 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
5979 (ange-ftp-vms-add-file-entry):
5980 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
5981 * man.el (Man-build-man-command):
5982 * mail/rnewspost.el (news-reply-header-hook):
5983 * info.el (Info-insert-dir):
5984 * emulation/mlconvert.el (backward-word, forward-word, setq):
5985 * emacs-lisp/gulp.el (gulp-send-requests):
5986 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
5987 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
5988 (byte-optimize-apply, end of file):
5989 * emacs-lisp/advice.el (ad-advice-class-completion-table)
5990 (ad-make-freeze-definition):
5991 * startup.el (command-line, command-line-1): Don't quote lambdas.
5993 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
5994 (cvs-cleanup-removed): New function.
5995 (cvs-cleanup-functions): New var.
5996 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
5997 some flexibility in specifying additional entries to auto-cleanup.
5998 (cvs-quickdir): New function.
5999 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
6000 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
6001 (cvs-mode-find-file): Check that we are on a filename or dirname
6002 when invoked through a mouse-click.
6003 (cvs-full-path): Remove.
6004 (cvs-dired-action): Re-introduced.
6005 (cvs-dired-noselect): Use it.
6006 (vc-post-command-functions): use this new hook if available.
6008 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
6009 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
6010 (cvs-filename-map, cvs-dirname-map): Remove.
6011 (cvs-default-action): Remove.
6012 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
6013 if the arg is really a keymap.
6014 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
6015 Don't hardcode the mapping from state (aka type) to face, but check
6016 the var cvs-fi-<type>-face instead.
6017 (cvs-fileinfo-from-entries): New function.
6019 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
6021 (cvs-find-file-and-jump): Change default to be safer.
6022 (cvs-mode-diff-map): Define it as a function as well.
6023 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
6024 Bind mouse-2 in this global map rather than with text-properties.
6026 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
6027 file to resolve the ambiguity between C(conflict) and C(need-merge).
6029 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6031 * international/mule.el (set-buffer-file-coding-system): If
6032 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
6035 2000-06-12 Dave Love <fx@gnu.org>
6037 * wid-edit.el (widget-specify-button): Really suppress the face if
6040 2000-06-11 Gerd Moellmann <gerd@gnu.org>
6042 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
6044 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
6046 * imenu.el (imenu-generic-expression): Docstring fix.
6048 * composite.el (composition-function-table): Move the `put'
6049 below the autoload cookie so we can load the file before loaddefs.
6051 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
6053 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
6054 Handle easy-mmode-define-global-mode.
6055 For complex macros like define-minor-mode that can generate
6056 several autoload entries, try to autoload entries in the
6059 * emacs-lisp/easy-mmode.el (define-minor-mode):
6060 If KEYMAP is a symbol, just use it.
6061 Use byte-compile-current-file and load-file-name to infer the
6062 proper :require to pass to defcustom.
6063 Wrap the hook var into `progn' so as not to autoload it.
6064 Add a :autoload-end cookie.
6065 Be more careful about the evaluation of KEYMAP.
6066 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
6067 (define-derived-mode): Move define-abbrev-table outside of defvar.
6069 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
6071 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
6072 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
6073 (backup-compiled-files): Ignore errors during `tar'.
6074 (bootstrap): Make autoloads before elc files.
6076 2000-06-10 Kenichi Handa <handa@etl.go.jp>
6078 * international/mule.el (set-buffer-file-coding-system): If one of
6079 undecided-XXX is specified, change only EOL conversion.
6081 * international/mule-conf.el (unix): New alias for the coding
6082 system undecided-unix.
6084 2000-06-09 Dave Love <fx@gnu.org>
6086 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
6088 * progmodes/executable.el: Byte compile dynamic.
6089 (executable-insert): Change custom type.
6090 (executable-find): Add autoload cookie.
6091 (executable-make-buffer-file-executable-if-script-p): New
6092 function. After Noah Friedman.
6094 * files.el (after-save-hook): Customize, with
6095 executable-make-buffer-file-executable-if-script-p as an option.
6097 2000-06-09 Kenichi Handa <handa@etl.go.jp>
6099 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
6100 "tib24p-mule.bdf" for Tibetan.
6102 * composite.el (decompose-composite-char): Declare it as obsolete.
6104 * man.el (Man-fontify-manpage): Pay attention to underline and
6105 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
6107 2000-06-08 Gerd Moellmann <gerd@gnu.org>
6109 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
6110 Set maintainer to FSF since author isn't reachable.
6112 2000-06-08 Dave Love <fx@gnu.org>
6114 * international/mule-cmds.el (select-safe-coding-system): If
6115 DEFAULT-CODING-SYSTEM is not specified, also check the most
6116 preferred coding-system if buffer-file-coding-system is
6117 `undecided'. From Handa.
6119 2000-06-08 Kenichi Handa <handa@etl.go.jp>
6121 * international/mule.el
6122 (after-insert-file-set-buffer-file-coding-system): If the buffer
6123 size is greater than INSERTED, judget that we are not visiting.
6125 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
6127 * whitespace.el (defgroup whitespace): Comment out `:version'.
6128 XEmacs 20.4 has problems defining the group with this present.
6129 We'll have this commented out till get resolve the problem.
6131 2000-06-07 Gerd Moellmann <gerd@gnu.org>
6133 * align.el: Update from author.
6135 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
6137 * apropos.el (apropos-mode-hook): New user variable.
6138 (apropos-mode): Run apropos-mode-hook.
6140 2000-06-07 David Ponce <david@dponce.com>
6142 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
6143 commands. Require `wid-edit' at run-time.
6145 2000-06-07 David Ponce <david@dponce.com>
6147 * recentf.el: Added some "Commentary".
6148 (recentf-open-more-files, recentf-edit-list): Minor changes to
6149 move the point at the top of the file list. This behaviour is
6150 consistent with the menu one when the list contains a lot of
6152 (recentf-cleanup): Now displays the number of items removed from
6154 (recentf-relative-filter) New menu filter to show filenames
6155 relative to `default-directory'.
6157 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6159 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
6160 with/without giving an error if PostScript printer doesn't have this
6161 kind of page size. Zebra Stripe continues or restarts on next page.
6162 Manual/automatic paper feeding. Switch or not the header.
6163 (ps-print-version): New version number (5.2.2).
6164 (ps-windows-system): Include emx as a Windows system.
6165 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
6166 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
6167 (ps-background-text): Code fix.
6168 (ps-error-handler-message, ps-user-defined-prologue)
6169 (ps-print-prologue-header, ps-printer-name)
6170 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
6171 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
6172 (ps-use-face-background): Customization fix.
6173 (ps-n-up-database): Data fix.
6174 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
6175 (ps-switch-header): New vars.
6176 (ps-xemacs-color-name, ps-face-foreground-name)
6177 (ps-face-background-name, ps-boolean-constant): New funs.
6179 2000-06-07 Dave Love <fx@gnu.org>
6181 * allout.el: New version from Manheimer.
6183 2000-06-07 Kenichi Handa <handa@etl.go.jp>
6185 * textmodes/fill.el (fill-find-break-point): Check the validity of
6188 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6190 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
6191 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
6192 Call display-color-p and display-mouse-p instead of looking at
6195 2000-06-06 Dave Love <fx@gnu.org>
6197 * image.el (find-image): Doc fix. Return nil if image not found.
6198 (put-image, insert-image): Make STRING arg optional.
6200 2000-06-06 Kenichi Handa <handa@etl.go.jp>
6202 * language/vietnamese.el: Remove eval-when-compile.
6203 (viet-viscii-nonascii-translation-table): Define it as a
6204 translation table made from viet-viscii-decode-table.
6205 (viet-viscii-encode-table): Define it as a translation table made
6206 from the reverse map of above.
6207 (viet-vscii-nonascii-translation-table): Define it as a
6208 translation table made from viet-vscii-decode-table.
6209 (viet-vscii-encode-table): Define it as a translation table made
6210 from the reverse map of above.
6211 (ccl-decode-viscii): Use translate-character.
6212 (ccl-encode-viscii, ccl-encode-viscii-font)
6213 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
6216 * language/cyrillic.el: Remove eval-when-compile.
6217 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
6218 translation table made from cyrillic-koi8-r-decode-table.
6219 (cyrillic-koi8-r-encode-table): Define it as a translation table
6220 made from the reverse map of above.
6221 (ccl-decode-koi8): Use translate-character.
6222 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
6223 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
6224 a translation table made from cyrillic-alternativnyj-decode-table.
6225 (cyrillic-alternativnyj-encode-table): Define it as a translation
6226 table made from the reverse map of above.
6227 (ccl-decode-alternativnyj): Use translate-character.
6228 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
6231 * international/mule-diag.el (non-iso-charset-alist): Specify
6232 translation table symbol instead of translation table itself.
6233 (list-block-of-chars): CHARSET may be a translation table symbol.
6235 * international/mule.el (make-coding-system): If CODING-SYSTEM
6236 already exists, override it.
6238 * international/fontset.el: Use family `proportional' for Tibetan
6241 * international/ccl.el (ccl-compile-translate-character): Don't
6242 check if Rrr has property translation-table.
6243 (ccl-compile-map-multiple): Modified to avoid compiler warning.
6245 2000-06-05 Gerd Moellmann <gerd@gnu.org>
6247 * info.el: Bind case-fold-search to t when searching in case
6248 a user sets it to nil in a hook.
6250 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
6252 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6253 * hl-line.el (hl-line-mode): Use the new :global key argument.
6255 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
6256 (tar-clip-time-string): Prepend a space.
6257 (tar-grind-file-mode): Construct a string rather than modifying one.
6258 (tar-header-block-summarize): Fix docstring.
6259 Use `format' rather than an error-prone set of copy-loops.
6261 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
6262 (diff-goto-source, diff-unified->context, diff-context->unified)
6263 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
6264 understand the format output by the `-p' argument to diff.
6266 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
6267 (sh-re-done): Use defconst.
6268 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
6269 (sh-help-string-for-variable, sh-guess-basic-offset):
6270 Don't quote lambdas.
6271 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
6272 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
6274 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
6275 (mh-letter-mode): Derive from text-mode.
6276 This implicitly means that it now calls kill-all-local-variables.
6277 Also remove the Emacs-18 compatibility code.
6279 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
6280 Make use of symbol-property doc-string-elt.
6281 Use memq rather than a sequence of eq.
6282 (doc-string-elt): Fix the wrong or missing previously unused values.
6283 (autoload-print-form): New function extracted from
6284 generate-file-autoloads to allow recursion when handling progn
6285 so that defvar's and defun's docstrings are properly printed.
6286 (generate-file-autoloads): Use it.
6288 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
6289 Use find-file-hooks in the minor-mode function.
6290 Be careful not to loop indefinitely in the post-command-hook function.
6292 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
6294 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
6296 * ediff-diff.el (ediff-exec-process): Use --binary for fine
6297 differences whenever appropriate.
6298 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
6299 * viper.el (find-file, find-file-other-window): Get viper to do
6302 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
6304 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
6305 (jit-lock-fontify-buffer): New function for JIT refontification.
6306 (jit-lock-mode): Fix docstring.
6307 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
6308 Remove jit-lock-after-change from the _local_ hook.
6309 (jit-lock-function-1): Fix docstring.
6311 * info.el (Info-on-current-buffer): Initialize info.
6313 * newcomment.el (comment-indent): Ignore comment-indent-hook.
6315 * progmodes/tcl.el (tcl-indent-for-comment):
6316 Ignore comment-indent-hook.
6318 * emacs-lisp/easy-mmode.el: Require CL during compilation.
6319 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
6320 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
6321 and improve to use the lighter to guess the capitalization.
6322 (define-minor-mode): Inline code from easy-mmode-define-toggle.
6323 Add keyword arguments to specify global-ness or the custom group.
6324 Add local-map and help-echo properties to the lighter.
6325 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
6326 (easy-mmode-define-global-mode): New macro.
6328 2000-06-02 Dave Love <fx@gnu.org>
6330 * wid-edit.el: byte-compile-dynamic since we typically don't use
6331 all the widgets. Don't require cl or widget. Remove
6332 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
6333 (widget-read-event): Removed. Callers changed to use read-event.
6334 (widget-button-release-event-p): Renamed from
6335 button-release-event-p.
6336 (widget-field-add-space, widget-field-use-before-change):
6338 (widget-specify-field): Use keymap property, not local-map.
6339 (widget-specify-button): Obey :suppress-face.
6340 (widget-specify-insert): Use modern backquote syntax.
6341 (widget-image-directory): Renamed from widget-glyph-directory.
6342 (widget-image-enable): Renamed from widget-glyph-enable.
6343 (widget-image-find): Replaces widget-glyph-find.
6344 (widget-button-pressed-face): Move defvar.
6345 (widget-image-insert): Replaces widget-glyph-insert.
6346 (widget-convert): Use keywordp.
6347 (widget-leave-text, widget-children-value-delete): Use mapc.
6348 (widget-keymap): Remove XEmacs stuff.
6349 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
6350 (widget-button-click): Don't set point at the click, but re-centre
6351 if we scroll out of window. Rewritten for images v. glyphs &c.
6352 (widget-tabable-at): Use POS arg, not point.
6353 (widget-beginning-of-line, widget-end-of-line)
6354 (widget-item-value-create, widget-sublist, widget-princ-to-string)
6355 (widget-sexp-prompt-value, widget-echo-help): Simplify.
6356 (widget-default-create): Use widget-image-insert; some rewriting.
6357 (widget-visibility-value-create)
6358 (widget-push-button-value-create, widget-toggle-value-create): Use
6359 widget-image-insert.
6360 (checkbox): Create on and off images dynamically.
6361 (documentation-link): Change :help-echo.
6362 (widget-documentation-link-echo-help): Remove.
6364 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
6366 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
6368 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
6369 (easy-mmode-define-toggle, define-minor-mode): Use it.
6370 (easy-mmode-define-keymap): Docstring fix.
6371 (define-derived-mode): Default PARENT to fundamental-mode.
6372 Add the derived-mode-parent symbol-property.
6373 (easy-mmode-derived-mode-p): New function.
6375 2000-06-02 Dave Love <fx@gnu.org>
6377 * files.el (convert-standard-filename): Doc fix.
6378 (normal-backup-enable-predicate): New function.
6379 (backup-enable-predicate): Use it to replace the lambda form.
6381 * calendar/todo-mode.el: [This needs more work on the outline
6383 (todo) <defgroup>: Add :version.
6384 (todo-add-category): Don't use pushnew.
6385 (todo-cmd-raise): Fix typo.
6386 (todo-top-priorities): Change temp buffer name.
6387 (todo-category-alist): Avoid redundant lambda.
6388 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
6389 Use outline-next-heading.
6391 * autoarg.el: Rewritten to use define-minor-mode.
6392 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
6393 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
6395 2000-06-02 Kenichi Handa <handa@etl.go.jp>
6397 * isearch.el (isearch-other-meta-char): Fix previous change.
6399 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6401 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
6402 (log-edit-done): Only add the comment to the ring if it's different
6403 from the last comment entered.
6405 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
6407 2000-06-01 Dave Love <fx@gnu.org>
6409 * hl-line.el: Rewritten using define-minor-mode.
6411 * help.el (describe-function-1): Distinguish special form from
6412 builtin function. Sanity-check presence of arglist for builtins.
6414 2000-06-01 Kenichi Handa <handa@etl.go.jp>
6416 * international/characters.el: Fix syntax/category setting of
6419 * language/tibet-util.el (tibetan-add-components): Fixes for new
6420 encoding of Tibetan characters.
6421 (tibetan-decompose-precomposition-alist): New variable.
6422 (tibetan-decompose-region): Convert precomposed characters to
6423 non-precomposed characters.
6424 (tibetan-decompose-string): Likewise.
6425 (tibetan-composition-function): Fix args to
6426 thibetan-compose-string.
6428 * language/tibetan.el (tibetan-composable-pattern): More
6429 characters included.
6430 (tibetan-consonant-transcription-alist): Rule for "R" added.
6431 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
6433 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
6435 * language/lao-util.el (lao-composition-function): Fix args to
6438 * language/thai-util.el (thai-composition-function): Fix args to
6441 * isearch.el (isearch-update): Set disable-point-adjustment to t
6442 to prevent the point moving to the end of a composition when a
6443 part of a composition is searched.
6444 (isearch-other-meta-char): If the key invoking this command can be
6445 mapped by function-key-map to a printing char, call
6446 isearch-process-search-char directly.
6448 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6450 * emacs-lisp/bytecomp.el:
6452 * international/mule-cmds.el:
6453 * international/mule-util.el:
6454 * international/mule.el:
6457 * faces.el: Update calls to make-obsolete with a WHEN argument.
6459 * byte-run.el (make-obsolete, make-obsolete-variable):
6460 Add an optional WHEN argument and change the format of the
6461 symbol-property information.
6462 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
6463 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
6464 new obsolete-symbol-property format and print WHEN if it is provided.
6466 2000-05-31 Dave Love <fx@gnu.org>
6468 * loadhist.el (loadhist-hook-functions): Remove
6469 before-change-function, after-change-function.
6470 (unload-feature): Deal with symbols which are both bound and
6473 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
6474 before-change-function, after-change-function.
6476 * simple.el (newline): Don't bind before-change-function,
6477 after-change-function.
6479 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
6481 * whitespace.el (whitespace-rescan-timer-time): Update interval
6482 set to 600 seconds (10 minutes) instead of 60 seconds since
6483 a large number of whitespace buffers causes emacs to `freeze'
6484 for a considerable amount of time.
6486 * whitespace.el: Updated email address
6488 2000-05-31 Dave Love <fx@gnu.org>
6490 * add-log.el (change-log-font-lock-keywords) <function>: Add
6491 pattern for function of change.
6492 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
6493 acknowledgements patterns.
6495 2000-05-31 Kenichi Handa <handa@etl.go.jp>
6497 * isearch.el (isearch-printing-char): If keyboard coding system is
6498 being used, call isearch-process-search-multibyte-characters.
6500 * international/isearch-x.el: Mostly rewritten.
6502 * international/quail.el (quail-start-conversion): Don't include
6503 unhandled events in the returned events, but set them in
6504 unread-command-events. Exit if all inputs are deleted.
6506 2000-05-30 Jason Rumney <jasonr@gnu.org>
6508 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
6510 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
6511 Reenable code to create initial fontsets.
6512 Use set-fontset-font in place of put-charset-property.
6514 2000-05-30 Gerd Moellmann <gerd@gnu.org>
6516 * progmodes/perl-mode.el (perl-indent-line): When looking for a
6517 label, ensure that the first colon isn't followed by another.
6519 * paths.el (Info-default-directory-list): Doc fix.
6521 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
6522 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
6523 send a query containing USER only, not USER@HOST.
6525 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
6526 and rmail-msgend to compute the restriction at the end, instead of
6529 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6531 * dabbrev.el (dabbrev-expand): Don't display messages in the
6532 echo area if the minibuffer window is active.
6534 * jit-lock.el (jit-lock-mode): Add after change function to
6537 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
6539 * antlr-mode.el: New commands: hide/unhide actions,
6540 upcase/downcase literals.
6541 (antlr-tiny-action-length): New user option.
6542 (antlr-hide-actions): New command. Suggested by
6543 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
6544 (antlr-mode-map): New binding [C-c C-v].
6545 (antlr-mode-menu): New entries.
6546 (antlr-downcase-literals): New command.
6547 (antlr-upcase-literals): Ditto.
6549 * antlr-mode.el: Minor changes: indendation, mode-name.
6550 (antlr-indent-line): Indent cpp directive at column 0.
6551 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
6553 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
6554 (antlr-font-lock-additional-keywords): Workaround for intentional
6555 bug in XEmacs version of font-lock.
6556 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
6557 be used by a smarter version of `buffers-menu-grouping-function'.
6559 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6561 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
6562 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
6564 2000-05-29 Kenichi Handa <handa@etl.go.jp>
6566 * international/encoded-kb.el
6567 (encoded-kbd-iso2022-designation-map): Pay attention to that
6568 charset-iso-final-char return -1 for eight-bit-control and
6571 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6573 * speedbar.el (speedbar-use-images, speedbar-update-flag)
6574 (speedbar-easymenu-definition-base): Use display-graphic-p where
6575 available, instead of window-system.
6577 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6579 * international/codepage.el (cp-coding-system-for-codepage-1): Add
6580 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
6583 2000-05-26 Dave Love <fx@gnu.org>
6585 * disp-table.el (standard-display-underline): Don't use
6588 * mail/reporter.el: Maintainer change. Doc fixes.
6589 (reporter-version): Deleted.
6591 * emacs-lisp/elp.el: Maintainer change.
6592 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
6594 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
6596 * add-log.el (add-change-log-entry): Merge the current entry with the
6597 previous one if the previous one is empty.
6599 2000-05-26 Dave Love <fx@gnu.org>
6601 * loadhist.el (unload-feature): Fix interactive spec [from
6602 lijnzaad@ebi.ac.uk].
6604 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
6605 subr-arity to check primitives.
6606 (byte-compile-flush-pending, byte-compile-file-form-progn)
6607 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
6608 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
6611 2000-05-26 Kenichi Handa <handa@etl.go.jp>
6613 * international/fontset.el: Set family names of non-latin charsets
6614 in default fontset to "*".
6616 * international/mule-diag.el (print-fontset): Combine family part
6617 and registry part of the fontname by "-*-" instead of "-".
6619 * international/mule-cmds.el (encode-coding-char): Make strings
6620 multibyte before calling encode-coding-string.
6622 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
6624 * derived.el: Fix keywords.
6625 (define-derived-mode): Only define if needed.
6627 * simple.el (fill-comment, comment-column, comment-start)
6628 (comment-start-skip, comment-end, comment-indent-function)
6629 (block-comment-start, block-comment-end, indent-for-comment)
6630 (set-comment-column, kill-comment, comment-padding, comment-region)
6631 (comment-multi-line, indent-new-comment-line): Remove.
6633 * bindings.el (esc-map): Change ; to comment-dwim and use the new
6634 function names for comment operations.
6636 * newcomment.el: Add abundant autoload cookies.
6637 (comment-style): Don't depend on runtime data at compile-time.
6638 (comment-indent-hook): Remove.
6639 (comment-indent): Check if comment-indent-hook is bound.
6640 (comment-region): Docstring fix.
6642 2000-05-25 Dave Love <fx@gnu.org>
6644 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
6645 byte-code-function-p.
6647 * mail/rmailsum.el: Add provide.
6649 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
6651 * smerge-mode.el (smerge-diff-switches): Don't use list* in
6654 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
6656 * ediff-diff.el (ediff-exec-process): delete --binary option from
6657 non-buffer ediff jobs.
6659 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6661 * hilit-chg.el (highlight-changes-mode): Ask about color or
6662 grayscale support, not about window-system.
6664 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
6666 (ffap-highlight): Always default to t.
6668 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
6669 display-popup-menus-p instead of looking at window-system.
6671 * disp-table.el (standard-display-g1, standard-display-graphic):
6672 Only refuse to use string glyphs on X and MS-Windows.
6674 * avoid.el: Remove window-system from commentary, suggest to use
6675 display-*-p instead.
6677 * apropos.el (apropos-print): Use display-mouse-p instead of
6680 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6682 * international/codepage.el (cp-decoding-vector-for-codepage):
6683 Fill up unsupported characters with their own codes. From Kenichi
6686 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6688 * international/mule-diag.el (describe-char-after): Use
6689 display-graphic-p instead of window-system, so that this function
6692 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6694 * international/codepage.el (cp-make-coding-systems-for-codepage):
6695 Remove the eight-bit-graphic and eight-bit-control charsets from
6696 the list of charsets which we convert into `?'.
6698 2000-05-25 Kenichi Handa <handa@etl.go.jp>
6700 * international/mule-conf.el: Specify CHARSET-ID explicitely for
6702 (mule-unicode-0100-24ff, japanese-jisx0213-1,
6703 japanese-jisx0213-2): New charsets.
6705 * international/fontset.el: Setup default fontset for new charsets.
6707 2000-05-24 Dave Love <fx@gnu.org>
6709 * info.el (Info-find-node-2): Restructure [following "Vadim
6710 S. Solomin" <sovs@uic.nnov.ru>].
6712 * icomplete.el: Fix header for Finder.
6714 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
6716 * rmailout.el (rmail-output-to-rmail-file): Added optional param
6719 * rmail.el (rmail-automatic-folder-directives): New user variable.
6720 (rmail-show-message): Add call to `rmail-auto-file' during
6722 (rmail-auto-file): New function.
6724 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6726 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
6728 (ediff-test-utility,ediff-diff-mandatory-option)
6729 (ediff-reset-diff-options): Utilities for proper initialization of
6730 ediff-diff-options and ediff-diff3-options on Windows.
6732 * ediff-init.el (ediff-merge-filename-prefix): New customizable
6735 * ediff-mult.el (ediff-filegroup-action): Use
6736 ediff-merge-filename-prefix.
6738 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6740 * viper-ex.el (ex-write): Set selective display to nil.
6742 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6744 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
6745 aliases for hebrew-iso-8bit.
6747 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6749 * woman.el: New version from Francis J. Wright
6750 <F.J.Wright@Maths.QMW.ac.uk>.
6751 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
6752 names in environment variables regardless of the path separator.
6753 (woman-topic-all-completions-1): Don't call file-name-directory-p
6754 on all files, since woman-file-regexp already filters out any
6757 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6759 * international/quail.el (quail-start-translation): Don't change
6760 modified-p of the current buffer.
6761 (quail-start-conversion): Likewise.
6763 * international/kkc.el (kkc-region): Don't change modified-p of
6766 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
6768 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
6770 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
6772 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
6773 (speedbar-insert-button): Invisible text property fix.
6774 (speedbar-directory-plus): Renamed from speedbar-directory-+
6775 (speedbar-directory-minus): Renamed from speedbar-directory--
6776 (speedbar-page-plus): Renamed from speedbar-file-+
6777 (speedbar-page-minus): Renamed from speedbar-file--
6778 (speedbar-page): Renamed from speedbar-file-
6779 (speedbar-tag): Renamed from speedbar-tag-
6780 (speedbar-tag-plus): Renamed from speedbar-tag-+
6781 (speedbar-tag-minus): Renamed from speedbar-tag--
6782 (speedbar-expand-image-button-alist): Use above renames.
6784 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
6785 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
6786 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
6787 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
6788 * sb-pg.xpm: Renamed from sb-file.xpm
6789 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
6790 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
6792 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6794 * international/quail.el (quail-show-guidance-buf): Set
6795 current-input-method of the guidance buffer to the name of the
6796 curren input method.
6798 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
6800 * progmodes/compile.el (compile-internal): Style typo.
6802 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
6803 quote vars and functions in the docstring.
6805 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
6807 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
6808 Don't quote lambdas.
6810 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
6812 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6814 * startup.el (command-line): Determine source file of compiled
6815 user init file differently. Warn if compiled user init file
6816 is older than its source file.
6818 * ffap.el (ffap-url-regexp): Add `https'.
6820 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
6822 * files.el (make-backup-file-name-1): Replace slashes with `!'
6823 rather than `|' (which is not allowed on Windows). Replace the
6824 drive letters with a string "drive_X".
6826 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6828 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
6830 * files.el (interpreter-mode-alist): Add `bash2'.
6832 2000-05-22 Dave Love <fx@gnu.org>
6834 * loadhist.el (feature-symbols, file-provides, file-requires): Use
6836 (feature-file): Avoid calling symbol-name. Doc fix.
6837 (file-set-intersect, file-dependents): Use dolist, not mapcar.
6838 (loadhist-hook-functions): Add mouse-position-function.
6839 (unload-feature): Change uses of mapcar.
6841 * files.el (parse-colon-path): Doc fix.
6842 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
6843 (set-auto-mode): Use mapc.
6845 * complete.el (PC-look-for-include-file): Use :alnum: character
6847 (partial-completion-mode): Add autoload cookie.
6849 2000-05-22 Sam Steingold <sds@gnu.org>
6851 * info.el (Info-fontify-node): Fixed the call to
6852 `add-text-properties' (bug introduced on 2000-05-18).
6854 2000-05-22 Dave Love <fx@gnu.org>
6856 * bindings.el: Remove debug-ignored-errors set in other files.
6858 * progmodes/etags.el: Add to debug-ignored-errors.
6859 (visit-tags-table-buffer): Clear out buffers holding old tables
6860 when making a new list.
6861 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
6864 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
6866 (cmpl-string-case-type): Use character classes.
6869 * textmodes/ispell.el:
6872 * progmodes/compile.el: Add to debug-ignored-errors.
6874 * dabbrev.el: Add to debug-ignored-errors.
6875 (dabbrev-completion): Use mapc.
6877 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
6879 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
6880 (woman-mapcan, woman-parse-man.conf)
6881 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
6882 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
6883 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
6885 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
6886 (woman-manpath): Call woman-parse-man.conf.
6887 (woman-emulation): New defcustom, defaults to nroff.
6888 (woman-font-support): New defconst.
6889 (woman-use-symbol-font): New defcustom.
6890 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
6892 Many functions: Doc fix.
6894 2000-05-22 Kenichi Handa <handa@etl.go.jp>
6896 * international/quail.el (quail-simple-translation-keymap): Map
6897 128..255 to quail-self-insert-command.
6898 (quail-keyboard-layout-alist): Add definition for "pc102-de".
6900 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
6902 * help.el (help-manyarg-func-alist): Typo.
6904 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
6905 intervals which makes it heaps simpler.
6907 * newcomment.el (comment-region-internal): Go back to BEG after quoting
6908 the nested comment markers.
6910 * subr.el (remove-hook): Don't turn the hook's value into a list.
6912 2000-05-21 Dave Love <fx@gnu.org>
6914 * edmacro.el (edmacro-parse-keys): Return vector if any elements
6915 are invalid characters.
6917 * international/mule-util.el (detect-coding-with-priority): Use
6918 mapc. Remove redundant lambda.
6920 * international/mule-diag.el (list-non-iso-charset-chars)
6921 (describe-fontset): Remove redundant lambda.
6923 * emulation/crisp.el (brief-mode): New alias.
6925 * emacs-lisp/ring.el (ring-elements): New function.
6927 * emacs-lisp/easymenu.el (easy-menu-create-menu)
6928 (easy-menu-do-add-item): Use keywordp.
6930 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
6932 * replace.el: Doc and error message fixes.
6933 (replace-highlight): Use facep, not internal-find-face.
6935 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
6937 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
6939 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
6940 (log-edit-insert-changelog): Drop `:' as well.
6942 * log-view.el: Fix file description.
6943 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
6945 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
6946 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
6948 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
6949 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
6950 Print a status message if the toggle is called interactively.
6951 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
6952 for global minor modes and use `defcustom' for them.
6954 (easy-mmode-define-derived-mode): Remove.
6955 (define-derived-mode): Fancier default docstring.
6956 (easy-mmode-define-navigation): Signal an error rather than (ding).
6958 * newcomment.el (comment-styles): New `box-multi'.
6959 (comment-normalize-vars): Better default for comment-continue to
6960 avoid whitespace-only continuations.
6961 (comment-search-forward): Always move even in the no-syntax case.
6962 (comment-padright): Only obey N if it's only obeyed for padleft.
6963 (comment-make-extra-lines): Better handling of empty continuations.
6964 Use `=' for the filler if comment-start has only one character.
6965 (uncomment-region): Try handling the special `=' filler.
6966 (comment-region): Allow LINES even if MULTI is nil.
6967 (comment-box): Choose box style based on comment-style.
6969 2000-05-20 Kenichi Handa <handa@etl.go.jp>
6971 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
6972 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
6974 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
6976 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
6977 and insert, not subst-char-in-region.
6979 * international/mule-diag.el (list-character-sets-1): Handle
6980 charsets eight-bit-control and eight-bit-graphic.
6981 (list-iso-charset-chars): Likewise.
6982 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
6983 charactes as is. Use indent-to to align characters.
6985 * international/mule-cmds.el (find-multibyte-characters): Never
6986 exclude charsets eight-bit-control and eight-bit-graphic.
6988 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6990 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
6991 Don't quote lambdas.
6993 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
6995 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6997 * gud.el (gud-jdb-directories): Doc fix.
6999 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
7001 * newcomment.el: New file.
7003 2000-05-19 Gerd Moellmann <gerd@gnu.org>
7005 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
7007 2000-05-18 Andreas Schwab <schwab@suse.de>
7009 * dired.el (dired-between-files): Also skip lines beginning with
7012 2000-05-18 Gerd Moellmann <gerd@gnu.org>
7014 * msb.el (msb-menu-cond): Add choice `user'.
7016 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7018 * ps-print.el: Compatibility, customization and doc fix.
7019 (ps-printer-name-option): Replace defconst by defvar.
7020 (ps-postscript-code-directory): XEmacs compatibility.
7021 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
7023 (ps-user-defined-prologue, ps-print-prologue-header)
7024 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
7025 compatibility and code fix.
7026 (ps-print-background-image, ps-print-background-text):
7028 (ps-line-number-start, ps-n-up-on): New vars.
7030 2000-05-18 Espen Skoglund <esk@ira.uka.de>
7032 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
7033 the indent-comment function to just return the appropriate indent.
7035 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
7037 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
7038 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
7039 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
7041 2000-05-18 Dave Love <fx@gnu.org>
7043 * info.el (Info-fontify-node): Add intangible property as well as
7046 * calendar/appt.el (appt-make-list): Match all lines of entry.
7047 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
7049 2000-05-18 Kenichi Handa <handa@etl.go.jp>
7051 * international/mule-diag.el (describe-char-after): Call
7052 internal-char-font, not char-font. If internal-char-font returns
7053 nil, display "-- none --".
7055 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
7057 * image.el (image-type-available-p): Don't reference image-types
7060 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
7062 * autoarg.el (autoarg-mode): Typo in the :set argument.
7064 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
7066 * startup.el (command-line-1): Don't signal an error if the
7067 directory for auto-save-list files does not yet exist.
7069 2000-05-17 Kenichi Handa <handa@etl.go.jp>
7071 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
7073 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
7075 * subr.el (remove-hook): `setq' hook-value, not `set'.
7077 2000-05-16 Sam Steingold <sds@gnu.org>
7079 * info.el (debug-ignored-errors): More errors to ignore.
7081 2000-05-16 Dave Love <fx@gnu.org>
7083 * cus-edit.el: Don't require cl or easymenu.
7084 (custom-variable-prompt): Test standard-value property, not
7087 2000-05-16 Sam Steingold <sds@gnu.org>
7089 * subr.el (add-hook): `setq' hook-value, not `set'.
7091 2000-05-16 Gerd Moellmann <gerd@gnu.org>
7093 * startup.el (command-line-1): Mention the FAQ in the startup
7096 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
7098 * progmodes/compile.el (compilation-parse-errors): Collect
7099 `nomessage' regexps last.
7101 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
7103 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
7104 to the function name.
7106 2000-05-15 Dave Love <fx@gnu.org>
7108 * speedbar.el (speedbar-recenter): Typo.
7109 (speedbar-expand-line): Make arg optional.
7110 (speedbar-mode): Avoid a compiler warning.
7112 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7114 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
7115 user-specified option string is empty.
7117 * mouse.el (mouse-yank-at-click): Doc fix.
7119 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
7121 * term/internal.el (IT-character-translations): More updates of
7122 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
7125 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7127 * env.el (getenv): New function, interactively callable.
7128 (setenv, getenv): Remove autoload cookies.
7130 * loadup.el: Load `env'.
7132 * progmodes/f90.el: Change author's mail address.
7134 2000-05-14 Dave Love <fx@gnu.org>
7136 * mail/rmail.el (rmail-show-message-hook): Customize and offer
7137 goto-addr as an option.
7139 * help.el (help-xref-stack): Doc fix.
7140 (help-xref-following): New variable.
7141 (help-make-xrefs): Use it.
7142 (help-xref-go-back): Use position information from stack element.
7143 (help-follow): Make position in stack element a pair. Use
7144 help-xref-following.
7146 * autoarg.el: New file.
7148 * faces.el: Declare more functions obsolete.
7150 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
7151 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
7152 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
7153 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
7154 Remove all the setup-...-environment functions.
7156 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
7158 * speedbar.el: Updated the commentary section. xemacs20p now uses
7159 >= when detecting. Require `defimage' safely.
7160 (speedbar-easymenu-definition-base): Add toggle for images.
7161 (speedbar-easymenu-definition-special): Add flush cache & expand.
7162 (speedbar-visiting-tag-hook): Set new defaults. Added options.
7163 (speedbar-reconfigure-keymaps-hook): New variable.
7164 (speedbar-frame-parameters): Updated documentation.
7165 (speedbar-use-imenu-flag): Updated custom tag
7166 (speedbar-dynamic-tags-function-list): New variable.
7167 (speedbar-tag-hierarchy-method): Updated doc & custom.
7168 (speedbar-indentation-width, speedbar-indentation-width) New
7170 (speedbar-hide-button-brackets-flag): Customizable.
7171 (speedbar-vc-indicator): Doc update.
7172 (speedbar-ignored-path-expressions): Updated default value.
7173 (speedbar-supported-extension-expressions): Updated default value.
7174 (speedbar-syntax-table): Remove {} paren status.
7175 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
7176 as "+". Added overlay aliases.
7177 (speedbar-mode): Use `speedbar-mode-line-update' instead of
7178 `force-mode-line-update'.
7179 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
7180 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
7182 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
7183 (speedbar-item-info-tag-helper): Revamped to handle a wider range
7184 of arbitrary text, and new helper functions.
7185 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
7187 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
7188 (speedbar-directory-buttons): Update path search/expansion.
7189 (speedbar-make-tag-line): Pay attention to
7190 `speedbar-indentation-width'. Use more care w/ invisible
7192 (speedbar-change-expand-button-char): Call
7193 `speedbar-insert-image-button-maybe'.
7194 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
7195 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
7196 (speedbar-trim-words-tag-hierarchy)
7197 (speedbar-simple-group-tag-hierarchy): New functions
7198 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
7199 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
7201 (speedbar-mouse-set-point): New function
7202 (speedbar-power-click): Updated documentation.
7203 (speedbar-line-token, speedbar-goto-this-file): Handle more types
7205 (speedbar-expand-line, speedbar-contract-line): Make more robust
7207 (speedbar-expand-line): Takes universal argument to flush the
7209 (speedbar-flush-expand-line): New function.
7210 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
7211 Use new generator insertion method.
7212 (speedbar-fetch-dynamic-tags): New function.
7213 (speedbar-fetch-dynamic-imenu): Removed code now handled in
7214 `speedbar-fetch-dynamic-imenu'.
7215 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
7216 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
7217 "Revert Buffer" menu items.
7218 (speedbar-buffer-buttons-engine): Be smarter when creating a
7219 filename tag (for expansion purposes.).
7220 (speedbar-highlight-one-tag-line,
7221 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
7222 (speedbar-recenter): New functions.
7223 (defimage-speedbar): Image loading abstraction.
7224 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
7225 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
7226 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
7227 (speedbar-tag-type, speedbar-tag-mail): New images.
7228 (speedbar-expand-image-button-alist): New variable.
7229 (speedbar-insert-image-button-maybe): Insert an image over some
7232 2000-05-13 Kenichi Handa <handa@etl.go.jp>
7234 * international/mule-cmds.el (encode-coding-char): An ASCII
7235 character is always encodable.
7237 * international/mule-conf.el: Add more information in descriptions
7240 * international/mule-diag.el (describe-char-after): New function.
7241 (describe-font-internal): Adjusted for the change of font-info.
7242 (describe-font): Likewise.
7243 (print-fontset): Rewritten for the new fontset implementation.
7244 (describe-fontset): Include fontset alias names in completion.
7245 (list-fontsets): Adjusted for the change of print-fontset.
7247 * simple.el (what-cursor-position): If DETAIL is non-nil, call
7248 describe-char-after instead of displaying the detail in the echo
7250 (syntax-code-table): Format changed.
7251 (string-to-syntax): Adjusted for the above change.
7253 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
7255 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
7257 2000-05-12 Dave Love <fx@gnu.org>
7259 * calendar/todo-mode.el: Remove some compatibility stuff and CL
7260 dependence. Use line-{beginning,end}-position, not
7261 point-at{b,e}ol. Some doc fixes.
7262 (todo-position): New function. Fix callers of position to use it.
7263 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
7265 2000-05-12 Gerd Moellmann <gerd@gnu.org>
7267 * time.el (display-time-mail-icon): Use `:ascent center'.
7269 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
7270 handling FTP security extensions.
7272 2000-05-11 Dave Love <fx@gnu.org>
7274 * calendar/todo-mode.el: New file.
7276 2000-05-11 Gerd Moellmann <gerd@gnu.org>
7278 * comint.el (comint-read-input-ring): Move reference to
7279 comint-input-ring-size outside of the save-excursion. It was
7280 causing the default value to be the only one ever seen.
7282 * font-lock.el: Update copyright. Remove Simon Marshall's email
7283 address on request from him.
7285 * subr.el (substitute-key-definition): Add comment describing
7286 the meaning of PREFIX.
7288 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
7290 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
7292 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
7293 (add-minor-mode): Don't make the variable buffer-local and add a
7294 reference to define-minor-mode in the docstring.
7296 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
7297 HEADER/FOOTER and fix bug with trailing empty directory.
7298 (cvs-append-to-ignore): Use vc-editable-p if available.
7299 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
7300 (vc-do-command): Tweak advice to handle the new VC.
7302 * log-view.el (log-view-goto-rev): New function for the new VC.
7303 (log-view-minor-wrap): Use mark-active.
7305 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
7306 (log-edit-changelog-full-paragraphs): New var.
7307 (log-edit-insert-changelog): Remove a lonely leading `* file'.
7308 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
7309 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
7310 (log-edit-changelog-ours-p, log-edit-changelog-entries)
7311 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
7312 Replace the `cvs' prefix with `log-edit'.
7314 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
7316 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
7317 (diff-font-lock-defaults): Explicitly turn off multiline.
7318 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
7319 (diff-ediff-patch): Fix call to ediff-patch-file.
7320 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
7323 * frame.el (automatic-hscrolling): Typo.
7325 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
7327 2000-05-09 Sam Steingold <sds@goems.com>
7329 * apropos.el (apropos-print): use `describe-face' instead of
7330 `customize-face-other-window'.
7332 2000-05-09 Dave Love <fx@gnu.org>
7334 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
7336 * help.el (describe-variable): Have customize button pop the
7337 help-xref stack when invoked.
7338 (help-xref-symbol-regexp): Add `face'.
7339 (help-make-xrefs): Check for quoted face names and adapt regexp
7340 submatch numbers to cope.
7341 (help-xref-interned): Maybe insert face doc too. Separate
7342 sections with a line of hyphens.
7344 * faces.el: Some doc fixes. Declare some functions obsolete.
7345 (describe-face): Add customize button. Return the help
7348 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
7350 * term/internal.el (IT-character-translations): Fix last change.
7352 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7354 * woman.el: New file
7355 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
7357 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7359 * term/internal.el (IT-character-translations): Update ASCII
7360 simulations for greek-iso8859-7, add latin-iso8859-14 and
7363 * international/mule-cmds.el (set-language-info-alist): Call
7364 define-prefix-command with 3 arguments, to make the map suitable
7367 2000-05-07 Dave Love <fx@gnu.org>
7369 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
7371 2000-05-05 Dave Love <fx@gnu.org>
7373 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
7374 list in doc string. Don't quote keyword symbols.
7375 * emacs-lisp/cl.el: Likewise
7376 * emacs-lisp/cl-seq.el: Likewise
7378 2000-05-05 Gerd Moellmann <gerd@gnu.org>
7380 * abbrev.el (abbrev-mode): Make ARG optional.
7382 2000-05-04 Gerd Moellmann <gerd@gnu.org>
7384 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
7386 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
7388 * subr.el (substitute-key-definition): Clarify documentation.
7390 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
7392 * glasses.el (glasses-convert-to-unreadable): Use
7393 `glasses-separator' instead of the hard-wired "_".
7394 (glasses-mode): Call `glasses-make-unreadable' only in a single
7397 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
7399 * term/internal.el (cjk-codepages-alist): Add associations for
7400 Chinese and Korean codepages. Remove FIXME comment.
7402 2000-05-03 Dave Love <fx@gnu.org>
7404 * time.el (display-time-mail-face, display-time-use-mail-icon):
7406 (display-time-mail-icon): New variable.
7407 (display-time-string-forms): Use the above. Fix the local-map.
7409 2000-05-03 Gerd Moellmann <gerd@gnu.org>
7411 * replace.el (query-replace-map): Add binding for `E'.
7412 (query-replace-help): Extend help text.
7413 (perform-replace): Allow editing the replacement string.
7415 * make-mode.el (makefile-mode-abbrev-table): New variable.
7416 (makefile-mode): Set local abbrev table to
7417 makefile-mode-abbrev-table.
7418 (makefile-font-lock-keywords): Fontify includes and conditionals.
7420 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
7423 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
7424 mail-interactive-insert-alias.
7425 (mail-abbrev-complete-alias): New command.
7426 (mail-mode-map): Bind it to `M-TAB'.
7428 2000-05-03 Kenichi Handa <handa@etl.go.jp>
7430 * language/lao-util.el (lao-compose-region): New function.
7432 2000-05-02 Gerd Moellmann <gerd@gnu.org>
7434 * files.el (recover-session): Make directories as necessary
7435 if they don't exist yet.
7437 * calendar/cal-french.el
7438 (french-calendar-multibyte-special-days-array)
7439 (french-calendar-special-days-array): Change French text.
7440 (calendar-french-date-string): Change output.
7441 (calendar-goto-french-date): Likewise.
7443 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
7445 * wid-edit.el (widget-default-active): Obey `:always-active'.
7446 (widget-documentation-string-value-create): Set `:always-active'.
7448 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7450 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
7451 default prefix to `~/_emacs.d/auto-save.list/_s'.
7452 (normal-top-level): Create the directory for auto-save files, if
7453 it doesn't already exist (in the ms-dos case only).
7455 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7457 * international/mule-cmds.el (set-language-environment): Don't
7458 concat an integer (dos-codepage), use format instead.
7460 2000-05-02 Dave Love <fx@gnu.org>
7462 * help.el (help-xref-on-pp): Check for constant symbols.
7464 2000-04-29 Gerd Moellmann <gerd@gnu.org>
7466 * startup.el (normal-top-level): Put a condition-case around
7467 the code loading subdirs.el.
7469 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7471 * ps-print.el: Upside-down and face background color printing,
7472 line number step, doc fix.
7473 (ps-print-version): New version number (5.2).
7474 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
7475 (ps-face-attribute-list, ps-plot-with-face): Code fix.
7476 (ps-spool-config): Var fix.
7477 (ps-printer-name-option): Const fix.
7478 (ps-print-upside-down, ps-use-face-background)
7479 (ps-line-number-step): New vars.
7480 (ps-window-system, ps-lp-system): New consts.
7481 (ps-face-background): New fun.
7483 2000-04-28 Richard Stallman <rms@gnu.org>
7485 * files.el (make-auto-save-file-name):
7486 Apply auto-save-file-name-transforms to visited file name
7487 before generating auto save file name.
7488 (auto-save-file-name-transforms): New variable.
7490 * files.el (backup-enable-predicate):
7491 Correctly test for a file under a temporary directory.
7493 2000-04-28 Gerd Moellmann <gerd@gnu.org>
7495 * subr.el (add-minor-mode): Rewritten.
7497 2000-04-28 Kenichi Handa <handa@etl.go.jp>
7499 * mail/sendmail.el (sendmail-send-it): Set
7500 buffer-file-coding-system to the selected coding system for MIME
7503 2000-04-27 Gerd Moellmann <gerd@gnu.org>
7505 * dired.el (dired-move-to-filename-regexp): Allow format where
7506 YYYY is followed by two spaces.
7508 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
7509 in the second character class of the regexp.
7511 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
7514 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
7517 * subr.el (add-minor-mode): Use `set' instead of `setq'.
7519 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
7522 2000-04-27 Sen Nagata <sen@eccosys.com>
7524 * emacs-lisp/crm.el (crm-completion-table): New variable.
7525 (crm-collection-fn, crm-test-completion)
7526 (completing-read-multiple): Use it.
7528 2000-04-27 Dave Love <fx@gnu.org>
7530 * help.el (locate-library): Use mapc.
7531 (help-manyarg-func-alist): Add call-process-region.
7533 2000-04-26 Gerd Moellmann <gerd@gnu.org>
7535 * subr.el (add-minor-mode): Make argument MAP optional.
7537 * desktop.el (desktop-save): Save list of minor modes.
7538 (desktop-create-buffer): Restore minor modes.
7539 (desktop-minor-mode-table): New user-option.
7541 * subr.el (add-minor-mode): New function.
7543 * image.el (find-image): New function.
7544 (defimage): Rewritten to find image at load time.
7546 * startup.el (normal-top-level-add-to-load-path): Handle
7547 case that the default directory is not in load-path.
7549 * help.el: Old patch from Stefan Monnier.
7550 (help-xref-on-pp): New function.
7551 (describe-variable): Use it to display xrefs in a symbol's value.
7553 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
7555 * cus-edit.el (custom-face): Fix parenthesis.
7557 2000-04-26 Kenichi Handa <handa@etl.go.jp>
7559 * mail/rmail.el (rmail-expunge): When there are no deleted
7560 messages, do nothing.
7562 2000-04-26 Dave Love <fx@gnu.org>
7564 * international/mule-cmds.el (locale-translation-file-name):
7566 (set-locale-environment): Set it here (at runtime).
7568 2000-04-25 Gerd Moellmann <gerd@gnu.org>
7570 * replace.el (perform-replace): Add parameters START and END. Use
7571 them instead of the check for a region in Transient Mark mode.
7572 (query-replace-read-args): Return two more list elements for the
7573 start and end of the region in Transient Mark mode.
7574 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7575 (map-query-replace-regexp, replace-string, replace-regexp): Add
7576 optional last arguments START and END and pass them to
7579 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
7580 form with additional arguments for perform-replace.
7582 * progmodes/etags.el (tags-query-replace): Add parameters START
7583 and END. Construct a form with additional arguments for
7586 * simple.el (shell-command): Set default directory for "*Shell
7587 Command Output" buffer.
7589 * language/european.el (iso-latin-4): Fix typo.
7591 * emacs-lisp/crm.el: New file.
7593 2000-04-24 Dave Love <fx@gnu.org>
7595 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
7596 (Custom-reset-saved, Custom-reset-standard)
7597 (custom-group-value-create, custom-group-set, custom-group-save)
7598 (custom-group-reset-current, custom-group-reset-saved)
7599 (custom-group-reset-standard): Use mapc.
7600 (custom-buffer-create-internal): Disable undo when creating items.
7602 (custom-face): Avoid redundant lambda.
7604 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7606 * startup.el (auto-save-list-file-prefix): Set default to
7607 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
7609 2000-04-24 Sam Steingold <sds@gnu.org>
7611 * time-stamp.el (time-stamp-string-preprocess): Always convert
7612 `field-result' to a string.
7614 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7616 * frame.el (scrolling): New group.
7617 (automatic-hscrolling): New user-option.
7619 * startup.el (command-line-x-option-alist): Add `-lsp' and
7622 2000-04-19 Dave Love <fx@gnu.org>
7624 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
7625 (cl-mapc): Rename from mapc. Fix the funcall.
7627 2000-04-19 Gerd Moellmann <gerd@gnu.org>
7629 * simple.el (clone-indirect-buffer-other-window): New command.
7630 (clone-indirect-buffer): Add optional arg NORECROD.
7631 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
7633 * help.el (resize-temp-buffer-window): Use count-screen-lines.
7635 * window.el (count-screen-lines): New function.
7636 (shrink-window-if-larger-than-buffer): Use count-screen-lines
7637 instead of window-buffer-height.
7639 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
7640 non-existing variable comint-input-sentinel.
7641 (inferior-lisp-args-to-list): Removed.
7642 (inferior-lisp): Use split-string instead of
7643 inferior-lisp-args-to-list.
7645 * hexl.el (hexl-insert-hex-string): New command.
7647 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
7650 2000-04-18 Gerd Moellmann <gerd@gnu.org>
7652 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
7653 at the start of an existing but empty folder.
7655 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7657 * ps-mule.el: Customization fix, doc fix.
7658 (ps-multibyte-buffer): Customization fix.
7660 2000-04-17 Richard M. Stallman <rms@gnu.org>
7662 * subr.el (read-passwd): Use read-char-exclusive.
7664 2000-04-17 Gerd Moellmann <gerd@gnu.org>
7666 * textmodes/texinfo.el (texinfo-insert-@email)
7667 (texinfo-insert-@emph, texinfo-insert-@quotation)
7668 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
7669 (texinfo-mode-map): Add key bindings for them.
7671 * files.el (basic-save-buffer-2): Use a template with `$'
7672 instead of `#' for VMS.
7674 * simple.el (clone-indirect-buffer): New function.
7676 2000-04-16 Stephen Eglen <stephen@gnu.org>
7678 * iswitchb.el (iswitchb-case): New function. If the user input
7679 contains any upper-case characters, the search is made
7682 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
7684 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
7686 (texinfo-font-lock-syntactic-keywords): New var.
7687 (texinfo-font-lock-keywords): Remove comment regexp.
7688 (texinfo-insert-block): New function.
7689 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
7690 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
7691 and font-lock-defaults. Use regexp-opt for outline-regexp.
7692 (texinfo-environments): New var.
7693 (texinfo-environment-regexp): Use regexp-opt and
7694 texinfo-environments.
7696 * textmodes/ispell.el (ispell-menu-map-needed): Check that
7697 ispell-process is bound since this might be eval'd before ispell
7699 (ispell-message): Use a tiny bit less magic and a bit more hard
7700 data to figure out what kind of sc-cite-regexp to use.
7702 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
7704 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
7705 (insert-cyclic-diary-entry): Unquote the lambda.
7707 * gud.el (gud-jdb-build-source-files-list): Fix typo.
7709 * files.el (backup-enable-predicate): Unquote the lambda.
7711 * cus-edit.el (custom-face, face): Unquote the lambda.
7713 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7715 * ps-print.el: Check for line-beginning-position definition.
7717 * ps-print.el: Fix counting lines in a region.
7718 (ps-print-version): New version number (5.1.5).
7719 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
7720 (ps-printing-region): Fun code fix.
7722 2000-04-15 Gerd Moellmann <gerd@gnu.org>
7724 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
7725 to file-directory-p.
7727 2000-04-14 Gerd Moellmann <gerd@gnu.org>
7729 * gud.el (gud-jdb-build-source-files-list): Check that directory
7730 exists before calling directory-files.
7732 2000-04-13 Dave Love <fx@gnu.org>
7734 * emacs-lisp/trace.el: Change maintainer. Use new backquote
7737 * emacs-lisp/cl-specs.el: Remove when, unless.
7739 * emacs-lisp/cl-extra.el: Don't quote keywords.
7740 (cl-old-mapc): New variable.
7742 (cl-map-intervals): Use with-current-buffer. Don't check for
7743 next-property-change.
7744 (cl-map-overlays): Use with-current-buffer.
7746 (copy-tree, remprop): Define unconditionally.
7748 * emacs-lisp/cl-compat.el (keywordp): Remove.
7750 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
7752 (edebug-spec): Enable keywordp.
7754 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
7757 * cus-start.el: Use keywordp.
7759 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7761 * diary-lib.el (include-other-diary-files): Fix the fix of
7762 2000-02-18 by doing a save-excursion.
7764 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7766 * ps-print.el: Customization fix, doc fix.
7767 (ps-print-version): New version number (5.1.4).
7768 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
7769 (ps-print-preprint): Adjust code.
7770 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
7771 (ps-print-prologue-header, ps-print-control-characters)
7772 (ps-spool-config): Customization fix.
7774 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
7776 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
7777 converted to the new menu-item format, names silightly changed,
7780 Support for spelling without async subprocesses:
7782 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
7783 (ispell-session-buffer): New variables.
7784 (ispell-start-process, ispell-process-status,
7785 ispell-accept-output, ispell-send-string): New functions, for
7786 Ispell invocation when async subprocesses aren't supported.
7787 (ispell-word, ispell-pdict-save, ispell-command-loop,
7788 ispell-process-line, ispell-buffer-local-parsing): Replace calls
7789 to process-send-string with calls to ispell-send-string, and
7790 accept-process-output with ispell-accept-output.
7791 (ispell-init-process): Call ispell-process-status instead of
7792 process-status with.
7793 (ispell-init-process): Call ispell-start-process. Call
7794 ispell-accept-output and ispell-send-string. Don't call
7795 process-kill-without-query and kill-process if they are unbound.
7796 (ispell-async-processp): New function.
7798 2000-04-12 Dave Love <fx@gnu.org>
7800 * info.el: Add debug-ignored-errors.
7801 (Info-mode-menu): Add some items.
7802 (Info-directory): Add autoload cookie.
7804 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
7805 Modify `truncate-lines'. Make `describe-language-environment'
7806 always visible and add help. Modify `describe-key' help. Invoke
7807 Info-directory from `info'. New entry `emacs-manual'.
7809 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7811 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
7812 propertized-buffer-identification.
7813 (ebrowse-update-member-buffer-mode-line): Likewise.
7814 (ebrowse--mode-strings): Removed.
7815 (ebrowse--mode-line-props): Removed.
7817 * files.el (auto-mode-alist): Add `EBROWSE'.
7819 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
7820 space before testing for end of buffer.
7821 (ebrowse-load): Removed.
7822 (ebrowse-revert-tree-buffer-from-file): Rewritten.
7823 (ebrowse-create-tree-buffer): Rewritten.
7824 (ebrowse-tree-mode): Read tree from buffer.
7826 * progmodes/ebrowse-ffh.el: Removed.
7828 2000-04-10 Kenichi Handa <handa@etl.go.jp>
7830 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
7832 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7834 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
7837 2000-04-09 Dave Love <fx@gnu.org>
7839 * files.el (backup-enable-predicate): Use
7840 temporary-file-directory, small-temporary-file-directory.
7841 (make-backup-file-name-function, backup-directory-alist): New
7843 (make-backup-file-name-1): New function.
7844 (make-backup-file-name): Use it.
7845 (find-backup-file-name): Likewise. Use format for clarity, not
7847 (file-newest-backup): Use make-backup-file-name.
7849 2000-04-09 Gerd Moellmann <gerd@gnu.org>
7851 * progmodes/ebrowse-ffh.el: New file.
7853 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
7855 (ebrowse-load): Add autoload.
7857 * finder.el (finder-commentary): Add autoload cookie.
7859 * mail/rfc2368.el: Correct author's email address.
7861 * progmodes/ebrowse.el: New file.
7863 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
7865 (easy-menu-do-add-item): Ditto.
7866 (easy-menu-define): Extend doc string.
7868 * jit-lock.el (with-buffer-unmodified): Use
7869 restore-buffer-modified-p.
7870 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
7871 (jit-lock-function, jit-lock-stealth-fontify): Don't use
7872 with-buffer-unmodified.
7874 2000-04-08 Dave Love <fx@gnu.org>
7876 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
7879 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
7881 * viper-util.el (viper-put-on-search-overlay): New subroutine.
7882 (viper-flash-search-pattern): No operation when using Emacs
7883 doesn't support face.
7884 Use `viper-put-on-search-overlay'.
7886 2000-04-04 Gerd Moellmann <gerd@gnu.org>
7888 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
7891 * progmodes/make-mode.el: Some doc fixes.
7892 (makefile-mode-abbrev-table): New variable.
7893 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
7894 (makefile-font-lock-keywords): Fontify includes and conditionals.
7895 (toplevel): Require `dabbrev' and `add-log' when compiling.
7897 * replace.el (perform-replace): Don't move forward one char
7898 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
7899 to do that because it leaves point 1 position after the last
7900 replacement, after everything has been replaced.
7902 * jit-lock.el (with-buffer-unmodified): New macro.
7903 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
7905 (jit-lock-function-1): Extracted from jit-lock-function; not
7906 preserving buffer's modified state.
7907 (jit-lock-function, jit-lock-stealth-fontify): Call
7908 jit-lock-function-1.
7910 * mail/rfc2368.el: Remove supernumerary copyright line.
7912 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
7914 * glasses.el: Provide facilities for inserting space before left
7915 parentheses and uncapitalization of identifiers.
7916 (glasses-mode): Try to remove old overlays in all cases.
7918 2000-04-03 Gerd Moellmann <gerd@gnu.org>
7920 * progmodes/compile.el (compile-internal): Display the compilation
7921 buffer in a different frame, if it's already displayed there.
7923 * mail/rfc2368.el: New file.
7925 * simple.el (sendmail-user-agent-compose): Recognize a `body'
7926 header and insert its value as mail body.
7928 * subr.el (member-ignore-case): New function.
7930 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
7931 (dabbrev--find-expansion): Ignore buffers matching a regexp
7932 from dabbrev-ignored-regexps.
7934 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
7935 to extensions handled by gzip.
7937 2000-04-03 Richard M. Stallman <rms@gnu.org>
7939 * files.el (insert-directory): List the total free space
7940 along with the used space.
7942 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
7943 line is followed by one that matches CITATION-REGEXP, end the
7946 2000-04-03 Markus Rost <rost@delysid.gnu.org>
7948 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
7949 (rmail-make-basic-summary-line): Use that option.
7951 2000-04-03 Kenichi Handa <handa@etl.go.jp>
7953 * international/mule-cmds.el (encoded-string-description):
7954 Rewritten. Try pretty description for ISO 2022 escape sequences
7955 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
7956 for hexadecimal format.
7958 2000-04-01 Dave Love <fx@gnu.org>
7960 * cpp.el: Change customization group to `c' from `C'.
7962 * vcursor.el (vcursor-move): Use display-color-p.
7964 * international/mule-util.el: Provide mule-utils.
7965 (string-to-sequence): Simplify and speed up.
7967 * international/mule.el (make-coding-system): Purecopy doc-string.
7969 * international/mule-cmds.el: Various menu changes.
7970 (describe-specified-language-support): Handle `Default'.
7971 (set-language-info): Purecopy `info'.
7973 2000-03-31 Andrew Innes <andrewi@gnu.org>
7975 * vc.el (vc-backend-diff): Return the correct status if we had to
7976 retry the rcsdiff command without the --brief option.
7978 2000-03-31 Dave Love <fx@gnu.org>
7980 * help.el (help-manyarg-func-alist): Correct several omissions.
7982 * add-log.el: Don't require cl, fortran.
7983 (add-log-current-defun-function): Doc fix.
7984 (change-log-version-number-regexp-list): Remove SCCS part. Doc
7986 (change-log-version-rcs): Function deleted.
7987 (change-log-version-number-search): Doc fix. Use
7988 vc-workfile-version. Avoid CL dolist.
7989 (add-change-log-entry): Just call add-log-current-defun to get
7990 defun. Simplify somewhat.
7991 (change-log-get-method-definition-1): Likewise.
7992 (add-log-current-defun): Return nil if calling
7993 add-log-current-defun-function does so. Move Fortran stuff to
7994 fortran.el. Return string without properties.
7996 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
7997 and :alpha: char classes.
7999 * mail/supercite.el: Defvar curline when compiling.
8000 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
8001 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
8002 rather than a-zA-Z0-9 to allow non-ASCII characters.
8004 2000-03-31 Gerd Moellmann <gerd@gnu.org>
8006 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
8008 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8011 * lpr.el (print-region-1): Use -d to specify printer name for
8012 systems `usg-unix-v*, `dgux', `hpux', `irix'.
8014 2000-03-31 Dave Love <fx@gnu.org>
8016 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
8017 for function definition in symbol's function value slot first
8018 instead of first consulting byte-compile-function-environment.
8020 2000-03-31 Kenichi Handa <handa@etl.go.jp>
8022 * language/european.el ("Polish"): New language environment.
8023 (setup-polish-environment): New function.
8025 2000-03-30 Gerd Moellmann <gerd@gnu.org>
8027 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8030 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
8031 trying to `load' the symbol of an autoload instead of the file
8032 recorded in the autoload. Fix error messages.
8034 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8036 * ps-print.el: PostScript programming fix for ghostview, doc fix.
8037 (ps-print-version): New version number (5.1.3).
8038 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
8039 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
8040 (ps-generate-postscript-with-faces): Code fix.
8041 (ps-color-values): XEmacs compatibility.
8042 (ps-print-background-image, ps-print-background-text, ps-printer-name)
8043 (ps-default-fg, ps-default-bg): Adjust customization.
8044 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
8045 (ps-color-scale): Renaming old ps-color-value fun.
8046 (ps-print-headers): Replace ps-print-header group to avoid conflict
8047 with ps-print-header variable.
8048 (ps-print-miscellany): New group.
8049 (ps-format-color, ps-rgb-color): New funs.
8050 (ps-default-foreground): New var.
8051 (ps-printer-name-option): New const.
8053 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
8056 (network-connection-host, network-connection-service): New variables
8057 (network-connection-mode): New mode, derived from comint-mode
8058 (network-connection-mode-setup): New function, saves host and
8059 service information in local variables.
8062 (locate-word-at-point): Added this function
8063 (locate): Default to using locate-word-at-point as input
8066 2000-03-29 Dave Love <fx@gnu.org>
8068 * calendar/appt.el: Doc fixes.
8069 (appt-check): Convert min-to-app to a string before passing to
8070 appt-disp-window-function or concat.
8071 (appt-delete-window): Remove test for frame-root-window.
8072 (appt-select-lowest-window, appt-convert-time): Simplify.
8074 * emacs-lisp/bytecomp.el: Doc fixes.
8075 (byte-compile-file-form-autoload): Update
8076 byte-compile-function-environment.
8078 2000-03-29 Andreas Schwab <schwab@suse.de>
8080 * emacs-lisp/autoload.el: Also print defsubst doc string
8083 * dired.el (dired-insert-directory): If dired-free-space-program
8084 failed just delete its output.
8086 2000-03-29 Dave Love <fx@gnu.org>
8088 * international/iso-cvt.el: Move provide to end. Doc fixes.
8089 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
8090 (iso-iso2sgml, iso-sgml2iso): New functions.
8091 (iso-cvt-define-menu): Fix some entries and use backquote for
8094 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
8096 2000-03-28 Gerd Moellmann <gerd@gnu.org>
8098 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
8099 ISO-DATE. If non-nil, return date in ISO 8601 format.
8101 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
8103 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
8104 if it ever becomes used.
8105 (log-edit-mode-hook): Default to vc-log-mode-hook.
8106 (log-edit-mode): Fix the docstring.
8108 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
8111 2000-03-26 Dave Love <fx@gnu.org>
8113 * net/browse-url.el (browse-url): Re-fix case of
8114 browse-url-browser-function being an alist.
8115 (browse-url): Add :link to defgroup.
8117 * files.el: Doc fixes.
8118 (file-truename): Include `[' in wildcard characters.
8119 (automount-dir-prefix): Customize.
8120 (find-file-wildcards): Add :version.
8121 (find-file-noselect): Simplify a mapcar call.
8123 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
8124 compatible with inf-lisp version.
8125 (eval-defun-1): Fix custom-declare-variable case.
8127 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
8129 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
8131 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8133 * Makefile (COMPILE_FIRST): New macro.
8134 (compile-files): Compile files from COMPILE_FIRST first.
8136 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
8139 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
8140 matching open parenthesis in column 0 to defun-prompt-regexp
8141 only if open-paren-in-column-0-is-defun-start is set.
8143 * sun-curs.el: Require CL at compile-time only.
8145 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
8146 instead of copy-list which is a function from CL.
8147 (msb--choose-menu, msb--mode-menu-cond)
8148 (msb--create-buffer-menu-2): Use dolist instead of mapc.
8149 (msb--init-file-alist): Use mapcar instead of mapcan.
8150 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
8151 `(' in column 0 in doc string.
8152 (msb--add-separators): Use mapcar instead of mapcan.
8154 * cus-dep.el: Require CL at compile-time only.
8156 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
8158 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
8159 (byte-compile-warnings): New warning `noruntime'.
8160 (byte-compile-constants, byte-compile-variables): Fix docstring.
8161 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
8162 execute `eval-whenc-compile's body.
8163 (byte-compile-unresolved-functions): Fix docstring.
8164 (byte-compile-eval): New function.
8165 (byte-compile-callargs-warn): Check if the function will be available
8166 at runtime (via property `byte-compile-noruntime').
8167 (byte-compile-print-syms): New function.
8168 (byte-compile-warn-about-unresolved-functions): Also warn about
8169 `noruntime' functions (and use `byte-compile-print-syms').
8170 (byte-compile-file): Capitalize the message.
8172 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8174 * mail/rmail.el (rmail-confirm-expunge): New user-option.
8175 (rmail-expunge): Ask for confirmation depending on the setting
8176 of rmail-confirm-expunge.
8178 2000-03-23 Gerd Moellmann <gerd@gnu.org>
8180 * Makefile (bootstrap-clean): If $(emacs) exists, build
8181 loaddefs.el first. A loaddefs.el that's not up-to-date might
8182 cause a bootstrap failure because things don't autoload as
8185 2000-03-23 Dave Love <fx@gnu.org>
8187 * net/browse-url.el: Restore previous use of
8188 browse-url-maybe-new-window.
8190 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8192 * ps-print.el: Skip banner page fix.
8193 (ps-print-version): New version number (5.1.2).
8194 (ps-begin-file, ps-end-file, ps-generate): Code fix.
8196 2000-03-23 Dave Pearson <davep@davep.org>
8198 * net/quickurl.el Changed the type of parameter passed to the
8199 function defined by `quickurl-format-function'. Before only the
8200 text of the URL was passed. Now the whole URL structure is passed
8201 and the function is responsible for extracting the parts it
8202 requires. Changed the default of `quickurl-format-function'
8204 (quickurl-insert): Changed the `funcall' of
8205 `quickurl-format-function' to match the above change.
8206 (quickurl-list-insert): Changed the `url' case so that it makes
8207 use of `quickurl-format-function', previous to this the format was
8210 2000-03-22 Gerd Moellmann <gerd@gnu.org>
8212 * startup.el: Change some spellings for the X Window System.
8214 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
8216 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
8217 up the code and the regexp and make sure the cursor is temporarily
8218 moved to the suspicious line while querying the user.
8220 2000-03-22 Jason Rumney <jasonr@gnu.org>
8222 * w32-fns.el (w32-charset-info-alist): Initialize.
8224 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8226 * ps-print.el: N-up last page fix.
8227 (ps-print-version): New version number (5.1.1).
8228 (ps-end-file, ps-end-job, ps-generate): Code fix.
8230 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8232 * files.el (find-file-run-dired): Update docstring.
8233 (find-directory-functions): New hook.
8234 (find-file-noselect): Run find-directory-functions rather than
8235 calling dired directly.
8237 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
8239 * pcvs.el: Add a minimal leading commentary.
8240 (cvs-make-cvs-buffer): Change the header part by removing the startup
8241 message and adding a `Module' entry. Also replace the FOOTER and
8242 HEADER special fileinfos with the new support in ewoc for updating
8243 its own footer and header.
8244 (cvs-update-header): Update to use the header/footer of the ewoc.
8245 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
8246 (cvs-is-within-p): New function.
8247 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
8248 to only examine some subset of the buffers.
8250 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
8251 `format' instead of our own ad-hoc functions.
8252 Remove HEADER and FOOTER cases, now handled in the EWOC.
8253 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
8255 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
8256 output to avoid scaring the user.
8257 (cvs-parse-table): Catch message for non-up-to-date commits.
8259 * pcvs-defs.el (cvs-startup-message): Remove.
8260 (cvs-global-menu): New autoloaded menu.
8262 * pcvs-util.el (cvs-string-fill): Remove.
8264 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
8265 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
8266 PP part of it and also make it work for footers and headers.
8267 (ewoc-create): Drop POS and BUFFER arguments.
8268 Use the DLL's dummy node to store the end-of-footer position.
8269 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
8270 (ewoc-refresh): Remove unused `header' variable.
8271 (ewoc-(get|set)-hf): New functions.
8273 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
8274 log-view-*-(message|file) and use easy-mmode-define-navigation.
8275 (log-view-message-re): Match SCCS format as well.
8276 And match the revision line rather than the dashed separator line.
8277 (log-view-mode): Use the new define-derived-mode.
8278 (log-view-current-tag): Fill in with an actual implementation.
8280 * cvs-status.el (cvs-status-(prev|next)): Rename from
8281 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
8282 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
8283 to let the output "breathe" a little more (more readable).
8284 (cvs-status-mode): Use the new define-derived-mode.
8286 * smerge-mode.el (smerge-auto-leave): New function and variable.
8287 (smerge-basic-map): Rename from smerge-basic-keymap.
8288 Change the bindings for smerge-diff-*.
8289 (smerge-*-map): Use easy-mmode-defmap.
8290 (smerge-(next|prev)): Use easy-mmode-define-navigation.
8291 (smerge-keep-*): Use smerge-auto-leave.
8293 2000-03-21 Jason Rumney <jasonr@gnu.org>
8295 * cus-edit.el (custom-button-face): Use 3D look for w32.
8296 (custom-button-pressed-face): Likewise.
8298 2000-03-21 Gerd Moellmann <gerd@gnu.org>
8300 * progmodes/etags.el (tags-case-fold-search): New user-option.
8301 (tags-loop-eval): New function. Bind case-fold-search around eval
8302 depending on the value of tags-case-fold-search.
8303 (tags-loop-continue): Use tags-loop-eval.
8304 (find-tag-in-order): Bind case-fold-search depending on the value
8305 of tags-case-fold-search.
8307 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8309 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
8310 (diff-end-of-hunk): Return the end position for use in
8311 `easy-mmode-define-navigation'.
8312 (diff-recenter): Remove.
8313 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
8314 of `easy-mmode-define-navigation'.
8315 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
8316 previous renaming) and fix to use new names.
8317 (diff-merge-strings): Use \n as separator: simpler, faster.
8318 (diff-mode): Use `define-derived-mode'.
8320 * derived.el (define-derived-mode): Don't autoload anymore.
8321 Prefer the macro-only version provided by easy-mmode.el.
8323 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
8324 `easy-mmode-define-derived-mode'.
8325 Use `combine-run-hooks'.
8326 (easy-mmode-define-navigation): New macro.
8328 * subr.el (combine-run-hooks): New function.
8330 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
8332 * term/x-win.el: Fontsets related initialization is simplified.
8334 * international/mule-diag.el (describe-font): Don't refer to
8335 global-fontset-alist, instead call font-list.
8336 (describe-fontset, list-fontsets, mule-diag): Likewise.
8337 (print-fontset): Adjusted for the change of fontset
8340 * international/fontset.el (x-charset-registries): Variable
8341 removed, instead the corresponding data is stored in the default
8343 (register-alternate-fontnames): Function removed.
8344 (resolved-ascii-font): Variable removed.
8345 (x-compose-font-name): Ignore the second argument REDOCE.
8346 (x-complement-fontset-spec): Complement only an ASCII font and
8347 element for those charsets than can use that ASCII font.
8348 (generate-fontset-menu): Don't refer to global-fontset-alist,
8349 instead call fontset-list.
8350 (uninstantiated-fontset-alist): Variable removed.
8351 (x-style-funcs-alist): Likewise.
8352 (fontset-default-styles): Likewise.
8353 (x-modify-font-name): Function removed.
8354 (create-fontset-from-fontset-spec): Ignore the argument
8356 (create-fontset-from-ascii-font): Docsting adjusted for the above
8358 (instantiate-fontset, resolve-fontset-name): Functions removed.
8359 (fontset-list): Now implemented by C code.
8361 * faces.el (read-face-font): Fix TABLE arg to completing-read.
8362 (describe-face): Include `font' attribute in the description.
8364 2000-03-21 Kenichi Handa <handa@etl.go.jp>
8366 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
8368 2000-03-20 Gerd Moellmann <gerd@gnu.org>
8370 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
8371 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
8372 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
8374 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
8375 about behavior of set-buffer-modified-p wrt redisplay.
8377 2000-03-19 Richard M. Stallman <rms@gnu.org>
8379 * view.el (view-mode-disable): Kill local binding of view-read-only.
8381 2000-03-18 Gerd Moellmann <gerd@gnu.org>
8383 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
8384 is a string, convert it to a syntax cell using string-to-syntax.
8386 * simple.el (syntax-code-table, syntax-flag-table): New variables.
8387 (string-to-syntax): New function.
8389 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
8390 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
8391 try to use passive ftp mode.
8393 2000-03-17 Gerd Moellmann <gerd@gnu.org>
8395 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
8397 * simple.el (append-to-buffer): Update point of windows after
8400 * abbrev.el (inverse-add-abbrev): Identify word by first moving
8401 forward then moving backward. Reindent.
8403 * frame.el (other-frame): Call x-focus-frame only if
8404 focus-follows-mouse is off.
8406 2000-03-17 Dave Love <fx@gnu.org>
8408 * pcvs-util.el (cvs-strings->string): Rename
8409 replace-regexps-in-string.
8411 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
8413 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
8414 regexp for labels cannot span several lines.
8416 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
8417 `(setq :<key> ':<key>)' to the macro expansion.
8419 2000-03-16 Dave Love <fx@gnu.org>
8421 * progmodes/f90.el (f90): Put custom group under `languages', not
8423 (f90-mode-hook): Customize.
8424 (f90-mode): Set add-log-current-defun-function.
8425 (f90-current-defun): New function.
8427 2000-03-16 Gerd Moellmann <gerd@gnu.org>
8429 * cus-edit.el (custom-variable-tag-face): Handle case that
8430 default face's height is not a number.
8431 (custom-face-tag-face, custom-group-tag-face-1)
8432 (custom-group-tag-face): Ditto.
8433 (custom-group-tag-face-1): Add :group.
8435 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
8437 2000-03-15 Gerd Moellmann <gerd@gnu.org>
8439 * pcvs-defs.el (toplevel): Remove autoload cookie for form
8442 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8444 * ps-print.el: PostScript user-defined prologue, PostScript error
8446 (ps-print-version): New version number (5.1).
8447 (ps-user-defined-prologue, ps-error-handler-message)
8448 (ps-print-prologue-0, ps-error-handler-alist): New vars.
8449 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
8450 (ps-insert-string): New function.
8452 2000-03-15 Kenichi Handa <handa@etl.go.jp>
8454 * international/ccl.el (ccl-compile-expression): Don't generate
8455 invalid self-assignment code.
8457 2000-03-14 Dave Love <fx@gnu.org>
8459 * subr.el (replace-regexp-in-string): Renamed from
8460 replace-regexps-in-string. Doc fix.
8462 2000-03-12 Dave Love <fx@gnu.org>
8464 * cus-edit.el: Doc fixes.
8465 (customize-set-variable, customize-save-variable): Rename args for
8467 (custom-variable-tag-face, custom-face-tag-face)
8468 (custom-group-tag-face-1, custom-group-tag-face): Modify from
8469 style which user identify as hyperlink.
8470 (hook): Don't add undefined functions to the hook.
8471 (debug-ignored-errors): Transfer message from bindings.el.
8473 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8475 * recentf.el (recentf-keep-non-readable-files-p): Remove
8476 double/nested definition.
8478 2000-03-12 Dave Love <fx@gnu.org>
8480 * facemenu.el (facemenu-get-face): Use display-color-p.
8481 * enriched.el (enriched-decode-foreground): Likewise.
8482 (enriched-decode-background): Likewise.
8483 * isearch.el (isearch-highlight): Likewise.
8484 * info-look.el (info-lookup): Likewise.
8485 * simple.el (completion-setup-function): Likewise.
8487 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
8490 * bindings.el (mode-line-format): Fix line-number and
8491 column-number items. Add help-echo for the background.
8492 (mode-line-mule-info): Modify help-echo.
8494 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
8497 * files.el (load-file): Allow completion to .elc.
8499 * man.el: Doc fixes.
8500 (Man-init-defvars): Use display-color-p to set fontification.
8502 * play/hanoi.el (hanoi-internal): Don't use oddp.
8504 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8506 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
8508 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
8510 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
8512 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
8515 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
8517 * font-lock.el (font-lock-keywords): Fix the doc now that
8518 regexp-opt-depth is unnecessary.
8519 (save-buffer-state): Set an edebug spec.
8520 (font-lock-fontify-anchored-keywords): Properly handle the case when
8521 the matcher goes past the limit.
8523 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
8524 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
8526 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
8527 dll.el and cookie.el (from Elib) with heavy renaming and other
8530 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
8531 Autoload the functions used.
8532 (easy-mmode-define-syntax): Fix CL typo.
8533 (easy-mmode-define-derived-mode): Improve the docstring generation.
8535 2000-03-10 Gerd Moellmann <gerd@gnu.org>
8537 * textmodes/texinfo.el (texinfo-version): Variable and function
8540 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
8542 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
8543 allow more flexibility.
8544 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
8546 (easy-mmode-defmap, easy-mmode-defsyntax)
8547 (easy-mmode-define-derived-mode): New macros.
8549 2000-03-09 Didier Verna <didier@xemacs.org>
8551 * rect.el (replace-rectangle): New function.
8553 2000-03-09 Dave Love <fx@gnu.org>
8555 * progmodes/fortran.el (fortran-comment-line-start): Define as
8557 (fortran-comment-line-start-skip): Don't match cpp stuff.
8558 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
8559 (fortran-mode-map): Remove over-eager custom-menu-create for now.
8560 (fortran-mode): Don't set fortran-comment-line-start-skip,
8561 fortran-comment-line-start here. Set comment-start,
8562 add-log-current-defun.
8563 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
8564 (fortran-current-defun): New function.
8566 2000-03-09 Gerd Moellmann <gerd@gnu.org>
8568 * emacs-lisp/re-builder.el: New file.
8570 * mouse.el (mouse-drag-region): Don't run up-event handler
8571 if hscroll has changed.
8573 * octave-mod.el (octave-font-lock-keywords): To font-lock the
8574 builtin operators, use `font-lock-builtin-face' for Emacs and
8575 `font-lock-preprocessor-face' otherwise.
8577 * font-lock.el (lisp-font-lock-keywords-1): Highlight
8578 `(defun (setf foo)' differently.
8580 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
8582 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
8583 (regexp-opt): Update comment and adapt the code the new meaning of
8584 the `paren' argument of regex-opt-group for shy-groups.
8585 (regexp-opt-depth): Handle shy groups as well as backslashed
8587 (regexp-opt-group): Turn the leading comment into a docstring.
8588 Allow `paren' to be a string (the string to use to open a group).
8589 Remove open-presuf and close-presuf. Instead of checking for `all
8590 one-char' and then later on check for `several one-char', handle
8591 both cases close together. Also apply a more generic algorithm
8592 for suffixes (the mirror image of the algorithm used for
8593 prefixes). Use shy-groups. Use nreverse rather than reverse.
8594 (regexp-opt-try-suffix): Removed.
8596 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
8597 from comint-mode-map, so we can just inherit from it. Also, move
8598 the initialization into the `defvar' since there's no docstring
8599 anyway and it's fairly short.
8600 (inferior-scheme-mode): Define it as derived-mode: the code is
8601 shorter and this way we inherit from comint-mode-map rather than
8604 * subr.el (replace-regexps-in-string): Properly handle the case
8605 where we match an empty string.
8607 * comint.el (comint-exec-1): Add the current-dir to the exec-path
8608 when the command has a directory component (such as "./testml").
8609 Also fix a typo in the comment.
8611 2000-03-08 Gerd Moellmann <gerd@gnu.org>
8613 * Makefile (compile-files): Compile files one by one because
8614 that's the only way to ensure a clean compilation environment for
8615 each individual file.
8617 * frame.el (other-frame): Call x-focus-frame.
8619 2000-03-07 Dave Love <fx@gnu.org>
8621 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
8622 :require to defcustom.
8624 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
8627 * files.el (auto-mode-alist): Add configure.in.
8629 * progmodes/autoconf.el: New file.
8631 2000-03-07 Gerd Moellmann <gerd@gnu.org>
8633 * mail/mh-e.el: Change maintainer to `none'.
8635 * recentf.el (recentf-keep-non-readable-files-p): Quote args
8636 to remove-hook and add-hook.
8638 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8640 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
8642 (mail-send): Test mail-send-nonascii also for the new `mime' value.
8643 (sendmail-send-it): Conditionally add MIME headers specifying the
8646 2000-03-07 Dave Love <fx@gnu.org>
8648 * winner.el: Fix keywords, autoload cookies. Split
8649 eval-when-compile form to avoid compilation failure.
8651 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
8653 * international/mule.el: Modify comment about coding system
8654 property `coding-category'.
8655 (make-coding-system): New argument EOL-TYPE. Pay attention to
8656 coding-category property of PROPERTIES.
8658 * international/mule-conf.el (coding-category-utf-8,
8659 coding-category-utf-16-be, coding-category-utf-16-le): New coding
8660 categories. Include them in the argument for set-coding-priority.
8662 * international/mule-cmds.el (reset-language-environment): Include
8663 coding-category-utf-8, coding-category-utf-16-be, and
8664 coding-category-utf-16-le in the argument for set-coding-priority.
8665 (reset-language-environment): Initialize coding-category-utf-8,
8666 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
8668 2000-03-06 Karl Fogel <kfogel@red-bean.com>
8670 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
8671 code abstracted out of `bookmark-jump-noselect'. Now tries info
8672 extensions as well as compression extensions.
8673 (bookmark-jump-noselect): Use above new func.
8675 2000-03-03 Gerd Moellmann <gerd@gnu.org>
8677 * strokes.el: Change maintainer's mail address.
8679 2000-03-03 Kenichi Handa <handa@etl.go.jp>
8681 * international/mule-diag.el (list-character-sets): Make help-echo
8682 string by substitute-command-keys.
8683 (list-character-sets): Likewise.
8684 (sort-listed-character-sets): Call help-setup-xref.
8686 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8688 * time.el (display-time-mail-file): Add `none' to the list of
8691 2000-03-01 Dave Love <fx@gnu.org>
8693 * help.el (help-xref-go-back): Don't try to set position.
8695 * international/mule-diag.el (list-character-sets): Call
8696 help-setup-xref. Add help-echo to xrefs.
8697 (list-character-sets-1): Add help-echo to xrefs.
8699 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8701 * frame.el (blink-cursor-mode): Switch cursor on when turning
8704 * add-log.el (add-log-current-defun): Add support for
8707 * mail/rmail.el (rmail-quit-hook): New variable.
8709 2000-03-01 Dave Love <fx@gnu.org>
8711 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
8713 * help.el (help-xref-button): Add help-echo arg.
8714 (describe-function-1, describe-variable, help-make-xrefs): Use it.
8716 * faces.el (list-faces-display): Supply help-echo with
8719 * facemenu.el (list-text-properties-at): Set help-xref-stack to
8722 2000-03-01 Gerd Moellmann <gerd@gnu.org>
8724 * image.el (defimage): Look for image files in load-path.
8726 * frame.el (busy-cursor-delay-seconds): Change type to
8729 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8731 * recentf.el (recentf): Added version tag to the defgroup of
8734 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8736 * recentf.el (recentf-cleanup): Changed to remove excluded file
8738 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
8739 action to select/unselect a file.
8740 (recentf-edit-list): Code cleanup and improvement.
8741 (recentf-open-more-files-action): `recentf-open-more-files' button
8742 widget action to open a file.
8743 (recentf-open-more-files): No more use standard completion but
8745 (recentf-more-collection): Deleted.
8746 (recentf-more-history): Deleted.
8747 (recentf-setup-more-completion): Deleted.
8749 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8751 * recentf.el (recentf-mode): No more needs that Emacs is running
8752 under a window-system.
8754 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8756 * recentf.el (recentf-edit-list): New command to edit the recent
8757 list which allow the user to remove files.
8758 (recentf-edit-selected-items): New global variable, used by
8759 `recentf-edit-list' to hold the list of files to be removed from
8761 (recentf-make-menu-items): Updated to display a "Edit list..."
8762 menu item. Minor code cleanup.
8764 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8766 * recentf.el (recentf-open-more-files): New command to open files
8767 that are not displayed in the menu.
8768 (recentf-more-collection): New global variable holding the set of
8769 permissible completions used by `recentf-open-more-files'.
8770 (recentf-more-history): New global variable holding the history list
8771 used by `recentf-open-more-files' completion.
8772 (recentf-setup-more-completion): New function to setup completion for
8773 `recentf-open-more-files'.
8774 (recentf-make-menu-items): Updated to display a "More..." menu item.
8776 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8778 * recentf.el (recentf-menu-action): Doc fixed.
8780 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8782 * recentf.el (recentf-menu-filter): Doc updated.
8783 (recentf-update-menu-hook): Allow menu filters to force menu update.
8784 (recentf-make-menu-items): New menu filter handling.
8785 (recentf-make-menu-item): New helper function.
8786 (recentf-menu-elements): New menu handling function.
8787 (recentf-sort-ascending): Updated to new menu filter handling.
8788 (recentf-sort-descending): Updated to new menu filter handling.
8789 (recentf-sort-basenames-ascending): New menu filter function.
8790 (recentf-sort-basenames-descending): New menu filter function.
8791 (recentf-show-basenames): New menu filter function.
8792 (recentf-show-basenames-ascending): New menu filter function.
8793 (recentf-show-basenames-descending): New menu filter function.
8795 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8797 * diary-lib.el (list-diary-entries): Don't try to go forward at
8798 the end of the buffer.
8800 2000-02-29 Kenichi Handa <handa@etl.go.jp>
8802 * international/mule-diag.el (list-character-sets): Completely
8804 (sort-listed-character-sets): New function.
8805 (list-character-sets-1): Completely rewritten.
8806 (list-character-sets-2): New function.
8807 (non-iso-charset-alist): New variable.
8808 (decode-codepage-char): New function.
8809 (charset-history): New variable.
8810 (read-charset) (list-block-of-chars)
8811 (list-iso-charset-chars)
8812 (list-non-iso-charset-chars)
8813 (list-charset-chars): New functions.
8814 (mule-diag): Call list-character-sets-2, not
8815 list-character-sets-2.
8816 (dump-charsets): Likewise.
8818 2000-02-29 Gerd Moellmann <gerd@gnu.org>
8820 * dired-x.el (dired-filename-at-point): Add `@' to valid
8821 file name characters.
8822 (dired-filename-at-point): Handle ange-ftp file names.
8824 * frame.el (frame-notice-user-settings): Use assq-delete-all
8825 instead of assoc-delete-all.
8826 (frame-notice-user-settings): Ditto.
8828 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
8831 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
8833 * calculator.el (calculator-use-menu): New option.
8834 (calculator-initial-bindings): Changed some bindings to work as
8836 (calculator-forced-input): Removed.
8837 (calculator-restart-other-mode): New variable.
8838 (calculator-mode-map): Set up menu.
8840 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
8842 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
8845 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
8847 * viper-cmd.el (viper-envelop-ESC-key): added the option to
8848 translate all ESC key sequences.
8849 (viper-goto-mark-subr): restore markers for files for which
8851 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
8852 * viper-util.el (viper-set-replace-overlay-glyphs,
8853 viper-set-replace-overlay): always check if the replacement
8855 * viper.el (viper-vi-state-mode-list): added major modes.
8856 * ediff-wind.el: minor comment changes.
8857 * ediff.el: copyright notice date fix.
8859 2000-02-27 Jason Rumney <jasonr@gnu.org>
8861 * faces.el (face-font-family-alternatives): Add arial to helv.
8862 (mode-line, header-line, tool-bar): Same default as x for w32.
8863 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
8864 face-font-family-alternatives from working.
8865 * term/w32-win.el (mouse-set-font): Do not build fontset from
8868 2000-02-25 Sam Steingold <sds@goems.com>
8870 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
8873 2000-02-25 Richard M. Stallman <rms@gnu.org>
8875 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
8877 2000-02-25 Gerd Moellmann <gerd@gnu.org>
8879 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
8882 * frame.el (busy-cursor-delay-seconds): New option.
8884 2000-02-24 Gerd Moellmann <gerd@gnu.org>
8886 * frame.el (show-cursor-in-non-selected-windows): New option.
8888 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8890 * diary-lib.el (include-other-diary-files): Undo the selective
8891 display in any included file and don't kill it.
8893 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
8895 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
8896 bar. Menu items converted to (menu-item format, help strings
8898 [downcase, upcase]: Don't enable on MS-DOS.
8899 [symlink, symlinks]: Don't show if make-symbolic-link is not
8901 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
8903 2000-02-23 Dave Love <fx@gnu.org>
8905 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
8906 (backward-kill-word): Revert addition of * to interactive spec --
8909 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
8910 (backward-kill-sentence, kill-sentence): Likewise.
8912 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
8913 scratch buffer name.
8914 (gud-format-command): Use int-to-string in ?l case. Simplify
8917 * term/w32-win.el (internal-face-interactive): Update prompt for
8920 * mail/footnote.el (footnote): Add :version to defgroup.
8921 (footnote-section-tag-regexp): Customize.
8922 (footnote-start-tag, footnote-end-tag): New option.
8923 (footnote-latin-regexp): New variable.
8924 (Footnote-latin): New function.
8925 (footnote-style-alist): Add element for latin style.
8926 (footnote-style): Moved.
8927 (Footnote-goto-footnote): Use eq to test arg.
8929 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
8931 * emacs-lisp/byte-opt.el: Change old backquote syntax.
8932 (byte-compile-trueconstp): Include keywords.
8933 (byte-optimize-quote, byte-optimize-lapcode): Use
8934 byte-compile-const-symbol-p.
8935 (byte-optimize-char-before): New optimization.
8937 * emacs-lisp/bytecomp.el: Change old backquote syntax.
8938 (byte-compile-const-symbol-p): New function.
8939 (byte-compile-constp, byte-compile-out-toplevel)
8940 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
8943 * subr.el (define-key-after): Default AFTER to t. Doc fix.
8945 2000-02-23 Kenichi Handa <handa@etl.go.jp>
8947 * international/encoded-kb.el: Be sure to update minor-mode-alist
8948 and minor-mode-map-alist.
8949 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
8950 codes SS2 and SS3 correctly.
8951 (encoded-kbd-self-insert-ccl): New function.
8952 (encoded-kbd-setup-keymap): New function.
8953 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
8954 by calling encoded-kbd-setup-keymap.
8956 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
8958 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
8961 2000-02-22 Dave Love <fx@gnu.org>
8963 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
8964 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
8966 (lisp-mode-syntax-table): Set up for #|...|# comments.
8967 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
8968 classes. Match `defface'.
8969 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
8970 (eval-defun-1): Fix for defcustom.
8971 (lisp-indent-region): Doc fix.
8973 * subr.el (when, unless, split-string): Doc fix.
8974 (read-passwd): Move call of clear-this-command-keys to the right
8976 (replace-regexps-in-string): New function.
8978 2000-02-22 Gerd Moellmann <gerd@gnu.org>
8980 * help.el (describe-variable): Set syntax table to
8981 emacs-lisp-mode-syntax-table when moving forward over the
8984 2000-02-22 Dave Love <fx@gnu.org>
8986 * xt-mouse.el: Doc fixes.
8987 (xterm-mouse-position-function): New function, replacing advice of
8989 (xterm-mouse-mode): Use it. Don't turn on under a window system.
8991 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
8993 2000-02-21 Gerd Moellmann <gerd@gnu.org>
8995 * format.el (format-annotate-single-property-change): Handle
8996 properties.with dotted-list values.
8997 (format-proper-list-p): New function.
8999 * enriched.el (enriched-face-ans): Handle '(foreground-color
9000 . COLOR) and (background-color . COLOR).
9002 2000-02-20 Dave Love <fx@gnu.org>
9004 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
9005 and assignments to it.
9006 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
9008 (make-flyspell-overlay): Use it.
9009 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
9011 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
9012 (lm-get-header-re): Defun, not defsubst.
9013 (lm-get-package-name): Defun, not defsubst. Simplify.
9014 (lm-version): Doc fix. Simplify.
9015 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
9016 (lm-crack-address, lm-last-modified-date, lm-commentary)
9017 (lm-verify, lm-synopsis): Simplify.
9018 (lm-report-bug): Require emacsbug. Use compose-mail.
9020 2000-02-20 Gerd Moellmann <gerd@gnu.org>
9022 * dired.el (dired-mode): Call propertized-buffer-identification
9023 to set mode-line-buffer-identification to something having
9024 the right text properties.
9026 * bindings.el (propertized-buffer-identification): New function.
9028 2000-02-20 Dave Love <fx@gnu.org>
9030 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
9031 check for t-mouse too.
9033 * cus-start.el: Make echo-keystrokes `number'.
9035 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
9037 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
9038 Don't call ring-empty-p unless tags-location-ring is bound.
9039 From Noah Friedman <friedman@splode.com>.
9041 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
9043 * progmodes/hideshow.el (hs-flag-region): No longer use
9044 `intangible' overlay property.
9046 (hs-toggle-hiding): New command.
9047 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
9049 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
9050 Fix omission bug: Run `hs-minor-mode-hook' for both activation
9053 2000-02-18 Gerd Moellmann <gerd@gnu.org>
9055 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
9057 2000-02-17 Gerd Moellmann <gerd@gnu.org>
9059 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
9061 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
9062 of `*' to handle `(* ... *)' comments.
9064 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
9066 * faces.el (list-faces-display): Use display-mouse-p instead of
9069 * menu-bar.el (global-map): Menu-bar items converted to the new
9070 format (menu-item..., rearranged for better CUA compliance, and
9071 their names changed for better clarity. Help strings added.
9073 * international/mule-cmds.el (mule-menu-keymap)
9074 (describe-language-environment-map, set-coding-system-map)
9075 (setup-language-environment-map): Convert to new (menu-item...
9076 form, add help strings. Change names of menu items for better
9077 clarity. "Mule" menu-bar item removed (it's now in the "Options"
9080 2000-02-17 Gerd Moellmann <gerd@gnu.org>
9082 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
9085 2000-02-16 Dave Love <fx@gnu.org>
9087 * faces.el: Don't require custom. Add more specific :groups to
9089 (set-face-attribute): Purecopy args.
9090 (read-face-name): Default to name at point and use it in prompt.
9091 Remove colon from arg in all callers.
9092 (list-faces-display): Hyperlink to face descriptions and customize
9095 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
9097 * wid-edit.el (widget-match-inline): An atom never matches a
9100 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9102 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9103 at ':' characters by call to split-string.
9105 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9107 * textmodes/bibtex.el: Added RCS version identification.
9109 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9111 * textmodes/bibtex.el: Some temporary comments removed.
9112 (bibtex-field-name, bibtex-entry-type): Made the relationship
9114 (bibtex-field-const): Allow capital letters.
9115 (bibtex-start-of-string): Deleted because unused.
9117 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9118 use the term 'reference' to describe a bibtex entry as a whole.
9119 Further, reference keys are no longer called 'labels'.
9120 (bibtex-keys): Renamed to bibtex-reference-keys.
9121 (bibtex-reformat-previous-labels): Renamed to
9122 bibtex-reformat-previous-reference-keys.
9123 (bibtex-reference-type): Renamed to bibtex-entry-type.
9124 (bibtex-reference-head): Renamed to bibtex-entry-head.
9125 (bibtex-reference-maybe-empty-head): Renamed to
9126 bibtex-entry-maybe-empty-head.
9127 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9128 (bibtex-search-reference): Renamed to bibtex-search-entry.
9129 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9130 bibtex-enclosing-entry-maybe-empty-head.
9131 (bibtex-entry-field-alist, bibtex-entry-head,
9132 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9133 bibtex-map-entries, bibtex-search-entry,
9134 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9135 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9136 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9137 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9138 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9139 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9140 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9142 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9144 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9146 (bibtex-format-field-delimiters): New function, functionality
9147 extracted from bibtex-format-entry.
9148 (bibtex-autokey-get-yearfield-digits): New function, functionality
9149 extracted from bibtex-autokey-get-yearfield.
9151 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9152 entries in order to avoid stack overflow in the regexp matcher if
9153 field contents become large.
9154 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9155 bibtex-field-string-part-not-braced,
9156 bibtex-field-string-part-no-inner-braces,
9157 bibtex-field-string-part-1-inner-brace,
9158 bibtex-field-string-part-2-inner-braces,
9159 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9160 bibtex-field-string-quoted, bibtex-field-string,
9161 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9162 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9163 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9164 as parsing is now performed by the following functions.
9165 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9166 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9167 bibtex-parse-field-string, bibtex-search-forward-field-string,
9168 bibtex-parse-association, bibtex-field-name-for-parsing,
9169 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9170 bibtex-search-forward-field, bibtex-search-backward-field,
9171 bibtex-start-of-field, bibtex-end-of-field,
9172 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9173 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9174 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9175 bibtex-parse-string, bibtex-search-forward-string,
9176 bibtex-search-backward-string, bibtex-start-of-string,
9177 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9178 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9179 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9180 entries. Instead of reporting the results of the parsing by
9181 match-beginning or match-end, these functions return data structures
9182 that hold the corresponding positions.
9183 (bibtex-enclosing-field): Changed to also report field boundaries by
9184 return values rather than by match-beginning or match-end. The
9185 following functions have been adapted to use the new parsing
9187 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9188 bibtex-enclosing-field, bibtex-format-entry,
9189 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9190 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9191 bibtex-print-help-message, bibtex-end-of-entry,
9192 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9193 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9194 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9196 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9197 bibtex-map-entries, bibtex-flash-head,
9198 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9199 bibtex-autokey-change, bibtex-autokey-get-namefield,
9200 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9201 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9202 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9203 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9204 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9205 order to make the new binding of case-fold-search immediately
9208 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9210 * textmodes/bibtex.el: Copyright notice is up to date.
9211 Added constant 'bibtex-maintainer-salutation.
9213 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9214 than make-temp-name, use match-string-no-properties and eliminate
9215 a quadratic behavior when building bibtex-strings.
9217 * bibtex.el (bibtex-reference-key): Accept string entries whose
9218 reference key contains upper case letters.
9220 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9222 * bibtex.el (bibtex-reference-head): Allow entries to start with
9225 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9227 * bibtex.el: Hiding of entry bodies is not longer provided by
9228 bibtex.el directly. Instead the hideshow package can be used.
9229 Added a special bibtex entry to hs-special-modes-alist.
9230 (bibtex-hs-forward-sexp): Added for hideshow.el.
9232 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9234 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9235 at ':' characters by call to split-string.
9237 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9239 * textmodes/bibtex.el: Added RCS version identification.
9241 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9243 * textmodes/bibtex.el: Some temporary comments removed.
9244 (bibtex-field-name, bibtex-entry-type): Made the relationship
9246 (bibtex-field-const): Allow capital letters.
9247 (bibtex-start-of-string): Deleted because unused.
9249 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9250 use the term 'reference' to describe a bibtex entry as a whole.
9251 Further, reference keys are no longer called 'labels'.
9252 (bibtex-keys): Renamed to bibtex-reference-keys.
9253 (bibtex-reformat-previous-labels): Renamed to
9254 bibtex-reformat-previous-reference-keys.
9255 (bibtex-reference-type): Renamed to bibtex-entry-type.
9256 (bibtex-reference-head): Renamed to bibtex-entry-head.
9257 (bibtex-reference-maybe-empty-head): Renamed to
9258 bibtex-entry-maybe-empty-head.
9259 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9260 (bibtex-search-reference): Renamed to bibtex-search-entry.
9261 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9262 bibtex-enclosing-entry-maybe-empty-head.
9263 (bibtex-entry-field-alist, bibtex-entry-head,
9264 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9265 bibtex-map-entries, bibtex-search-entry,
9266 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9267 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9268 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9269 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9270 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9271 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9272 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9274 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9276 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9278 (bibtex-format-field-delimiters): New function, functionality
9279 extracted from bibtex-format-entry.
9280 (bibtex-autokey-get-yearfield-digits): New function, functionality
9281 extracted from bibtex-autokey-get-yearfield.
9283 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9284 entries in order to avoid stack overflow in the regexp matcher if
9285 field contents become large.
9286 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9287 bibtex-field-string-part-not-braced,
9288 bibtex-field-string-part-no-inner-braces,
9289 bibtex-field-string-part-1-inner-brace,
9290 bibtex-field-string-part-2-inner-braces,
9291 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9292 bibtex-field-string-quoted, bibtex-field-string,
9293 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9294 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9295 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9296 as parsing is now performed by the following functions.
9297 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9298 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9299 bibtex-parse-field-string, bibtex-search-forward-field-string,
9300 bibtex-parse-association, bibtex-field-name-for-parsing,
9301 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9302 bibtex-search-forward-field, bibtex-search-backward-field,
9303 bibtex-start-of-field, bibtex-end-of-field,
9304 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9305 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9306 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9307 bibtex-parse-string, bibtex-search-forward-string,
9308 bibtex-search-backward-string, bibtex-start-of-string,
9309 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9310 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9311 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9312 entries. Instead of reporting the results of the parsing by
9313 match-beginning or match-end, these functions return data structures
9314 that hold the corresponding positions.
9315 (bibtex-enclosing-field): Changed to also report field boundaries by
9316 return values rather than by match-beginning or match-end. The
9317 following functions have been adapted to use the new parsing
9319 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9320 bibtex-enclosing-field, bibtex-format-entry,
9321 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9322 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9323 bibtex-print-help-message, bibtex-end-of-entry,
9324 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9325 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9326 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9328 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9329 bibtex-map-entries, bibtex-flash-head,
9330 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9331 bibtex-autokey-change, bibtex-autokey-get-namefield,
9332 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9333 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9334 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9335 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9336 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9337 order to make the new binding of case-fold-search immediately
9340 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9342 * textmodes/bibtex.el: Copyright notice is up to date.
9343 Added constant 'bibtex-maintainer-salutation.
9345 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9346 than make-temp-name, use match-string-no-properties and eliminate
9347 a quadratic behavior when building bibtex-strings.
9349 * bibtex.el (bibtex-reference-key): Accept string entries whose
9350 reference key contains upper case letters.
9352 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9354 * bibtex.el (bibtex-reference-head): Allow entries to start with
9357 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9359 * bibtex.el: Hiding of entry bodies is not longer provided by
9360 bibtex.el directly. Instead the hideshow package can be used.
9361 Added a special bibtex entry to hs-special-modes-alist.
9362 (bibtex-hs-forward-sexp): Added for hideshow.el.
9364 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9366 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
9367 proceedings entry type (for cross referencing). Thanks to Wagner
9368 Toledo Correa for the suggestion.
9370 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
9372 2000-02-14 Kenichi Handa <handa@etl.go.jp>
9374 * international/characters.el: Setup case table for Vietnamese.
9376 2000-02-12 Gerd Moellmann <gerd@gnu.org>
9378 * uniquify.el (toplevel): Require CL at compile time.
9379 (uniquify-push): Removed.
9381 * shadowfile.el (shadow-when): Removed.
9383 * tempo.el (tempo-dolist, tempo-mapc): Removed.
9384 (tempo-process-and-insert-string): Use dolist instead of
9387 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
9388 regexp for paragraph-start.
9390 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
9393 2000-02-10 Dave Love <fx@gnu.org>
9395 * wid-edit.el: (widgets) [defgroup]: Remove url link.
9396 (widget-color-choice-list, widget-color-history, widget-mouse-help):
9398 (widget-specify-field, widget-specify-button): Don't use
9399 widget-mouse-help as help-echo property.
9400 (default): Use #'ignore for :validate and :mouse-down-action.
9401 (checkbox): Add help-echo.
9402 (widget-sexp-validate): Rewritten to clarify error messages.
9403 (character): Use char-valid-p in :match function.
9404 (widget-color-complete): Use facemenu-color-alist.
9405 (widget-color-action): Use facemenu-read-color.
9407 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
9408 set up `caar' &c that we now have.
9410 2000-02-09 Ray Blaak <blaak@gnu.org>
9412 * delphi.el: Make resourcestring a declaration region, like const
9415 2000-02-09 Dave Love <fx@gnu.org>
9417 * bindings.el (mode-line-input-method-map): New variable.
9418 (mode-line-mule-info): Use it; fix last change.
9419 (mode-line-mode-menu): Move definition.
9420 (mode-line-mouse-sensitive-p): Deleted.
9421 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
9422 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
9425 * startup.el (command-line-1): Don't call
9426 make-mode-line-mouse-sensitive.
9428 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9430 * mail/rmail.el (rmail-retry-failure): Use
9431 rmail-beginning-of-message before rmail-toggle-header, because the
9432 former toggles headers.
9434 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
9436 * diff-mode.el (diff-kill-junk): New interactive function.
9437 (diff-reverse-direction): Use delete-and-extract-region.
9438 (diff-post-command-hook): Restrict the area so that the hook also works
9439 outside of any diff hunk. This is necessary for the minor-mode.
9440 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
9441 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
9443 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
9444 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
9445 so that it can be used more easily in <foo>-mode-hook. Also make sure
9446 to avoid duplicate entries.
9447 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
9448 (font-lock-remove-keywords): Just as was done for `add', allow it to
9449 work even if font-lock-mode is nil. Also make sure we don't modify
9450 any pre-existing list by forcing a copy-sequence. Finally rename
9451 `major-mode' to `mode'.
9452 (font-lock-fontify-syntactic-anchored-keywords)
9453 (font-lock-fontify-anchored-keywords)
9454 (font-lock-fontify-keywords-region): Use line-end-position.
9455 Don't make `font-lock-multiline' local (it's now done in
9456 font-lock-set-defaults).
9457 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
9458 move the `font-lock-fontified' creation to inside the `unless'.
9460 2000-02-06 Andrew Innes <andrewi@gnu.org>
9462 * term/w32-win.el (x-handle-args): Comment out call to message,
9463 which occurs before window system is initialized.
9465 * makefile.nt: Add support for recompiling lisp code.
9467 2000-02-04 Dave Love <fx@gnu.org>
9469 * bindings.el (mode-line-mule-info): Fix/extend last change.
9471 * completion.el: Replace completion-dolist with dolist.
9473 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
9476 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
9478 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
9479 environment names before they go into the section regexp.
9481 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
9482 char class in regexp.
9484 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
9485 `case-fold-search' to nil.
9487 * progmodes/idlwave.el (idlwave-template): Respect
9488 `idlwave-abbrev-change-case'.
9489 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
9490 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
9491 idlwave-while): respect `idlwave-reserved-word-upcase'.
9492 (idlwave-rw-case): New function.
9493 (idlwave-statement-match): Fixed problem with assignment regexp.
9494 (idlwave-font-lock-keywords): Improved regexp for keyword
9496 (idlwave-surround): New argument LENGTH to support padding of
9497 operators longer than 1 char.
9499 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
9500 idlwave-shell-expression-overlay. Implemented printing of
9501 expressions on higher levels of the calling stack.
9502 (idlwave-shell-display-level-in-calling-stack): Restore stack
9504 (idlwave-retrieve-expression-from-level): New function.
9505 (idlwave-shell-last-calling-stack): Variable removed.
9506 (idlwave-shell-reset): Argument action reversed (`visible' to
9507 `hidden'). Also remove stop-line overlay.
9508 (idlwave-shell-calling-stack-routine): New variable.
9509 (idlwave-shell-parse-stack-and-display): Messages now display
9510 negative level numbers.
9511 (idlwave-shell-mode): Set `modeline-format'.
9512 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
9513 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
9515 (idlwave-shell-print-expression-function): New option.
9517 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
9518 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
9519 `tool-bar' instead of `toolbar'.
9521 2000-02-02 Dave Love <fx@gnu.org>
9523 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
9524 emacs-lisp-mode-hook. Don't check for defalias being defined.
9526 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
9527 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
9528 the new builtins directly.
9530 * whitespace.el (whitespace): Add :version to defgroup.
9532 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
9535 * thingatpt.el (sexp-at-point, symbol-at-point)
9536 (number-at-point, list-at-point): Add autoload cookie.
9538 * recentf.el (recentf): Add :version to defgroup.
9540 * quickurl.el (quickurl): Add :version to defgroup.
9542 * elide-head.el (elide-head): Use point-marker more.
9544 * bs.el (bs): Add :version to defgroup.
9546 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
9548 * progmodes/delphi.el (delphi): Add :version to defgroup.
9550 2000-02-02 Gerd Moellmann <gerd@gnu.org>
9552 * ange-ftp.el (ange-ftp-write-region): Handle case that
9553 succeeding process operation sets a different coding system.
9555 * calculator.el: New file.
9557 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
9559 * frame.el (frames-on-display-list, framep-on-display): New
9561 (display-mouse-p, display-popup-menus-p, display-graphic-p)
9562 (display-selections-p, display-screens, display-pixel-width)
9563 (display-pixel-height, display-mm-width, display-mm-height)
9564 (display-backing-store, display-save-under, display-planes)
9565 (display-color-cells, display-visual-class): New functions.
9567 * term/tty-colors.el (tty-color-gray-shades): New function.
9569 * faces.el (display-color-p): Use framep-on-display.
9570 (display-grayscale-p): New function.
9572 2000-01-31 Dave Love <fx@gnu.org>
9574 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
9575 (create-fontset-from-x-resource): Don't concat integers.
9577 2000-01-31 Inge Frick <inge@nada.kth.se>
9579 * view.el: Some changes in documentation. Removed some trailing
9580 whitespace. Changed some parameter names to agree with
9582 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
9583 window is not deleted. Modifies change 1998-04-26.
9585 2000-01-31 Gerd Moellmann <gerd@gnu.org>
9587 * windmove.el: New file.
9589 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9590 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9591 progmodes/ebnf-yac.el: Update copyright and license info.
9593 * jit-lock.el (jit-lock-function): Widen before calculating end
9595 (jit-lock-stealth-chunk-start): Rewritten.
9597 * info.el (Info-title-face-alist): Removed.
9598 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
9600 (Info-fontify-node): Use these faces.
9602 2000-01-30 Gerd Moellmann <gerd@gnu.org>
9604 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
9605 (cl-macro-list1): Recognize `&allow-other-keys' instead of
9606 `&allow-other-keywords'.
9608 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
9609 the list of directories scanned heuristically.
9611 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
9614 2000-01-30 Jason Rumney <jasonr@gnu.org>
9616 * w32-fns.el: Define w32-tty-standard-colors.
9618 * startup.el (command-line): Use w32-tty-standard-colors when in
9621 2000-01-30 Dave Love <fx@gnu.org>
9623 * jka-compr.el (jka-compr-load): Fix up load-history.
9625 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
9627 * emacs-lisp/cl-macs.el: Revert previous change.
9629 2000-01-29 Dave Love <fx@gnu.org>
9631 * facemenu.el: Purecopy various strings.
9633 * timezone.el (timezone-fix-time): Window against 69 for two-digit
9634 years. Deal with three-digit years.
9636 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
9638 (help-back-label): Purecopy it.
9640 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9642 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
9643 variable. If non-nil, order the buffer list according to the
9644 currently selected frame.
9645 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
9646 non-nil, pass the selected frame to function buffer-list.
9648 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9650 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
9652 2000-01-28 Dave Love <fx@gnu.org>
9654 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
9656 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
9657 Don't use lisp-indent-hook property.
9660 * subr.el: Move out indent and edebug specs for when and unless.
9662 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
9665 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
9668 2000-01-28 Gerd Moellmann <gerd@gnu.org>
9670 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
9671 `collecting' as synonym for `collect'.
9673 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
9674 for the case it contains spaces.
9676 * simple.el (what-cursor-position): Change formatting of
9679 * frame.el (delete-other-frames): New function.
9680 (toplevel): Bind it to C-x 5 1.
9682 * sort.el (sort-numeric-base): New option.
9683 (sort-numeric-fields): If number starts with `0' or `0[xX[',
9684 interpret it as octal or hexadecimal. Use sort-numeric-base
9687 * progmodes/glasses.el: New file.
9689 2000-01-27 Gerd Moellmann <gerd@gnu.org>
9691 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
9692 userids differently.
9694 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9695 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9696 progmodes/ebnf-yac.el: New files.
9698 2000-01-26 Dave Love <fx@gnu.org>
9700 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
9701 on a function with an empty body. [From Eric Ludlam.]
9703 2000-01-25 Andre Spiegel <spiegel@gnu.org>
9705 * vc.el (vc-version-diff): Make sure file name is expanded.
9707 2000-01-25 Gerd Moellmann <gerd@gnu.org>
9709 * scroll-bar.el (scroll-bar-timer): Variable removed.
9710 (scroll-bar-toolkit-scroll): Don't use a timer.
9712 2000-01-25 Kenichi Handa <handa@etl.go.jp>
9714 * language/thai-util.el (thai-composition-function): Delete
9717 2000-01-24 Dave Love <fx@gnu.org>
9719 * fortran.el (fortran-mode): Use beginning-of-defun-function,
9720 end-of-defun-function.
9722 * font-lock.el (turn-on-font-lock): Don't depend on window-system
9725 2000-01-22 Jason Rumney <jasonr@gnu.org>
9727 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
9728 conflicts with new face support.
9730 2000-01-22 Richard M. Stallman <rms@gnu.org>
9732 * replace.el (query-replace): Rename last arg to DELIMITED.
9733 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
9734 (query-replace-regexp): Likewise.
9736 2000-01-20 Richard M. Stallman <rms@gnu.org>
9738 * subr.el (with-syntax-table): Use make-symbol, not gensym.
9740 * emacs-lisp/lisp.el (beginning-of-defun-function):
9741 Variable renamed from beginning-of-defun.
9742 Do not call make-variable-buffer-local.
9743 (beginning-of-defun-raw): Use new variable name; doc fix.
9744 (beginning-of-defun): Doc fix.
9745 (end-of-defun-function): Variable renamed from end-of-defun.
9746 Do not call make-variable-buffer-local.
9747 (end-of-defun): Use new variable name; doc fix.
9749 * subr.el (dolist, dotimes): Copied from cl-macs.el
9752 * mail/undigest.el (rmail-digest-end-regexps):
9753 Variable replaces rmail-digest-end-regexp.
9754 Allows multiple regexps for detecting the end line.
9755 (undigestify-rmail-message): Corresponding changes.
9757 2000-01-19 Dave Love <fx@gnu.org>
9759 * files.el (user-init-file): Don't declare here -- is primitive.
9761 * startup.el (command-line): Check for compiled user-init-file and
9762 set to uncompiled version if necessary.
9764 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9766 * mail/undigest.el (rmail-digest-end-regexp): New user option.
9767 (undigestify-rmail-message): Use it.
9769 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
9771 2000-01-17 Gerd Moellmann <gerd@gnu.org>
9773 * tmm.el (tmm-goto-completions): Adapt to prompt being part
9776 2000-01-14 Gerd Moellmann <gerd@gnu.org>
9778 * emacs-lisp/copyright.el (copyright-update): Removed the
9779 requirement for a trailing space from `copyright-regexp', to
9780 support copyrights with owner specified on a separate line..
9782 * align.el: New file.
9784 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
9786 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
9788 2000-01-13 Dave Love <fx@gnu.org>
9790 * ph.el: Removed. (Obsoleted by EUDC.)
9792 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9794 * net/eudc.el (toplevel): Remove autoloaded code installing
9795 menu with easymenu, because that causes build problems.
9797 * frame.el (frame-notice-user-settings): New variable.
9798 (frame-notice-user-settings): Don't modify frame parameters
9799 if called a second time.
9801 2000-01-13 Richard M. Stallman <rms@gnu.org>
9803 * frame.el (frame-notice-user-settings):
9804 Notice default-frame-parameters even for non-window frames.
9806 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9808 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
9810 (eudc-bob-can-display-inline-images): Extend for Emacs.
9811 (eudc-bob-toggle-inline-display): Ditto.
9812 (eudc-bob-display-jpeg): Ditto.
9814 2000-01-12 Gerd Moellmann <gerd@gnu.org>
9816 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
9817 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
9818 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
9820 * add-log.el (add-change-log-entry): Fix error trying an `(insert
9823 * subdirs.el: Add `net' directory.
9825 * net: New directory.
9827 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
9828 eval-last-sexp. Don't bind debug-on-error here.
9829 (eval-last-sexp): New function. Bind debug-on-error if
9830 eval-expression-debug-on-error is non-nil.
9831 (eval-defun-2, eval-defun): Likewise.
9833 * simple.el (eval-expression): Don't bind debug-on-error if
9834 eval-expression-debug-on-error is nil. Detect changed
9835 debug-on-error, and propagate new value to global binding, if
9836 eval-expression-debug-on-error is non-nil,
9837 (eval-expression-debug-on-error): Change doc string.
9839 2000-01-11 Richard M. Stallman <rms@gnu.org>
9841 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
9843 * emacs-lisp/lisp-mode.el (with-syntax-table):
9844 Set up lisp-indent-function property.
9846 * subr.el (with-syntax-table): Moved from simple.el.
9848 * simple.el (with-syntax-table): Moved to subr.el.
9850 2000-01-11 Gerd Moellmann <gerd@gnu.org>
9852 * tmm.el (tmm-shortcut): Delete region after prompt instead
9855 * textmodes/fill.el (fill-common-string-prefix): New function.
9856 (fill-context-prefix): Use the longest common prefix of first
9857 and second line fill prefix, if there is one.
9859 2000-01-11 Richard M. Stallman <rms@gnu.org>
9861 * array.el (array-mode): Don't use make-variable-buffer-local.
9862 Use make-local-variable for `truncate-lines'.
9864 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
9866 * add-log.el (add-log-current-defun): Handle user-defined
9867 add-log-current-function returning nil,
9869 * add-log.el (add-change-log-entry): Insert version number
9870 if having found a current function
9872 * add-log.el (add-log-current-defun): Call
9873 `add-log-current-defun-function'. Try matches at level 0 and
9874 level 1. Strip whitespace from defun found.
9876 2000-01-10 John Wiegley <johnw@gnu.org>
9878 * allout.el (isearch-done/outline-provisions): Added `edit'
9879 argument to correspond with the current definition of
9882 2000-01-10 Dave Love <fx@gnu.org>
9884 * elide-head.el (elide-head): Use point-marker, not point.
9886 2000-01-10 Gerd Moellmann <gerd@gnu.org>
9888 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
9889 before and after the year 2000.
9891 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
9894 2000-01-10 Ken Stevens <k.stevens@ieee.org>
9896 * ispell.el: Only define dictionaries in menus when they exist.
9897 (version18p): New variable.
9898 (version20p): New variable.
9899 (xemacsp): New variable.
9900 (ispell-choices-win-default-height): Fix for XEmacs visibility.
9901 (ispell-dictionary-alist1): Added Brasileiro dictionary.
9902 (ispell-dictionary-alist6): Russian command lines no longer accept
9904 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
9905 (ispell-dictionary-alist): Add koi8-r to customize definition.
9906 (check-ispell-version): Added documentation string. Returns
9907 library path when called non-interactively.
9908 (ispell-menu-map-needed): Uses new variables.
9909 (ispell-library-path): New variable.
9910 (ispell-decode-string): XEmacs fix for bogus variable bindings.
9911 (ispell-word): Improved documentation string. Test for valid
9912 character mappings. Correctly check typed in word changes that can
9913 result in single words split into multiple words. Returns
9915 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
9916 replace in recursive query replace mode. Help message for
9917 recursive edit mode.
9918 (ispell-show-choices): Protect against bad framepop bindings.
9919 (ispell-help): Fix to work with XEmacs.
9920 (ispell-highlight-spelling-error): Use new variables.
9921 (ispell-overlay-window): Fix to work with XEmacs.
9922 (ispell-parse-output): Passed and returns location information
9923 tracking spelling corrections. Doesn't recheck same word on
9925 (ispell-init-process): Protect against bogus XEmacs variable binding.
9926 Fix call to single argument in sleep-for. Use new variables.
9927 (ispell-region): Passed and returns location information tracking
9928 spelling corrections. Doesn't check same word on current line.
9929 Improved documentation string. Doesn't resend a line already
9930 checked to the ispell process - fixes bug in LaTeX parsing.
9931 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
9932 (ispell-skip-region): No longer skips <TT> in SGML.
9933 (ispell-process-line): Tracks location information with spelling
9934 corrections. Added documentation string. Accounts for words
9935 already accepted on this line. Don't allow query-replace on line
9936 starting with math characters. Doesn't resend a line already sent
9937 to ispell process. Fixes alignment error bug.
9939 2000-01-10 Richard M. Stallman <rms@gnu.org>
9941 * dired-x.el (dired-guess-shell-alist-default):
9942 Suggest xloadimage, which is free, not xv, which isn't.
9944 * ange-ftp.el (ange-ftp-file-name-nondirectory):
9945 Don't ever include the host name or user name in the value.
9947 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9949 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
9952 2000-01-09 Stephen Eglen <stephen@gnu.org>
9954 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
9957 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
9959 * cus-edit.el (custom-hook-convert-widget): Fix comment.
9961 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9963 * progmodes/cperl-mode.el: Replace ^F with ^L.
9965 * sendmail.el (toplevel): Provide `sendmail' when compiling
9966 before `require'ing rmail and mailalias to prevent infinite
9969 2000-01-08 Dave Love <fx@gnu.org>
9971 * emacs-lisp/backquote.el: Remove inappropriate customization
9972 (allowing custom.el to use backquote).
9974 2000-01-07 Dave Love <fx@gnu.org>
9976 * add-log.el (add-log-debugging): Deleted.
9977 (add-change-log-entry): Treat a backup FILE-NAME as its parent
9978 file. Remove debugging code.
9979 (change-log-get-method-definition, change-log-name): Add doc.
9980 (change-log-sortable-date-at): New function.
9981 (change-log-merge): New command.
9983 * time.el (display-time-string-forms): Make the Mail string active.
9984 (display-time-update): Provide help-echo for load average.
9986 * bindings.el (make-mode-line-mouse2-map): New function.
9987 (mode-line-modified): Use it and simplify.
9988 (mode-line-mule-info): Provide help-echo info.
9989 (minor-mode-alist): Activate the strings.
9990 (make-mode-line-mouse-sensitive): Simplify for
9991 mode-line-buffer-identification.
9993 2000-01-07 Gerd Moellmann <gerd@gnu.org>
9995 * play/pong.el: New file.
9997 2000-01-06 Dave Love <fx@gnu.org>
9999 * array.el: Assorted cleanups for compiler warnings, doc strings,
10000 `array-' prefix for symbols.
10002 2000-01-05 Dave Love <fx@gnu.org>
10004 * textmodes/outline.el (outline-mode-menu-bar-map): Add
10005 outline-headers-as-kill.
10006 (outline-mode): Define imenu-generic-expression.
10007 (outline-headers-as-kill): New command.
10009 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
10010 from paragraph-start.
10011 (paragraph-indent-minor-mode): New command.
10013 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
10014 M-C-e, M-C-h, C-j, C-xnd, TAB.
10015 (fortran-mode): Set beginning-of-defun, end-of-defun.
10016 (fortran-column-ruler): Simplify.
10017 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
10018 (fortran-with-subprogram-narrowing): Likewise.
10019 (fortran-indent-subprogram): Call mark-defun.
10020 (fortran-check-for-matching-do): Change narrowing.
10022 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
10023 (cl-lucid-hash-tag): Delete.
10024 (cl-hash-table-p): Correct test for native table.
10025 (cl-hash-table-count): Use hash-table-count.
10027 * browse-url.el (browse-url): Fix case of
10028 browse-url-browser-function being an alist.
10030 2000-01-05 Carsten Dominik <cd@gnu.org>
10032 * textmodes/reftex-vars.el (reftex-parse-file-extension)
10033 (reftex-index-phrase-file-extension): New options.
10035 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
10036 Use new option `reftex-index-phrase-file-extension'.
10038 * textmodes/reftex.el (reftex-access-parse-file): Use new option
10039 `reftex-parse-file-extension'.
10041 2000-01-05 Dave Love <fx@gnu.org>
10043 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
10044 (beginning-of-defun-raw): Use it.
10045 (end-of-defun): New variable.
10046 (end-of-defun): Use it.
10047 (check-parens): New command.
10049 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
10051 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
10052 (hs-show-block): Don't use `mapcar' when not accumulating.
10054 Fix buglet in local variables initialization.
10056 2000-01-05 Andreas Schwab <schwab@suse.de>
10058 * hscroll.el (hscroll): Doc fix.
10060 2000-01-05 Carsten Dominik <cd@gnu.org>
10062 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
10065 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
10066 file idlw-rinfo.el.
10067 (idlwave-customize): load must read file idlw-shell.el.
10068 (idlwave-create-customize-menu): load must read file idlw-shell.el.
10070 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
10072 * progmodes/idlw-shell.el: Also provide idlwave-shell
10073 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
10074 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
10076 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
10077 both reftex-dcr and reftex-vcr.
10079 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
10081 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10083 * ps-print.el: PostScript code now is in separate files, doc fix.
10084 (ps-print-version): New version number (5.0.3).
10085 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
10087 (ps-spool-config): Initialization fix.
10088 (ps-print-prologue-1, ps-print-prologue-2)
10089 (ps-print-duplex-feature): PostScript code moved to separated file.
10090 (ps-background-image): Little code reformating.
10091 (ps-begin-file, ps-begin-job): Fix code.
10092 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
10093 (ps-prologue-file): New fun.
10095 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10097 * ps-vars.el: Eliminated.
10099 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
10102 * ps-print.el: ps-vars eliminated, doc fix.
10103 (ps-print-version): New version number (5.0.2).
10104 (ps-spool-config): Initialization fix.
10105 (ps-print-customize): New fun.
10107 2000-01-04 Gerd Moellmann <gerd@gnu.org>
10109 * autorevert.el (auto-revert-mode): Return value of
10112 2000-01-04 Dave Love <fx@gnu.org>
10114 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
10117 2000-01-03 Dave Love <fx@gnu.org>
10119 * elide-head.el (elide-head) [defgroup]: Add :version.
10121 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
10122 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
10123 `cl-hash-table-p', not `hash-table-p'.
10124 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
10126 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10128 * faces.el (face-read-integer, read-face-attribute)
10129 (color-defined-p, color-values): unspecified-{f,b}g are now
10132 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
10134 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
10135 at comment end, and re-insert them after filling.
10137 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10139 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
10140 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
10141 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
10143 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10145 * term/x-win.el (xw-defined-colors): Call color-supported-p,
10146 the new name of face-color-supported-p.
10148 * term/w32-win.el (xw-defined-colors): Likewise.
10150 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10152 * simple.el (completion-setup-function): Count completion-size
10153 from minibuffer-prompt-end, not from point-min.
10155 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
10157 * faces.el (read-face-attribute, defined-colors, color-defined-p):
10158 Pass the frame to tty-color-* functions.
10159 (display-color-p, frame-set-background-mode): Pass the frame to
10160 tty-display-color-p.
10162 * term/tty-colors.el (tty-defined-color-alist): Renamed from
10164 (tty-color-alist, tty-modify-color-alist): New functions.
10165 (tty-color-define, tty-color-clear, tty-color-approximate)
10166 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
10167 an optional parameter FRAME.
10169 2000-01-01 Gerd Moellmann <gerd@gnu.org>
10171 * image.el (create-image, defimage): Don't assume image data is a
10174 * image.el (defimage): Handle specifications containing :data
10176 (image-type-from-data): New function.
10177 (image-type-from-file-header): Use it.
10178 (create-image): Add parameter DATA-P.
10180 See ChangeLog.8 for earlier changes.
10182 ;; Local Variables:
10183 ;; coding: iso-2022-7bit-unix