1 2000-10-06 Miles Bader <miles@lsi.nec.co.jp>
3 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
6 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
7 (smbclient-prompt-regexp): Add usage note to doc string.
8 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
9 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
10 Use add-hook for adding the comint filter function, and only do so
11 if it's not already in the global hook list.
12 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
13 to `make-local-variable'.
14 (nslookup-font-lock-keywords): Remove prompt entry.
15 (nslookup): Don't set the process-filter.
16 (finger): Exit the loop correctly when the regexps list runs out.
17 (ftp, smbclient, smbclient-list-shares):
18 Set the real major mode immediately, not after execing.
19 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
21 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
23 2000-10-05 Alex Schroeder <alex@gnu.org>
25 * sql.el (sql-mysql-options): New variable.
28 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
30 * image.el (image): New group.
32 * smerge-mode.el (smerge-mine-face, smerge-other-face)
33 (smerge-base-face, smerge-markers-face): Add dark-background variants.
35 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
37 * net/net-utils.el (nslookup-font-lock-keywords)
38 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
39 Ignore the value of wqindow-system; always define keywords
41 2000-10-05 Kenichi Handa <handa@etl.go.jp>
43 * startup.el (fancy-splash-screens): Remove the code for
44 debugging; `(trace-to-stderr "EXITTT\n")'.
46 2000-10-05 Miles Bader <miles@gnu.org>
48 * diff-mode.el (diff-goto-source): Update call to
49 `diff-hunk-status-msg' to reflect new REV variable.
51 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
53 * progmodes/icon.el (icon-mode):
54 Don't gratuitously override the default for comment-column.
56 * vc-hooks.el (vc-mode-line): Fix interactive spec.
58 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
59 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
60 (jit-lock-functions): New var.
61 (jit-lock-function-1): Use it if non-nil.
62 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
63 Set the `fontified' property before doing the fontification to avoid
64 repeatedly going through the same error.
65 Don't turn errors into messages.
66 (jit-lock-register, jit-lock-unregister): New functions.
68 * dired.el (dired-mark-pop-up): Turn comment into docstring.
69 Use with-current-buffer.
71 * dired-aux.el (dired-do-create-files, dired-kill-tree):
72 Turn comment into docstring.
74 * apropos.el (apropos-mode): Use define-derived-mode.
76 2000-10-04 Gerd Moellmann <gerd@gnu.org>
78 * startup.el (fancy-splash-pending-command): New variable.
79 (fancy-splash-pre-command): New function.
80 (fancy-splash-screens): Rewritten.
81 (command-line-1): If fancy-splash-pending-command is set, call it
84 2000-10-04 Dave Love <fx@gnu.org>
86 * toolbar/tool-bar.el (tool-bar-setup): New function.
87 (tool-bar-mode): Use it.
89 * subr.el (substitute-key-definition): Doc fix.
90 (play-sound-file): New command.
92 2000-10-04 Andre Spiegel <spiegel@gnu.org>
94 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
95 vc-version-backup-file-name): New functions.
97 * files.el (basic-save-buffer): Call vc-before-save before saving.
99 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
102 * vc.el (vc-revert-buffer): Handle empty diff properly.
103 (vc-version-backup-file): New function.
104 (vc-checkout): Create a version backup if necessary.
105 (vc-checkin): If a version backup file exists, delete it.
106 (vc-version-diff): Diff locally using version backups, if available.
107 (vc-revert-file): If there's a version backup, revert locally.
108 (vc-transfer-file): Use version backup for base version, if
109 available. If not, ask for confirmation whether to get it from the
110 server. Update mode line before check-in.
112 2000-10-04 Dave Love <fx@gnu.org>
114 * toolbar/tool-bar.el (tool-bar-setup): New function.
115 (tool-bar-mode): Use it.
117 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
119 * net/net-utils.el (nslookup-font-lock-keywords)
120 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
121 Only set if window-system is non-nil
122 (net-utils-run-program): Returns buffer.
123 (network-connection-reconnect): Added this function.
126 Incorporates extensive cleanup and docfixes by
127 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
128 Uses cl compile-time macros.
129 (generic-mode-name, generic-comment-list)
130 (generic-keywords-list, generic-font-lock-expressions)
131 (generic-mode-function-list, generic-mode-syntax-table):
133 (generic-mode-alist): Renamed to generic-mode-list.
134 (generic-find-file-regexp): Default changed to "^#".
135 (generic-read-type): Uses completing read on generic-mode-list.
136 (generic-mode-sanity-check): removed this function.
137 (generic-add-to-auto-mode): Removed this function
138 (generic-mode-internal): Bind mode-specific definitions
139 into function instead of putting them in alist.
140 (generic-mode-set-comments): Reworked extensively.
141 (generic-mode-find-file-hook): Simplified regexp searching
142 (generic-make-keywords-list): Omit extra pair of parens
144 * find-lisp.el (find-lisp-find-files-internal):
145 Make sure directory name ends with "/".
147 * generic-x.el (apache-conf-generic-mode):
148 Regexp now allows leading whitespace.
149 (rc-generic-mode): Added eval-when-compile
150 around generic-make-keywords-list.
151 Deleted duplicate regexp
152 (rul-generic-mode): Added eval-when-compile
153 around generic-make-keywords-list.
154 (etc-fstab-generic-mode): New generic mode.
155 (rul-generic-mode): Removed one eval-when-compile
156 which caused a max-specpdl-size exceeded error.
158 2000-10-04 Miles Bader <miles@gnu.org>
160 * simple.el (minibuffer-temporary-goal-position): New variable.
161 (next-history-element): Try to keep the position of point in the
162 input string constant.
164 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
165 (dired-do-create-files): If there's only one file, pass it in as
166 the DEFAULT arg to dired-mark-read-file-name.
168 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
170 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
171 (diff-goto-source): Be smarter when choosing REVERSE or not.
173 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
174 (texinfo-mode-menu): Add an explicit shortcut for update all.
176 2000-10-03 Andre Spiegel <spiegel@gnu.org>
178 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
179 factorize backend-specific code cleanly (this was essentially
180 conceived by Stefan Monnier).
181 (vc-unregister): Function removed.
182 (vc-revert-file): New function.
183 (vc-revert-buffer): Delegate some of the work to it.
185 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
186 default branch unconditionally.
187 (vc-rcs-set-default-branch): New function.
188 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
189 (vc-rcs-checkin): If an appropriate default branch has been set,
190 force creation of that branch.
191 (vc-rcs-receive-file): Rewritten to contain only backend-specific
192 code (as suggested by Stefan Monnier).
194 2000-10-02 Gerd Moellmann <gerd@gnu.org>
196 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
197 highlighting overlay with a different face over the overlay
198 isearch uses to highlight the current match because that can lead
199 to bad face combinations.
201 * loadup.el (toplevel): Load faces before isearch.
203 * isearch.el (isearch-faces): New custom group.
204 (isearch): New defface; was already tested for in the code.
205 (isearch-lazy-highlight-face): Changed to defface from defcustom.
206 (isearch-highlight): Always use face `isearch'.
208 2000-10-02 Dave Love <fx@gnu.org>
210 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
211 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
212 comparison of opcode with operand.
214 2000-10-03 Miles Bader <miles@gnu.org>
216 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
217 buffer, since the echo area will now grow to accommodate them.
219 2000-10-02 Andre Spiegel <spiegel@gnu.org>
221 * vc-hooks.el (vc-registered): If FILE used to be registered under
222 a certain backend, try that one first.
224 * vc.el (vc-responsible-backend): Undo the previous change in the
225 argument list. Handle multiple backends correctly.
226 (vc-find-new-backend): Function removed.
227 (vc-register): Use vc-responsible-backend, as before.
228 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
230 2000-10-02 Gerd Moellmann <gerd@gnu.org>
232 * startup.el (fancy-splash-head): Change message below the
235 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
237 * diff-mode.el (diff-goto-source): Emit a status message.
238 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
239 (diff-test-hunk): Fix doc string.
240 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
241 (diff-advance-after-apply-hunk): New variable.
242 (diff-apply-hunk): Don't return a value.
244 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
246 * vc.el (vc-editable-p): Minor optimization.
247 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
248 (vc-find-new-backend): New function split from vc-responsible-backend.
249 (vc-register): Use it.
250 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
251 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
252 (vc-default-unregister, vc-revert-buffer): Docstring fix.
253 (vc-clear-headers): Don't use find-file.
254 (vc-revert-buffer): Use `and' again (must have been a braino).
255 (vc-switch-backend): Only prompt if requested.
256 Short circuit if nothing is to be done.
257 Don't use vc-resynch-buffer which could lose unsaved editing.
258 (vc-default-receive-file): Update call to vc-unregister.
259 (with-vc-file, vc-next-action-on-file):
260 Use vc-backend rather than vc-registered.
261 (vc-next-action-on-file): Use intern-soft.
262 Deal with read-only *vc-diff* buffer.
263 (vc-transfer-file): Docstring fix.
265 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
266 (vc-rcs-receive-file): Avoid with-vc-properties.
267 Update call to vc-unregister.
268 Use constant `RCS' rather than (dynamically bound) var `backend'.
270 2000-10-01 Andre Spiegel <spiegel@gnu.org>
272 * vc.el (vc-next-action-on-file): Update mode line only if file
274 (vc-start-entry): New argument initial-contents. Don't visit the file
275 if it isn't already visited. Brought documentation up-to-date.
276 (vc-next-action, vc-register): Updated calls to vc-start-entry.
277 (vc-checkin): New optional arg initial-contents, which is passed to
279 (vc-finish-logentry): Make sure to bury log buffer only if there
280 really is one. Call `vc-resynch-buffer' on log-file, not
282 (vc-default-comment-history, vc-default-wash-log): New functions.
283 (vc-index-of): Removed.
284 (vc-transfer-file): Make do without the above.
285 (vc-default-receive-file): Call comment-history unconditionally. Pass
286 the resulting string to vc-checkin, instead of inserting it into the
289 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
290 unconditionally. Use the comments as initial contents of the log
291 entry buffer. Document the trick to force branch creation with no
294 2000-10-01 Miles Bader <miles@gnu.org>
296 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
297 `recenter' with an arg to prevent redrawing the display.
299 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
301 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
303 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
305 * progmodes/c-mode.el (c-mode):
306 Don't gratuitously override the default for comment-column.
308 * textmodes/tex-mode.el (latex-metasection-list): New var.
309 (latex-imenu-create-index): Use it.
310 Move the regexp construction outside loops (and use push).
311 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
312 (tex-font-lock-keywords): Moved from font-lock.el.
313 (tex-comment-indent): Remove.
314 (tex-common-initialization): Don't set comment-indent-function.
315 (latex-block-default): New var.
316 (tex-latex-block): Use it to provide a default choice.
317 Add any unknown choice to latex-block-names.
318 Insert [...] after {...}.
319 (tex-last-unended-begin): Simplify regexp.
320 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
321 (latex-forward-sexp-1, latex-forward-sexp): New functions.
322 (latex-mode): Set forward-sexp-function.
324 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
325 Add regexp for @ignore ... @end ignore.
326 (texinfo-heading-face): New face.
327 (texinfo-font-lock-keywords): Use it.
328 (texinfo-mode-menu): New menu.
329 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
331 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
332 (texinfo-section-types-regexp, texinfo-section-level-regexp)
333 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
335 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
337 * delsel.el (delete-selection-mode): Use define-minor-mode.
339 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
341 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
343 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
345 2000-09-30 Gerd Moellmann <gerd@gnu.org>
347 * replace.el (keep-lines-read-args): New function.
348 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
349 read arguments interactively. Add parameters RSTART and REND.
350 Operate on the active region in Transient Mark mode.
352 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
354 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
355 (authors-obsolete-files-regexps): New variable.
356 (authors-add): Don't record changes in obsolete files.
358 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
360 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
362 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
363 (comment-indent): Make sure there's a space between code and comment.
364 Shift comments left to avoid going past fill-column.
366 2000-09-29 Gerd Moellmann <gerd@gnu.org>
368 * startup.el (startup-echo-area-message): New function.
369 (display-startup-echo-area-message): Use it.
370 (fancy-splash-screens): Rewritten to use keymaps and a timer.
371 (fancy-splash-default-action): New function.
372 (fancy-splash-screens-1): New function.
373 (fancy-splash-head): Put a help-echo and a keymap under the image.
375 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
377 * diff-mode.el (diff-add-log-file-name): Remove.
378 (diff-mode): Use add-log-buffer-file-name-function.
380 * add-log.el (find-change-log): New arg BUFFER-FILE.
381 (add-log-file-name): Obey add-log-file-name-function.
382 (add-log-buffer-file-name-function): New var.
383 (add-change-log-entry): Use it.
385 2000-09-29 Miles Bader <miles@gnu.org>
387 * image-file.el (image-file-name-extensions): New variable.
388 (image-file-name-regexps): Renamed from `image-file-regexps'.
389 New default value is nil. Call `auto-image-file-mode'.
390 (image-file-name-regexp): New function.
391 (auto-image-file-mode): New minor mode.
392 (insert-image-file): Don't make conditional on the image-file
393 handler being enabled.
394 (image-file-handler): Make the call here conditional instead.
395 (set-image-file-handler-enabled, enable-image-file-handler)
396 (disable-image-file-handler): Functions removed.
398 * emacs-lisp/authors.el (authors-print): Rephrase many-files
401 2000-09-29 Gerd Moellmann <gerd@gnu.org>
403 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
404 it's a function from CL.
405 (latex-imenu-create-index): Replace eval-when-compile with progn
406 because latex-section-alist is not bound while compiling.
408 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
410 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
411 (outline-mode): Use define-derived-mode.
413 * progmodes/perl-mode.el (perl-mode):
414 * progmodes/awk-mode.el (awk-mode):
415 * progmodes/asm-mode.el (asm-mode):
416 Don't gratuitously override the default for comment-column.
418 * emacs-lisp/lisp.el (lisp-complete-symbol):
419 Distinguish the let-binding case from the funcall case.
420 (forward-sexp-function): New variable.
421 (forward-sexp): Use it.
423 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
424 (easy-mmode-defmap): Remove the now useless autoload.
426 * time.el (display-time-mode): Use define-minor-mode.
428 * subr.el (add-minor-mode): Don't eval NAME.
429 Don't depend on the presence of TOGGLE-FUN for any special behavior.
430 Use if rather than cond.
432 * simple.el (read-expression-map): Define more properly.
433 (comment-indent-hook): Remove.
434 (string-to-syntax): Bug fix.
436 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
437 (cvs-ediff-diff): Fix typo.
438 (cvs-revert-if-needed): Don't bother preserving read-only.
440 * paren.el (show-paren-mode): Use define-minor-mode.
442 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
443 (toggle-auto-compression): Remove.
444 (jka-compr-build-file-regexp): Remove useless grouping.
446 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
447 Avoid user-reserved bindings.
448 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
449 (diff-header-face): Revert to grey85.
451 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
453 * complete.el (partial-completion-mode) <defcustom>: Remove.
454 (partial-completion-mode): Use define-minor-mode.
455 (PC-do-completion): Understand `completion-auto-help = delay'
456 to mean to popup the completion buffer only the second time.
457 (PC-include-file-all-completions, PC-include-file-all-completions)
458 (PC-include-file-all-completions): Don't quote lambda.
460 * comint.el (comint-mode-hook): Docstring fix.
461 (comint-mode): Use define-derived-mode.
462 (comint-mode-map): Remove obsolete comment.
463 (make-comint): Minor stylistic change.
464 (comint-insert-clicked-input): Be more careful to find the overlay.
465 Use this-command-keys rather than hardcoding mouse-2.
467 * font-lock.el: Replace confusing (,@ with ,
468 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
469 Don't use regexp-opt-depth. Spice up the regexp for args.
470 Don't distinguish between cmds that can take an opt arg or not.
471 Use `append' and `prepend' rather than `keep'.
473 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
474 (latex-outline-regexp): New var.
475 (latex-outline-level): New fun.
476 (latex-section-alist): New var.
477 (latex-imenu-create-index): Use it. Use `push' as well.
478 (tex-shell-map): Initialize it properly.
479 (tex-mode): Minor stylistic change.
480 (plain-tex-mode): Use define-derived-mode.
481 (latex-mode): Use define-derived-mode.
482 Construct the paragraph regexps in a more readable way.
483 Set the buffer-local outline-{level,regexp} vars.
484 (slitex-mode): Derive from latex-mode.
485 (tex-common-initialization): Don't kill-all-vars anymore.
486 Add setting for comment-add and font-lock-defaults.
487 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
488 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
489 (tex-start-tex): New arg DIR (and send a chdir command for it).
490 Also display the shell buffer and save it in tex-last-buffer-texed.
491 (tex-region): Use expand-file-name rather than concat.
492 Remove code made useless by changes in tex-start-tex.
493 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
495 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
497 2000-09-28 Dave Love <fx@gnu.org>
499 * eshell/eshell.el (eshell) <defgroup>: Add :version.
501 2000-09-28 Gerd Moellmann <gerd@gnu.org>
503 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
506 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
508 * info.el (Info-extract-pointer): Undo last change.
509 Instead, fix the position of the `bound' arg to re-search-backward.
511 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
513 * info.el (Info-extract-pointer):
514 Widen more carefully, to avoid finding pointers in other nodes.
515 (Info-index): Use push.
517 2000-09-27 Gerd Moellmann <gerd@gnu.org>
519 * frame.el (set-frame-font): Remove call to obsolete function
521 (set-foreground-color, set-background-color): Likewise for
522 frame-update-face-colors.
524 2000-09-27 Miles Bader <miles@gnu.org>
526 * image-file.el: New file.
528 2000-09-27 Gerd Moellmann <gerd@gnu.org>
530 * frame.el (frame-notice-user-settings): Don't call
531 frame-update-faces, which is a no-op now.
533 * ediff-wind.el (ediff-control-frame-parameters): Add zero
536 2000-09-27 Dave Love <fx@gnu.org>
538 * mouse.el: Fix last change.
540 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
542 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
544 2000-09-22 Kenichi Handa <handa@etl.go.jp>
546 * international/quail.el (quail-help): The output message is
549 2000-09-26 Dave Love <fx@gnu.org>
551 * mouse.el (popup-menu): If POSITION is nil, set it using
554 2000-09-25 Sam Steingold <sds@gnu.org>
556 * net/browse-url.el (browse-url-file-url): Check for null maps.
558 2000-09-26 Gerd Moellmann <gerd@gnu.org>
560 * frame.el (frame-notice-user-settings): Don't add a
561 tool-bar-lines frame parameter to default-frame-alist in batch mode.
563 * frame.el (frame-notice-user-settings):
564 Make tool-bar-mode and default-frame-alist consistent.
566 * toolbar/tool-bar.el (tool-bar-help): New function.
568 2000-09-25 Gerd Moellmann <gerd@gnu.org>
570 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
571 current-load-list in top-level forms. Else this leaks a cons cell
572 every time a defun is called.
574 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
576 2000-09-25 Dave Love <fx@gnu.org>
578 * startup.el (fancy-splash-head): Check XPM is available.
580 * autoinsert.el (auto-insert): Doc fix.
581 (auto-insert-alist): Following GNU notices, don't say `copyright
582 _by_'. Use line-beginning-position.
583 (auto-insert): Check buffer-file-name is non-nil before use.
585 2000-09-25 Gerd Moellmann <gerd@gnu.org>
587 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
588 starting with `@def' or `@multitable', in addition to ones
589 specified by the user in auto-fill-inhibit-regexp.
591 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
593 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
594 rmail-dont-reply-to-names matches the empty string.
596 2000-09-25 Gerd Moellmann <gerd@gnu.org>
598 * startup.el (command-line-1, fancy-splash-text): Change the
599 text to sound more friendly.
601 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
603 * progmodes/hideshow.el: Update author email address.
604 Generally, sync w/ maintainer version 5.22.
605 (hs-hide-all-non-comment-function): New var.
606 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
607 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
608 (hs-show-region): Delete this command.
609 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
611 2000-09-22 Dave Love <fx@gnu.org>
613 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
614 (hl-line-highlight): Specify buffer when moving overlay.
616 * progmodes/fortran.el (fortran-mode): Locally set
617 normal-auto-fill-function.
618 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
619 (fortran-mode-map): Adjust auto-fill menu entry.
621 2000-09-22 Gerd Moellmann <gerd@gnu.org>
623 * vc-rcs.el (toplevel): Require `vc' when compiling.
625 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
627 2000-09-22 Andre Spiegel <spiegel@gnu.org>
629 * vc.el (vc-switch-backend): Signal an error if the file is not
630 registered under the new backend.
632 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
633 without explicit revision number.
635 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
637 * diff-mode.el (diff-file-header-face): Reset to its previous value.
638 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
639 (diff-xor): New function.
640 (diff-find-source-location): Use it. Fix a stupid name clash.
641 (diff-hunk-status-msg): New function.
642 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
643 (diff-test-hunk): Use diff-find-source-location.
644 (diff-goto-source): Favor the `reverse'.
645 (diff-hunk-text): Properly handle one-sided context diffs.
646 (diff-apply-hunk): When done, advance to the next hunk.
648 2000-09-21 Gerd Moellmann <gerd@gnu.org>
650 * startup.el (command-line): If frame was created with a non-zero
651 tool-bar-lines parameter, switch tool-bar-mode on.
653 * add-log.el (change-log-date-face, change-log-name-face)
654 (change-log-email-face, change-log-file-face)
655 (change-log-list-face, change-log-conditionals-face)
656 (change-log-function-face, change-log-acknowledgement-face):
657 New faces, inheriting from font-lock faces.
658 (change-log-font-lock-keywords): Use them.
660 2000-09-21 Dave Love <fx@gnu.org>
662 * progmodes/cperl-mode.el (top-level): Clean up
663 `eval-when-compile's and assorted defvars.
664 (cperl-invalid-face): Don't double-quote value. Change custom
666 (cperl-mode): Set normal-auto-fill-function and don't zap
668 (cperl-imenu--function-name-regexp-perl): Renamed from
669 imenu-example--function-name-regexp-perl.
670 (cperl-imenu--create-perl-index): Renamed from
671 imenu-example--create-perl-index.
672 (cperl-xsub-scan): Don't require cl.
674 * msb.el (msb-mode-map): Use substitute-key-definition.
675 (msb-mode): Use msb-mode-map.
677 2000-09-21 Andre Spiegel <spiegel@gnu.org>
679 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
681 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
682 (vc-switch-backend): New function.
683 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
684 (vc-register): Fix prompt.
685 (vc-unregister, vc-default-unregister): New functions.
686 (vc-version-diff): Handle empty buffer in sentinel.
688 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
689 (vc-rcs-state-heuristic): Use it to guess the state of files with
691 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
692 been set with -b, but not created yet.
693 (vc-rcs-fetch-master-state): With non-strict locking, compare file
694 contents in order to find the state.
695 (vc-rcs-checkin): Allow creation of branches with no changes.
696 (vc-rcs-unregister, vc-rcs-receive-file)
697 (vc-rcs-set-non-strict-locking): New functions.
699 * vc-hooks.el (vc-name): Force correct computation of the value
700 in case it is missing.
702 2000-09-21 Gerd Moellmann <gerd@gnu.org>
704 * startup.el (fancy-splash-tail): Use a different foreground
705 color on a dark frame background.
707 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
709 * info.el: Use the correct capitalization when making Info-mode
710 and Info-edit-mode `special' modes.
712 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
714 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
715 (diff-mode): Add support for add-log.el.
716 (diff-hunk-text): Use char offsets rather than line offsets.
717 (diff-find-source-location): Replace LINE with line-offset (nil
718 if not found) and always set POS to a meaningful position.
719 Adapt to the new char-offsets.
720 (diff-apply-hunk): Drop support for the unused `select' POPUP.
721 Adapt to the new diff-find-source-location.
722 (diff-goto-source): Adapt to the new diff-find-source-location.
724 * add-log.el (add-log-file-name): New function (split out of
725 add-change-log-entry).
726 (add-change-log-entry): Use it.
727 Call add-log-file-name-function with the changelog file name if
728 the current buffer is not associated with any file.
729 Avoid find-file if the selected window is dedicated.
731 * diff-mode.el (diff-find-source-location):
732 Move code from diff-apply-hunk. Return buffer rather than file.
733 (diff-apply-hunk): Use the new result from diff-find-source-location.
734 (diff-goto-source): Use the new diff-find-source-location.
736 2000-09-20 Dave Love <fx@gnu.org>
738 * iswitchb.el: Some doc fixes.
739 (iswitchb-mode-map): Define completely initially. Inherit
740 minibuffer-local-map.
741 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
743 (iswitchb-global-map): New variable.
744 (iswitchb-summaries-to-end): Amalgamate regexps.
745 (iswitchb-mode): New.
746 (iswitchb-mode-hook): New variable.
747 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
750 2000-09-20 Gerd Moellmann <gerd@gnu.org>
752 * ehelp.el (electric-help): New defgroup.
753 (electric-help-shrink-window): New user-option.
754 (with-electric-help): Use it.
756 * window.el (shrink-window-if-larger-than-buffer): If face
757 `mode-line' has a :box, and we're on a graphical frame, add 1
758 to the needed window height.
760 * frame.el (frame-notice-user-settings): Add a last parameter nil
761 to a call to `append', because the last list passed to `append' is
762 not copied, and so subsequent calls to assq-delete-all will modify
765 * startup.el (fancy-splash-image): Change :type.
766 (fancy-splash-head): Use an XBM image if appropriate.
767 (command-line-1): Show splash screens in more cases.
769 * startup.el (fancy-splash-text): Don't quote faces.
771 * dired.el (dired-font-lock-keywords): Undo last change.
772 (dired-readin): Bind indent-tabs-mode to nil.
774 * startup.el (fancy-splash-head): If frame's background mode
775 is `dark', change the black background of the image to gray.
776 (fancy-splash-screens): Display startup echo area message.
777 (display-startup-echo-area-message): New function.
779 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
781 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
783 * info.el (info-header-node): Tweak for color ttys.
785 * faces.el (face-valid-attribute-values): Make sure directories we
786 search for stipples both exist and are readable before trying to
789 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
792 * jka-compr.el (with-auto-compression-mode): New macro.
794 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
795 (custom-group-tag-face, custom-variable-tag-face): Use relative
796 :height and inherit from `variable-pitch' face instead of
798 * hi-lock.el (hi-black-hb): Likewise.
800 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
801 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
802 toolbar-add-item, if image doesn't have a mask add a `:mask
805 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
807 * diff-mode.el: Docstring fixes.
808 (diff-header-face, diff-comment-face): New faces.
809 (diff-font-lock-keywords): Highlight a bit differently.
810 (diff-find-source-location): Don't return SPAN any more.
811 (diff-hunk-text): Don't bother erasing the temp buffer.
812 (diff-find-text): Drop argument LINE.
813 (diff-apply-hunk): Update calls to diff-find-text.
814 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
816 * calendar/calendar.el: Docstring fixes.
817 (calendar-make-alist): Don't quote lambda.
818 (calendar-star-date): Use make-local-variable.
820 2000-09-19 Dave Love <fx@gnu.org>
822 * toolbar/tool-bar.el: Renamed from toolbar.el.
823 Change `toolbar' to `tool-bar' generally in symbols.
824 Make some items invisible in `special' major modes.
825 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
828 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
830 (fancy-splash-delay, fancy-splash-image): Remove :version here.
832 2000-09-19 Gerd Moellmann <gerd@gnu.org>
834 * progmodes/sh-script.el (sh-search-word): Remove call to
837 * files.el (find-file-suppress-same-file-warnings): New
839 (find-file-noselect): Use it.
841 * startup.el (fancy-splash-delay, fancy-splash-image): Add
843 (fancy-splash-screen): Defgroup.
845 * add-log.el (change-log-font-lock-keywords): Match names
846 more exactly for the case that font-lock-constant-face is
849 2000-09-19 Richard M. Stallman <rms@gnu.org>
851 * progmodes/sh-script.el (sh-search-word): Rewritten for
854 2000-09-19 Andre Spiegel <spiegel@gnu.org>
856 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
858 2000-09-19 Gerd Moellmann <gerd@gnu.org>
860 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
861 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
862 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
863 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
864 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
865 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
866 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
867 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
868 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
869 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
870 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
871 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
873 * startup.el (fancy-splash-text): New variable.
874 (fancy-splash-delay, fancy-splash-image): New user-options.
875 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
876 (fancy-splash-screens): New functions.
877 (command-line-1): If display has a `display' frame parameter, has
878 colors, and we have XPM support, show more fancy splash screens.
880 2000-09-19 Dave Love <fx@gnu.org>
882 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
883 with null `help'. Use modern backquote syntax.
885 2000-09-19 Gerd Moellmann <gerd@gnu.org>
887 * font-lock.el (font-lock-mode): Change message telling the user
888 that ``the buffer is too big''.
890 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
891 for instance for the case that tab-width is 2.
893 2000-09-18 Gerd Moellmann <gerd@gnu.org>
895 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
896 toolbar-add-item, if image doesn't have a mask add a `:mask
899 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
901 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
902 and return a cons if it's non-nil.
903 (diff-apply-hunk): Try to jump to the line in the source text
904 corresponding to the position of point in the in the hunk.
906 * info.el (Info-title-3-face, Info-title-2-face)
907 (Info-title-1-face): Use face inheritance and relative sizes
908 instead of hard-wiring things.
910 * faces.el (secondary-selection): Make dark-background variant sane.
912 2000-09-16 Andrew Innes <andrewi@gnu.org>
914 * makefile.nt (compile-files): No need to make .elc files
915 read-only, since they aren't under VC now.
917 * makefile.w32-in (compile-files-CMD): No need to make .elc files
918 read-only, since they aren't under VC now.
920 2000-09-17 Dave Love <fx@gnu.org>
922 * tmm.el: Replace mapcar with mapc in several places.
924 * loadhist.el (unload-feature): Maybe call elp-restore-list and
927 * international/latin1-disp.el: New file.
929 * calendar/cal-move.el (scroll-calendar-left)
930 (scroll-calendar-right): Make arg optional (for active mode line).
932 * calendar/calendar.el (calendar-mode-line-format): Make fields
934 (calendar-read-date, calendar-read-date, calendar-window-list):
936 (calendar-month-name): Use aref, not sref.
938 * view.el (minor-mode-alist): Propertize the string.
940 * international/characters.el (standard-case-table): Add entries
943 2000-09-18 Miles Bader <miles@gnu.org>
945 * info.el (info-node, info-xref): Add dark-background variants.
947 * faces.el (header-line): Change defaults to be less confusing
948 when mixed with mode-lines.
950 * info.el (Info-fontify-node): Make a few cleanups.
951 Add extra `help-echo' and `local-map' props to node xrefs.
952 Use header-specific faces for node-names & xrefs.
953 (Info-use-header-line): New variable.
954 (info-header-xref, info-header-node): New faces.
955 (Info-setup-header-line): New function.
956 (Info-select-node): Call Info-setup-header-line when enabled.
957 (Info-extract-pointer): Work even if the header line is hidden.
958 (Info-header-line): New variable.
960 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
962 * vms-patch.el (print-region-function): Don't quote lambda.
964 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
966 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
967 (lm-get-header-re): Allow spaces between the header and the colon.
968 (lm-header): Allow $ in non-RCS headers.
969 (lm-header-multiline): Put the strings back into order.
970 Stop at an empty line. Don't require two space chars if the
971 line is clearly not another header line.
973 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
974 (popup-menu-popup): Remove.
976 2000-09-15 Gerd Moellmann <gerd@gnu.org>
978 * toolbar/toolbar.el (toolbar-add-item): Use the same image
979 specification if or if not tool-bar item contains an `:enabled'
982 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
983 current buffer has no file name.
985 2000-09-15 Dave Love <fx@gnu.org>
987 * strokes.el: Sync with maintainer's current version with changes
988 for Emacs, but avoid runtime cl and levents.
989 (toplevel): Change autoloads and compilation requires.
990 (strokes-version, strokes-bug-address, strokes-lift): Values
992 (strokes-xpm-header, strokes-insinuated): New variable.
993 (strokes): Add :link.
994 (strokes-mode): Customized.
995 (strokes-while-inhibiting-garbage-collector): New macro.
996 (strokes-remassoc): Avoid remove-if.
997 (strokes-fix-button2-command): Don't use ad-do-it.
998 (strokes-insinuate): New function.
999 (strokes-button-press-event-p, strokes-button-release-event-p):
1000 New functions, used instead of non-`strokes-' versions..
1001 (strokes-mouse-event-p): Rewritten.
1002 (strokes-event-closest-point): Avoid event-point.
1003 (strokes-get-grid-position): Avoid cdadr, caadr
1004 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
1006 (strokes-help): Use with-output-to-temp-buffer.
1007 (strokes-window-configuration-changed-p): New function.
1008 (strokes-update-window-configuration): Use buffer-live-p,
1009 strokes-window-configuration-changed-p.
1010 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
1011 (strokes-char-face): New face.
1012 (strokes-char-table, strokes-base64-chars): New variable.
1013 (strokes-xpm-for-stroke, strokes-list-strokes)
1014 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
1015 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
1016 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1017 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
1018 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
1021 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1023 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
1025 * image.el (create-image): Doc fix.
1027 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
1028 instead of `:heuristic-mask t'.
1030 2000-09-14 Andrew Innes <andrewi@gnu.org>
1032 * makefile.w32-in: Revert to Unix line endings.
1034 2000-09-14 Andrew Innes <andrewi@gnu.org>
1036 * makefile.w32-in: Add bootstrap support. Also copy lisp source
1039 * makefile.nt (DONTCOMPILE): Fix typo.
1041 * shell.el (shell-write-history-on-exit): New function.
1042 (shell-dumb-shell-regexp): New custom variable.
1043 (shell-mode): Make shell-write-history-on-exit the process
1044 sentinel if shell name matches shell-dumb-shell-regexp.
1046 * w32-fns.el: Comment out before-init-hook function which resets
1047 source-directory based; this breaks bootstrap.
1049 2000-09-14 Dave Love <fx@gnu.org>
1051 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
1052 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
1053 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
1054 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
1055 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
1056 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
1057 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
1058 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
1059 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
1061 * toolbar/toolbar.el: New.
1063 * subdirs.el: Add toolbar.
1065 2000-09-14 Gerd Moellmann <gerd@gnu.org>
1067 * indent.el (indent-for-tab-command): Doc fix.
1069 2000-09-14 Alex Schroeder <alex@gnu.org>
1071 * ansi-color.el (ansi-colors): Doc change.
1072 (ansi-color-get-face): Simplified regexp.
1073 (ansi-color-faces-vector): Added more faces, doc change.
1074 (ansi-color-names-vector): Doc change.
1075 (ansi-color-regexp): Simplified regexp.
1076 (ansi-color-parameter-regexp): New regexp.
1077 (ansi-color-filter-apply): Doc change.
1078 (ansi-color-filter-region): Doc change.
1079 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
1080 deal with zero length parameters.
1081 (ansi-color-apply-on-region): Doc change.
1082 (ansi-color-map): Doc change.
1083 (ansi-color-map-update): Removed debugging message.
1084 (ansi-color-get-face-1): Added condition-case to trap
1085 args-out-of-range errors.
1086 (ansi-color-get-face): Doc change.
1087 (ansi-color-make-face): Removed.
1088 (ansi-color-for-shell-mode): New option.
1090 2000-09-13 Kenichi Handa <handa@etl.go.jp>
1092 * international/quail.el (quail-start-translation): Translate KEY
1093 if necessary even if it doesn't have any mapping in the current
1095 (quail-start-conversion): Likewise.
1096 (quail-help): The output message is improved.
1098 2000-09-13 Miles Bader <miles@gnu.org>
1100 * comint.el (comint-output-filter): Revert to using
1101 `insert-before-markers'. Add bletcherous hack to undo damage
1102 caused by `insert-before-markers'. Put `front-sticky' property on
1103 overlays created here so that the field code understands how the
1104 overlay works. Use a let when making comint-last-prompt-overlay,
1105 so that the code is easier to read.
1107 2000-09-13 Dave Love <fx@gnu.org>
1109 * wid-edit.el (widget-default-format-handler): DTRT when
1110 doc-property is a function.
1112 2000-09-12 Francesco Potorti` <pot@gnu.org>
1114 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
1115 filed name if it's not there.
1117 2000-09-12 Dave Love <fx@gnu.org>
1119 * simple.el (read-mail-command): Doc fix.
1120 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
1122 * vc.el (vc-dired-listing-switches): Fix :version.
1124 * vc-hooks.el: Doc fixes.
1126 * subr.el (add-minor-mode): Use toggle-fun arg.
1128 * speedbar.el: Add :version to several defcustoms.
1130 * imenu.el (imenu--truncate-items, imenu--cleanup)
1131 (imenu--generic-function): Avoid mapcar.
1132 (imenu--replace-spaces): Function removed.
1133 (imenu--completion-buffer): Use subst-char-in-string.
1134 (imenu-add-to-menubar): Use keymap inheritance.
1136 2000-09-12 Miles Bader <miles@gnu.org>
1138 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
1139 (diff-mode-map): Bind `diff-test-hunk'.
1140 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
1142 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1144 * bytecomp.el (byte-compile-defvar): Undo last change
1145 because it breaks '(make-variable-buffer-local (defvar ...)'
1146 which is used at least in dired.
1148 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1150 * international/quail.el (quail-define-package): Docstring
1153 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1155 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
1156 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
1157 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
1158 docstring of "chinese-py".
1160 * international/quail.el (quail-translation-docstring): New
1162 (quail-show-keyboard-layout): Docstring modified.
1163 (quail-select-current): Likewise.
1164 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
1165 infinite recursive call.
1166 (quail-help): Check quail-translation-docstring. Format of the
1168 (quail-help-insert-keymap-description): Adjusted for the above
1171 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1173 * bytecomp.el (byte-compile-defvar): Only cons onto
1174 current-load-list in top-level forms. Else this leaks a cons cell
1175 every time a defun is called.
1177 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
1179 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
1180 Now understands non-unified diffs. Some functionality moved into
1181 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
1182 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
1183 modify anything. Only reposition point in the patched file if the
1184 patch succeeds. Only pop up another window if POPUP is true.
1185 Emit a message describing what happened if successful, and at what
1186 line-offset. Automatically detect reversed hunks and do something
1188 (diff-hunk-text, diff-find-text): New functions.
1189 (diff-filter-lines): Function removed.
1190 (diff-test-hunk): New function.
1191 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
1193 2000-09-10 Dave Love <fx@gnu.org>
1195 * textmodes/tildify.el: Minor doc/commentary fixes.
1196 (tildify) <defgroup>: Add :version.
1198 * faces.el (face-x-resources): Make custom type more specific.
1199 (frame-background-mode): Use mapc.
1200 (region) <defcustom>: Add :version.
1202 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
1204 * vc-sccs.el (vc-sccs-register):
1205 * vc-rcs.el (vc-rcs-register):
1206 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
1207 * vc.el (vc-register): Clear file's properties.
1209 2000-09-08 Gerd Moellmann <gerd@gnu.org>
1211 * faces.el (face-spec-set): Only face-spec-reset-face when
1214 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
1216 * help.el (help-insert-xref-button): Fix a typo in doc string.
1218 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
1220 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1221 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
1224 * menu-bar.el (read-mail-item-name): New function.
1225 (menu-bar-tools-menu): Use it to compute and display the package
1227 (menu-bar-tools-menu): Fix typo in GUD's help string.
1229 2000-09-07 Dave Love <fx@gnu.org>
1231 * diff-mode.el (diff-mouse-goto-source): New function.
1233 * vc-sccs.el: Doc fixes.
1234 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
1236 * vc-rcs.el: Doc fixes.
1237 (vc-rcs-register-switches, vc-rcs-checkin-switches)
1238 (vc-rcs-checkout-switches, vc-rcs-header)
1239 (vc-rcs-master-templates): Add or change :version.
1241 * vc-cvs.el: Doc fixes.
1242 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
1243 (vc-cvs-stay-local): Add :version.
1245 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
1247 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1249 * international/quail.el (quail-help): Fix previous change.
1251 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1253 * faces.el (color-values): Doc fix.
1255 * faces.el (frame-set-background-mode): Use frame-parameter
1256 instead of frame-parameters.
1258 * frame.el (filtered-frame-list): Reduce consing.
1259 (frames-on-display-list): Call frame-parameter instead of
1262 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1264 * language/devan-util.el (devanagari-to-indian-region): In the
1265 loop, change the following char, not preceding char.
1267 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1269 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
1270 instead of frame-parameters.
1272 * faces.el (set-face-attribute): Simplify by calling
1273 internal-set-lisp-face-attribute with FRAME being 0.
1275 * vc.el: Remove `Id' version control keyword.
1277 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1279 * help.el (help-make-xrefs): Adjusted for the change of
1280 help-xref-mule-regexp.
1281 (help-insert-xref-button): New function.
1283 * international/mule-cmds.el (help-xref-mule-regexp-template):
1284 Include the pattern for character set.
1287 * international/quail.el: Don't require face.
1289 (quail-other-command): Dummy command to make quail-help work better.
1290 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
1291 (quail-keyboard-layout-substitution): New variable.
1292 (quail-update-keyboard-layout): New function.
1293 (quail-keyboard-layout-type): New customizable variable.
1294 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
1295 (quail-keyboard-translate): Pay attention to
1296 quail-keyboard-layout-substitution.
1297 (quail-insert-kbd-layout): New function.
1298 (quail-show-keyboard-layout): New function.
1299 (quail-get-translation): If the definition is a vector of length
1300 1, and the element is a string of length 1, return the character
1302 (quail-update-current-translations): Fix the case of
1303 relative-index out of range.
1304 (quail-build-decode-map, quail-insert-decode-map): New Functions.
1305 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
1306 Show key sequences for all available characters.
1307 (quail-help-insert-keymap-description): Don't show such verbose
1308 key bindings as quail-self-insert-command.
1310 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1311 Format changed, and each element now have extra documentations.
1312 (tit-process-header): Delete invalid characters from TIT-PROMPT.
1313 Adjusted for the change of quail-cxterm-package-ext-info.
1315 2000-09-06 Gerd Moellmann <gerd@gnu.org>
1317 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
1318 requiring it leads to a recursive loading of vc.el and vc-hooks.el
1321 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1323 * vc.el: (toplevel): Don't require `dired' at run-time.
1324 (vc-dired-resynch-file): Remove autoload cookie.
1326 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1328 * vc.el: Made several backend functions optional.
1329 (vc-default-responsible-p): New function.
1330 (vc-merge): Use RET for first version to trigger merge-news, not
1332 (vc-annotate): Handle backends that do not support annotation.
1333 (vc-default-merge-news): Removed. The existence of a merge-news
1334 implementation is now checked on caller sites.
1336 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
1339 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
1340 special case that has been removed from the default in vc-hooks.el.
1342 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1344 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
1346 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1348 * vc-hooks.el: Require vc during compilation.
1349 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
1350 macro `with-vc-properties' in vc.el.
1351 (vc-file-getprop): Doc fix.
1352 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
1354 * vc.el: Require dired-aux during compilation.
1355 (vc-name-assoc-file): Moved to vc-sccs.el.
1356 (with-vc-properties): New macro.
1357 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
1358 vc-finish-steal): Use it.
1359 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
1360 to the backend-specific function is now supposed to do the checkout,
1362 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
1364 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
1365 set file properties; that gets done in the generic code now.
1367 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
1368 Changed parameter list, added code from vc.el that does the
1369 checkout, possibly with a double-take.
1371 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
1372 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
1373 the above under the new name.
1374 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
1375 parameter list, added checkout command.
1376 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
1377 properties; that gets done in the generic code now.
1379 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1381 * vc.el: Docstring fixes (courtesy of checkdoc).
1383 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1385 * vc.el (vc-checkout-writable-buffer-hook)
1386 (vc-checkout-writable-buffer): Remove.
1387 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
1388 (vc-log-mode): Make it into a clean derived major mode.
1389 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
1390 vc-log-mode if log-edit is not available.
1391 (vc-dired-mode-map): Don't set-keymap-parent yet.
1392 (vc-dired-mode): Do set-keymap-parent here.
1393 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
1395 2000-09-05 Gerd Moellmann <gerd@gnu.org>
1397 * faces.el (set-face-attribute, face-spec-reset-face)
1398 (face-spec-set): Avoid consing by removing calls to `apply'.
1400 * frame.el (frame-parameter): Move to C code.
1402 2000-09-05 Dave Love <fx@gnu.org>
1404 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
1405 insert-before-markers-and-inherit. Now checked systematically!
1407 2000-09-05 Alex Schroeder <alex@gnu.org>
1409 * sql.el (sql-postgres): Use sql-postgres-options.
1410 (sql-postgres-options): New variable.
1412 2000-09-05 Alex Schroeder <alex@gnu.org>
1414 * sql.el (sql-mode-menu): Work around missing variable mark-active
1416 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
1417 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
1420 2000-09-04 Gerd Moellmann <gerd@gnu.org>
1422 * vc.el (vc-dired-resynch-file): Add autoload cookie.
1424 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
1426 * Makefile.in (DONTCOMPILE): Fix typo in file name.
1428 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1430 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
1431 don't support anything else under SCCS yet.
1433 * vc-hooks.el: Minor doc fixes.
1435 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1437 * vc.el (vc-next-action-on-file): Do not visit the file if it's
1438 not necessary. If verbose in state `needs-patch', do the same as
1439 under `up-to-date'. When NOT verbose and `needs-patch', check out
1440 latest version instead of `merge-news'.
1441 (vc-next-action-dired): Don't mess with default-directory here; it
1442 breaks other parts of dired. It is the job of the
1443 backend-specific functions to adjust it temporarily if they need it.
1444 (vc-next-action): Remove a special CVS case.
1445 (vc-clear-headers): New optional arg FILE.
1446 (vc-checkin, vc-checkout): Set properties vc-state and
1447 vc-checkout-time properly.
1448 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
1449 (vc-print-log): Use new backend function `show-log-entry'.
1450 (vc-cancel-version): Do the checks in a different order. Added a
1451 FIXME concerning RCS-only code.
1453 * vc-rcs.el (vc-rcs-show-log-entry): New function.
1454 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
1456 * vc-cvs.el (vc-cvs-show-log-entry): New function.
1458 * vc-hooks.el (vc-default-mode-line-string): Show state
1459 `needs-patch' as a `-' too.
1461 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1463 * vc.el (vc-responsible-backend): New optional arg REGISTER.
1464 (vc-default-could-register): New function.
1465 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
1466 (vc-resynch-buffer): Call vc-dired-resynch-file.
1467 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
1468 vc-resynch-buffer instead of vc-resynch-window.
1469 (vc-next-action-dired): Don't redisplay here, that gets done as a
1470 result of the individual file operations.
1471 (vc-retrieve-snapshot): Corrected prompt order.
1473 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
1475 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
1477 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
1478 hostname regexps. Updated all callers.
1479 (vc-cvs-responsible-p): Handle directories as well.
1480 (vc-cvs-could-register): New function.
1481 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
1482 properties up-to-date.
1484 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
1485 user whether to create one.
1487 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1489 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
1490 check out a non-existing file.
1492 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
1493 workfile does not exist.
1495 * vc.el (vc-version-diff): Use `require' to check for existence of
1498 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1500 * vc-cvs.el (vc-cvs-registered): Use new function
1501 vc-cvs-parse-entry to do the actual work.
1503 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1505 * vc-hooks.el (vc-find-backend-function): If function doesn't
1506 exist, return nil instead of error.
1507 (vc-call-backend): Doc fix.
1509 * vc.el (vc-do-command): Doc fix.
1510 (vc-finish-logentry): When checking in from vc-dired, choose the
1511 right backend for logentry check.
1512 (vc-dired-mode-map): Inherit from dired-mode-map.
1513 (vc-dired-mode): Local value of dired-move-to-filename-regexp
1515 (vc-dired-state-info): Removed, updated caller.
1516 (vc-default-dired-state-info): Use parentheses instead of hyphens.
1517 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
1518 (vc-dired-listing-switches): New variable.
1519 (vc-directory): Use it, instead of dired-listing-switches.
1521 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
1522 (vc-cvs-dir-state): New function.
1523 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
1524 (vc-cvs-parse-entry): New function, also to be used in
1527 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1529 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
1530 *or* single-window-frames.
1532 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1534 * vc.el (vc-update-changelog): Split into generic part and default
1535 implementation. Doc string adapted.
1536 (vc-default-update-changelog): New function. Call the `rcs2log'
1537 script in exec-directory, to fix a long-standing nuisance.
1539 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
1540 simply signals an error.
1542 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1544 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
1545 control-flow more clear and to avoid running `cvs' twice.
1547 * vc.el (vc-next-action-on-file): Doc fix.
1548 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
1549 (vc-print-log): Eval `file' before constructing the continuation.
1551 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1553 * vc.el (vc-next-action-on-file): Corrected several messages.
1554 (vc-merge): Add prefix arg `merge-news'; handle it.
1556 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
1557 is not reached. It is.
1558 (vc-cvs-merge): Set state to 'edited after merge.
1559 (vc-cvs-merge-news): Set workfile version to nil if not known.
1560 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
1562 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
1563 via stdout. (Merge from main line.)
1565 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1567 * vc.el (vc-finish-logentry): Thinko in the "same comment"
1570 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1572 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
1573 against kill-all-local-variables.
1574 (vc-log-edit): Don't save vc-parent-buffer any more.
1575 (vc-last-comment-match): Initialize to an empty string.
1576 (vc-post-command-functions): New hook.
1577 (vc-do-command): Run it.
1578 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
1579 (vc-finish-logentry): Only add the comment to the ring if it's
1580 different from the last comment entered.
1581 (vc-new-comment-index): New function.
1582 (vc-previous-comment): Use it. Make the minibuffer message
1583 slightly less terse.
1584 (vc-comment-search-reverse): Make it work forward as well. Don't
1585 set vc-comment-ring-index if no match is found. Use
1586 vc-new-comment-index.
1587 (vc-comment-search-forward): Use vc-comment-search-reverse.
1588 (vc-dired-mode-map): Don't inherit from dired-mode-map since
1589 define-derived-mode will do it for us. Bind `v' to a keymap that
1590 inherits from vc-prefix-map so that we can bind `vt' without
1592 (vc-retrieve-snapshot): Parenthesis typo.
1594 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
1595 to 1. Make sure to switch to *vc* before looking for an error
1596 message. Use vc-parse-buffer.
1598 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1600 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
1602 (vc-retrieve-snapshot): Split into two parts.
1603 (vc-default-retrieve-snapshot): New function.
1605 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
1606 (vc-cvs-retrieve-snapshot): New function (untested).
1607 (vc-cvs-stay-local): Default to t.
1608 (vc-cvs-remote-p): New function and property.
1609 (vc-cvs-state): Stay local only if the above is t.
1610 (vc-handle-cvs): Removed.
1611 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
1612 done via vc-handled-backends now.
1613 (vc-cvs-header): Escape Id.
1615 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1617 * vc.el (vc-do-command): Remove unused commands.
1618 (vc-version-diff): Make sure default-directory ends with a slash.
1619 Move the window commands into a vc-exec-after.
1620 (vc-print-log): Move more of the code into the `vc-exec-after'.
1622 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1624 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
1625 (vc-print-log): Search current revision from beginning of buffer.
1626 (vc-revert-buffer): Clear echo area after the diff is finished.
1627 (vc-prefix-map): Removed definition of "t" for terse display in vc
1629 (vc-dired-mode-map): Inherit from dired-mode-map. Added
1630 definition of "vt" for terse display.
1631 (vc-dired-mode): Fix dired-move-to-filename-regexp.
1633 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1635 * vc.el (vc-exec-after): Avoid caddr.
1637 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1639 * vc.el (vc-exec-after): New function.
1640 (vc-do-command): Use it to add a termination message for async
1642 (vc-checkout): Try to handle a missing-backend situation.
1643 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
1644 of a directory with a backend using async diffs.
1645 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
1648 * vc-sccs.el (vc-sccs-state-heuristic): Use
1649 file-ownership-preserved-p.
1651 * vc-rcs.el (vc-rcs-state-heuristic): Use
1652 file-ownership-preserved-p.
1653 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
1655 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1657 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
1660 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
1661 when there are no changes.
1663 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1665 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
1667 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
1669 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1671 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
1673 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
1674 the `fset' outside of the defvar so that it works even if
1675 vc-prefix-map was already defined.
1676 (vc-setup-buffer): New function, split out of vc-do-command.
1677 (vc-do-command): Allow BUFFER to be t to mean `just use the
1678 current buffer without any fuss'.
1679 (vc-version-diff): Change the `diff' backend operation to just put
1680 the diff in the current buffer without erasing it. Always use
1681 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
1682 shrink-window-if-larger-than-buffer.
1683 (vc-print-log): Change the `print-log' backend operation to just
1684 put the log in the current buffer without erasing it. Protect
1685 shrink-window-if-larger-than-buffer.
1686 (vc-update-change-log): Fix setd typo.
1688 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
1689 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
1691 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
1692 (vc-rcs-diff): Insert in the current buffer and remove unused arg
1695 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
1696 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
1697 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
1699 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1701 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
1702 not possible, use vc-BACKEND-workfile-unchanged-p.
1703 (vc-default-workfile-unchanged-p): New function. Delegates to a
1704 full vc-BACKEND-diff.
1706 * vc-hooks.el (vc-simple-command): Removed.
1708 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
1709 instead of vc-simple-command.
1710 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
1711 avoid doing a diff when opening a file.
1712 (vc-rcs-state): Added check for unlocked-changes.
1713 (vc-rcs-header): Escape Id.
1714 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
1715 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
1718 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
1719 (vc-sccs-diff): Remove optional arg CMP.
1720 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
1721 SCCS-specific function.
1723 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
1726 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1728 * vc.el (vc-editable-p): Renamed from vc-writable-p.
1729 (with-vc-file, vc-merge): Use vc-editable-p.
1730 (vc-do-command): Remove unused var vc-file and fix the
1731 doubly-defined `status' var. Add a user message when starting an
1733 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
1734 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
1735 Use with-current-buffer.
1736 (vc-buffer-sync): Use unless.
1737 (vc-next-action-on-file): If the file is 'edited by read-only,
1738 make it read-write instead of trying to commit.
1739 (vc-version-diff, vc-update-change-log): Use `setq
1740 default-directory' rather than `cd'.
1741 (vc-log-edit): Don't forget to set default-directory in the
1744 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
1745 (vc-sccs-state-heuristic): Use file-writable-p instead of
1747 (vc-sccs-checkout): Use `unless'.
1749 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
1750 of comparing userids.
1751 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
1752 Simplify the logic by eliminating unreachable code.
1753 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
1754 just do a recursive call if we need to retry.
1755 (vc-rcs-checkout): Handle the case where rcs is missing by making
1756 the buffer read-write if requested and re-signalling the error.
1758 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
1760 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1762 * vc-hooks.el (vc-handled-backends): Docstring change.
1763 (vc-ignore-vc-files): Mark obsolete.
1764 (vc-registered): Check vc-ignore-vc-files.
1765 (vc-find-file-hook, vc-file-not-found-hook): Don't check
1768 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
1770 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1772 * vc.el (vc-checkout): Don't do anything special for ange-ftp
1773 files since ange-ftp already has vc-registered return nil.
1775 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
1776 (vc-sccs-workfile-version): Use with-temp-buffer and new
1777 vc-parse-buffer and don't bother setting the property.
1778 (vc-sccs-add-triple): Use with-current-buffer and
1780 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
1782 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
1783 derives from the old vc-parse-buffer but uses the revision number
1784 rather than the date (much easier to compare robustly).
1785 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
1786 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
1787 locking-user more directly. Check strict locking and set
1788 checkout-model appropriately.
1789 (vc-rcs-parse-locks): Remove.
1790 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
1791 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
1792 (vc-rcs-system-release): Use with-current-buffer and
1794 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
1796 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
1797 (vc-simple-command): Docstring fix.
1798 (vc-registered): Align the way the file-handler is called with the
1799 way the function itself works.
1800 (vc-file-owner): Remove.
1802 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
1803 extraction of fields and call to file-attributes because of a
1804 temporary bug in rcp.el.
1805 (vc-cvs-fetch-status): Use with-current-buffer.
1807 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1809 * vc.el (vc-do-command): Use file-relative-name.
1810 (vc-responsible-backend): Use vc-backend if possible.
1811 (vc-create-snapshot): Improve the `interactive' spec. Add support
1812 for branches and dispatch to backend-specific `create-snapshot'.
1813 (vc-default-create-snapshot): New function, containing the bulk of
1814 the old vc-create-snapshot.
1815 (vc-retrieve-snapshot): Improve the interactive spec.
1817 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
1818 (vc-backend-hook-functions): Remove.
1819 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
1820 (vc-backend): Reintroduce the test for `file = nil' now that I
1821 know why it was there (and added a comment to better remember).
1823 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
1824 code from vc-sccs-hooks.el.
1825 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
1827 (vc-sccs-responsible-p): Use expand-file-name instead of concat
1828 and file-directory-p instead of file-exists-p.
1829 (vc-sccs-check-headers): Simplify the regexp.
1831 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
1832 from vc-rcs-hooks.el. Don't require 'vc anymore.
1833 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
1834 file-directory-p instead of file-exists-p.
1836 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
1837 from vc-cvs-hooks.el.
1838 (proto vc-cvs-registered): Require 'vc-cvs instead of
1839 'vc-cvs-hooks. Don't require 'vc anymore.
1840 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
1841 file-directory-p instead of file-exists-p.
1842 (vc-cvs-create-snapshot): New function, replacing
1844 (vc-cvs-assign-name): Remove.
1846 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1848 * vc-cvs.el (vc-cvs-header): New var.
1850 * vc-rcs.el (vc-rcs-exists): Remove.
1851 (vc-rcs-header): New var.
1853 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
1854 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
1855 (vc-sccs-header): New var.
1857 * vc.el (vc-do-command): Get rid of the `last' argument.
1858 (vc-header-alist): Remove, replaced by vc-X-header.
1859 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
1860 (vc-dired-hook): Use expand-file-name instead of concat.
1861 (vc-directory): Use file-name-as-directory.
1862 (vc-snapshot-precondition, vc-create-snapshot)
1863 (vc-retrieve-snapshot): Allow the command to operate on any
1866 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
1867 just removing the 'WORKFILE argument or by removing the 'MASTER
1868 argument and replacing `file' with (vc-name file).
1870 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1872 * vc.el: Update Copyright and add a crude list of backend funs.
1873 (vc-writable-p): New function.
1874 (with-vc-file): Use vc-writable-p.
1875 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
1876 (vc-register): Avoid vc-name.
1877 (vc-locking-user): Remove.
1878 (vc-steal-lock): Make the `owner' arg non-optional.
1879 (vc-merge): Use vc-writable-p instead of vc-locking-user and
1881 (vc-default-dired-state-info): Use vc-state instead of
1882 vc-locking-user and return special strings for special states.
1883 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
1884 and get rid of one of the special CVS cases.
1885 (vc-cancel-version): prettify error message with \\[...].
1886 (vc-rename-master): New function.
1887 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
1888 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
1889 the CVS special case generic.
1890 (vc-default-record-rename): Remove.
1891 (vc-file-tree-walk-internal): Only call FUNC for files that are
1892 under control of some VC backend and replace `concat' with
1894 (vc-file-tree-walk): Update docstring.
1895 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
1896 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
1898 * vc-sccs.el (vc-sccs-rename-file): Renamed from
1899 vc-sccs-record-rename. Use `find-file-noselect' rather than
1900 `find-file' and call `vc-rename-master' to do the actual move.
1901 (vc-sccs-diff): Remove unused `backend' variable.
1903 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
1904 to delay loading of vc-sccs until it is really used.
1905 (vc-sccs-master-templates): Preload.
1906 (vc-sccs-state): Update call to vc-sccs-parse-locks.
1907 (vc-sccs-project-dir): Remove (merged into
1908 vc-sccs-search-project-dir).
1909 (vc-sccs-search-project-dir): Rewrite using file name handling ops
1910 rather than `concat', make sure it is preloaded and don't bother
1911 to check that the file actually exists.
1912 (vc-sccs-parse-locks): Remove unused `file' argument, remove
1913 `locks' argument (use buffer's content instead) and eliminate n^2
1916 * vc-rcs.el: Update Copyright.
1917 (vc-rcs-rename-file): New function.
1918 (vc-rcs-diff): Remove unused `backend' variable.
1920 * vc-hooks.el: Update Copyright.
1921 (vc-backend): Don't accept a nil argument any more.
1922 (vc-up-to-date-p): Turn into a defsubst.
1923 (vc-possible-master): New function.
1924 (vc-check-master-templates): Use `vc-possible-master' and allow
1925 funs in vc-X-master-templates to return a non-existent file.
1927 * vc-cvs.el: Update Copyright.
1928 (vc-cvs-diff): Remove unused `backend' variable.
1929 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
1931 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
1933 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1935 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
1936 since it can be called from vc-rcs.el.
1937 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
1939 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1941 * vc.el (vc-version-diff): Expand file name read from the
1942 minibuffer. Handle the case when a previous version number can't
1943 be guessed. Give suitable messages when there were no differences
1945 (vc-clear-headers): Call backend-specific implementation, if one
1947 (vc-cancel-version): Made error checks generic. When done, clear
1948 headers generically, too.
1950 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
1951 from vc-clear-headers in vc.el.
1953 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
1955 (vc-rcs-latest-on-branch-p): Made second argument VERSION
1956 optional. Handle the case when it's not there.
1958 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1960 * vc.el (vc-locking-user): Moved from vc-hooks.el.
1962 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1964 * vc-hooks.el (vc-loadup): Remove.
1965 (vc-find-backend-function): Use `require'. Also, handle the case
1966 where vc-BACKEND-hooks.el doesn't exist.
1967 (vc-call-backend): Cleanup.
1969 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1971 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
1972 vc-rcs-grab-templates)
1973 (vc-rcs-registered): Remove. The default function works as well.
1974 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
1975 vc-sccs-grab-templates)
1976 (vc-sccs-registered): Remove. The default function works as well.
1978 * vc.el (vc-version-diff): Left out a vc- in call to
1980 (vc-default-dired-state-info, vc-default-record-rename)
1981 (vc-default-merge-news): Update for the new backend argument.
1983 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
1984 using the default function.
1985 (vc-call-backend): If calling the default function, pass it the
1986 backend as first argument. Update the docstring accordingly.
1987 (vc-default-state-heuristic, vc-default-mode-line-string): Update
1988 for the new backend argument.
1989 (vc-make-backend-sym): Renamed from vc-make-backend-function.
1990 (vc-find-backend-function): Use the new name.
1991 (vc-default-registered): New function.
1993 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1995 * vc.el (vc-merge): Use vc-find-backend-function.
1997 * vc-hooks.el (vc-backend-functions): Remove.
1998 (vc-loadup): Don't setup 'vc-functions.
1999 (vc-find-backend-function): New function.
2000 (vc-call-backend): Use above fun and populate 'vc-functions
2002 (vc-backend-defines): Remove.
2004 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2006 * vc.el (vc-register): Put a FIXME note for a newly found bug.
2007 Call vc-call-backend without the leading vc-.
2008 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
2009 (vc-check-headers): Call vc-call-backend without the leading vc-.
2010 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
2011 (vc-annotate-display): Replace confusing use of `cond' with `or'.
2012 Call vc-call-backend without the leading vc-.
2014 * vc-cvs.el (tail): Provide vc-cvs.
2015 * vc-sccs.el (tail): Provide vc-sccs.
2016 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
2018 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
2019 (vc-make-backend-function, vc-call): Pass names without leading
2020 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
2021 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
2022 (vc-call-backend): Always try to load vc-X-hooks.
2023 (vc-registered): Remove vc- in call to vc-call-backend.
2025 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2027 * vc.el (vc-process-filter): New function.
2028 (vc-do-command): Setup `vc-process-filter' for the async process.
2029 (vc-maybe-resolve-conflicts): New function to reduce
2030 code-duplication. Additionally, it puts the buffer in
2031 `smerge-mode' if applicable.
2032 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
2033 calling `merge-news'.
2034 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
2035 (vc-log-edit): New function. Replacement for `vc-log-mode' by
2036 interfacing to log-edit.el.
2037 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
2038 log-edit is available.
2039 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
2041 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2043 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
2044 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
2045 defvar and the initialization.
2046 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
2048 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
2049 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
2051 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
2053 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2055 * vc.el (vc-file-clear-masterprops): Removed.
2056 (vc-checkin, vc-revert-buffer): Removed calls to the above.
2057 (vc-version-diff): Use buffer-size without argument.
2058 (vc-register): Heed vc-initial-comment.
2060 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
2063 * vc-rcs.el (vc-rcs-register): Parse command output to find master
2064 file name and workfile version.
2065 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
2067 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
2068 vc-file-clear-masterprops.
2070 * vc-sccs.el (vc-sccs-checkout): Removed call to
2071 vc-file-clear-masterprops. If writable, set vc-state to 'edited
2072 rather than user login name.
2075 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2077 * vc.el (vc-workfile-unchanged-p): Remove unused argument
2078 `want-differences-if-changed' and simplify.
2079 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
2080 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
2081 output (which is invalid for async vc-diff) to decide whether to
2082 do the revert silently or not.
2084 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2086 * vc-hooks.el (vc-loadup): Load files quietly.
2087 (vc-call-backend): Oops, brain fart.
2089 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2091 * vc-cvs.el (vc-cvs-state): Typo.
2092 (vc-cvs-merge-news): Return the status code rather than the error msg.
2094 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2096 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
2097 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
2098 vc-state or vc-up-to-date-p.
2099 (vc-merge): Use vc-backend-defines to check whether merging is
2100 possible. Set state to 'edited after successful merge.
2102 * vc-hooks.el (vc-locking-user): If locked by the calling user,
2103 return that name. Redocumented.
2105 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2107 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
2108 new `vc-state' semantics.
2109 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
2110 'vc-locking-user to the current user.
2111 (vc-merge): Inline vc-backend-merge. Comment out code that I
2112 don't understand and hence can't adapt to the new `vc-state' and
2113 `vc-locking-user' semantics.
2114 (vc-backend-merge): Remove.
2116 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
2117 rather than 'vc-locking-user.
2119 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
2121 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
2122 (vc-state): Don't use 'reserved any more. Just use the same
2123 convention as the one used for vc-<backend>-state where the
2124 locking user (as a string) is returned.
2125 (vc-locking-user): Update, based on the above convention. The
2126 'vc-locking-user property has disappeared.
2127 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
2129 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
2130 with a heuristic one.
2131 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
2132 (vc-cvs-checkin): Do a trivial parse to set the state in case of
2133 error. That allows us to get to 'needs-merge even in the
2134 stay-local case. There's still no way to detect 'needs-patch in
2135 such a setup (or to force an update for that matter).
2136 (vc-cvs-logentry-check): Remove, the default works as well.
2138 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2140 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
2142 * vc.el (vc-do-command): kill-all-local-variables, to reset any
2143 major-mode in which the buffer might have been put earlier. Use
2144 `remove' and `when'. Allow `okstatus' to be `async' and use
2145 `start-process' in this case.
2146 (vc-version-diff): Handle the case where the diff looks empty
2147 because of the use of an async process.
2149 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2151 * vc.el (vc-next-action-on-file): Removed optional parameter
2152 `simple'. Recompute state unconditionally.
2153 (vc-default-toggle-read-only): Removed.
2155 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
2156 (vc-toggle-read-only): Undid prev change.
2158 * vc-cvs.el (vc-cvs-stay-local): Renamed from
2159 vc-cvs-simple-toggle. Redocumented.
2160 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
2161 (vc-cvs-toggle-read-only): Removed.
2163 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2165 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
2166 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
2167 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
2168 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
2169 still is. So maybe it should be removed.
2170 (vc-head-version, vc-find-binary): Remove.
2171 (vc-recompute-state): Move from vc-hooks.el.
2172 (vc-next-action-on-file): Add a `simple' argument to allow
2173 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
2174 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
2175 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
2176 (vc-dired-mode-map): Properly defvar it.
2177 (vc-print-log): Call log-view-mode if available.
2178 (small-temporary-file-directory): defvar instead of use boundp.
2179 (vc-merge-news): Moved to vc-cvs.el.
2180 (vc-default-merge-news): New function.
2182 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
2183 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
2184 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
2185 unknown `vc-latest-version' function. It should probably refer to
2186 vc-workfile-version or somesuch, but it's very unclear to me and I
2187 don't have SCCS to test things.
2189 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
2190 (vc-sccs-state-heuristic): Fix typo.
2191 (vc-sccs-workfile-unchanged-p): Add missing argument.
2193 * vc-rcs.el: Require vc and vc-rcs-hooks.
2194 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
2195 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
2196 (vc-release-greater-or-equal-p): Move from vc.
2197 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
2198 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
2199 (vc-rcs-checkout): Add a missing `new-version' argument in the
2200 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
2202 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
2203 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
2204 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
2205 than the apparently unbound `workfile-version'.
2207 * vc-hooks.el (vc-master-templates): Def the obsolete var.
2208 (vc-file-prop-obarray): Use `make-vector'.
2209 (vc-backend-functions): Add new hookable functions
2210 vc-toggle-read-only, vc-record-rename and vc-merge-news.
2211 (vc-loadup): If neither backend nor default functions exist, use
2212 the backend function rather than nil.
2213 (vc-call-backend): If the function if not bound yet, try to load
2214 the non-hook file to see if it provides it.
2215 (vc-call): New macro plus use it wherever possible.
2216 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
2217 nor `vc-find-binary' since it's only called from
2218 vc-mistrust-permission which is only used once the backend is known.
2219 (vc-checkout-model): Fix parenthesis.
2220 (vc-recompute-state, vc-prefix-map): Move to vc.el.
2222 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
2223 (vc-cvs-release, vc-cvs-system-release): Remove.
2224 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
2225 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
2227 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
2228 (vc-cvs-toggle-read-only): First cut at a function to allow a
2229 cvs-status-free vc-toggle-read-only.
2230 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
2231 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
2232 vc-cvs-status. Also set vc-state rather than vc-locking-user.
2233 (vc-cvs-checkout): Modify access rights directly if the user
2234 requested not to use `cvs edit'. And refresh the mode line.
2236 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
2237 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
2239 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2241 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
2242 workfile' that got lost when the code was extracted from vc.el.
2243 And merged the tail with the rest of the code (not possible in the
2244 old vc.el where the tail was shared among all backends). And
2245 explicitly set the state to 'edited if `writable' is set.
2247 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
2248 (vc-cvs-state): Be careful to return the value from
2250 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
2251 property but return it instead. Also be careful to handle a nil
2252 or "" `rev' when workfile is non-nil (it was handled properly when
2255 * vc.el: Removed those pesky unnecessary `(function' quotes.
2256 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
2257 directly in the defvar.
2258 (vc-do-command): Bind inhibit-read-only so as to properly handle
2259 the case where the destination buffer has been made read-only.
2260 (vc-diff): Delegate to vc-version-diff in all cases.
2261 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
2262 (vc-annotate-mode-variables): Removed (code moved partly to
2263 defvars and partly to vc-annotate-add-menu).
2264 (vc-annotate-mode): Turned into a derived-mode.
2265 (vc-annotate-add-menu): Moved in code in
2266 vc-annotate-mode-variables.
2267 (vc-update-change-log): Use make-temp-file if available.
2269 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
2271 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
2272 `vc-checkout-model' updated to `vc-cvs-update-model'.
2274 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2276 * vc.el (vc-next-action-on-file): Added handling of state
2278 (vc-checkout-carefully): Is now practically obsolete, unless the
2279 above is too slow to be enabled unconditionally.
2280 (vc-update-change-log): Fixed typo.
2282 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
2284 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
2285 Now handles state `unlocked-changes'.
2286 (vc-sccs-workfile-unchanged-p): New function, to support the above.
2288 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
2290 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
2291 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
2293 (vc-rcs-workfile-unchanged-p): Renamed from
2294 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
2295 function yet, but supposed to become one soon.
2297 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
2299 (vc-call-backend): Changed error message.
2300 (vc-state): Added description of state `unlocked-changes'.
2302 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2304 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
2305 always return t in CVS-controlled directories.
2307 * vc.el (vc-responsible-backend): New function.
2308 (vc-register): Largely rewritten.
2309 (vc-admin): Removed (implementation moved into vc-register).
2310 (vc-checkin): Redocumented.
2311 (vc-finish-logentry): If no backend defined yet (because we are in
2312 the process of registering), use the responsible backend.
2314 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2315 Updated function lists.
2316 (vc-call-backend): Fixed typo.
2318 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
2320 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
2321 Removed query option. Redocumented.
2323 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2325 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
2327 * vc.el: Updated callers of `vc-checkout-required' to use
2328 `vc-checkout-model'.
2330 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2332 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
2333 stuff updated to reference this function instead of the old
2334 `vc-backend-release-p'.
2336 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2338 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
2339 vc-checkout-model. Return appropriate values. Updated callers.
2341 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2343 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
2344 (vc-backend-revert): Function moved into `vc-revert';
2345 `vc-next-action' must be updated to accomodate this change.
2346 (vc-backend-steal): Function moved into `vc-finish-steal'.
2347 (vc-backend-logentry-check): Function moved into
2348 `vc-finish-logentry'.
2349 (vc-backend-printlog): Function moved into `vc-print-log'.
2350 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
2351 (vc-backend-assign-name): Function moved into
2352 `vc-create-snapshot'.
2354 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2356 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
2357 Rename to vc-checkout-model. Return appropriate values.
2360 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
2361 to vc-checkout-model.
2362 (vc-checkout-required): Rename to vc-checkout-model.
2363 Re-implement and re-comment.
2364 (vc-after-save): Use vc-checkout-model.
2366 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2368 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
2369 Update to use the vc-BACKEND-diff functions instead.
2370 `vc-diff' is now working.
2372 * vc-rcs.el (vc-rcs-logentry-check): New function.
2374 * vc-cvs.el (vc-cvs-logentry-check): New function.
2376 * vc-sccs.el (vc-sccs-diff): Function changed name from
2377 `vc-backend-diff'. This makes `vc-diff' work.
2379 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
2380 of functions possibly implemented in a vc-BACKEND library.
2381 (vc-checkout-required): Fix bug that caused an error to be
2382 signaled during `vc-after-save'.
2385 This checkin is made with our new VC code base for the very first time.
2386 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
2388 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
2389 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
2391 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
2392 updated to `vc-uses-locking'.
2393 (vc-checkout-required): Call to backend function.
2394 `vc-checkout-required' updated to `vc-uses-locking' instead.
2396 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
2397 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
2399 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
2400 to match the split into various backends.
2401 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
2402 (vc-retrieve-snapshot): Bug fix.
2404 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2406 * vc-sccs.el (vc-sccs-release): Doc fix.
2408 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2410 * vc.el (vc-next-action-on-file): Bug found and fixed.
2411 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
2412 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
2414 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
2415 (vc-rcs-checkout): Name space cleaned up. No more revision number
2416 crunching function names that are not prefixed with vc-rcs.
2417 (vc-rcs-checkout-model): Function added. References to
2418 `vc-checkout-model' replaced.
2420 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2422 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
2423 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
2424 still need to be split, and implemented for RCS).
2426 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2428 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
2430 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
2431 required by the vc.el file.
2433 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
2434 required by the vc.el file.
2435 (vc-rcs-exists): Function added.
2437 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
2438 required by the vc.el file.
2440 * vc.el (vc-admin): Updated to handle selection of appropriate
2441 backend. Current implementation is crufty and need re-thinking.
2443 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
2445 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2447 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
2448 beginning of annotate buffers correctly.
2450 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
2451 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
2452 functionality updated quite a lot to support multiple backends.
2453 Variables `vc-annotate-mode', `vc-annotate-buffers',
2454 `vc-annotate-backend' added.
2456 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
2457 `vc-annotate-difference' added to supported backend functions.
2459 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2461 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
2462 Use with-temp-file instead of /bin/sh. Merged from mainline
2464 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2466 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
2468 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
2470 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
2472 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2474 * vc-hooks.el: vc-state-heuristic added to
2475 vc-backend-hook-functions.
2477 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
2479 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
2481 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
2482 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
2483 state to `reserved'.
2485 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
2486 `vc-checkout-required'. Rename the `locked' state to `reserved'.
2488 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2490 * vc-rcs-hooks.el: Implement new state model. Hardly anything
2493 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
2495 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
2496 if defined. (Merged from main line, slightly adapted.)
2498 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
2499 millenium problem (merged from mainline).
2501 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2503 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
2504 part and moved the non-BACKEND stuff to vc.el.
2506 * vc.el: Split the annotate feature into a BACKEND specific part
2507 and moved it from the vc-cvs.el file to this one.
2509 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2511 * vc-hooks.el: Implement new state model.
2512 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
2513 (vc-locking-user): Simplify. Now only needed if the file is
2514 locked by somebody else.
2515 (vc-lock-from-permissions): Remove. Functionality is in
2516 vc-sccs-hooks.el and vc-rcs-hooks.el now.
2517 (vc-mode-line-string): New name for former vc-status. Adapted.
2518 (vc-mode-line): Adapt to use the above. Remove optional parameter.
2520 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
2521 Various simplifications and adaptations all over the place.
2523 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
2524 Simplify and adapt the rest.
2526 * vc.el (vc-resynch-window): Add TODO comment: check for
2527 interaction with view mode according to recent RCS change.
2528 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
2530 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2532 * vc.el: Convert the remaining function comments to docstrings.
2534 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2536 * vc.el (vc-backend-release, vc-release-greater-or-equal)
2537 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
2538 (vc-minor-part, vc-previous-version): Functions that operate and
2539 compare revision numbers got proper documentation. Comments added
2540 about their possible removal.
2542 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2544 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
2545 the vc-backend.el files.
2547 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
2549 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
2550 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
2551 (vc-rcs-previous-version): Functions added.
2553 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
2555 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
2557 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2559 * vc-hooks.el (vc-master-templates): Is really obsolete.
2560 Comment out the definition for now. What is the right procedure
2562 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
2564 (vc-default-registered): Remove.
2565 (vc-check-master-templates): New function; does mostly what the
2567 (vc-locking-user): Don't rely on the backend to set the property.
2569 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
2570 Rewrite documentation.
2571 (vc-rcs-templates-grabbed): New variable.
2572 (vc-rcs-grab-templates): New function.
2573 (vc-rcs-registered): Rewrite to use above mechanism.
2575 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
2576 Rewrite documentation.
2577 (vc-sccs-templates-grabbed): New variable.
2578 (vc-sccs-grab-templates): New function.
2579 (vc-sccs-registered): Rewrite to use above mechanism.
2580 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
2581 Don't throw the result, simply return it.
2583 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
2584 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
2585 (vc-cvs-registered): Does the check itself now. Simplify.
2587 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
2590 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2592 * vc-cvs.el (vc-cvs-diff): New function.
2594 * vc-sccs.el (vc-sccs-diff): New function.
2596 * vc-rcs.el (vc-rcs-diff): New function.
2597 (vc-rcs-checkout): Bug (typo) found and fixed.
2598 (vc-rcs-register-switches): New variable.
2600 * vc.el (vc-backend-diff): Function removed and placed in the
2603 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2605 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
2607 * vc.el (vc-backend-checkout): Function removed and replaced in
2608 the vc-backend.el files.
2610 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
2612 * vc.el (vc-backend-admin): Removed and replaced in the
2613 vc-backend.el files.
2615 * vc.el (Martin): Removed all the annotate functionality since it
2616 is CVS backend specific.
2618 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2620 * spec.txt: Added specification of vc-state.
2622 * vc-sccs-hooks.el (vc-sccs-master-properties):
2623 Remove handling of vc-latest-version and
2624 vc-your-latest-version. What used to be vc-latest-version, is now
2625 returned as vc-workfile-version.
2626 (vc-sccs-workfile-version): Adapt.
2628 2000-09-04 Dave Love <fx@gnu.org>
2630 * vc.el: [Merged from mainline.]
2631 (vc-dired-mode): Make the dired-move-to-filename-regexp
2632 regexp match the date, to avoid treating date as file size.
2633 Add YYYY S option to WESTERN/
2635 2000-09-04 Dave Love <fx@gnu.org>
2637 * vc.el: Require `compile' when compiling.
2638 (vc-logentry-check-hook): New option.
2639 (vc-steal-lock): Use compose-mail.
2640 (vc-dired-mode-map): Defvar when compiling.
2641 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
2642 vc-sccs.el and renamed. Callers changed.
2643 (vc-backend-checkout, vc-backend-logentry-check)
2644 (vc-backend-merge-news): Doc fix.
2645 (vc-default-logentry-check): New function.
2646 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
2647 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
2648 (vc-backend-merge): Doc fix. Use backend functions.
2649 (vc-check-headers): Use backend functions.
2651 * vc-cvs.el: Require vc when compiling.
2652 (vc-cvs-register-switches): Doc fix.
2653 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
2654 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
2655 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
2656 New functions (code from vc.el).
2657 (vc-annotate-display-default): Fix interactive spec.
2658 (vc-annotate-time-span): Doc fix.
2660 * vc-rcs.el: Require vc when compiling.
2661 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
2662 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
2663 (vc-rcs-checkin): New functions (code from vc.el).
2664 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
2666 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
2668 * vc-sccs.el: Require vc when compiling.
2669 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
2670 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
2672 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
2674 (vc-sccs-add-triple, vc-sccs-record-rename)
2675 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
2676 (vc-sccs-admin): Doc fix.
2678 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2680 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
2681 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
2682 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
2685 * vc-sccs.el (vc-admin-sccs): Added from vc.el
2687 * vc-cvs.el: Moved the annotate functionality from vc.el.
2688 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
2690 2000-09-04 Dave Love <fx@gnu.org>
2692 * vc.el (vc-backend-release): Call vc-system-release.
2694 * vc-sccs.el (vc-sccs-system-release):
2695 Renamed from vc-sccs-backend-release.
2697 * vc-rcs.el (vc-rcs-system-release):
2698 Renamed from vc-rcs-backend-release.
2700 * vc-cvs.el (vc-cvs-system-release):
2701 Renamed from vc-cvs-backend-release.
2703 2000-09-04 Dave Love <fx@gnu.org>
2705 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
2707 (vc-backend-release): Dispatch to backend functions.
2708 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
2709 probably needs attention.]
2711 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
2712 (vc-sccs-backend-release): New function.
2714 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
2715 (vc-cvs-backend-release): New function.
2717 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
2719 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
2720 (vc-default-dired-state-info): New function.
2721 (vc-dired-state-info): Dispatch to backends.
2722 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
2724 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
2725 from vc.el and renamed.
2727 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2729 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
2730 (vc-version-other-window, vc-backend-assign-name): Removed
2731 references to vc-latest-version; sometimes changed into
2732 vc-workfile-version.
2734 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
2735 vc-rcs-master-workfile-version.
2736 (vc-rcs-workfile-version): Use the above. Don't call
2737 vc-latest-version (that was unreachable code, anyway).
2738 (vc-rcs-fetch-master-properties): Doc fix.
2740 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
2741 (vc-backend-hook-functions): Removed them from this list, too.
2742 (vc-fetch-properties): Removed.
2743 (vc-workfile-version): Doc fix.
2745 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
2746 (vc-rcs-workfile-version, vc-rcs-locking-user)
2747 (vc-rcs-uses-locking): Use it.
2749 * vc-hooks.el (vc-consult-rcs-headers):
2750 Moved into vc-rcs-hooks.el, under the name
2751 vc-rcs-consult-headers.
2753 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
2755 (vc-cvs-find-master): Use this name only; correct different
2756 versions of the name.
2758 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
2760 (vc-sccs-locking-user): Use the latter.
2762 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
2765 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
2767 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
2768 functions are implementation details of those two backends.
2770 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2772 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
2773 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
2775 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
2776 (vc-sccs-parse-locks): SCCS-specific code moved here from
2779 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
2780 code moved here from vc-hooks.
2782 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
2783 into back-end specific parts and removed. Callers not updated
2784 yet; because I guess these callers will disappear into back-end
2785 specific files anyway.
2787 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2789 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
2790 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
2793 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
2794 Store yes/no in the property, and return t/nil. Updated all
2797 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
2798 vc-sccs-uses-locking. Don't set property.
2799 (vc-sccs-locking-user): Don't set property.
2801 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
2802 vc-cvs-uses-locking. Don't set property here; leave that to
2804 (vc-cvs-locking-user): Reflect above change. Streamlined.
2806 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
2807 vc-rcs-uses-locking.
2808 (vc-rcs-locking-user): Reflect above change.
2810 2000-09-04 Dave Love <fx@gnu.org>
2812 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
2814 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
2816 * vc-hooks.el (vc-checkout-model): Punt to backends.
2818 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
2820 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
2822 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
2825 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
2828 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
2829 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
2831 * vc-hooks.el (vc-default-locking-user): New function.
2832 (vc-locking-user, vc-workfile-version): Punt to backends.
2834 2000-09-04 Dave Love <fx@gnu.org>
2836 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
2837 (vc-master-workfile-version): Moved from vc-hooks.
2839 * vc-rcs-hooks.el: Fix duplicate code in last change.
2841 * vc-rcs-hooks.el: Require vc-hooks when compiling.
2842 (vc-rcs-master-templates): Improve :type.
2843 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
2844 vc-master-workfile-version): Moved from vc-hooks.
2846 * vc-sccs-hooks.el: Require vc-hooks when compiling.
2847 (vc-sccs-master-templates): Improve :type.
2848 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
2850 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
2852 * vc-cvs-hooks.el: Require vc-hooks when compiling.
2853 (vc-cvs-master-templates): Improve :type. Use
2854 vc-cvs-find-cvs-master.
2855 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
2857 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
2859 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
2860 Moved to vc-cvs-hooks.
2862 * vc-hooks.el: Add doc strings in various places. Simplify the
2864 (vc-handled-backends): New user variable.
2865 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
2868 2000-09-04 Dave Love <fx@gnu.org>
2870 * vc.el: Some doc fixes for autoloaded and interactive functions.
2871 Fix compilation warnings from ediff stuff.
2872 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
2874 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
2876 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
2878 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
2880 2000-09-04 Dave Love <fx@gnu.org>
2882 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2884 (vc-make-backend-function, vc-loadup, vc-call-backend)
2885 (vc-backend-defines): New functions.
2887 * vc-hooks.el: Various doc fixes.
2888 (vc-default-back-end, vc-follow-symlinks): Custom fix.
2889 (vc-match-substring): Function removed. Callers changed to use
2891 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
2894 2000-09-04 Dave Love <fx@gnu.org>
2896 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
2898 (vc-sccs-project-dir, vc-search-sccs-project-dir)
2899 (vc-sccs-registered): Doc fix.
2901 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
2902 (vc-cvs-registered): Doc fix.
2904 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
2905 (vc-rcs-registered): Doc fix.
2907 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2909 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
2911 * vc-hooks.el: vc-registered has been renamed
2912 vc-default-registered. Some functions have been moved to the
2913 backend specific files. they all support the
2914 vc-BACKEND-registered functions.
2916 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2918 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
2920 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
2922 2000-09-04 Dave Love <fx@gnu.org>
2924 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
2925 menu-bar-update-hook.
2927 * help.el (help-manyarg-func-alist): Add
2928 find-operation-coding-system.
2930 * wid-edit.el (widget-sexp-validate): Fix garbled code.
2932 * custom.el (custom-set-variables): Print message about errors in
2935 2000-09-03 Andrew Innes <andrewi@gnu.org>
2937 * makefile.w32-in: Change to DOS line endings.
2939 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2941 * mouse.el (mouse-popup-menubar): Supply the prompt string for
2942 minor-mode keymaps, if they don't have one.
2944 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2946 * eshell/esh-module.el (eval-when-compile): Don't lose if
2947 esh-module.el's file name is truncated to DOS 8+3 limits.
2949 2000-09-01 John Wiegley <johnw@gnu.org>
2951 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
2952 predicate, which caused entries in the completion list to be
2955 2000-08-30 John Wiegley <johnw@gnu.org>
2957 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
2958 sending to subprocesses. Also, hook pre-command-hook if
2959 `eshell-send-direct-to-subprocesses' is non-nil.
2960 (eshell-send-direct-to-subprocesses): New config variable. If t,
2961 subprocess input is send immediately.
2962 (eshell-toggle-direct-send): New function.
2963 (eshell-self-insert-command): New function.
2964 (eshell-intercept-commands): New function.
2965 (eshell-send-input): If direct subprocess sending is enabled,
2966 don't echo any input to the Eshell buffer. Let the subprocess
2967 handle that. This requires "stty echo" in bash, for example.
2969 2000-08-28 John Wiegley <johnw@gnu.org>
2971 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
2972 completion function for Eshell's implementation of `unset'.
2974 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
2976 * info.el (Info-directory-list): Doc fix.
2978 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
2980 * filecache.el (file-cache-add-directory-using-find): Don't quote
2981 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
2983 2000-08-31 Kenichi Handa <handa@etl.go.jp>
2985 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
2988 2000-08-30 Andrew Innes <andrewi@gnu.org>
2990 * timer.el (run-with-idle-timer): Undo last change, so that timer
2991 is not activated immediately if Emacs is already idle. Some
2992 existing code relies on this behaviour.
2994 2000-08-30 Miles Bader <miles@gnu.org>
2996 * frame.el (set-frame-font): Do completion of font-name for
2999 2000-08-30 Kenichi Handa <handa@etl.go.jp>
3001 * international/quail.el (quail-start-translation): Bind locally
3002 last-command-event, last-command, and this-command.
3003 (quail-start-conversion): Likewise.
3004 (quail-self-insert-command): Fix docstring.
3006 2000-08-29 Gerd Moellmann <gerd@gnu.org>
3008 * progmodes/executable.el
3009 (executable-make-buffer-file-executable-if-script-p): Check that
3010 buffer contains at least 2 characters.
3012 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3014 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
3016 2000-08-29 Dave Love <fx@gnu.org>
3018 * diff-mode.el (diff-mode) <defgroup>: Add :version.
3019 (diff-mode-shared-map): Bind mouse-2.
3020 (diff-imenu-generic-expression): New variable.
3021 (diff-mode): Use it.
3023 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
3024 (mouse-popup-menubar): Add minor mode menus.
3025 (popup-menu): Check for lookup-key returning number.
3027 2000-08-29 Miles Bader <miles@gnu.org>
3029 * comint.el (comint-send-input): Create overlays using the proper
3030 front/read-advance arguments.
3032 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3034 * ps-print.el: Even/odd pages printing. Doc fix.
3035 (ps-print-version): New version number (6.0).
3036 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
3037 (ps-background, ps-begin-file, ps-begin-job): Code fix.
3038 (ps-print-duplex-feature): Variable eliminated.
3039 (ps-even-or-odd-pages): New variable.
3041 * progmodes/ebnf2ps.el: Doc fix.
3042 (ebnf-version): New version (3.3).
3043 (ebnf-user-arrow): Change variable customization to sexp.
3044 (ebnf-user-arrow): Function eliminated.
3045 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
3047 2000-08-29 Kenichi Handa <handa@etl.go.jp>
3049 * help.el (help-xref-mule-regexp): New variable.
3050 (help-make-xrefs): Handle help-xref-mule-regexp.
3052 * international/mule-cmds.el (help-xref-mule-regexp-template): New
3054 (describe-input-method): Temporarily activate the specfied input
3055 method to display the information.
3056 (describe-language-environment): Hyperlinks to mule related items.
3058 * international/mule-diag.el (charset-multibyte-form-string): New
3060 (list-character-sets-1): Use charset-multibyte-form-string.
3061 (describe-character-set): New function.
3062 (describe-coding-system): Hyperlinks to safe character sets.
3064 * international/quail.el (quail-help): New arg PACKAGE.
3065 Hyperlinks to mule related items.
3066 (quail-help-insert-keymap-description): Use
3067 substitute-command-keys instead of describe-bindings.
3068 (quail-translation-help): Hyperlinks to mule related items.
3070 2000-08-28 John Wiegley <johnw@gnu.org>
3072 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
3073 have a defsubst call itself. Made `eshell-flatten-list' back into
3076 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
3077 catch, in case re-centering point at bottom messes up the display.
3078 This happens frequently in Emacs 21, due I believe to variable
3081 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
3082 to call `find-tag-interactive'.
3084 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
3085 the list of remember directories.
3087 2000-08-28 John Wiegley <johnw@gnu.org>
3089 * align.el: Test align-region-separate to see if it's a symbol.
3091 2000-08-28 John Wiegley <johnw@gnu.org>
3093 * eshell/esh-util.el (eshell-flatten-list): Made this function
3094 into a defsubst form. It gets used very frequently, although
3095 calls don't occur all that often.
3097 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
3100 * eshell/esh-cmd.el (eshell-rewrite-while-command):
3101 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
3103 (eshell-copy-handles): Created a new macro for duplicating the
3104 current set of open handles. This is needed by the looping
3106 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
3107 is not incorrectly stomped on.
3109 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
3110 declaration for pcomplete-use-paring.
3111 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
3112 value of eshell-cmpl-use-paring.
3113 * pcomplete.el (pcomplete-use-paring): New config variable, to
3114 indicate whether paring should be used.
3115 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
3116 completion alternatives that have already been used.
3118 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
3119 bound to C-c C-y, which will repeat the previous N arguments
3120 (based on prefix argument).
3121 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
3123 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
3124 if there is no *Help* buffer. This is for XEmacs, which renames
3125 its help buffers uniquely. TODO: Find out what the current buffer
3128 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
3129 first entry that correlates to a passwd/group number. Later
3130 entries (used for group/user name aliasing to multiple IDs) are
3133 * eshell/em-xtra.el (eshell/expr):
3134 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
3135 (eshell-grep, eshell/diff, eshell/locate):
3136 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
3137 argument list, before passing it to the system command.
3139 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
3140 `find-tag' for use at final position in Eshell buffers (which
3141 otherwise triggers an error on Emacs 21).
3142 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
3143 buffer, if it is currently bound to `find-tag'.
3145 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
3146 in the list of matched Makefile names.
3147 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
3148 directory, prefer its contents to Makefile.
3150 * eshell/em-dirs.el (eshell/cd): cd commands that look up
3151 directory parts (like "cd old new", or "cd =regexp"), are now case
3152 sensitive on non-Windows/DOS platforms.
3154 * eshell/esh-mode.el (eshell-parse-command-input): When a user
3155 types RET after an open delimiter (like "), display a message
3156 indicating that Eshell is waiting for the closing delimiter.
3158 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
3159 environment variables.
3161 * eshell/em-unix.el (eshell/diff): Added logic to fail more
3162 gracefully if the user enters incorrect arguments.
3164 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
3167 * eshell/esh-var.el (eshell-interpolate-variable):
3168 * eshell/esh-mode.el (eshell-move-argument):
3169 * eshell/em-unix.el (eshell-du-sum-directory):
3170 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
3171 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
3174 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
3175 to ensure the `preserve' flag gets propagated when doing recursive
3178 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
3180 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
3181 Don't convert \n into \0177 in memory.
3182 (eshell-read-history, eshell-write-history): Convert \n to \0177,
3183 and back again, when reading and writing.
3185 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
3187 * eshell/esh-util.el (eshell-processp): Added to relieve constant
3188 testing of `fboundp' on `processp'.
3190 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
3191 (eshell/jobs): Don't call process-list if it is not bound.
3192 (eshell-gather-process-output): Support systems where async
3193 subprocesses aren't supported.
3194 (eshell-scratch-buffer, eshell-last-sync-output-start): New
3197 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
3198 eshell-do-eval returns t.
3199 (eshell-do-pipelines-synchronously): New defmacro.
3200 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
3201 when async subprocesses aren't supported.
3202 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
3203 if async subprocesses aren't supported.
3204 (eshell-resume-command): Don't assume STATUS is a string.
3206 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
3208 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
3209 (eshell-close-target, eshell-get-target): Use eshell-processp.
3210 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
3212 (eshell-get-target, eshell-create-handles): Doc fix.
3214 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
3216 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
3217 criterion to include commands that output something, as long as it
3218 leaves both the command and the end-of-buffer visible when the
3220 (eshell-review-quick-commands): Adjust the help doc string
3223 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
3225 * locate.el (locate): Cleaned up locate command's interactive prompting
3226 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
3228 * filecache.el (file-cache-case-fold-search): New variable
3229 (file-cache-assoc-function): New variable
3230 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
3231 Use file-cache-case-fold-search variable
3232 (file-cache-add-file): Use file-cache-assoc-function
3233 (file-cache-delete-file): likewise
3234 (file-cache-directory-name): likewise
3235 (file-cache-debug-read-from-minibuffer): likewise
3237 2000-08-28 Gerd Moellmann <gerd@gnu.org>
3239 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
3240 (abbrev-table-name): New function.
3241 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
3242 If non-nil list local abbrev, only.
3244 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
3246 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
3247 from Gnus support code, and use special article copy buffer
3248 `(gnus-original-article-buffer)' instead. This allows to get rid
3249 of article-hide-headers usage (which breaks in the latest Gnus
3250 version). Thanks to Detlev Zundel.
3252 2000-08-28 Kenichi Handa <handa@etl.go.jp>
3254 * international/quail.el (quail-use-package): Hide "... loaded"
3256 (quail-start-translation, quail-start-conversion): Likewise.
3258 * international/kkc.el (kkc-region): Hide "... loaded" message.
3260 2000-08-27 Dave Love <fx@gnu.org>
3262 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
3264 2000-08-27 Miles Bader <miles@gnu.org>
3266 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
3268 2000-08-27 Kenichi Handa <handa@etl.go.jp>
3270 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
3271 'ja-dic-cnv), not (require 'skkdic-cnv).
3273 2000-08-26 Miles Bader <miles@gnu.org>
3275 * faces.el (face-x-resources): Add entry for :inherit.
3276 * cus-face.el (custom-face-attributes): Add support for :inherit
3277 attribute. Add support for relative face heights.
3278 (custom-face-attributes-get): Treat `nil' as being a default value
3279 for :inherit (as well as `unspecified').
3281 * faces.el (set-face-attribute): Update doc string.
3282 (face-attribute-name-alist): Add :inherit.
3283 (face-valid-attribute-values): Handle :inherit.
3284 (face-read-string): Rephrase prompt to be less confusing.
3285 Assume that DEFAULT is a string, since we must return a string.
3286 (face-read-integer): Use `format' to turn DEFAULT into an
3287 acceptable default for face-read-string. Match NEW-VALUE against
3288 the string "unspecified", not the symbol `unspecified', since
3289 that's what face-read-string returns.
3290 (read-face-attribute): Lookup a name for old-value in valid, and
3291 use it as a default if we find one. Treat all values from
3292 face-read-string as strings. If the default is used, don't do any
3293 more processing on the value, just use the old value directly.
3294 (read-face-and-attribute, modify-face): Tweak prompt.
3295 (read-face-name): Don't assume prompt ends with a space.
3297 * faces.el (describe-face): Add support for :inherit attribute.
3299 2000-08-25 Kenichi Handa <handa@etl.go.jp>
3301 * terminal.el (terminal-emulator): Fix args to `concat'. Now
3302 concat doesn't accept interger.
3304 * international/kkc.el: Remove SKK from Keywords. Require
3305 ja-dic-utl instead of skkdic-utl.
3307 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
3308 Provide ja-dic-cnv instead of skkdic-cnv.
3309 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
3310 (iso-2022-7bit-short): Add safe-charsets property.
3311 (skkdic-convert-postfix): Search Japanese chou-on character in
3312 addition to Hiragana character.
3313 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
3314 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
3315 (batch-skkdic-convert): Likewise.
3317 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
3318 Provide ja-dic-utl instead of skkdic-utl.
3319 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
3321 2000-08-24 Dave Love <fx@gnu.org>
3323 * disp-table.el (standard-display-default): Make the test of `l'
3326 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
3329 * international/iso-ascii.el: Make pilcrow convenient string
3330 consistent with section.
3331 (iso-ascii-display): Set up multibyte characters as well as
3334 2000-08-24 Kenichi Handa <handa@etl.go.jp>
3336 * international/mule-cmds.el (reset-language-environment): Set
3337 default-process-coding-system to '(undecided . iso-latin-1), which
3338 makes process I/O almost consistent with file I/O. Call this
3339 function when mule-cmds.el[c] is loaded.
3341 2000-08-22 Andrew Innes <andrewi@gnu.org>
3343 * makefile.w32-in: New file.
3345 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
3347 * comint.el (comint-output-filter): Compare end of
3348 comint-last-output-overlay with the start of the newly inserted
3349 text, not the end, when deciding whether to extend it.
3350 Set saved-point's insertion type to advance after insertion.
3352 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
3353 since this is now done independently of font-lock mode.
3355 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3357 * server.el (server-kill-new-buffers): New user option.
3358 (server-existing-buffer): New buffer-local variable.
3359 (server-visit-files): When using an existing buffer, set
3360 server-existing-buffer to t.
3361 (server-buffer-done): If server-kill-new-buffers is t, kill the
3362 buffer, unless it was already present before visiting it with
3365 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
3367 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
3368 even if the display doesn't support colors: some displays will
3369 support bold/underline faces.
3371 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3373 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
3375 * startup.el (command-line): If user's init file had an error,
3376 add explanatory text to *Messages*.
3378 2000-08-21 Kenichi Handa <handa@etl.go.jp>
3380 * man.el (Man-getpage-in-background): Decode the process output by
3381 the system locale coding system.
3383 2000-08-20 Dave Love <fx@gnu.org>
3385 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
3386 Don't test x-popup-menu.
3387 (function) <complete-function>: Complete only fbound symbols.
3388 <validate, value>: New.
3389 (variable) <complete-function>: Complete only bound symbols.
3390 (coding-system): Add :base-only, :complete-function, :validate,
3391 :value, :prompt-match.
3392 (widget-coding-system-prompt-value): Use read-coding-system and
3394 (editable-field): Add :help-echo.
3395 (widget-push-button-gui, widget-push-button-cache)
3396 (widget-gui-action, widget-editable-list-gui): COmment out, along
3398 (widget-at): Make arg optional.
3399 (widget-echo-help): Adjust for current help-echo calling sequence.
3400 (widget-specify-field, widget-specify-button)
3401 (widget-specify-insert, widget-get-sibling, widget-image-find)
3402 (widget-convert, widget-insert, widget-leave-text)
3403 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
3404 (widget-setup, widget-field-find, widget-before-change)
3405 (widget-after-change, widget-default-complete)
3406 (widget-default-create, widget-default-delete)
3407 (widget-push-button-value-create, editable-field)
3408 (widget-field-prompt-value, widget-field-validate)
3409 (widget-choice-value-create, widget-choice-action)
3410 (widget-choice-validate, widget-checklist-add-item)
3411 (widget-radio-add-item, widget-radio-chosen)
3412 (widget-radio-value-inline, widget-editable-list-value-create)
3413 (widget-editable-list-entry-create)
3414 (widget-documentation-link-add)
3415 (widget-documentation-string-value-create)
3416 (widget-regexp-validate, widget-file-complete)
3417 (widget-sexp-validate, widget-plist-convert-widget)
3418 (widget-plist-convert-widget, widget-alist-convert-widget)
3419 (widget-alist-convert-widget, widget-color-complete): Simplify,
3420 particularly to avoid bindings which aren't optimized out.
3422 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
3424 (down-list, backward-up-list, up-list, kill-sexp)
3425 (backward-kill-sexp, mark-sexp): Make arg optional.
3426 (lisp-complete-symbol): Add optional arg PREDICATE.
3428 * cus-start.el: Add display-buffer-reuse-frames,
3429 file-coding-system-alist.
3431 2000-08-20 Gerd Moellmann <gerd@gnu.org>
3433 * startup.el (command-line): Clear realized faces after
3434 modifying TTY color mappings.
3436 2000-08-20 Miles Bader <miles@gnu.org>
3438 * faces.el (face-attr-match-p): Don't return true if ATTRS are
3439 merely a subset of FACE's attributes.
3441 2000-08-19 Miles Bader <miles@gnu.org>
3443 * comint.el (comint-output-filter): Save the point with a marker,
3444 not just a buffer position.
3446 * international/mule.el (set-buffer-process-coding-system): Make
3447 interactive prompt less confusing.
3449 2000-08-19 Gerd Moellmann <gerd@gnu.org>
3451 * hilit-chg.el: General cleanup of doc strings, comments and
3454 2000-08-19 Miles Bader <miles@gnu.org>
3456 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
3457 Compiler macro removed; beginning-of-line is no longer always
3458 equivalent to forward-line, in the presence of fields.
3460 * comint.el (comint-output-filter): Remove ad-hoc saving of
3461 restriction, and just use save-restriction, now that it works
3462 correctly. Don't adjust comint-last-input-start to account for
3463 our insertion; it shouldn't have moved because we don't use
3464 insert-before-markers anymore. Comment out call to
3465 `force-mode-line-update'; why is it here?
3467 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
3468 while checking for prompt to delete. Use `forward-line 0'
3469 instead of beginning-of-line.
3470 (gud-filter): Temporarily widen gud comint buffer while
3473 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
3475 * progmodes/sh-script.el: Big bag of typos.
3477 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
3478 check since ispell-process is not bound when ispell is not yet loaded.
3480 2000-08-18 Dave Love <fx@gnu.org>
3482 * image.el (find-image): Copy `spec' before using plist-put.
3484 2000-08-18 Gerd Moellmann <gerd@gnu.org>
3486 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
3489 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
3490 backward-kill-sexp, analogous to kill-sexp.
3492 * progmodes/icon.el (icon-indent-line)
3493 (icon-is-continuation-line): Handle comments specially.
3495 2000-08-17 Ken Stevens <k.stevens@ieee.org>
3497 * ispell.el: Set to standard author/maintainer/keyword fields.
3498 Fine tuning to menu map appearance and operation, and added help.
3499 Remove `start' and `end' error messages when compiling.
3500 (ispell-choices-win-default-height): Fixed comment string.
3501 (ispell-dictionary-alist-1): Fixed regexp in castellano and
3502 castellano8 dictionaries.
3503 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
3504 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
3505 dictionary, added italiano dictionary.
3506 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
3508 (ispell-tex-skip-alists): Added psfig support.
3509 (ispell-skip-html): Renamed from ispell-skip-sgml.
3510 (ispell-begin-skip-region-regexp, ispell-skip-region)
3511 (ispell-minor-check): Improved html skipping support to skip across
3512 code, and recognize `&' commands without propper `;' syntax;
3513 (ispell-process-line): Fix alignment error when manually
3514 correcting spelling.
3515 (ispell): Fix comment string.
3516 (ispell-add-per-file-word-list): Always put word list on new line.
3518 2000-08-17 Gerd Moellmann <gerd@gnu.org>
3520 * format.el (format-encode-run-method): Fix error message to say
3521 `encode' instead of `decode'. Use save-window-excursion around
3522 shell-command-on-region as in format-decode-run-method because
3523 shell-command-on-region can display a buffer with error output.
3524 (format-decode): Don't record undo information for the decoding.
3525 (format-annotate-function): Add parameter FORMAT-COUNT. Make
3526 that number part of the temporary buffer name so that more than
3527 one decoding using a temporary buffer can happen safely.
3529 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
3530 of `A-z' in the regexp.
3532 * hilit-chg.el: Fix typos in commentary.
3534 * help.el (view-emacs-news): Rewritten for new naming scheme
3537 * startup.el (command-line): Pop to *Messages* in case an error
3538 is signaled while loading user-init-file.
3540 2000-08-17 Andreas Schwab <schwab@suse.de>
3542 * files.el (insert-directory): Don't lose original file name,
3543 undoing an undocumented change.
3545 2000-08-17 Alex Schroeder <alex@gnu.org>
3547 * sql.el (sql-magic-go): Use comint-bol.
3548 (sql-copy-column): Use comint-line-beginning-position.
3549 (comint-line-beginning-position): Define a replacement for
3550 comint-line-beginning-position if it is not fboundp.
3552 2000-08-17 Alex Schroeder <alex@gnu.org>
3554 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
3555 it didn't have any effect anyway.
3557 2000-08-17 Alex Schroeder <alex@gnu.org>
3559 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
3560 --pset and pager=off instead of sending \\o|cat at the beginning
3563 2000-08-17 Miles Bader <miles@gnu.org>
3565 * progmodes/octave-inf.el: Add compatibility definition of
3566 comint-line-beginning-position.
3568 2000-08-17 Kenichi Handa <handa@etl.go.jp>
3570 * startup.el (normal-top-level): Look in each dir in load-path for
3571 a leim-list.el file too. This assures of loading leim-list.el
3572 that is created at Emacs installation time even if a user have his
3575 2000-08-17 Miles Bader <miles@gnu.org>
3577 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
3578 foreground color to black if the background is dark.
3580 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
3582 * loadhist.el (unload-feature): Typo.
3584 * finder.el (finder-compile-keywords):
3585 * cus-dep.el (custom-make-dependencies): Add local-variable settings
3586 to the generated file.
3588 * mail/mh-e.el (mh-make-local-vars):
3589 Replace make-variable-buffer-local with make-local-variable.
3592 * options.el (Edit-options-{set,toggle,t,nil}):
3593 * mail/mailabbrev.el (mail-abbrevs-mode):
3594 * textmodes/tex-mode.el (tex-expand-files):
3595 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
3597 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
3599 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
3600 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
3601 Allow going past the last element.
3602 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
3603 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
3604 (cvs-mouse-toggle-mark): Don't move point.
3605 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
3607 * progmodes/compile.el (grep): Provide a default set of files.
3608 (next-error): Docstring fix.
3609 (compilation-find-file): Avoid find-file (fails in a dedicated window).
3611 * emacs-lisp/easy-mmode.el (define-minor-mode):
3612 Use `symbol-value' to keep the byte-compiler quiet.
3614 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
3615 (diff-find-source-location): New fun, extracted from diff-goto-source.
3616 (diff-goto-source): Use it.
3617 (diff-next-complex-hunk, diff-filter-lines): New function.
3618 (diff-apply-hunk): New command.
3620 * smerge-mode.el (smerge-mode-menu): Doc fix.
3622 * msb.el (msb-mode): Define it in terms of define-minor-mode.
3624 2000-08-16 Dave Love <fx@gnu.org>
3626 * windmove.el (windmove) <defgroup>: Add :version.
3628 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
3629 (goto-address-fontify-p, goto-address-highlight-p)
3630 (goto-address-url-face, goto-address-url-mouse-face)
3631 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
3632 (goto-address-url-regexp): Use thing-at-point-url-regexp.
3633 (goto-address-fontify, goto-address-at-mouse): Simplify,
3634 (goto-address-at-point): browse-url-url-at-point,
3635 goto-address-find-address-at-point can return nil.
3636 (goto-address-find-address-at-point): Return nil on failure.
3638 * align.el (align) <defgroup>: Add :version.
3640 * calculator.el (calculator): Add :version.
3641 (calculator): Use two lines for calculator window if `modeline'
3644 * play/5x5.el: Doc fixes.
3645 (5x5) <defgroup>: Add :version.
3647 * play/fortune.el (fortune) <defgroup>: Add :version.
3648 (fortune-append): Fix error message.
3649 (fortune-from-region): Doc fix.
3651 * play/pong.el (pong): Doc fix.
3653 * play/morse.el: Keywords, commentary, autoloads.
3655 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
3657 * desktop.el (desktop-save): Don't look at symbol-value of a
3658 member of minor-mode-alist, unless it is boundp.
3660 2000-08-16 Sam Steingold <sds@gnu.org>
3662 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
3663 `while'; use `with-current-buffer' instead of `save-excursion'.
3664 Removed unnecessary kludges now that "*Buffer List*" is excluded.
3666 2000-08-16 Kenichi Handa <handa@etl.go.jp>
3668 * international/ccl.el (declare-ccl-program): Docstring modified.
3669 (ccl-execute-with-args): Likewise.
3671 2000-08-16 Miles Bader <miles@gnu.org>
3673 * progmodes/sql.el: Add compatibility definition of
3674 comint-line-beginning-position.
3676 2000-08-15 Gerd Moellmann <gerd@gnu.org>
3678 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
3679 'buffer-menu' property.
3680 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
3682 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
3683 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
3686 * buff-menu.el (list-buffers-noselect): Don't display the
3687 *Buffer List* buffer.
3689 * font-lock.el: Require jit-lock to prevent a very late
3690 `Loading jit-lock' message.
3692 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
3693 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
3696 2000-08-15 Miles Bader <miles@gnu.org>
3698 * textmodes/ispell.el (ispell-graphic-p): New constant.
3699 (ispell-choices-win-default-height, ispell-help): Use
3700 `ispell-graphic-p' instead of `xemacsp'.
3702 2000-08-15 Dave Love <fx@gnu.org>
3704 * simple.el: Autoload widget-convert when compiling.
3705 (mail-user-agent): Doc fix.
3707 * help.el (function-called-at-point, variable-at-point): Use
3709 (help-manyarg-func-alist): Add insert-and-inherit.
3711 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
3713 * delsel.el (delsel-unload-hook): New function.
3715 * find-file.el: Doc fixes. Move provide to end.
3716 (ff) <defgroup>: Add :link.
3717 (ff-goto-click): Deleted.
3718 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
3719 Use mouse-set-point.
3721 * textmodes/tildify.el: Doc fixes.
3722 (tildify) <defgroup>: Add:version.
3724 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
3725 (glasses-custom-set): Use set-default, not set.
3726 (minor-mode-alist): Propertize the lighter.
3727 (glasses-mode): Provide optional arg.
3729 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
3730 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
3731 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
3732 option. Provide :type.
3733 (cwarn-configuration): Provide :type.
3734 (cwarn-mode): Doc fix.
3736 * add-log.el (change-log-merge): Doc fix.
3737 (change-log-redate): New command.
3739 * net/browse-url.el (browse-url-filename-alist): Add a clause for
3741 (browse-url): Use dolist, not mapcar.
3742 (browse-url-at-point): Check for null url.
3743 (browse-url-event-buffer, browse-url-event-point): Functions
3745 (browse-url-at-mouse, browse-url-netscape): Simplify.
3747 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
3749 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
3750 Fix previous change to mapcan.
3751 (msb--init-file-alist, msb--add-separators)
3752 (msb--make-keymap-menu): Simplify.
3753 (msb--choose-file-menu): Use copy-sequence.
3754 (msb-mode-map): Add title to keymap.
3755 (msb-unload-hook): New function.
3757 * bs.el: Fix indentation.
3758 (bs) <defgroup>: Add :links.
3760 (bs-apply-sort-faces): Don't use window-system.
3761 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
3763 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
3765 * calendar/timeclock.el (timeclock-file): Run .timelog through
3766 convert-standard-filename.
3768 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3770 * emacs-lisp/authors.el: New file.
3772 * paren.el (show-paren-priority): New user option.
3773 (show-paren-function): Set overlay priorities to
3774 show-paren-priority.
3776 2000-08-14 Miles Bader <miles@gnu.org>
3778 * comint.el (comint-bol): Use `forward-line 0' instead of calling
3779 beginning-of-line with inhibit-field-text-motion bound.
3781 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3783 * calendar/timeclock.el: New file.
3785 2000-08-14 David Ponce <david@dponce.com>
3787 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
3788 `widget-button-click'. so that one can use left mouse button to
3789 click on dialog buttons.
3791 2000-08-14 Emmanuel Briot <briot@gnat.com>
3793 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
3794 identifiers, since XML is case sensitive
3796 2000-08-12 Miles Bader <miles@gnu.org>
3798 * comint.el (comint-output-filter): Don't bother frobbing
3799 window-start, it doesn't seem to be necessary.
3801 * comint.el (comint-send-string, comint-send-region): Make into
3802 real functions. Snapshot the prompt before sending.
3804 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3806 * info.el (Info-find-emacs-command-nodes): Rewrite to use
3807 technique similar to Info-index, instead of relying on specific
3808 names of relevant Index nodes.
3809 (Info-goto-emacs-command-node): Bind Info-history to nil when
3810 going to the first node found by Info-find-emacs-command-nodes.
3812 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3814 * menu-bar.el (menu-bar-help-menu): Add a :help string.
3816 2000-08-10 Miles Bader <miles@gnu.org>
3818 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
3820 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3822 * info.el (Info-file-list-for-emacs): More elements for the
3823 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
3826 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
3828 * comint.el (comint-send-input): Make the newline boundary overlay
3829 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
3830 (comint-output-filter): Use `insert' instead of
3831 `insert-before-markers'. Extend comint-last-output-overlay when
3832 necessary since we can't rely on insert-before-markers to do it.
3833 * gud.el (gud-filter): Use `with-current-buffer' instead of
3834 save-excursion when inserting the output, so that point gets
3835 updated correctly; the old method relied on a rather dodgy
3836 side-effect of comint-output-filter to avoid the effect of
3839 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3841 * files.el (recover-file): Call insert-directory instead of
3842 invoking `ls' directly.
3844 2000-08-10 Miles Bader <miles@gnu.org>
3846 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
3847 (comint-last-prompt-overlay): New variables.
3848 (comint-output-filter): Implement prompt highlighting.
3849 (comint-snapshot-last-prompt): New function.
3850 (comint-send-input): Snapshot the last prompt.
3851 Use comint-highlight-input-face.
3852 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
3853 Use defface instead of defcustom.
3854 (send-invisible, comint-send-eof): Snapshot the last prompt.
3855 (comint-delchar-or-maybe-eof): Use comint-send-eof.
3856 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
3858 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
3860 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
3861 (regexp-opt-group): Use a list of chars for `letters'.
3862 (regexp-opt-charset): `chars' is now a list of chars.
3863 Use a char-table rather than a vector so it works for multibyte chars.
3865 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
3866 Set cvs-minor-current-files to the selected fileinfo.
3867 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
3868 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
3870 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
3872 * files.el (insert-directory): Don't call access-file on
3873 directories on DOS and Windows.
3875 2000-08-09 Kenichi Handa <handa@etl.go.jp>
3877 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
3878 longer if necessary.
3879 (ccl-embed-code): Call ccl-embed-data to store CODE in
3882 2000-08-09 Miles Bader <miles@gnu.org>
3884 * comint.el (comint-output-filter): Properly handle the case where
3885 the text surrounded by comint-last-output-overlay was deleted.
3887 2000-08-08 Gerd Moellmann <gerd@gnu.org>
3889 * info.el (Info-insert-dir): Use Info-additional-directory-list if
3891 (Info-file-list-for-emacs): Remove "info" from the list because
3892 that leads to trying to use the documentation from file `info'
3893 in various situations where it isn't appropriate, for instance
3896 * ffap.el (ffap-read-file-or-url-internal): Handle case that
3897 DIR and/or STRING are nil.
3899 * progmodes/compile.el (compilation-setup): Make variable
3900 compilation-error-screen-columns buffer-local, as some comment
3901 in the code suggests it should be.
3903 * files.el (auto-mode-interpreter-regexp): New variable.
3904 (set-auto-mode): Use it.
3906 * indent.el (indent-for-tab-command): Doc fix.
3908 * mouse-sel.el (mouse-sel-mode): Doc fix.
3910 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
3913 * help.el (print-help-return-message): When
3914 display-buffer-reuse-frames is set, let the help window been quit,
3915 instead of deleting it, which might delete a reused frame.
3917 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
3919 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
3920 rename a directory to a name that differs only by its letter case.
3922 2000-08-08 Kenichi Handa <handa@etl.go.jp>
3924 * international/quail.el (quail-define-rules): Handle Quail decode
3925 map correctly. Add code for supporting annotations.
3926 (quail-install-decode-map): New function.
3927 (quail-defrule-internal): New optional arguments decode-map and
3929 (quail-advice): New function.
3931 2000-08-07 Sam Steingold <sds@gnu.org>
3933 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
3934 `defconst', `define-condition', `with-slots'.
3935 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
3937 2000-08-03 Miles Bader <miles@gnu.org>
3939 * comint.el (comint-use-prompt-regexp-instead-of-fields):
3941 (comint-prompt-regexp, comint-get-old-input): Document dependence on
3942 comint-use-prompt-regexp-instead-of-fields.
3943 (comint-send-input): Add `input' field property to stuff we send to
3944 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
3945 (comint-output-filter): Add `output' field property to process
3946 output, if comint-use-prompt-regexp-instead-of-fields is nil.
3947 (comint-replace-by-expanded-history)
3948 (comint-get-old-input-default, comint-show-output)
3949 (comint-backward-matching-input, comint-forward-matching-input)
3950 (comint-next-prompt, comint-previous-prompt): Use field
3951 properties if comint-use-prompt-regexp-instead-of-fields is nil.
3952 (comint-line-beginning-position): New function.
3953 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
3954 (comint-replace-by-expanded-history-before-point): Use
3955 comint-line-beginning-position and line-end-position.
3956 (comint-last-output-overlay): New variable.
3957 (comint-mode): Make `comint-last-output-overlay' buffer-local.
3959 * shell.el (shell-prompt-pattern): Doc change.
3960 (shell-backward-command): Use line-beginning-position.
3962 * gud.el (gud-gdb-complete-command): Use
3963 comint-line-beginning-position.
3965 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
3966 comint-bol doesn't actually go to the beginning of the line.
3968 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
3969 if comint-use-prompt-regexp-instead-of-fields is non-nil.
3970 (try-expand-line-all-buffers): Likewise.
3972 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
3973 explicitly matching comint-prompt-regexp.
3974 (sql-copy-column): Use comint-line-beginning-position instead of
3975 explicitly matching comint-prompt-regexp.
3977 * progmodes/octave-inf.el (inferior-octave-complete): Use
3978 comint-line-beginning-position.
3980 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
3982 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
3983 looking for a prompt, use `forward-line 0' instead of
3984 `beginning-of-line', to avoid getting caught by an input field.
3986 2000-08-07 Gerd Moellmann <gerd@gnu.org>
3988 * files.el (shell-quote-wildcard-pattern): Make sure to return
3989 PATTERN, in the Unix case.
3991 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
3993 * play/zone.el (zone): Discard any pending input before running
3994 the randomly-chosen pgm.
3996 2000-08-07 Kenichi Handa <handa@etl.go.jp>
3998 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
3999 checking the existence of any multibyte characters.
4001 2000-08-06 Gerd Moellmann <gerd@gnu.org>
4003 * help.el (describe-mode): Test minor-mode symbol for being
4004 bound before testing its value for being nil.
4006 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
4007 `first', `second', and `third'.
4009 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
4010 (second): Make it an alias for `cadr'.
4012 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
4014 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
4015 types of display support faces now.
4017 2000-08-05 Gerd Moellmann <gerd@gnu.org>
4019 * pcvs.el (require): Require `cl' during compilation, only.
4021 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
4022 (toplevel): Remove `remq' and `remove' from autoloads.
4023 (cl-fake-autoloads): New variable. If set, arrange for an error
4024 when CL functions etc. are autoloaded.
4026 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
4028 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
4030 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
4031 popped up, but the user clicks outside the menu, return an empty
4032 regexp (that causes unhighlight-regexp to have no effect).
4034 * menu-bar.el (menu-bar-games-menu): Add Zone.
4036 * hi-lock.el (toplevel): Require font-lock.
4038 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4040 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
4041 (ebnf-8-bit-chars): New var for bug fix.
4042 (ebnf-string): Bug fix.
4044 2000-08-03 Sam Steingold <sds@gnu.org>
4046 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
4047 instead of `buffer-string'.
4048 (require 'cl): Always, not just when compiling.
4049 `ignore-errors' in `interactive', `list*', `defun*' &c make this
4052 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
4054 * international/mule-cmds.el (select-safe-coding-system): Make
4055 the message text about selecting a safe coding system more clear.
4057 2000-08-02 Gerd Moellmann <gerd@gnu.org>
4059 * hi-lock.el: New file.
4061 * play/zone.el: New file.
4063 * replace.el (occur): Set tab-width in the *Occur* buffer to the
4064 value of tab-width in the original buffer. Choose a line number
4065 format that's a multiple of the original buffer's tab width, so
4066 that lines appear right.
4068 * textmodes/ispell.el (ispell): New function, replacing an alias.
4069 Spell-check active region if in transient-mark-mode and mark
4070 is active; otherwise spell-check buffer.
4072 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4074 * ps-mule.el: Fix a customization problem on
4075 ps-mule-font-info-database-default.
4077 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
4079 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
4080 display-mouse-p instead of window-system.
4081 (ebrowse-member-mode-map): Ditto.
4083 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4085 * progmodes/ebnf2ps.el: Update ps-print functions call.
4086 Indentation fix. Doc fix.
4087 (ebnf-version): New version number (3.2).
4088 (ebnf-format-color, ebnf-begin-job): Code fix.
4090 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
4092 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
4093 font lock support on window-system.
4094 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
4096 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
4097 display-color-p, if fboundp, instead of window-system.
4099 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
4101 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
4102 instead of window-system.
4104 * wid-edit.el (widget-choose): Use display-mouse-p instead of
4106 (widget-choice-mouse-down-action): Use display-popup-menus-p
4107 instead of window-system.
4109 * strokes.el (strokes-file): Run the file name through
4110 convert-standard-filename.
4111 (strokes-mode): Call display-mouse-p instead of looking at
4112 window-system. Change the error message accordingly.
4114 * progmodes/cpp.el (toplevel): Support faces on tty's.
4116 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
4117 (lm-plot-square, lm-init-display): Don't use window-system.
4119 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
4120 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
4122 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
4123 instead of looking at window-system.
4125 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4127 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
4128 of testing if iswitchb-prepost-hooks is bound, because the
4129 latter will always be true when invoking a recursive minibuffer
4130 from an active Iswitchb buffer.
4132 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
4134 * files.el (shell-quote-wildcard-pattern): New function.
4135 (insert-directory): Call it. Only prepend "\" to command on Unix
4136 and GNU/Linux systems.
4138 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4140 * eshell/esh-groups.el: Change custom :link file names
4141 from `eshell.info' to `eshell'.
4143 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
4145 * dired.el (dired-build-subdir-alist): Expand subdirectory names
4146 correctly in recursive ange-ftp listings.
4148 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4150 * ps-print.el: Fix bug 1: if ps-font-size-internal,
4151 ps-header-font-size-internal and
4152 ps-header-title-font-size-internal variables are not set,
4153 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
4154 face text property is (foreground-color . COLOR) or
4155 `(background-color . COLOR)', ps-print crashes. Doc fix.
4156 (ps-print-version): New version number (5.2.4).
4157 (ps-plot-region): Code fix.
4158 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
4159 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
4162 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
4164 * glasses.el (glasses-make-readable): Fix uncapitalization of
4165 identifiers like `myXMLDocument'.
4167 2000-07-28 Karl Fogel <kfogel@red-bean.com>
4169 * mail/mail-hist.el (mail-hist-previous-input)
4170 (mail-hist-next-input): Do the obvious code factorization.
4171 (mail-hist-retrieve-and-insert): New func, contains common
4173 If inserting a message body, leave point at top.
4175 2000-07-28 Sam Steingold <sds@gnu.org>
4177 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
4178 Use `<=', not `<' to compare times!
4179 (ange-ftp-ls): Remove.
4181 2000-07-27 Gerd Moellmann <gerd@gnu.org>
4183 * play/cookie1.el: Add explanation of how to make cookie.el
4184 compatible with strfile(1) to comment.
4186 * subr.el (remove, remq): New functions.
4188 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
4189 escape `*' in regexps.
4190 (midnight-find): Reverse order of arguments in the funcall of
4193 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
4196 * play/meese.el: Add Commentary section.
4198 2000-07-27 Alex Schroeder <alex@gnu.org>
4200 * sql.el (sql-ms): Added autoload cookie.
4201 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
4202 (sql-oracle): Ditto.
4203 (sql-help): Doc change.
4205 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
4206 types and exceptions.
4208 2000-07-27 Alex Schroeder <alex@gnu.org>
4210 * sql.el (sql-placeholder-history): New variable.
4211 (sql-query-placeholders-and-send): New function that will query
4212 the user and replace placeholders with user input.
4213 (sql-oracle): If running on NT, set comint-input-sender to
4214 sql-query-placeholders-and-send.
4216 (sql-stop): If in the SQLi buffer, insert stop notification, else
4217 present it as a message.
4219 2000-07-27 Alex Schroeder <alex@gnu.org>
4221 * sql.el (sql-input-ring-separator): Doc change.
4222 (sql-input-ring-file-name): Doc change.
4223 (sql-interactive-mode): Use `sql-input-ring-separator' and
4224 `sql-input-ring-file-name' to set the comint-mode equivalents
4225 without making them local variables.
4226 (sql-stop): Don't bind `sql-input-ring-separator' and
4227 `sql-input-ring-file-name' dynamically to their comint-mode
4230 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4232 * international/mule.el (register-char-codings): New function.
4233 (make-coding-system): Handle `safe-chars' specification in the arg
4236 * international/mule-cmds.el
4237 (find-coding-systems-region-subset-p): This function deleted.
4238 (sort-coding-systems-predicate): New variable.
4239 (sort-coding-systems): New function.
4240 (find-coding-systems-region): Use
4241 find-coding-systems-region-internal.
4242 (find-coding-systems-string): Use find-coding-systems-region.
4243 (find-coding-systems-for-charsets): Check
4244 char-coding-system-table.
4245 (select-safe-coding-system-accept-default-p): New variable.
4246 (select-safe-coding-system): Mostly rewritten. New argument
4248 (select-message-coding-system): Call select-safe-coding-system
4249 with ACCEPT-DEFAULT-P arg.
4250 (reset-language-environment): Reset default-sendmail-coding-system
4251 to the default value iso-latin-1.
4252 (set-language-environment): Don't set the obsolete variable
4253 charset-origin-alist.
4255 * international/codepage.el (cp-coding-system-for-codepage-1):
4256 Give `safe-chars' property to make-coding-system.
4258 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
4259 calling select-message-coding-system twice.
4261 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
4262 instead of `safe-charsets'.
4263 (cyrillic-alternativnyj): Likewise.
4264 (ccl-encode-alternativnyj): Don't check the charset
4267 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4269 * composite.el (compose-chars-after): Preserve match data.
4271 2000-07-26 Sam Steingold <sds@gnu.org>
4273 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
4274 (ange-ftp-real-file-newer-than-file-p): New function.
4275 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
4276 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
4278 * tooltip.el (tooltip-float-time): Removed (use `float-time').
4279 * midnight.el (midnight-float-time): Ditto.
4281 2000-07-26 Andreas Schwab <schwab@suse.de>
4283 * files.el (normal-backup-enable-predicate): Correct
4284 interpretation of the return value of compare-strings.
4286 2000-07-26 Gerd Moellmann <gerd@gnu.org>
4288 * isearch.el (isearch-resume): New function.
4289 (isearch-done): Add something to command-history to resume
4291 (isearch-yank-line, isearch-yank-word): Use
4292 buffer-substring-no-properties instead of buffer-substring.
4294 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
4295 of flyspell-mouse-map.
4297 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
4298 duplicate definition.
4299 (makefile-mode): Remove duplicate setting of local-abbrev-table.
4301 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
4302 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
4304 2000-07-25 Sam Steingold <sds@gnu.org>
4306 * net/ange-ftp.el: Get modtime over the net.
4307 (ange-ftp-file-modtime): New function.
4308 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4309 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
4311 (ange-ftp-dot-to-slash): New function.
4312 (ange-ftp-fix-name-for-vms): Use it.
4314 * midnight.el (midnight-buffer-display-time): Use
4315 `with-current-buffer'.
4317 2000-07-25 Gerd Moellmann <gerd@gnu.org>
4319 * find-dired.el: Update copyright notice.
4320 (find-dired): Offer to kill a running `find'.
4322 * enriched.el (enriched-face-ans): For a `foreground-color'
4323 property, return '(("x-color" COLOR))' so that COLOR will be
4324 output as a parameter of the x-color annotation. Likewise for the
4325 `background-color' property. In the case of normal face
4326 properties, don't return annotations for unspecified foreground
4327 and background face attributes.
4329 2000-07-25 Kenichi Handa <handa@etl.go.jp>
4331 * language/japan-util.el (japanese-katakana-region): Fix handling
4334 2000-07-25 Miles Bader <miles@gnu.org>
4336 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
4337 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
4340 2000-07-24 Andrew Innes <andrewi@gnu.org>
4342 * timer.el (timer-activate-when-idle): Add optional parameter
4343 DONT-WAIT. Update docstring.
4344 (run-with-idle-timer): Specify extra parameter to
4345 timer-activate-when-idle, so that timer will be activated
4346 immediately if Emacs is already idle.
4348 * w32-fns.el (w32-using-nt): Fix docstring.
4350 2000-07-24 Dave Love <fx@gnu.org>
4352 * mouse.el (popup-menu): Set last-command-event.
4353 (mouse-major-mode-menu-prefix): Declare.
4355 2000-07-24 Gerd Moellmann <gerd@gnu.org>
4357 * textmodes/flyspell.el: Update to author's version 1.5d.
4359 * progmodes/hideshow.el: Update copyright notice.
4361 * vcursor.el: Set maintainer to FSF, since author cannot
4364 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
4366 * info.el (Info-goto-emacs-key-command-node): Leave a space after
4369 * mouse.el (popup-menu): Run the keymap through indirect-function,
4370 in case it was defined with define-prefix-key. If the menu is a
4371 list of keymaps, look up the binding of user's choice in each one
4373 (mouse-popup-menubar): If the global and local menu-bar keymaps
4374 don't have a prompt string, create one and insert it into the
4375 keymap. Don't barf if current-local-map returns nil.
4377 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
4379 * dired.el (dired-sort-R-check): Added to allow recursive listing
4381 (dired-sort-other): Use it.
4383 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4385 * Release of cc-mode 5.27
4387 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4389 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
4390 c-beginning-of-statement-1 that caused a bad case of recursion
4391 which could consume a lot of CPU in large classes in languages
4392 that have in-expression classes (i.e. Java and Pike).
4394 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
4395 statements before top level constructs (i.e. case 6 is moved
4396 before case 5 and is now case 4) to catch in-expression
4397 classes in top level expressions correctly.
4399 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4401 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
4402 objc-method-intro. Case 4 removed and case 5I added.
4404 * cc-langs.el (c-append-paragraph-start): New variable used by
4405 c-common-init to get paragraph-start correct.
4406 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
4407 initialize paragraph-start to make it correct both with and
4408 without the javadoc special case.
4410 * cc-mode.el (java-mode): Use c-append-paragraph-start to
4411 initialize paragraph-start for javadoc markup.
4413 * cc-vars.el (c-style-variables-are-local-p): Incompatible
4414 change by defaulting this to t. It's motivated by the
4415 confusing behavior that otherwise arise from the style system
4416 when editing both java and non-java files at the same time
4417 (see the comments about style setting in c-common-init).
4419 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4421 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
4422 similar to the one in c-fill-paragraph to check the fill
4423 prefix from the adaptive fill function for sanity.
4425 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4427 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
4430 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4432 * cc-mode.texi Documented the change of cpp-macro.
4434 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4436 * cc-align.el (c-lineup-multi-inher): Handle lines with
4437 leading comma nicely. Extended to handle member initializers
4440 * cc-engine.el: (c-beginning-of-inheritance-list,
4441 c-guess-basic-syntax): Fixed recognition of inheritance lists
4442 when the lines begins with a comma.
4444 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
4446 * cc-vars.el (c-offsets-alist): Changed default for
4447 member-init-cont to c-lineup-multi-inher since it now handles
4448 member initializers and indents better for leading commas.
4450 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4452 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
4453 handling that caused class open lines to be recognized as
4454 statement-conts in some cases.
4456 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
4457 guessed by the adaptive fill function unless point is on the
4458 first line of a block comment.
4460 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
4461 when the buffer ends with a macro continuation char.
4463 * cc-engine.el (c-guess-basic-syntax): Added support for
4464 function definitions as statements in Pike. The first
4465 statement in a lambda block is now labeled defun-block-intro
4466 instead of statement-block-intro.
4468 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
4469 so that the class surrounding point is selected, not the one
4470 innermost in the state.
4472 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
4473 recognition of switch labels having hanging multiline
4476 * cc-engine.el (c-beginning-of-member-init-list): Broke out
4477 some code in c-guess-basic-syntax to a separate function.
4478 * cc-engine.el (c-just-after-func-arglist-p): Fixed
4479 recognition of member inits with multiple line arglists.
4480 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
4481 member-init-cont when the commas are in funny places.
4483 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4485 * cc-defs.el (c-auto-newline): Removed this macro since it's
4488 * cc-engine.el (c-looking-at-bos): New helper function.
4489 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
4490 inexpr and toplevel classes apart in Pike.
4492 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
4495 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
4496 constant, since "class" can introduce an in-expression class
4499 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4501 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
4502 indentation on cpp-macro lines.
4504 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
4505 a syntax modifier like comment-intro, to make it possible to
4506 get syntactic indentation for preprocessor directives. It's
4507 incompatible wrt to lineup functions on cpp-macro, but it has
4508 no observable effect in the 99.9% common case where cpp-macro
4511 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4513 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
4514 member-init-cont when the preceding arglist is several lines.
4516 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4518 * cc-styles.el (c-style-alist): The basic offset for the BSD
4519 style corrected to 8.
4521 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4523 * cc-styles.el (c-style-alist): Adjusted the indentation of
4524 brace list openers in the gnu style.
4526 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4528 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
4530 * cc-cmds.el (c-electric-brace, c-electric-slash,
4531 c-electric-star, c-electric-semi&comma, c-electric-colon,
4532 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
4533 when c-syntactic-indentation is nil.
4535 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
4536 we were left at comments preceding the first statement when
4537 reaching the beginning of the buffer.
4539 * cc-vars.el (c-syntactic-indentation): New variable to turn
4540 off all syntactic indentation.
4542 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4544 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
4545 between the text and the block comment ender when it hangs,
4546 depending on how many there are before the fill.
4548 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4550 * cc-engine.el (c-beginning-of-closest-statement): New helper
4551 function to go back to the closest preceding statement start,
4552 which could be inside a conditional statement.
4553 * cc-engine.el (c-guess-basic-syntax): Use
4554 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
4556 * cc-engine.el (c-guess-basic-syntax): Better handling of
4557 arglist-intro, arglist-cont-nonempty and arglist-close when
4558 the arglist is nested inside parens. Cases 7A, 7C and 7F
4561 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
4562 up-to-date with javadoc 1.2.
4564 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4566 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
4567 multiline Pike type decls.
4569 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4571 * cc-cmds.el (c-indent-new-comment-line): Always break
4572 multiline comments in multiline mode, regardless of
4575 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4577 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
4578 fully::qualified::names in C++ member init lists. Preamble in
4581 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4583 * cc-langs.el (c-common-init): Handling of obsolete variables
4584 moved to c-initialize-cc-mode. More compatible style override
4585 when using global style variables.
4586 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
4587 variables moved here.
4589 * cc-mode.texi: Documented the special behavior of
4590 c-special-indent-hook as a style variable. Don't talk about
4591 doing (c-make-styles-buffer-local t) in a mode hook, since
4592 that's already too late to work right.
4594 * cc-styles.el (c-make-styles-buffer-local): Flag style
4595 variable localness in c-style-variables-are-local-p to make
4596 the compatibility measure in c-common-init work well.
4598 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
4599 longer contain set-from-style.
4600 * cc-styles.el (c-initialize-builtin-style): Don't check for
4601 set-from-style on c-special-indent-hook.
4602 * cc-styles.el (c-copy-tree): Obsolete. The standard function
4603 copy-alist is sufficient now.
4605 * cc-styles.el (c-set-style, c-set-style-1,
4606 c-get-style-variables): Fixes to variable initialization so
4607 that duplicate entries in styles have the same effect
4608 regardless of DONT-OVERRIDE.
4610 * cc-styles.el (c-set-style-2): Fixed bug where the
4611 initialization of inheriting styles failed when the
4612 dont-override flag is set.
4614 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
4617 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4619 * cc-defs.el (c-forward-comment): Removed the workaround
4620 introduced in 5.38 since it had worse side-effects. If a line
4621 contains the string "//\"", it regarded the // as a comment
4622 start since the \ temporarily doesn't have escape syntax.
4624 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
4626 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
4627 ada-xref.el before ada-prj.el, so that the Project menu is created
4628 when ada-prj tries to add to it.
4629 (ada-activate-keys-for-case): Suppress the characters that are not
4630 part of the Ada syntax. Better compatibility with else-mode
4631 (ada-adjust-case-interactive): When auto-casing is not active,
4632 correctly insert newlines (used to insert only ^M). Prevent the
4633 syntax table from being changed in case of an error
4634 (or '_' becomes part of a word and some commands are confused).
4635 Do nothing if ada-auto-case is nil.
4636 (ada-after-keyword-p): Ignore keywords that are also attributes
4637 (ada-batch-reformat): Update usage comment
4638 (ada-call-from-contextual-menu): New function
4639 (ada-case-read-exceptions): Reinitialize the casing exception list
4640 first to nil first, so that the casing exception file can be
4642 (ada-check-defun-name): Handles "configure" keyword for gnatdist
4644 (ada-compile-goto-error): Fix regexp used to detect a file:line
4645 anywhere in the error message
4646 (ada-contextual-menu-last-point): New variable
4647 (ada-create-keymap): If the variable delete-key-deletes-forward is
4648 t on XEmacs, it means that DEL should delete one character
4650 (ada-create-menu): Use :included instead of :visible for XEmacs.
4651 New submenu "Options".
4652 (ada-end-stmt-re): Correctly indent "select ... then abort"
4654 (ada-fill-comment-paragraph): Correctly delete all leading '--'
4655 even if they don't match ada-fill-comment-prefix Fix handling of
4656 paragraphs on the first or last line of a file.
4657 (ada-format-paramlist): Fix handling of default parameter values.
4658 (ada-get-body-name): New function.
4659 (ada-get-current-indent): Optimized by searchling directly for an
4660 existing generic part or a statement outside of it. Handle
4661 ada-indent-align-comments when indenting comments Replaced some
4662 regexps by testing directly the next character. This results in a
4663 huge speedup on some files. New indentation scheme for renames
4664 statements. Stop looking for the 'while' or 'for' associated with
4665 a 'loop' at the first semicolon encountered. A "return" can also
4666 match an anonymous access subprogram declaration.
4667 (ada-get-indent-noindent): Ignore strings and comments when
4668 looking for the keywords "record" and "private".
4669 (ada-goto-matching-decl-start): When matching "if", make sure we
4670 are not in fact seeing "end if". Ignore "when" statements except
4671 when initial keyword was "begin". Fix handling of nested
4672 procedures. Add a recursive call to this function to skip over
4673 other 'end' statmts. Fix indentation for "when .. => begin"
4674 (ada-in-open-paren-p): Fix indentation for complex boolean
4675 expressions, where 'and then', 'or else' and parenthesis
4676 statements are mixed up.
4677 (ada-in-paramlist-p): Skip comments while searching for the
4678 beginning Fix handling of operator declarations.
4679 (ada-indent-align-comments): New variable
4680 (ada-indent-current): Change the syntax table only in the
4681 protected section, so that we are sure it is restored correctly.
4682 (ada-indent-on-previous-lines): Use ada-use-indent and
4683 ada-with-indent Correctly indent "select ... then"
4684 (ada-indent-region): Slight speedup.
4685 (ada-indent-renames): New variable.
4686 (ada-last-which-function-subprog, ada-last-which-function-line):
4688 (ada-looking-at-semi-private): Correctly indent the 'private'
4689 keyword when it is the first word in a package declaration.
4690 (ada-loose-case-word): Stop searching if at the end of the buffer.
4691 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
4692 even if point is not initially at the end of the word.
4693 (ada-matching-decl-start-re): Add "when".
4694 (ada-mode): Add support for abbrev-mode, outline-mode and
4695 which-func-mode Override the old find-file.el entry in
4696 ff-special-constructs since it is using the obsolete
4697 ada-spec-suffix variable
4698 (ada-no-auto-case): New function
4699 (ada-scan-paramlist): When parsing the argument type, accept
4700 spaces (as in "X 'Class", generated by Rational Rose).
4701 (ada-other-file-name): No longer loads the other file.
4702 (ada-popup-menu): Save and restore the current buffer and cursor
4703 position before and after displaying the menu.
4704 (ada-search-ignore-complex-boolean): New function.
4705 (ada-uncomment-region): Emacs21 already knows how to delete
4706 comments not starting in the first column.
4707 (ada-use-indent): New variable
4708 (ada-which-function): New function.
4709 (ada-with-indent): New variable
4710 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
4711 can be batch-compiled from the command line.
4713 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
4714 Add to the menu when the file is loaded, not in ada-mode-hook.
4715 Add -toolbar to the default ddd command Switches moved from
4716 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
4717 ada-prj-default-comp-opt
4718 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
4719 Reference Manual to the menu
4720 (ada-check-current): rewritten as a call to ada-compile-current
4721 (ada-compile): Removed.
4722 (ada-compile-application, ada-compile-current, ada-check-current):
4723 Set the compilation-search-path so that compile.el automatically
4724 finds the sources in src_dir. Automatic scrollong of the
4725 compilation buffer. C-uC-cC-c asks for confirmation before
4727 (ada-compile-current): New parameter, prj-field
4728 (ada-complete-identifier): Load the .ali file before doing
4730 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
4731 conform to gnatmake's behavior.
4732 (ada-find-file-in-dir): New function
4733 (ada-find-references): Set the environment variables for gnatfind
4734 (ada-find-src-file-in-dir): New function.
4735 (ada-first-non-nil): Removed
4736 (ada-gdb-application): Add support for jdb, the java debugger.
4737 (ada-get-ada-file-name): Load the original-file first if not done
4739 (ada-get-all-references): Handles the new ali syntax (parent types
4740 are found between <>).
4741 (ada-initialize-runtime-library): New function
4742 (ada-mode-hook): Always load a project file when a file is opened,
4743 so that the casing exceptions are correctly read.
4744 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
4745 (ada-parse-prj-file): Use find-file-noselect instead of find-file
4746 to open the project file, since the latter does not work with
4747 speedbar Get default values before loading the prj file, or the
4748 default executable file name is wrong. Use the absolute value of
4749 src_dir to initialize ada-search-directories and
4750 compilation-search-path,... Add the standard runtime library to
4751 the search path for find-file.
4752 (ada-prj-default-debugger): Was missing an opening '{'
4753 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
4755 (ada-prj-default-gnatmake-opt): New variable
4756 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
4757 buffers, the project file is the default one Save the windows
4758 configuration before displaying the menu.
4759 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
4760 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
4761 ...) regexp-quote identifiers names to support operators +,
4763 (ada-remote): New function.
4764 (ada-run-application): Erase the output buffer before starting the
4765 run Support remote execution of the application. Use
4766 call-process, or the arguments are incorrectly parsed
4767 (ada-set-default-project-file): Reread the content of the active
4768 project file, not the one from the current buffer When a project
4769 file is set as the default project, all directories are
4770 automatically associated with it.
4771 (ada-set-environment): New function
4772 (ada-treat-cmd-string): New special variable ${current}
4773 (ada-treat-cmd-string): Revised. The substitution is now done for
4774 any ${...} substring
4775 (ada-xref-current): If no body was found, compiles the spec
4776 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
4777 compiler to get rid of command line length limitations.
4778 (ada-xref-get-project-field): New function
4779 (ada-xref-project-files): New variable
4780 (ada-xref-runtime-library-specs-path)
4781 (ada-xref-runtime-library-ali-path): New variables
4782 (ada-xref-set-default-prj-values): Default run command now does a
4783 cd to the build directory. New field: main_unit Provide a default
4784 file name even if the current buffer has no prj file.
4787 Rewritten to show a tabbed-dialog.
4788 (ada-prj-add-ada-menu): Remove the map and name parameters.
4789 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
4791 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
4792 (ada-prj-load-from-file): New function
4793 (ada-prj-save): Always save fields that depend on the current buffer
4794 (ada-prj-show-value): New function
4796 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
4797 Ada mode. This will allow us to display the Ada menu in any buffer
4798 we want (for project items).
4799 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
4800 number of spaces in the header.
4802 2000-07-24 Dave Love <fx@gnu.org>
4804 * ediff-init.el (ediff-region-help-echo): Bind face-help.
4806 2000-07-23 Noah Friedman <friedman@splode.com>
4808 * type-break.el (type-break): perform autosave.
4809 Suggested by Stephen Gildea <gildea@intouchsys.com>.
4810 (type-break-do-query): Cancel query schedule while performing
4811 actual query, to avoid possibility of a second query being made
4812 while first one is already in progress.
4813 (type-break-time-stamp-format): New variable.
4814 (type-break-time-stamp): New function.
4815 (type-break-time-warning): Use it.
4816 (type-break-keystroke-warning): Use it.
4817 (type-break-noninteractive-query): Use it.
4819 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
4821 Use add-minor-mode to set minor-mode-alist, if available.
4822 (eldoc-echo-area-use-multiline-p): New user option.
4823 (eldoc-echo-area-multiline-supported-p): New variable.
4824 (eldoc-docstring-format-sym-doc): Use them.
4825 (eldoc-mode): If not using idle timers, append to local post and
4826 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
4827 (eldoc-display-message-no-interference-p): Don't interfere with
4829 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
4830 (eldoc-function-arglist): New function.
4831 (eldoc-function-argstring): Use it.
4833 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
4834 auto save directory exists before calling directory-files.
4836 2000-07-23 Dave Love <fx@gnu.org>
4838 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
4841 2000-07-21 Dave Love <fx@gnu.org>
4843 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
4844 now passed to the function. It now works properly.
4846 * smerge-mode.el (smerge-mode-menu): Fill it out.
4848 2000-07-20 Gerd Moellmann <gerd@gnu.org>
4850 * info-look.el (info-lookup): If *info* is shown in another frame
4851 on the same display, select that frame, instead of switching to
4852 the Info buffer in another window of the selected frame.
4854 * simple.el (universal-argument-map): Bind numeric keypad keys
4855 kp-0 to kp-9 and kp-subtract.
4856 (digit-argument): Handle these keys.
4858 2000-07-20 Dave Love <fx@gnu.org>
4860 * net/goto-addr.el (goto-address-fontify): Don't bother with
4861 buffer-modified and read-only stuff -- irrelevant with overlays.
4862 Put an extra property on the overlays and use it to clean up in
4863 case goto-address is re-run.
4865 2000-07-19 Richard M. Stallman <rms@gnu.org>
4867 * timer.el (run-with-idle-timer): Doc fix.
4869 * mail/mail-utils.el (mail-strip-quoted-names):
4870 Handle case where <...> appears inside "...".
4871 Use replace-match to edit the string more simply.
4872 (rmail-dont-reply-to): Cope with an unmatched ".
4874 2000-07-19 Dave Love <fx@gnu.org>
4876 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
4879 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
4880 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
4881 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
4883 2000-07-19 Gerd Moellmann <gerd@gnu.org>
4885 * textmodes/refer.el: Correct maintainer's email address.
4887 * progmodes/hideif.el: Correct author's email address.
4888 Fix typo in comment.
4892 * mail/mailheader.el: Correct author's mail address.
4894 * gnus/parse-time.el: Correct author's mail address.
4896 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
4898 * comint.el (comint-highlight-input, comint-highlight-face):
4900 (comint-input-ring-file-name): Change custom type.
4901 (comint-mode-map): Bind mouse-2.
4902 (comint-insert-clicked-input): New function.
4903 (comint-send-input): Handle input highlighting.
4905 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
4907 * mouse.el (popup-menu): New function.
4908 (mouse-major-mode-menu): Use it.
4910 2000-07-18 Dave Love <fx@gnu.org>
4912 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
4915 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4917 * faces.el (face-font-selection-order)
4918 (face-font-family-alternatives): Add custom type.
4920 2000-07-18 Dave Love <fx@gnu.org>
4922 * cus-edit.el (custom-variable-reset-saved)
4923 (custom-variable-reset-standard): Remove unused bindings.
4925 * rect.el (open-rectangle-line): Remove unused let.
4927 * hl-line.el (hl-line-highlight): Check hl-line-mode.
4929 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4931 * cdl.el: Fix `Maintainer' keyword.
4933 * play/pong.el: Add author's email address.
4935 2000-07-17 Sam Steingold <sds@gnu.org>
4937 * files.el (insert-directory): Call `split-string' instead of
4940 2000-07-18 Gerd Moellmann <gerd@gnu.org>
4942 * mail/vms-pmail.el: Change maintainer to FSF.
4944 * net/goto-addr.el: Change maintainer to FSF.
4946 * recentf.el: Update from author.
4948 * info.el (Info-title-face-alist): Removed.
4950 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
4952 * eshell/eshell.el (eshell): Replace links to eshell.info with
4953 links to eshell, to avoid problems on systems where the manual is
4954 installed as `eshell'.
4955 * eshell/esh-cmd.el (eshell-cmd): Ditto.
4956 * eshell/em-smart.el (eshell-smart): Ditto.
4957 * eshell/em-banner.el (eshell-banner): Ditto.
4958 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
4960 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
4961 same-file check in the MS-DOS version (it does support inodes).
4963 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
4965 * eshell/eshell.el (eshell-directory-name):
4966 Run default directory name through convert-standard-filename.
4968 2000-07-18 Kenichi Handa <handa@etl.go.jp>
4970 * international/mule-cmds.el (select-safe-coding-system):
4971 Fix typo in the comment.
4973 * language/european.el (compound-text):
4974 Force katakana-jisx0201 to be designated to G1.
4976 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
4977 Don't translate some national variant characters of latin-jisx0201.
4978 (x-ctext): Force katakana-jisx0201 to be designated to G1.
4980 * international/kkc.el (kkc-after-update-conversion-functions):
4982 (kkc-update-conversion): Run functions in it at the tail.
4984 2000-07-16 John Wiegley <johnw@gnu.org>
4986 * lisp/align.el (align-newline-and-indent):
4987 Adding new function. for auto-aligning blocks of code on RET.
4988 (align-region): Fixed badly formatted minibuffer message.
4990 2000-07-17 Kenichi Handa <handa@etl.go.jp>
4992 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
4993 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
4994 the conversion list at first if appropriate.
4995 (kkc-next): Don't update kkc-next-count here.
4996 (kkc-prev): Don't update kkc-prev-count here.
4997 (kkc-show-conversion-list-update): Fix setting up of conversion
5000 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
5002 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
5004 2000-07-16 Dave Love <fx@gnu.org>
5006 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
5007 function to be more specific.
5009 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
5010 non-string help-echo.
5011 (widget-types-convert-widget): Defsubst it.
5012 (widget-echo-help): Try to cope with a help-echo function of two
5015 2000-07-15 Jason Rumney <jasonr@gnu.org>
5017 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5018 Declare as obsolete.
5020 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
5022 2000-07-14 Gerd Moellmann <gerd@gnu.org>
5024 * hilit-chg.el: Fix typo.
5026 2000-07-14 Dave Love <fx@gnu.org>
5028 * info.el (Info-mode-menu): Fix use of :help, :enable.
5030 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
5032 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
5034 2000-07-13 Dave Love <fx@gnu.org>
5036 * emacs-lisp/easymenu.el: Doc fixes.
5037 (easy-menu-remove): Defalias to ignore.
5039 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
5040 Call throw correctly.
5042 2000-07-13 Gerd Moellmann <gerd@gnu.org>
5044 * faces.el (frame-background-mode): Doc fix.
5046 * simple.el (eval-expression-print-length): Change custom type to
5047 allow entering nil as value.
5049 2000-07-13 Dave Love <fx@gnu.org>
5051 * progmodes/fortran.el (fortran-imenu-generic-expression):
5052 Change definition layout.
5053 (fortran-mode-menu): Reinstate customize entries.
5055 * cus-edit.el (custom-group-menu-create, customize-menu-create):
5056 Use :filter, per old XEmacs code.
5058 2000-07-12 Gerd Moellmann <gerd@gnu.org>
5060 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
5061 event when deciding what to send to the terminal.
5063 2000-07-12 Dave Love <fx@gnu.org>
5065 * cus-start.el: Add optional version as 4th element of specs and
5066 use it for several things new in v21. Remove load-path. Fix type
5067 of line-number-display-limit.
5069 2000-07-11 Dave Love <fx@gnu.org>
5071 * progmodes/fortran.el: Don't require easymenu.
5072 Use repeat counts in various regexps.
5073 (fortran-mode-syntax-table): Defvar directly.
5074 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
5075 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
5076 Use defvar, not defconst.
5077 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
5078 (fortran-mode): Set fortran-comment-line-start-skip,
5079 fortran-comment-line-start-skip, dabbrev-case-fold-search.
5080 (fortran-comment-indent): Use defsubst.
5081 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
5082 Use fortran-comment-indent, not fortran-comment-indent-function.
5083 (fortran-comment-region, fortran-electric-line-number): Simplify.
5084 (fortran-auto-fill): New function.
5085 (fortran-do-auto-fill): Deleted.
5086 (fortran-find-comment-start-skip):
5087 Check for non-null comment-start-skip.
5088 (fortran-auto-fill-mode, fortran-fill-statement):
5089 Use fortran-auto-fill.
5090 (fortran-fill): Use fortran-auto-fill. Check for null
5091 comment-start-skip. Simplify final clause and use end-of-line finally.
5093 * widget.el (widget-plist-member): New alias.
5095 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
5097 * eshell/esh-module.el (toplevel): Reference
5098 byte-compile-current-file only if it is bound.
5100 2000-07-10 Gerd Moellmann <gerd@gnu.org>
5102 * dired.el: Don't require `dired-aux'.
5104 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
5106 * dired-aux.el (dired-show-file-type): New function.
5107 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
5108 (dired-show-file-type): Add autoload.
5110 2000-07-10 Kenichi Handa <handa@etl.go.jp>
5112 * international/mule-diag.el (describe-font): Adjusted for the
5113 change of fontset-info.
5114 (print-fontset): Likewise.
5116 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
5118 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
5120 2000-07-07 Gerd Moellmann <gerd@gnu.org>
5122 * bindings.el: Bind `[delete]' to delete-char.
5124 * dired.el (dired-find-alternate-file): New function.
5125 (dired-mode-map): Bind `a' to dired-find-alternate-file.
5126 (toplevel): Require dired-aux when compiling.
5127 (dired-buffers): Move defvar within file to avoid compiler warning.
5129 * info.el (Info-last-search): Variable removed.
5130 (Info-search-history): New variable.
5131 (Info-search): New Info-search-history.
5133 * battery.el, info-look.el: Change author's mail address.
5135 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5137 * mail/rmail.el (rmail-clear-headers): Don't throw an error
5138 if rmail-ignored-headers is nil.
5139 (rmail-retry-failure): Bind rmail-ignored-headers and
5140 rmail-displayed-headers to nil.
5142 2000-07-06 Gerd Moellmann <gerd@gnu.org>
5144 * lpr.el (lpr-page-header-switches): Add `-h' switch.
5145 (print-region-1): Don't hard code `-h' here.
5147 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
5149 2000-07-01 Francesco Potorti` <pot@gnu.org>
5151 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
5152 exim can use "your message" instead of "the message".
5154 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
5156 * facemenu.el: Docstrings fixes.
5157 (facemenu-get-face): Don't use internal-find-face.
5158 (facemenu-iterate): Rename arg to match the docstring.
5160 * newcomment.el (uncomment-region): Be more careful when skipping
5161 backwards over `=' not to bump into BOBP.
5163 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
5165 * ediff-diff.el (ediff-wordify): Use syntax table.
5166 * ediff-init.el (ediff-has-face-support-p): Use
5167 ediff-color-display-p.
5168 (ediff-color-display-p): Use display-color-p, changed to defun
5170 Got rid of special cases for NeXT and OS/2.
5171 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
5174 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5176 * emacs-lisp/lucid.el: Require CL.
5177 (copy-tree, remprop): Remove, it's provided by CL.
5178 (map-keymap): Define in terms of cl-map-keymap.
5179 (extent-property, set-extent-end-glyph): New functions.
5181 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
5183 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5185 * Makefile.in (DONTCOMPILE): Add comment that the name may
5186 not be changed without changing the make-dist script.
5188 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
5189 (cl-mapc): Use mapc instead of cl-old-mapc.
5191 2000-07-05 Andrew Innes <andrewi@gnu.org>
5193 * makefile.nt: Add support for `bootstrap' and related targets.
5195 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5197 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
5198 (easy-menu-do-define): Use `menu-item' format.
5199 Handle case where easy-menu-create-menu returns a symbol.
5200 Manually call the potential top-level filter in the function binding.
5201 (easy-menu-filter-return): New arg NAME.
5202 Convert to a keymap if MENU is an XEmacs menu.
5203 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
5204 (easy-menu-converted-items-table, easy-menu-convert-item):
5205 New var and fun to memoize easy-menu-convert-item-1.
5206 (easy-menu-do-add-item): Use it.
5207 (easy-menu-create-menu): Use easy-menu-convert-item.
5208 Wrap easy-menu-filter-return around any :filter specification.
5209 Don't convert the menu if a filter was specified.
5210 Tell easy-menu-make-symbol not to check for MENU being an expression.
5211 (easy-menu-make-symbol): New arg NOEXP.
5213 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5215 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
5216 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
5217 (eval-defun): If called with prefix arg, instrument code for
5220 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
5221 similar to that of eval-defun.
5223 2000-07-04 Dave Love <fx@gnu.org>
5225 * hl-line.el (hl-line-overlay): Make it permanent-local.
5227 * calendar/todo-mode.el: Replaced with a working version, based on
5228 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
5230 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
5232 * paths.el (prune-directory-list): New function.
5233 (Info-default-directory-list): Rewritten to more methodically
5234 enumerate a big list of possible info directories (based on the
5235 list used by the standalone info reader).
5237 * info.el (info-initialize): Use prune-directory-list to remove
5238 non-existent directories from Info-directory-list.
5240 * paths.el (Info-default-directory-list): Try a list of possible
5241 info-directories instead of a single one. Add the possible
5242 info directory "/usr/share/info".
5244 * woman.el (woman-man.conf-path): Explicitly include the debian
5245 man-db config file "/etc/manpath.config".
5246 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
5247 are present in `manpath.config'.
5248 (woman-manpath): Include "/usr/share/man".
5250 2000-07-03 Gerd Moellmann <gerd@gnu.org>
5252 * frame.el (blink-cursor-mode): Don't hide cursor initially.
5254 * startup.el (command-line): Initialize blink-cursor based
5257 * frame.el (blink-cursor): Default to nil if not running under
5260 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
5261 (face-x-resources): Remove duplicate entry for :font.
5263 * textmodes/refer.el (refer-find-entry-internal): Use some-window
5264 instead of cycling through windows with next-window.
5266 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
5267 of cycling through windows with next-window.
5269 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
5270 of cycling through windows with next-window.
5272 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
5273 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
5274 instead of cycling through windows with next-window.
5276 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
5277 instead of cycling through windows with next-window.
5279 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
5280 of cycling through windows with next-window.
5282 * terminal.el (te-process-output): Use walk-windows instead of
5283 cycling through windows with next-window.
5285 * server.el (server-switch-buffer): Use some-window instead of
5286 cycling through windows with next-window.
5288 * window.el (some-window): New function.
5289 (walk-windows): Remove reference to walk-windows-start.
5291 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
5293 2000-07-03 Richard Stallman <rms@gnu.org>
5295 * window.el (walk-windows): Guarantee termination by keeping a list
5296 of all the windows already handled.
5298 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5300 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
5303 * man.el (Man-notify-when-ready): Don't use window-system. If
5304 Man-notify-method is newframe, and the display is not
5305 multi-frame, select the frame created for the man page.
5306 (Man-init-defvars): Doc fix.
5308 2000-06-28 Gerd Moellmann <gerd@gnu.org>
5310 * faces.el (region): Change background color for light background.
5312 * ediff-wind.el (ediff-setup-control-frame): Remove :box
5313 attribute from mode-line face of Ediff control frame.
5315 * replace.el (query-replace-map): Bind `e' like `E'.
5317 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5319 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
5320 Change name to "Select All".
5322 * dos-fns.el (convert-standard-filename): Fix last change.
5324 2000-06-27 Gerd Moellmann <gerd@gnu.org>
5326 * help.el (describe-variable): Don't insert a second `'s' in front
5327 of the string `value is shown below'. Since the syntax-table is
5328 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
5329 an existing `'s', so that this won't be deleted.
5331 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
5332 * pcmpl-unix.el: New files.
5334 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
5336 * wid-edit.el (widget-member): Use the new plist-member.
5338 2000-06-26 Gerd Moellmann <gerd@gnu.org>
5340 * replace.el (perform-replace): Undo change of 2000-04-04.
5341 Instead, move backward 1 character at the end of the loop when
5344 * faces.el (fringe): Change face for different backgrounds.
5346 * eshell/esh-module.el (toplevel): Load defgroup's differently;
5349 * eshell/*.el: Change spelling of the Free Software Foundation.
5351 * eshell/esh-toggle.el: Removed.
5353 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
5355 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
5358 2000-06-26 Alex Schroeder <alex@gnu.org>
5360 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
5361 `define-key'; instead of checking `(emacs-version)' check for
5362 `set-keymap-parent' and `set-keymap-name' directly. Add entries
5363 for `;' and `o' which might be electric.
5365 (sql-electric-stuff): New user option.
5366 (sql-magic-go): New function which uses `sql-electric-stuff'.
5367 (sql-magic-semicolon): New function which uses
5368 `sql-electric-stuff'.
5370 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
5373 (sql-oracle-options): New variable.
5374 (sql-oracle): Use it.
5376 (sql-imenu-generic-expression): Doc change.
5377 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
5380 (sql-informix): Added command line parameter "-" to force
5381 sql-informix-program to use stdout.
5383 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
5385 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
5386 (cp864-decode-table): Doc fix.
5387 (cp720-decode-table): New variable, supports the Arabic OEM
5388 codepage used by Windows.
5389 (cp737-decode-table): New, Greek OEM codepage used by Windows.
5391 2000-06-23 Dave Love <fx@gnu.org>
5393 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
5394 (font-lock-fontify-anchored-keywords): Use
5395 line-beginning-position.
5396 (global-font-lock-mode): Use mapc.
5398 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
5400 * eshell/esh-module.el: Require CL when compiling.
5402 2000-06-23 Gerd Moellmann <gerd@gnu.org>
5404 * comint.el (comint-substitute-in-file-name): Call replace-match
5405 with second and third arg t.
5407 * cus-edit.el (custom-button-face, custom-button-pressed-face):
5408 Specify foreground color.
5410 * faces.el (tool-bar, mode-line, header-line): Specify foreground
5413 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
5415 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
5416 cddr instead of cdddr.
5418 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
5419 instead of copy-list.
5421 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
5424 * subdirs.el: Add eshell subdirectory.
5426 * eshell: New subdirectory containing the Eshell package.
5428 * pcomplete.el: New file.
5430 2000-06-23 Paul Eggert <eggert@twinsun.com>
5432 * mail/mailpost.el (post-mail-send-it): Make sure file has
5433 proper permissions from birth.
5435 * files.el (basic-save-buffer-2): When temporarily setting
5436 file modes, set them to current modes plus 0200, not to 0777.
5438 * emerge.el (emerge-make-temp-file): Make sure file has proper
5439 permissions from birth.
5441 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
5443 * files.el (make-backup-file-name-1): On DOS/Windows, run the
5444 backup file name through convert-standard-filename.
5446 * dos-fns.el (convert-standard-filename): Convert leading
5447 directories as well. When long file names are supported, convert
5448 characters that are invalid in Windows file names.
5450 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5452 * ps-print.el: Fix bug: if ^L is the very first buffer character,
5453 ps-print crashes. New feature: page selection for printing. Create
5454 raw-text-unix coding system for XEmacs. Doc fix.
5455 (ps-print-version): New version number (5.2.3).
5456 (ps-plot-region): Bug fix.
5457 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
5458 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
5459 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
5461 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
5462 (ps-last-page): New vars.
5464 2000-06-21 Gerd Moellmann <gerd@gnu.org>
5466 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
5467 empty option string.
5469 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
5471 * man.el (man): Doc fix.
5473 2000-06-21 Kenichi Handa <handa@etl.go.jp>
5475 * international/mule-cmds.el (set-language-info-alist): Docstring
5478 2000-06-20 Gerd Moellmann <gerd@gnu.org>
5480 * version.el (emacs-version): Use ISO date format.
5482 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
5483 instead of `M-backspace'.
5485 * simple.el (turn-off-auto-fill): New function.
5487 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
5489 * jit-lock.el (with-buffer-prepared-for-jit-lock):
5490 Renamed from with-buffer-prepared-for-font-lock and use
5491 inhibit-modification-hooks rather than setting *-change-functions.
5492 Update all functions to use the new name.
5493 (jit-lock-first-unfontify-pos): New semantics (and doc).
5494 (jit-lock-mode): Make non-interactive.
5495 Don't automatically turn on font-lock.
5496 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
5497 Always use jit-lock-after-change.
5498 Remove and restore font-lock-after-change-function.
5499 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
5500 (jit-lock-after-unfontify-buffer): Remove.
5501 (jit-lock-stealth-fontify):
5502 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
5503 (jit-lock-after-change): Set the `fontified' text-prop to nil.
5505 2000-06-20 Sam Steingold <sds@gnu.org>
5507 * emacs-lisp/cl-indent.el (toplevel): Indent
5508 `print-unreadable-object' properly. Untabify.
5510 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5512 * textmodes/reftex.el (reftex-find-citation-regexp-format):
5513 Support for bibentry.
5514 (reftex-compile-variables): Fixed problem with end of section-re.
5516 * texmodes/reftex-dcr.el (reftex-view-crossref,
5517 reftex-view-crossref-from-bibtex):
5518 Deal with changed `reftex-find-citation-regexp-format'.
5519 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
5520 Replaced `remprop' with `put'.
5521 (reftex-view-crossref, reftex-view-crossref-when-idle):
5522 Support for bibentry.
5524 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
5525 New entry for bibentry package.
5527 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
5528 Regexp also matches "\nobibliography".
5530 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
5531 Call `reftex-ensure-write-access' before doing anything.
5532 (reftex-ensure-write-access): New function.
5534 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5536 * progmodes/idlwave.el: File re-installed (update to version 4.2)
5538 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
5540 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
5542 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
5545 2000-06-20 Dave Love <fx@gnu.org>
5547 * faces.el (frame-background-mode): Use set-default, not set, in
5549 (frame-update-faces, frame-update-face-colors): Define with
5552 * enriched.el (enriched-decode-foreground)
5553 (enriched-decode-background): Don't use internal-find-face.
5555 * apropos.el: Doc fixes.
5557 * cus-edit.el (customize-changed-options): Check arg.
5558 (customize-version-lessp): Don't require decimal point.
5560 * custom.el (defcustom, defgroup): Doc fix.
5562 * newcomment.el (comment) <defgroup>: Add :version.
5563 (comment-multi-line): Doc fix.
5565 * emulation/mlsupport.el (define-hooked-local-abbrev,
5566 define-hooked-global-abbrev): Fix, using define-abbrev.
5568 2000-06-19 Gerd Moellmann <gerd@gnu.org>
5570 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
5573 2000-06-19 Dave Love <fx@gnu.org>
5575 * menu-bar.el (menu-bar-options-save): New function.
5576 (menu-bar-options-menu): Use it.
5577 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
5580 2000-06-19 Andreas Schwab <schwab@suse.de>
5582 * progmodes/etags.el (tags-query-replace): Put new parameters
5583 START and END at the end, for backward compatibility.
5585 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5587 * international/codepage.el:
5588 (cp-coding-system-for-codepage-1): Delete special codes for
5589 generating xxx-dos coding system because now a CCL based coding
5590 system can handle EOL conversion by default.
5592 * international/mule.el (make-coding-system): Generate subsidiary
5593 coding systems for EOL handling variants even for a CCL based
5596 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5598 * international/isearch-x.el (isearch-minibuffer-input-method)
5599 (isearch-minibuffer-input-method-function): These variables
5601 (isearch-with-input-method): Don't use the above variables.
5602 (isearch-process-search-multibyte-characters): Likewise. Call
5603 read-string with the arg INHERIT-INPUT-METHOD t.
5605 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
5607 * font-lock.el (font-lock-after-fontify-buffer)
5608 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
5610 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
5611 Use consistent make-local-variable style for font-lock-fontified.
5612 (jit-lock-fontify-buffer):
5613 Don't bother checking for font-lock-mode and jit-lock-mode.
5615 * time.el: Remove trailing ^M that prevent CVS-merging.
5617 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5619 * Makefile.in (distclean): New target.
5621 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
5623 * Makefile.in (srcdir): Define for update-subdirs.
5625 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5627 * find-lisp.el: New file.
5629 2000-06-16 Andrew Innes <andrewi@gnu.org>
5631 * time.el (display-time-mail-function): New variable, to allow
5632 external packages to indicate when new mail is available.
5633 (display-time-update): Use it.
5635 2000-06-16 Kenichi Handa <handa@etl.go.jp>
5637 * international/mule.el (mule-version): Change version name to
5638 SAKAKI. AOI has already been used by Meadow.
5640 * international/quail.el (quail-show-guidance-buf): To find the
5641 bottom window (but minibuffer), pay attention to the height of
5644 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
5646 * arc-mode.el (archive-mode-map): Use the new menu-item format for
5647 menu-bar menus. Add help strings. Don't remove the Edit menu
5648 from the menu bar, as the menu bar has enough space now.
5650 * Makefile.in (SHELL): Make sure /bin/sh is used.
5652 * woman.el (woman-man-buffer): Fix bold and underlined CJK
5653 characters, which use series of two ^H characters instead of one.
5655 2000-06-15 Gerd Moellmann <gerd@gnu.org>
5657 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
5658 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
5660 (Info-find-node-2): Try a case-sensitive search first, then
5661 do a case-insensitive search.
5663 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
5666 * complete.el (PC-env-vars-alist): New variable.
5667 (PC-complete-as-file-name): New function.
5668 (partial-completion-mode): Initialize PC-env-vars-alist from
5669 process-environment.
5670 (PC-do-completion): Handle completion of env vars.
5672 * info.el (Info-set-mode-line): Show file name in mode line,
5673 use `*Info*' instead of `Info:'.
5675 * startup.el (command-line-1): Change copyright messages to year
5678 2000-06-15 Dave Love <fx@gnu.org>
5680 * net/goto-addr.el (goto-address-fontify): Use keymap property,
5683 2000-06-15 Kenichi Handa <handa@etl.go.jp>
5685 * international/mule.el (set-buffer-file-coding-system): Almost
5686 rewritten to handle `undecided' as no-op.
5688 2000-06-14 Gerd Moellmann <gerd@gnu.org>
5690 * Makefile.in: New file.
5692 * Makefile: Removed.
5694 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
5695 (goto-address-highlight-keymap): Bind C-c RET.
5697 2000-06-14 Kenichi Handa <handa@etl.go.jp>
5699 * mail/sendmail.el (sendmail-send-it): The temporary buffer
5700 inherits buffer-file-coding-system of the current buffer.
5702 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
5703 0. Give correct argument to set-auto-coding-function.
5704 (tar-expunge): For goto-char, use (point-min), not 0.
5705 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
5706 (tar-subfile-save-buffer): Likewize.
5708 * international/mule.el
5709 (after-insert-file-set-buffer-file-coding-system): Call
5710 set-buffer-file-coding-system with the arg FORCE t.
5712 2000-06-13 Gerd Moellmann <gerd@gnu.org>
5714 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
5715 nil. Contemporary sendmails issue an X-Authentication-Warning if
5716 the sender is set with `-f'.
5718 2000-06-13 Dave Love <fx@gnu.org>
5720 * help.el (describe-function-1): Kluge around cases of functions
5721 fset to subrs whose doc doesn't match their symbol-name.
5723 * image.el (insert-image): Default STRING to a space.
5725 * info.el Doc fixes.
5726 (Info-build-node-completions): Match Ref tags.
5728 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
5730 * frame.el (display-multi-frame-p, display-multi-font-p): New
5731 defaliases for display-graphic-p.
5733 * hl-line.el: Fixed a typo in commentary.
5735 2000-06-13 Kenichi Handa <handa@etl.go.jp>
5737 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
5740 2000-06-12 Dave Love <fx@gnu.org>
5742 * image.el (insert-image): Save a little consing.
5744 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5746 * language/tibet-util.el: Convert all tibetan-1-column characters
5747 to the corresponding tibetan characters.
5748 (tibetan-add-components): Delete code for the special treatment of
5751 * language/tibetan.el (tibetan-composable-pattern): Fix previous
5753 (tibetan-vowel-transcription-alist): More rules added.
5754 (tibetan-composite-vowel-alist): New variable.
5755 (tibetan-precomposition-rule-alist): More rules added.
5757 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
5759 * startup.el (command-line): Only call menu-bar-mode if interactive.
5761 * thingatpt.el (toplevel symbol-properties):
5762 * textmodes/makeinfo.el (makeinfo-compile):
5763 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
5764 * progmodes/hideif.el (hif-compress-define-list)
5765 (hide-ifdef-use-define-alist):
5766 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
5767 (ange-ftp-vms-add-file-entry):
5768 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
5769 * man.el (Man-build-man-command):
5770 * mail/rnewspost.el (news-reply-header-hook):
5771 * info.el (Info-insert-dir):
5772 * emulation/mlconvert.el (backward-word, forward-word, setq):
5773 * emacs-lisp/gulp.el (gulp-send-requests):
5774 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
5775 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
5776 (byte-optimize-apply, end of file):
5777 * emacs-lisp/advice.el (ad-advice-class-completion-table)
5778 (ad-make-freeze-definition):
5779 * startup.el (command-line, command-line-1): Don't quote lambdas.
5781 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
5782 (cvs-cleanup-removed): New function.
5783 (cvs-cleanup-functions): New var.
5784 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
5785 some flexibility in specifying additional entries to auto-cleanup.
5786 (cvs-quickdir): New function.
5787 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
5788 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
5789 (cvs-mode-find-file): Check that we are on a filename or dirname
5790 when invoked through a mouse-click.
5791 (cvs-full-path): Remove.
5792 (cvs-dired-action): Re-introduced.
5793 (cvs-dired-noselect): Use it.
5794 (vc-post-command-functions): use this new hook if available.
5796 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
5797 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
5798 (cvs-filename-map, cvs-dirname-map): Remove.
5799 (cvs-default-action): Remove.
5800 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
5801 if the arg is really a keymap.
5802 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
5803 Don't hardcode the mapping from state (aka type) to face, but check
5804 the var cvs-fi-<type>-face instead.
5805 (cvs-fileinfo-from-entries): New function.
5807 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
5809 (cvs-find-file-and-jump): Change default to be safer.
5810 (cvs-mode-diff-map): Define it as a function as well.
5811 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
5812 Bind mouse-2 in this global map rather than with text-properties.
5814 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
5815 file to resolve the ambiguity between C(conflict) and C(need-merge).
5817 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5819 * international/mule.el (set-buffer-file-coding-system): If
5820 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
5823 2000-06-12 Dave Love <fx@gnu.org>
5825 * wid-edit.el (widget-specify-button): Really suppress the face if
5828 2000-06-11 Gerd Moellmann <gerd@gnu.org>
5830 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
5832 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
5834 * imenu.el (imenu-generic-expression): Docstring fix.
5836 * composite.el (composition-function-table): Move the `put'
5837 below the autoload cookie so we can load the file before loaddefs.
5839 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
5841 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
5842 Handle easy-mmode-define-global-mode.
5843 For complex macros like define-minor-mode that can generate
5844 several autoload entries, try to autoload entries in the
5847 * emacs-lisp/easy-mmode.el (define-minor-mode):
5848 If KEYMAP is a symbol, just use it.
5849 Use byte-compile-current-file and load-file-name to infer the
5850 proper :require to pass to defcustom.
5851 Wrap the hook var into `progn' so as not to autoload it.
5852 Add a :autoload-end cookie.
5853 Be more careful about the evaluation of KEYMAP.
5854 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
5855 (define-derived-mode): Move define-abbrev-table outside of defvar.
5857 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
5859 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
5860 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
5861 (backup-compiled-files): Ignore errors during `tar'.
5862 (bootstrap): Make autoloads before elc files.
5864 2000-06-10 Kenichi Handa <handa@etl.go.jp>
5866 * international/mule.el (set-buffer-file-coding-system): If one of
5867 undecided-XXX is specified, change only EOL conversion.
5869 * international/mule-conf.el (unix): New alias for the coding
5870 system undecided-unix.
5872 2000-06-09 Dave Love <fx@gnu.org>
5874 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
5876 * progmodes/executable.el: Byte compile dynamic.
5877 (executable-insert): Change custom type.
5878 (executable-find): Add autoload cookie.
5879 (executable-make-buffer-file-executable-if-script-p): New
5880 function. After Noah Friedman.
5882 * files.el (after-save-hook): Customize, with
5883 executable-make-buffer-file-executable-if-script-p as an option.
5885 2000-06-09 Kenichi Handa <handa@etl.go.jp>
5887 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
5888 "tib24p-mule.bdf" for Tibetan.
5890 * composite.el (decompose-composite-char): Declare it as obsolete.
5892 * man.el (Man-fontify-manpage): Pay attention to underline and
5893 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
5895 2000-06-08 Gerd Moellmann <gerd@gnu.org>
5897 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
5898 Set maintainer to FSF since author isn't reachable.
5900 2000-06-08 Dave Love <fx@gnu.org>
5902 * international/mule-cmds.el (select-safe-coding-system): If
5903 DEFAULT-CODING-SYSTEM is not specified, also check the most
5904 preferred coding-system if buffer-file-coding-system is
5905 `undecided'. From Handa.
5907 2000-06-08 Kenichi Handa <handa@etl.go.jp>
5909 * international/mule.el
5910 (after-insert-file-set-buffer-file-coding-system): If the buffer
5911 size is greater than INSERTED, judget that we are not visiting.
5913 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
5915 * whitespace.el (defgroup whitespace): Comment out `:version'.
5916 XEmacs 20.4 has problems defining the group with this present.
5917 We'll have this commented out till get resolve the problem.
5919 2000-06-07 Gerd Moellmann <gerd@gnu.org>
5921 * align.el: Update from author.
5923 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
5925 * apropos.el (apropos-mode-hook): New user variable.
5926 (apropos-mode): Run apropos-mode-hook.
5928 2000-06-07 David Ponce <david@dponce.com>
5930 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
5931 commands. Require `wid-edit' at run-time.
5933 2000-06-07 David Ponce <david@dponce.com>
5935 * recentf.el: Added some "Commentary".
5936 (recentf-open-more-files, recentf-edit-list): Minor changes to
5937 move the point at the top of the file list. This behaviour is
5938 consistent with the menu one when the list contains a lot of
5940 (recentf-cleanup): Now displays the number of items removed from
5942 (recentf-relative-filter) New menu filter to show filenames
5943 relative to `default-directory'.
5945 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5947 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
5948 with/without giving an error if PostScript printer doesn't have this
5949 kind of page size. Zebra Stripe continues or restarts on next page.
5950 Manual/automatic paper feeding. Switch or not the header.
5951 (ps-print-version): New version number (5.2.2).
5952 (ps-windows-system): Include emx as a Windows system.
5953 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
5954 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
5955 (ps-background-text): Code fix.
5956 (ps-error-handler-message, ps-user-defined-prologue)
5957 (ps-print-prologue-header, ps-printer-name)
5958 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
5959 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
5960 (ps-use-face-background): Customization fix.
5961 (ps-n-up-database): Data fix.
5962 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
5963 (ps-switch-header): New vars.
5964 (ps-xemacs-color-name, ps-face-foreground-name)
5965 (ps-face-background-name, ps-boolean-constant): New funs.
5967 2000-06-07 Dave Love <fx@gnu.org>
5969 * allout.el: New version from Manheimer.
5971 2000-06-07 Kenichi Handa <handa@etl.go.jp>
5973 * textmodes/fill.el (fill-find-break-point): Check the validity of
5976 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
5978 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
5979 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
5980 Call display-color-p and display-mouse-p instead of looking at
5983 2000-06-06 Dave Love <fx@gnu.org>
5985 * image.el (find-image): Doc fix. Return nil if image not found.
5986 (put-image, insert-image): Make STRING arg optional.
5988 2000-06-06 Kenichi Handa <handa@etl.go.jp>
5990 * language/vietnamese.el: Remove eval-when-compile.
5991 (viet-viscii-nonascii-translation-table): Define it as a
5992 translation table made from viet-viscii-decode-table.
5993 (viet-viscii-encode-table): Define it as a translation table made
5994 from the reverse map of above.
5995 (viet-vscii-nonascii-translation-table): Define it as a
5996 translation table made from viet-vscii-decode-table.
5997 (viet-vscii-encode-table): Define it as a translation table made
5998 from the reverse map of above.
5999 (ccl-decode-viscii): Use translate-character.
6000 (ccl-encode-viscii, ccl-encode-viscii-font)
6001 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
6004 * language/cyrillic.el: Remove eval-when-compile.
6005 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
6006 translation table made from cyrillic-koi8-r-decode-table.
6007 (cyrillic-koi8-r-encode-table): Define it as a translation table
6008 made from the reverse map of above.
6009 (ccl-decode-koi8): Use translate-character.
6010 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
6011 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
6012 a translation table made from cyrillic-alternativnyj-decode-table.
6013 (cyrillic-alternativnyj-encode-table): Define it as a translation
6014 table made from the reverse map of above.
6015 (ccl-decode-alternativnyj): Use translate-character.
6016 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
6019 * international/mule-diag.el (non-iso-charset-alist): Specify
6020 translation table symbol instead of translation table itself.
6021 (list-block-of-chars): CHARSET may be a translation table symbol.
6023 * international/mule.el (make-coding-system): If CODING-SYSTEM
6024 already exists, override it.
6026 * international/fontset.el: Use family `proportional' for Tibetan
6029 * international/ccl.el (ccl-compile-translate-character): Don't
6030 check if Rrr has property translation-table.
6031 (ccl-compile-map-multiple): Modified to avoid compiler warning.
6033 2000-06-05 Gerd Moellmann <gerd@gnu.org>
6035 * info.el: Bind case-fold-search to t when searching in case
6036 a user sets it to nil in a hook.
6038 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
6040 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6041 * hl-line.el (hl-line-mode): Use the new :global key argument.
6043 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
6044 (tar-clip-time-string): Prepend a space.
6045 (tar-grind-file-mode): Construct a string rather than modifying one.
6046 (tar-header-block-summarize): Fix docstring.
6047 Use `format' rather than an error-prone set of copy-loops.
6049 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
6050 (diff-goto-source, diff-unified->context, diff-context->unified)
6051 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
6052 understand the format output by the `-p' argument to diff.
6054 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
6055 (sh-re-done): Use defconst.
6056 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
6057 (sh-help-string-for-variable, sh-guess-basic-offset):
6058 Don't quote lambdas.
6059 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
6060 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
6062 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
6063 (mh-letter-mode): Derive from text-mode.
6064 This implicitly means that it now calls kill-all-local-variables.
6065 Also remove the Emacs-18 compatibility code.
6067 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
6068 Make use of symbol-property doc-string-elt.
6069 Use memq rather than a sequence of eq.
6070 (doc-string-elt): Fix the wrong or missing previously unused values.
6071 (autoload-print-form): New function extracted from
6072 generate-file-autoloads to allow recursion when handling progn
6073 so that defvar's and defun's docstrings are properly printed.
6074 (generate-file-autoloads): Use it.
6076 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
6077 Use find-file-hooks in the minor-mode function.
6078 Be careful not to loop indefinitely in the post-command-hook function.
6080 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
6082 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
6084 * ediff-diff.el (ediff-exec-process): Use --binary for fine
6085 differences whenever appropriate.
6086 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
6087 * viper.el (find-file, find-file-other-window): Get viper to do
6090 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
6092 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
6093 (jit-lock-fontify-buffer): New function for JIT refontification.
6094 (jit-lock-mode): Fix docstring.
6095 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
6096 Remove jit-lock-after-change from the _local_ hook.
6097 (jit-lock-function-1): Fix docstring.
6099 * info.el (Info-on-current-buffer): Initialize info.
6101 * newcomment.el (comment-indent): Ignore comment-indent-hook.
6103 * progmodes/tcl.el (tcl-indent-for-comment):
6104 Ignore comment-indent-hook.
6106 * emacs-lisp/easy-mmode.el: Require CL during compilation.
6107 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
6108 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
6109 and improve to use the lighter to guess the capitalization.
6110 (define-minor-mode): Inline code from easy-mmode-define-toggle.
6111 Add keyword arguments to specify global-ness or the custom group.
6112 Add local-map and help-echo properties to the lighter.
6113 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
6114 (easy-mmode-define-global-mode): New macro.
6116 2000-06-02 Dave Love <fx@gnu.org>
6118 * wid-edit.el: byte-compile-dynamic since we typically don't use
6119 all the widgets. Don't require cl or widget. Remove
6120 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
6121 (widget-read-event): Removed. Callers changed to use read-event.
6122 (widget-button-release-event-p): Renamed from
6123 button-release-event-p.
6124 (widget-field-add-space, widget-field-use-before-change):
6126 (widget-specify-field): Use keymap property, not local-map.
6127 (widget-specify-button): Obey :suppress-face.
6128 (widget-specify-insert): Use modern backquote syntax.
6129 (widget-image-directory): Renamed from widget-glyph-directory.
6130 (widget-image-enable): Renamed from widget-glyph-enable.
6131 (widget-image-find): Replaces widget-glyph-find.
6132 (widget-button-pressed-face): Move defvar.
6133 (widget-image-insert): Replaces widget-glyph-insert.
6134 (widget-convert): Use keywordp.
6135 (widget-leave-text, widget-children-value-delete): Use mapc.
6136 (widget-keymap): Remove XEmacs stuff.
6137 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
6138 (widget-button-click): Don't set point at the click, but re-centre
6139 if we scroll out of window. Rewritten for images v. glyphs &c.
6140 (widget-tabable-at): Use POS arg, not point.
6141 (widget-beginning-of-line, widget-end-of-line)
6142 (widget-item-value-create, widget-sublist, widget-princ-to-string)
6143 (widget-sexp-prompt-value, widget-echo-help): Simplify.
6144 (widget-default-create): Use widget-image-insert; some rewriting.
6145 (widget-visibility-value-create)
6146 (widget-push-button-value-create, widget-toggle-value-create): Use
6147 widget-image-insert.
6148 (checkbox): Create on and off images dynamically.
6149 (documentation-link): Change :help-echo.
6150 (widget-documentation-link-echo-help): Remove.
6152 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
6154 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
6156 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
6157 (easy-mmode-define-toggle, define-minor-mode): Use it.
6158 (easy-mmode-define-keymap): Docstring fix.
6159 (define-derived-mode): Default PARENT to fundamental-mode.
6160 Add the derived-mode-parent symbol-property.
6161 (easy-mmode-derived-mode-p): New function.
6163 2000-06-02 Dave Love <fx@gnu.org>
6165 * files.el (convert-standard-filename): Doc fix.
6166 (normal-backup-enable-predicate): New function.
6167 (backup-enable-predicate): Use it to replace the lambda form.
6169 * calendar/todo-mode.el: [This needs more work on the outline
6171 (todo) <defgroup>: Add :version.
6172 (todo-add-category): Don't use pushnew.
6173 (todo-cmd-raise): Fix typo.
6174 (todo-top-priorities): Change temp buffer name.
6175 (todo-category-alist): Avoid redundant lambda.
6176 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
6177 Use outline-next-heading.
6179 * autoarg.el: Rewritten to use define-minor-mode.
6180 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
6181 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
6183 2000-06-02 Kenichi Handa <handa@etl.go.jp>
6185 * isearch.el (isearch-other-meta-char): Fix previous change.
6187 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6189 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
6190 (log-edit-done): Only add the comment to the ring if it's different
6191 from the last comment entered.
6193 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
6195 2000-06-01 Dave Love <fx@gnu.org>
6197 * hl-line.el: Rewritten using define-minor-mode.
6199 * help.el (describe-function-1): Distinguish special form from
6200 builtin function. Sanity-check presence of arglist for builtins.
6202 2000-06-01 Kenichi Handa <handa@etl.go.jp>
6204 * international/characters.el: Fix syntax/category setting of
6207 * language/tibet-util.el (tibetan-add-components): Fixes for new
6208 encoding of Tibetan characters.
6209 (tibetan-decompose-precomposition-alist): New variable.
6210 (tibetan-decompose-region): Convert precomposed characters to
6211 non-precomposed characters.
6212 (tibetan-decompose-string): Likewise.
6213 (tibetan-composition-function): Fix args to
6214 thibetan-compose-string.
6216 * language/tibetan.el (tibetan-composable-pattern): More
6217 characters included.
6218 (tibetan-consonant-transcription-alist): Rule for "R" added.
6219 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
6221 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
6223 * language/lao-util.el (lao-composition-function): Fix args to
6226 * language/thai-util.el (thai-composition-function): Fix args to
6229 * isearch.el (isearch-update): Set disable-point-adjustment to t
6230 to prevent the point moving to the end of a composition when a
6231 part of a composition is searched.
6232 (isearch-other-meta-char): If the key invoking this command can be
6233 mapped by function-key-map to a printing char, call
6234 isearch-process-search-char directly.
6236 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6238 * emacs-lisp/bytecomp.el:
6240 * international/mule-cmds.el:
6241 * international/mule-util.el:
6242 * international/mule.el:
6245 * faces.el: Update calls to make-obsolete with a WHEN argument.
6247 * byte-run.el (make-obsolete, make-obsolete-variable):
6248 Add an optional WHEN argument and change the format of the
6249 symbol-property information.
6250 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
6251 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
6252 new obsolete-symbol-property format and print WHEN if it is provided.
6254 2000-05-31 Dave Love <fx@gnu.org>
6256 * loadhist.el (loadhist-hook-functions): Remove
6257 before-change-function, after-change-function.
6258 (unload-feature): Deal with symbols which are both bound and
6261 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
6262 before-change-function, after-change-function.
6264 * simple.el (newline): Don't bind before-change-function,
6265 after-change-function.
6267 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
6269 * whitespace.el (whitespace-rescan-timer-time): Update interval
6270 set to 600 seconds (10 minutes) instead of 60 seconds since
6271 a large number of whitespace buffers causes emacs to `freeze'
6272 for a considerable amount of time.
6274 * whitespace.el: Updated email address
6276 2000-05-31 Dave Love <fx@gnu.org>
6278 * add-log.el (change-log-font-lock-keywords) <function>: Add
6279 pattern for function of change.
6280 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
6281 acknowledgements patterns.
6283 2000-05-31 Kenichi Handa <handa@etl.go.jp>
6285 * isearch.el (isearch-printing-char): If keyboard coding system is
6286 being used, call isearch-process-search-multibyte-characters.
6288 * international/isearch-x.el: Mostly rewritten.
6290 * international/quail.el (quail-start-conversion): Don't include
6291 unhandled events in the returned events, but set them in
6292 unread-command-events. Exit if all inputs are deleted.
6294 2000-05-30 Jason Rumney <jasonr@gnu.org>
6296 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
6298 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
6299 Reenable code to create initial fontsets.
6300 Use set-fontset-font in place of put-charset-property.
6302 2000-05-30 Gerd Moellmann <gerd@gnu.org>
6304 * progmodes/perl-mode.el (perl-indent-line): When looking for a
6305 label, ensure that the first colon isn't followed by another.
6307 * paths.el (Info-default-directory-list): Doc fix.
6309 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
6310 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
6311 send a query containing USER only, not USER@HOST.
6313 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
6314 and rmail-msgend to compute the restriction at the end, instead of
6317 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6319 * dabbrev.el (dabbrev-expand): Don't display messages in the
6320 echo area if the minibuffer window is active.
6322 * jit-lock.el (jit-lock-mode): Add after change function to
6325 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
6327 * antlr-mode.el: New commands: hide/unhide actions,
6328 upcase/downcase literals.
6329 (antlr-tiny-action-length): New user option.
6330 (antlr-hide-actions): New command. Suggested by
6331 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
6332 (antlr-mode-map): New binding [C-c C-v].
6333 (antlr-mode-menu): New entries.
6334 (antlr-downcase-literals): New command.
6335 (antlr-upcase-literals): Ditto.
6337 * antlr-mode.el: Minor changes: indendation, mode-name.
6338 (antlr-indent-line): Indent cpp directive at column 0.
6339 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
6341 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
6342 (antlr-font-lock-additional-keywords): Workaround for intentional
6343 bug in XEmacs version of font-lock.
6344 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
6345 be used by a smarter version of `buffers-menu-grouping-function'.
6347 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6349 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
6350 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
6352 2000-05-29 Kenichi Handa <handa@etl.go.jp>
6354 * international/encoded-kb.el
6355 (encoded-kbd-iso2022-designation-map): Pay attention to that
6356 charset-iso-final-char return -1 for eight-bit-control and
6359 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6361 * speedbar.el (speedbar-use-images, speedbar-update-flag)
6362 (speedbar-easymenu-definition-base): Use display-graphic-p where
6363 available, instead of window-system.
6365 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6367 * international/codepage.el (cp-coding-system-for-codepage-1): Add
6368 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
6371 2000-05-26 Dave Love <fx@gnu.org>
6373 * disp-table.el (standard-display-underline): Don't use
6376 * mail/reporter.el: Maintainer change. Doc fixes.
6377 (reporter-version): Deleted.
6379 * emacs-lisp/elp.el: Maintainer change.
6380 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
6382 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
6384 * add-log.el (add-change-log-entry): Merge the current entry with the
6385 previous one if the previous one is empty.
6387 2000-05-26 Dave Love <fx@gnu.org>
6389 * loadhist.el (unload-feature): Fix interactive spec [from
6390 lijnzaad@ebi.ac.uk].
6392 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
6393 subr-arity to check primitives.
6394 (byte-compile-flush-pending, byte-compile-file-form-progn)
6395 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
6396 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
6399 2000-05-26 Kenichi Handa <handa@etl.go.jp>
6401 * international/fontset.el: Set family names of non-latin charsets
6402 in default fontset to "*".
6404 * international/mule-diag.el (print-fontset): Combine family part
6405 and registry part of the fontname by "-*-" instead of "-".
6407 * international/mule-cmds.el (encode-coding-char): Make strings
6408 multibyte before calling encode-coding-string.
6410 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
6412 * derived.el: Fix keywords.
6413 (define-derived-mode): Only define if needed.
6415 * simple.el (fill-comment, comment-column, comment-start)
6416 (comment-start-skip, comment-end, comment-indent-function)
6417 (block-comment-start, block-comment-end, indent-for-comment)
6418 (set-comment-column, kill-comment, comment-padding, comment-region)
6419 (comment-multi-line, indent-new-comment-line): Remove.
6421 * bindings.el (esc-map): Change ; to comment-dwim and use the new
6422 function names for comment operations.
6424 * newcomment.el: Add abundant autoload cookies.
6425 (comment-style): Don't depend on runtime data at compile-time.
6426 (comment-indent-hook): Remove.
6427 (comment-indent): Check if comment-indent-hook is bound.
6428 (comment-region): Docstring fix.
6430 2000-05-25 Dave Love <fx@gnu.org>
6432 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
6433 byte-code-function-p.
6435 * mail/rmailsum.el: Add provide.
6437 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
6439 * smerge-mode.el (smerge-diff-switches): Don't use list* in
6442 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
6444 * ediff-diff.el (ediff-exec-process): delete --binary option from
6445 non-buffer ediff jobs.
6447 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6449 * hilit-chg.el (highlight-changes-mode): Ask about color or
6450 grayscale support, not about window-system.
6452 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
6454 (ffap-highlight): Always default to t.
6456 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
6457 display-popup-menus-p instead of looking at window-system.
6459 * disp-table.el (standard-display-g1, standard-display-graphic):
6460 Only refuse to use string glyphs on X and MS-Windows.
6462 * avoid.el: Remove window-system from commentary, suggest to use
6463 display-*-p instead.
6465 * apropos.el (apropos-print): Use display-mouse-p instead of
6468 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6470 * international/codepage.el (cp-decoding-vector-for-codepage):
6471 Fill up unsupported characters with their own codes. From Kenichi
6474 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6476 * international/mule-diag.el (describe-char-after): Use
6477 display-graphic-p instead of window-system, so that this function
6480 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6482 * international/codepage.el (cp-make-coding-systems-for-codepage):
6483 Remove the eight-bit-graphic and eight-bit-control charsets from
6484 the list of charsets which we convert into `?'.
6486 2000-05-25 Kenichi Handa <handa@etl.go.jp>
6488 * international/mule-conf.el: Specify CHARSET-ID explicitely for
6490 (mule-unicode-0100-24ff, japanese-jisx0213-1,
6491 japanese-jisx0213-2): New charsets.
6493 * international/fontset.el: Setup default fontset for new charsets.
6495 2000-05-24 Dave Love <fx@gnu.org>
6497 * info.el (Info-find-node-2): Restructure [following "Vadim
6498 S. Solomin" <sovs@uic.nnov.ru>].
6500 * icomplete.el: Fix header for Finder.
6502 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
6504 * rmailout.el (rmail-output-to-rmail-file): Added optional param
6507 * rmail.el (rmail-automatic-folder-directives): New user variable.
6508 (rmail-show-message): Add call to `rmail-auto-file' during
6510 (rmail-auto-file): New function.
6512 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6514 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
6516 (ediff-test-utility,ediff-diff-mandatory-option)
6517 (ediff-reset-diff-options): Utilities for proper initialization of
6518 ediff-diff-options and ediff-diff3-options on Windows.
6520 * ediff-init.el (ediff-merge-filename-prefix): New customizable
6523 * ediff-mult.el (ediff-filegroup-action): Use
6524 ediff-merge-filename-prefix.
6526 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6528 * viper-ex.el (ex-write): Set selective display to nil.
6530 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6532 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
6533 aliases for hebrew-iso-8bit.
6535 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6537 * woman.el: New version from Francis J. Wright
6538 <F.J.Wright@Maths.QMW.ac.uk>.
6539 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
6540 names in environment variables regardless of the path separator.
6541 (woman-topic-all-completions-1): Don't call file-name-directory-p
6542 on all files, since woman-file-regexp already filters out any
6545 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6547 * international/quail.el (quail-start-translation): Don't change
6548 modified-p of the current buffer.
6549 (quail-start-conversion): Likewise.
6551 * international/kkc.el (kkc-region): Don't change modified-p of
6554 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
6556 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
6558 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
6560 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
6561 (speedbar-insert-button): Invisible text property fix.
6562 (speedbar-directory-plus): Renamed from speedbar-directory-+
6563 (speedbar-directory-minus): Renamed from speedbar-directory--
6564 (speedbar-page-plus): Renamed from speedbar-file-+
6565 (speedbar-page-minus): Renamed from speedbar-file--
6566 (speedbar-page): Renamed from speedbar-file-
6567 (speedbar-tag): Renamed from speedbar-tag-
6568 (speedbar-tag-plus): Renamed from speedbar-tag-+
6569 (speedbar-tag-minus): Renamed from speedbar-tag--
6570 (speedbar-expand-image-button-alist): Use above renames.
6572 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
6573 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
6574 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
6575 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
6576 * sb-pg.xpm: Renamed from sb-file.xpm
6577 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
6578 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
6580 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6582 * international/quail.el (quail-show-guidance-buf): Set
6583 current-input-method of the guidance buffer to the name of the
6584 curren input method.
6586 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
6588 * progmodes/compile.el (compile-internal): Style typo.
6590 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
6591 quote vars and functions in the docstring.
6593 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
6595 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
6596 Don't quote lambdas.
6598 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
6600 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6602 * startup.el (command-line): Determine source file of compiled
6603 user init file differently. Warn if compiled user init file
6604 is older than its source file.
6606 * ffap.el (ffap-url-regexp): Add `https'.
6608 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
6610 * files.el (make-backup-file-name-1): Replace slashes with `!'
6611 rather than `|' (which is not allowed on Windows). Replace the
6612 drive letters with a string "drive_X".
6614 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6616 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
6618 * files.el (interpreter-mode-alist): Add `bash2'.
6620 2000-05-22 Dave Love <fx@gnu.org>
6622 * loadhist.el (feature-symbols, file-provides, file-requires): Use
6624 (feature-file): Avoid calling symbol-name. Doc fix.
6625 (file-set-intersect, file-dependents): Use dolist, not mapcar.
6626 (loadhist-hook-functions): Add mouse-position-function.
6627 (unload-feature): Change uses of mapcar.
6629 * files.el (parse-colon-path): Doc fix.
6630 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
6631 (set-auto-mode): Use mapc.
6633 * complete.el (PC-look-for-include-file): Use :alnum: character
6635 (partial-completion-mode): Add autoload cookie.
6637 2000-05-22 Sam Steingold <sds@gnu.org>
6639 * info.el (Info-fontify-node): Fixed the call to
6640 `add-text-properties' (bug introduced on 2000-05-18).
6642 2000-05-22 Dave Love <fx@gnu.org>
6644 * bindings.el: Remove debug-ignored-errors set in other files.
6646 * progmodes/etags.el: Add to debug-ignored-errors.
6647 (visit-tags-table-buffer): Clear out buffers holding old tables
6648 when making a new list.
6649 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
6652 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
6654 (cmpl-string-case-type): Use character classes.
6657 * textmodes/ispell.el:
6660 * progmodes/compile.el: Add to debug-ignored-errors.
6662 * dabbrev.el: Add to debug-ignored-errors.
6663 (dabbrev-completion): Use mapc.
6665 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
6667 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
6668 (woman-mapcan, woman-parse-man.conf)
6669 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
6670 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
6671 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
6673 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
6674 (woman-manpath): Call woman-parse-man.conf.
6675 (woman-emulation): New defcustom, defaults to nroff.
6676 (woman-font-support): New defconst.
6677 (woman-use-symbol-font): New defcustom.
6678 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
6680 Many functions: Doc fix.
6682 2000-05-22 Kenichi Handa <handa@etl.go.jp>
6684 * international/quail.el (quail-simple-translation-keymap): Map
6685 128..255 to quail-self-insert-command.
6686 (quail-keyboard-layout-alist): Add definition for "pc102-de".
6688 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
6690 * help.el (help-manyarg-func-alist): Typo.
6692 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
6693 intervals which makes it heaps simpler.
6695 * newcomment.el (comment-region-internal): Go back to BEG after quoting
6696 the nested comment markers.
6698 * subr.el (remove-hook): Don't turn the hook's value into a list.
6700 2000-05-21 Dave Love <fx@gnu.org>
6702 * edmacro.el (edmacro-parse-keys): Return vector if any elements
6703 are invalid characters.
6705 * international/mule-util.el (detect-coding-with-priority): Use
6706 mapc. Remove redundant lambda.
6708 * international/mule-diag.el (list-non-iso-charset-chars)
6709 (describe-fontset): Remove redundant lambda.
6711 * emulation/crisp.el (brief-mode): New alias.
6713 * emacs-lisp/ring.el (ring-elements): New function.
6715 * emacs-lisp/easymenu.el (easy-menu-create-menu)
6716 (easy-menu-do-add-item): Use keywordp.
6718 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
6720 * replace.el: Doc and error message fixes.
6721 (replace-highlight): Use facep, not internal-find-face.
6723 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
6725 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
6727 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
6728 (log-edit-insert-changelog): Drop `:' as well.
6730 * log-view.el: Fix file description.
6731 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
6733 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
6734 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
6736 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
6737 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
6738 Print a status message if the toggle is called interactively.
6739 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
6740 for global minor modes and use `defcustom' for them.
6742 (easy-mmode-define-derived-mode): Remove.
6743 (define-derived-mode): Fancier default docstring.
6744 (easy-mmode-define-navigation): Signal an error rather than (ding).
6746 * newcomment.el (comment-styles): New `box-multi'.
6747 (comment-normalize-vars): Better default for comment-continue to
6748 avoid whitespace-only continuations.
6749 (comment-search-forward): Always move even in the no-syntax case.
6750 (comment-padright): Only obey N if it's only obeyed for padleft.
6751 (comment-make-extra-lines): Better handling of empty continuations.
6752 Use `=' for the filler if comment-start has only one character.
6753 (uncomment-region): Try handling the special `=' filler.
6754 (comment-region): Allow LINES even if MULTI is nil.
6755 (comment-box): Choose box style based on comment-style.
6757 2000-05-20 Kenichi Handa <handa@etl.go.jp>
6759 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
6760 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
6762 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
6764 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
6765 and insert, not subst-char-in-region.
6767 * international/mule-diag.el (list-character-sets-1): Handle
6768 charsets eight-bit-control and eight-bit-graphic.
6769 (list-iso-charset-chars): Likewise.
6770 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
6771 charactes as is. Use indent-to to align characters.
6773 * international/mule-cmds.el (find-multibyte-characters): Never
6774 exclude charsets eight-bit-control and eight-bit-graphic.
6776 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6778 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
6779 Don't quote lambdas.
6781 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
6783 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6785 * gud.el (gud-jdb-directories): Doc fix.
6787 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6789 * newcomment.el: New file.
6791 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6793 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
6795 2000-05-18 Andreas Schwab <schwab@suse.de>
6797 * dired.el (dired-between-files): Also skip lines beginning with
6800 2000-05-18 Gerd Moellmann <gerd@gnu.org>
6802 * msb.el (msb-menu-cond): Add choice `user'.
6804 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6806 * ps-print.el: Compatibility, customization and doc fix.
6807 (ps-printer-name-option): Replace defconst by defvar.
6808 (ps-postscript-code-directory): XEmacs compatibility.
6809 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
6811 (ps-user-defined-prologue, ps-print-prologue-header)
6812 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
6813 compatibility and code fix.
6814 (ps-print-background-image, ps-print-background-text):
6816 (ps-line-number-start, ps-n-up-on): New vars.
6818 2000-05-18 Espen Skoglund <esk@ira.uka.de>
6820 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
6821 the indent-comment function to just return the appropriate indent.
6823 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
6825 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
6826 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
6827 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
6829 2000-05-18 Dave Love <fx@gnu.org>
6831 * info.el (Info-fontify-node): Add intangible property as well as
6834 * calendar/appt.el (appt-make-list): Match all lines of entry.
6835 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
6837 2000-05-18 Kenichi Handa <handa@etl.go.jp>
6839 * international/mule-diag.el (describe-char-after): Call
6840 internal-char-font, not char-font. If internal-char-font returns
6841 nil, display "-- none --".
6843 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6845 * image.el (image-type-available-p): Don't reference image-types
6848 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
6850 * autoarg.el (autoarg-mode): Typo in the :set argument.
6852 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6854 * startup.el (command-line-1): Don't signal an error if the
6855 directory for auto-save-list files does not yet exist.
6857 2000-05-17 Kenichi Handa <handa@etl.go.jp>
6859 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
6861 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
6863 * subr.el (remove-hook): `setq' hook-value, not `set'.
6865 2000-05-16 Sam Steingold <sds@gnu.org>
6867 * info.el (debug-ignored-errors): More errors to ignore.
6869 2000-05-16 Dave Love <fx@gnu.org>
6871 * cus-edit.el: Don't require cl or easymenu.
6872 (custom-variable-prompt): Test standard-value property, not
6875 2000-05-16 Sam Steingold <sds@gnu.org>
6877 * subr.el (add-hook): `setq' hook-value, not `set'.
6879 2000-05-16 Gerd Moellmann <gerd@gnu.org>
6881 * startup.el (command-line-1): Mention the FAQ in the startup
6884 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
6886 * progmodes/compile.el (compilation-parse-errors): Collect
6887 `nomessage' regexps last.
6889 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
6891 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
6892 to the function name.
6894 2000-05-15 Dave Love <fx@gnu.org>
6896 * speedbar.el (speedbar-recenter): Typo.
6897 (speedbar-expand-line): Make arg optional.
6898 (speedbar-mode): Avoid a compiler warning.
6900 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6902 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
6903 user-specified option string is empty.
6905 * mouse.el (mouse-yank-at-click): Doc fix.
6907 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
6909 * term/internal.el (IT-character-translations): More updates of
6910 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
6913 2000-05-15 Gerd Moellmann <gerd@gnu.org>
6915 * env.el (getenv): New function, interactively callable.
6916 (setenv, getenv): Remove autoload cookies.
6918 * loadup.el: Load `env'.
6920 * progmodes/f90.el: Change author's mail address.
6922 2000-05-14 Dave Love <fx@gnu.org>
6924 * mail/rmail.el (rmail-show-message-hook): Customize and offer
6925 goto-addr as an option.
6927 * help.el (help-xref-stack): Doc fix.
6928 (help-xref-following): New variable.
6929 (help-make-xrefs): Use it.
6930 (help-xref-go-back): Use position information from stack element.
6931 (help-follow): Make position in stack element a pair. Use
6932 help-xref-following.
6934 * autoarg.el: New file.
6936 * faces.el: Declare more functions obsolete.
6938 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
6939 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
6940 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
6941 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
6942 Remove all the setup-...-environment functions.
6944 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
6946 * speedbar.el: Updated the commentary section. xemacs20p now uses
6947 >= when detecting. Require `defimage' safely.
6948 (speedbar-easymenu-definition-base): Add toggle for images.
6949 (speedbar-easymenu-definition-special): Add flush cache & expand.
6950 (speedbar-visiting-tag-hook): Set new defaults. Added options.
6951 (speedbar-reconfigure-keymaps-hook): New variable.
6952 (speedbar-frame-parameters): Updated documentation.
6953 (speedbar-use-imenu-flag): Updated custom tag
6954 (speedbar-dynamic-tags-function-list): New variable.
6955 (speedbar-tag-hierarchy-method): Updated doc & custom.
6956 (speedbar-indentation-width, speedbar-indentation-width) New
6958 (speedbar-hide-button-brackets-flag): Customizable.
6959 (speedbar-vc-indicator): Doc update.
6960 (speedbar-ignored-path-expressions): Updated default value.
6961 (speedbar-supported-extension-expressions): Updated default value.
6962 (speedbar-syntax-table): Remove {} paren status.
6963 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
6964 as "+". Added overlay aliases.
6965 (speedbar-mode): Use `speedbar-mode-line-update' instead of
6966 `force-mode-line-update'.
6967 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
6968 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
6970 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
6971 (speedbar-item-info-tag-helper): Revamped to handle a wider range
6972 of arbitrary text, and new helper functions.
6973 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
6975 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
6976 (speedbar-directory-buttons): Update path search/expansion.
6977 (speedbar-make-tag-line): Pay attention to
6978 `speedbar-indentation-width'. Use more care w/ invisible
6980 (speedbar-change-expand-button-char): Call
6981 `speedbar-insert-image-button-maybe'.
6982 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
6983 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
6984 (speedbar-trim-words-tag-hierarchy)
6985 (speedbar-simple-group-tag-hierarchy): New functions
6986 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
6987 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
6989 (speedbar-mouse-set-point): New function
6990 (speedbar-power-click): Updated documentation.
6991 (speedbar-line-token, speedbar-goto-this-file): Handle more types
6993 (speedbar-expand-line, speedbar-contract-line): Make more robust
6995 (speedbar-expand-line): Takes universal argument to flush the
6997 (speedbar-flush-expand-line): New function.
6998 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
6999 Use new generator insertion method.
7000 (speedbar-fetch-dynamic-tags): New function.
7001 (speedbar-fetch-dynamic-imenu): Removed code now handled in
7002 `speedbar-fetch-dynamic-imenu'.
7003 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
7004 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
7005 "Revert Buffer" menu items.
7006 (speedbar-buffer-buttons-engine): Be smarter when creating a
7007 filename tag (for expansion purposes.).
7008 (speedbar-highlight-one-tag-line,
7009 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
7010 (speedbar-recenter): New functions.
7011 (defimage-speedbar): Image loading abstraction.
7012 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
7013 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
7014 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
7015 (speedbar-tag-type, speedbar-tag-mail): New images.
7016 (speedbar-expand-image-button-alist): New variable.
7017 (speedbar-insert-image-button-maybe): Insert an image over some
7020 2000-05-13 Kenichi Handa <handa@etl.go.jp>
7022 * international/mule-cmds.el (encode-coding-char): An ASCII
7023 character is always encodable.
7025 * international/mule-conf.el: Add more information in descriptions
7028 * international/mule-diag.el (describe-char-after): New function.
7029 (describe-font-internal): Adjusted for the change of font-info.
7030 (describe-font): Likewise.
7031 (print-fontset): Rewritten for the new fontset implementation.
7032 (describe-fontset): Include fontset alias names in completion.
7033 (list-fontsets): Adjusted for the change of print-fontset.
7035 * simple.el (what-cursor-position): If DETAIL is non-nil, call
7036 describe-char-after instead of displaying the detail in the echo
7038 (syntax-code-table): Format changed.
7039 (string-to-syntax): Adjusted for the above change.
7041 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
7043 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
7045 2000-05-12 Dave Love <fx@gnu.org>
7047 * calendar/todo-mode.el: Remove some compatibility stuff and CL
7048 dependence. Use line-{beginning,end}-position, not
7049 point-at{b,e}ol. Some doc fixes.
7050 (todo-position): New function. Fix callers of position to use it.
7051 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
7053 2000-05-12 Gerd Moellmann <gerd@gnu.org>
7055 * time.el (display-time-mail-icon): Use `:ascent center'.
7057 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
7058 handling FTP security extensions.
7060 2000-05-11 Dave Love <fx@gnu.org>
7062 * calendar/todo-mode.el: New file.
7064 2000-05-11 Gerd Moellmann <gerd@gnu.org>
7066 * comint.el (comint-read-input-ring): Move reference to
7067 comint-input-ring-size outside of the save-excursion. It was
7068 causing the default value to be the only one ever seen.
7070 * font-lock.el: Update copyright. Remove Simon Marshall's email
7071 address on request from him.
7073 * subr.el (substitute-key-definition): Add comment describing
7074 the meaning of PREFIX.
7076 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
7078 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
7080 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
7081 (add-minor-mode): Don't make the variable buffer-local and add a
7082 reference to define-minor-mode in the docstring.
7084 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
7085 HEADER/FOOTER and fix bug with trailing empty directory.
7086 (cvs-append-to-ignore): Use vc-editable-p if available.
7087 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
7088 (vc-do-command): Tweak advice to handle the new VC.
7090 * log-view.el (log-view-goto-rev): New function for the new VC.
7091 (log-view-minor-wrap): Use mark-active.
7093 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
7094 (log-edit-changelog-full-paragraphs): New var.
7095 (log-edit-insert-changelog): Remove a lonely leading `* file'.
7096 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
7097 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
7098 (log-edit-changelog-ours-p, log-edit-changelog-entries)
7099 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
7100 Replace the `cvs' prefix with `log-edit'.
7102 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
7104 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
7105 (diff-font-lock-defaults): Explicitly turn off multiline.
7106 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
7107 (diff-ediff-patch): Fix call to ediff-patch-file.
7108 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
7111 * frame.el (automatic-hscrolling): Typo.
7113 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
7115 2000-05-09 Sam Steingold <sds@goems.com>
7117 * apropos.el (apropos-print): use `describe-face' instead of
7118 `customize-face-other-window'.
7120 2000-05-09 Dave Love <fx@gnu.org>
7122 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
7124 * help.el (describe-variable): Have customize button pop the
7125 help-xref stack when invoked.
7126 (help-xref-symbol-regexp): Add `face'.
7127 (help-make-xrefs): Check for quoted face names and adapt regexp
7128 submatch numbers to cope.
7129 (help-xref-interned): Maybe insert face doc too. Separate
7130 sections with a line of hyphens.
7132 * faces.el: Some doc fixes. Declare some functions obsolete.
7133 (describe-face): Add customize button. Return the help
7136 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
7138 * term/internal.el (IT-character-translations): Fix last change.
7140 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7142 * woman.el: New file
7143 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
7145 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7147 * term/internal.el (IT-character-translations): Update ASCII
7148 simulations for greek-iso8859-7, add latin-iso8859-14 and
7151 * international/mule-cmds.el (set-language-info-alist): Call
7152 define-prefix-command with 3 arguments, to make the map suitable
7155 2000-05-07 Dave Love <fx@gnu.org>
7157 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
7159 2000-05-05 Dave Love <fx@gnu.org>
7161 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
7162 list in doc string. Don't quote keyword symbols.
7163 * emacs-lisp/cl.el: Likewise
7164 * emacs-lisp/cl-seq.el: Likewise
7166 2000-05-05 Gerd Moellmann <gerd@gnu.org>
7168 * abbrev.el (abbrev-mode): Make ARG optional.
7170 2000-05-04 Gerd Moellmann <gerd@gnu.org>
7172 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
7174 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
7176 * subr.el (substitute-key-definition): Clarify documentation.
7178 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
7180 * glasses.el (glasses-convert-to-unreadable): Use
7181 `glasses-separator' instead of the hard-wired "_".
7182 (glasses-mode): Call `glasses-make-unreadable' only in a single
7185 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
7187 * term/internal.el (cjk-codepages-alist): Add associations for
7188 Chinese and Korean codepages. Remove FIXME comment.
7190 2000-05-03 Dave Love <fx@gnu.org>
7192 * time.el (display-time-mail-face, display-time-use-mail-icon):
7194 (display-time-mail-icon): New variable.
7195 (display-time-string-forms): Use the above. Fix the local-map.
7197 2000-05-03 Gerd Moellmann <gerd@gnu.org>
7199 * replace.el (query-replace-map): Add binding for `E'.
7200 (query-replace-help): Extend help text.
7201 (perform-replace): Allow editing the replacement string.
7203 * make-mode.el (makefile-mode-abbrev-table): New variable.
7204 (makefile-mode): Set local abbrev table to
7205 makefile-mode-abbrev-table.
7206 (makefile-font-lock-keywords): Fontify includes and conditionals.
7208 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
7211 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
7212 mail-interactive-insert-alias.
7213 (mail-abbrev-complete-alias): New command.
7214 (mail-mode-map): Bind it to `M-TAB'.
7216 2000-05-03 Kenichi Handa <handa@etl.go.jp>
7218 * language/lao-util.el (lao-compose-region): New function.
7220 2000-05-02 Gerd Moellmann <gerd@gnu.org>
7222 * files.el (recover-session): Make directories as necessary
7223 if they don't exist yet.
7225 * calendar/cal-french.el
7226 (french-calendar-multibyte-special-days-array)
7227 (french-calendar-special-days-array): Change French text.
7228 (calendar-french-date-string): Change output.
7229 (calendar-goto-french-date): Likewise.
7231 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
7233 * wid-edit.el (widget-default-active): Obey `:always-active'.
7234 (widget-documentation-string-value-create): Set `:always-active'.
7236 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7238 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
7239 default prefix to `~/_emacs.d/auto-save.list/_s'.
7240 (normal-top-level): Create the directory for auto-save files, if
7241 it doesn't already exist (in the ms-dos case only).
7243 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7245 * international/mule-cmds.el (set-language-environment): Don't
7246 concat an integer (dos-codepage), use format instead.
7248 2000-05-02 Dave Love <fx@gnu.org>
7250 * help.el (help-xref-on-pp): Check for constant symbols.
7252 2000-04-29 Gerd Moellmann <gerd@gnu.org>
7254 * startup.el (normal-top-level): Put a condition-case around
7255 the code loading subdirs.el.
7257 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7259 * ps-print.el: Upside-down and face background color printing,
7260 line number step, doc fix.
7261 (ps-print-version): New version number (5.2).
7262 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
7263 (ps-face-attribute-list, ps-plot-with-face): Code fix.
7264 (ps-spool-config): Var fix.
7265 (ps-printer-name-option): Const fix.
7266 (ps-print-upside-down, ps-use-face-background)
7267 (ps-line-number-step): New vars.
7268 (ps-window-system, ps-lp-system): New consts.
7269 (ps-face-background): New fun.
7271 2000-04-28 Richard Stallman <rms@gnu.org>
7273 * files.el (make-auto-save-file-name):
7274 Apply auto-save-file-name-transforms to visited file name
7275 before generating auto save file name.
7276 (auto-save-file-name-transforms): New variable.
7278 * files.el (backup-enable-predicate):
7279 Correctly test for a file under a temporary directory.
7281 2000-04-28 Gerd Moellmann <gerd@gnu.org>
7283 * subr.el (add-minor-mode): Rewritten.
7285 2000-04-28 Kenichi Handa <handa@etl.go.jp>
7287 * mail/sendmail.el (sendmail-send-it): Set
7288 buffer-file-coding-system to the selected coding system for MIME
7291 2000-04-27 Gerd Moellmann <gerd@gnu.org>
7293 * dired.el (dired-move-to-filename-regexp): Allow format where
7294 YYYY is followed by two spaces.
7296 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
7297 in the second character class of the regexp.
7299 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
7302 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
7305 * subr.el (add-minor-mode): Use `set' instead of `setq'.
7307 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
7310 2000-04-27 Sen Nagata <sen@eccosys.com>
7312 * emacs-lisp/crm.el (crm-completion-table): New variable.
7313 (crm-collection-fn, crm-test-completion)
7314 (completing-read-multiple): Use it.
7316 2000-04-27 Dave Love <fx@gnu.org>
7318 * help.el (locate-library): Use mapc.
7319 (help-manyarg-func-alist): Add call-process-region.
7321 2000-04-26 Gerd Moellmann <gerd@gnu.org>
7323 * subr.el (add-minor-mode): Make argument MAP optional.
7325 * desktop.el (desktop-save): Save list of minor modes.
7326 (desktop-create-buffer): Restore minor modes.
7327 (desktop-minor-mode-table): New user-option.
7329 * subr.el (add-minor-mode): New function.
7331 * image.el (find-image): New function.
7332 (defimage): Rewritten to find image at load time.
7334 * startup.el (normal-top-level-add-to-load-path): Handle
7335 case that the default directory is not in load-path.
7337 * help.el: Old patch from Stefan Monnier.
7338 (help-xref-on-pp): New function.
7339 (describe-variable): Use it to display xrefs in a symbol's value.
7341 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
7343 * cus-edit.el (custom-face): Fix parenthesis.
7345 2000-04-26 Kenichi Handa <handa@etl.go.jp>
7347 * mail/rmail.el (rmail-expunge): When there are no deleted
7348 messages, do nothing.
7350 2000-04-26 Dave Love <fx@gnu.org>
7352 * international/mule-cmds.el (locale-translation-file-name):
7354 (set-locale-environment): Set it here (at runtime).
7356 2000-04-25 Gerd Moellmann <gerd@gnu.org>
7358 * replace.el (perform-replace): Add parameters START and END. Use
7359 them instead of the check for a region in Transient Mark mode.
7360 (query-replace-read-args): Return two more list elements for the
7361 start and end of the region in Transient Mark mode.
7362 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7363 (map-query-replace-regexp, replace-string, replace-regexp): Add
7364 optional last arguments START and END and pass them to
7367 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
7368 form with additional arguments for perform-replace.
7370 * progmodes/etags.el (tags-query-replace): Add parameters START
7371 and END. Construct a form with additional arguments for
7374 * simple.el (shell-command): Set default directory for "*Shell
7375 Command Output" buffer.
7377 * language/european.el (iso-latin-4): Fix typo.
7379 * emacs-lisp/crm.el: New file.
7381 2000-04-24 Dave Love <fx@gnu.org>
7383 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
7384 (Custom-reset-saved, Custom-reset-standard)
7385 (custom-group-value-create, custom-group-set, custom-group-save)
7386 (custom-group-reset-current, custom-group-reset-saved)
7387 (custom-group-reset-standard): Use mapc.
7388 (custom-buffer-create-internal): Disable undo when creating items.
7390 (custom-face): Avoid redundant lambda.
7392 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7394 * startup.el (auto-save-list-file-prefix): Set default to
7395 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
7397 2000-04-24 Sam Steingold <sds@gnu.org>
7399 * time-stamp.el (time-stamp-string-preprocess): Always convert
7400 `field-result' to a string.
7402 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7404 * frame.el (scrolling): New group.
7405 (automatic-hscrolling): New user-option.
7407 * startup.el (command-line-x-option-alist): Add `-lsp' and
7410 2000-04-19 Dave Love <fx@gnu.org>
7412 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
7413 (cl-mapc): Rename from mapc. Fix the funcall.
7415 2000-04-19 Gerd Moellmann <gerd@gnu.org>
7417 * simple.el (clone-indirect-buffer-other-window): New command.
7418 (clone-indirect-buffer): Add optional arg NORECROD.
7419 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
7421 * help.el (resize-temp-buffer-window): Use count-screen-lines.
7423 * window.el (count-screen-lines): New function.
7424 (shrink-window-if-larger-than-buffer): Use count-screen-lines
7425 instead of window-buffer-height.
7427 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
7428 non-existing variable comint-input-sentinel.
7429 (inferior-lisp-args-to-list): Removed.
7430 (inferior-lisp): Use split-string instead of
7431 inferior-lisp-args-to-list.
7433 * hexl.el (hexl-insert-hex-string): New command.
7435 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
7438 2000-04-18 Gerd Moellmann <gerd@gnu.org>
7440 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
7441 at the start of an existing but empty folder.
7443 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7445 * ps-mule.el: Customization fix, doc fix.
7446 (ps-multibyte-buffer): Customization fix.
7448 2000-04-17 Richard M. Stallman <rms@gnu.org>
7450 * subr.el (read-passwd): Use read-char-exclusive.
7452 2000-04-17 Gerd Moellmann <gerd@gnu.org>
7454 * textmodes/texinfo.el (texinfo-insert-@email)
7455 (texinfo-insert-@emph, texinfo-insert-@quotation)
7456 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
7457 (texinfo-mode-map): Add key bindings for them.
7459 * files.el (basic-save-buffer-2): Use a template with `$'
7460 instead of `#' for VMS.
7462 * simple.el (clone-indirect-buffer): New function.
7464 2000-04-16 Stephen Eglen <stephen@gnu.org>
7466 * iswitchb.el (iswitchb-case): New function. If the user input
7467 contains any upper-case characters, the search is made
7470 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
7472 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
7474 (texinfo-font-lock-syntactic-keywords): New var.
7475 (texinfo-font-lock-keywords): Remove comment regexp.
7476 (texinfo-insert-block): New function.
7477 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
7478 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
7479 and font-lock-defaults. Use regexp-opt for outline-regexp.
7480 (texinfo-environments): New var.
7481 (texinfo-environment-regexp): Use regexp-opt and
7482 texinfo-environments.
7484 * textmodes/ispell.el (ispell-menu-map-needed): Check that
7485 ispell-process is bound since this might be eval'd before ispell
7487 (ispell-message): Use a tiny bit less magic and a bit more hard
7488 data to figure out what kind of sc-cite-regexp to use.
7490 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
7492 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
7493 (insert-cyclic-diary-entry): Unquote the lambda.
7495 * gud.el (gud-jdb-build-source-files-list): Fix typo.
7497 * files.el (backup-enable-predicate): Unquote the lambda.
7499 * cus-edit.el (custom-face, face): Unquote the lambda.
7501 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7503 * ps-print.el: Check for line-beginning-position definition.
7505 * ps-print.el: Fix counting lines in a region.
7506 (ps-print-version): New version number (5.1.5).
7507 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
7508 (ps-printing-region): Fun code fix.
7510 2000-04-15 Gerd Moellmann <gerd@gnu.org>
7512 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
7513 to file-directory-p.
7515 2000-04-14 Gerd Moellmann <gerd@gnu.org>
7517 * gud.el (gud-jdb-build-source-files-list): Check that directory
7518 exists before calling directory-files.
7520 2000-04-13 Dave Love <fx@gnu.org>
7522 * emacs-lisp/trace.el: Change maintainer. Use new backquote
7525 * emacs-lisp/cl-specs.el: Remove when, unless.
7527 * emacs-lisp/cl-extra.el: Don't quote keywords.
7528 (cl-old-mapc): New variable.
7530 (cl-map-intervals): Use with-current-buffer. Don't check for
7531 next-property-change.
7532 (cl-map-overlays): Use with-current-buffer.
7534 (copy-tree, remprop): Define unconditionally.
7536 * emacs-lisp/cl-compat.el (keywordp): Remove.
7538 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
7540 (edebug-spec): Enable keywordp.
7542 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
7545 * cus-start.el: Use keywordp.
7547 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7549 * diary-lib.el (include-other-diary-files): Fix the fix of
7550 2000-02-18 by doing a save-excursion.
7552 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7554 * ps-print.el: Customization fix, doc fix.
7555 (ps-print-version): New version number (5.1.4).
7556 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
7557 (ps-print-preprint): Adjust code.
7558 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
7559 (ps-print-prologue-header, ps-print-control-characters)
7560 (ps-spool-config): Customization fix.
7562 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
7564 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
7565 converted to the new menu-item format, names silightly changed,
7568 Support for spelling without async subprocesses:
7570 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
7571 (ispell-session-buffer): New variables.
7572 (ispell-start-process, ispell-process-status,
7573 ispell-accept-output, ispell-send-string): New functions, for
7574 Ispell invocation when async subprocesses aren't supported.
7575 (ispell-word, ispell-pdict-save, ispell-command-loop,
7576 ispell-process-line, ispell-buffer-local-parsing): Replace calls
7577 to process-send-string with calls to ispell-send-string, and
7578 accept-process-output with ispell-accept-output.
7579 (ispell-init-process): Call ispell-process-status instead of
7580 process-status with.
7581 (ispell-init-process): Call ispell-start-process. Call
7582 ispell-accept-output and ispell-send-string. Don't call
7583 process-kill-without-query and kill-process if they are unbound.
7584 (ispell-async-processp): New function.
7586 2000-04-12 Dave Love <fx@gnu.org>
7588 * info.el: Add debug-ignored-errors.
7589 (Info-mode-menu): Add some items.
7590 (Info-directory): Add autoload cookie.
7592 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
7593 Modify `truncate-lines'. Make `describe-language-environment'
7594 always visible and add help. Modify `describe-key' help. Invoke
7595 Info-directory from `info'. New entry `emacs-manual'.
7597 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7599 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
7600 propertized-buffer-identification.
7601 (ebrowse-update-member-buffer-mode-line): Likewise.
7602 (ebrowse--mode-strings): Removed.
7603 (ebrowse--mode-line-props): Removed.
7605 * files.el (auto-mode-alist): Add `EBROWSE'.
7607 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
7608 space before testing for end of buffer.
7609 (ebrowse-load): Removed.
7610 (ebrowse-revert-tree-buffer-from-file): Rewritten.
7611 (ebrowse-create-tree-buffer): Rewritten.
7612 (ebrowse-tree-mode): Read tree from buffer.
7614 * progmodes/ebrowse-ffh.el: Removed.
7616 2000-04-10 Kenichi Handa <handa@etl.go.jp>
7618 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
7620 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7622 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
7625 2000-04-09 Dave Love <fx@gnu.org>
7627 * files.el (backup-enable-predicate): Use
7628 temporary-file-directory, small-temporary-file-directory.
7629 (make-backup-file-name-function, backup-directory-alist): New
7631 (make-backup-file-name-1): New function.
7632 (make-backup-file-name): Use it.
7633 (find-backup-file-name): Likewise. Use format for clarity, not
7635 (file-newest-backup): Use make-backup-file-name.
7637 2000-04-09 Gerd Moellmann <gerd@gnu.org>
7639 * progmodes/ebrowse-ffh.el: New file.
7641 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
7643 (ebrowse-load): Add autoload.
7645 * finder.el (finder-commentary): Add autoload cookie.
7647 * mail/rfc2368.el: Correct author's email address.
7649 * progmodes/ebrowse.el: New file.
7651 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
7653 (easy-menu-do-add-item): Ditto.
7654 (easy-menu-define): Extend doc string.
7656 * jit-lock.el (with-buffer-unmodified): Use
7657 restore-buffer-modified-p.
7658 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
7659 (jit-lock-function, jit-lock-stealth-fontify): Don't use
7660 with-buffer-unmodified.
7662 2000-04-08 Dave Love <fx@gnu.org>
7664 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
7667 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
7669 * viper-util.el (viper-put-on-search-overlay): New subroutine.
7670 (viper-flash-search-pattern): No operation when using Emacs
7671 doesn't support face.
7672 Use `viper-put-on-search-overlay'.
7674 2000-04-04 Gerd Moellmann <gerd@gnu.org>
7676 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
7679 * progmodes/make-mode.el: Some doc fixes.
7680 (makefile-mode-abbrev-table): New variable.
7681 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
7682 (makefile-font-lock-keywords): Fontify includes and conditionals.
7683 (toplevel): Require `dabbrev' and `add-log' when compiling.
7685 * replace.el (perform-replace): Don't move forward one char
7686 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
7687 to do that because it leaves point 1 position after the last
7688 replacement, after everything has been replaced.
7690 * jit-lock.el (with-buffer-unmodified): New macro.
7691 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
7693 (jit-lock-function-1): Extracted from jit-lock-function; not
7694 preserving buffer's modified state.
7695 (jit-lock-function, jit-lock-stealth-fontify): Call
7696 jit-lock-function-1.
7698 * mail/rfc2368.el: Remove supernumerary copyright line.
7700 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
7702 * glasses.el: Provide facilities for inserting space before left
7703 parentheses and uncapitalization of identifiers.
7704 (glasses-mode): Try to remove old overlays in all cases.
7706 2000-04-03 Gerd Moellmann <gerd@gnu.org>
7708 * progmodes/compile.el (compile-internal): Display the compilation
7709 buffer in a different frame, if it's already displayed there.
7711 * mail/rfc2368.el: New file.
7713 * simple.el (sendmail-user-agent-compose): Recognize a `body'
7714 header and insert its value as mail body.
7716 * subr.el (member-ignore-case): New function.
7718 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
7719 (dabbrev--find-expansion): Ignore buffers matching a regexp
7720 from dabbrev-ignored-regexps.
7722 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
7723 to extensions handled by gzip.
7725 2000-04-03 Richard M. Stallman <rms@gnu.org>
7727 * files.el (insert-directory): List the total free space
7728 along with the used space.
7730 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
7731 line is followed by one that matches CITATION-REGEXP, end the
7734 2000-04-03 Markus Rost <rost@delysid.gnu.org>
7736 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
7737 (rmail-make-basic-summary-line): Use that option.
7739 2000-04-03 Kenichi Handa <handa@etl.go.jp>
7741 * international/mule-cmds.el (encoded-string-description):
7742 Rewritten. Try pretty description for ISO 2022 escape sequences
7743 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
7744 for hexadecimal format.
7746 2000-04-01 Dave Love <fx@gnu.org>
7748 * cpp.el: Change customization group to `c' from `C'.
7750 * vcursor.el (vcursor-move): Use display-color-p.
7752 * international/mule-util.el: Provide mule-utils.
7753 (string-to-sequence): Simplify and speed up.
7755 * international/mule.el (make-coding-system): Purecopy doc-string.
7757 * international/mule-cmds.el: Various menu changes.
7758 (describe-specified-language-support): Handle `Default'.
7759 (set-language-info): Purecopy `info'.
7761 2000-03-31 Andrew Innes <andrewi@gnu.org>
7763 * vc.el (vc-backend-diff): Return the correct status if we had to
7764 retry the rcsdiff command without the --brief option.
7766 2000-03-31 Dave Love <fx@gnu.org>
7768 * help.el (help-manyarg-func-alist): Correct several omissions.
7770 * add-log.el: Don't require cl, fortran.
7771 (add-log-current-defun-function): Doc fix.
7772 (change-log-version-number-regexp-list): Remove SCCS part. Doc
7774 (change-log-version-rcs): Function deleted.
7775 (change-log-version-number-search): Doc fix. Use
7776 vc-workfile-version. Avoid CL dolist.
7777 (add-change-log-entry): Just call add-log-current-defun to get
7778 defun. Simplify somewhat.
7779 (change-log-get-method-definition-1): Likewise.
7780 (add-log-current-defun): Return nil if calling
7781 add-log-current-defun-function does so. Move Fortran stuff to
7782 fortran.el. Return string without properties.
7784 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
7785 and :alpha: char classes.
7787 * mail/supercite.el: Defvar curline when compiling.
7788 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
7789 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
7790 rather than a-zA-Z0-9 to allow non-ASCII characters.
7792 2000-03-31 Gerd Moellmann <gerd@gnu.org>
7794 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
7796 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7799 * lpr.el (print-region-1): Use -d to specify printer name for
7800 systems `usg-unix-v*, `dgux', `hpux', `irix'.
7802 2000-03-31 Dave Love <fx@gnu.org>
7804 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
7805 for function definition in symbol's function value slot first
7806 instead of first consulting byte-compile-function-environment.
7808 2000-03-31 Kenichi Handa <handa@etl.go.jp>
7810 * language/european.el ("Polish"): New language environment.
7811 (setup-polish-environment): New function.
7813 2000-03-30 Gerd Moellmann <gerd@gnu.org>
7815 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7818 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
7819 trying to `load' the symbol of an autoload instead of the file
7820 recorded in the autoload. Fix error messages.
7822 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7824 * ps-print.el: PostScript programming fix for ghostview, doc fix.
7825 (ps-print-version): New version number (5.1.3).
7826 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
7827 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
7828 (ps-generate-postscript-with-faces): Code fix.
7829 (ps-color-values): XEmacs compatibility.
7830 (ps-print-background-image, ps-print-background-text, ps-printer-name)
7831 (ps-default-fg, ps-default-bg): Adjust customization.
7832 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
7833 (ps-color-scale): Renaming old ps-color-value fun.
7834 (ps-print-headers): Replace ps-print-header group to avoid conflict
7835 with ps-print-header variable.
7836 (ps-print-miscellany): New group.
7837 (ps-format-color, ps-rgb-color): New funs.
7838 (ps-default-foreground): New var.
7839 (ps-printer-name-option): New const.
7841 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
7844 (network-connection-host, network-connection-service): New variables
7845 (network-connection-mode): New mode, derived from comint-mode
7846 (network-connection-mode-setup): New function, saves host and
7847 service information in local variables.
7850 (locate-word-at-point): Added this function
7851 (locate): Default to using locate-word-at-point as input
7854 2000-03-29 Dave Love <fx@gnu.org>
7856 * calendar/appt.el: Doc fixes.
7857 (appt-check): Convert min-to-app to a string before passing to
7858 appt-disp-window-function or concat.
7859 (appt-delete-window): Remove test for frame-root-window.
7860 (appt-select-lowest-window, appt-convert-time): Simplify.
7862 * emacs-lisp/bytecomp.el: Doc fixes.
7863 (byte-compile-file-form-autoload): Update
7864 byte-compile-function-environment.
7866 2000-03-29 Andreas Schwab <schwab@suse.de>
7868 * emacs-lisp/autoload.el: Also print defsubst doc string
7871 * dired.el (dired-insert-directory): If dired-free-space-program
7872 failed just delete its output.
7874 2000-03-29 Dave Love <fx@gnu.org>
7876 * international/iso-cvt.el: Move provide to end. Doc fixes.
7877 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
7878 (iso-iso2sgml, iso-sgml2iso): New functions.
7879 (iso-cvt-define-menu): Fix some entries and use backquote for
7882 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
7884 2000-03-28 Gerd Moellmann <gerd@gnu.org>
7886 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
7887 ISO-DATE. If non-nil, return date in ISO 8601 format.
7889 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
7891 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
7892 if it ever becomes used.
7893 (log-edit-mode-hook): Default to vc-log-mode-hook.
7894 (log-edit-mode): Fix the docstring.
7896 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
7899 2000-03-26 Dave Love <fx@gnu.org>
7901 * net/browse-url.el (browse-url): Re-fix case of
7902 browse-url-browser-function being an alist.
7903 (browse-url): Add :link to defgroup.
7905 * files.el: Doc fixes.
7906 (file-truename): Include `[' in wildcard characters.
7907 (automount-dir-prefix): Customize.
7908 (find-file-wildcards): Add :version.
7909 (find-file-noselect): Simplify a mapcar call.
7911 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
7912 compatible with inf-lisp version.
7913 (eval-defun-1): Fix custom-declare-variable case.
7915 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
7917 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
7919 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7921 * Makefile (COMPILE_FIRST): New macro.
7922 (compile-files): Compile files from COMPILE_FIRST first.
7924 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
7927 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
7928 matching open parenthesis in column 0 to defun-prompt-regexp
7929 only if open-paren-in-column-0-is-defun-start is set.
7931 * sun-curs.el: Require CL at compile-time only.
7933 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
7934 instead of copy-list which is a function from CL.
7935 (msb--choose-menu, msb--mode-menu-cond)
7936 (msb--create-buffer-menu-2): Use dolist instead of mapc.
7937 (msb--init-file-alist): Use mapcar instead of mapcan.
7938 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
7939 `(' in column 0 in doc string.
7940 (msb--add-separators): Use mapcar instead of mapcan.
7942 * cus-dep.el: Require CL at compile-time only.
7944 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
7946 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
7947 (byte-compile-warnings): New warning `noruntime'.
7948 (byte-compile-constants, byte-compile-variables): Fix docstring.
7949 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
7950 execute `eval-whenc-compile's body.
7951 (byte-compile-unresolved-functions): Fix docstring.
7952 (byte-compile-eval): New function.
7953 (byte-compile-callargs-warn): Check if the function will be available
7954 at runtime (via property `byte-compile-noruntime').
7955 (byte-compile-print-syms): New function.
7956 (byte-compile-warn-about-unresolved-functions): Also warn about
7957 `noruntime' functions (and use `byte-compile-print-syms').
7958 (byte-compile-file): Capitalize the message.
7960 2000-03-24 Gerd Moellmann <gerd@gnu.org>
7962 * mail/rmail.el (rmail-confirm-expunge): New user-option.
7963 (rmail-expunge): Ask for confirmation depending on the setting
7964 of rmail-confirm-expunge.
7966 2000-03-23 Gerd Moellmann <gerd@gnu.org>
7968 * Makefile (bootstrap-clean): If $(emacs) exists, build
7969 loaddefs.el first. A loaddefs.el that's not up-to-date might
7970 cause a bootstrap failure because things don't autoload as
7973 2000-03-23 Dave Love <fx@gnu.org>
7975 * net/browse-url.el: Restore previous use of
7976 browse-url-maybe-new-window.
7978 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7980 * ps-print.el: Skip banner page fix.
7981 (ps-print-version): New version number (5.1.2).
7982 (ps-begin-file, ps-end-file, ps-generate): Code fix.
7984 2000-03-23 Dave Pearson <davep@davep.org>
7986 * net/quickurl.el Changed the type of parameter passed to the
7987 function defined by `quickurl-format-function'. Before only the
7988 text of the URL was passed. Now the whole URL structure is passed
7989 and the function is responsible for extracting the parts it
7990 requires. Changed the default of `quickurl-format-function'
7992 (quickurl-insert): Changed the `funcall' of
7993 `quickurl-format-function' to match the above change.
7994 (quickurl-list-insert): Changed the `url' case so that it makes
7995 use of `quickurl-format-function', previous to this the format was
7998 2000-03-22 Gerd Moellmann <gerd@gnu.org>
8000 * startup.el: Change some spellings for the X Window System.
8002 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
8004 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
8005 up the code and the regexp and make sure the cursor is temporarily
8006 moved to the suspicious line while querying the user.
8008 2000-03-22 Jason Rumney <jasonr@gnu.org>
8010 * w32-fns.el (w32-charset-info-alist): Initialize.
8012 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8014 * ps-print.el: N-up last page fix.
8015 (ps-print-version): New version number (5.1.1).
8016 (ps-end-file, ps-end-job, ps-generate): Code fix.
8018 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8020 * files.el (find-file-run-dired): Update docstring.
8021 (find-directory-functions): New hook.
8022 (find-file-noselect): Run find-directory-functions rather than
8023 calling dired directly.
8025 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
8027 * pcvs.el: Add a minimal leading commentary.
8028 (cvs-make-cvs-buffer): Change the header part by removing the startup
8029 message and adding a `Module' entry. Also replace the FOOTER and
8030 HEADER special fileinfos with the new support in ewoc for updating
8031 its own footer and header.
8032 (cvs-update-header): Update to use the header/footer of the ewoc.
8033 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
8034 (cvs-is-within-p): New function.
8035 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
8036 to only examine some subset of the buffers.
8038 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
8039 `format' instead of our own ad-hoc functions.
8040 Remove HEADER and FOOTER cases, now handled in the EWOC.
8041 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
8043 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
8044 output to avoid scaring the user.
8045 (cvs-parse-table): Catch message for non-up-to-date commits.
8047 * pcvs-defs.el (cvs-startup-message): Remove.
8048 (cvs-global-menu): New autoloaded menu.
8050 * pcvs-util.el (cvs-string-fill): Remove.
8052 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
8053 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
8054 PP part of it and also make it work for footers and headers.
8055 (ewoc-create): Drop POS and BUFFER arguments.
8056 Use the DLL's dummy node to store the end-of-footer position.
8057 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
8058 (ewoc-refresh): Remove unused `header' variable.
8059 (ewoc-(get|set)-hf): New functions.
8061 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
8062 log-view-*-(message|file) and use easy-mmode-define-navigation.
8063 (log-view-message-re): Match SCCS format as well.
8064 And match the revision line rather than the dashed separator line.
8065 (log-view-mode): Use the new define-derived-mode.
8066 (log-view-current-tag): Fill in with an actual implementation.
8068 * cvs-status.el (cvs-status-(prev|next)): Rename from
8069 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
8070 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
8071 to let the output "breathe" a little more (more readable).
8072 (cvs-status-mode): Use the new define-derived-mode.
8074 * smerge-mode.el (smerge-auto-leave): New function and variable.
8075 (smerge-basic-map): Rename from smerge-basic-keymap.
8076 Change the bindings for smerge-diff-*.
8077 (smerge-*-map): Use easy-mmode-defmap.
8078 (smerge-(next|prev)): Use easy-mmode-define-navigation.
8079 (smerge-keep-*): Use smerge-auto-leave.
8081 2000-03-21 Jason Rumney <jasonr@gnu.org>
8083 * cus-edit.el (custom-button-face): Use 3D look for w32.
8084 (custom-button-pressed-face): Likewise.
8086 2000-03-21 Gerd Moellmann <gerd@gnu.org>
8088 * progmodes/etags.el (tags-case-fold-search): New user-option.
8089 (tags-loop-eval): New function. Bind case-fold-search around eval
8090 depending on the value of tags-case-fold-search.
8091 (tags-loop-continue): Use tags-loop-eval.
8092 (find-tag-in-order): Bind case-fold-search depending on the value
8093 of tags-case-fold-search.
8095 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8097 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
8098 (diff-end-of-hunk): Return the end position for use in
8099 `easy-mmode-define-navigation'.
8100 (diff-recenter): Remove.
8101 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
8102 of `easy-mmode-define-navigation'.
8103 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
8104 previous renaming) and fix to use new names.
8105 (diff-merge-strings): Use \n as separator: simpler, faster.
8106 (diff-mode): Use `define-derived-mode'.
8108 * derived.el (define-derived-mode): Don't autoload anymore.
8109 Prefer the macro-only version provided by easy-mmode.el.
8111 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
8112 `easy-mmode-define-derived-mode'.
8113 Use `combine-run-hooks'.
8114 (easy-mmode-define-navigation): New macro.
8116 * subr.el (combine-run-hooks): New function.
8118 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
8120 * term/x-win.el: Fontsets related initialization is simplified.
8122 * international/mule-diag.el (describe-font): Don't refer to
8123 global-fontset-alist, instead call font-list.
8124 (describe-fontset, list-fontsets, mule-diag): Likewise.
8125 (print-fontset): Adjusted for the change of fontset
8128 * international/fontset.el (x-charset-registries): Variable
8129 removed, instead the corresponding data is stored in the default
8131 (register-alternate-fontnames): Function removed.
8132 (resolved-ascii-font): Variable removed.
8133 (x-compose-font-name): Ignore the second argument REDOCE.
8134 (x-complement-fontset-spec): Complement only an ASCII font and
8135 element for those charsets than can use that ASCII font.
8136 (generate-fontset-menu): Don't refer to global-fontset-alist,
8137 instead call fontset-list.
8138 (uninstantiated-fontset-alist): Variable removed.
8139 (x-style-funcs-alist): Likewise.
8140 (fontset-default-styles): Likewise.
8141 (x-modify-font-name): Function removed.
8142 (create-fontset-from-fontset-spec): Ignore the argument
8144 (create-fontset-from-ascii-font): Docsting adjusted for the above
8146 (instantiate-fontset, resolve-fontset-name): Functions removed.
8147 (fontset-list): Now implemented by C code.
8149 * faces.el (read-face-font): Fix TABLE arg to completing-read.
8150 (describe-face): Include `font' attribute in the description.
8152 2000-03-21 Kenichi Handa <handa@etl.go.jp>
8154 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
8156 2000-03-20 Gerd Moellmann <gerd@gnu.org>
8158 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
8159 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
8160 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
8162 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
8163 about behavior of set-buffer-modified-p wrt redisplay.
8165 2000-03-19 Richard M. Stallman <rms@gnu.org>
8167 * view.el (view-mode-disable): Kill local binding of view-read-only.
8169 2000-03-18 Gerd Moellmann <gerd@gnu.org>
8171 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
8172 is a string, convert it to a syntax cell using string-to-syntax.
8174 * simple.el (syntax-code-table, syntax-flag-table): New variables.
8175 (string-to-syntax): New function.
8177 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
8178 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
8179 try to use passive ftp mode.
8181 2000-03-17 Gerd Moellmann <gerd@gnu.org>
8183 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
8185 * simple.el (append-to-buffer): Update point of windows after
8188 * abbrev.el (inverse-add-abbrev): Identify word by first moving
8189 forward then moving backward. Reindent.
8191 * frame.el (other-frame): Call x-focus-frame only if
8192 focus-follows-mouse is off.
8194 2000-03-17 Dave Love <fx@gnu.org>
8196 * pcvs-util.el (cvs-strings->string): Rename
8197 replace-regexps-in-string.
8199 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
8201 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
8202 regexp for labels cannot span several lines.
8204 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
8205 `(setq :<key> ':<key>)' to the macro expansion.
8207 2000-03-16 Dave Love <fx@gnu.org>
8209 * progmodes/f90.el (f90): Put custom group under `languages', not
8211 (f90-mode-hook): Customize.
8212 (f90-mode): Set add-log-current-defun-function.
8213 (f90-current-defun): New function.
8215 2000-03-16 Gerd Moellmann <gerd@gnu.org>
8217 * cus-edit.el (custom-variable-tag-face): Handle case that
8218 default face's height is not a number.
8219 (custom-face-tag-face, custom-group-tag-face-1)
8220 (custom-group-tag-face): Ditto.
8221 (custom-group-tag-face-1): Add :group.
8223 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
8225 2000-03-15 Gerd Moellmann <gerd@gnu.org>
8227 * pcvs-defs.el (toplevel): Remove autoload cookie for form
8230 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8232 * ps-print.el: PostScript user-defined prologue, PostScript error
8234 (ps-print-version): New version number (5.1).
8235 (ps-user-defined-prologue, ps-error-handler-message)
8236 (ps-print-prologue-0, ps-error-handler-alist): New vars.
8237 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
8238 (ps-insert-string): New function.
8240 2000-03-15 Kenichi Handa <handa@etl.go.jp>
8242 * international/ccl.el (ccl-compile-expression): Don't generate
8243 invalid self-assignment code.
8245 2000-03-14 Dave Love <fx@gnu.org>
8247 * subr.el (replace-regexp-in-string): Renamed from
8248 replace-regexps-in-string. Doc fix.
8250 2000-03-12 Dave Love <fx@gnu.org>
8252 * cus-edit.el: Doc fixes.
8253 (customize-set-variable, customize-save-variable): Rename args for
8255 (custom-variable-tag-face, custom-face-tag-face)
8256 (custom-group-tag-face-1, custom-group-tag-face): Modify from
8257 style which user identify as hyperlink.
8258 (hook): Don't add undefined functions to the hook.
8259 (debug-ignored-errors): Transfer message from bindings.el.
8261 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8263 * recentf.el (recentf-keep-non-readable-files-p): Remove
8264 double/nested definition.
8266 2000-03-12 Dave Love <fx@gnu.org>
8268 * facemenu.el (facemenu-get-face): Use display-color-p.
8269 * enriched.el (enriched-decode-foreground): Likewise.
8270 (enriched-decode-background): Likewise.
8271 * isearch.el (isearch-highlight): Likewise.
8272 * info-look.el (info-lookup): Likewise.
8273 * simple.el (completion-setup-function): Likewise.
8275 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
8278 * bindings.el (mode-line-format): Fix line-number and
8279 column-number items. Add help-echo for the background.
8280 (mode-line-mule-info): Modify help-echo.
8282 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
8285 * files.el (load-file): Allow completion to .elc.
8287 * man.el: Doc fixes.
8288 (Man-init-defvars): Use display-color-p to set fontification.
8290 * play/hanoi.el (hanoi-internal): Don't use oddp.
8292 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8294 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
8296 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
8298 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
8300 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
8303 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
8305 * font-lock.el (font-lock-keywords): Fix the doc now that
8306 regexp-opt-depth is unnecessary.
8307 (save-buffer-state): Set an edebug spec.
8308 (font-lock-fontify-anchored-keywords): Properly handle the case when
8309 the matcher goes past the limit.
8311 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
8312 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
8314 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
8315 dll.el and cookie.el (from Elib) with heavy renaming and other
8318 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
8319 Autoload the functions used.
8320 (easy-mmode-define-syntax): Fix CL typo.
8321 (easy-mmode-define-derived-mode): Improve the docstring generation.
8323 2000-03-10 Gerd Moellmann <gerd@gnu.org>
8325 * textmodes/texinfo.el (texinfo-version): Variable and function
8328 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
8330 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
8331 allow more flexibility.
8332 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
8334 (easy-mmode-defmap, easy-mmode-defsyntax)
8335 (easy-mmode-define-derived-mode): New macros.
8337 2000-03-09 Didier Verna <didier@xemacs.org>
8339 * rect.el (replace-rectangle): New function.
8341 2000-03-09 Dave Love <fx@gnu.org>
8343 * progmodes/fortran.el (fortran-comment-line-start): Define as
8345 (fortran-comment-line-start-skip): Don't match cpp stuff.
8346 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
8347 (fortran-mode-map): Remove over-eager custom-menu-create for now.
8348 (fortran-mode): Don't set fortran-comment-line-start-skip,
8349 fortran-comment-line-start here. Set comment-start,
8350 add-log-current-defun.
8351 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
8352 (fortran-current-defun): New function.
8354 2000-03-09 Gerd Moellmann <gerd@gnu.org>
8356 * emacs-lisp/re-builder.el: New file.
8358 * mouse.el (mouse-drag-region): Don't run up-event handler
8359 if hscroll has changed.
8361 * octave-mod.el (octave-font-lock-keywords): To font-lock the
8362 builtin operators, use `font-lock-builtin-face' for Emacs and
8363 `font-lock-preprocessor-face' otherwise.
8365 * font-lock.el (lisp-font-lock-keywords-1): Highlight
8366 `(defun (setf foo)' differently.
8368 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
8370 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
8371 (regexp-opt): Update comment and adapt the code the new meaning of
8372 the `paren' argument of regex-opt-group for shy-groups.
8373 (regexp-opt-depth): Handle shy groups as well as backslashed
8375 (regexp-opt-group): Turn the leading comment into a docstring.
8376 Allow `paren' to be a string (the string to use to open a group).
8377 Remove open-presuf and close-presuf. Instead of checking for `all
8378 one-char' and then later on check for `several one-char', handle
8379 both cases close together. Also apply a more generic algorithm
8380 for suffixes (the mirror image of the algorithm used for
8381 prefixes). Use shy-groups. Use nreverse rather than reverse.
8382 (regexp-opt-try-suffix): Removed.
8384 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
8385 from comint-mode-map, so we can just inherit from it. Also, move
8386 the initialization into the `defvar' since there's no docstring
8387 anyway and it's fairly short.
8388 (inferior-scheme-mode): Define it as derived-mode: the code is
8389 shorter and this way we inherit from comint-mode-map rather than
8392 * subr.el (replace-regexps-in-string): Properly handle the case
8393 where we match an empty string.
8395 * comint.el (comint-exec-1): Add the current-dir to the exec-path
8396 when the command has a directory component (such as "./testml").
8397 Also fix a typo in the comment.
8399 2000-03-08 Gerd Moellmann <gerd@gnu.org>
8401 * Makefile (compile-files): Compile files one by one because
8402 that's the only way to ensure a clean compilation environment for
8403 each individual file.
8405 * frame.el (other-frame): Call x-focus-frame.
8407 2000-03-07 Dave Love <fx@gnu.org>
8409 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
8410 :require to defcustom.
8412 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
8415 * files.el (auto-mode-alist): Add configure.in.
8417 * progmodes/autoconf.el: New file.
8419 2000-03-07 Gerd Moellmann <gerd@gnu.org>
8421 * mail/mh-e.el: Change maintainer to `none'.
8423 * recentf.el (recentf-keep-non-readable-files-p): Quote args
8424 to remove-hook and add-hook.
8426 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8428 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
8430 (mail-send): Test mail-send-nonascii also for the new `mime' value.
8431 (sendmail-send-it): Conditionally add MIME headers specifying the
8434 2000-03-07 Dave Love <fx@gnu.org>
8436 * winner.el: Fix keywords, autoload cookies. Split
8437 eval-when-compile form to avoid compilation failure.
8439 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
8441 * international/mule.el: Modify comment about coding system
8442 property `coding-category'.
8443 (make-coding-system): New argument EOL-TYPE. Pay attention to
8444 coding-category property of PROPERTIES.
8446 * international/mule-conf.el (coding-category-utf-8,
8447 coding-category-utf-16-be, coding-category-utf-16-le): New coding
8448 categories. Include them in the argument for set-coding-priority.
8450 * international/mule-cmds.el (reset-language-environment): Include
8451 coding-category-utf-8, coding-category-utf-16-be, and
8452 coding-category-utf-16-le in the argument for set-coding-priority.
8453 (reset-language-environment): Initialize coding-category-utf-8,
8454 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
8456 2000-03-06 Karl Fogel <kfogel@red-bean.com>
8458 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
8459 code abstracted out of `bookmark-jump-noselect'. Now tries info
8460 extensions as well as compression extensions.
8461 (bookmark-jump-noselect): Use above new func.
8463 2000-03-03 Gerd Moellmann <gerd@gnu.org>
8465 * strokes.el: Change maintainer's mail address.
8467 2000-03-03 Kenichi Handa <handa@etl.go.jp>
8469 * international/mule-diag.el (list-character-sets): Make help-echo
8470 string by substitute-command-keys.
8471 (list-character-sets): Likewise.
8472 (sort-listed-character-sets): Call help-setup-xref.
8474 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8476 * time.el (display-time-mail-file): Add `none' to the list of
8479 2000-03-01 Dave Love <fx@gnu.org>
8481 * help.el (help-xref-go-back): Don't try to set position.
8483 * international/mule-diag.el (list-character-sets): Call
8484 help-setup-xref. Add help-echo to xrefs.
8485 (list-character-sets-1): Add help-echo to xrefs.
8487 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8489 * frame.el (blink-cursor-mode): Switch cursor on when turning
8492 * add-log.el (add-log-current-defun): Add support for
8495 * mail/rmail.el (rmail-quit-hook): New variable.
8497 2000-03-01 Dave Love <fx@gnu.org>
8499 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
8501 * help.el (help-xref-button): Add help-echo arg.
8502 (describe-function-1, describe-variable, help-make-xrefs): Use it.
8504 * faces.el (list-faces-display): Supply help-echo with
8507 * facemenu.el (list-text-properties-at): Set help-xref-stack to
8510 2000-03-01 Gerd Moellmann <gerd@gnu.org>
8512 * image.el (defimage): Look for image files in load-path.
8514 * frame.el (busy-cursor-delay-seconds): Change type to
8517 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8519 * recentf.el (recentf): Added version tag to the defgroup of
8522 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8524 * recentf.el (recentf-cleanup): Changed to remove excluded file
8526 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
8527 action to select/unselect a file.
8528 (recentf-edit-list): Code cleanup and improvement.
8529 (recentf-open-more-files-action): `recentf-open-more-files' button
8530 widget action to open a file.
8531 (recentf-open-more-files): No more use standard completion but
8533 (recentf-more-collection): Deleted.
8534 (recentf-more-history): Deleted.
8535 (recentf-setup-more-completion): Deleted.
8537 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8539 * recentf.el (recentf-mode): No more needs that Emacs is running
8540 under a window-system.
8542 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8544 * recentf.el (recentf-edit-list): New command to edit the recent
8545 list which allow the user to remove files.
8546 (recentf-edit-selected-items): New global variable, used by
8547 `recentf-edit-list' to hold the list of files to be removed from
8549 (recentf-make-menu-items): Updated to display a "Edit list..."
8550 menu item. Minor code cleanup.
8552 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8554 * recentf.el (recentf-open-more-files): New command to open files
8555 that are not displayed in the menu.
8556 (recentf-more-collection): New global variable holding the set of
8557 permissible completions used by `recentf-open-more-files'.
8558 (recentf-more-history): New global variable holding the history list
8559 used by `recentf-open-more-files' completion.
8560 (recentf-setup-more-completion): New function to setup completion for
8561 `recentf-open-more-files'.
8562 (recentf-make-menu-items): Updated to display a "More..." menu item.
8564 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8566 * recentf.el (recentf-menu-action): Doc fixed.
8568 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8570 * recentf.el (recentf-menu-filter): Doc updated.
8571 (recentf-update-menu-hook): Allow menu filters to force menu update.
8572 (recentf-make-menu-items): New menu filter handling.
8573 (recentf-make-menu-item): New helper function.
8574 (recentf-menu-elements): New menu handling function.
8575 (recentf-sort-ascending): Updated to new menu filter handling.
8576 (recentf-sort-descending): Updated to new menu filter handling.
8577 (recentf-sort-basenames-ascending): New menu filter function.
8578 (recentf-sort-basenames-descending): New menu filter function.
8579 (recentf-show-basenames): New menu filter function.
8580 (recentf-show-basenames-ascending): New menu filter function.
8581 (recentf-show-basenames-descending): New menu filter function.
8583 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8585 * diary-lib.el (list-diary-entries): Don't try to go forward at
8586 the end of the buffer.
8588 2000-02-29 Kenichi Handa <handa@etl.go.jp>
8590 * international/mule-diag.el (list-character-sets): Completely
8592 (sort-listed-character-sets): New function.
8593 (list-character-sets-1): Completely rewritten.
8594 (list-character-sets-2): New function.
8595 (non-iso-charset-alist): New variable.
8596 (decode-codepage-char): New function.
8597 (charset-history): New variable.
8598 (read-charset) (list-block-of-chars)
8599 (list-iso-charset-chars)
8600 (list-non-iso-charset-chars)
8601 (list-charset-chars): New functions.
8602 (mule-diag): Call list-character-sets-2, not
8603 list-character-sets-2.
8604 (dump-charsets): Likewise.
8606 2000-02-29 Gerd Moellmann <gerd@gnu.org>
8608 * dired-x.el (dired-filename-at-point): Add `@' to valid
8609 file name characters.
8610 (dired-filename-at-point): Handle ange-ftp file names.
8612 * frame.el (frame-notice-user-settings): Use assq-delete-all
8613 instead of assoc-delete-all.
8614 (frame-notice-user-settings): Ditto.
8616 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
8619 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
8621 * calculator.el (calculator-use-menu): New option.
8622 (calculator-initial-bindings): Changed some bindings to work as
8624 (calculator-forced-input): Removed.
8625 (calculator-restart-other-mode): New variable.
8626 (calculator-mode-map): Set up menu.
8628 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
8630 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
8633 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
8635 * viper-cmd.el (viper-envelop-ESC-key): added the option to
8636 translate all ESC key sequences.
8637 (viper-goto-mark-subr): restore markers for files for which
8639 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
8640 * viper-util.el (viper-set-replace-overlay-glyphs,
8641 viper-set-replace-overlay): always check if the replacement
8643 * viper.el (viper-vi-state-mode-list): added major modes.
8644 * ediff-wind.el: minor comment changes.
8645 * ediff.el: copyright notice date fix.
8647 2000-02-27 Jason Rumney <jasonr@gnu.org>
8649 * faces.el (face-font-family-alternatives): Add arial to helv.
8650 (mode-line, header-line, tool-bar): Same default as x for w32.
8651 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
8652 face-font-family-alternatives from working.
8653 * term/w32-win.el (mouse-set-font): Do not build fontset from
8656 2000-02-25 Sam Steingold <sds@goems.com>
8658 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
8661 2000-02-25 Richard M. Stallman <rms@gnu.org>
8663 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
8665 2000-02-25 Gerd Moellmann <gerd@gnu.org>
8667 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
8670 * frame.el (busy-cursor-delay-seconds): New option.
8672 2000-02-24 Gerd Moellmann <gerd@gnu.org>
8674 * frame.el (show-cursor-in-non-selected-windows): New option.
8676 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8678 * diary-lib.el (include-other-diary-files): Undo the selective
8679 display in any included file and don't kill it.
8681 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
8683 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
8684 bar. Menu items converted to (menu-item format, help strings
8686 [downcase, upcase]: Don't enable on MS-DOS.
8687 [symlink, symlinks]: Don't show if make-symbolic-link is not
8689 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
8691 2000-02-23 Dave Love <fx@gnu.org>
8693 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
8694 (backward-kill-word): Revert addition of * to interactive spec --
8697 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
8698 (backward-kill-sentence, kill-sentence): Likewise.
8700 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
8701 scratch buffer name.
8702 (gud-format-command): Use int-to-string in ?l case. Simplify
8705 * term/w32-win.el (internal-face-interactive): Update prompt for
8708 * mail/footnote.el (footnote): Add :version to defgroup.
8709 (footnote-section-tag-regexp): Customize.
8710 (footnote-start-tag, footnote-end-tag): New option.
8711 (footnote-latin-regexp): New variable.
8712 (Footnote-latin): New function.
8713 (footnote-style-alist): Add element for latin style.
8714 (footnote-style): Moved.
8715 (Footnote-goto-footnote): Use eq to test arg.
8717 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
8719 * emacs-lisp/byte-opt.el: Change old backquote syntax.
8720 (byte-compile-trueconstp): Include keywords.
8721 (byte-optimize-quote, byte-optimize-lapcode): Use
8722 byte-compile-const-symbol-p.
8723 (byte-optimize-char-before): New optimization.
8725 * emacs-lisp/bytecomp.el: Change old backquote syntax.
8726 (byte-compile-const-symbol-p): New function.
8727 (byte-compile-constp, byte-compile-out-toplevel)
8728 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
8731 * subr.el (define-key-after): Default AFTER to t. Doc fix.
8733 2000-02-23 Kenichi Handa <handa@etl.go.jp>
8735 * international/encoded-kb.el: Be sure to update minor-mode-alist
8736 and minor-mode-map-alist.
8737 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
8738 codes SS2 and SS3 correctly.
8739 (encoded-kbd-self-insert-ccl): New function.
8740 (encoded-kbd-setup-keymap): New function.
8741 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
8742 by calling encoded-kbd-setup-keymap.
8744 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
8746 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
8749 2000-02-22 Dave Love <fx@gnu.org>
8751 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
8752 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
8754 (lisp-mode-syntax-table): Set up for #|...|# comments.
8755 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
8756 classes. Match `defface'.
8757 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
8758 (eval-defun-1): Fix for defcustom.
8759 (lisp-indent-region): Doc fix.
8761 * subr.el (when, unless, split-string): Doc fix.
8762 (read-passwd): Move call of clear-this-command-keys to the right
8764 (replace-regexps-in-string): New function.
8766 2000-02-22 Gerd Moellmann <gerd@gnu.org>
8768 * help.el (describe-variable): Set syntax table to
8769 emacs-lisp-mode-syntax-table when moving forward over the
8772 2000-02-22 Dave Love <fx@gnu.org>
8774 * xt-mouse.el: Doc fixes.
8775 (xterm-mouse-position-function): New function, replacing advice of
8777 (xterm-mouse-mode): Use it. Don't turn on under a window system.
8779 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
8781 2000-02-21 Gerd Moellmann <gerd@gnu.org>
8783 * format.el (format-annotate-single-property-change): Handle
8784 properties.with dotted-list values.
8785 (format-proper-list-p): New function.
8787 * enriched.el (enriched-face-ans): Handle '(foreground-color
8788 . COLOR) and (background-color . COLOR).
8790 2000-02-20 Dave Love <fx@gnu.org>
8792 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
8793 and assignments to it.
8794 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
8796 (make-flyspell-overlay): Use it.
8797 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
8799 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
8800 (lm-get-header-re): Defun, not defsubst.
8801 (lm-get-package-name): Defun, not defsubst. Simplify.
8802 (lm-version): Doc fix. Simplify.
8803 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
8804 (lm-crack-address, lm-last-modified-date, lm-commentary)
8805 (lm-verify, lm-synopsis): Simplify.
8806 (lm-report-bug): Require emacsbug. Use compose-mail.
8808 2000-02-20 Gerd Moellmann <gerd@gnu.org>
8810 * dired.el (dired-mode): Call propertized-buffer-identification
8811 to set mode-line-buffer-identification to something having
8812 the right text properties.
8814 * bindings.el (propertized-buffer-identification): New function.
8816 2000-02-20 Dave Love <fx@gnu.org>
8818 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
8819 check for t-mouse too.
8821 * cus-start.el: Make echo-keystrokes `number'.
8823 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
8825 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
8826 Don't call ring-empty-p unless tags-location-ring is bound.
8827 From Noah Friedman <friedman@splode.com>.
8829 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
8831 * progmodes/hideshow.el (hs-flag-region): No longer use
8832 `intangible' overlay property.
8834 (hs-toggle-hiding): New command.
8835 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
8837 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
8838 Fix omission bug: Run `hs-minor-mode-hook' for both activation
8841 2000-02-18 Gerd Moellmann <gerd@gnu.org>
8843 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
8845 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8847 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
8849 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
8850 of `*' to handle `(* ... *)' comments.
8852 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
8854 * faces.el (list-faces-display): Use display-mouse-p instead of
8857 * menu-bar.el (global-map): Menu-bar items converted to the new
8858 format (menu-item..., rearranged for better CUA compliance, and
8859 their names changed for better clarity. Help strings added.
8861 * international/mule-cmds.el (mule-menu-keymap)
8862 (describe-language-environment-map, set-coding-system-map)
8863 (setup-language-environment-map): Convert to new (menu-item...
8864 form, add help strings. Change names of menu items for better
8865 clarity. "Mule" menu-bar item removed (it's now in the "Options"
8868 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8870 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
8873 2000-02-16 Dave Love <fx@gnu.org>
8875 * faces.el: Don't require custom. Add more specific :groups to
8877 (set-face-attribute): Purecopy args.
8878 (read-face-name): Default to name at point and use it in prompt.
8879 Remove colon from arg in all callers.
8880 (list-faces-display): Hyperlink to face descriptions and customize
8883 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
8885 * wid-edit.el (widget-match-inline): An atom never matches a
8888 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8890 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
8891 at ':' characters by call to split-string.
8893 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8895 * textmodes/bibtex.el: Added RCS version identification.
8897 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8899 * textmodes/bibtex.el: Some temporary comments removed.
8900 (bibtex-field-name, bibtex-entry-type): Made the relationship
8902 (bibtex-field-const): Allow capital letters.
8903 (bibtex-start-of-string): Deleted because unused.
8905 * textmodes/bibtex.el: Unified some nomenclature. We no longer
8906 use the term 'reference' to describe a bibtex entry as a whole.
8907 Further, reference keys are no longer called 'labels'.
8908 (bibtex-keys): Renamed to bibtex-reference-keys.
8909 (bibtex-reformat-previous-labels): Renamed to
8910 bibtex-reformat-previous-reference-keys.
8911 (bibtex-reference-type): Renamed to bibtex-entry-type.
8912 (bibtex-reference-head): Renamed to bibtex-entry-head.
8913 (bibtex-reference-maybe-empty-head): Renamed to
8914 bibtex-entry-maybe-empty-head.
8915 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
8916 (bibtex-search-reference): Renamed to bibtex-search-entry.
8917 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
8918 bibtex-enclosing-entry-maybe-empty-head.
8919 (bibtex-entry-field-alist, bibtex-entry-head,
8920 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
8921 bibtex-map-entries, bibtex-search-entry,
8922 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
8923 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8924 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
8925 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
8926 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
8927 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
8928 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
8930 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8932 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
8934 (bibtex-format-field-delimiters): New function, functionality
8935 extracted from bibtex-format-entry.
8936 (bibtex-autokey-get-yearfield-digits): New function, functionality
8937 extracted from bibtex-autokey-get-yearfield.
8939 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
8940 entries in order to avoid stack overflow in the regexp matcher if
8941 field contents become large.
8942 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
8943 bibtex-field-string-part-not-braced,
8944 bibtex-field-string-part-no-inner-braces,
8945 bibtex-field-string-part-1-inner-brace,
8946 bibtex-field-string-part-2-inner-braces,
8947 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
8948 bibtex-field-string-quoted, bibtex-field-string,
8949 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
8950 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
8951 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
8952 as parsing is now performed by the following functions.
8953 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
8954 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
8955 bibtex-parse-field-string, bibtex-search-forward-field-string,
8956 bibtex-parse-association, bibtex-field-name-for-parsing,
8957 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
8958 bibtex-search-forward-field, bibtex-search-backward-field,
8959 bibtex-start-of-field, bibtex-end-of-field,
8960 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
8961 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
8962 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
8963 bibtex-parse-string, bibtex-search-forward-string,
8964 bibtex-search-backward-string, bibtex-start-of-string,
8965 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
8966 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
8967 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
8968 entries. Instead of reporting the results of the parsing by
8969 match-beginning or match-end, these functions return data structures
8970 that hold the corresponding positions.
8971 (bibtex-enclosing-field): Changed to also report field boundaries by
8972 return values rather than by match-beginning or match-end. The
8973 following functions have been adapted to use the new parsing
8975 (bibtex-skip-to-valid-entry, bibtex-search-reference,
8976 bibtex-enclosing-field, bibtex-format-entry,
8977 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
8978 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
8979 bibtex-print-help-message, bibtex-end-of-entry,
8980 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
8981 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8982 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
8984 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
8985 bibtex-map-entries, bibtex-flash-head,
8986 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
8987 bibtex-autokey-change, bibtex-autokey-get-namefield,
8988 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
8989 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
8990 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
8991 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
8992 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
8993 order to make the new binding of case-fold-search immediately
8996 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
8998 * textmodes/bibtex.el: Copyright notice is up to date.
8999 Added constant 'bibtex-maintainer-salutation.
9001 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9002 than make-temp-name, use match-string-no-properties and eliminate
9003 a quadratic behavior when building bibtex-strings.
9005 * bibtex.el (bibtex-reference-key): Accept string entries whose
9006 reference key contains upper case letters.
9008 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9010 * bibtex.el (bibtex-reference-head): Allow entries to start with
9013 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9015 * bibtex.el: Hiding of entry bodies is not longer provided by
9016 bibtex.el directly. Instead the hideshow package can be used.
9017 Added a special bibtex entry to hs-special-modes-alist.
9018 (bibtex-hs-forward-sexp): Added for hideshow.el.
9020 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9022 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9023 at ':' characters by call to split-string.
9025 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9027 * textmodes/bibtex.el: Added RCS version identification.
9029 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9031 * textmodes/bibtex.el: Some temporary comments removed.
9032 (bibtex-field-name, bibtex-entry-type): Made the relationship
9034 (bibtex-field-const): Allow capital letters.
9035 (bibtex-start-of-string): Deleted because unused.
9037 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9038 use the term 'reference' to describe a bibtex entry as a whole.
9039 Further, reference keys are no longer called 'labels'.
9040 (bibtex-keys): Renamed to bibtex-reference-keys.
9041 (bibtex-reformat-previous-labels): Renamed to
9042 bibtex-reformat-previous-reference-keys.
9043 (bibtex-reference-type): Renamed to bibtex-entry-type.
9044 (bibtex-reference-head): Renamed to bibtex-entry-head.
9045 (bibtex-reference-maybe-empty-head): Renamed to
9046 bibtex-entry-maybe-empty-head.
9047 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9048 (bibtex-search-reference): Renamed to bibtex-search-entry.
9049 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9050 bibtex-enclosing-entry-maybe-empty-head.
9051 (bibtex-entry-field-alist, bibtex-entry-head,
9052 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9053 bibtex-map-entries, bibtex-search-entry,
9054 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9055 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9056 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9057 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9058 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9059 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9060 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9062 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9064 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9066 (bibtex-format-field-delimiters): New function, functionality
9067 extracted from bibtex-format-entry.
9068 (bibtex-autokey-get-yearfield-digits): New function, functionality
9069 extracted from bibtex-autokey-get-yearfield.
9071 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9072 entries in order to avoid stack overflow in the regexp matcher if
9073 field contents become large.
9074 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9075 bibtex-field-string-part-not-braced,
9076 bibtex-field-string-part-no-inner-braces,
9077 bibtex-field-string-part-1-inner-brace,
9078 bibtex-field-string-part-2-inner-braces,
9079 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9080 bibtex-field-string-quoted, bibtex-field-string,
9081 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9082 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9083 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9084 as parsing is now performed by the following functions.
9085 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9086 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9087 bibtex-parse-field-string, bibtex-search-forward-field-string,
9088 bibtex-parse-association, bibtex-field-name-for-parsing,
9089 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9090 bibtex-search-forward-field, bibtex-search-backward-field,
9091 bibtex-start-of-field, bibtex-end-of-field,
9092 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9093 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9094 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9095 bibtex-parse-string, bibtex-search-forward-string,
9096 bibtex-search-backward-string, bibtex-start-of-string,
9097 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9098 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9099 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9100 entries. Instead of reporting the results of the parsing by
9101 match-beginning or match-end, these functions return data structures
9102 that hold the corresponding positions.
9103 (bibtex-enclosing-field): Changed to also report field boundaries by
9104 return values rather than by match-beginning or match-end. The
9105 following functions have been adapted to use the new parsing
9107 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9108 bibtex-enclosing-field, bibtex-format-entry,
9109 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9110 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9111 bibtex-print-help-message, bibtex-end-of-entry,
9112 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9113 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9114 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9116 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9117 bibtex-map-entries, bibtex-flash-head,
9118 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9119 bibtex-autokey-change, bibtex-autokey-get-namefield,
9120 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9121 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9122 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9123 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9124 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9125 order to make the new binding of case-fold-search immediately
9128 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9130 * textmodes/bibtex.el: Copyright notice is up to date.
9131 Added constant 'bibtex-maintainer-salutation.
9133 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9134 than make-temp-name, use match-string-no-properties and eliminate
9135 a quadratic behavior when building bibtex-strings.
9137 * bibtex.el (bibtex-reference-key): Accept string entries whose
9138 reference key contains upper case letters.
9140 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9142 * bibtex.el (bibtex-reference-head): Allow entries to start with
9145 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9147 * bibtex.el: Hiding of entry bodies is not longer provided by
9148 bibtex.el directly. Instead the hideshow package can be used.
9149 Added a special bibtex entry to hs-special-modes-alist.
9150 (bibtex-hs-forward-sexp): Added for hideshow.el.
9152 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9154 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
9155 proceedings entry type (for cross referencing). Thanks to Wagner
9156 Toledo Correa for the suggestion.
9158 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
9160 2000-02-14 Kenichi Handa <handa@etl.go.jp>
9162 * international/characters.el: Setup case table for Vietnamese.
9164 2000-02-12 Gerd Moellmann <gerd@gnu.org>
9166 * uniquify.el (toplevel): Require CL at compile time.
9167 (uniquify-push): Removed.
9169 * shadowfile.el (shadow-when): Removed.
9171 * tempo.el (tempo-dolist, tempo-mapc): Removed.
9172 (tempo-process-and-insert-string): Use dolist instead of
9175 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
9176 regexp for paragraph-start.
9178 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
9181 2000-02-10 Dave Love <fx@gnu.org>
9183 * wid-edit.el: (widgets) [defgroup]: Remove url link.
9184 (widget-color-choice-list, widget-color-history, widget-mouse-help):
9186 (widget-specify-field, widget-specify-button): Don't use
9187 widget-mouse-help as help-echo property.
9188 (default): Use #'ignore for :validate and :mouse-down-action.
9189 (checkbox): Add help-echo.
9190 (widget-sexp-validate): Rewritten to clarify error messages.
9191 (character): Use char-valid-p in :match function.
9192 (widget-color-complete): Use facemenu-color-alist.
9193 (widget-color-action): Use facemenu-read-color.
9195 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
9196 set up `caar' &c that we now have.
9198 2000-02-09 Ray Blaak <blaak@gnu.org>
9200 * delphi.el: Make resourcestring a declaration region, like const
9203 2000-02-09 Dave Love <fx@gnu.org>
9205 * bindings.el (mode-line-input-method-map): New variable.
9206 (mode-line-mule-info): Use it; fix last change.
9207 (mode-line-mode-menu): Move definition.
9208 (mode-line-mouse-sensitive-p): Deleted.
9209 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
9210 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
9213 * startup.el (command-line-1): Don't call
9214 make-mode-line-mouse-sensitive.
9216 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9218 * mail/rmail.el (rmail-retry-failure): Use
9219 rmail-beginning-of-message before rmail-toggle-header, because the
9220 former toggles headers.
9222 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
9224 * diff-mode.el (diff-kill-junk): New interactive function.
9225 (diff-reverse-direction): Use delete-and-extract-region.
9226 (diff-post-command-hook): Restrict the area so that the hook also works
9227 outside of any diff hunk. This is necessary for the minor-mode.
9228 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
9229 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
9231 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
9232 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
9233 so that it can be used more easily in <foo>-mode-hook. Also make sure
9234 to avoid duplicate entries.
9235 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
9236 (font-lock-remove-keywords): Just as was done for `add', allow it to
9237 work even if font-lock-mode is nil. Also make sure we don't modify
9238 any pre-existing list by forcing a copy-sequence. Finally rename
9239 `major-mode' to `mode'.
9240 (font-lock-fontify-syntactic-anchored-keywords)
9241 (font-lock-fontify-anchored-keywords)
9242 (font-lock-fontify-keywords-region): Use line-end-position.
9243 Don't make `font-lock-multiline' local (it's now done in
9244 font-lock-set-defaults).
9245 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
9246 move the `font-lock-fontified' creation to inside the `unless'.
9248 2000-02-06 Andrew Innes <andrewi@gnu.org>
9250 * term/w32-win.el (x-handle-args): Comment out call to message,
9251 which occurs before window system is initialized.
9253 * makefile.nt: Add support for recompiling lisp code.
9255 2000-02-04 Dave Love <fx@gnu.org>
9257 * bindings.el (mode-line-mule-info): Fix/extend last change.
9259 * completion.el: Replace completion-dolist with dolist.
9261 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
9264 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
9266 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
9267 environment names before they go into the section regexp.
9269 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
9270 char class in regexp.
9272 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
9273 `case-fold-search' to nil.
9275 * progmodes/idlwave.el (idlwave-template): Respect
9276 `idlwave-abbrev-change-case'.
9277 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
9278 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
9279 idlwave-while): respect `idlwave-reserved-word-upcase'.
9280 (idlwave-rw-case): New function.
9281 (idlwave-statement-match): Fixed problem with assignment regexp.
9282 (idlwave-font-lock-keywords): Improved regexp for keyword
9284 (idlwave-surround): New argument LENGTH to support padding of
9285 operators longer than 1 char.
9287 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
9288 idlwave-shell-expression-overlay. Implemented printing of
9289 expressions on higher levels of the calling stack.
9290 (idlwave-shell-display-level-in-calling-stack): Restore stack
9292 (idlwave-retrieve-expression-from-level): New function.
9293 (idlwave-shell-last-calling-stack): Variable removed.
9294 (idlwave-shell-reset): Argument action reversed (`visible' to
9295 `hidden'). Also remove stop-line overlay.
9296 (idlwave-shell-calling-stack-routine): New variable.
9297 (idlwave-shell-parse-stack-and-display): Messages now display
9298 negative level numbers.
9299 (idlwave-shell-mode): Set `modeline-format'.
9300 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
9301 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
9303 (idlwave-shell-print-expression-function): New option.
9305 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
9306 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
9307 `tool-bar' instead of `toolbar'.
9309 2000-02-02 Dave Love <fx@gnu.org>
9311 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
9312 emacs-lisp-mode-hook. Don't check for defalias being defined.
9314 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
9315 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
9316 the new builtins directly.
9318 * whitespace.el (whitespace): Add :version to defgroup.
9320 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
9323 * thingatpt.el (sexp-at-point, symbol-at-point)
9324 (number-at-point, list-at-point): Add autoload cookie.
9326 * recentf.el (recentf): Add :version to defgroup.
9328 * quickurl.el (quickurl): Add :version to defgroup.
9330 * elide-head.el (elide-head): Use point-marker more.
9332 * bs.el (bs): Add :version to defgroup.
9334 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
9336 * progmodes/delphi.el (delphi): Add :version to defgroup.
9338 2000-02-02 Gerd Moellmann <gerd@gnu.org>
9340 * ange-ftp.el (ange-ftp-write-region): Handle case that
9341 succeeding process operation sets a different coding system.
9343 * calculator.el: New file.
9345 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
9347 * frame.el (frames-on-display-list, framep-on-display): New
9349 (display-mouse-p, display-popup-menus-p, display-graphic-p)
9350 (display-selections-p, display-screens, display-pixel-width)
9351 (display-pixel-height, display-mm-width, display-mm-height)
9352 (display-backing-store, display-save-under, display-planes)
9353 (display-color-cells, display-visual-class): New functions.
9355 * term/tty-colors.el (tty-color-gray-shades): New function.
9357 * faces.el (display-color-p): Use framep-on-display.
9358 (display-grayscale-p): New function.
9360 2000-01-31 Dave Love <fx@gnu.org>
9362 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
9363 (create-fontset-from-x-resource): Don't concat integers.
9365 2000-01-31 Inge Frick <inge@nada.kth.se>
9367 * view.el: Some changes in documentation. Removed some trailing
9368 whitespace. Changed some parameter names to agree with
9370 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
9371 window is not deleted. Modifies change 1998-04-26.
9373 2000-01-31 Gerd Moellmann <gerd@gnu.org>
9375 * windmove.el: New file.
9377 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9378 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9379 progmodes/ebnf-yac.el: Update copyright and license info.
9381 * jit-lock.el (jit-lock-function): Widen before calculating end
9383 (jit-lock-stealth-chunk-start): Rewritten.
9385 * info.el (Info-title-face-alist): Removed.
9386 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
9388 (Info-fontify-node): Use these faces.
9390 2000-01-30 Gerd Moellmann <gerd@gnu.org>
9392 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
9393 (cl-macro-list1): Recognize `&allow-other-keys' instead of
9394 `&allow-other-keywords'.
9396 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
9397 the list of directories scanned heuristically.
9399 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
9402 2000-01-30 Jason Rumney <jasonr@gnu.org>
9404 * w32-fns.el: Define w32-tty-standard-colors.
9406 * startup.el (command-line): Use w32-tty-standard-colors when in
9409 2000-01-30 Dave Love <fx@gnu.org>
9411 * jka-compr.el (jka-compr-load): Fix up load-history.
9413 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
9415 * emacs-lisp/cl-macs.el: Revert previous change.
9417 2000-01-29 Dave Love <fx@gnu.org>
9419 * facemenu.el: Purecopy various strings.
9421 * timezone.el (timezone-fix-time): Window against 69 for two-digit
9422 years. Deal with three-digit years.
9424 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
9426 (help-back-label): Purecopy it.
9428 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9430 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
9431 variable. If non-nil, order the buffer list according to the
9432 currently selected frame.
9433 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
9434 non-nil, pass the selected frame to function buffer-list.
9436 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9438 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
9440 2000-01-28 Dave Love <fx@gnu.org>
9442 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
9444 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
9445 Don't use lisp-indent-hook property.
9448 * subr.el: Move out indent and edebug specs for when and unless.
9450 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
9453 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
9456 2000-01-28 Gerd Moellmann <gerd@gnu.org>
9458 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
9459 `collecting' as synonym for `collect'.
9461 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
9462 for the case it contains spaces.
9464 * simple.el (what-cursor-position): Change formatting of
9467 * frame.el (delete-other-frames): New function.
9468 (toplevel): Bind it to C-x 5 1.
9470 * sort.el (sort-numeric-base): New option.
9471 (sort-numeric-fields): If number starts with `0' or `0[xX[',
9472 interpret it as octal or hexadecimal. Use sort-numeric-base
9475 * progmodes/glasses.el: New file.
9477 2000-01-27 Gerd Moellmann <gerd@gnu.org>
9479 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
9480 userids differently.
9482 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9483 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9484 progmodes/ebnf-yac.el: New files.
9486 2000-01-26 Dave Love <fx@gnu.org>
9488 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
9489 on a function with an empty body. [From Eric Ludlam.]
9491 2000-01-25 Andre Spiegel <spiegel@gnu.org>
9493 * vc.el (vc-version-diff): Make sure file name is expanded.
9495 2000-01-25 Gerd Moellmann <gerd@gnu.org>
9497 * scroll-bar.el (scroll-bar-timer): Variable removed.
9498 (scroll-bar-toolkit-scroll): Don't use a timer.
9500 2000-01-25 Kenichi Handa <handa@etl.go.jp>
9502 * language/thai-util.el (thai-composition-function): Delete
9505 2000-01-24 Dave Love <fx@gnu.org>
9507 * fortran.el (fortran-mode): Use beginning-of-defun-function,
9508 end-of-defun-function.
9510 * font-lock.el (turn-on-font-lock): Don't depend on window-system
9513 2000-01-22 Jason Rumney <jasonr@gnu.org>
9515 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
9516 conflicts with new face support.
9518 2000-01-22 Richard M. Stallman <rms@gnu.org>
9520 * replace.el (query-replace): Rename last arg to DELIMITED.
9521 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
9522 (query-replace-regexp): Likewise.
9524 2000-01-20 Richard M. Stallman <rms@gnu.org>
9526 * subr.el (with-syntax-table): Use make-symbol, not gensym.
9528 * emacs-lisp/lisp.el (beginning-of-defun-function):
9529 Variable renamed from beginning-of-defun.
9530 Do not call make-variable-buffer-local.
9531 (beginning-of-defun-raw): Use new variable name; doc fix.
9532 (beginning-of-defun): Doc fix.
9533 (end-of-defun-function): Variable renamed from end-of-defun.
9534 Do not call make-variable-buffer-local.
9535 (end-of-defun): Use new variable name; doc fix.
9537 * subr.el (dolist, dotimes): Copied from cl-macs.el
9540 * mail/undigest.el (rmail-digest-end-regexps):
9541 Variable replaces rmail-digest-end-regexp.
9542 Allows multiple regexps for detecting the end line.
9543 (undigestify-rmail-message): Corresponding changes.
9545 2000-01-19 Dave Love <fx@gnu.org>
9547 * files.el (user-init-file): Don't declare here -- is primitive.
9549 * startup.el (command-line): Check for compiled user-init-file and
9550 set to uncompiled version if necessary.
9552 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9554 * mail/undigest.el (rmail-digest-end-regexp): New user option.
9555 (undigestify-rmail-message): Use it.
9557 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
9559 2000-01-17 Gerd Moellmann <gerd@gnu.org>
9561 * tmm.el (tmm-goto-completions): Adapt to prompt being part
9564 2000-01-14 Gerd Moellmann <gerd@gnu.org>
9566 * emacs-lisp/copyright.el (copyright-update): Removed the
9567 requirement for a trailing space from `copyright-regexp', to
9568 support copyrights with owner specified on a separate line..
9570 * align.el: New file.
9572 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
9574 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
9576 2000-01-13 Dave Love <fx@gnu.org>
9578 * ph.el: Removed. (Obsoleted by EUDC.)
9580 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9582 * net/eudc.el (toplevel): Remove autoloaded code installing
9583 menu with easymenu, because that causes build problems.
9585 * frame.el (frame-notice-user-settings): New variable.
9586 (frame-notice-user-settings): Don't modify frame parameters
9587 if called a second time.
9589 2000-01-13 Richard M. Stallman <rms@gnu.org>
9591 * frame.el (frame-notice-user-settings):
9592 Notice default-frame-parameters even for non-window frames.
9594 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9596 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
9598 (eudc-bob-can-display-inline-images): Extend for Emacs.
9599 (eudc-bob-toggle-inline-display): Ditto.
9600 (eudc-bob-display-jpeg): Ditto.
9602 2000-01-12 Gerd Moellmann <gerd@gnu.org>
9604 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
9605 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
9606 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
9608 * add-log.el (add-change-log-entry): Fix error trying an `(insert
9611 * subdirs.el: Add `net' directory.
9613 * net: New directory.
9615 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
9616 eval-last-sexp. Don't bind debug-on-error here.
9617 (eval-last-sexp): New function. Bind debug-on-error if
9618 eval-expression-debug-on-error is non-nil.
9619 (eval-defun-2, eval-defun): Likewise.
9621 * simple.el (eval-expression): Don't bind debug-on-error if
9622 eval-expression-debug-on-error is nil. Detect changed
9623 debug-on-error, and propagate new value to global binding, if
9624 eval-expression-debug-on-error is non-nil,
9625 (eval-expression-debug-on-error): Change doc string.
9627 2000-01-11 Richard M. Stallman <rms@gnu.org>
9629 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
9631 * emacs-lisp/lisp-mode.el (with-syntax-table):
9632 Set up lisp-indent-function property.
9634 * subr.el (with-syntax-table): Moved from simple.el.
9636 * simple.el (with-syntax-table): Moved to subr.el.
9638 2000-01-11 Gerd Moellmann <gerd@gnu.org>
9640 * tmm.el (tmm-shortcut): Delete region after prompt instead
9643 * textmodes/fill.el (fill-common-string-prefix): New function.
9644 (fill-context-prefix): Use the longest common prefix of first
9645 and second line fill prefix, if there is one.
9647 2000-01-11 Richard M. Stallman <rms@gnu.org>
9649 * array.el (array-mode): Don't use make-variable-buffer-local.
9650 Use make-local-variable for `truncate-lines'.
9652 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
9654 * add-log.el (add-log-current-defun): Handle user-defined
9655 add-log-current-function returning nil,
9657 * add-log.el (add-change-log-entry): Insert version number
9658 if having found a current function
9660 * add-log.el (add-log-current-defun): Call
9661 `add-log-current-defun-function'. Try matches at level 0 and
9662 level 1. Strip whitespace from defun found.
9664 2000-01-10 John Wiegley <johnw@gnu.org>
9666 * allout.el (isearch-done/outline-provisions): Added `edit'
9667 argument to correspond with the current definition of
9670 2000-01-10 Dave Love <fx@gnu.org>
9672 * elide-head.el (elide-head): Use point-marker, not point.
9674 2000-01-10 Gerd Moellmann <gerd@gnu.org>
9676 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
9677 before and after the year 2000.
9679 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
9682 2000-01-10 Ken Stevens <k.stevens@ieee.org>
9684 * ispell.el: Only define dictionaries in menus when they exist.
9685 (version18p): New variable.
9686 (version20p): New variable.
9687 (xemacsp): New variable.
9688 (ispell-choices-win-default-height): Fix for XEmacs visibility.
9689 (ispell-dictionary-alist1): Added Brasileiro dictionary.
9690 (ispell-dictionary-alist6): Russian command lines no longer accept
9692 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
9693 (ispell-dictionary-alist): Add koi8-r to customize definition.
9694 (check-ispell-version): Added documentation string. Returns
9695 library path when called non-interactively.
9696 (ispell-menu-map-needed): Uses new variables.
9697 (ispell-library-path): New variable.
9698 (ispell-decode-string): XEmacs fix for bogus variable bindings.
9699 (ispell-word): Improved documentation string. Test for valid
9700 character mappings. Correctly check typed in word changes that can
9701 result in single words split into multiple words. Returns
9703 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
9704 replace in recursive query replace mode. Help message for
9705 recursive edit mode.
9706 (ispell-show-choices): Protect against bad framepop bindings.
9707 (ispell-help): Fix to work with XEmacs.
9708 (ispell-highlight-spelling-error): Use new variables.
9709 (ispell-overlay-window): Fix to work with XEmacs.
9710 (ispell-parse-output): Passed and returns location information
9711 tracking spelling corrections. Doesn't recheck same word on
9713 (ispell-init-process): Protect against bogus XEmacs variable binding.
9714 Fix call to single argument in sleep-for. Use new variables.
9715 (ispell-region): Passed and returns location information tracking
9716 spelling corrections. Doesn't check same word on current line.
9717 Improved documentation string. Doesn't resend a line already
9718 checked to the ispell process - fixes bug in LaTeX parsing.
9719 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
9720 (ispell-skip-region): No longer skips <TT> in SGML.
9721 (ispell-process-line): Tracks location information with spelling
9722 corrections. Added documentation string. Accounts for words
9723 already accepted on this line. Don't allow query-replace on line
9724 starting with math characters. Doesn't resend a line already sent
9725 to ispell process. Fixes alignment error bug.
9727 2000-01-10 Richard M. Stallman <rms@gnu.org>
9729 * dired-x.el (dired-guess-shell-alist-default):
9730 Suggest xloadimage, which is free, not xv, which isn't.
9732 * ange-ftp.el (ange-ftp-file-name-nondirectory):
9733 Don't ever include the host name or user name in the value.
9735 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9737 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
9740 2000-01-09 Stephen Eglen <stephen@gnu.org>
9742 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
9745 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
9747 * cus-edit.el (custom-hook-convert-widget): Fix comment.
9749 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9751 * progmodes/cperl-mode.el: Replace ^F with ^L.
9753 * sendmail.el (toplevel): Provide `sendmail' when compiling
9754 before `require'ing rmail and mailalias to prevent infinite
9757 2000-01-08 Dave Love <fx@gnu.org>
9759 * emacs-lisp/backquote.el: Remove inappropriate customization
9760 (allowing custom.el to use backquote).
9762 2000-01-07 Dave Love <fx@gnu.org>
9764 * add-log.el (add-log-debugging): Deleted.
9765 (add-change-log-entry): Treat a backup FILE-NAME as its parent
9766 file. Remove debugging code.
9767 (change-log-get-method-definition, change-log-name): Add doc.
9768 (change-log-sortable-date-at): New function.
9769 (change-log-merge): New command.
9771 * time.el (display-time-string-forms): Make the Mail string active.
9772 (display-time-update): Provide help-echo for load average.
9774 * bindings.el (make-mode-line-mouse2-map): New function.
9775 (mode-line-modified): Use it and simplify.
9776 (mode-line-mule-info): Provide help-echo info.
9777 (minor-mode-alist): Activate the strings.
9778 (make-mode-line-mouse-sensitive): Simplify for
9779 mode-line-buffer-identification.
9781 2000-01-07 Gerd Moellmann <gerd@gnu.org>
9783 * play/pong.el: New file.
9785 2000-01-06 Dave Love <fx@gnu.org>
9787 * array.el: Assorted cleanups for compiler warnings, doc strings,
9788 `array-' prefix for symbols.
9790 2000-01-05 Dave Love <fx@gnu.org>
9792 * textmodes/outline.el (outline-mode-menu-bar-map): Add
9793 outline-headers-as-kill.
9794 (outline-mode): Define imenu-generic-expression.
9795 (outline-headers-as-kill): New command.
9797 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
9798 from paragraph-start.
9799 (paragraph-indent-minor-mode): New command.
9801 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
9802 M-C-e, M-C-h, C-j, C-xnd, TAB.
9803 (fortran-mode): Set beginning-of-defun, end-of-defun.
9804 (fortran-column-ruler): Simplify.
9805 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
9806 (fortran-with-subprogram-narrowing): Likewise.
9807 (fortran-indent-subprogram): Call mark-defun.
9808 (fortran-check-for-matching-do): Change narrowing.
9810 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
9811 (cl-lucid-hash-tag): Delete.
9812 (cl-hash-table-p): Correct test for native table.
9813 (cl-hash-table-count): Use hash-table-count.
9815 * browse-url.el (browse-url): Fix case of
9816 browse-url-browser-function being an alist.
9818 2000-01-05 Carsten Dominik <cd@gnu.org>
9820 * textmodes/reftex-vars.el (reftex-parse-file-extension)
9821 (reftex-index-phrase-file-extension): New options.
9823 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
9824 Use new option `reftex-index-phrase-file-extension'.
9826 * textmodes/reftex.el (reftex-access-parse-file): Use new option
9827 `reftex-parse-file-extension'.
9829 2000-01-05 Dave Love <fx@gnu.org>
9831 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
9832 (beginning-of-defun-raw): Use it.
9833 (end-of-defun): New variable.
9834 (end-of-defun): Use it.
9835 (check-parens): New command.
9837 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
9839 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
9840 (hs-show-block): Don't use `mapcar' when not accumulating.
9842 Fix buglet in local variables initialization.
9844 2000-01-05 Andreas Schwab <schwab@suse.de>
9846 * hscroll.el (hscroll): Doc fix.
9848 2000-01-05 Carsten Dominik <cd@gnu.org>
9850 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
9853 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
9855 (idlwave-customize): load must read file idlw-shell.el.
9856 (idlwave-create-customize-menu): load must read file idlw-shell.el.
9858 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
9860 * progmodes/idlw-shell.el: Also provide idlwave-shell
9861 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
9862 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
9864 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
9865 both reftex-dcr and reftex-vcr.
9867 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
9869 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9871 * ps-print.el: PostScript code now is in separate files, doc fix.
9872 (ps-print-version): New version number (5.0.3).
9873 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
9875 (ps-spool-config): Initialization fix.
9876 (ps-print-prologue-1, ps-print-prologue-2)
9877 (ps-print-duplex-feature): PostScript code moved to separated file.
9878 (ps-background-image): Little code reformating.
9879 (ps-begin-file, ps-begin-job): Fix code.
9880 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
9881 (ps-prologue-file): New fun.
9883 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9885 * ps-vars.el: Eliminated.
9887 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
9890 * ps-print.el: ps-vars eliminated, doc fix.
9891 (ps-print-version): New version number (5.0.2).
9892 (ps-spool-config): Initialization fix.
9893 (ps-print-customize): New fun.
9895 2000-01-04 Gerd Moellmann <gerd@gnu.org>
9897 * autorevert.el (auto-revert-mode): Return value of
9900 2000-01-04 Dave Love <fx@gnu.org>
9902 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
9905 2000-01-03 Dave Love <fx@gnu.org>
9907 * elide-head.el (elide-head) [defgroup]: Add :version.
9909 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
9910 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
9911 `cl-hash-table-p', not `hash-table-p'.
9912 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
9914 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9916 * faces.el (face-read-integer, read-face-attribute)
9917 (color-defined-p, color-values): unspecified-{f,b}g are now
9920 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
9922 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
9923 at comment end, and re-insert them after filling.
9925 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9927 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
9928 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
9929 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
9931 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9933 * term/x-win.el (xw-defined-colors): Call color-supported-p,
9934 the new name of face-color-supported-p.
9936 * term/w32-win.el (xw-defined-colors): Likewise.
9938 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
9940 * simple.el (completion-setup-function): Count completion-size
9941 from minibuffer-prompt-end, not from point-min.
9943 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
9945 * faces.el (read-face-attribute, defined-colors, color-defined-p):
9946 Pass the frame to tty-color-* functions.
9947 (display-color-p, frame-set-background-mode): Pass the frame to
9948 tty-display-color-p.
9950 * term/tty-colors.el (tty-defined-color-alist): Renamed from
9952 (tty-color-alist, tty-modify-color-alist): New functions.
9953 (tty-color-define, tty-color-clear, tty-color-approximate)
9954 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
9955 an optional parameter FRAME.
9957 2000-01-01 Gerd Moellmann <gerd@gnu.org>
9959 * image.el (create-image, defimage): Don't assume image data is a
9962 * image.el (defimage): Handle specifications containing :data
9964 (image-type-from-data): New function.
9965 (image-type-from-file-header): Use it.
9966 (create-image): Add parameter DATA-P.
9968 See ChangeLog.8 for earlier changes.
9971 ;; coding: iso-2022-7bit-unix