1 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
3 * files.el (find-backup-file-name) [ms-dos]: If support for long
4 file names is not available, behave as if version-control were set
7 2000-10-07 Dave Love <fx@gnu.org>
9 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
10 (browse-url-gnome-moz): New function.
11 (browse-url-browser-function): Use it.
12 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
14 2000-10-07 Peter Breton <pbreton@ne.mediaone.net>
16 * net/net-utils.el (nslookup-font-lock-keywords)
17 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Do not
18 require font-lock. Doc cleanups throughout (incorporate changes
20 (network-connection-mode-setup): Comment out network-abbrev-table
21 variable. Incorporate doc cleanups throughout.
23 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
25 * indent.el (tab-always-indent): New var.
26 (indent-for-tab-command): Use it.
28 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
29 raise an error. This way it can still default to a sane value.
31 * startup.el (fancy-splash-screens): Use local rather than global map.
32 Don't use `update-menu-bindings' any more.
33 Get rid of assumptions about keymap representation.
35 2000-10-06 Dave Love <fx@gnu.org>
37 * textmodes/fill.el (sentence-end-double-space)
38 (sentence-end-without-period): Doc fix.
39 (adaptive-fill-regexp): Purecopy.
40 (unjustify-current-line): Use line-end-position.
41 (fill-individual-paragraphs-prefix): Use line-beginning-position.
43 * net/eudc-vars.el (eudc): Add :version, :link.
45 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
47 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
48 Fix for define-minor-mode.
49 (function-at-point): Alias to function-called-at-point.
51 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
53 * simple.el (backward-word): Doc fix.
55 * image-file.el (image-file-name-regexp): image-file-regexps ->
56 image-file-name-regexps.
57 (image-file-name-extensions): Add pbm.
59 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
61 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
62 and add filename to the names so that diff-mode can jump to source.
64 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
65 (tex-font-lock-keywords, tex-font-lock-keywords-2)
66 (tex-font-lock-keywords-1): Remove.
67 (font-lock-turn-on-thing-lock): Use jit-lock-register.
68 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
69 (font-lock-default-fontify-region):
70 Expand beg..end correctly when just following a multiline region.
71 (font-lock-fontify-anchored-keywords):
72 Include the anchor text as part of the multiline.
74 2000-10-06 Gerd Moellmann <gerd@gnu.org>
76 * loadup.el (toplevel): Load `loaddefs' before `help' because the
77 latter needs the autoloaded define-minor-mode macro during the
80 * startup.el (command-line): For now, activate tool-bar-mode only
81 if XPM images are supported.
83 * mouse.el (mouse-drag-header-line): Don't allow resizing a
84 window by dragging a header-line at the top of the frame; that's
85 confusing because the header-line doesn't move.
86 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
87 of treating the event as a list. Some cleanup.
89 2000-10-06 Miles Bader <miles@gnu.org>
91 * simple.el (display-message-or-buffer): New function.
92 (shell-command-on-region): Use `display-message-or-buffer'.
94 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
97 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
98 (smbclient-prompt-regexp): Add usage note to doc string.
99 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
100 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
101 Use add-hook for adding the comint filter function, and only do so
102 if it's not already in the global hook list.
103 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
104 to `make-local-variable'.
105 (nslookup-font-lock-keywords): Remove prompt entry.
106 (nslookup): Don't set the process-filter.
107 (finger): Exit the loop correctly when the regexps list runs out.
108 (ftp, smbclient, smbclient-list-shares):
109 Set the real major mode immediately, not after execing.
110 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
112 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
114 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
116 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
118 * which-func.el (which-func-format): Remove spurious space.
119 (which-func-mode): Don't make it permanent-local.
120 (which-func-ff-hook): Allow which-func-maxout to be nil.
121 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
122 (which-func-mode): Simplify.
123 Use post-command-idle-hook rather than post-command-hook.
124 Go through all buffers and update their state.
125 (which-function): Also try add-log-current-defun-function.
127 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
128 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
129 Update call to with-vc-properties accordingly.
130 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
131 (vc-revert-buffer): More careful about window selection and deletion.
132 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
134 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
135 (cvs-retrieve-revision): Reuse a pre-existing buffer.
136 (cvs-dired-action): Change the default to quickdir.
138 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
139 if comment-indent-function returns nil.
140 (comment-indent-default): New function.
141 (comment-indent-function): Use it and document the new semantics.
143 * image-file.el: Docstring fixes.
145 * help.el (help-xref-on-pp): Use match-string.
146 (describe-variable): New arg BUFFER.
147 Store the current buffer in the help-xref-stack.
148 (temp-buffer-resize-mode): Use define-minor-mode.
150 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
151 consistently with its docstring.
152 Set jit-lock-first-unfontify-pos in an idempotent way.
153 (jit-lock-register): Autoload and add arg CONTEXTUAL.
155 2000-10-05 Alex Schroeder <alex@gnu.org>
157 * sql.el (sql-mysql-options): New variable.
160 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
162 * image.el (image): New group.
164 * smerge-mode.el (smerge-mine-face, smerge-other-face)
165 (smerge-base-face, smerge-markers-face): Add dark-background variants.
167 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
169 * net/net-utils.el (nslookup-font-lock-keywords)
170 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
171 Ignore the value of wqindow-system; always define keywords
173 2000-10-05 Kenichi Handa <handa@etl.go.jp>
175 * startup.el (fancy-splash-screens): Remove the code for
176 debugging; `(trace-to-stderr "EXITTT\n")'.
178 2000-10-05 Miles Bader <miles@gnu.org>
180 * diff-mode.el (diff-goto-source): Update call to
181 `diff-hunk-status-msg' to reflect new REV variable.
183 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
185 * progmodes/icon.el (icon-mode):
186 Don't gratuitously override the default for comment-column.
188 * vc-hooks.el (vc-mode-line): Fix interactive spec.
190 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
191 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
192 (jit-lock-functions): New var.
193 (jit-lock-function-1): Use it if non-nil.
194 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
195 Set the `fontified' property before doing the fontification to avoid
196 repeatedly going through the same error.
197 Don't turn errors into messages.
198 (jit-lock-register, jit-lock-unregister): New functions.
200 * dired.el (dired-mark-pop-up): Turn comment into docstring.
201 Use with-current-buffer.
203 * dired-aux.el (dired-do-create-files, dired-kill-tree):
204 Turn comment into docstring.
206 * apropos.el (apropos-mode): Use define-derived-mode.
208 2000-10-04 Gerd Moellmann <gerd@gnu.org>
210 * startup.el (fancy-splash-pending-command): New variable.
211 (fancy-splash-pre-command): New function.
212 (fancy-splash-screens): Rewritten.
213 (command-line-1): If fancy-splash-pending-command is set, call it
216 2000-10-04 Dave Love <fx@gnu.org>
218 * toolbar/tool-bar.el (tool-bar-setup): New function.
219 (tool-bar-mode): Use it.
221 * subr.el (substitute-key-definition): Doc fix.
222 (play-sound-file): New command.
224 2000-10-04 Andre Spiegel <spiegel@gnu.org>
226 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
227 vc-version-backup-file-name): New functions.
229 * files.el (basic-save-buffer): Call vc-before-save before saving.
231 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
234 * vc.el (vc-revert-buffer): Handle empty diff properly.
235 (vc-version-backup-file): New function.
236 (vc-checkout): Create a version backup if necessary.
237 (vc-checkin): If a version backup file exists, delete it.
238 (vc-version-diff): Diff locally using version backups, if available.
239 (vc-revert-file): If there's a version backup, revert locally.
240 (vc-transfer-file): Use version backup for base version, if
241 available. If not, ask for confirmation whether to get it from the
242 server. Update mode line before check-in.
244 2000-10-04 Dave Love <fx@gnu.org>
246 * toolbar/tool-bar.el (tool-bar-setup): New function.
247 (tool-bar-mode): Use it.
249 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
251 * net/net-utils.el (nslookup-font-lock-keywords)
252 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
253 Only set if window-system is non-nil
254 (net-utils-run-program): Returns buffer.
255 (network-connection-reconnect): Added this function.
258 Incorporates extensive cleanup and docfixes by
259 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
260 Uses cl compile-time macros.
261 (generic-mode-name, generic-comment-list)
262 (generic-keywords-list, generic-font-lock-expressions)
263 (generic-mode-function-list, generic-mode-syntax-table):
265 (generic-mode-alist): Renamed to generic-mode-list.
266 (generic-find-file-regexp): Default changed to "^#".
267 (generic-read-type): Uses completing read on generic-mode-list.
268 (generic-mode-sanity-check): removed this function.
269 (generic-add-to-auto-mode): Removed this function
270 (generic-mode-internal): Bind mode-specific definitions
271 into function instead of putting them in alist.
272 (generic-mode-set-comments): Reworked extensively.
273 (generic-mode-find-file-hook): Simplified regexp searching
274 (generic-make-keywords-list): Omit extra pair of parens
276 * find-lisp.el (find-lisp-find-files-internal):
277 Make sure directory name ends with "/".
279 * generic-x.el (apache-conf-generic-mode):
280 Regexp now allows leading whitespace.
281 (rc-generic-mode): Added eval-when-compile
282 around generic-make-keywords-list.
283 Deleted duplicate regexp
284 (rul-generic-mode): Added eval-when-compile
285 around generic-make-keywords-list.
286 (etc-fstab-generic-mode): New generic mode.
287 (rul-generic-mode): Removed one eval-when-compile
288 which caused a max-specpdl-size exceeded error.
290 2000-10-04 Miles Bader <miles@gnu.org>
292 * simple.el (minibuffer-temporary-goal-position): New variable.
293 (next-history-element): Try to keep the position of point in the
294 input string constant.
296 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
297 (dired-do-create-files): If there's only one file, pass it in as
298 the DEFAULT arg to dired-mark-read-file-name.
300 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
302 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
303 (diff-goto-source): Be smarter when choosing REVERSE or not.
305 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
306 (texinfo-mode-menu): Add an explicit shortcut for update all.
308 2000-10-03 Andre Spiegel <spiegel@gnu.org>
310 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
311 factorize backend-specific code cleanly (this was essentially
312 conceived by Stefan Monnier).
313 (vc-unregister): Function removed.
314 (vc-revert-file): New function.
315 (vc-revert-buffer): Delegate some of the work to it.
317 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
318 default branch unconditionally.
319 (vc-rcs-set-default-branch): New function.
320 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
321 (vc-rcs-checkin): If an appropriate default branch has been set,
322 force creation of that branch.
323 (vc-rcs-receive-file): Rewritten to contain only backend-specific
324 code (as suggested by Stefan Monnier).
326 2000-10-02 Gerd Moellmann <gerd@gnu.org>
328 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
329 highlighting overlay with a different face over the overlay
330 isearch uses to highlight the current match because that can lead
331 to bad face combinations.
333 * loadup.el (toplevel): Load faces before isearch.
335 * isearch.el (isearch-faces): New custom group.
336 (isearch): New defface; was already tested for in the code.
337 (isearch-lazy-highlight-face): Changed to defface from defcustom.
338 (isearch-highlight): Always use face `isearch'.
340 2000-10-02 Dave Love <fx@gnu.org>
342 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
343 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
344 comparison of opcode with operand.
346 2000-10-03 Miles Bader <miles@gnu.org>
348 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
349 buffer, since the echo area will now grow to accommodate them.
351 2000-10-02 Andre Spiegel <spiegel@gnu.org>
353 * vc-hooks.el (vc-registered): If FILE used to be registered under
354 a certain backend, try that one first.
356 * vc.el (vc-responsible-backend): Undo the previous change in the
357 argument list. Handle multiple backends correctly.
358 (vc-find-new-backend): Function removed.
359 (vc-register): Use vc-responsible-backend, as before.
360 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
362 2000-10-02 Gerd Moellmann <gerd@gnu.org>
364 * startup.el (fancy-splash-head): Change message below the
367 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
369 * diff-mode.el (diff-goto-source): Emit a status message.
370 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
371 (diff-test-hunk): Fix doc string.
372 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
373 (diff-advance-after-apply-hunk): New variable.
374 (diff-apply-hunk): Don't return a value.
376 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
378 * vc.el (vc-editable-p): Minor optimization.
379 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
380 (vc-find-new-backend): New function split from vc-responsible-backend.
381 (vc-register): Use it.
382 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
383 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
384 (vc-default-unregister, vc-revert-buffer): Docstring fix.
385 (vc-clear-headers): Don't use find-file.
386 (vc-revert-buffer): Use `and' again (must have been a braino).
387 (vc-switch-backend): Only prompt if requested.
388 Short circuit if nothing is to be done.
389 Don't use vc-resynch-buffer which could lose unsaved editing.
390 (vc-default-receive-file): Update call to vc-unregister.
391 (with-vc-file, vc-next-action-on-file):
392 Use vc-backend rather than vc-registered.
393 (vc-next-action-on-file): Use intern-soft.
394 Deal with read-only *vc-diff* buffer.
395 (vc-transfer-file): Docstring fix.
397 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
398 (vc-rcs-receive-file): Avoid with-vc-properties.
399 Update call to vc-unregister.
400 Use constant `RCS' rather than (dynamically bound) var `backend'.
402 2000-10-01 Andre Spiegel <spiegel@gnu.org>
404 * vc.el (vc-next-action-on-file): Update mode line only if file
406 (vc-start-entry): New argument initial-contents. Don't visit the file
407 if it isn't already visited. Brought documentation up-to-date.
408 (vc-next-action, vc-register): Updated calls to vc-start-entry.
409 (vc-checkin): New optional arg initial-contents, which is passed to
411 (vc-finish-logentry): Make sure to bury log buffer only if there
412 really is one. Call `vc-resynch-buffer' on log-file, not
414 (vc-default-comment-history, vc-default-wash-log): New functions.
415 (vc-index-of): Removed.
416 (vc-transfer-file): Make do without the above.
417 (vc-default-receive-file): Call comment-history unconditionally. Pass
418 the resulting string to vc-checkin, instead of inserting it into the
421 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
422 unconditionally. Use the comments as initial contents of the log
423 entry buffer. Document the trick to force branch creation with no
426 2000-10-01 Miles Bader <miles@gnu.org>
428 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
429 `recenter' with an arg to prevent redrawing the display.
431 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
433 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
435 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
437 * progmodes/c-mode.el (c-mode):
438 Don't gratuitously override the default for comment-column.
440 * textmodes/tex-mode.el (latex-metasection-list): New var.
441 (latex-imenu-create-index): Use it.
442 Move the regexp construction outside loops (and use push).
443 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
444 (tex-font-lock-keywords): Moved from font-lock.el.
445 (tex-comment-indent): Remove.
446 (tex-common-initialization): Don't set comment-indent-function.
447 (latex-block-default): New var.
448 (tex-latex-block): Use it to provide a default choice.
449 Add any unknown choice to latex-block-names.
450 Insert [...] after {...}.
451 (tex-last-unended-begin): Simplify regexp.
452 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
453 (latex-forward-sexp-1, latex-forward-sexp): New functions.
454 (latex-mode): Set forward-sexp-function.
456 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
457 Add regexp for @ignore ... @end ignore.
458 (texinfo-heading-face): New face.
459 (texinfo-font-lock-keywords): Use it.
460 (texinfo-mode-menu): New menu.
461 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
463 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
464 (texinfo-section-types-regexp, texinfo-section-level-regexp)
465 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
467 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
469 * delsel.el (delete-selection-mode): Use define-minor-mode.
471 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
473 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
475 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
477 2000-09-30 Gerd Moellmann <gerd@gnu.org>
479 * replace.el (keep-lines-read-args): New function.
480 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
481 read arguments interactively. Add parameters RSTART and REND.
482 Operate on the active region in Transient Mark mode.
484 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
486 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
487 (authors-obsolete-files-regexps): New variable.
488 (authors-add): Don't record changes in obsolete files.
490 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
492 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
494 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
495 (comment-indent): Make sure there's a space between code and comment.
496 Shift comments left to avoid going past fill-column.
498 2000-09-29 Gerd Moellmann <gerd@gnu.org>
500 * startup.el (startup-echo-area-message): New function.
501 (display-startup-echo-area-message): Use it.
502 (fancy-splash-screens): Rewritten to use keymaps and a timer.
503 (fancy-splash-default-action): New function.
504 (fancy-splash-screens-1): New function.
505 (fancy-splash-head): Put a help-echo and a keymap under the image.
507 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
509 * diff-mode.el (diff-add-log-file-name): Remove.
510 (diff-mode): Use add-log-buffer-file-name-function.
512 * add-log.el (find-change-log): New arg BUFFER-FILE.
513 (add-log-file-name): Obey add-log-file-name-function.
514 (add-log-buffer-file-name-function): New var.
515 (add-change-log-entry): Use it.
517 2000-09-29 Miles Bader <miles@gnu.org>
519 * image-file.el (image-file-name-extensions): New variable.
520 (image-file-name-regexps): Renamed from `image-file-regexps'.
521 New default value is nil. Call `auto-image-file-mode'.
522 (image-file-name-regexp): New function.
523 (auto-image-file-mode): New minor mode.
524 (insert-image-file): Don't make conditional on the image-file
525 handler being enabled.
526 (image-file-handler): Make the call here conditional instead.
527 (set-image-file-handler-enabled, enable-image-file-handler)
528 (disable-image-file-handler): Functions removed.
530 * emacs-lisp/authors.el (authors-print): Rephrase many-files
533 2000-09-29 Gerd Moellmann <gerd@gnu.org>
535 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
536 it's a function from CL.
537 (latex-imenu-create-index): Replace eval-when-compile with progn
538 because latex-section-alist is not bound while compiling.
540 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
542 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
543 (outline-mode): Use define-derived-mode.
545 * progmodes/perl-mode.el (perl-mode):
546 * progmodes/awk-mode.el (awk-mode):
547 * progmodes/asm-mode.el (asm-mode):
548 Don't gratuitously override the default for comment-column.
550 * emacs-lisp/lisp.el (lisp-complete-symbol):
551 Distinguish the let-binding case from the funcall case.
552 (forward-sexp-function): New variable.
553 (forward-sexp): Use it.
555 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
556 (easy-mmode-defmap): Remove the now useless autoload.
558 * time.el (display-time-mode): Use define-minor-mode.
560 * subr.el (add-minor-mode): Don't eval NAME.
561 Don't depend on the presence of TOGGLE-FUN for any special behavior.
562 Use if rather than cond.
564 * simple.el (read-expression-map): Define more properly.
565 (comment-indent-hook): Remove.
566 (string-to-syntax): Bug fix.
568 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
569 (cvs-ediff-diff): Fix typo.
570 (cvs-revert-if-needed): Don't bother preserving read-only.
572 * paren.el (show-paren-mode): Use define-minor-mode.
574 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
575 (toggle-auto-compression): Remove.
576 (jka-compr-build-file-regexp): Remove useless grouping.
578 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
579 Avoid user-reserved bindings.
580 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
581 (diff-header-face): Revert to grey85.
583 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
585 * complete.el (partial-completion-mode) <defcustom>: Remove.
586 (partial-completion-mode): Use define-minor-mode.
587 (PC-do-completion): Understand `completion-auto-help = delay'
588 to mean to popup the completion buffer only the second time.
589 (PC-include-file-all-completions, PC-include-file-all-completions)
590 (PC-include-file-all-completions): Don't quote lambda.
592 * comint.el (comint-mode-hook): Docstring fix.
593 (comint-mode): Use define-derived-mode.
594 (comint-mode-map): Remove obsolete comment.
595 (make-comint): Minor stylistic change.
596 (comint-insert-clicked-input): Be more careful to find the overlay.
597 Use this-command-keys rather than hardcoding mouse-2.
599 * font-lock.el: Replace confusing (,@ with ,
600 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
601 Don't use regexp-opt-depth. Spice up the regexp for args.
602 Don't distinguish between cmds that can take an opt arg or not.
603 Use `append' and `prepend' rather than `keep'.
605 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
606 (latex-outline-regexp): New var.
607 (latex-outline-level): New fun.
608 (latex-section-alist): New var.
609 (latex-imenu-create-index): Use it. Use `push' as well.
610 (tex-shell-map): Initialize it properly.
611 (tex-mode): Minor stylistic change.
612 (plain-tex-mode): Use define-derived-mode.
613 (latex-mode): Use define-derived-mode.
614 Construct the paragraph regexps in a more readable way.
615 Set the buffer-local outline-{level,regexp} vars.
616 (slitex-mode): Derive from latex-mode.
617 (tex-common-initialization): Don't kill-all-vars anymore.
618 Add setting for comment-add and font-lock-defaults.
619 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
620 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
621 (tex-start-tex): New arg DIR (and send a chdir command for it).
622 Also display the shell buffer and save it in tex-last-buffer-texed.
623 (tex-region): Use expand-file-name rather than concat.
624 Remove code made useless by changes in tex-start-tex.
625 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
627 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
629 2000-09-28 Dave Love <fx@gnu.org>
631 * eshell/eshell.el (eshell) <defgroup>: Add :version.
633 2000-09-28 Gerd Moellmann <gerd@gnu.org>
635 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
638 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
640 * info.el (Info-extract-pointer): Undo last change.
641 Instead, fix the position of the `bound' arg to re-search-backward.
643 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
645 * info.el (Info-extract-pointer):
646 Widen more carefully, to avoid finding pointers in other nodes.
647 (Info-index): Use push.
649 2000-09-27 Gerd Moellmann <gerd@gnu.org>
651 * frame.el (set-frame-font): Remove call to obsolete function
653 (set-foreground-color, set-background-color): Likewise for
654 frame-update-face-colors.
656 2000-09-27 Miles Bader <miles@gnu.org>
658 * image-file.el: New file.
660 2000-09-27 Gerd Moellmann <gerd@gnu.org>
662 * frame.el (frame-notice-user-settings): Don't call
663 frame-update-faces, which is a no-op now.
665 * ediff-wind.el (ediff-control-frame-parameters): Add zero
668 2000-09-27 Dave Love <fx@gnu.org>
670 * mouse.el: Fix last change.
672 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
674 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
676 2000-09-22 Kenichi Handa <handa@etl.go.jp>
678 * international/quail.el (quail-help): The output message is
681 2000-09-26 Dave Love <fx@gnu.org>
683 * mouse.el (popup-menu): If POSITION is nil, set it using
686 2000-09-25 Sam Steingold <sds@gnu.org>
688 * net/browse-url.el (browse-url-file-url): Check for null maps.
690 2000-09-26 Gerd Moellmann <gerd@gnu.org>
692 * frame.el (frame-notice-user-settings): Don't add a
693 tool-bar-lines frame parameter to default-frame-alist in batch mode.
695 * frame.el (frame-notice-user-settings):
696 Make tool-bar-mode and default-frame-alist consistent.
698 * toolbar/tool-bar.el (tool-bar-help): New function.
700 2000-09-25 Gerd Moellmann <gerd@gnu.org>
702 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
703 current-load-list in top-level forms. Else this leaks a cons cell
704 every time a defun is called.
706 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
708 2000-09-25 Dave Love <fx@gnu.org>
710 * startup.el (fancy-splash-head): Check XPM is available.
712 * autoinsert.el (auto-insert): Doc fix.
713 (auto-insert-alist): Following GNU notices, don't say `copyright
714 _by_'. Use line-beginning-position.
715 (auto-insert): Check buffer-file-name is non-nil before use.
717 2000-09-25 Gerd Moellmann <gerd@gnu.org>
719 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
720 starting with `@def' or `@multitable', in addition to ones
721 specified by the user in auto-fill-inhibit-regexp.
723 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
725 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
726 rmail-dont-reply-to-names matches the empty string.
728 2000-09-25 Gerd Moellmann <gerd@gnu.org>
730 * startup.el (command-line-1, fancy-splash-text): Change the
731 text to sound more friendly.
733 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
735 * progmodes/hideshow.el: Update author email address.
736 Generally, sync w/ maintainer version 5.22.
737 (hs-hide-all-non-comment-function): New var.
738 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
739 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
740 (hs-show-region): Delete this command.
741 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
743 2000-09-22 Dave Love <fx@gnu.org>
745 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
746 (hl-line-highlight): Specify buffer when moving overlay.
748 * progmodes/fortran.el (fortran-mode): Locally set
749 normal-auto-fill-function.
750 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
751 (fortran-mode-map): Adjust auto-fill menu entry.
753 2000-09-22 Gerd Moellmann <gerd@gnu.org>
755 * vc-rcs.el (toplevel): Require `vc' when compiling.
757 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
759 2000-09-22 Andre Spiegel <spiegel@gnu.org>
761 * vc.el (vc-switch-backend): Signal an error if the file is not
762 registered under the new backend.
764 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
765 without explicit revision number.
767 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
769 * diff-mode.el (diff-file-header-face): Reset to its previous value.
770 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
771 (diff-xor): New function.
772 (diff-find-source-location): Use it. Fix a stupid name clash.
773 (diff-hunk-status-msg): New function.
774 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
775 (diff-test-hunk): Use diff-find-source-location.
776 (diff-goto-source): Favor the `reverse'.
777 (diff-hunk-text): Properly handle one-sided context diffs.
778 (diff-apply-hunk): When done, advance to the next hunk.
780 2000-09-21 Gerd Moellmann <gerd@gnu.org>
782 * startup.el (command-line): If frame was created with a non-zero
783 tool-bar-lines parameter, switch tool-bar-mode on.
785 * add-log.el (change-log-date-face, change-log-name-face)
786 (change-log-email-face, change-log-file-face)
787 (change-log-list-face, change-log-conditionals-face)
788 (change-log-function-face, change-log-acknowledgement-face):
789 New faces, inheriting from font-lock faces.
790 (change-log-font-lock-keywords): Use them.
792 2000-09-21 Dave Love <fx@gnu.org>
794 * progmodes/cperl-mode.el (top-level): Clean up
795 `eval-when-compile's and assorted defvars.
796 (cperl-invalid-face): Don't double-quote value. Change custom
798 (cperl-mode): Set normal-auto-fill-function and don't zap
800 (cperl-imenu--function-name-regexp-perl): Renamed from
801 imenu-example--function-name-regexp-perl.
802 (cperl-imenu--create-perl-index): Renamed from
803 imenu-example--create-perl-index.
804 (cperl-xsub-scan): Don't require cl.
806 * msb.el (msb-mode-map): Use substitute-key-definition.
807 (msb-mode): Use msb-mode-map.
809 2000-09-21 Andre Spiegel <spiegel@gnu.org>
811 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
813 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
814 (vc-switch-backend): New function.
815 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
816 (vc-register): Fix prompt.
817 (vc-unregister, vc-default-unregister): New functions.
818 (vc-version-diff): Handle empty buffer in sentinel.
820 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
821 (vc-rcs-state-heuristic): Use it to guess the state of files with
823 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
824 been set with -b, but not created yet.
825 (vc-rcs-fetch-master-state): With non-strict locking, compare file
826 contents in order to find the state.
827 (vc-rcs-checkin): Allow creation of branches with no changes.
828 (vc-rcs-unregister, vc-rcs-receive-file)
829 (vc-rcs-set-non-strict-locking): New functions.
831 * vc-hooks.el (vc-name): Force correct computation of the value
832 in case it is missing.
834 2000-09-21 Gerd Moellmann <gerd@gnu.org>
836 * startup.el (fancy-splash-tail): Use a different foreground
837 color on a dark frame background.
839 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
841 * info.el: Use the correct capitalization when making Info-mode
842 and Info-edit-mode `special' modes.
844 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
846 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
847 (diff-mode): Add support for add-log.el.
848 (diff-hunk-text): Use char offsets rather than line offsets.
849 (diff-find-source-location): Replace LINE with line-offset (nil
850 if not found) and always set POS to a meaningful position.
851 Adapt to the new char-offsets.
852 (diff-apply-hunk): Drop support for the unused `select' POPUP.
853 Adapt to the new diff-find-source-location.
854 (diff-goto-source): Adapt to the new diff-find-source-location.
856 * add-log.el (add-log-file-name): New function (split out of
857 add-change-log-entry).
858 (add-change-log-entry): Use it.
859 Call add-log-file-name-function with the changelog file name if
860 the current buffer is not associated with any file.
861 Avoid find-file if the selected window is dedicated.
863 * diff-mode.el (diff-find-source-location):
864 Move code from diff-apply-hunk. Return buffer rather than file.
865 (diff-apply-hunk): Use the new result from diff-find-source-location.
866 (diff-goto-source): Use the new diff-find-source-location.
868 2000-09-20 Dave Love <fx@gnu.org>
870 * iswitchb.el: Some doc fixes.
871 (iswitchb-mode-map): Define completely initially. Inherit
872 minibuffer-local-map.
873 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
875 (iswitchb-global-map): New variable.
876 (iswitchb-summaries-to-end): Amalgamate regexps.
877 (iswitchb-mode): New.
878 (iswitchb-mode-hook): New variable.
879 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
882 2000-09-20 Gerd Moellmann <gerd@gnu.org>
884 * ehelp.el (electric-help): New defgroup.
885 (electric-help-shrink-window): New user-option.
886 (with-electric-help): Use it.
888 * window.el (shrink-window-if-larger-than-buffer): If face
889 `mode-line' has a :box, and we're on a graphical frame, add 1
890 to the needed window height.
892 * frame.el (frame-notice-user-settings): Add a last parameter nil
893 to a call to `append', because the last list passed to `append' is
894 not copied, and so subsequent calls to assq-delete-all will modify
897 * startup.el (fancy-splash-image): Change :type.
898 (fancy-splash-head): Use an XBM image if appropriate.
899 (command-line-1): Show splash screens in more cases.
901 * startup.el (fancy-splash-text): Don't quote faces.
903 * dired.el (dired-font-lock-keywords): Undo last change.
904 (dired-readin): Bind indent-tabs-mode to nil.
906 * startup.el (fancy-splash-head): If frame's background mode
907 is `dark', change the black background of the image to gray.
908 (fancy-splash-screens): Display startup echo area message.
909 (display-startup-echo-area-message): New function.
911 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
913 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
915 * info.el (info-header-node): Tweak for color ttys.
917 * faces.el (face-valid-attribute-values): Make sure directories we
918 search for stipples both exist and are readable before trying to
921 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
924 * jka-compr.el (with-auto-compression-mode): New macro.
926 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
927 (custom-group-tag-face, custom-variable-tag-face): Use relative
928 :height and inherit from `variable-pitch' face instead of
930 * hi-lock.el (hi-black-hb): Likewise.
932 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
933 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
934 toolbar-add-item, if image doesn't have a mask add a `:mask
937 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
939 * diff-mode.el: Docstring fixes.
940 (diff-header-face, diff-comment-face): New faces.
941 (diff-font-lock-keywords): Highlight a bit differently.
942 (diff-find-source-location): Don't return SPAN any more.
943 (diff-hunk-text): Don't bother erasing the temp buffer.
944 (diff-find-text): Drop argument LINE.
945 (diff-apply-hunk): Update calls to diff-find-text.
946 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
948 * calendar/calendar.el: Docstring fixes.
949 (calendar-make-alist): Don't quote lambda.
950 (calendar-star-date): Use make-local-variable.
952 2000-09-19 Dave Love <fx@gnu.org>
954 * toolbar/tool-bar.el: Renamed from toolbar.el.
955 Change `toolbar' to `tool-bar' generally in symbols.
956 Make some items invisible in `special' major modes.
957 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
960 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
962 (fancy-splash-delay, fancy-splash-image): Remove :version here.
964 2000-09-19 Gerd Moellmann <gerd@gnu.org>
966 * progmodes/sh-script.el (sh-search-word): Remove call to
969 * files.el (find-file-suppress-same-file-warnings): New
971 (find-file-noselect): Use it.
973 * startup.el (fancy-splash-delay, fancy-splash-image): Add
975 (fancy-splash-screen): Defgroup.
977 * add-log.el (change-log-font-lock-keywords): Match names
978 more exactly for the case that font-lock-constant-face is
981 2000-09-19 Richard M. Stallman <rms@gnu.org>
983 * progmodes/sh-script.el (sh-search-word): Rewritten for
986 2000-09-19 Andre Spiegel <spiegel@gnu.org>
988 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
990 2000-09-19 Gerd Moellmann <gerd@gnu.org>
992 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
993 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
994 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
995 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
996 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
997 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
998 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
999 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
1000 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
1001 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
1002 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
1003 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
1005 * startup.el (fancy-splash-text): New variable.
1006 (fancy-splash-delay, fancy-splash-image): New user-options.
1007 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
1008 (fancy-splash-screens): New functions.
1009 (command-line-1): If display has a `display' frame parameter, has
1010 colors, and we have XPM support, show more fancy splash screens.
1012 2000-09-19 Dave Love <fx@gnu.org>
1014 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
1015 with null `help'. Use modern backquote syntax.
1017 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1019 * font-lock.el (font-lock-mode): Change message telling the user
1020 that ``the buffer is too big''.
1022 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
1023 for instance for the case that tab-width is 2.
1025 2000-09-18 Gerd Moellmann <gerd@gnu.org>
1027 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
1028 toolbar-add-item, if image doesn't have a mask add a `:mask
1031 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
1033 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
1034 and return a cons if it's non-nil.
1035 (diff-apply-hunk): Try to jump to the line in the source text
1036 corresponding to the position of point in the in the hunk.
1038 * info.el (Info-title-3-face, Info-title-2-face)
1039 (Info-title-1-face): Use face inheritance and relative sizes
1040 instead of hard-wiring things.
1042 * faces.el (secondary-selection): Make dark-background variant sane.
1044 2000-09-16 Andrew Innes <andrewi@gnu.org>
1046 * makefile.nt (compile-files): No need to make .elc files
1047 read-only, since they aren't under VC now.
1049 * makefile.w32-in (compile-files-CMD): No need to make .elc files
1050 read-only, since they aren't under VC now.
1052 2000-09-17 Dave Love <fx@gnu.org>
1054 * tmm.el: Replace mapcar with mapc in several places.
1056 * loadhist.el (unload-feature): Maybe call elp-restore-list and
1059 * international/latin1-disp.el: New file.
1061 * calendar/cal-move.el (scroll-calendar-left)
1062 (scroll-calendar-right): Make arg optional (for active mode line).
1064 * calendar/calendar.el (calendar-mode-line-format): Make fields
1066 (calendar-read-date, calendar-read-date, calendar-window-list):
1068 (calendar-month-name): Use aref, not sref.
1070 * view.el (minor-mode-alist): Propertize the string.
1072 * international/characters.el (standard-case-table): Add entries
1075 2000-09-18 Miles Bader <miles@gnu.org>
1077 * info.el (info-node, info-xref): Add dark-background variants.
1079 * faces.el (header-line): Change defaults to be less confusing
1080 when mixed with mode-lines.
1082 * info.el (Info-fontify-node): Make a few cleanups.
1083 Add extra `help-echo' and `local-map' props to node xrefs.
1084 Use header-specific faces for node-names & xrefs.
1085 (Info-use-header-line): New variable.
1086 (info-header-xref, info-header-node): New faces.
1087 (Info-setup-header-line): New function.
1088 (Info-select-node): Call Info-setup-header-line when enabled.
1089 (Info-extract-pointer): Work even if the header line is hidden.
1090 (Info-header-line): New variable.
1092 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
1094 * vms-patch.el (print-region-function): Don't quote lambda.
1096 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
1098 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
1099 (lm-get-header-re): Allow spaces between the header and the colon.
1100 (lm-header): Allow $ in non-RCS headers.
1101 (lm-header-multiline): Put the strings back into order.
1102 Stop at an empty line. Don't require two space chars if the
1103 line is clearly not another header line.
1105 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
1106 (popup-menu-popup): Remove.
1108 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1110 * toolbar/toolbar.el (toolbar-add-item): Use the same image
1111 specification if or if not tool-bar item contains an `:enabled'
1114 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
1115 current buffer has no file name.
1117 2000-09-15 Dave Love <fx@gnu.org>
1119 * strokes.el: Sync with maintainer's current version with changes
1120 for Emacs, but avoid runtime cl and levents.
1121 (toplevel): Change autoloads and compilation requires.
1122 (strokes-version, strokes-bug-address, strokes-lift): Values
1124 (strokes-xpm-header, strokes-insinuated): New variable.
1125 (strokes): Add :link.
1126 (strokes-mode): Customized.
1127 (strokes-while-inhibiting-garbage-collector): New macro.
1128 (strokes-remassoc): Avoid remove-if.
1129 (strokes-fix-button2-command): Don't use ad-do-it.
1130 (strokes-insinuate): New function.
1131 (strokes-button-press-event-p, strokes-button-release-event-p):
1132 New functions, used instead of non-`strokes-' versions..
1133 (strokes-mouse-event-p): Rewritten.
1134 (strokes-event-closest-point): Avoid event-point.
1135 (strokes-get-grid-position): Avoid cdadr, caadr
1136 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
1138 (strokes-help): Use with-output-to-temp-buffer.
1139 (strokes-window-configuration-changed-p): New function.
1140 (strokes-update-window-configuration): Use buffer-live-p,
1141 strokes-window-configuration-changed-p.
1142 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
1143 (strokes-char-face): New face.
1144 (strokes-char-table, strokes-base64-chars): New variable.
1145 (strokes-xpm-for-stroke, strokes-list-strokes)
1146 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
1147 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
1148 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1149 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
1150 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
1153 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1155 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
1157 * image.el (create-image): Doc fix.
1159 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
1160 instead of `:heuristic-mask t'.
1162 2000-09-14 Andrew Innes <andrewi@gnu.org>
1164 * makefile.w32-in: Revert to Unix line endings.
1166 2000-09-14 Andrew Innes <andrewi@gnu.org>
1168 * makefile.w32-in: Add bootstrap support. Also copy lisp source
1171 * makefile.nt (DONTCOMPILE): Fix typo.
1173 * shell.el (shell-write-history-on-exit): New function.
1174 (shell-dumb-shell-regexp): New custom variable.
1175 (shell-mode): Make shell-write-history-on-exit the process
1176 sentinel if shell name matches shell-dumb-shell-regexp.
1178 * w32-fns.el: Comment out before-init-hook function which resets
1179 source-directory based; this breaks bootstrap.
1181 2000-09-14 Dave Love <fx@gnu.org>
1183 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
1184 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
1185 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
1186 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
1187 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
1188 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
1189 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
1190 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
1191 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
1193 * toolbar/toolbar.el: New.
1195 * subdirs.el: Add toolbar.
1197 2000-09-14 Gerd Moellmann <gerd@gnu.org>
1199 * indent.el (indent-for-tab-command): Doc fix.
1201 2000-09-14 Alex Schroeder <alex@gnu.org>
1203 * ansi-color.el (ansi-colors): Doc change.
1204 (ansi-color-get-face): Simplified regexp.
1205 (ansi-color-faces-vector): Added more faces, doc change.
1206 (ansi-color-names-vector): Doc change.
1207 (ansi-color-regexp): Simplified regexp.
1208 (ansi-color-parameter-regexp): New regexp.
1209 (ansi-color-filter-apply): Doc change.
1210 (ansi-color-filter-region): Doc change.
1211 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
1212 deal with zero length parameters.
1213 (ansi-color-apply-on-region): Doc change.
1214 (ansi-color-map): Doc change.
1215 (ansi-color-map-update): Removed debugging message.
1216 (ansi-color-get-face-1): Added condition-case to trap
1217 args-out-of-range errors.
1218 (ansi-color-get-face): Doc change.
1219 (ansi-color-make-face): Removed.
1220 (ansi-color-for-shell-mode): New option.
1222 2000-09-13 Kenichi Handa <handa@etl.go.jp>
1224 * international/quail.el (quail-start-translation): Translate KEY
1225 if necessary even if it doesn't have any mapping in the current
1227 (quail-start-conversion): Likewise.
1228 (quail-help): The output message is improved.
1230 2000-09-13 Miles Bader <miles@gnu.org>
1232 * comint.el (comint-output-filter): Revert to using
1233 `insert-before-markers'. Add bletcherous hack to undo damage
1234 caused by `insert-before-markers'. Put `front-sticky' property on
1235 overlays created here so that the field code understands how the
1236 overlay works. Use a let when making comint-last-prompt-overlay,
1237 so that the code is easier to read.
1239 2000-09-13 Dave Love <fx@gnu.org>
1241 * wid-edit.el (widget-default-format-handler): DTRT when
1242 doc-property is a function.
1244 2000-09-12 Francesco Potorti` <pot@gnu.org>
1246 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
1247 filed name if it's not there.
1249 2000-09-12 Dave Love <fx@gnu.org>
1251 * simple.el (read-mail-command): Doc fix.
1252 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
1254 * vc.el (vc-dired-listing-switches): Fix :version.
1256 * vc-hooks.el: Doc fixes.
1258 * subr.el (add-minor-mode): Use toggle-fun arg.
1260 * speedbar.el: Add :version to several defcustoms.
1262 * imenu.el (imenu--truncate-items, imenu--cleanup)
1263 (imenu--generic-function): Avoid mapcar.
1264 (imenu--replace-spaces): Function removed.
1265 (imenu--completion-buffer): Use subst-char-in-string.
1266 (imenu-add-to-menubar): Use keymap inheritance.
1268 2000-09-12 Miles Bader <miles@gnu.org>
1270 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
1271 (diff-mode-map): Bind `diff-test-hunk'.
1272 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
1274 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1276 * bytecomp.el (byte-compile-defvar): Undo last change
1277 because it breaks '(make-variable-buffer-local (defvar ...)'
1278 which is used at least in dired.
1280 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1282 * international/quail.el (quail-define-package): Docstring
1285 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1287 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
1288 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
1289 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
1290 docstring of "chinese-py".
1292 * international/quail.el (quail-translation-docstring): New
1294 (quail-show-keyboard-layout): Docstring modified.
1295 (quail-select-current): Likewise.
1296 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
1297 infinite recursive call.
1298 (quail-help): Check quail-translation-docstring. Format of the
1300 (quail-help-insert-keymap-description): Adjusted for the above
1303 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1305 * bytecomp.el (byte-compile-defvar): Only cons onto
1306 current-load-list in top-level forms. Else this leaks a cons cell
1307 every time a defun is called.
1309 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
1311 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
1312 Now understands non-unified diffs. Some functionality moved into
1313 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
1314 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
1315 modify anything. Only reposition point in the patched file if the
1316 patch succeeds. Only pop up another window if POPUP is true.
1317 Emit a message describing what happened if successful, and at what
1318 line-offset. Automatically detect reversed hunks and do something
1320 (diff-hunk-text, diff-find-text): New functions.
1321 (diff-filter-lines): Function removed.
1322 (diff-test-hunk): New function.
1323 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
1325 2000-09-10 Dave Love <fx@gnu.org>
1327 * textmodes/tildify.el: Minor doc/commentary fixes.
1328 (tildify) <defgroup>: Add :version.
1330 * faces.el (face-x-resources): Make custom type more specific.
1331 (frame-background-mode): Use mapc.
1332 (region) <defcustom>: Add :version.
1334 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
1336 * vc-sccs.el (vc-sccs-register):
1337 * vc-rcs.el (vc-rcs-register):
1338 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
1339 * vc.el (vc-register): Clear file's properties.
1341 2000-09-08 Gerd Moellmann <gerd@gnu.org>
1343 * faces.el (face-spec-set): Only face-spec-reset-face when
1346 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
1348 * help.el (help-insert-xref-button): Fix a typo in doc string.
1350 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
1352 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1353 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
1356 * menu-bar.el (read-mail-item-name): New function.
1357 (menu-bar-tools-menu): Use it to compute and display the package
1359 (menu-bar-tools-menu): Fix typo in GUD's help string.
1361 2000-09-07 Dave Love <fx@gnu.org>
1363 * diff-mode.el (diff-mouse-goto-source): New function.
1365 * vc-sccs.el: Doc fixes.
1366 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
1368 * vc-rcs.el: Doc fixes.
1369 (vc-rcs-register-switches, vc-rcs-checkin-switches)
1370 (vc-rcs-checkout-switches, vc-rcs-header)
1371 (vc-rcs-master-templates): Add or change :version.
1373 * vc-cvs.el: Doc fixes.
1374 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
1375 (vc-cvs-stay-local): Add :version.
1377 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
1379 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1381 * international/quail.el (quail-help): Fix previous change.
1383 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1385 * faces.el (color-values): Doc fix.
1387 * faces.el (frame-set-background-mode): Use frame-parameter
1388 instead of frame-parameters.
1390 * frame.el (filtered-frame-list): Reduce consing.
1391 (frames-on-display-list): Call frame-parameter instead of
1394 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1396 * language/devan-util.el (devanagari-to-indian-region): In the
1397 loop, change the following char, not preceding char.
1399 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1401 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
1402 instead of frame-parameters.
1404 * faces.el (set-face-attribute): Simplify by calling
1405 internal-set-lisp-face-attribute with FRAME being 0.
1407 * vc.el: Remove `Id' version control keyword.
1409 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1411 * help.el (help-make-xrefs): Adjusted for the change of
1412 help-xref-mule-regexp.
1413 (help-insert-xref-button): New function.
1415 * international/mule-cmds.el (help-xref-mule-regexp-template):
1416 Include the pattern for character set.
1419 * international/quail.el: Don't require face.
1421 (quail-other-command): Dummy command to make quail-help work better.
1422 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
1423 (quail-keyboard-layout-substitution): New variable.
1424 (quail-update-keyboard-layout): New function.
1425 (quail-keyboard-layout-type): New customizable variable.
1426 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
1427 (quail-keyboard-translate): Pay attention to
1428 quail-keyboard-layout-substitution.
1429 (quail-insert-kbd-layout): New function.
1430 (quail-show-keyboard-layout): New function.
1431 (quail-get-translation): If the definition is a vector of length
1432 1, and the element is a string of length 1, return the character
1434 (quail-update-current-translations): Fix the case of
1435 relative-index out of range.
1436 (quail-build-decode-map, quail-insert-decode-map): New Functions.
1437 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
1438 Show key sequences for all available characters.
1439 (quail-help-insert-keymap-description): Don't show such verbose
1440 key bindings as quail-self-insert-command.
1442 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1443 Format changed, and each element now have extra documentations.
1444 (tit-process-header): Delete invalid characters from TIT-PROMPT.
1445 Adjusted for the change of quail-cxterm-package-ext-info.
1447 2000-09-06 Gerd Moellmann <gerd@gnu.org>
1449 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
1450 requiring it leads to a recursive loading of vc.el and vc-hooks.el
1453 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1455 * vc.el: (toplevel): Don't require `dired' at run-time.
1456 (vc-dired-resynch-file): Remove autoload cookie.
1458 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1460 * vc.el: Made several backend functions optional.
1461 (vc-default-responsible-p): New function.
1462 (vc-merge): Use RET for first version to trigger merge-news, not
1464 (vc-annotate): Handle backends that do not support annotation.
1465 (vc-default-merge-news): Removed. The existence of a merge-news
1466 implementation is now checked on caller sites.
1468 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
1471 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
1472 special case that has been removed from the default in vc-hooks.el.
1474 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1476 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
1478 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1480 * vc-hooks.el: Require vc during compilation.
1481 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
1482 macro `with-vc-properties' in vc.el.
1483 (vc-file-getprop): Doc fix.
1484 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
1486 * vc.el: Require dired-aux during compilation.
1487 (vc-name-assoc-file): Moved to vc-sccs.el.
1488 (with-vc-properties): New macro.
1489 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
1490 vc-finish-steal): Use it.
1491 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
1492 to the backend-specific function is now supposed to do the checkout,
1494 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
1496 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
1497 set file properties; that gets done in the generic code now.
1499 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
1500 Changed parameter list, added code from vc.el that does the
1501 checkout, possibly with a double-take.
1503 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
1504 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
1505 the above under the new name.
1506 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
1507 parameter list, added checkout command.
1508 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
1509 properties; that gets done in the generic code now.
1511 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1513 * vc.el: Docstring fixes (courtesy of checkdoc).
1515 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1517 * vc.el (vc-checkout-writable-buffer-hook)
1518 (vc-checkout-writable-buffer): Remove.
1519 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
1520 (vc-log-mode): Make it into a clean derived major mode.
1521 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
1522 vc-log-mode if log-edit is not available.
1523 (vc-dired-mode-map): Don't set-keymap-parent yet.
1524 (vc-dired-mode): Do set-keymap-parent here.
1525 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
1527 2000-09-05 Gerd Moellmann <gerd@gnu.org>
1529 * faces.el (set-face-attribute, face-spec-reset-face)
1530 (face-spec-set): Avoid consing by removing calls to `apply'.
1532 * frame.el (frame-parameter): Move to C code.
1534 2000-09-05 Dave Love <fx@gnu.org>
1536 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
1537 insert-before-markers-and-inherit. Now checked systematically!
1539 2000-09-05 Alex Schroeder <alex@gnu.org>
1541 * sql.el (sql-postgres): Use sql-postgres-options.
1542 (sql-postgres-options): New variable.
1544 2000-09-05 Alex Schroeder <alex@gnu.org>
1546 * sql.el (sql-mode-menu): Work around missing variable mark-active
1548 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
1549 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
1552 2000-09-04 Gerd Moellmann <gerd@gnu.org>
1554 * vc.el (vc-dired-resynch-file): Add autoload cookie.
1556 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
1558 * Makefile.in (DONTCOMPILE): Fix typo in file name.
1560 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1562 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
1563 don't support anything else under SCCS yet.
1565 * vc-hooks.el: Minor doc fixes.
1567 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1569 * vc.el (vc-next-action-on-file): Do not visit the file if it's
1570 not necessary. If verbose in state `needs-patch', do the same as
1571 under `up-to-date'. When NOT verbose and `needs-patch', check out
1572 latest version instead of `merge-news'.
1573 (vc-next-action-dired): Don't mess with default-directory here; it
1574 breaks other parts of dired. It is the job of the
1575 backend-specific functions to adjust it temporarily if they need it.
1576 (vc-next-action): Remove a special CVS case.
1577 (vc-clear-headers): New optional arg FILE.
1578 (vc-checkin, vc-checkout): Set properties vc-state and
1579 vc-checkout-time properly.
1580 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
1581 (vc-print-log): Use new backend function `show-log-entry'.
1582 (vc-cancel-version): Do the checks in a different order. Added a
1583 FIXME concerning RCS-only code.
1585 * vc-rcs.el (vc-rcs-show-log-entry): New function.
1586 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
1588 * vc-cvs.el (vc-cvs-show-log-entry): New function.
1590 * vc-hooks.el (vc-default-mode-line-string): Show state
1591 `needs-patch' as a `-' too.
1593 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1595 * vc.el (vc-responsible-backend): New optional arg REGISTER.
1596 (vc-default-could-register): New function.
1597 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
1598 (vc-resynch-buffer): Call vc-dired-resynch-file.
1599 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
1600 vc-resynch-buffer instead of vc-resynch-window.
1601 (vc-next-action-dired): Don't redisplay here, that gets done as a
1602 result of the individual file operations.
1603 (vc-retrieve-snapshot): Corrected prompt order.
1605 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
1607 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
1609 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
1610 hostname regexps. Updated all callers.
1611 (vc-cvs-responsible-p): Handle directories as well.
1612 (vc-cvs-could-register): New function.
1613 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
1614 properties up-to-date.
1616 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
1617 user whether to create one.
1619 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1621 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
1622 check out a non-existing file.
1624 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
1625 workfile does not exist.
1627 * vc.el (vc-version-diff): Use `require' to check for existence of
1630 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1632 * vc-cvs.el (vc-cvs-registered): Use new function
1633 vc-cvs-parse-entry to do the actual work.
1635 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1637 * vc-hooks.el (vc-find-backend-function): If function doesn't
1638 exist, return nil instead of error.
1639 (vc-call-backend): Doc fix.
1641 * vc.el (vc-do-command): Doc fix.
1642 (vc-finish-logentry): When checking in from vc-dired, choose the
1643 right backend for logentry check.
1644 (vc-dired-mode-map): Inherit from dired-mode-map.
1645 (vc-dired-mode): Local value of dired-move-to-filename-regexp
1647 (vc-dired-state-info): Removed, updated caller.
1648 (vc-default-dired-state-info): Use parentheses instead of hyphens.
1649 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
1650 (vc-dired-listing-switches): New variable.
1651 (vc-directory): Use it, instead of dired-listing-switches.
1653 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
1654 (vc-cvs-dir-state): New function.
1655 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
1656 (vc-cvs-parse-entry): New function, also to be used in
1659 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1661 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
1662 *or* single-window-frames.
1664 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1666 * vc.el (vc-update-changelog): Split into generic part and default
1667 implementation. Doc string adapted.
1668 (vc-default-update-changelog): New function. Call the `rcs2log'
1669 script in exec-directory, to fix a long-standing nuisance.
1671 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
1672 simply signals an error.
1674 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1676 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
1677 control-flow more clear and to avoid running `cvs' twice.
1679 * vc.el (vc-next-action-on-file): Doc fix.
1680 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
1681 (vc-print-log): Eval `file' before constructing the continuation.
1683 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1685 * vc.el (vc-next-action-on-file): Corrected several messages.
1686 (vc-merge): Add prefix arg `merge-news'; handle it.
1688 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
1689 is not reached. It is.
1690 (vc-cvs-merge): Set state to 'edited after merge.
1691 (vc-cvs-merge-news): Set workfile version to nil if not known.
1692 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
1694 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
1695 via stdout. (Merge from main line.)
1697 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1699 * vc.el (vc-finish-logentry): Thinko in the "same comment"
1702 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1704 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
1705 against kill-all-local-variables.
1706 (vc-log-edit): Don't save vc-parent-buffer any more.
1707 (vc-last-comment-match): Initialize to an empty string.
1708 (vc-post-command-functions): New hook.
1709 (vc-do-command): Run it.
1710 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
1711 (vc-finish-logentry): Only add the comment to the ring if it's
1712 different from the last comment entered.
1713 (vc-new-comment-index): New function.
1714 (vc-previous-comment): Use it. Make the minibuffer message
1715 slightly less terse.
1716 (vc-comment-search-reverse): Make it work forward as well. Don't
1717 set vc-comment-ring-index if no match is found. Use
1718 vc-new-comment-index.
1719 (vc-comment-search-forward): Use vc-comment-search-reverse.
1720 (vc-dired-mode-map): Don't inherit from dired-mode-map since
1721 define-derived-mode will do it for us. Bind `v' to a keymap that
1722 inherits from vc-prefix-map so that we can bind `vt' without
1724 (vc-retrieve-snapshot): Parenthesis typo.
1726 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
1727 to 1. Make sure to switch to *vc* before looking for an error
1728 message. Use vc-parse-buffer.
1730 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1732 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
1734 (vc-retrieve-snapshot): Split into two parts.
1735 (vc-default-retrieve-snapshot): New function.
1737 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
1738 (vc-cvs-retrieve-snapshot): New function (untested).
1739 (vc-cvs-stay-local): Default to t.
1740 (vc-cvs-remote-p): New function and property.
1741 (vc-cvs-state): Stay local only if the above is t.
1742 (vc-handle-cvs): Removed.
1743 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
1744 done via vc-handled-backends now.
1745 (vc-cvs-header): Escape Id.
1747 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1749 * vc.el (vc-do-command): Remove unused commands.
1750 (vc-version-diff): Make sure default-directory ends with a slash.
1751 Move the window commands into a vc-exec-after.
1752 (vc-print-log): Move more of the code into the `vc-exec-after'.
1754 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1756 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
1757 (vc-print-log): Search current revision from beginning of buffer.
1758 (vc-revert-buffer): Clear echo area after the diff is finished.
1759 (vc-prefix-map): Removed definition of "t" for terse display in vc
1761 (vc-dired-mode-map): Inherit from dired-mode-map. Added
1762 definition of "vt" for terse display.
1763 (vc-dired-mode): Fix dired-move-to-filename-regexp.
1765 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1767 * vc.el (vc-exec-after): Avoid caddr.
1769 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1771 * vc.el (vc-exec-after): New function.
1772 (vc-do-command): Use it to add a termination message for async
1774 (vc-checkout): Try to handle a missing-backend situation.
1775 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
1776 of a directory with a backend using async diffs.
1777 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
1780 * vc-sccs.el (vc-sccs-state-heuristic): Use
1781 file-ownership-preserved-p.
1783 * vc-rcs.el (vc-rcs-state-heuristic): Use
1784 file-ownership-preserved-p.
1785 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
1787 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1789 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
1792 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
1793 when there are no changes.
1795 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1797 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
1799 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
1801 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1803 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
1805 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
1806 the `fset' outside of the defvar so that it works even if
1807 vc-prefix-map was already defined.
1808 (vc-setup-buffer): New function, split out of vc-do-command.
1809 (vc-do-command): Allow BUFFER to be t to mean `just use the
1810 current buffer without any fuss'.
1811 (vc-version-diff): Change the `diff' backend operation to just put
1812 the diff in the current buffer without erasing it. Always use
1813 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
1814 shrink-window-if-larger-than-buffer.
1815 (vc-print-log): Change the `print-log' backend operation to just
1816 put the log in the current buffer without erasing it. Protect
1817 shrink-window-if-larger-than-buffer.
1818 (vc-update-change-log): Fix setd typo.
1820 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
1821 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
1823 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
1824 (vc-rcs-diff): Insert in the current buffer and remove unused arg
1827 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
1828 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
1829 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
1831 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1833 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
1834 not possible, use vc-BACKEND-workfile-unchanged-p.
1835 (vc-default-workfile-unchanged-p): New function. Delegates to a
1836 full vc-BACKEND-diff.
1838 * vc-hooks.el (vc-simple-command): Removed.
1840 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
1841 instead of vc-simple-command.
1842 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
1843 avoid doing a diff when opening a file.
1844 (vc-rcs-state): Added check for unlocked-changes.
1845 (vc-rcs-header): Escape Id.
1846 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
1847 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
1850 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
1851 (vc-sccs-diff): Remove optional arg CMP.
1852 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
1853 SCCS-specific function.
1855 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
1858 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1860 * vc.el (vc-editable-p): Renamed from vc-writable-p.
1861 (with-vc-file, vc-merge): Use vc-editable-p.
1862 (vc-do-command): Remove unused var vc-file and fix the
1863 doubly-defined `status' var. Add a user message when starting an
1865 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
1866 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
1867 Use with-current-buffer.
1868 (vc-buffer-sync): Use unless.
1869 (vc-next-action-on-file): If the file is 'edited by read-only,
1870 make it read-write instead of trying to commit.
1871 (vc-version-diff, vc-update-change-log): Use `setq
1872 default-directory' rather than `cd'.
1873 (vc-log-edit): Don't forget to set default-directory in the
1876 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
1877 (vc-sccs-state-heuristic): Use file-writable-p instead of
1879 (vc-sccs-checkout): Use `unless'.
1881 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
1882 of comparing userids.
1883 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
1884 Simplify the logic by eliminating unreachable code.
1885 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
1886 just do a recursive call if we need to retry.
1887 (vc-rcs-checkout): Handle the case where rcs is missing by making
1888 the buffer read-write if requested and re-signalling the error.
1890 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
1892 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1894 * vc-hooks.el (vc-handled-backends): Docstring change.
1895 (vc-ignore-vc-files): Mark obsolete.
1896 (vc-registered): Check vc-ignore-vc-files.
1897 (vc-find-file-hook, vc-file-not-found-hook): Don't check
1900 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
1902 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1904 * vc.el (vc-checkout): Don't do anything special for ange-ftp
1905 files since ange-ftp already has vc-registered return nil.
1907 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
1908 (vc-sccs-workfile-version): Use with-temp-buffer and new
1909 vc-parse-buffer and don't bother setting the property.
1910 (vc-sccs-add-triple): Use with-current-buffer and
1912 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
1914 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
1915 derives from the old vc-parse-buffer but uses the revision number
1916 rather than the date (much easier to compare robustly).
1917 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
1918 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
1919 locking-user more directly. Check strict locking and set
1920 checkout-model appropriately.
1921 (vc-rcs-parse-locks): Remove.
1922 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
1923 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
1924 (vc-rcs-system-release): Use with-current-buffer and
1926 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
1928 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
1929 (vc-simple-command): Docstring fix.
1930 (vc-registered): Align the way the file-handler is called with the
1931 way the function itself works.
1932 (vc-file-owner): Remove.
1934 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
1935 extraction of fields and call to file-attributes because of a
1936 temporary bug in rcp.el.
1937 (vc-cvs-fetch-status): Use with-current-buffer.
1939 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1941 * vc.el (vc-do-command): Use file-relative-name.
1942 (vc-responsible-backend): Use vc-backend if possible.
1943 (vc-create-snapshot): Improve the `interactive' spec. Add support
1944 for branches and dispatch to backend-specific `create-snapshot'.
1945 (vc-default-create-snapshot): New function, containing the bulk of
1946 the old vc-create-snapshot.
1947 (vc-retrieve-snapshot): Improve the interactive spec.
1949 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
1950 (vc-backend-hook-functions): Remove.
1951 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
1952 (vc-backend): Reintroduce the test for `file = nil' now that I
1953 know why it was there (and added a comment to better remember).
1955 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
1956 code from vc-sccs-hooks.el.
1957 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
1959 (vc-sccs-responsible-p): Use expand-file-name instead of concat
1960 and file-directory-p instead of file-exists-p.
1961 (vc-sccs-check-headers): Simplify the regexp.
1963 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
1964 from vc-rcs-hooks.el. Don't require 'vc anymore.
1965 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
1966 file-directory-p instead of file-exists-p.
1968 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
1969 from vc-cvs-hooks.el.
1970 (proto vc-cvs-registered): Require 'vc-cvs instead of
1971 'vc-cvs-hooks. Don't require 'vc anymore.
1972 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
1973 file-directory-p instead of file-exists-p.
1974 (vc-cvs-create-snapshot): New function, replacing
1976 (vc-cvs-assign-name): Remove.
1978 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
1980 * vc-cvs.el (vc-cvs-header): New var.
1982 * vc-rcs.el (vc-rcs-exists): Remove.
1983 (vc-rcs-header): New var.
1985 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
1986 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
1987 (vc-sccs-header): New var.
1989 * vc.el (vc-do-command): Get rid of the `last' argument.
1990 (vc-header-alist): Remove, replaced by vc-X-header.
1991 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
1992 (vc-dired-hook): Use expand-file-name instead of concat.
1993 (vc-directory): Use file-name-as-directory.
1994 (vc-snapshot-precondition, vc-create-snapshot)
1995 (vc-retrieve-snapshot): Allow the command to operate on any
1998 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
1999 just removing the 'WORKFILE argument or by removing the 'MASTER
2000 argument and replacing `file' with (vc-name file).
2002 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2004 * vc.el: Update Copyright and add a crude list of backend funs.
2005 (vc-writable-p): New function.
2006 (with-vc-file): Use vc-writable-p.
2007 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
2008 (vc-register): Avoid vc-name.
2009 (vc-locking-user): Remove.
2010 (vc-steal-lock): Make the `owner' arg non-optional.
2011 (vc-merge): Use vc-writable-p instead of vc-locking-user and
2013 (vc-default-dired-state-info): Use vc-state instead of
2014 vc-locking-user and return special strings for special states.
2015 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
2016 and get rid of one of the special CVS cases.
2017 (vc-cancel-version): prettify error message with \\[...].
2018 (vc-rename-master): New function.
2019 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
2020 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
2021 the CVS special case generic.
2022 (vc-default-record-rename): Remove.
2023 (vc-file-tree-walk-internal): Only call FUNC for files that are
2024 under control of some VC backend and replace `concat' with
2026 (vc-file-tree-walk): Update docstring.
2027 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
2028 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
2030 * vc-sccs.el (vc-sccs-rename-file): Renamed from
2031 vc-sccs-record-rename. Use `find-file-noselect' rather than
2032 `find-file' and call `vc-rename-master' to do the actual move.
2033 (vc-sccs-diff): Remove unused `backend' variable.
2035 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
2036 to delay loading of vc-sccs until it is really used.
2037 (vc-sccs-master-templates): Preload.
2038 (vc-sccs-state): Update call to vc-sccs-parse-locks.
2039 (vc-sccs-project-dir): Remove (merged into
2040 vc-sccs-search-project-dir).
2041 (vc-sccs-search-project-dir): Rewrite using file name handling ops
2042 rather than `concat', make sure it is preloaded and don't bother
2043 to check that the file actually exists.
2044 (vc-sccs-parse-locks): Remove unused `file' argument, remove
2045 `locks' argument (use buffer's content instead) and eliminate n^2
2048 * vc-rcs.el: Update Copyright.
2049 (vc-rcs-rename-file): New function.
2050 (vc-rcs-diff): Remove unused `backend' variable.
2052 * vc-hooks.el: Update Copyright.
2053 (vc-backend): Don't accept a nil argument any more.
2054 (vc-up-to-date-p): Turn into a defsubst.
2055 (vc-possible-master): New function.
2056 (vc-check-master-templates): Use `vc-possible-master' and allow
2057 funs in vc-X-master-templates to return a non-existent file.
2059 * vc-cvs.el: Update Copyright.
2060 (vc-cvs-diff): Remove unused `backend' variable.
2061 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
2063 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
2065 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2067 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
2068 since it can be called from vc-rcs.el.
2069 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
2071 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2073 * vc.el (vc-version-diff): Expand file name read from the
2074 minibuffer. Handle the case when a previous version number can't
2075 be guessed. Give suitable messages when there were no differences
2077 (vc-clear-headers): Call backend-specific implementation, if one
2079 (vc-cancel-version): Made error checks generic. When done, clear
2080 headers generically, too.
2082 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
2083 from vc-clear-headers in vc.el.
2085 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
2087 (vc-rcs-latest-on-branch-p): Made second argument VERSION
2088 optional. Handle the case when it's not there.
2090 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2092 * vc.el (vc-locking-user): Moved from vc-hooks.el.
2094 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2096 * vc-hooks.el (vc-loadup): Remove.
2097 (vc-find-backend-function): Use `require'. Also, handle the case
2098 where vc-BACKEND-hooks.el doesn't exist.
2099 (vc-call-backend): Cleanup.
2101 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2103 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
2104 vc-rcs-grab-templates)
2105 (vc-rcs-registered): Remove. The default function works as well.
2106 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
2107 vc-sccs-grab-templates)
2108 (vc-sccs-registered): Remove. The default function works as well.
2110 * vc.el (vc-version-diff): Left out a vc- in call to
2112 (vc-default-dired-state-info, vc-default-record-rename)
2113 (vc-default-merge-news): Update for the new backend argument.
2115 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
2116 using the default function.
2117 (vc-call-backend): If calling the default function, pass it the
2118 backend as first argument. Update the docstring accordingly.
2119 (vc-default-state-heuristic, vc-default-mode-line-string): Update
2120 for the new backend argument.
2121 (vc-make-backend-sym): Renamed from vc-make-backend-function.
2122 (vc-find-backend-function): Use the new name.
2123 (vc-default-registered): New function.
2125 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2127 * vc.el (vc-merge): Use vc-find-backend-function.
2129 * vc-hooks.el (vc-backend-functions): Remove.
2130 (vc-loadup): Don't setup 'vc-functions.
2131 (vc-find-backend-function): New function.
2132 (vc-call-backend): Use above fun and populate 'vc-functions
2134 (vc-backend-defines): Remove.
2136 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2138 * vc.el (vc-register): Put a FIXME note for a newly found bug.
2139 Call vc-call-backend without the leading vc-.
2140 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
2141 (vc-check-headers): Call vc-call-backend without the leading vc-.
2142 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
2143 (vc-annotate-display): Replace confusing use of `cond' with `or'.
2144 Call vc-call-backend without the leading vc-.
2146 * vc-cvs.el (tail): Provide vc-cvs.
2147 * vc-sccs.el (tail): Provide vc-sccs.
2148 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
2150 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
2151 (vc-make-backend-function, vc-call): Pass names without leading
2152 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
2153 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
2154 (vc-call-backend): Always try to load vc-X-hooks.
2155 (vc-registered): Remove vc- in call to vc-call-backend.
2157 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2159 * vc.el (vc-process-filter): New function.
2160 (vc-do-command): Setup `vc-process-filter' for the async process.
2161 (vc-maybe-resolve-conflicts): New function to reduce
2162 code-duplication. Additionally, it puts the buffer in
2163 `smerge-mode' if applicable.
2164 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
2165 calling `merge-news'.
2166 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
2167 (vc-log-edit): New function. Replacement for `vc-log-mode' by
2168 interfacing to log-edit.el.
2169 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
2170 log-edit is available.
2171 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
2173 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2175 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
2176 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
2177 defvar and the initialization.
2178 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
2180 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
2181 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
2183 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
2185 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2187 * vc.el (vc-file-clear-masterprops): Removed.
2188 (vc-checkin, vc-revert-buffer): Removed calls to the above.
2189 (vc-version-diff): Use buffer-size without argument.
2190 (vc-register): Heed vc-initial-comment.
2192 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
2195 * vc-rcs.el (vc-rcs-register): Parse command output to find master
2196 file name and workfile version.
2197 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
2199 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
2200 vc-file-clear-masterprops.
2202 * vc-sccs.el (vc-sccs-checkout): Removed call to
2203 vc-file-clear-masterprops. If writable, set vc-state to 'edited
2204 rather than user login name.
2207 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2209 * vc.el (vc-workfile-unchanged-p): Remove unused argument
2210 `want-differences-if-changed' and simplify.
2211 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
2212 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
2213 output (which is invalid for async vc-diff) to decide whether to
2214 do the revert silently or not.
2216 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2218 * vc-hooks.el (vc-loadup): Load files quietly.
2219 (vc-call-backend): Oops, brain fart.
2221 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2223 * vc-cvs.el (vc-cvs-state): Typo.
2224 (vc-cvs-merge-news): Return the status code rather than the error msg.
2226 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2228 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
2229 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
2230 vc-state or vc-up-to-date-p.
2231 (vc-merge): Use vc-backend-defines to check whether merging is
2232 possible. Set state to 'edited after successful merge.
2234 * vc-hooks.el (vc-locking-user): If locked by the calling user,
2235 return that name. Redocumented.
2237 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2239 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
2240 new `vc-state' semantics.
2241 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
2242 'vc-locking-user to the current user.
2243 (vc-merge): Inline vc-backend-merge. Comment out code that I
2244 don't understand and hence can't adapt to the new `vc-state' and
2245 `vc-locking-user' semantics.
2246 (vc-backend-merge): Remove.
2248 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
2249 rather than 'vc-locking-user.
2251 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
2253 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
2254 (vc-state): Don't use 'reserved any more. Just use the same
2255 convention as the one used for vc-<backend>-state where the
2256 locking user (as a string) is returned.
2257 (vc-locking-user): Update, based on the above convention. The
2258 'vc-locking-user property has disappeared.
2259 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
2261 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
2262 with a heuristic one.
2263 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
2264 (vc-cvs-checkin): Do a trivial parse to set the state in case of
2265 error. That allows us to get to 'needs-merge even in the
2266 stay-local case. There's still no way to detect 'needs-patch in
2267 such a setup (or to force an update for that matter).
2268 (vc-cvs-logentry-check): Remove, the default works as well.
2270 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2272 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
2274 * vc.el (vc-do-command): kill-all-local-variables, to reset any
2275 major-mode in which the buffer might have been put earlier. Use
2276 `remove' and `when'. Allow `okstatus' to be `async' and use
2277 `start-process' in this case.
2278 (vc-version-diff): Handle the case where the diff looks empty
2279 because of the use of an async process.
2281 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2283 * vc.el (vc-next-action-on-file): Removed optional parameter
2284 `simple'. Recompute state unconditionally.
2285 (vc-default-toggle-read-only): Removed.
2287 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
2288 (vc-toggle-read-only): Undid prev change.
2290 * vc-cvs.el (vc-cvs-stay-local): Renamed from
2291 vc-cvs-simple-toggle. Redocumented.
2292 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
2293 (vc-cvs-toggle-read-only): Removed.
2295 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2297 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
2298 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
2299 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
2300 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
2301 still is. So maybe it should be removed.
2302 (vc-head-version, vc-find-binary): Remove.
2303 (vc-recompute-state): Move from vc-hooks.el.
2304 (vc-next-action-on-file): Add a `simple' argument to allow
2305 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
2306 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
2307 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
2308 (vc-dired-mode-map): Properly defvar it.
2309 (vc-print-log): Call log-view-mode if available.
2310 (small-temporary-file-directory): defvar instead of use boundp.
2311 (vc-merge-news): Moved to vc-cvs.el.
2312 (vc-default-merge-news): New function.
2314 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
2315 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
2316 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
2317 unknown `vc-latest-version' function. It should probably refer to
2318 vc-workfile-version or somesuch, but it's very unclear to me and I
2319 don't have SCCS to test things.
2321 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
2322 (vc-sccs-state-heuristic): Fix typo.
2323 (vc-sccs-workfile-unchanged-p): Add missing argument.
2325 * vc-rcs.el: Require vc and vc-rcs-hooks.
2326 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
2327 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
2328 (vc-release-greater-or-equal-p): Move from vc.
2329 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
2330 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
2331 (vc-rcs-checkout): Add a missing `new-version' argument in the
2332 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
2334 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
2335 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
2336 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
2337 than the apparently unbound `workfile-version'.
2339 * vc-hooks.el (vc-master-templates): Def the obsolete var.
2340 (vc-file-prop-obarray): Use `make-vector'.
2341 (vc-backend-functions): Add new hookable functions
2342 vc-toggle-read-only, vc-record-rename and vc-merge-news.
2343 (vc-loadup): If neither backend nor default functions exist, use
2344 the backend function rather than nil.
2345 (vc-call-backend): If the function if not bound yet, try to load
2346 the non-hook file to see if it provides it.
2347 (vc-call): New macro plus use it wherever possible.
2348 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
2349 nor `vc-find-binary' since it's only called from
2350 vc-mistrust-permission which is only used once the backend is known.
2351 (vc-checkout-model): Fix parenthesis.
2352 (vc-recompute-state, vc-prefix-map): Move to vc.el.
2354 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
2355 (vc-cvs-release, vc-cvs-system-release): Remove.
2356 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
2357 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
2359 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
2360 (vc-cvs-toggle-read-only): First cut at a function to allow a
2361 cvs-status-free vc-toggle-read-only.
2362 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
2363 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
2364 vc-cvs-status. Also set vc-state rather than vc-locking-user.
2365 (vc-cvs-checkout): Modify access rights directly if the user
2366 requested not to use `cvs edit'. And refresh the mode line.
2368 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
2369 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
2371 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2373 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
2374 workfile' that got lost when the code was extracted from vc.el.
2375 And merged the tail with the rest of the code (not possible in the
2376 old vc.el where the tail was shared among all backends). And
2377 explicitly set the state to 'edited if `writable' is set.
2379 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
2380 (vc-cvs-state): Be careful to return the value from
2382 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
2383 property but return it instead. Also be careful to handle a nil
2384 or "" `rev' when workfile is non-nil (it was handled properly when
2387 * vc.el: Removed those pesky unnecessary `(function' quotes.
2388 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
2389 directly in the defvar.
2390 (vc-do-command): Bind inhibit-read-only so as to properly handle
2391 the case where the destination buffer has been made read-only.
2392 (vc-diff): Delegate to vc-version-diff in all cases.
2393 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
2394 (vc-annotate-mode-variables): Removed (code moved partly to
2395 defvars and partly to vc-annotate-add-menu).
2396 (vc-annotate-mode): Turned into a derived-mode.
2397 (vc-annotate-add-menu): Moved in code in
2398 vc-annotate-mode-variables.
2399 (vc-update-change-log): Use make-temp-file if available.
2401 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
2403 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
2404 `vc-checkout-model' updated to `vc-cvs-update-model'.
2406 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2408 * vc.el (vc-next-action-on-file): Added handling of state
2410 (vc-checkout-carefully): Is now practically obsolete, unless the
2411 above is too slow to be enabled unconditionally.
2412 (vc-update-change-log): Fixed typo.
2414 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
2416 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
2417 Now handles state `unlocked-changes'.
2418 (vc-sccs-workfile-unchanged-p): New function, to support the above.
2420 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
2422 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
2423 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
2425 (vc-rcs-workfile-unchanged-p): Renamed from
2426 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
2427 function yet, but supposed to become one soon.
2429 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
2431 (vc-call-backend): Changed error message.
2432 (vc-state): Added description of state `unlocked-changes'.
2434 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2436 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
2437 always return t in CVS-controlled directories.
2439 * vc.el (vc-responsible-backend): New function.
2440 (vc-register): Largely rewritten.
2441 (vc-admin): Removed (implementation moved into vc-register).
2442 (vc-checkin): Redocumented.
2443 (vc-finish-logentry): If no backend defined yet (because we are in
2444 the process of registering), use the responsible backend.
2446 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2447 Updated function lists.
2448 (vc-call-backend): Fixed typo.
2450 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
2452 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
2453 Removed query option. Redocumented.
2455 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2457 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
2459 * vc.el: Updated callers of `vc-checkout-required' to use
2460 `vc-checkout-model'.
2462 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2464 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
2465 stuff updated to reference this function instead of the old
2466 `vc-backend-release-p'.
2468 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2470 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
2471 vc-checkout-model. Return appropriate values. Updated callers.
2473 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2475 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
2476 (vc-backend-revert): Function moved into `vc-revert';
2477 `vc-next-action' must be updated to accomodate this change.
2478 (vc-backend-steal): Function moved into `vc-finish-steal'.
2479 (vc-backend-logentry-check): Function moved into
2480 `vc-finish-logentry'.
2481 (vc-backend-printlog): Function moved into `vc-print-log'.
2482 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
2483 (vc-backend-assign-name): Function moved into
2484 `vc-create-snapshot'.
2486 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2488 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
2489 Rename to vc-checkout-model. Return appropriate values.
2492 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
2493 to vc-checkout-model.
2494 (vc-checkout-required): Rename to vc-checkout-model.
2495 Re-implement and re-comment.
2496 (vc-after-save): Use vc-checkout-model.
2498 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2500 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
2501 Update to use the vc-BACKEND-diff functions instead.
2502 `vc-diff' is now working.
2504 * vc-rcs.el (vc-rcs-logentry-check): New function.
2506 * vc-cvs.el (vc-cvs-logentry-check): New function.
2508 * vc-sccs.el (vc-sccs-diff): Function changed name from
2509 `vc-backend-diff'. This makes `vc-diff' work.
2511 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
2512 of functions possibly implemented in a vc-BACKEND library.
2513 (vc-checkout-required): Fix bug that caused an error to be
2514 signaled during `vc-after-save'.
2517 This checkin is made with our new VC code base for the very first time.
2518 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
2520 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
2521 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
2523 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
2524 updated to `vc-uses-locking'.
2525 (vc-checkout-required): Call to backend function.
2526 `vc-checkout-required' updated to `vc-uses-locking' instead.
2528 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
2529 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
2531 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
2532 to match the split into various backends.
2533 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
2534 (vc-retrieve-snapshot): Bug fix.
2536 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2538 * vc-sccs.el (vc-sccs-release): Doc fix.
2540 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2542 * vc.el (vc-next-action-on-file): Bug found and fixed.
2543 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
2544 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
2546 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
2547 (vc-rcs-checkout): Name space cleaned up. No more revision number
2548 crunching function names that are not prefixed with vc-rcs.
2549 (vc-rcs-checkout-model): Function added. References to
2550 `vc-checkout-model' replaced.
2552 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2554 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
2555 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
2556 still need to be split, and implemented for RCS).
2558 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2560 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
2562 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
2563 required by the vc.el file.
2565 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
2566 required by the vc.el file.
2567 (vc-rcs-exists): Function added.
2569 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
2570 required by the vc.el file.
2572 * vc.el (vc-admin): Updated to handle selection of appropriate
2573 backend. Current implementation is crufty and need re-thinking.
2575 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
2577 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2579 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
2580 beginning of annotate buffers correctly.
2582 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
2583 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
2584 functionality updated quite a lot to support multiple backends.
2585 Variables `vc-annotate-mode', `vc-annotate-buffers',
2586 `vc-annotate-backend' added.
2588 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
2589 `vc-annotate-difference' added to supported backend functions.
2591 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2593 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
2594 Use with-temp-file instead of /bin/sh. Merged from mainline
2596 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2598 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
2600 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
2602 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
2604 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2606 * vc-hooks.el: vc-state-heuristic added to
2607 vc-backend-hook-functions.
2609 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
2611 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
2613 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
2614 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
2615 state to `reserved'.
2617 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
2618 `vc-checkout-required'. Rename the `locked' state to `reserved'.
2620 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2622 * vc-rcs-hooks.el: Implement new state model. Hardly anything
2625 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
2627 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
2628 if defined. (Merged from main line, slightly adapted.)
2630 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
2631 millenium problem (merged from mainline).
2633 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2635 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
2636 part and moved the non-BACKEND stuff to vc.el.
2638 * vc.el: Split the annotate feature into a BACKEND specific part
2639 and moved it from the vc-cvs.el file to this one.
2641 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2643 * vc-hooks.el: Implement new state model.
2644 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
2645 (vc-locking-user): Simplify. Now only needed if the file is
2646 locked by somebody else.
2647 (vc-lock-from-permissions): Remove. Functionality is in
2648 vc-sccs-hooks.el and vc-rcs-hooks.el now.
2649 (vc-mode-line-string): New name for former vc-status. Adapted.
2650 (vc-mode-line): Adapt to use the above. Remove optional parameter.
2652 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
2653 Various simplifications and adaptations all over the place.
2655 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
2656 Simplify and adapt the rest.
2658 * vc.el (vc-resynch-window): Add TODO comment: check for
2659 interaction with view mode according to recent RCS change.
2660 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
2662 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2664 * vc.el: Convert the remaining function comments to docstrings.
2666 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2668 * vc.el (vc-backend-release, vc-release-greater-or-equal)
2669 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
2670 (vc-minor-part, vc-previous-version): Functions that operate and
2671 compare revision numbers got proper documentation. Comments added
2672 about their possible removal.
2674 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2676 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
2677 the vc-backend.el files.
2679 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
2681 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
2682 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
2683 (vc-rcs-previous-version): Functions added.
2685 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
2687 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
2689 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2691 * vc-hooks.el (vc-master-templates): Is really obsolete.
2692 Comment out the definition for now. What is the right procedure
2694 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
2696 (vc-default-registered): Remove.
2697 (vc-check-master-templates): New function; does mostly what the
2699 (vc-locking-user): Don't rely on the backend to set the property.
2701 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
2702 Rewrite documentation.
2703 (vc-rcs-templates-grabbed): New variable.
2704 (vc-rcs-grab-templates): New function.
2705 (vc-rcs-registered): Rewrite to use above mechanism.
2707 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
2708 Rewrite documentation.
2709 (vc-sccs-templates-grabbed): New variable.
2710 (vc-sccs-grab-templates): New function.
2711 (vc-sccs-registered): Rewrite to use above mechanism.
2712 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
2713 Don't throw the result, simply return it.
2715 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
2716 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
2717 (vc-cvs-registered): Does the check itself now. Simplify.
2719 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
2722 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2724 * vc-cvs.el (vc-cvs-diff): New function.
2726 * vc-sccs.el (vc-sccs-diff): New function.
2728 * vc-rcs.el (vc-rcs-diff): New function.
2729 (vc-rcs-checkout): Bug (typo) found and fixed.
2730 (vc-rcs-register-switches): New variable.
2732 * vc.el (vc-backend-diff): Function removed and placed in the
2735 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2737 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
2739 * vc.el (vc-backend-checkout): Function removed and replaced in
2740 the vc-backend.el files.
2742 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
2744 * vc.el (vc-backend-admin): Removed and replaced in the
2745 vc-backend.el files.
2747 * vc.el (Martin): Removed all the annotate functionality since it
2748 is CVS backend specific.
2750 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2752 * spec.txt: Added specification of vc-state.
2754 * vc-sccs-hooks.el (vc-sccs-master-properties):
2755 Remove handling of vc-latest-version and
2756 vc-your-latest-version. What used to be vc-latest-version, is now
2757 returned as vc-workfile-version.
2758 (vc-sccs-workfile-version): Adapt.
2760 2000-09-04 Dave Love <fx@gnu.org>
2762 * vc.el: [Merged from mainline.]
2763 (vc-dired-mode): Make the dired-move-to-filename-regexp
2764 regexp match the date, to avoid treating date as file size.
2765 Add YYYY S option to WESTERN/
2767 2000-09-04 Dave Love <fx@gnu.org>
2769 * vc.el: Require `compile' when compiling.
2770 (vc-logentry-check-hook): New option.
2771 (vc-steal-lock): Use compose-mail.
2772 (vc-dired-mode-map): Defvar when compiling.
2773 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
2774 vc-sccs.el and renamed. Callers changed.
2775 (vc-backend-checkout, vc-backend-logentry-check)
2776 (vc-backend-merge-news): Doc fix.
2777 (vc-default-logentry-check): New function.
2778 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
2779 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
2780 (vc-backend-merge): Doc fix. Use backend functions.
2781 (vc-check-headers): Use backend functions.
2783 * vc-cvs.el: Require vc when compiling.
2784 (vc-cvs-register-switches): Doc fix.
2785 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
2786 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
2787 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
2788 New functions (code from vc.el).
2789 (vc-annotate-display-default): Fix interactive spec.
2790 (vc-annotate-time-span): Doc fix.
2792 * vc-rcs.el: Require vc when compiling.
2793 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
2794 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
2795 (vc-rcs-checkin): New functions (code from vc.el).
2796 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
2798 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
2800 * vc-sccs.el: Require vc when compiling.
2801 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
2802 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
2804 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
2806 (vc-sccs-add-triple, vc-sccs-record-rename)
2807 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
2808 (vc-sccs-admin): Doc fix.
2810 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2812 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
2813 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
2814 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
2817 * vc-sccs.el (vc-admin-sccs): Added from vc.el
2819 * vc-cvs.el: Moved the annotate functionality from vc.el.
2820 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
2822 2000-09-04 Dave Love <fx@gnu.org>
2824 * vc.el (vc-backend-release): Call vc-system-release.
2826 * vc-sccs.el (vc-sccs-system-release):
2827 Renamed from vc-sccs-backend-release.
2829 * vc-rcs.el (vc-rcs-system-release):
2830 Renamed from vc-rcs-backend-release.
2832 * vc-cvs.el (vc-cvs-system-release):
2833 Renamed from vc-cvs-backend-release.
2835 2000-09-04 Dave Love <fx@gnu.org>
2837 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
2839 (vc-backend-release): Dispatch to backend functions.
2840 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
2841 probably needs attention.]
2843 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
2844 (vc-sccs-backend-release): New function.
2846 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
2847 (vc-cvs-backend-release): New function.
2849 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
2851 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
2852 (vc-default-dired-state-info): New function.
2853 (vc-dired-state-info): Dispatch to backends.
2854 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
2856 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
2857 from vc.el and renamed.
2859 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2861 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
2862 (vc-version-other-window, vc-backend-assign-name): Removed
2863 references to vc-latest-version; sometimes changed into
2864 vc-workfile-version.
2866 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
2867 vc-rcs-master-workfile-version.
2868 (vc-rcs-workfile-version): Use the above. Don't call
2869 vc-latest-version (that was unreachable code, anyway).
2870 (vc-rcs-fetch-master-properties): Doc fix.
2872 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
2873 (vc-backend-hook-functions): Removed them from this list, too.
2874 (vc-fetch-properties): Removed.
2875 (vc-workfile-version): Doc fix.
2877 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
2878 (vc-rcs-workfile-version, vc-rcs-locking-user)
2879 (vc-rcs-uses-locking): Use it.
2881 * vc-hooks.el (vc-consult-rcs-headers):
2882 Moved into vc-rcs-hooks.el, under the name
2883 vc-rcs-consult-headers.
2885 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
2887 (vc-cvs-find-master): Use this name only; correct different
2888 versions of the name.
2890 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
2892 (vc-sccs-locking-user): Use the latter.
2894 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
2897 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
2899 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
2900 functions are implementation details of those two backends.
2902 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2904 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
2905 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
2907 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
2908 (vc-sccs-parse-locks): SCCS-specific code moved here from
2911 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
2912 code moved here from vc-hooks.
2914 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
2915 into back-end specific parts and removed. Callers not updated
2916 yet; because I guess these callers will disappear into back-end
2917 specific files anyway.
2919 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2921 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
2922 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
2925 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
2926 Store yes/no in the property, and return t/nil. Updated all
2929 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
2930 vc-sccs-uses-locking. Don't set property.
2931 (vc-sccs-locking-user): Don't set property.
2933 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
2934 vc-cvs-uses-locking. Don't set property here; leave that to
2936 (vc-cvs-locking-user): Reflect above change. Streamlined.
2938 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
2939 vc-rcs-uses-locking.
2940 (vc-rcs-locking-user): Reflect above change.
2942 2000-09-04 Dave Love <fx@gnu.org>
2944 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
2946 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
2948 * vc-hooks.el (vc-checkout-model): Punt to backends.
2950 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
2952 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
2954 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
2957 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
2960 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
2961 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
2963 * vc-hooks.el (vc-default-locking-user): New function.
2964 (vc-locking-user, vc-workfile-version): Punt to backends.
2966 2000-09-04 Dave Love <fx@gnu.org>
2968 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
2969 (vc-master-workfile-version): Moved from vc-hooks.
2971 * vc-rcs-hooks.el: Fix duplicate code in last change.
2973 * vc-rcs-hooks.el: Require vc-hooks when compiling.
2974 (vc-rcs-master-templates): Improve :type.
2975 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
2976 vc-master-workfile-version): Moved from vc-hooks.
2978 * vc-sccs-hooks.el: Require vc-hooks when compiling.
2979 (vc-sccs-master-templates): Improve :type.
2980 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
2982 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
2984 * vc-cvs-hooks.el: Require vc-hooks when compiling.
2985 (vc-cvs-master-templates): Improve :type. Use
2986 vc-cvs-find-cvs-master.
2987 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
2989 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
2991 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
2992 Moved to vc-cvs-hooks.
2994 * vc-hooks.el: Add doc strings in various places. Simplify the
2996 (vc-handled-backends): New user variable.
2997 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
3000 2000-09-04 Dave Love <fx@gnu.org>
3002 * vc.el: Some doc fixes for autoloaded and interactive functions.
3003 Fix compilation warnings from ediff stuff.
3004 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
3006 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
3008 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
3010 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
3012 2000-09-04 Dave Love <fx@gnu.org>
3014 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
3016 (vc-make-backend-function, vc-loadup, vc-call-backend)
3017 (vc-backend-defines): New functions.
3019 * vc-hooks.el: Various doc fixes.
3020 (vc-default-back-end, vc-follow-symlinks): Custom fix.
3021 (vc-match-substring): Function removed. Callers changed to use
3023 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
3026 2000-09-04 Dave Love <fx@gnu.org>
3028 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
3030 (vc-sccs-project-dir, vc-search-sccs-project-dir)
3031 (vc-sccs-registered): Doc fix.
3033 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
3034 (vc-cvs-registered): Doc fix.
3036 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
3037 (vc-rcs-registered): Doc fix.
3039 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3041 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
3043 * vc-hooks.el: vc-registered has been renamed
3044 vc-default-registered. Some functions have been moved to the
3045 backend specific files. they all support the
3046 vc-BACKEND-registered functions.
3048 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3050 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
3052 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
3054 2000-09-04 Dave Love <fx@gnu.org>
3056 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
3057 menu-bar-update-hook.
3059 * help.el (help-manyarg-func-alist): Add
3060 find-operation-coding-system.
3062 * wid-edit.el (widget-sexp-validate): Fix garbled code.
3064 * custom.el (custom-set-variables): Print message about errors in
3067 2000-09-03 Andrew Innes <andrewi@gnu.org>
3069 * makefile.w32-in: Change to DOS line endings.
3071 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3073 * mouse.el (mouse-popup-menubar): Supply the prompt string for
3074 minor-mode keymaps, if they don't have one.
3076 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3078 * eshell/esh-module.el (eval-when-compile): Don't lose if
3079 esh-module.el's file name is truncated to DOS 8+3 limits.
3081 2000-09-01 John Wiegley <johnw@gnu.org>
3083 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
3084 predicate, which caused entries in the completion list to be
3087 2000-08-30 John Wiegley <johnw@gnu.org>
3089 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
3090 sending to subprocesses. Also, hook pre-command-hook if
3091 `eshell-send-direct-to-subprocesses' is non-nil.
3092 (eshell-send-direct-to-subprocesses): New config variable. If t,
3093 subprocess input is send immediately.
3094 (eshell-toggle-direct-send): New function.
3095 (eshell-self-insert-command): New function.
3096 (eshell-intercept-commands): New function.
3097 (eshell-send-input): If direct subprocess sending is enabled,
3098 don't echo any input to the Eshell buffer. Let the subprocess
3099 handle that. This requires "stty echo" in bash, for example.
3101 2000-08-28 John Wiegley <johnw@gnu.org>
3103 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
3104 completion function for Eshell's implementation of `unset'.
3106 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3108 * info.el (Info-directory-list): Doc fix.
3110 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
3112 * filecache.el (file-cache-add-directory-using-find): Don't quote
3113 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
3115 2000-08-31 Kenichi Handa <handa@etl.go.jp>
3117 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
3120 2000-08-30 Andrew Innes <andrewi@gnu.org>
3122 * timer.el (run-with-idle-timer): Undo last change, so that timer
3123 is not activated immediately if Emacs is already idle. Some
3124 existing code relies on this behaviour.
3126 2000-08-30 Miles Bader <miles@gnu.org>
3128 * frame.el (set-frame-font): Do completion of font-name for
3131 2000-08-30 Kenichi Handa <handa@etl.go.jp>
3133 * international/quail.el (quail-start-translation): Bind locally
3134 last-command-event, last-command, and this-command.
3135 (quail-start-conversion): Likewise.
3136 (quail-self-insert-command): Fix docstring.
3138 2000-08-29 Gerd Moellmann <gerd@gnu.org>
3140 * progmodes/executable.el
3141 (executable-make-buffer-file-executable-if-script-p): Check that
3142 buffer contains at least 2 characters.
3144 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3146 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
3148 2000-08-29 Dave Love <fx@gnu.org>
3150 * diff-mode.el (diff-mode) <defgroup>: Add :version.
3151 (diff-mode-shared-map): Bind mouse-2.
3152 (diff-imenu-generic-expression): New variable.
3153 (diff-mode): Use it.
3155 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
3156 (mouse-popup-menubar): Add minor mode menus.
3157 (popup-menu): Check for lookup-key returning number.
3159 2000-08-29 Miles Bader <miles@gnu.org>
3161 * comint.el (comint-send-input): Create overlays using the proper
3162 front/read-advance arguments.
3164 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3166 * ps-print.el: Even/odd pages printing. Doc fix.
3167 (ps-print-version): New version number (6.0).
3168 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
3169 (ps-background, ps-begin-file, ps-begin-job): Code fix.
3170 (ps-print-duplex-feature): Variable eliminated.
3171 (ps-even-or-odd-pages): New variable.
3173 * progmodes/ebnf2ps.el: Doc fix.
3174 (ebnf-version): New version (3.3).
3175 (ebnf-user-arrow): Change variable customization to sexp.
3176 (ebnf-user-arrow): Function eliminated.
3177 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
3179 2000-08-29 Kenichi Handa <handa@etl.go.jp>
3181 * help.el (help-xref-mule-regexp): New variable.
3182 (help-make-xrefs): Handle help-xref-mule-regexp.
3184 * international/mule-cmds.el (help-xref-mule-regexp-template): New
3186 (describe-input-method): Temporarily activate the specfied input
3187 method to display the information.
3188 (describe-language-environment): Hyperlinks to mule related items.
3190 * international/mule-diag.el (charset-multibyte-form-string): New
3192 (list-character-sets-1): Use charset-multibyte-form-string.
3193 (describe-character-set): New function.
3194 (describe-coding-system): Hyperlinks to safe character sets.
3196 * international/quail.el (quail-help): New arg PACKAGE.
3197 Hyperlinks to mule related items.
3198 (quail-help-insert-keymap-description): Use
3199 substitute-command-keys instead of describe-bindings.
3200 (quail-translation-help): Hyperlinks to mule related items.
3202 2000-08-28 John Wiegley <johnw@gnu.org>
3204 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
3205 have a defsubst call itself. Made `eshell-flatten-list' back into
3208 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
3209 catch, in case re-centering point at bottom messes up the display.
3210 This happens frequently in Emacs 21, due I believe to variable
3213 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
3214 to call `find-tag-interactive'.
3216 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
3217 the list of remember directories.
3219 2000-08-28 John Wiegley <johnw@gnu.org>
3221 * align.el: Test align-region-separate to see if it's a symbol.
3223 2000-08-28 John Wiegley <johnw@gnu.org>
3225 * eshell/esh-util.el (eshell-flatten-list): Made this function
3226 into a defsubst form. It gets used very frequently, although
3227 calls don't occur all that often.
3229 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
3232 * eshell/esh-cmd.el (eshell-rewrite-while-command):
3233 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
3235 (eshell-copy-handles): Created a new macro for duplicating the
3236 current set of open handles. This is needed by the looping
3238 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
3239 is not incorrectly stomped on.
3241 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
3242 declaration for pcomplete-use-paring.
3243 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
3244 value of eshell-cmpl-use-paring.
3245 * pcomplete.el (pcomplete-use-paring): New config variable, to
3246 indicate whether paring should be used.
3247 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
3248 completion alternatives that have already been used.
3250 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
3251 bound to C-c C-y, which will repeat the previous N arguments
3252 (based on prefix argument).
3253 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
3255 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
3256 if there is no *Help* buffer. This is for XEmacs, which renames
3257 its help buffers uniquely. TODO: Find out what the current buffer
3260 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
3261 first entry that correlates to a passwd/group number. Later
3262 entries (used for group/user name aliasing to multiple IDs) are
3265 * eshell/em-xtra.el (eshell/expr):
3266 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
3267 (eshell-grep, eshell/diff, eshell/locate):
3268 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
3269 argument list, before passing it to the system command.
3271 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
3272 `find-tag' for use at final position in Eshell buffers (which
3273 otherwise triggers an error on Emacs 21).
3274 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
3275 buffer, if it is currently bound to `find-tag'.
3277 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
3278 in the list of matched Makefile names.
3279 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
3280 directory, prefer its contents to Makefile.
3282 * eshell/em-dirs.el (eshell/cd): cd commands that look up
3283 directory parts (like "cd old new", or "cd =regexp"), are now case
3284 sensitive on non-Windows/DOS platforms.
3286 * eshell/esh-mode.el (eshell-parse-command-input): When a user
3287 types RET after an open delimiter (like "), display a message
3288 indicating that Eshell is waiting for the closing delimiter.
3290 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
3291 environment variables.
3293 * eshell/em-unix.el (eshell/diff): Added logic to fail more
3294 gracefully if the user enters incorrect arguments.
3296 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
3299 * eshell/esh-var.el (eshell-interpolate-variable):
3300 * eshell/esh-mode.el (eshell-move-argument):
3301 * eshell/em-unix.el (eshell-du-sum-directory):
3302 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
3303 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
3306 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
3307 to ensure the `preserve' flag gets propagated when doing recursive
3310 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
3312 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
3313 Don't convert \n into \0177 in memory.
3314 (eshell-read-history, eshell-write-history): Convert \n to \0177,
3315 and back again, when reading and writing.
3317 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
3319 * eshell/esh-util.el (eshell-processp): Added to relieve constant
3320 testing of `fboundp' on `processp'.
3322 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
3323 (eshell/jobs): Don't call process-list if it is not bound.
3324 (eshell-gather-process-output): Support systems where async
3325 subprocesses aren't supported.
3326 (eshell-scratch-buffer, eshell-last-sync-output-start): New
3329 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
3330 eshell-do-eval returns t.
3331 (eshell-do-pipelines-synchronously): New defmacro.
3332 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
3333 when async subprocesses aren't supported.
3334 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
3335 if async subprocesses aren't supported.
3336 (eshell-resume-command): Don't assume STATUS is a string.
3338 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
3340 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
3341 (eshell-close-target, eshell-get-target): Use eshell-processp.
3342 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
3344 (eshell-get-target, eshell-create-handles): Doc fix.
3346 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
3348 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
3349 criterion to include commands that output something, as long as it
3350 leaves both the command and the end-of-buffer visible when the
3352 (eshell-review-quick-commands): Adjust the help doc string
3355 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
3357 * locate.el (locate): Cleaned up locate command's interactive prompting
3358 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
3360 * filecache.el (file-cache-case-fold-search): New variable
3361 (file-cache-assoc-function): New variable
3362 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
3363 Use file-cache-case-fold-search variable
3364 (file-cache-add-file): Use file-cache-assoc-function
3365 (file-cache-delete-file): likewise
3366 (file-cache-directory-name): likewise
3367 (file-cache-debug-read-from-minibuffer): likewise
3369 2000-08-28 Gerd Moellmann <gerd@gnu.org>
3371 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
3372 (abbrev-table-name): New function.
3373 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
3374 If non-nil list local abbrev, only.
3376 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
3378 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
3379 from Gnus support code, and use special article copy buffer
3380 `(gnus-original-article-buffer)' instead. This allows to get rid
3381 of article-hide-headers usage (which breaks in the latest Gnus
3382 version). Thanks to Detlev Zundel.
3384 2000-08-28 Kenichi Handa <handa@etl.go.jp>
3386 * international/quail.el (quail-use-package): Hide "... loaded"
3388 (quail-start-translation, quail-start-conversion): Likewise.
3390 * international/kkc.el (kkc-region): Hide "... loaded" message.
3392 2000-08-27 Dave Love <fx@gnu.org>
3394 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
3396 2000-08-27 Miles Bader <miles@gnu.org>
3398 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
3400 2000-08-27 Kenichi Handa <handa@etl.go.jp>
3402 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
3403 'ja-dic-cnv), not (require 'skkdic-cnv).
3405 2000-08-26 Miles Bader <miles@gnu.org>
3407 * faces.el (face-x-resources): Add entry for :inherit.
3408 * cus-face.el (custom-face-attributes): Add support for :inherit
3409 attribute. Add support for relative face heights.
3410 (custom-face-attributes-get): Treat `nil' as being a default value
3411 for :inherit (as well as `unspecified').
3413 * faces.el (set-face-attribute): Update doc string.
3414 (face-attribute-name-alist): Add :inherit.
3415 (face-valid-attribute-values): Handle :inherit.
3416 (face-read-string): Rephrase prompt to be less confusing.
3417 Assume that DEFAULT is a string, since we must return a string.
3418 (face-read-integer): Use `format' to turn DEFAULT into an
3419 acceptable default for face-read-string. Match NEW-VALUE against
3420 the string "unspecified", not the symbol `unspecified', since
3421 that's what face-read-string returns.
3422 (read-face-attribute): Lookup a name for old-value in valid, and
3423 use it as a default if we find one. Treat all values from
3424 face-read-string as strings. If the default is used, don't do any
3425 more processing on the value, just use the old value directly.
3426 (read-face-and-attribute, modify-face): Tweak prompt.
3427 (read-face-name): Don't assume prompt ends with a space.
3429 * faces.el (describe-face): Add support for :inherit attribute.
3431 2000-08-25 Kenichi Handa <handa@etl.go.jp>
3433 * terminal.el (terminal-emulator): Fix args to `concat'. Now
3434 concat doesn't accept interger.
3436 * international/kkc.el: Remove SKK from Keywords. Require
3437 ja-dic-utl instead of skkdic-utl.
3439 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
3440 Provide ja-dic-cnv instead of skkdic-cnv.
3441 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
3442 (iso-2022-7bit-short): Add safe-charsets property.
3443 (skkdic-convert-postfix): Search Japanese chou-on character in
3444 addition to Hiragana character.
3445 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
3446 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
3447 (batch-skkdic-convert): Likewise.
3449 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
3450 Provide ja-dic-utl instead of skkdic-utl.
3451 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
3453 2000-08-24 Dave Love <fx@gnu.org>
3455 * disp-table.el (standard-display-default): Make the test of `l'
3458 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
3461 * international/iso-ascii.el: Make pilcrow convenient string
3462 consistent with section.
3463 (iso-ascii-display): Set up multibyte characters as well as
3466 2000-08-24 Kenichi Handa <handa@etl.go.jp>
3468 * international/mule-cmds.el (reset-language-environment): Set
3469 default-process-coding-system to '(undecided . iso-latin-1), which
3470 makes process I/O almost consistent with file I/O. Call this
3471 function when mule-cmds.el[c] is loaded.
3473 2000-08-22 Andrew Innes <andrewi@gnu.org>
3475 * makefile.w32-in: New file.
3477 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
3479 * comint.el (comint-output-filter): Compare end of
3480 comint-last-output-overlay with the start of the newly inserted
3481 text, not the end, when deciding whether to extend it.
3482 Set saved-point's insertion type to advance after insertion.
3484 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
3485 since this is now done independently of font-lock mode.
3487 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3489 * server.el (server-kill-new-buffers): New user option.
3490 (server-existing-buffer): New buffer-local variable.
3491 (server-visit-files): When using an existing buffer, set
3492 server-existing-buffer to t.
3493 (server-buffer-done): If server-kill-new-buffers is t, kill the
3494 buffer, unless it was already present before visiting it with
3497 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
3499 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
3500 even if the display doesn't support colors: some displays will
3501 support bold/underline faces.
3503 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3505 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
3507 * startup.el (command-line): If user's init file had an error,
3508 add explanatory text to *Messages*.
3510 2000-08-21 Kenichi Handa <handa@etl.go.jp>
3512 * man.el (Man-getpage-in-background): Decode the process output by
3513 the system locale coding system.
3515 2000-08-20 Dave Love <fx@gnu.org>
3517 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
3518 Don't test x-popup-menu.
3519 (function) <complete-function>: Complete only fbound symbols.
3520 <validate, value>: New.
3521 (variable) <complete-function>: Complete only bound symbols.
3522 (coding-system): Add :base-only, :complete-function, :validate,
3523 :value, :prompt-match.
3524 (widget-coding-system-prompt-value): Use read-coding-system and
3526 (editable-field): Add :help-echo.
3527 (widget-push-button-gui, widget-push-button-cache)
3528 (widget-gui-action, widget-editable-list-gui): COmment out, along
3530 (widget-at): Make arg optional.
3531 (widget-echo-help): Adjust for current help-echo calling sequence.
3532 (widget-specify-field, widget-specify-button)
3533 (widget-specify-insert, widget-get-sibling, widget-image-find)
3534 (widget-convert, widget-insert, widget-leave-text)
3535 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
3536 (widget-setup, widget-field-find, widget-before-change)
3537 (widget-after-change, widget-default-complete)
3538 (widget-default-create, widget-default-delete)
3539 (widget-push-button-value-create, editable-field)
3540 (widget-field-prompt-value, widget-field-validate)
3541 (widget-choice-value-create, widget-choice-action)
3542 (widget-choice-validate, widget-checklist-add-item)
3543 (widget-radio-add-item, widget-radio-chosen)
3544 (widget-radio-value-inline, widget-editable-list-value-create)
3545 (widget-editable-list-entry-create)
3546 (widget-documentation-link-add)
3547 (widget-documentation-string-value-create)
3548 (widget-regexp-validate, widget-file-complete)
3549 (widget-sexp-validate, widget-plist-convert-widget)
3550 (widget-plist-convert-widget, widget-alist-convert-widget)
3551 (widget-alist-convert-widget, widget-color-complete): Simplify,
3552 particularly to avoid bindings which aren't optimized out.
3554 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
3556 (down-list, backward-up-list, up-list, kill-sexp)
3557 (backward-kill-sexp, mark-sexp): Make arg optional.
3558 (lisp-complete-symbol): Add optional arg PREDICATE.
3560 * cus-start.el: Add display-buffer-reuse-frames,
3561 file-coding-system-alist.
3563 2000-08-20 Gerd Moellmann <gerd@gnu.org>
3565 * startup.el (command-line): Clear realized faces after
3566 modifying TTY color mappings.
3568 2000-08-20 Miles Bader <miles@gnu.org>
3570 * faces.el (face-attr-match-p): Don't return true if ATTRS are
3571 merely a subset of FACE's attributes.
3573 2000-08-19 Miles Bader <miles@gnu.org>
3575 * comint.el (comint-output-filter): Save the point with a marker,
3576 not just a buffer position.
3578 * international/mule.el (set-buffer-process-coding-system): Make
3579 interactive prompt less confusing.
3581 2000-08-19 Gerd Moellmann <gerd@gnu.org>
3583 * hilit-chg.el: General cleanup of doc strings, comments and
3586 2000-08-19 Miles Bader <miles@gnu.org>
3588 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
3589 Compiler macro removed; beginning-of-line is no longer always
3590 equivalent to forward-line, in the presence of fields.
3592 * comint.el (comint-output-filter): Remove ad-hoc saving of
3593 restriction, and just use save-restriction, now that it works
3594 correctly. Don't adjust comint-last-input-start to account for
3595 our insertion; it shouldn't have moved because we don't use
3596 insert-before-markers anymore. Comment out call to
3597 `force-mode-line-update'; why is it here?
3599 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
3600 while checking for prompt to delete. Use `forward-line 0'
3601 instead of beginning-of-line.
3602 (gud-filter): Temporarily widen gud comint buffer while
3605 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
3607 * progmodes/sh-script.el: Big bag of typos.
3609 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
3610 check since ispell-process is not bound when ispell is not yet loaded.
3612 2000-08-18 Dave Love <fx@gnu.org>
3614 * image.el (find-image): Copy `spec' before using plist-put.
3616 2000-08-18 Gerd Moellmann <gerd@gnu.org>
3618 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
3621 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
3622 backward-kill-sexp, analogous to kill-sexp.
3624 * progmodes/icon.el (icon-indent-line)
3625 (icon-is-continuation-line): Handle comments specially.
3627 2000-08-17 Ken Stevens <k.stevens@ieee.org>
3629 * ispell.el: Set to standard author/maintainer/keyword fields.
3630 Fine tuning to menu map appearance and operation, and added help.
3631 Remove `start' and `end' error messages when compiling.
3632 (ispell-choices-win-default-height): Fixed comment string.
3633 (ispell-dictionary-alist-1): Fixed regexp in castellano and
3634 castellano8 dictionaries.
3635 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
3636 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
3637 dictionary, added italiano dictionary.
3638 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
3640 (ispell-tex-skip-alists): Added psfig support.
3641 (ispell-skip-html): Renamed from ispell-skip-sgml.
3642 (ispell-begin-skip-region-regexp, ispell-skip-region)
3643 (ispell-minor-check): Improved html skipping support to skip across
3644 code, and recognize `&' commands without propper `;' syntax;
3645 (ispell-process-line): Fix alignment error when manually
3646 correcting spelling.
3647 (ispell): Fix comment string.
3648 (ispell-add-per-file-word-list): Always put word list on new line.
3650 2000-08-17 Gerd Moellmann <gerd@gnu.org>
3652 * format.el (format-encode-run-method): Fix error message to say
3653 `encode' instead of `decode'. Use save-window-excursion around
3654 shell-command-on-region as in format-decode-run-method because
3655 shell-command-on-region can display a buffer with error output.
3656 (format-decode): Don't record undo information for the decoding.
3657 (format-annotate-function): Add parameter FORMAT-COUNT. Make
3658 that number part of the temporary buffer name so that more than
3659 one decoding using a temporary buffer can happen safely.
3661 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
3662 of `A-z' in the regexp.
3664 * hilit-chg.el: Fix typos in commentary.
3666 * help.el (view-emacs-news): Rewritten for new naming scheme
3669 * startup.el (command-line): Pop to *Messages* in case an error
3670 is signaled while loading user-init-file.
3672 2000-08-17 Andreas Schwab <schwab@suse.de>
3674 * files.el (insert-directory): Don't lose original file name,
3675 undoing an undocumented change.
3677 2000-08-17 Alex Schroeder <alex@gnu.org>
3679 * sql.el (sql-magic-go): Use comint-bol.
3680 (sql-copy-column): Use comint-line-beginning-position.
3681 (comint-line-beginning-position): Define a replacement for
3682 comint-line-beginning-position if it is not fboundp.
3684 2000-08-17 Alex Schroeder <alex@gnu.org>
3686 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
3687 it didn't have any effect anyway.
3689 2000-08-17 Alex Schroeder <alex@gnu.org>
3691 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
3692 --pset and pager=off instead of sending \\o|cat at the beginning
3695 2000-08-17 Miles Bader <miles@gnu.org>
3697 * progmodes/octave-inf.el: Add compatibility definition of
3698 comint-line-beginning-position.
3700 2000-08-17 Kenichi Handa <handa@etl.go.jp>
3702 * startup.el (normal-top-level): Look in each dir in load-path for
3703 a leim-list.el file too. This assures of loading leim-list.el
3704 that is created at Emacs installation time even if a user have his
3707 2000-08-17 Miles Bader <miles@gnu.org>
3709 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
3710 foreground color to black if the background is dark.
3712 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
3714 * loadhist.el (unload-feature): Typo.
3716 * finder.el (finder-compile-keywords):
3717 * cus-dep.el (custom-make-dependencies): Add local-variable settings
3718 to the generated file.
3720 * mail/mh-e.el (mh-make-local-vars):
3721 Replace make-variable-buffer-local with make-local-variable.
3724 * options.el (Edit-options-{set,toggle,t,nil}):
3725 * mail/mailabbrev.el (mail-abbrevs-mode):
3726 * textmodes/tex-mode.el (tex-expand-files):
3727 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
3729 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
3731 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
3732 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
3733 Allow going past the last element.
3734 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
3735 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
3736 (cvs-mouse-toggle-mark): Don't move point.
3737 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
3739 * progmodes/compile.el (grep): Provide a default set of files.
3740 (next-error): Docstring fix.
3741 (compilation-find-file): Avoid find-file (fails in a dedicated window).
3743 * emacs-lisp/easy-mmode.el (define-minor-mode):
3744 Use `symbol-value' to keep the byte-compiler quiet.
3746 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
3747 (diff-find-source-location): New fun, extracted from diff-goto-source.
3748 (diff-goto-source): Use it.
3749 (diff-next-complex-hunk, diff-filter-lines): New function.
3750 (diff-apply-hunk): New command.
3752 * smerge-mode.el (smerge-mode-menu): Doc fix.
3754 * msb.el (msb-mode): Define it in terms of define-minor-mode.
3756 2000-08-16 Dave Love <fx@gnu.org>
3758 * windmove.el (windmove) <defgroup>: Add :version.
3760 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
3761 (goto-address-fontify-p, goto-address-highlight-p)
3762 (goto-address-url-face, goto-address-url-mouse-face)
3763 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
3764 (goto-address-url-regexp): Use thing-at-point-url-regexp.
3765 (goto-address-fontify, goto-address-at-mouse): Simplify,
3766 (goto-address-at-point): browse-url-url-at-point,
3767 goto-address-find-address-at-point can return nil.
3768 (goto-address-find-address-at-point): Return nil on failure.
3770 * align.el (align) <defgroup>: Add :version.
3772 * calculator.el (calculator): Add :version.
3773 (calculator): Use two lines for calculator window if `modeline'
3776 * play/5x5.el: Doc fixes.
3777 (5x5) <defgroup>: Add :version.
3779 * play/fortune.el (fortune) <defgroup>: Add :version.
3780 (fortune-append): Fix error message.
3781 (fortune-from-region): Doc fix.
3783 * play/pong.el (pong): Doc fix.
3785 * play/morse.el: Keywords, commentary, autoloads.
3787 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
3789 * desktop.el (desktop-save): Don't look at symbol-value of a
3790 member of minor-mode-alist, unless it is boundp.
3792 2000-08-16 Sam Steingold <sds@gnu.org>
3794 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
3795 `while'; use `with-current-buffer' instead of `save-excursion'.
3796 Removed unnecessary kludges now that "*Buffer List*" is excluded.
3798 2000-08-16 Kenichi Handa <handa@etl.go.jp>
3800 * international/ccl.el (declare-ccl-program): Docstring modified.
3801 (ccl-execute-with-args): Likewise.
3803 2000-08-16 Miles Bader <miles@gnu.org>
3805 * progmodes/sql.el: Add compatibility definition of
3806 comint-line-beginning-position.
3808 2000-08-15 Gerd Moellmann <gerd@gnu.org>
3810 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
3811 'buffer-menu' property.
3812 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
3814 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
3815 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
3818 * buff-menu.el (list-buffers-noselect): Don't display the
3819 *Buffer List* buffer.
3821 * font-lock.el: Require jit-lock to prevent a very late
3822 `Loading jit-lock' message.
3824 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
3825 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
3828 2000-08-15 Miles Bader <miles@gnu.org>
3830 * textmodes/ispell.el (ispell-graphic-p): New constant.
3831 (ispell-choices-win-default-height, ispell-help): Use
3832 `ispell-graphic-p' instead of `xemacsp'.
3834 2000-08-15 Dave Love <fx@gnu.org>
3836 * simple.el: Autoload widget-convert when compiling.
3837 (mail-user-agent): Doc fix.
3839 * help.el (function-called-at-point, variable-at-point): Use
3841 (help-manyarg-func-alist): Add insert-and-inherit.
3843 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
3845 * delsel.el (delsel-unload-hook): New function.
3847 * find-file.el: Doc fixes. Move provide to end.
3848 (ff) <defgroup>: Add :link.
3849 (ff-goto-click): Deleted.
3850 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
3851 Use mouse-set-point.
3853 * textmodes/tildify.el: Doc fixes.
3854 (tildify) <defgroup>: Add:version.
3856 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
3857 (glasses-custom-set): Use set-default, not set.
3858 (minor-mode-alist): Propertize the lighter.
3859 (glasses-mode): Provide optional arg.
3861 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
3862 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
3863 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
3864 option. Provide :type.
3865 (cwarn-configuration): Provide :type.
3866 (cwarn-mode): Doc fix.
3868 * add-log.el (change-log-merge): Doc fix.
3869 (change-log-redate): New command.
3871 * net/browse-url.el (browse-url-filename-alist): Add a clause for
3873 (browse-url): Use dolist, not mapcar.
3874 (browse-url-at-point): Check for null url.
3875 (browse-url-event-buffer, browse-url-event-point): Functions
3877 (browse-url-at-mouse, browse-url-netscape): Simplify.
3879 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
3881 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
3882 Fix previous change to mapcan.
3883 (msb--init-file-alist, msb--add-separators)
3884 (msb--make-keymap-menu): Simplify.
3885 (msb--choose-file-menu): Use copy-sequence.
3886 (msb-mode-map): Add title to keymap.
3887 (msb-unload-hook): New function.
3889 * bs.el: Fix indentation.
3890 (bs) <defgroup>: Add :links.
3892 (bs-apply-sort-faces): Don't use window-system.
3893 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
3895 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
3897 * calendar/timeclock.el (timeclock-file): Run .timelog through
3898 convert-standard-filename.
3900 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3902 * emacs-lisp/authors.el: New file.
3904 * paren.el (show-paren-priority): New user option.
3905 (show-paren-function): Set overlay priorities to
3906 show-paren-priority.
3908 2000-08-14 Miles Bader <miles@gnu.org>
3910 * comint.el (comint-bol): Use `forward-line 0' instead of calling
3911 beginning-of-line with inhibit-field-text-motion bound.
3913 2000-08-14 Gerd Moellmann <gerd@gnu.org>
3915 * calendar/timeclock.el: New file.
3917 2000-08-14 David Ponce <david@dponce.com>
3919 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
3920 `widget-button-click'. so that one can use left mouse button to
3921 click on dialog buttons.
3923 2000-08-14 Emmanuel Briot <briot@gnat.com>
3925 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
3926 identifiers, since XML is case sensitive
3928 2000-08-12 Miles Bader <miles@gnu.org>
3930 * comint.el (comint-output-filter): Don't bother frobbing
3931 window-start, it doesn't seem to be necessary.
3933 * comint.el (comint-send-string, comint-send-region): Make into
3934 real functions. Snapshot the prompt before sending.
3936 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3938 * info.el (Info-find-emacs-command-nodes): Rewrite to use
3939 technique similar to Info-index, instead of relying on specific
3940 names of relevant Index nodes.
3941 (Info-goto-emacs-command-node): Bind Info-history to nil when
3942 going to the first node found by Info-find-emacs-command-nodes.
3944 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
3946 * menu-bar.el (menu-bar-help-menu): Add a :help string.
3948 2000-08-10 Miles Bader <miles@gnu.org>
3950 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
3952 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3954 * info.el (Info-file-list-for-emacs): More elements for the
3955 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
3958 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
3960 * comint.el (comint-send-input): Make the newline boundary overlay
3961 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
3962 (comint-output-filter): Use `insert' instead of
3963 `insert-before-markers'. Extend comint-last-output-overlay when
3964 necessary since we can't rely on insert-before-markers to do it.
3965 * gud.el (gud-filter): Use `with-current-buffer' instead of
3966 save-excursion when inserting the output, so that point gets
3967 updated correctly; the old method relied on a rather dodgy
3968 side-effect of comint-output-filter to avoid the effect of
3971 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
3973 * files.el (recover-file): Call insert-directory instead of
3974 invoking `ls' directly.
3976 2000-08-10 Miles Bader <miles@gnu.org>
3978 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
3979 (comint-last-prompt-overlay): New variables.
3980 (comint-output-filter): Implement prompt highlighting.
3981 (comint-snapshot-last-prompt): New function.
3982 (comint-send-input): Snapshot the last prompt.
3983 Use comint-highlight-input-face.
3984 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
3985 Use defface instead of defcustom.
3986 (send-invisible, comint-send-eof): Snapshot the last prompt.
3987 (comint-delchar-or-maybe-eof): Use comint-send-eof.
3988 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
3990 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
3992 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
3993 (regexp-opt-group): Use a list of chars for `letters'.
3994 (regexp-opt-charset): `chars' is now a list of chars.
3995 Use a char-table rather than a vector so it works for multibyte chars.
3997 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
3998 Set cvs-minor-current-files to the selected fileinfo.
3999 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
4000 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
4002 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
4004 * files.el (insert-directory): Don't call access-file on
4005 directories on DOS and Windows.
4007 2000-08-09 Kenichi Handa <handa@etl.go.jp>
4009 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
4010 longer if necessary.
4011 (ccl-embed-code): Call ccl-embed-data to store CODE in
4014 2000-08-09 Miles Bader <miles@gnu.org>
4016 * comint.el (comint-output-filter): Properly handle the case where
4017 the text surrounded by comint-last-output-overlay was deleted.
4019 2000-08-08 Gerd Moellmann <gerd@gnu.org>
4021 * info.el (Info-insert-dir): Use Info-additional-directory-list if
4023 (Info-file-list-for-emacs): Remove "info" from the list because
4024 that leads to trying to use the documentation from file `info'
4025 in various situations where it isn't appropriate, for instance
4028 * ffap.el (ffap-read-file-or-url-internal): Handle case that
4029 DIR and/or STRING are nil.
4031 * progmodes/compile.el (compilation-setup): Make variable
4032 compilation-error-screen-columns buffer-local, as some comment
4033 in the code suggests it should be.
4035 * files.el (auto-mode-interpreter-regexp): New variable.
4036 (set-auto-mode): Use it.
4038 * indent.el (indent-for-tab-command): Doc fix.
4040 * mouse-sel.el (mouse-sel-mode): Doc fix.
4042 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
4045 * help.el (print-help-return-message): When
4046 display-buffer-reuse-frames is set, let the help window been quit,
4047 instead of deleting it, which might delete a reused frame.
4049 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
4051 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
4052 rename a directory to a name that differs only by its letter case.
4054 2000-08-08 Kenichi Handa <handa@etl.go.jp>
4056 * international/quail.el (quail-define-rules): Handle Quail decode
4057 map correctly. Add code for supporting annotations.
4058 (quail-install-decode-map): New function.
4059 (quail-defrule-internal): New optional arguments decode-map and
4061 (quail-advice): New function.
4063 2000-08-07 Sam Steingold <sds@gnu.org>
4065 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
4066 `defconst', `define-condition', `with-slots'.
4067 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
4069 2000-08-03 Miles Bader <miles@gnu.org>
4071 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4073 (comint-prompt-regexp, comint-get-old-input): Document dependence on
4074 comint-use-prompt-regexp-instead-of-fields.
4075 (comint-send-input): Add `input' field property to stuff we send to
4076 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
4077 (comint-output-filter): Add `output' field property to process
4078 output, if comint-use-prompt-regexp-instead-of-fields is nil.
4079 (comint-replace-by-expanded-history)
4080 (comint-get-old-input-default, comint-show-output)
4081 (comint-backward-matching-input, comint-forward-matching-input)
4082 (comint-next-prompt, comint-previous-prompt): Use field
4083 properties if comint-use-prompt-regexp-instead-of-fields is nil.
4084 (comint-line-beginning-position): New function.
4085 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
4086 (comint-replace-by-expanded-history-before-point): Use
4087 comint-line-beginning-position and line-end-position.
4088 (comint-last-output-overlay): New variable.
4089 (comint-mode): Make `comint-last-output-overlay' buffer-local.
4091 * shell.el (shell-prompt-pattern): Doc change.
4092 (shell-backward-command): Use line-beginning-position.
4094 * gud.el (gud-gdb-complete-command): Use
4095 comint-line-beginning-position.
4097 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
4098 comint-bol doesn't actually go to the beginning of the line.
4100 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
4101 if comint-use-prompt-regexp-instead-of-fields is non-nil.
4102 (try-expand-line-all-buffers): Likewise.
4104 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
4105 explicitly matching comint-prompt-regexp.
4106 (sql-copy-column): Use comint-line-beginning-position instead of
4107 explicitly matching comint-prompt-regexp.
4109 * progmodes/octave-inf.el (inferior-octave-complete): Use
4110 comint-line-beginning-position.
4112 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
4114 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
4115 looking for a prompt, use `forward-line 0' instead of
4116 `beginning-of-line', to avoid getting caught by an input field.
4118 2000-08-07 Gerd Moellmann <gerd@gnu.org>
4120 * files.el (shell-quote-wildcard-pattern): Make sure to return
4121 PATTERN, in the Unix case.
4123 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
4125 * play/zone.el (zone): Discard any pending input before running
4126 the randomly-chosen pgm.
4128 2000-08-07 Kenichi Handa <handa@etl.go.jp>
4130 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
4131 checking the existence of any multibyte characters.
4133 2000-08-06 Gerd Moellmann <gerd@gnu.org>
4135 * help.el (describe-mode): Test minor-mode symbol for being
4136 bound before testing its value for being nil.
4138 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
4139 `first', `second', and `third'.
4141 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
4142 (second): Make it an alias for `cadr'.
4144 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
4146 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
4147 types of display support faces now.
4149 2000-08-05 Gerd Moellmann <gerd@gnu.org>
4151 * pcvs.el (require): Require `cl' during compilation, only.
4153 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
4154 (toplevel): Remove `remq' and `remove' from autoloads.
4155 (cl-fake-autoloads): New variable. If set, arrange for an error
4156 when CL functions etc. are autoloaded.
4158 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
4160 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
4162 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
4163 popped up, but the user clicks outside the menu, return an empty
4164 regexp (that causes unhighlight-regexp to have no effect).
4166 * menu-bar.el (menu-bar-games-menu): Add Zone.
4168 * hi-lock.el (toplevel): Require font-lock.
4170 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4172 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
4173 (ebnf-8-bit-chars): New var for bug fix.
4174 (ebnf-string): Bug fix.
4176 2000-08-03 Sam Steingold <sds@gnu.org>
4178 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
4179 instead of `buffer-string'.
4180 (require 'cl): Always, not just when compiling.
4181 `ignore-errors' in `interactive', `list*', `defun*' &c make this
4184 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
4186 * international/mule-cmds.el (select-safe-coding-system): Make
4187 the message text about selecting a safe coding system more clear.
4189 2000-08-02 Gerd Moellmann <gerd@gnu.org>
4191 * hi-lock.el: New file.
4193 * play/zone.el: New file.
4195 * replace.el (occur): Set tab-width in the *Occur* buffer to the
4196 value of tab-width in the original buffer. Choose a line number
4197 format that's a multiple of the original buffer's tab width, so
4198 that lines appear right.
4200 * textmodes/ispell.el (ispell): New function, replacing an alias.
4201 Spell-check active region if in transient-mark-mode and mark
4202 is active; otherwise spell-check buffer.
4204 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4206 * ps-mule.el: Fix a customization problem on
4207 ps-mule-font-info-database-default.
4209 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
4211 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
4212 display-mouse-p instead of window-system.
4213 (ebrowse-member-mode-map): Ditto.
4215 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4217 * progmodes/ebnf2ps.el: Update ps-print functions call.
4218 Indentation fix. Doc fix.
4219 (ebnf-version): New version number (3.2).
4220 (ebnf-format-color, ebnf-begin-job): Code fix.
4222 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
4224 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
4225 font lock support on window-system.
4226 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
4228 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
4229 display-color-p, if fboundp, instead of window-system.
4231 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
4233 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
4234 instead of window-system.
4236 * wid-edit.el (widget-choose): Use display-mouse-p instead of
4238 (widget-choice-mouse-down-action): Use display-popup-menus-p
4239 instead of window-system.
4241 * strokes.el (strokes-file): Run the file name through
4242 convert-standard-filename.
4243 (strokes-mode): Call display-mouse-p instead of looking at
4244 window-system. Change the error message accordingly.
4246 * progmodes/cpp.el (toplevel): Support faces on tty's.
4248 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
4249 (lm-plot-square, lm-init-display): Don't use window-system.
4251 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
4252 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
4254 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
4255 instead of looking at window-system.
4257 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4259 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
4260 of testing if iswitchb-prepost-hooks is bound, because the
4261 latter will always be true when invoking a recursive minibuffer
4262 from an active Iswitchb buffer.
4264 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
4266 * files.el (shell-quote-wildcard-pattern): New function.
4267 (insert-directory): Call it. Only prepend "\" to command on Unix
4268 and GNU/Linux systems.
4270 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4272 * eshell/esh-groups.el: Change custom :link file names
4273 from `eshell.info' to `eshell'.
4275 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
4277 * dired.el (dired-build-subdir-alist): Expand subdirectory names
4278 correctly in recursive ange-ftp listings.
4280 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4282 * ps-print.el: Fix bug 1: if ps-font-size-internal,
4283 ps-header-font-size-internal and
4284 ps-header-title-font-size-internal variables are not set,
4285 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
4286 face text property is (foreground-color . COLOR) or
4287 `(background-color . COLOR)', ps-print crashes. Doc fix.
4288 (ps-print-version): New version number (5.2.4).
4289 (ps-plot-region): Code fix.
4290 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
4291 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
4294 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
4296 * glasses.el (glasses-make-readable): Fix uncapitalization of
4297 identifiers like `myXMLDocument'.
4299 2000-07-28 Karl Fogel <kfogel@red-bean.com>
4301 * mail/mail-hist.el (mail-hist-previous-input)
4302 (mail-hist-next-input): Do the obvious code factorization.
4303 (mail-hist-retrieve-and-insert): New func, contains common
4305 If inserting a message body, leave point at top.
4307 2000-07-28 Sam Steingold <sds@gnu.org>
4309 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
4310 Use `<=', not `<' to compare times!
4311 (ange-ftp-ls): Remove.
4313 2000-07-27 Gerd Moellmann <gerd@gnu.org>
4315 * play/cookie1.el: Add explanation of how to make cookie.el
4316 compatible with strfile(1) to comment.
4318 * subr.el (remove, remq): New functions.
4320 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
4321 escape `*' in regexps.
4322 (midnight-find): Reverse order of arguments in the funcall of
4325 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
4328 * play/meese.el: Add Commentary section.
4330 2000-07-27 Alex Schroeder <alex@gnu.org>
4332 * sql.el (sql-ms): Added autoload cookie.
4333 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
4334 (sql-oracle): Ditto.
4335 (sql-help): Doc change.
4337 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
4338 types and exceptions.
4340 2000-07-27 Alex Schroeder <alex@gnu.org>
4342 * sql.el (sql-placeholder-history): New variable.
4343 (sql-query-placeholders-and-send): New function that will query
4344 the user and replace placeholders with user input.
4345 (sql-oracle): If running on NT, set comint-input-sender to
4346 sql-query-placeholders-and-send.
4348 (sql-stop): If in the SQLi buffer, insert stop notification, else
4349 present it as a message.
4351 2000-07-27 Alex Schroeder <alex@gnu.org>
4353 * sql.el (sql-input-ring-separator): Doc change.
4354 (sql-input-ring-file-name): Doc change.
4355 (sql-interactive-mode): Use `sql-input-ring-separator' and
4356 `sql-input-ring-file-name' to set the comint-mode equivalents
4357 without making them local variables.
4358 (sql-stop): Don't bind `sql-input-ring-separator' and
4359 `sql-input-ring-file-name' dynamically to their comint-mode
4362 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4364 * international/mule.el (register-char-codings): New function.
4365 (make-coding-system): Handle `safe-chars' specification in the arg
4368 * international/mule-cmds.el
4369 (find-coding-systems-region-subset-p): This function deleted.
4370 (sort-coding-systems-predicate): New variable.
4371 (sort-coding-systems): New function.
4372 (find-coding-systems-region): Use
4373 find-coding-systems-region-internal.
4374 (find-coding-systems-string): Use find-coding-systems-region.
4375 (find-coding-systems-for-charsets): Check
4376 char-coding-system-table.
4377 (select-safe-coding-system-accept-default-p): New variable.
4378 (select-safe-coding-system): Mostly rewritten. New argument
4380 (select-message-coding-system): Call select-safe-coding-system
4381 with ACCEPT-DEFAULT-P arg.
4382 (reset-language-environment): Reset default-sendmail-coding-system
4383 to the default value iso-latin-1.
4384 (set-language-environment): Don't set the obsolete variable
4385 charset-origin-alist.
4387 * international/codepage.el (cp-coding-system-for-codepage-1):
4388 Give `safe-chars' property to make-coding-system.
4390 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
4391 calling select-message-coding-system twice.
4393 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
4394 instead of `safe-charsets'.
4395 (cyrillic-alternativnyj): Likewise.
4396 (ccl-encode-alternativnyj): Don't check the charset
4399 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4401 * composite.el (compose-chars-after): Preserve match data.
4403 2000-07-26 Sam Steingold <sds@gnu.org>
4405 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
4406 (ange-ftp-real-file-newer-than-file-p): New function.
4407 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
4408 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
4410 * tooltip.el (tooltip-float-time): Removed (use `float-time').
4411 * midnight.el (midnight-float-time): Ditto.
4413 2000-07-26 Andreas Schwab <schwab@suse.de>
4415 * files.el (normal-backup-enable-predicate): Correct
4416 interpretation of the return value of compare-strings.
4418 2000-07-26 Gerd Moellmann <gerd@gnu.org>
4420 * isearch.el (isearch-resume): New function.
4421 (isearch-done): Add something to command-history to resume
4423 (isearch-yank-line, isearch-yank-word): Use
4424 buffer-substring-no-properties instead of buffer-substring.
4426 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
4427 of flyspell-mouse-map.
4429 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
4430 duplicate definition.
4431 (makefile-mode): Remove duplicate setting of local-abbrev-table.
4433 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
4434 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
4436 2000-07-25 Sam Steingold <sds@gnu.org>
4438 * net/ange-ftp.el: Get modtime over the net.
4439 (ange-ftp-file-modtime): New function.
4440 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4441 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
4443 (ange-ftp-dot-to-slash): New function.
4444 (ange-ftp-fix-name-for-vms): Use it.
4446 * midnight.el (midnight-buffer-display-time): Use
4447 `with-current-buffer'.
4449 2000-07-25 Gerd Moellmann <gerd@gnu.org>
4451 * find-dired.el: Update copyright notice.
4452 (find-dired): Offer to kill a running `find'.
4454 * enriched.el (enriched-face-ans): For a `foreground-color'
4455 property, return '(("x-color" COLOR))' so that COLOR will be
4456 output as a parameter of the x-color annotation. Likewise for the
4457 `background-color' property. In the case of normal face
4458 properties, don't return annotations for unspecified foreground
4459 and background face attributes.
4461 2000-07-25 Kenichi Handa <handa@etl.go.jp>
4463 * language/japan-util.el (japanese-katakana-region): Fix handling
4466 2000-07-25 Miles Bader <miles@gnu.org>
4468 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
4469 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
4472 2000-07-24 Andrew Innes <andrewi@gnu.org>
4474 * timer.el (timer-activate-when-idle): Add optional parameter
4475 DONT-WAIT. Update docstring.
4476 (run-with-idle-timer): Specify extra parameter to
4477 timer-activate-when-idle, so that timer will be activated
4478 immediately if Emacs is already idle.
4480 * w32-fns.el (w32-using-nt): Fix docstring.
4482 2000-07-24 Dave Love <fx@gnu.org>
4484 * mouse.el (popup-menu): Set last-command-event.
4485 (mouse-major-mode-menu-prefix): Declare.
4487 2000-07-24 Gerd Moellmann <gerd@gnu.org>
4489 * textmodes/flyspell.el: Update to author's version 1.5d.
4491 * progmodes/hideshow.el: Update copyright notice.
4493 * vcursor.el: Set maintainer to FSF, since author cannot
4496 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
4498 * info.el (Info-goto-emacs-key-command-node): Leave a space after
4501 * mouse.el (popup-menu): Run the keymap through indirect-function,
4502 in case it was defined with define-prefix-key. If the menu is a
4503 list of keymaps, look up the binding of user's choice in each one
4505 (mouse-popup-menubar): If the global and local menu-bar keymaps
4506 don't have a prompt string, create one and insert it into the
4507 keymap. Don't barf if current-local-map returns nil.
4509 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
4511 * dired.el (dired-sort-R-check): Added to allow recursive listing
4513 (dired-sort-other): Use it.
4515 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4517 * Release of cc-mode 5.27
4519 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4521 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
4522 c-beginning-of-statement-1 that caused a bad case of recursion
4523 which could consume a lot of CPU in large classes in languages
4524 that have in-expression classes (i.e. Java and Pike).
4526 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
4527 statements before top level constructs (i.e. case 6 is moved
4528 before case 5 and is now case 4) to catch in-expression
4529 classes in top level expressions correctly.
4531 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4533 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
4534 objc-method-intro. Case 4 removed and case 5I added.
4536 * cc-langs.el (c-append-paragraph-start): New variable used by
4537 c-common-init to get paragraph-start correct.
4538 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
4539 initialize paragraph-start to make it correct both with and
4540 without the javadoc special case.
4542 * cc-mode.el (java-mode): Use c-append-paragraph-start to
4543 initialize paragraph-start for javadoc markup.
4545 * cc-vars.el (c-style-variables-are-local-p): Incompatible
4546 change by defaulting this to t. It's motivated by the
4547 confusing behavior that otherwise arise from the style system
4548 when editing both java and non-java files at the same time
4549 (see the comments about style setting in c-common-init).
4551 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4553 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
4554 similar to the one in c-fill-paragraph to check the fill
4555 prefix from the adaptive fill function for sanity.
4557 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4559 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
4562 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4564 * cc-mode.texi Documented the change of cpp-macro.
4566 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4568 * cc-align.el (c-lineup-multi-inher): Handle lines with
4569 leading comma nicely. Extended to handle member initializers
4572 * cc-engine.el: (c-beginning-of-inheritance-list,
4573 c-guess-basic-syntax): Fixed recognition of inheritance lists
4574 when the lines begins with a comma.
4576 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
4578 * cc-vars.el (c-offsets-alist): Changed default for
4579 member-init-cont to c-lineup-multi-inher since it now handles
4580 member initializers and indents better for leading commas.
4582 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4584 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
4585 handling that caused class open lines to be recognized as
4586 statement-conts in some cases.
4588 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
4589 guessed by the adaptive fill function unless point is on the
4590 first line of a block comment.
4592 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
4593 when the buffer ends with a macro continuation char.
4595 * cc-engine.el (c-guess-basic-syntax): Added support for
4596 function definitions as statements in Pike. The first
4597 statement in a lambda block is now labeled defun-block-intro
4598 instead of statement-block-intro.
4600 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
4601 so that the class surrounding point is selected, not the one
4602 innermost in the state.
4604 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
4605 recognition of switch labels having hanging multiline
4608 * cc-engine.el (c-beginning-of-member-init-list): Broke out
4609 some code in c-guess-basic-syntax to a separate function.
4610 * cc-engine.el (c-just-after-func-arglist-p): Fixed
4611 recognition of member inits with multiple line arglists.
4612 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
4613 member-init-cont when the commas are in funny places.
4615 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4617 * cc-defs.el (c-auto-newline): Removed this macro since it's
4620 * cc-engine.el (c-looking-at-bos): New helper function.
4621 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
4622 inexpr and toplevel classes apart in Pike.
4624 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
4627 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
4628 constant, since "class" can introduce an in-expression class
4631 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4633 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
4634 indentation on cpp-macro lines.
4636 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
4637 a syntax modifier like comment-intro, to make it possible to
4638 get syntactic indentation for preprocessor directives. It's
4639 incompatible wrt to lineup functions on cpp-macro, but it has
4640 no observable effect in the 99.9% common case where cpp-macro
4643 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4645 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
4646 member-init-cont when the preceding arglist is several lines.
4648 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4650 * cc-styles.el (c-style-alist): The basic offset for the BSD
4651 style corrected to 8.
4653 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4655 * cc-styles.el (c-style-alist): Adjusted the indentation of
4656 brace list openers in the gnu style.
4658 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4660 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
4662 * cc-cmds.el (c-electric-brace, c-electric-slash,
4663 c-electric-star, c-electric-semi&comma, c-electric-colon,
4664 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
4665 when c-syntactic-indentation is nil.
4667 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
4668 we were left at comments preceding the first statement when
4669 reaching the beginning of the buffer.
4671 * cc-vars.el (c-syntactic-indentation): New variable to turn
4672 off all syntactic indentation.
4674 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4676 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
4677 between the text and the block comment ender when it hangs,
4678 depending on how many there are before the fill.
4680 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4682 * cc-engine.el (c-beginning-of-closest-statement): New helper
4683 function to go back to the closest preceding statement start,
4684 which could be inside a conditional statement.
4685 * cc-engine.el (c-guess-basic-syntax): Use
4686 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
4688 * cc-engine.el (c-guess-basic-syntax): Better handling of
4689 arglist-intro, arglist-cont-nonempty and arglist-close when
4690 the arglist is nested inside parens. Cases 7A, 7C and 7F
4693 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
4694 up-to-date with javadoc 1.2.
4696 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4698 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
4699 multiline Pike type decls.
4701 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4703 * cc-cmds.el (c-indent-new-comment-line): Always break
4704 multiline comments in multiline mode, regardless of
4707 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4709 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
4710 fully::qualified::names in C++ member init lists. Preamble in
4713 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4715 * cc-langs.el (c-common-init): Handling of obsolete variables
4716 moved to c-initialize-cc-mode. More compatible style override
4717 when using global style variables.
4718 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
4719 variables moved here.
4721 * cc-mode.texi: Documented the special behavior of
4722 c-special-indent-hook as a style variable. Don't talk about
4723 doing (c-make-styles-buffer-local t) in a mode hook, since
4724 that's already too late to work right.
4726 * cc-styles.el (c-make-styles-buffer-local): Flag style
4727 variable localness in c-style-variables-are-local-p to make
4728 the compatibility measure in c-common-init work well.
4730 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
4731 longer contain set-from-style.
4732 * cc-styles.el (c-initialize-builtin-style): Don't check for
4733 set-from-style on c-special-indent-hook.
4734 * cc-styles.el (c-copy-tree): Obsolete. The standard function
4735 copy-alist is sufficient now.
4737 * cc-styles.el (c-set-style, c-set-style-1,
4738 c-get-style-variables): Fixes to variable initialization so
4739 that duplicate entries in styles have the same effect
4740 regardless of DONT-OVERRIDE.
4742 * cc-styles.el (c-set-style-2): Fixed bug where the
4743 initialization of inheriting styles failed when the
4744 dont-override flag is set.
4746 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
4749 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4751 * cc-defs.el (c-forward-comment): Removed the workaround
4752 introduced in 5.38 since it had worse side-effects. If a line
4753 contains the string "//\"", it regarded the // as a comment
4754 start since the \ temporarily doesn't have escape syntax.
4756 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
4758 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
4759 ada-xref.el before ada-prj.el, so that the Project menu is created
4760 when ada-prj tries to add to it.
4761 (ada-activate-keys-for-case): Suppress the characters that are not
4762 part of the Ada syntax. Better compatibility with else-mode
4763 (ada-adjust-case-interactive): When auto-casing is not active,
4764 correctly insert newlines (used to insert only ^M). Prevent the
4765 syntax table from being changed in case of an error
4766 (or '_' becomes part of a word and some commands are confused).
4767 Do nothing if ada-auto-case is nil.
4768 (ada-after-keyword-p): Ignore keywords that are also attributes
4769 (ada-batch-reformat): Update usage comment
4770 (ada-call-from-contextual-menu): New function
4771 (ada-case-read-exceptions): Reinitialize the casing exception list
4772 first to nil first, so that the casing exception file can be
4774 (ada-check-defun-name): Handles "configure" keyword for gnatdist
4776 (ada-compile-goto-error): Fix regexp used to detect a file:line
4777 anywhere in the error message
4778 (ada-contextual-menu-last-point): New variable
4779 (ada-create-keymap): If the variable delete-key-deletes-forward is
4780 t on XEmacs, it means that DEL should delete one character
4782 (ada-create-menu): Use :included instead of :visible for XEmacs.
4783 New submenu "Options".
4784 (ada-end-stmt-re): Correctly indent "select ... then abort"
4786 (ada-fill-comment-paragraph): Correctly delete all leading '--'
4787 even if they don't match ada-fill-comment-prefix Fix handling of
4788 paragraphs on the first or last line of a file.
4789 (ada-format-paramlist): Fix handling of default parameter values.
4790 (ada-get-body-name): New function.
4791 (ada-get-current-indent): Optimized by searchling directly for an
4792 existing generic part or a statement outside of it. Handle
4793 ada-indent-align-comments when indenting comments Replaced some
4794 regexps by testing directly the next character. This results in a
4795 huge speedup on some files. New indentation scheme for renames
4796 statements. Stop looking for the 'while' or 'for' associated with
4797 a 'loop' at the first semicolon encountered. A "return" can also
4798 match an anonymous access subprogram declaration.
4799 (ada-get-indent-noindent): Ignore strings and comments when
4800 looking for the keywords "record" and "private".
4801 (ada-goto-matching-decl-start): When matching "if", make sure we
4802 are not in fact seeing "end if". Ignore "when" statements except
4803 when initial keyword was "begin". Fix handling of nested
4804 procedures. Add a recursive call to this function to skip over
4805 other 'end' statmts. Fix indentation for "when .. => begin"
4806 (ada-in-open-paren-p): Fix indentation for complex boolean
4807 expressions, where 'and then', 'or else' and parenthesis
4808 statements are mixed up.
4809 (ada-in-paramlist-p): Skip comments while searching for the
4810 beginning Fix handling of operator declarations.
4811 (ada-indent-align-comments): New variable
4812 (ada-indent-current): Change the syntax table only in the
4813 protected section, so that we are sure it is restored correctly.
4814 (ada-indent-on-previous-lines): Use ada-use-indent and
4815 ada-with-indent Correctly indent "select ... then"
4816 (ada-indent-region): Slight speedup.
4817 (ada-indent-renames): New variable.
4818 (ada-last-which-function-subprog, ada-last-which-function-line):
4820 (ada-looking-at-semi-private): Correctly indent the 'private'
4821 keyword when it is the first word in a package declaration.
4822 (ada-loose-case-word): Stop searching if at the end of the buffer.
4823 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
4824 even if point is not initially at the end of the word.
4825 (ada-matching-decl-start-re): Add "when".
4826 (ada-mode): Add support for abbrev-mode, outline-mode and
4827 which-func-mode Override the old find-file.el entry in
4828 ff-special-constructs since it is using the obsolete
4829 ada-spec-suffix variable
4830 (ada-no-auto-case): New function
4831 (ada-scan-paramlist): When parsing the argument type, accept
4832 spaces (as in "X 'Class", generated by Rational Rose).
4833 (ada-other-file-name): No longer loads the other file.
4834 (ada-popup-menu): Save and restore the current buffer and cursor
4835 position before and after displaying the menu.
4836 (ada-search-ignore-complex-boolean): New function.
4837 (ada-uncomment-region): Emacs21 already knows how to delete
4838 comments not starting in the first column.
4839 (ada-use-indent): New variable
4840 (ada-which-function): New function.
4841 (ada-with-indent): New variable
4842 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
4843 can be batch-compiled from the command line.
4845 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
4846 Add to the menu when the file is loaded, not in ada-mode-hook.
4847 Add -toolbar to the default ddd command Switches moved from
4848 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
4849 ada-prj-default-comp-opt
4850 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
4851 Reference Manual to the menu
4852 (ada-check-current): rewritten as a call to ada-compile-current
4853 (ada-compile): Removed.
4854 (ada-compile-application, ada-compile-current, ada-check-current):
4855 Set the compilation-search-path so that compile.el automatically
4856 finds the sources in src_dir. Automatic scrollong of the
4857 compilation buffer. C-uC-cC-c asks for confirmation before
4859 (ada-compile-current): New parameter, prj-field
4860 (ada-complete-identifier): Load the .ali file before doing
4862 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
4863 conform to gnatmake's behavior.
4864 (ada-find-file-in-dir): New function
4865 (ada-find-references): Set the environment variables for gnatfind
4866 (ada-find-src-file-in-dir): New function.
4867 (ada-first-non-nil): Removed
4868 (ada-gdb-application): Add support for jdb, the java debugger.
4869 (ada-get-ada-file-name): Load the original-file first if not done
4871 (ada-get-all-references): Handles the new ali syntax (parent types
4872 are found between <>).
4873 (ada-initialize-runtime-library): New function
4874 (ada-mode-hook): Always load a project file when a file is opened,
4875 so that the casing exceptions are correctly read.
4876 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
4877 (ada-parse-prj-file): Use find-file-noselect instead of find-file
4878 to open the project file, since the latter does not work with
4879 speedbar Get default values before loading the prj file, or the
4880 default executable file name is wrong. Use the absolute value of
4881 src_dir to initialize ada-search-directories and
4882 compilation-search-path,... Add the standard runtime library to
4883 the search path for find-file.
4884 (ada-prj-default-debugger): Was missing an opening '{'
4885 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
4887 (ada-prj-default-gnatmake-opt): New variable
4888 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
4889 buffers, the project file is the default one Save the windows
4890 configuration before displaying the menu.
4891 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
4892 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
4893 ...) regexp-quote identifiers names to support operators +,
4895 (ada-remote): New function.
4896 (ada-run-application): Erase the output buffer before starting the
4897 run Support remote execution of the application. Use
4898 call-process, or the arguments are incorrectly parsed
4899 (ada-set-default-project-file): Reread the content of the active
4900 project file, not the one from the current buffer When a project
4901 file is set as the default project, all directories are
4902 automatically associated with it.
4903 (ada-set-environment): New function
4904 (ada-treat-cmd-string): New special variable ${current}
4905 (ada-treat-cmd-string): Revised. The substitution is now done for
4906 any ${...} substring
4907 (ada-xref-current): If no body was found, compiles the spec
4908 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
4909 compiler to get rid of command line length limitations.
4910 (ada-xref-get-project-field): New function
4911 (ada-xref-project-files): New variable
4912 (ada-xref-runtime-library-specs-path)
4913 (ada-xref-runtime-library-ali-path): New variables
4914 (ada-xref-set-default-prj-values): Default run command now does a
4915 cd to the build directory. New field: main_unit Provide a default
4916 file name even if the current buffer has no prj file.
4919 Rewritten to show a tabbed-dialog.
4920 (ada-prj-add-ada-menu): Remove the map and name parameters.
4921 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
4923 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
4924 (ada-prj-load-from-file): New function
4925 (ada-prj-save): Always save fields that depend on the current buffer
4926 (ada-prj-show-value): New function
4928 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
4929 Ada mode. This will allow us to display the Ada menu in any buffer
4930 we want (for project items).
4931 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
4932 number of spaces in the header.
4934 2000-07-24 Dave Love <fx@gnu.org>
4936 * ediff-init.el (ediff-region-help-echo): Bind face-help.
4938 2000-07-23 Noah Friedman <friedman@splode.com>
4940 * type-break.el (type-break): perform autosave.
4941 Suggested by Stephen Gildea <gildea@intouchsys.com>.
4942 (type-break-do-query): Cancel query schedule while performing
4943 actual query, to avoid possibility of a second query being made
4944 while first one is already in progress.
4945 (type-break-time-stamp-format): New variable.
4946 (type-break-time-stamp): New function.
4947 (type-break-time-warning): Use it.
4948 (type-break-keystroke-warning): Use it.
4949 (type-break-noninteractive-query): Use it.
4951 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
4953 Use add-minor-mode to set minor-mode-alist, if available.
4954 (eldoc-echo-area-use-multiline-p): New user option.
4955 (eldoc-echo-area-multiline-supported-p): New variable.
4956 (eldoc-docstring-format-sym-doc): Use them.
4957 (eldoc-mode): If not using idle timers, append to local post and
4958 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
4959 (eldoc-display-message-no-interference-p): Don't interfere with
4961 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
4962 (eldoc-function-arglist): New function.
4963 (eldoc-function-argstring): Use it.
4965 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
4966 auto save directory exists before calling directory-files.
4968 2000-07-23 Dave Love <fx@gnu.org>
4970 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
4973 2000-07-21 Dave Love <fx@gnu.org>
4975 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
4976 now passed to the function. It now works properly.
4978 * smerge-mode.el (smerge-mode-menu): Fill it out.
4980 2000-07-20 Gerd Moellmann <gerd@gnu.org>
4982 * info-look.el (info-lookup): If *info* is shown in another frame
4983 on the same display, select that frame, instead of switching to
4984 the Info buffer in another window of the selected frame.
4986 * simple.el (universal-argument-map): Bind numeric keypad keys
4987 kp-0 to kp-9 and kp-subtract.
4988 (digit-argument): Handle these keys.
4990 2000-07-20 Dave Love <fx@gnu.org>
4992 * net/goto-addr.el (goto-address-fontify): Don't bother with
4993 buffer-modified and read-only stuff -- irrelevant with overlays.
4994 Put an extra property on the overlays and use it to clean up in
4995 case goto-address is re-run.
4997 2000-07-19 Richard M. Stallman <rms@gnu.org>
4999 * timer.el (run-with-idle-timer): Doc fix.
5001 * mail/mail-utils.el (mail-strip-quoted-names):
5002 Handle case where <...> appears inside "...".
5003 Use replace-match to edit the string more simply.
5004 (rmail-dont-reply-to): Cope with an unmatched ".
5006 2000-07-19 Dave Love <fx@gnu.org>
5008 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
5011 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
5012 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
5013 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
5015 2000-07-19 Gerd Moellmann <gerd@gnu.org>
5017 * textmodes/refer.el: Correct maintainer's email address.
5019 * progmodes/hideif.el: Correct author's email address.
5020 Fix typo in comment.
5024 * mail/mailheader.el: Correct author's mail address.
5026 * gnus/parse-time.el: Correct author's mail address.
5028 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
5030 * comint.el (comint-highlight-input, comint-highlight-face):
5032 (comint-input-ring-file-name): Change custom type.
5033 (comint-mode-map): Bind mouse-2.
5034 (comint-insert-clicked-input): New function.
5035 (comint-send-input): Handle input highlighting.
5037 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
5039 * mouse.el (popup-menu): New function.
5040 (mouse-major-mode-menu): Use it.
5042 2000-07-18 Dave Love <fx@gnu.org>
5044 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
5047 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5049 * faces.el (face-font-selection-order)
5050 (face-font-family-alternatives): Add custom type.
5052 2000-07-18 Dave Love <fx@gnu.org>
5054 * cus-edit.el (custom-variable-reset-saved)
5055 (custom-variable-reset-standard): Remove unused bindings.
5057 * rect.el (open-rectangle-line): Remove unused let.
5059 * hl-line.el (hl-line-highlight): Check hl-line-mode.
5061 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5063 * cdl.el: Fix `Maintainer' keyword.
5065 * play/pong.el: Add author's email address.
5067 2000-07-17 Sam Steingold <sds@gnu.org>
5069 * files.el (insert-directory): Call `split-string' instead of
5072 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5074 * mail/vms-pmail.el: Change maintainer to FSF.
5076 * net/goto-addr.el: Change maintainer to FSF.
5078 * recentf.el: Update from author.
5080 * info.el (Info-title-face-alist): Removed.
5082 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
5084 * eshell/eshell.el (eshell): Replace links to eshell.info with
5085 links to eshell, to avoid problems on systems where the manual is
5086 installed as `eshell'.
5087 * eshell/esh-cmd.el (eshell-cmd): Ditto.
5088 * eshell/em-smart.el (eshell-smart): Ditto.
5089 * eshell/em-banner.el (eshell-banner): Ditto.
5090 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
5092 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
5093 same-file check in the MS-DOS version (it does support inodes).
5095 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
5097 * eshell/eshell.el (eshell-directory-name):
5098 Run default directory name through convert-standard-filename.
5100 2000-07-18 Kenichi Handa <handa@etl.go.jp>
5102 * international/mule-cmds.el (select-safe-coding-system):
5103 Fix typo in the comment.
5105 * language/european.el (compound-text):
5106 Force katakana-jisx0201 to be designated to G1.
5108 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
5109 Don't translate some national variant characters of latin-jisx0201.
5110 (x-ctext): Force katakana-jisx0201 to be designated to G1.
5112 * international/kkc.el (kkc-after-update-conversion-functions):
5114 (kkc-update-conversion): Run functions in it at the tail.
5116 2000-07-16 John Wiegley <johnw@gnu.org>
5118 * lisp/align.el (align-newline-and-indent):
5119 Adding new function. for auto-aligning blocks of code on RET.
5120 (align-region): Fixed badly formatted minibuffer message.
5122 2000-07-17 Kenichi Handa <handa@etl.go.jp>
5124 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
5125 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
5126 the conversion list at first if appropriate.
5127 (kkc-next): Don't update kkc-next-count here.
5128 (kkc-prev): Don't update kkc-prev-count here.
5129 (kkc-show-conversion-list-update): Fix setting up of conversion
5132 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
5134 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
5136 2000-07-16 Dave Love <fx@gnu.org>
5138 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
5139 function to be more specific.
5141 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
5142 non-string help-echo.
5143 (widget-types-convert-widget): Defsubst it.
5144 (widget-echo-help): Try to cope with a help-echo function of two
5147 2000-07-15 Jason Rumney <jasonr@gnu.org>
5149 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5150 Declare as obsolete.
5152 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
5154 2000-07-14 Gerd Moellmann <gerd@gnu.org>
5156 * hilit-chg.el: Fix typo.
5158 2000-07-14 Dave Love <fx@gnu.org>
5160 * info.el (Info-mode-menu): Fix use of :help, :enable.
5162 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
5164 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
5166 2000-07-13 Dave Love <fx@gnu.org>
5168 * emacs-lisp/easymenu.el: Doc fixes.
5169 (easy-menu-remove): Defalias to ignore.
5171 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
5172 Call throw correctly.
5174 2000-07-13 Gerd Moellmann <gerd@gnu.org>
5176 * faces.el (frame-background-mode): Doc fix.
5178 * simple.el (eval-expression-print-length): Change custom type to
5179 allow entering nil as value.
5181 2000-07-13 Dave Love <fx@gnu.org>
5183 * progmodes/fortran.el (fortran-imenu-generic-expression):
5184 Change definition layout.
5185 (fortran-mode-menu): Reinstate customize entries.
5187 * cus-edit.el (custom-group-menu-create, customize-menu-create):
5188 Use :filter, per old XEmacs code.
5190 2000-07-12 Gerd Moellmann <gerd@gnu.org>
5192 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
5193 event when deciding what to send to the terminal.
5195 2000-07-12 Dave Love <fx@gnu.org>
5197 * cus-start.el: Add optional version as 4th element of specs and
5198 use it for several things new in v21. Remove load-path. Fix type
5199 of line-number-display-limit.
5201 2000-07-11 Dave Love <fx@gnu.org>
5203 * progmodes/fortran.el: Don't require easymenu.
5204 Use repeat counts in various regexps.
5205 (fortran-mode-syntax-table): Defvar directly.
5206 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
5207 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
5208 Use defvar, not defconst.
5209 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
5210 (fortran-mode): Set fortran-comment-line-start-skip,
5211 fortran-comment-line-start-skip, dabbrev-case-fold-search.
5212 (fortran-comment-indent): Use defsubst.
5213 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
5214 Use fortran-comment-indent, not fortran-comment-indent-function.
5215 (fortran-comment-region, fortran-electric-line-number): Simplify.
5216 (fortran-auto-fill): New function.
5217 (fortran-do-auto-fill): Deleted.
5218 (fortran-find-comment-start-skip):
5219 Check for non-null comment-start-skip.
5220 (fortran-auto-fill-mode, fortran-fill-statement):
5221 Use fortran-auto-fill.
5222 (fortran-fill): Use fortran-auto-fill. Check for null
5223 comment-start-skip. Simplify final clause and use end-of-line finally.
5225 * widget.el (widget-plist-member): New alias.
5227 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
5229 * eshell/esh-module.el (toplevel): Reference
5230 byte-compile-current-file only if it is bound.
5232 2000-07-10 Gerd Moellmann <gerd@gnu.org>
5234 * dired.el: Don't require `dired-aux'.
5236 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
5238 * dired-aux.el (dired-show-file-type): New function.
5239 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
5240 (dired-show-file-type): Add autoload.
5242 2000-07-10 Kenichi Handa <handa@etl.go.jp>
5244 * international/mule-diag.el (describe-font): Adjusted for the
5245 change of fontset-info.
5246 (print-fontset): Likewise.
5248 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
5250 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
5252 2000-07-07 Gerd Moellmann <gerd@gnu.org>
5254 * bindings.el: Bind `[delete]' to delete-char.
5256 * dired.el (dired-find-alternate-file): New function.
5257 (dired-mode-map): Bind `a' to dired-find-alternate-file.
5258 (toplevel): Require dired-aux when compiling.
5259 (dired-buffers): Move defvar within file to avoid compiler warning.
5261 * info.el (Info-last-search): Variable removed.
5262 (Info-search-history): New variable.
5263 (Info-search): New Info-search-history.
5265 * battery.el, info-look.el: Change author's mail address.
5267 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5269 * mail/rmail.el (rmail-clear-headers): Don't throw an error
5270 if rmail-ignored-headers is nil.
5271 (rmail-retry-failure): Bind rmail-ignored-headers and
5272 rmail-displayed-headers to nil.
5274 2000-07-06 Gerd Moellmann <gerd@gnu.org>
5276 * lpr.el (lpr-page-header-switches): Add `-h' switch.
5277 (print-region-1): Don't hard code `-h' here.
5279 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
5281 2000-07-01 Francesco Potorti` <pot@gnu.org>
5283 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
5284 exim can use "your message" instead of "the message".
5286 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
5288 * facemenu.el: Docstrings fixes.
5289 (facemenu-get-face): Don't use internal-find-face.
5290 (facemenu-iterate): Rename arg to match the docstring.
5292 * newcomment.el (uncomment-region): Be more careful when skipping
5293 backwards over `=' not to bump into BOBP.
5295 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
5297 * ediff-diff.el (ediff-wordify): Use syntax table.
5298 * ediff-init.el (ediff-has-face-support-p): Use
5299 ediff-color-display-p.
5300 (ediff-color-display-p): Use display-color-p, changed to defun
5302 Got rid of special cases for NeXT and OS/2.
5303 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
5306 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5308 * emacs-lisp/lucid.el: Require CL.
5309 (copy-tree, remprop): Remove, it's provided by CL.
5310 (map-keymap): Define in terms of cl-map-keymap.
5311 (extent-property, set-extent-end-glyph): New functions.
5313 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
5315 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5317 * Makefile.in (DONTCOMPILE): Add comment that the name may
5318 not be changed without changing the make-dist script.
5320 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
5321 (cl-mapc): Use mapc instead of cl-old-mapc.
5323 2000-07-05 Andrew Innes <andrewi@gnu.org>
5325 * makefile.nt: Add support for `bootstrap' and related targets.
5327 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5329 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
5330 (easy-menu-do-define): Use `menu-item' format.
5331 Handle case where easy-menu-create-menu returns a symbol.
5332 Manually call the potential top-level filter in the function binding.
5333 (easy-menu-filter-return): New arg NAME.
5334 Convert to a keymap if MENU is an XEmacs menu.
5335 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
5336 (easy-menu-converted-items-table, easy-menu-convert-item):
5337 New var and fun to memoize easy-menu-convert-item-1.
5338 (easy-menu-do-add-item): Use it.
5339 (easy-menu-create-menu): Use easy-menu-convert-item.
5340 Wrap easy-menu-filter-return around any :filter specification.
5341 Don't convert the menu if a filter was specified.
5342 Tell easy-menu-make-symbol not to check for MENU being an expression.
5343 (easy-menu-make-symbol): New arg NOEXP.
5345 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5347 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
5348 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
5349 (eval-defun): If called with prefix arg, instrument code for
5352 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
5353 similar to that of eval-defun.
5355 2000-07-04 Dave Love <fx@gnu.org>
5357 * hl-line.el (hl-line-overlay): Make it permanent-local.
5359 * calendar/todo-mode.el: Replaced with a working version, based on
5360 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
5362 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
5364 * paths.el (prune-directory-list): New function.
5365 (Info-default-directory-list): Rewritten to more methodically
5366 enumerate a big list of possible info directories (based on the
5367 list used by the standalone info reader).
5369 * info.el (info-initialize): Use prune-directory-list to remove
5370 non-existent directories from Info-directory-list.
5372 * paths.el (Info-default-directory-list): Try a list of possible
5373 info-directories instead of a single one. Add the possible
5374 info directory "/usr/share/info".
5376 * woman.el (woman-man.conf-path): Explicitly include the debian
5377 man-db config file "/etc/manpath.config".
5378 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
5379 are present in `manpath.config'.
5380 (woman-manpath): Include "/usr/share/man".
5382 2000-07-03 Gerd Moellmann <gerd@gnu.org>
5384 * frame.el (blink-cursor-mode): Don't hide cursor initially.
5386 * startup.el (command-line): Initialize blink-cursor based
5389 * frame.el (blink-cursor): Default to nil if not running under
5392 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
5393 (face-x-resources): Remove duplicate entry for :font.
5395 * textmodes/refer.el (refer-find-entry-internal): Use some-window
5396 instead of cycling through windows with next-window.
5398 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
5399 of cycling through windows with next-window.
5401 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
5402 of cycling through windows with next-window.
5404 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
5405 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
5406 instead of cycling through windows with next-window.
5408 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
5409 instead of cycling through windows with next-window.
5411 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
5412 of cycling through windows with next-window.
5414 * terminal.el (te-process-output): Use walk-windows instead of
5415 cycling through windows with next-window.
5417 * server.el (server-switch-buffer): Use some-window instead of
5418 cycling through windows with next-window.
5420 * window.el (some-window): New function.
5421 (walk-windows): Remove reference to walk-windows-start.
5423 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
5425 2000-07-03 Richard Stallman <rms@gnu.org>
5427 * window.el (walk-windows): Guarantee termination by keeping a list
5428 of all the windows already handled.
5430 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5432 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
5435 * man.el (Man-notify-when-ready): Don't use window-system. If
5436 Man-notify-method is newframe, and the display is not
5437 multi-frame, select the frame created for the man page.
5438 (Man-init-defvars): Doc fix.
5440 2000-06-28 Gerd Moellmann <gerd@gnu.org>
5442 * faces.el (region): Change background color for light background.
5444 * ediff-wind.el (ediff-setup-control-frame): Remove :box
5445 attribute from mode-line face of Ediff control frame.
5447 * replace.el (query-replace-map): Bind `e' like `E'.
5449 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5451 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
5452 Change name to "Select All".
5454 * dos-fns.el (convert-standard-filename): Fix last change.
5456 2000-06-27 Gerd Moellmann <gerd@gnu.org>
5458 * help.el (describe-variable): Don't insert a second `'s' in front
5459 of the string `value is shown below'. Since the syntax-table is
5460 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
5461 an existing `'s', so that this won't be deleted.
5463 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
5464 * pcmpl-unix.el: New files.
5466 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
5468 * wid-edit.el (widget-member): Use the new plist-member.
5470 2000-06-26 Gerd Moellmann <gerd@gnu.org>
5472 * replace.el (perform-replace): Undo change of 2000-04-04.
5473 Instead, move backward 1 character at the end of the loop when
5476 * faces.el (fringe): Change face for different backgrounds.
5478 * eshell/esh-module.el (toplevel): Load defgroup's differently;
5481 * eshell/*.el: Change spelling of the Free Software Foundation.
5483 * eshell/esh-toggle.el: Removed.
5485 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
5487 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
5490 2000-06-26 Alex Schroeder <alex@gnu.org>
5492 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
5493 `define-key'; instead of checking `(emacs-version)' check for
5494 `set-keymap-parent' and `set-keymap-name' directly. Add entries
5495 for `;' and `o' which might be electric.
5497 (sql-electric-stuff): New user option.
5498 (sql-magic-go): New function which uses `sql-electric-stuff'.
5499 (sql-magic-semicolon): New function which uses
5500 `sql-electric-stuff'.
5502 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
5505 (sql-oracle-options): New variable.
5506 (sql-oracle): Use it.
5508 (sql-imenu-generic-expression): Doc change.
5509 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
5512 (sql-informix): Added command line parameter "-" to force
5513 sql-informix-program to use stdout.
5515 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
5517 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
5518 (cp864-decode-table): Doc fix.
5519 (cp720-decode-table): New variable, supports the Arabic OEM
5520 codepage used by Windows.
5521 (cp737-decode-table): New, Greek OEM codepage used by Windows.
5523 2000-06-23 Dave Love <fx@gnu.org>
5525 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
5526 (font-lock-fontify-anchored-keywords): Use
5527 line-beginning-position.
5528 (global-font-lock-mode): Use mapc.
5530 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
5532 * eshell/esh-module.el: Require CL when compiling.
5534 2000-06-23 Gerd Moellmann <gerd@gnu.org>
5536 * comint.el (comint-substitute-in-file-name): Call replace-match
5537 with second and third arg t.
5539 * cus-edit.el (custom-button-face, custom-button-pressed-face):
5540 Specify foreground color.
5542 * faces.el (tool-bar, mode-line, header-line): Specify foreground
5545 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
5547 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
5548 cddr instead of cdddr.
5550 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
5551 instead of copy-list.
5553 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
5556 * subdirs.el: Add eshell subdirectory.
5558 * eshell: New subdirectory containing the Eshell package.
5560 * pcomplete.el: New file.
5562 2000-06-23 Paul Eggert <eggert@twinsun.com>
5564 * mail/mailpost.el (post-mail-send-it): Make sure file has
5565 proper permissions from birth.
5567 * files.el (basic-save-buffer-2): When temporarily setting
5568 file modes, set them to current modes plus 0200, not to 0777.
5570 * emerge.el (emerge-make-temp-file): Make sure file has proper
5571 permissions from birth.
5573 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
5575 * files.el (make-backup-file-name-1): On DOS/Windows, run the
5576 backup file name through convert-standard-filename.
5578 * dos-fns.el (convert-standard-filename): Convert leading
5579 directories as well. When long file names are supported, convert
5580 characters that are invalid in Windows file names.
5582 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5584 * ps-print.el: Fix bug: if ^L is the very first buffer character,
5585 ps-print crashes. New feature: page selection for printing. Create
5586 raw-text-unix coding system for XEmacs. Doc fix.
5587 (ps-print-version): New version number (5.2.3).
5588 (ps-plot-region): Bug fix.
5589 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
5590 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
5591 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
5593 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
5594 (ps-last-page): New vars.
5596 2000-06-21 Gerd Moellmann <gerd@gnu.org>
5598 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
5599 empty option string.
5601 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
5603 * man.el (man): Doc fix.
5605 2000-06-21 Kenichi Handa <handa@etl.go.jp>
5607 * international/mule-cmds.el (set-language-info-alist): Docstring
5610 2000-06-20 Gerd Moellmann <gerd@gnu.org>
5612 * version.el (emacs-version): Use ISO date format.
5614 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
5615 instead of `M-backspace'.
5617 * simple.el (turn-off-auto-fill): New function.
5619 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
5621 * jit-lock.el (with-buffer-prepared-for-jit-lock):
5622 Renamed from with-buffer-prepared-for-font-lock and use
5623 inhibit-modification-hooks rather than setting *-change-functions.
5624 Update all functions to use the new name.
5625 (jit-lock-first-unfontify-pos): New semantics (and doc).
5626 (jit-lock-mode): Make non-interactive.
5627 Don't automatically turn on font-lock.
5628 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
5629 Always use jit-lock-after-change.
5630 Remove and restore font-lock-after-change-function.
5631 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
5632 (jit-lock-after-unfontify-buffer): Remove.
5633 (jit-lock-stealth-fontify):
5634 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
5635 (jit-lock-after-change): Set the `fontified' text-prop to nil.
5637 2000-06-20 Sam Steingold <sds@gnu.org>
5639 * emacs-lisp/cl-indent.el (toplevel): Indent
5640 `print-unreadable-object' properly. Untabify.
5642 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5644 * textmodes/reftex.el (reftex-find-citation-regexp-format):
5645 Support for bibentry.
5646 (reftex-compile-variables): Fixed problem with end of section-re.
5648 * texmodes/reftex-dcr.el (reftex-view-crossref,
5649 reftex-view-crossref-from-bibtex):
5650 Deal with changed `reftex-find-citation-regexp-format'.
5651 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
5652 Replaced `remprop' with `put'.
5653 (reftex-view-crossref, reftex-view-crossref-when-idle):
5654 Support for bibentry.
5656 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
5657 New entry for bibentry package.
5659 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
5660 Regexp also matches "\nobibliography".
5662 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
5663 Call `reftex-ensure-write-access' before doing anything.
5664 (reftex-ensure-write-access): New function.
5666 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
5668 * progmodes/idlwave.el: File re-installed (update to version 4.2)
5670 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
5672 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
5674 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
5677 2000-06-20 Dave Love <fx@gnu.org>
5679 * faces.el (frame-background-mode): Use set-default, not set, in
5681 (frame-update-faces, frame-update-face-colors): Define with
5684 * enriched.el (enriched-decode-foreground)
5685 (enriched-decode-background): Don't use internal-find-face.
5687 * apropos.el: Doc fixes.
5689 * cus-edit.el (customize-changed-options): Check arg.
5690 (customize-version-lessp): Don't require decimal point.
5692 * custom.el (defcustom, defgroup): Doc fix.
5694 * newcomment.el (comment) <defgroup>: Add :version.
5695 (comment-multi-line): Doc fix.
5697 * emulation/mlsupport.el (define-hooked-local-abbrev,
5698 define-hooked-global-abbrev): Fix, using define-abbrev.
5700 2000-06-19 Gerd Moellmann <gerd@gnu.org>
5702 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
5705 2000-06-19 Dave Love <fx@gnu.org>
5707 * menu-bar.el (menu-bar-options-save): New function.
5708 (menu-bar-options-menu): Use it.
5709 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
5712 2000-06-19 Andreas Schwab <schwab@suse.de>
5714 * progmodes/etags.el (tags-query-replace): Put new parameters
5715 START and END at the end, for backward compatibility.
5717 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5719 * international/codepage.el:
5720 (cp-coding-system-for-codepage-1): Delete special codes for
5721 generating xxx-dos coding system because now a CCL based coding
5722 system can handle EOL conversion by default.
5724 * international/mule.el (make-coding-system): Generate subsidiary
5725 coding systems for EOL handling variants even for a CCL based
5728 2000-06-19 Kenichi Handa <handa@etl.go.jp>
5730 * international/isearch-x.el (isearch-minibuffer-input-method)
5731 (isearch-minibuffer-input-method-function): These variables
5733 (isearch-with-input-method): Don't use the above variables.
5734 (isearch-process-search-multibyte-characters): Likewise. Call
5735 read-string with the arg INHERIT-INPUT-METHOD t.
5737 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
5739 * font-lock.el (font-lock-after-fontify-buffer)
5740 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
5742 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
5743 Use consistent make-local-variable style for font-lock-fontified.
5744 (jit-lock-fontify-buffer):
5745 Don't bother checking for font-lock-mode and jit-lock-mode.
5747 * time.el: Remove trailing ^M that prevent CVS-merging.
5749 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5751 * Makefile.in (distclean): New target.
5753 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
5755 * Makefile.in (srcdir): Define for update-subdirs.
5757 2000-06-16 Gerd Moellmann <gerd@gnu.org>
5759 * find-lisp.el: New file.
5761 2000-06-16 Andrew Innes <andrewi@gnu.org>
5763 * time.el (display-time-mail-function): New variable, to allow
5764 external packages to indicate when new mail is available.
5765 (display-time-update): Use it.
5767 2000-06-16 Kenichi Handa <handa@etl.go.jp>
5769 * international/mule.el (mule-version): Change version name to
5770 SAKAKI. AOI has already been used by Meadow.
5772 * international/quail.el (quail-show-guidance-buf): To find the
5773 bottom window (but minibuffer), pay attention to the height of
5776 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
5778 * arc-mode.el (archive-mode-map): Use the new menu-item format for
5779 menu-bar menus. Add help strings. Don't remove the Edit menu
5780 from the menu bar, as the menu bar has enough space now.
5782 * Makefile.in (SHELL): Make sure /bin/sh is used.
5784 * woman.el (woman-man-buffer): Fix bold and underlined CJK
5785 characters, which use series of two ^H characters instead of one.
5787 2000-06-15 Gerd Moellmann <gerd@gnu.org>
5789 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
5790 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
5792 (Info-find-node-2): Try a case-sensitive search first, then
5793 do a case-insensitive search.
5795 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
5798 * complete.el (PC-env-vars-alist): New variable.
5799 (PC-complete-as-file-name): New function.
5800 (partial-completion-mode): Initialize PC-env-vars-alist from
5801 process-environment.
5802 (PC-do-completion): Handle completion of env vars.
5804 * info.el (Info-set-mode-line): Show file name in mode line,
5805 use `*Info*' instead of `Info:'.
5807 * startup.el (command-line-1): Change copyright messages to year
5810 2000-06-15 Dave Love <fx@gnu.org>
5812 * net/goto-addr.el (goto-address-fontify): Use keymap property,
5815 2000-06-15 Kenichi Handa <handa@etl.go.jp>
5817 * international/mule.el (set-buffer-file-coding-system): Almost
5818 rewritten to handle `undecided' as no-op.
5820 2000-06-14 Gerd Moellmann <gerd@gnu.org>
5822 * Makefile.in: New file.
5824 * Makefile: Removed.
5826 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
5827 (goto-address-highlight-keymap): Bind C-c RET.
5829 2000-06-14 Kenichi Handa <handa@etl.go.jp>
5831 * mail/sendmail.el (sendmail-send-it): The temporary buffer
5832 inherits buffer-file-coding-system of the current buffer.
5834 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
5835 0. Give correct argument to set-auto-coding-function.
5836 (tar-expunge): For goto-char, use (point-min), not 0.
5837 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
5838 (tar-subfile-save-buffer): Likewize.
5840 * international/mule.el
5841 (after-insert-file-set-buffer-file-coding-system): Call
5842 set-buffer-file-coding-system with the arg FORCE t.
5844 2000-06-13 Gerd Moellmann <gerd@gnu.org>
5846 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
5847 nil. Contemporary sendmails issue an X-Authentication-Warning if
5848 the sender is set with `-f'.
5850 2000-06-13 Dave Love <fx@gnu.org>
5852 * help.el (describe-function-1): Kluge around cases of functions
5853 fset to subrs whose doc doesn't match their symbol-name.
5855 * image.el (insert-image): Default STRING to a space.
5857 * info.el Doc fixes.
5858 (Info-build-node-completions): Match Ref tags.
5860 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
5862 * frame.el (display-multi-frame-p, display-multi-font-p): New
5863 defaliases for display-graphic-p.
5865 * hl-line.el: Fixed a typo in commentary.
5867 2000-06-13 Kenichi Handa <handa@etl.go.jp>
5869 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
5872 2000-06-12 Dave Love <fx@gnu.org>
5874 * image.el (insert-image): Save a little consing.
5876 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5878 * language/tibet-util.el: Convert all tibetan-1-column characters
5879 to the corresponding tibetan characters.
5880 (tibetan-add-components): Delete code for the special treatment of
5883 * language/tibetan.el (tibetan-composable-pattern): Fix previous
5885 (tibetan-vowel-transcription-alist): More rules added.
5886 (tibetan-composite-vowel-alist): New variable.
5887 (tibetan-precomposition-rule-alist): More rules added.
5889 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
5891 * startup.el (command-line): Only call menu-bar-mode if interactive.
5893 * thingatpt.el (toplevel symbol-properties):
5894 * textmodes/makeinfo.el (makeinfo-compile):
5895 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
5896 * progmodes/hideif.el (hif-compress-define-list)
5897 (hide-ifdef-use-define-alist):
5898 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
5899 (ange-ftp-vms-add-file-entry):
5900 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
5901 * man.el (Man-build-man-command):
5902 * mail/rnewspost.el (news-reply-header-hook):
5903 * info.el (Info-insert-dir):
5904 * emulation/mlconvert.el (backward-word, forward-word, setq):
5905 * emacs-lisp/gulp.el (gulp-send-requests):
5906 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
5907 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
5908 (byte-optimize-apply, end of file):
5909 * emacs-lisp/advice.el (ad-advice-class-completion-table)
5910 (ad-make-freeze-definition):
5911 * startup.el (command-line, command-line-1): Don't quote lambdas.
5913 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
5914 (cvs-cleanup-removed): New function.
5915 (cvs-cleanup-functions): New var.
5916 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
5917 some flexibility in specifying additional entries to auto-cleanup.
5918 (cvs-quickdir): New function.
5919 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
5920 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
5921 (cvs-mode-find-file): Check that we are on a filename or dirname
5922 when invoked through a mouse-click.
5923 (cvs-full-path): Remove.
5924 (cvs-dired-action): Re-introduced.
5925 (cvs-dired-noselect): Use it.
5926 (vc-post-command-functions): use this new hook if available.
5928 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
5929 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
5930 (cvs-filename-map, cvs-dirname-map): Remove.
5931 (cvs-default-action): Remove.
5932 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
5933 if the arg is really a keymap.
5934 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
5935 Don't hardcode the mapping from state (aka type) to face, but check
5936 the var cvs-fi-<type>-face instead.
5937 (cvs-fileinfo-from-entries): New function.
5939 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
5941 (cvs-find-file-and-jump): Change default to be safer.
5942 (cvs-mode-diff-map): Define it as a function as well.
5943 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
5944 Bind mouse-2 in this global map rather than with text-properties.
5946 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
5947 file to resolve the ambiguity between C(conflict) and C(need-merge).
5949 2000-06-12 Kenichi Handa <handa@etl.go.jp>
5951 * international/mule.el (set-buffer-file-coding-system): If
5952 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
5955 2000-06-12 Dave Love <fx@gnu.org>
5957 * wid-edit.el (widget-specify-button): Really suppress the face if
5960 2000-06-11 Gerd Moellmann <gerd@gnu.org>
5962 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
5964 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
5966 * imenu.el (imenu-generic-expression): Docstring fix.
5968 * composite.el (composition-function-table): Move the `put'
5969 below the autoload cookie so we can load the file before loaddefs.
5971 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
5973 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
5974 Handle easy-mmode-define-global-mode.
5975 For complex macros like define-minor-mode that can generate
5976 several autoload entries, try to autoload entries in the
5979 * emacs-lisp/easy-mmode.el (define-minor-mode):
5980 If KEYMAP is a symbol, just use it.
5981 Use byte-compile-current-file and load-file-name to infer the
5982 proper :require to pass to defcustom.
5983 Wrap the hook var into `progn' so as not to autoload it.
5984 Add a :autoload-end cookie.
5985 Be more careful about the evaluation of KEYMAP.
5986 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
5987 (define-derived-mode): Move define-abbrev-table outside of defvar.
5989 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
5991 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
5992 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
5993 (backup-compiled-files): Ignore errors during `tar'.
5994 (bootstrap): Make autoloads before elc files.
5996 2000-06-10 Kenichi Handa <handa@etl.go.jp>
5998 * international/mule.el (set-buffer-file-coding-system): If one of
5999 undecided-XXX is specified, change only EOL conversion.
6001 * international/mule-conf.el (unix): New alias for the coding
6002 system undecided-unix.
6004 2000-06-09 Dave Love <fx@gnu.org>
6006 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
6008 * progmodes/executable.el: Byte compile dynamic.
6009 (executable-insert): Change custom type.
6010 (executable-find): Add autoload cookie.
6011 (executable-make-buffer-file-executable-if-script-p): New
6012 function. After Noah Friedman.
6014 * files.el (after-save-hook): Customize, with
6015 executable-make-buffer-file-executable-if-script-p as an option.
6017 2000-06-09 Kenichi Handa <handa@etl.go.jp>
6019 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
6020 "tib24p-mule.bdf" for Tibetan.
6022 * composite.el (decompose-composite-char): Declare it as obsolete.
6024 * man.el (Man-fontify-manpage): Pay attention to underline and
6025 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
6027 2000-06-08 Gerd Moellmann <gerd@gnu.org>
6029 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
6030 Set maintainer to FSF since author isn't reachable.
6032 2000-06-08 Dave Love <fx@gnu.org>
6034 * international/mule-cmds.el (select-safe-coding-system): If
6035 DEFAULT-CODING-SYSTEM is not specified, also check the most
6036 preferred coding-system if buffer-file-coding-system is
6037 `undecided'. From Handa.
6039 2000-06-08 Kenichi Handa <handa@etl.go.jp>
6041 * international/mule.el
6042 (after-insert-file-set-buffer-file-coding-system): If the buffer
6043 size is greater than INSERTED, judget that we are not visiting.
6045 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
6047 * whitespace.el (defgroup whitespace): Comment out `:version'.
6048 XEmacs 20.4 has problems defining the group with this present.
6049 We'll have this commented out till get resolve the problem.
6051 2000-06-07 Gerd Moellmann <gerd@gnu.org>
6053 * align.el: Update from author.
6055 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
6057 * apropos.el (apropos-mode-hook): New user variable.
6058 (apropos-mode): Run apropos-mode-hook.
6060 2000-06-07 David Ponce <david@dponce.com>
6062 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
6063 commands. Require `wid-edit' at run-time.
6065 2000-06-07 David Ponce <david@dponce.com>
6067 * recentf.el: Added some "Commentary".
6068 (recentf-open-more-files, recentf-edit-list): Minor changes to
6069 move the point at the top of the file list. This behaviour is
6070 consistent with the menu one when the list contains a lot of
6072 (recentf-cleanup): Now displays the number of items removed from
6074 (recentf-relative-filter) New menu filter to show filenames
6075 relative to `default-directory'.
6077 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6079 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
6080 with/without giving an error if PostScript printer doesn't have this
6081 kind of page size. Zebra Stripe continues or restarts on next page.
6082 Manual/automatic paper feeding. Switch or not the header.
6083 (ps-print-version): New version number (5.2.2).
6084 (ps-windows-system): Include emx as a Windows system.
6085 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
6086 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
6087 (ps-background-text): Code fix.
6088 (ps-error-handler-message, ps-user-defined-prologue)
6089 (ps-print-prologue-header, ps-printer-name)
6090 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
6091 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
6092 (ps-use-face-background): Customization fix.
6093 (ps-n-up-database): Data fix.
6094 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
6095 (ps-switch-header): New vars.
6096 (ps-xemacs-color-name, ps-face-foreground-name)
6097 (ps-face-background-name, ps-boolean-constant): New funs.
6099 2000-06-07 Dave Love <fx@gnu.org>
6101 * allout.el: New version from Manheimer.
6103 2000-06-07 Kenichi Handa <handa@etl.go.jp>
6105 * textmodes/fill.el (fill-find-break-point): Check the validity of
6108 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6110 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
6111 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
6112 Call display-color-p and display-mouse-p instead of looking at
6115 2000-06-06 Dave Love <fx@gnu.org>
6117 * image.el (find-image): Doc fix. Return nil if image not found.
6118 (put-image, insert-image): Make STRING arg optional.
6120 2000-06-06 Kenichi Handa <handa@etl.go.jp>
6122 * language/vietnamese.el: Remove eval-when-compile.
6123 (viet-viscii-nonascii-translation-table): Define it as a
6124 translation table made from viet-viscii-decode-table.
6125 (viet-viscii-encode-table): Define it as a translation table made
6126 from the reverse map of above.
6127 (viet-vscii-nonascii-translation-table): Define it as a
6128 translation table made from viet-vscii-decode-table.
6129 (viet-vscii-encode-table): Define it as a translation table made
6130 from the reverse map of above.
6131 (ccl-decode-viscii): Use translate-character.
6132 (ccl-encode-viscii, ccl-encode-viscii-font)
6133 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
6136 * language/cyrillic.el: Remove eval-when-compile.
6137 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
6138 translation table made from cyrillic-koi8-r-decode-table.
6139 (cyrillic-koi8-r-encode-table): Define it as a translation table
6140 made from the reverse map of above.
6141 (ccl-decode-koi8): Use translate-character.
6142 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
6143 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
6144 a translation table made from cyrillic-alternativnyj-decode-table.
6145 (cyrillic-alternativnyj-encode-table): Define it as a translation
6146 table made from the reverse map of above.
6147 (ccl-decode-alternativnyj): Use translate-character.
6148 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
6151 * international/mule-diag.el (non-iso-charset-alist): Specify
6152 translation table symbol instead of translation table itself.
6153 (list-block-of-chars): CHARSET may be a translation table symbol.
6155 * international/mule.el (make-coding-system): If CODING-SYSTEM
6156 already exists, override it.
6158 * international/fontset.el: Use family `proportional' for Tibetan
6161 * international/ccl.el (ccl-compile-translate-character): Don't
6162 check if Rrr has property translation-table.
6163 (ccl-compile-map-multiple): Modified to avoid compiler warning.
6165 2000-06-05 Gerd Moellmann <gerd@gnu.org>
6167 * info.el: Bind case-fold-search to t when searching in case
6168 a user sets it to nil in a hook.
6170 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
6172 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6173 * hl-line.el (hl-line-mode): Use the new :global key argument.
6175 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
6176 (tar-clip-time-string): Prepend a space.
6177 (tar-grind-file-mode): Construct a string rather than modifying one.
6178 (tar-header-block-summarize): Fix docstring.
6179 Use `format' rather than an error-prone set of copy-loops.
6181 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
6182 (diff-goto-source, diff-unified->context, diff-context->unified)
6183 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
6184 understand the format output by the `-p' argument to diff.
6186 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
6187 (sh-re-done): Use defconst.
6188 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
6189 (sh-help-string-for-variable, sh-guess-basic-offset):
6190 Don't quote lambdas.
6191 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
6192 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
6194 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
6195 (mh-letter-mode): Derive from text-mode.
6196 This implicitly means that it now calls kill-all-local-variables.
6197 Also remove the Emacs-18 compatibility code.
6199 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
6200 Make use of symbol-property doc-string-elt.
6201 Use memq rather than a sequence of eq.
6202 (doc-string-elt): Fix the wrong or missing previously unused values.
6203 (autoload-print-form): New function extracted from
6204 generate-file-autoloads to allow recursion when handling progn
6205 so that defvar's and defun's docstrings are properly printed.
6206 (generate-file-autoloads): Use it.
6208 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
6209 Use find-file-hooks in the minor-mode function.
6210 Be careful not to loop indefinitely in the post-command-hook function.
6212 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
6214 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
6216 * ediff-diff.el (ediff-exec-process): Use --binary for fine
6217 differences whenever appropriate.
6218 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
6219 * viper.el (find-file, find-file-other-window): Get viper to do
6222 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
6224 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
6225 (jit-lock-fontify-buffer): New function for JIT refontification.
6226 (jit-lock-mode): Fix docstring.
6227 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
6228 Remove jit-lock-after-change from the _local_ hook.
6229 (jit-lock-function-1): Fix docstring.
6231 * info.el (Info-on-current-buffer): Initialize info.
6233 * newcomment.el (comment-indent): Ignore comment-indent-hook.
6235 * progmodes/tcl.el (tcl-indent-for-comment):
6236 Ignore comment-indent-hook.
6238 * emacs-lisp/easy-mmode.el: Require CL during compilation.
6239 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
6240 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
6241 and improve to use the lighter to guess the capitalization.
6242 (define-minor-mode): Inline code from easy-mmode-define-toggle.
6243 Add keyword arguments to specify global-ness or the custom group.
6244 Add local-map and help-echo properties to the lighter.
6245 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
6246 (easy-mmode-define-global-mode): New macro.
6248 2000-06-02 Dave Love <fx@gnu.org>
6250 * wid-edit.el: byte-compile-dynamic since we typically don't use
6251 all the widgets. Don't require cl or widget. Remove
6252 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
6253 (widget-read-event): Removed. Callers changed to use read-event.
6254 (widget-button-release-event-p): Renamed from
6255 button-release-event-p.
6256 (widget-field-add-space, widget-field-use-before-change):
6258 (widget-specify-field): Use keymap property, not local-map.
6259 (widget-specify-button): Obey :suppress-face.
6260 (widget-specify-insert): Use modern backquote syntax.
6261 (widget-image-directory): Renamed from widget-glyph-directory.
6262 (widget-image-enable): Renamed from widget-glyph-enable.
6263 (widget-image-find): Replaces widget-glyph-find.
6264 (widget-button-pressed-face): Move defvar.
6265 (widget-image-insert): Replaces widget-glyph-insert.
6266 (widget-convert): Use keywordp.
6267 (widget-leave-text, widget-children-value-delete): Use mapc.
6268 (widget-keymap): Remove XEmacs stuff.
6269 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
6270 (widget-button-click): Don't set point at the click, but re-centre
6271 if we scroll out of window. Rewritten for images v. glyphs &c.
6272 (widget-tabable-at): Use POS arg, not point.
6273 (widget-beginning-of-line, widget-end-of-line)
6274 (widget-item-value-create, widget-sublist, widget-princ-to-string)
6275 (widget-sexp-prompt-value, widget-echo-help): Simplify.
6276 (widget-default-create): Use widget-image-insert; some rewriting.
6277 (widget-visibility-value-create)
6278 (widget-push-button-value-create, widget-toggle-value-create): Use
6279 widget-image-insert.
6280 (checkbox): Create on and off images dynamically.
6281 (documentation-link): Change :help-echo.
6282 (widget-documentation-link-echo-help): Remove.
6284 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
6286 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
6288 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
6289 (easy-mmode-define-toggle, define-minor-mode): Use it.
6290 (easy-mmode-define-keymap): Docstring fix.
6291 (define-derived-mode): Default PARENT to fundamental-mode.
6292 Add the derived-mode-parent symbol-property.
6293 (easy-mmode-derived-mode-p): New function.
6295 2000-06-02 Dave Love <fx@gnu.org>
6297 * files.el (convert-standard-filename): Doc fix.
6298 (normal-backup-enable-predicate): New function.
6299 (backup-enable-predicate): Use it to replace the lambda form.
6301 * calendar/todo-mode.el: [This needs more work on the outline
6303 (todo) <defgroup>: Add :version.
6304 (todo-add-category): Don't use pushnew.
6305 (todo-cmd-raise): Fix typo.
6306 (todo-top-priorities): Change temp buffer name.
6307 (todo-category-alist): Avoid redundant lambda.
6308 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
6309 Use outline-next-heading.
6311 * autoarg.el: Rewritten to use define-minor-mode.
6312 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
6313 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
6315 2000-06-02 Kenichi Handa <handa@etl.go.jp>
6317 * isearch.el (isearch-other-meta-char): Fix previous change.
6319 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6321 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
6322 (log-edit-done): Only add the comment to the ring if it's different
6323 from the last comment entered.
6325 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
6327 2000-06-01 Dave Love <fx@gnu.org>
6329 * hl-line.el: Rewritten using define-minor-mode.
6331 * help.el (describe-function-1): Distinguish special form from
6332 builtin function. Sanity-check presence of arglist for builtins.
6334 2000-06-01 Kenichi Handa <handa@etl.go.jp>
6336 * international/characters.el: Fix syntax/category setting of
6339 * language/tibet-util.el (tibetan-add-components): Fixes for new
6340 encoding of Tibetan characters.
6341 (tibetan-decompose-precomposition-alist): New variable.
6342 (tibetan-decompose-region): Convert precomposed characters to
6343 non-precomposed characters.
6344 (tibetan-decompose-string): Likewise.
6345 (tibetan-composition-function): Fix args to
6346 thibetan-compose-string.
6348 * language/tibetan.el (tibetan-composable-pattern): More
6349 characters included.
6350 (tibetan-consonant-transcription-alist): Rule for "R" added.
6351 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
6353 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
6355 * language/lao-util.el (lao-composition-function): Fix args to
6358 * language/thai-util.el (thai-composition-function): Fix args to
6361 * isearch.el (isearch-update): Set disable-point-adjustment to t
6362 to prevent the point moving to the end of a composition when a
6363 part of a composition is searched.
6364 (isearch-other-meta-char): If the key invoking this command can be
6365 mapped by function-key-map to a printing char, call
6366 isearch-process-search-char directly.
6368 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6370 * emacs-lisp/bytecomp.el:
6372 * international/mule-cmds.el:
6373 * international/mule-util.el:
6374 * international/mule.el:
6377 * faces.el: Update calls to make-obsolete with a WHEN argument.
6379 * byte-run.el (make-obsolete, make-obsolete-variable):
6380 Add an optional WHEN argument and change the format of the
6381 symbol-property information.
6382 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
6383 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
6384 new obsolete-symbol-property format and print WHEN if it is provided.
6386 2000-05-31 Dave Love <fx@gnu.org>
6388 * loadhist.el (loadhist-hook-functions): Remove
6389 before-change-function, after-change-function.
6390 (unload-feature): Deal with symbols which are both bound and
6393 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
6394 before-change-function, after-change-function.
6396 * simple.el (newline): Don't bind before-change-function,
6397 after-change-function.
6399 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
6401 * whitespace.el (whitespace-rescan-timer-time): Update interval
6402 set to 600 seconds (10 minutes) instead of 60 seconds since
6403 a large number of whitespace buffers causes emacs to `freeze'
6404 for a considerable amount of time.
6406 * whitespace.el: Updated email address
6408 2000-05-31 Dave Love <fx@gnu.org>
6410 * add-log.el (change-log-font-lock-keywords) <function>: Add
6411 pattern for function of change.
6412 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
6413 acknowledgements patterns.
6415 2000-05-31 Kenichi Handa <handa@etl.go.jp>
6417 * isearch.el (isearch-printing-char): If keyboard coding system is
6418 being used, call isearch-process-search-multibyte-characters.
6420 * international/isearch-x.el: Mostly rewritten.
6422 * international/quail.el (quail-start-conversion): Don't include
6423 unhandled events in the returned events, but set them in
6424 unread-command-events. Exit if all inputs are deleted.
6426 2000-05-30 Jason Rumney <jasonr@gnu.org>
6428 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
6430 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
6431 Reenable code to create initial fontsets.
6432 Use set-fontset-font in place of put-charset-property.
6434 2000-05-30 Gerd Moellmann <gerd@gnu.org>
6436 * progmodes/perl-mode.el (perl-indent-line): When looking for a
6437 label, ensure that the first colon isn't followed by another.
6439 * paths.el (Info-default-directory-list): Doc fix.
6441 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
6442 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
6443 send a query containing USER only, not USER@HOST.
6445 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
6446 and rmail-msgend to compute the restriction at the end, instead of
6449 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6451 * dabbrev.el (dabbrev-expand): Don't display messages in the
6452 echo area if the minibuffer window is active.
6454 * jit-lock.el (jit-lock-mode): Add after change function to
6457 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
6459 * antlr-mode.el: New commands: hide/unhide actions,
6460 upcase/downcase literals.
6461 (antlr-tiny-action-length): New user option.
6462 (antlr-hide-actions): New command. Suggested by
6463 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
6464 (antlr-mode-map): New binding [C-c C-v].
6465 (antlr-mode-menu): New entries.
6466 (antlr-downcase-literals): New command.
6467 (antlr-upcase-literals): Ditto.
6469 * antlr-mode.el: Minor changes: indendation, mode-name.
6470 (antlr-indent-line): Indent cpp directive at column 0.
6471 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
6473 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
6474 (antlr-font-lock-additional-keywords): Workaround for intentional
6475 bug in XEmacs version of font-lock.
6476 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
6477 be used by a smarter version of `buffers-menu-grouping-function'.
6479 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6481 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
6482 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
6484 2000-05-29 Kenichi Handa <handa@etl.go.jp>
6486 * international/encoded-kb.el
6487 (encoded-kbd-iso2022-designation-map): Pay attention to that
6488 charset-iso-final-char return -1 for eight-bit-control and
6491 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6493 * speedbar.el (speedbar-use-images, speedbar-update-flag)
6494 (speedbar-easymenu-definition-base): Use display-graphic-p where
6495 available, instead of window-system.
6497 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6499 * international/codepage.el (cp-coding-system-for-codepage-1): Add
6500 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
6503 2000-05-26 Dave Love <fx@gnu.org>
6505 * disp-table.el (standard-display-underline): Don't use
6508 * mail/reporter.el: Maintainer change. Doc fixes.
6509 (reporter-version): Deleted.
6511 * emacs-lisp/elp.el: Maintainer change.
6512 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
6514 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
6516 * add-log.el (add-change-log-entry): Merge the current entry with the
6517 previous one if the previous one is empty.
6519 2000-05-26 Dave Love <fx@gnu.org>
6521 * loadhist.el (unload-feature): Fix interactive spec [from
6522 lijnzaad@ebi.ac.uk].
6524 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
6525 subr-arity to check primitives.
6526 (byte-compile-flush-pending, byte-compile-file-form-progn)
6527 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
6528 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
6531 2000-05-26 Kenichi Handa <handa@etl.go.jp>
6533 * international/fontset.el: Set family names of non-latin charsets
6534 in default fontset to "*".
6536 * international/mule-diag.el (print-fontset): Combine family part
6537 and registry part of the fontname by "-*-" instead of "-".
6539 * international/mule-cmds.el (encode-coding-char): Make strings
6540 multibyte before calling encode-coding-string.
6542 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
6544 * derived.el: Fix keywords.
6545 (define-derived-mode): Only define if needed.
6547 * simple.el (fill-comment, comment-column, comment-start)
6548 (comment-start-skip, comment-end, comment-indent-function)
6549 (block-comment-start, block-comment-end, indent-for-comment)
6550 (set-comment-column, kill-comment, comment-padding, comment-region)
6551 (comment-multi-line, indent-new-comment-line): Remove.
6553 * bindings.el (esc-map): Change ; to comment-dwim and use the new
6554 function names for comment operations.
6556 * newcomment.el: Add abundant autoload cookies.
6557 (comment-style): Don't depend on runtime data at compile-time.
6558 (comment-indent-hook): Remove.
6559 (comment-indent): Check if comment-indent-hook is bound.
6560 (comment-region): Docstring fix.
6562 2000-05-25 Dave Love <fx@gnu.org>
6564 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
6565 byte-code-function-p.
6567 * mail/rmailsum.el: Add provide.
6569 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
6571 * smerge-mode.el (smerge-diff-switches): Don't use list* in
6574 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
6576 * ediff-diff.el (ediff-exec-process): delete --binary option from
6577 non-buffer ediff jobs.
6579 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6581 * hilit-chg.el (highlight-changes-mode): Ask about color or
6582 grayscale support, not about window-system.
6584 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
6586 (ffap-highlight): Always default to t.
6588 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
6589 display-popup-menus-p instead of looking at window-system.
6591 * disp-table.el (standard-display-g1, standard-display-graphic):
6592 Only refuse to use string glyphs on X and MS-Windows.
6594 * avoid.el: Remove window-system from commentary, suggest to use
6595 display-*-p instead.
6597 * apropos.el (apropos-print): Use display-mouse-p instead of
6600 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6602 * international/codepage.el (cp-decoding-vector-for-codepage):
6603 Fill up unsupported characters with their own codes. From Kenichi
6606 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6608 * international/mule-diag.el (describe-char-after): Use
6609 display-graphic-p instead of window-system, so that this function
6612 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6614 * international/codepage.el (cp-make-coding-systems-for-codepage):
6615 Remove the eight-bit-graphic and eight-bit-control charsets from
6616 the list of charsets which we convert into `?'.
6618 2000-05-25 Kenichi Handa <handa@etl.go.jp>
6620 * international/mule-conf.el: Specify CHARSET-ID explicitely for
6622 (mule-unicode-0100-24ff, japanese-jisx0213-1,
6623 japanese-jisx0213-2): New charsets.
6625 * international/fontset.el: Setup default fontset for new charsets.
6627 2000-05-24 Dave Love <fx@gnu.org>
6629 * info.el (Info-find-node-2): Restructure [following "Vadim
6630 S. Solomin" <sovs@uic.nnov.ru>].
6632 * icomplete.el: Fix header for Finder.
6634 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
6636 * rmailout.el (rmail-output-to-rmail-file): Added optional param
6639 * rmail.el (rmail-automatic-folder-directives): New user variable.
6640 (rmail-show-message): Add call to `rmail-auto-file' during
6642 (rmail-auto-file): New function.
6644 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6646 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
6648 (ediff-test-utility,ediff-diff-mandatory-option)
6649 (ediff-reset-diff-options): Utilities for proper initialization of
6650 ediff-diff-options and ediff-diff3-options on Windows.
6652 * ediff-init.el (ediff-merge-filename-prefix): New customizable
6655 * ediff-mult.el (ediff-filegroup-action): Use
6656 ediff-merge-filename-prefix.
6658 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
6660 * viper-ex.el (ex-write): Set selective display to nil.
6662 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6664 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
6665 aliases for hebrew-iso-8bit.
6667 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
6669 * woman.el: New version from Francis J. Wright
6670 <F.J.Wright@Maths.QMW.ac.uk>.
6671 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
6672 names in environment variables regardless of the path separator.
6673 (woman-topic-all-completions-1): Don't call file-name-directory-p
6674 on all files, since woman-file-regexp already filters out any
6677 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6679 * international/quail.el (quail-start-translation): Don't change
6680 modified-p of the current buffer.
6681 (quail-start-conversion): Likewise.
6683 * international/kkc.el (kkc-region): Don't change modified-p of
6686 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
6688 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
6690 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
6692 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
6693 (speedbar-insert-button): Invisible text property fix.
6694 (speedbar-directory-plus): Renamed from speedbar-directory-+
6695 (speedbar-directory-minus): Renamed from speedbar-directory--
6696 (speedbar-page-plus): Renamed from speedbar-file-+
6697 (speedbar-page-minus): Renamed from speedbar-file--
6698 (speedbar-page): Renamed from speedbar-file-
6699 (speedbar-tag): Renamed from speedbar-tag-
6700 (speedbar-tag-plus): Renamed from speedbar-tag-+
6701 (speedbar-tag-minus): Renamed from speedbar-tag--
6702 (speedbar-expand-image-button-alist): Use above renames.
6704 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
6705 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
6706 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
6707 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
6708 * sb-pg.xpm: Renamed from sb-file.xpm
6709 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
6710 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
6712 2000-05-24 Kenichi Handa <handa@etl.go.jp>
6714 * international/quail.el (quail-show-guidance-buf): Set
6715 current-input-method of the guidance buffer to the name of the
6716 curren input method.
6718 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
6720 * progmodes/compile.el (compile-internal): Style typo.
6722 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
6723 quote vars and functions in the docstring.
6725 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
6727 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
6728 Don't quote lambdas.
6730 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
6732 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6734 * startup.el (command-line): Determine source file of compiled
6735 user init file differently. Warn if compiled user init file
6736 is older than its source file.
6738 * ffap.el (ffap-url-regexp): Add `https'.
6740 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
6742 * files.el (make-backup-file-name-1): Replace slashes with `!'
6743 rather than `|' (which is not allowed on Windows). Replace the
6744 drive letters with a string "drive_X".
6746 2000-05-23 Gerd Moellmann <gerd@gnu.org>
6748 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
6750 * files.el (interpreter-mode-alist): Add `bash2'.
6752 2000-05-22 Dave Love <fx@gnu.org>
6754 * loadhist.el (feature-symbols, file-provides, file-requires): Use
6756 (feature-file): Avoid calling symbol-name. Doc fix.
6757 (file-set-intersect, file-dependents): Use dolist, not mapcar.
6758 (loadhist-hook-functions): Add mouse-position-function.
6759 (unload-feature): Change uses of mapcar.
6761 * files.el (parse-colon-path): Doc fix.
6762 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
6763 (set-auto-mode): Use mapc.
6765 * complete.el (PC-look-for-include-file): Use :alnum: character
6767 (partial-completion-mode): Add autoload cookie.
6769 2000-05-22 Sam Steingold <sds@gnu.org>
6771 * info.el (Info-fontify-node): Fixed the call to
6772 `add-text-properties' (bug introduced on 2000-05-18).
6774 2000-05-22 Dave Love <fx@gnu.org>
6776 * bindings.el: Remove debug-ignored-errors set in other files.
6778 * progmodes/etags.el: Add to debug-ignored-errors.
6779 (visit-tags-table-buffer): Clear out buffers holding old tables
6780 when making a new list.
6781 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
6784 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
6786 (cmpl-string-case-type): Use character classes.
6789 * textmodes/ispell.el:
6792 * progmodes/compile.el: Add to debug-ignored-errors.
6794 * dabbrev.el: Add to debug-ignored-errors.
6795 (dabbrev-completion): Use mapc.
6797 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
6799 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
6800 (woman-mapcan, woman-parse-man.conf)
6801 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
6802 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
6803 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
6805 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
6806 (woman-manpath): Call woman-parse-man.conf.
6807 (woman-emulation): New defcustom, defaults to nroff.
6808 (woman-font-support): New defconst.
6809 (woman-use-symbol-font): New defcustom.
6810 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
6812 Many functions: Doc fix.
6814 2000-05-22 Kenichi Handa <handa@etl.go.jp>
6816 * international/quail.el (quail-simple-translation-keymap): Map
6817 128..255 to quail-self-insert-command.
6818 (quail-keyboard-layout-alist): Add definition for "pc102-de".
6820 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
6822 * help.el (help-manyarg-func-alist): Typo.
6824 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
6825 intervals which makes it heaps simpler.
6827 * newcomment.el (comment-region-internal): Go back to BEG after quoting
6828 the nested comment markers.
6830 * subr.el (remove-hook): Don't turn the hook's value into a list.
6832 2000-05-21 Dave Love <fx@gnu.org>
6834 * edmacro.el (edmacro-parse-keys): Return vector if any elements
6835 are invalid characters.
6837 * international/mule-util.el (detect-coding-with-priority): Use
6838 mapc. Remove redundant lambda.
6840 * international/mule-diag.el (list-non-iso-charset-chars)
6841 (describe-fontset): Remove redundant lambda.
6843 * emulation/crisp.el (brief-mode): New alias.
6845 * emacs-lisp/ring.el (ring-elements): New function.
6847 * emacs-lisp/easymenu.el (easy-menu-create-menu)
6848 (easy-menu-do-add-item): Use keywordp.
6850 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
6852 * replace.el: Doc and error message fixes.
6853 (replace-highlight): Use facep, not internal-find-face.
6855 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
6857 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
6859 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
6860 (log-edit-insert-changelog): Drop `:' as well.
6862 * log-view.el: Fix file description.
6863 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
6865 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
6866 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
6868 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
6869 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
6870 Print a status message if the toggle is called interactively.
6871 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
6872 for global minor modes and use `defcustom' for them.
6874 (easy-mmode-define-derived-mode): Remove.
6875 (define-derived-mode): Fancier default docstring.
6876 (easy-mmode-define-navigation): Signal an error rather than (ding).
6878 * newcomment.el (comment-styles): New `box-multi'.
6879 (comment-normalize-vars): Better default for comment-continue to
6880 avoid whitespace-only continuations.
6881 (comment-search-forward): Always move even in the no-syntax case.
6882 (comment-padright): Only obey N if it's only obeyed for padleft.
6883 (comment-make-extra-lines): Better handling of empty continuations.
6884 Use `=' for the filler if comment-start has only one character.
6885 (uncomment-region): Try handling the special `=' filler.
6886 (comment-region): Allow LINES even if MULTI is nil.
6887 (comment-box): Choose box style based on comment-style.
6889 2000-05-20 Kenichi Handa <handa@etl.go.jp>
6891 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
6892 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
6894 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
6896 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
6897 and insert, not subst-char-in-region.
6899 * international/mule-diag.el (list-character-sets-1): Handle
6900 charsets eight-bit-control and eight-bit-graphic.
6901 (list-iso-charset-chars): Likewise.
6902 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
6903 charactes as is. Use indent-to to align characters.
6905 * international/mule-cmds.el (find-multibyte-characters): Never
6906 exclude charsets eight-bit-control and eight-bit-graphic.
6908 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6910 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
6911 Don't quote lambdas.
6913 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
6915 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6917 * gud.el (gud-jdb-directories): Doc fix.
6919 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
6921 * newcomment.el: New file.
6923 2000-05-19 Gerd Moellmann <gerd@gnu.org>
6925 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
6927 2000-05-18 Andreas Schwab <schwab@suse.de>
6929 * dired.el (dired-between-files): Also skip lines beginning with
6932 2000-05-18 Gerd Moellmann <gerd@gnu.org>
6934 * msb.el (msb-menu-cond): Add choice `user'.
6936 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6938 * ps-print.el: Compatibility, customization and doc fix.
6939 (ps-printer-name-option): Replace defconst by defvar.
6940 (ps-postscript-code-directory): XEmacs compatibility.
6941 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
6943 (ps-user-defined-prologue, ps-print-prologue-header)
6944 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
6945 compatibility and code fix.
6946 (ps-print-background-image, ps-print-background-text):
6948 (ps-line-number-start, ps-n-up-on): New vars.
6950 2000-05-18 Espen Skoglund <esk@ira.uka.de>
6952 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
6953 the indent-comment function to just return the appropriate indent.
6955 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
6957 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
6958 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
6959 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
6961 2000-05-18 Dave Love <fx@gnu.org>
6963 * info.el (Info-fontify-node): Add intangible property as well as
6966 * calendar/appt.el (appt-make-list): Match all lines of entry.
6967 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
6969 2000-05-18 Kenichi Handa <handa@etl.go.jp>
6971 * international/mule-diag.el (describe-char-after): Call
6972 internal-char-font, not char-font. If internal-char-font returns
6973 nil, display "-- none --".
6975 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6977 * image.el (image-type-available-p): Don't reference image-types
6980 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
6982 * autoarg.el (autoarg-mode): Typo in the :set argument.
6984 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
6986 * startup.el (command-line-1): Don't signal an error if the
6987 directory for auto-save-list files does not yet exist.
6989 2000-05-17 Kenichi Handa <handa@etl.go.jp>
6991 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
6993 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
6995 * subr.el (remove-hook): `setq' hook-value, not `set'.
6997 2000-05-16 Sam Steingold <sds@gnu.org>
6999 * info.el (debug-ignored-errors): More errors to ignore.
7001 2000-05-16 Dave Love <fx@gnu.org>
7003 * cus-edit.el: Don't require cl or easymenu.
7004 (custom-variable-prompt): Test standard-value property, not
7007 2000-05-16 Sam Steingold <sds@gnu.org>
7009 * subr.el (add-hook): `setq' hook-value, not `set'.
7011 2000-05-16 Gerd Moellmann <gerd@gnu.org>
7013 * startup.el (command-line-1): Mention the FAQ in the startup
7016 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
7018 * progmodes/compile.el (compilation-parse-errors): Collect
7019 `nomessage' regexps last.
7021 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
7023 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
7024 to the function name.
7026 2000-05-15 Dave Love <fx@gnu.org>
7028 * speedbar.el (speedbar-recenter): Typo.
7029 (speedbar-expand-line): Make arg optional.
7030 (speedbar-mode): Avoid a compiler warning.
7032 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7034 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
7035 user-specified option string is empty.
7037 * mouse.el (mouse-yank-at-click): Doc fix.
7039 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
7041 * term/internal.el (IT-character-translations): More updates of
7042 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
7045 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7047 * env.el (getenv): New function, interactively callable.
7048 (setenv, getenv): Remove autoload cookies.
7050 * loadup.el: Load `env'.
7052 * progmodes/f90.el: Change author's mail address.
7054 2000-05-14 Dave Love <fx@gnu.org>
7056 * mail/rmail.el (rmail-show-message-hook): Customize and offer
7057 goto-addr as an option.
7059 * help.el (help-xref-stack): Doc fix.
7060 (help-xref-following): New variable.
7061 (help-make-xrefs): Use it.
7062 (help-xref-go-back): Use position information from stack element.
7063 (help-follow): Make position in stack element a pair. Use
7064 help-xref-following.
7066 * autoarg.el: New file.
7068 * faces.el: Declare more functions obsolete.
7070 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
7071 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
7072 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
7073 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
7074 Remove all the setup-...-environment functions.
7076 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
7078 * speedbar.el: Updated the commentary section. xemacs20p now uses
7079 >= when detecting. Require `defimage' safely.
7080 (speedbar-easymenu-definition-base): Add toggle for images.
7081 (speedbar-easymenu-definition-special): Add flush cache & expand.
7082 (speedbar-visiting-tag-hook): Set new defaults. Added options.
7083 (speedbar-reconfigure-keymaps-hook): New variable.
7084 (speedbar-frame-parameters): Updated documentation.
7085 (speedbar-use-imenu-flag): Updated custom tag
7086 (speedbar-dynamic-tags-function-list): New variable.
7087 (speedbar-tag-hierarchy-method): Updated doc & custom.
7088 (speedbar-indentation-width, speedbar-indentation-width) New
7090 (speedbar-hide-button-brackets-flag): Customizable.
7091 (speedbar-vc-indicator): Doc update.
7092 (speedbar-ignored-path-expressions): Updated default value.
7093 (speedbar-supported-extension-expressions): Updated default value.
7094 (speedbar-syntax-table): Remove {} paren status.
7095 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
7096 as "+". Added overlay aliases.
7097 (speedbar-mode): Use `speedbar-mode-line-update' instead of
7098 `force-mode-line-update'.
7099 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
7100 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
7102 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
7103 (speedbar-item-info-tag-helper): Revamped to handle a wider range
7104 of arbitrary text, and new helper functions.
7105 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
7107 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
7108 (speedbar-directory-buttons): Update path search/expansion.
7109 (speedbar-make-tag-line): Pay attention to
7110 `speedbar-indentation-width'. Use more care w/ invisible
7112 (speedbar-change-expand-button-char): Call
7113 `speedbar-insert-image-button-maybe'.
7114 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
7115 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
7116 (speedbar-trim-words-tag-hierarchy)
7117 (speedbar-simple-group-tag-hierarchy): New functions
7118 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
7119 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
7121 (speedbar-mouse-set-point): New function
7122 (speedbar-power-click): Updated documentation.
7123 (speedbar-line-token, speedbar-goto-this-file): Handle more types
7125 (speedbar-expand-line, speedbar-contract-line): Make more robust
7127 (speedbar-expand-line): Takes universal argument to flush the
7129 (speedbar-flush-expand-line): New function.
7130 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
7131 Use new generator insertion method.
7132 (speedbar-fetch-dynamic-tags): New function.
7133 (speedbar-fetch-dynamic-imenu): Removed code now handled in
7134 `speedbar-fetch-dynamic-imenu'.
7135 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
7136 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
7137 "Revert Buffer" menu items.
7138 (speedbar-buffer-buttons-engine): Be smarter when creating a
7139 filename tag (for expansion purposes.).
7140 (speedbar-highlight-one-tag-line,
7141 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
7142 (speedbar-recenter): New functions.
7143 (defimage-speedbar): Image loading abstraction.
7144 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
7145 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
7146 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
7147 (speedbar-tag-type, speedbar-tag-mail): New images.
7148 (speedbar-expand-image-button-alist): New variable.
7149 (speedbar-insert-image-button-maybe): Insert an image over some
7152 2000-05-13 Kenichi Handa <handa@etl.go.jp>
7154 * international/mule-cmds.el (encode-coding-char): An ASCII
7155 character is always encodable.
7157 * international/mule-conf.el: Add more information in descriptions
7160 * international/mule-diag.el (describe-char-after): New function.
7161 (describe-font-internal): Adjusted for the change of font-info.
7162 (describe-font): Likewise.
7163 (print-fontset): Rewritten for the new fontset implementation.
7164 (describe-fontset): Include fontset alias names in completion.
7165 (list-fontsets): Adjusted for the change of print-fontset.
7167 * simple.el (what-cursor-position): If DETAIL is non-nil, call
7168 describe-char-after instead of displaying the detail in the echo
7170 (syntax-code-table): Format changed.
7171 (string-to-syntax): Adjusted for the above change.
7173 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
7175 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
7177 2000-05-12 Dave Love <fx@gnu.org>
7179 * calendar/todo-mode.el: Remove some compatibility stuff and CL
7180 dependence. Use line-{beginning,end}-position, not
7181 point-at{b,e}ol. Some doc fixes.
7182 (todo-position): New function. Fix callers of position to use it.
7183 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
7185 2000-05-12 Gerd Moellmann <gerd@gnu.org>
7187 * time.el (display-time-mail-icon): Use `:ascent center'.
7189 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
7190 handling FTP security extensions.
7192 2000-05-11 Dave Love <fx@gnu.org>
7194 * calendar/todo-mode.el: New file.
7196 2000-05-11 Gerd Moellmann <gerd@gnu.org>
7198 * comint.el (comint-read-input-ring): Move reference to
7199 comint-input-ring-size outside of the save-excursion. It was
7200 causing the default value to be the only one ever seen.
7202 * font-lock.el: Update copyright. Remove Simon Marshall's email
7203 address on request from him.
7205 * subr.el (substitute-key-definition): Add comment describing
7206 the meaning of PREFIX.
7208 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
7210 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
7212 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
7213 (add-minor-mode): Don't make the variable buffer-local and add a
7214 reference to define-minor-mode in the docstring.
7216 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
7217 HEADER/FOOTER and fix bug with trailing empty directory.
7218 (cvs-append-to-ignore): Use vc-editable-p if available.
7219 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
7220 (vc-do-command): Tweak advice to handle the new VC.
7222 * log-view.el (log-view-goto-rev): New function for the new VC.
7223 (log-view-minor-wrap): Use mark-active.
7225 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
7226 (log-edit-changelog-full-paragraphs): New var.
7227 (log-edit-insert-changelog): Remove a lonely leading `* file'.
7228 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
7229 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
7230 (log-edit-changelog-ours-p, log-edit-changelog-entries)
7231 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
7232 Replace the `cvs' prefix with `log-edit'.
7234 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
7236 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
7237 (diff-font-lock-defaults): Explicitly turn off multiline.
7238 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
7239 (diff-ediff-patch): Fix call to ediff-patch-file.
7240 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
7243 * frame.el (automatic-hscrolling): Typo.
7245 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
7247 2000-05-09 Sam Steingold <sds@goems.com>
7249 * apropos.el (apropos-print): use `describe-face' instead of
7250 `customize-face-other-window'.
7252 2000-05-09 Dave Love <fx@gnu.org>
7254 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
7256 * help.el (describe-variable): Have customize button pop the
7257 help-xref stack when invoked.
7258 (help-xref-symbol-regexp): Add `face'.
7259 (help-make-xrefs): Check for quoted face names and adapt regexp
7260 submatch numbers to cope.
7261 (help-xref-interned): Maybe insert face doc too. Separate
7262 sections with a line of hyphens.
7264 * faces.el: Some doc fixes. Declare some functions obsolete.
7265 (describe-face): Add customize button. Return the help
7268 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
7270 * term/internal.el (IT-character-translations): Fix last change.
7272 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7274 * woman.el: New file
7275 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
7277 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7279 * term/internal.el (IT-character-translations): Update ASCII
7280 simulations for greek-iso8859-7, add latin-iso8859-14 and
7283 * international/mule-cmds.el (set-language-info-alist): Call
7284 define-prefix-command with 3 arguments, to make the map suitable
7287 2000-05-07 Dave Love <fx@gnu.org>
7289 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
7291 2000-05-05 Dave Love <fx@gnu.org>
7293 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
7294 list in doc string. Don't quote keyword symbols.
7295 * emacs-lisp/cl.el: Likewise
7296 * emacs-lisp/cl-seq.el: Likewise
7298 2000-05-05 Gerd Moellmann <gerd@gnu.org>
7300 * abbrev.el (abbrev-mode): Make ARG optional.
7302 2000-05-04 Gerd Moellmann <gerd@gnu.org>
7304 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
7306 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
7308 * subr.el (substitute-key-definition): Clarify documentation.
7310 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
7312 * glasses.el (glasses-convert-to-unreadable): Use
7313 `glasses-separator' instead of the hard-wired "_".
7314 (glasses-mode): Call `glasses-make-unreadable' only in a single
7317 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
7319 * term/internal.el (cjk-codepages-alist): Add associations for
7320 Chinese and Korean codepages. Remove FIXME comment.
7322 2000-05-03 Dave Love <fx@gnu.org>
7324 * time.el (display-time-mail-face, display-time-use-mail-icon):
7326 (display-time-mail-icon): New variable.
7327 (display-time-string-forms): Use the above. Fix the local-map.
7329 2000-05-03 Gerd Moellmann <gerd@gnu.org>
7331 * replace.el (query-replace-map): Add binding for `E'.
7332 (query-replace-help): Extend help text.
7333 (perform-replace): Allow editing the replacement string.
7335 * make-mode.el (makefile-mode-abbrev-table): New variable.
7336 (makefile-mode): Set local abbrev table to
7337 makefile-mode-abbrev-table.
7338 (makefile-font-lock-keywords): Fontify includes and conditionals.
7340 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
7343 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
7344 mail-interactive-insert-alias.
7345 (mail-abbrev-complete-alias): New command.
7346 (mail-mode-map): Bind it to `M-TAB'.
7348 2000-05-03 Kenichi Handa <handa@etl.go.jp>
7350 * language/lao-util.el (lao-compose-region): New function.
7352 2000-05-02 Gerd Moellmann <gerd@gnu.org>
7354 * files.el (recover-session): Make directories as necessary
7355 if they don't exist yet.
7357 * calendar/cal-french.el
7358 (french-calendar-multibyte-special-days-array)
7359 (french-calendar-special-days-array): Change French text.
7360 (calendar-french-date-string): Change output.
7361 (calendar-goto-french-date): Likewise.
7363 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
7365 * wid-edit.el (widget-default-active): Obey `:always-active'.
7366 (widget-documentation-string-value-create): Set `:always-active'.
7368 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7370 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
7371 default prefix to `~/_emacs.d/auto-save.list/_s'.
7372 (normal-top-level): Create the directory for auto-save files, if
7373 it doesn't already exist (in the ms-dos case only).
7375 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7377 * international/mule-cmds.el (set-language-environment): Don't
7378 concat an integer (dos-codepage), use format instead.
7380 2000-05-02 Dave Love <fx@gnu.org>
7382 * help.el (help-xref-on-pp): Check for constant symbols.
7384 2000-04-29 Gerd Moellmann <gerd@gnu.org>
7386 * startup.el (normal-top-level): Put a condition-case around
7387 the code loading subdirs.el.
7389 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7391 * ps-print.el: Upside-down and face background color printing,
7392 line number step, doc fix.
7393 (ps-print-version): New version number (5.2).
7394 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
7395 (ps-face-attribute-list, ps-plot-with-face): Code fix.
7396 (ps-spool-config): Var fix.
7397 (ps-printer-name-option): Const fix.
7398 (ps-print-upside-down, ps-use-face-background)
7399 (ps-line-number-step): New vars.
7400 (ps-window-system, ps-lp-system): New consts.
7401 (ps-face-background): New fun.
7403 2000-04-28 Richard Stallman <rms@gnu.org>
7405 * files.el (make-auto-save-file-name):
7406 Apply auto-save-file-name-transforms to visited file name
7407 before generating auto save file name.
7408 (auto-save-file-name-transforms): New variable.
7410 * files.el (backup-enable-predicate):
7411 Correctly test for a file under a temporary directory.
7413 2000-04-28 Gerd Moellmann <gerd@gnu.org>
7415 * subr.el (add-minor-mode): Rewritten.
7417 2000-04-28 Kenichi Handa <handa@etl.go.jp>
7419 * mail/sendmail.el (sendmail-send-it): Set
7420 buffer-file-coding-system to the selected coding system for MIME
7423 2000-04-27 Gerd Moellmann <gerd@gnu.org>
7425 * dired.el (dired-move-to-filename-regexp): Allow format where
7426 YYYY is followed by two spaces.
7428 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
7429 in the second character class of the regexp.
7431 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
7434 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
7437 * subr.el (add-minor-mode): Use `set' instead of `setq'.
7439 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
7442 2000-04-27 Sen Nagata <sen@eccosys.com>
7444 * emacs-lisp/crm.el (crm-completion-table): New variable.
7445 (crm-collection-fn, crm-test-completion)
7446 (completing-read-multiple): Use it.
7448 2000-04-27 Dave Love <fx@gnu.org>
7450 * help.el (locate-library): Use mapc.
7451 (help-manyarg-func-alist): Add call-process-region.
7453 2000-04-26 Gerd Moellmann <gerd@gnu.org>
7455 * subr.el (add-minor-mode): Make argument MAP optional.
7457 * desktop.el (desktop-save): Save list of minor modes.
7458 (desktop-create-buffer): Restore minor modes.
7459 (desktop-minor-mode-table): New user-option.
7461 * subr.el (add-minor-mode): New function.
7463 * image.el (find-image): New function.
7464 (defimage): Rewritten to find image at load time.
7466 * startup.el (normal-top-level-add-to-load-path): Handle
7467 case that the default directory is not in load-path.
7469 * help.el: Old patch from Stefan Monnier.
7470 (help-xref-on-pp): New function.
7471 (describe-variable): Use it to display xrefs in a symbol's value.
7473 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
7475 * cus-edit.el (custom-face): Fix parenthesis.
7477 2000-04-26 Kenichi Handa <handa@etl.go.jp>
7479 * mail/rmail.el (rmail-expunge): When there are no deleted
7480 messages, do nothing.
7482 2000-04-26 Dave Love <fx@gnu.org>
7484 * international/mule-cmds.el (locale-translation-file-name):
7486 (set-locale-environment): Set it here (at runtime).
7488 2000-04-25 Gerd Moellmann <gerd@gnu.org>
7490 * replace.el (perform-replace): Add parameters START and END. Use
7491 them instead of the check for a region in Transient Mark mode.
7492 (query-replace-read-args): Return two more list elements for the
7493 start and end of the region in Transient Mark mode.
7494 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7495 (map-query-replace-regexp, replace-string, replace-regexp): Add
7496 optional last arguments START and END and pass them to
7499 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
7500 form with additional arguments for perform-replace.
7502 * progmodes/etags.el (tags-query-replace): Add parameters START
7503 and END. Construct a form with additional arguments for
7506 * simple.el (shell-command): Set default directory for "*Shell
7507 Command Output" buffer.
7509 * language/european.el (iso-latin-4): Fix typo.
7511 * emacs-lisp/crm.el: New file.
7513 2000-04-24 Dave Love <fx@gnu.org>
7515 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
7516 (Custom-reset-saved, Custom-reset-standard)
7517 (custom-group-value-create, custom-group-set, custom-group-save)
7518 (custom-group-reset-current, custom-group-reset-saved)
7519 (custom-group-reset-standard): Use mapc.
7520 (custom-buffer-create-internal): Disable undo when creating items.
7522 (custom-face): Avoid redundant lambda.
7524 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7526 * startup.el (auto-save-list-file-prefix): Set default to
7527 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
7529 2000-04-24 Sam Steingold <sds@gnu.org>
7531 * time-stamp.el (time-stamp-string-preprocess): Always convert
7532 `field-result' to a string.
7534 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7536 * frame.el (scrolling): New group.
7537 (automatic-hscrolling): New user-option.
7539 * startup.el (command-line-x-option-alist): Add `-lsp' and
7542 2000-04-19 Dave Love <fx@gnu.org>
7544 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
7545 (cl-mapc): Rename from mapc. Fix the funcall.
7547 2000-04-19 Gerd Moellmann <gerd@gnu.org>
7549 * simple.el (clone-indirect-buffer-other-window): New command.
7550 (clone-indirect-buffer): Add optional arg NORECROD.
7551 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
7553 * help.el (resize-temp-buffer-window): Use count-screen-lines.
7555 * window.el (count-screen-lines): New function.
7556 (shrink-window-if-larger-than-buffer): Use count-screen-lines
7557 instead of window-buffer-height.
7559 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
7560 non-existing variable comint-input-sentinel.
7561 (inferior-lisp-args-to-list): Removed.
7562 (inferior-lisp): Use split-string instead of
7563 inferior-lisp-args-to-list.
7565 * hexl.el (hexl-insert-hex-string): New command.
7567 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
7570 2000-04-18 Gerd Moellmann <gerd@gnu.org>
7572 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
7573 at the start of an existing but empty folder.
7575 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7577 * ps-mule.el: Customization fix, doc fix.
7578 (ps-multibyte-buffer): Customization fix.
7580 2000-04-17 Richard M. Stallman <rms@gnu.org>
7582 * subr.el (read-passwd): Use read-char-exclusive.
7584 2000-04-17 Gerd Moellmann <gerd@gnu.org>
7586 * textmodes/texinfo.el (texinfo-insert-@email)
7587 (texinfo-insert-@emph, texinfo-insert-@quotation)
7588 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
7589 (texinfo-mode-map): Add key bindings for them.
7591 * files.el (basic-save-buffer-2): Use a template with `$'
7592 instead of `#' for VMS.
7594 * simple.el (clone-indirect-buffer): New function.
7596 2000-04-16 Stephen Eglen <stephen@gnu.org>
7598 * iswitchb.el (iswitchb-case): New function. If the user input
7599 contains any upper-case characters, the search is made
7602 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
7604 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
7606 (texinfo-font-lock-syntactic-keywords): New var.
7607 (texinfo-font-lock-keywords): Remove comment regexp.
7608 (texinfo-insert-block): New function.
7609 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
7610 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
7611 and font-lock-defaults. Use regexp-opt for outline-regexp.
7612 (texinfo-environments): New var.
7613 (texinfo-environment-regexp): Use regexp-opt and
7614 texinfo-environments.
7616 * textmodes/ispell.el (ispell-menu-map-needed): Check that
7617 ispell-process is bound since this might be eval'd before ispell
7619 (ispell-message): Use a tiny bit less magic and a bit more hard
7620 data to figure out what kind of sc-cite-regexp to use.
7622 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
7624 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
7625 (insert-cyclic-diary-entry): Unquote the lambda.
7627 * gud.el (gud-jdb-build-source-files-list): Fix typo.
7629 * files.el (backup-enable-predicate): Unquote the lambda.
7631 * cus-edit.el (custom-face, face): Unquote the lambda.
7633 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7635 * ps-print.el: Check for line-beginning-position definition.
7637 * ps-print.el: Fix counting lines in a region.
7638 (ps-print-version): New version number (5.1.5).
7639 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
7640 (ps-printing-region): Fun code fix.
7642 2000-04-15 Gerd Moellmann <gerd@gnu.org>
7644 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
7645 to file-directory-p.
7647 2000-04-14 Gerd Moellmann <gerd@gnu.org>
7649 * gud.el (gud-jdb-build-source-files-list): Check that directory
7650 exists before calling directory-files.
7652 2000-04-13 Dave Love <fx@gnu.org>
7654 * emacs-lisp/trace.el: Change maintainer. Use new backquote
7657 * emacs-lisp/cl-specs.el: Remove when, unless.
7659 * emacs-lisp/cl-extra.el: Don't quote keywords.
7660 (cl-old-mapc): New variable.
7662 (cl-map-intervals): Use with-current-buffer. Don't check for
7663 next-property-change.
7664 (cl-map-overlays): Use with-current-buffer.
7666 (copy-tree, remprop): Define unconditionally.
7668 * emacs-lisp/cl-compat.el (keywordp): Remove.
7670 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
7672 (edebug-spec): Enable keywordp.
7674 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
7677 * cus-start.el: Use keywordp.
7679 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
7681 * diary-lib.el (include-other-diary-files): Fix the fix of
7682 2000-02-18 by doing a save-excursion.
7684 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7686 * ps-print.el: Customization fix, doc fix.
7687 (ps-print-version): New version number (5.1.4).
7688 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
7689 (ps-print-preprint): Adjust code.
7690 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
7691 (ps-print-prologue-header, ps-print-control-characters)
7692 (ps-spool-config): Customization fix.
7694 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
7696 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
7697 converted to the new menu-item format, names silightly changed,
7700 Support for spelling without async subprocesses:
7702 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
7703 (ispell-session-buffer): New variables.
7704 (ispell-start-process, ispell-process-status,
7705 ispell-accept-output, ispell-send-string): New functions, for
7706 Ispell invocation when async subprocesses aren't supported.
7707 (ispell-word, ispell-pdict-save, ispell-command-loop,
7708 ispell-process-line, ispell-buffer-local-parsing): Replace calls
7709 to process-send-string with calls to ispell-send-string, and
7710 accept-process-output with ispell-accept-output.
7711 (ispell-init-process): Call ispell-process-status instead of
7712 process-status with.
7713 (ispell-init-process): Call ispell-start-process. Call
7714 ispell-accept-output and ispell-send-string. Don't call
7715 process-kill-without-query and kill-process if they are unbound.
7716 (ispell-async-processp): New function.
7718 2000-04-12 Dave Love <fx@gnu.org>
7720 * info.el: Add debug-ignored-errors.
7721 (Info-mode-menu): Add some items.
7722 (Info-directory): Add autoload cookie.
7724 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
7725 Modify `truncate-lines'. Make `describe-language-environment'
7726 always visible and add help. Modify `describe-key' help. Invoke
7727 Info-directory from `info'. New entry `emacs-manual'.
7729 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7731 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
7732 propertized-buffer-identification.
7733 (ebrowse-update-member-buffer-mode-line): Likewise.
7734 (ebrowse--mode-strings): Removed.
7735 (ebrowse--mode-line-props): Removed.
7737 * files.el (auto-mode-alist): Add `EBROWSE'.
7739 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
7740 space before testing for end of buffer.
7741 (ebrowse-load): Removed.
7742 (ebrowse-revert-tree-buffer-from-file): Rewritten.
7743 (ebrowse-create-tree-buffer): Rewritten.
7744 (ebrowse-tree-mode): Read tree from buffer.
7746 * progmodes/ebrowse-ffh.el: Removed.
7748 2000-04-10 Kenichi Handa <handa@etl.go.jp>
7750 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
7752 2000-04-10 Gerd Moellmann <gerd@gnu.org>
7754 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
7757 2000-04-09 Dave Love <fx@gnu.org>
7759 * files.el (backup-enable-predicate): Use
7760 temporary-file-directory, small-temporary-file-directory.
7761 (make-backup-file-name-function, backup-directory-alist): New
7763 (make-backup-file-name-1): New function.
7764 (make-backup-file-name): Use it.
7765 (find-backup-file-name): Likewise. Use format for clarity, not
7767 (file-newest-backup): Use make-backup-file-name.
7769 2000-04-09 Gerd Moellmann <gerd@gnu.org>
7771 * progmodes/ebrowse-ffh.el: New file.
7773 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
7775 (ebrowse-load): Add autoload.
7777 * finder.el (finder-commentary): Add autoload cookie.
7779 * mail/rfc2368.el: Correct author's email address.
7781 * progmodes/ebrowse.el: New file.
7783 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
7785 (easy-menu-do-add-item): Ditto.
7786 (easy-menu-define): Extend doc string.
7788 * jit-lock.el (with-buffer-unmodified): Use
7789 restore-buffer-modified-p.
7790 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
7791 (jit-lock-function, jit-lock-stealth-fontify): Don't use
7792 with-buffer-unmodified.
7794 2000-04-08 Dave Love <fx@gnu.org>
7796 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
7799 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
7801 * viper-util.el (viper-put-on-search-overlay): New subroutine.
7802 (viper-flash-search-pattern): No operation when using Emacs
7803 doesn't support face.
7804 Use `viper-put-on-search-overlay'.
7806 2000-04-04 Gerd Moellmann <gerd@gnu.org>
7808 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
7811 * progmodes/make-mode.el: Some doc fixes.
7812 (makefile-mode-abbrev-table): New variable.
7813 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
7814 (makefile-font-lock-keywords): Fontify includes and conditionals.
7815 (toplevel): Require `dabbrev' and `add-log' when compiling.
7817 * replace.el (perform-replace): Don't move forward one char
7818 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
7819 to do that because it leaves point 1 position after the last
7820 replacement, after everything has been replaced.
7822 * jit-lock.el (with-buffer-unmodified): New macro.
7823 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
7825 (jit-lock-function-1): Extracted from jit-lock-function; not
7826 preserving buffer's modified state.
7827 (jit-lock-function, jit-lock-stealth-fontify): Call
7828 jit-lock-function-1.
7830 * mail/rfc2368.el: Remove supernumerary copyright line.
7832 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
7834 * glasses.el: Provide facilities for inserting space before left
7835 parentheses and uncapitalization of identifiers.
7836 (glasses-mode): Try to remove old overlays in all cases.
7838 2000-04-03 Gerd Moellmann <gerd@gnu.org>
7840 * progmodes/compile.el (compile-internal): Display the compilation
7841 buffer in a different frame, if it's already displayed there.
7843 * mail/rfc2368.el: New file.
7845 * simple.el (sendmail-user-agent-compose): Recognize a `body'
7846 header and insert its value as mail body.
7848 * subr.el (member-ignore-case): New function.
7850 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
7851 (dabbrev--find-expansion): Ignore buffers matching a regexp
7852 from dabbrev-ignored-regexps.
7854 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
7855 to extensions handled by gzip.
7857 2000-04-03 Richard M. Stallman <rms@gnu.org>
7859 * files.el (insert-directory): List the total free space
7860 along with the used space.
7862 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
7863 line is followed by one that matches CITATION-REGEXP, end the
7866 2000-04-03 Markus Rost <rost@delysid.gnu.org>
7868 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
7869 (rmail-make-basic-summary-line): Use that option.
7871 2000-04-03 Kenichi Handa <handa@etl.go.jp>
7873 * international/mule-cmds.el (encoded-string-description):
7874 Rewritten. Try pretty description for ISO 2022 escape sequences
7875 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
7876 for hexadecimal format.
7878 2000-04-01 Dave Love <fx@gnu.org>
7880 * cpp.el: Change customization group to `c' from `C'.
7882 * vcursor.el (vcursor-move): Use display-color-p.
7884 * international/mule-util.el: Provide mule-utils.
7885 (string-to-sequence): Simplify and speed up.
7887 * international/mule.el (make-coding-system): Purecopy doc-string.
7889 * international/mule-cmds.el: Various menu changes.
7890 (describe-specified-language-support): Handle `Default'.
7891 (set-language-info): Purecopy `info'.
7893 2000-03-31 Andrew Innes <andrewi@gnu.org>
7895 * vc.el (vc-backend-diff): Return the correct status if we had to
7896 retry the rcsdiff command without the --brief option.
7898 2000-03-31 Dave Love <fx@gnu.org>
7900 * help.el (help-manyarg-func-alist): Correct several omissions.
7902 * add-log.el: Don't require cl, fortran.
7903 (add-log-current-defun-function): Doc fix.
7904 (change-log-version-number-regexp-list): Remove SCCS part. Doc
7906 (change-log-version-rcs): Function deleted.
7907 (change-log-version-number-search): Doc fix. Use
7908 vc-workfile-version. Avoid CL dolist.
7909 (add-change-log-entry): Just call add-log-current-defun to get
7910 defun. Simplify somewhat.
7911 (change-log-get-method-definition-1): Likewise.
7912 (add-log-current-defun): Return nil if calling
7913 add-log-current-defun-function does so. Move Fortran stuff to
7914 fortran.el. Return string without properties.
7916 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
7917 and :alpha: char classes.
7919 * mail/supercite.el: Defvar curline when compiling.
7920 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
7921 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
7922 rather than a-zA-Z0-9 to allow non-ASCII characters.
7924 2000-03-31 Gerd Moellmann <gerd@gnu.org>
7926 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
7928 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7931 * lpr.el (print-region-1): Use -d to specify printer name for
7932 systems `usg-unix-v*, `dgux', `hpux', `irix'.
7934 2000-03-31 Dave Love <fx@gnu.org>
7936 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
7937 for function definition in symbol's function value slot first
7938 instead of first consulting byte-compile-function-environment.
7940 2000-03-31 Kenichi Handa <handa@etl.go.jp>
7942 * language/european.el ("Polish"): New language environment.
7943 (setup-polish-environment): New function.
7945 2000-03-30 Gerd Moellmann <gerd@gnu.org>
7947 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7950 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
7951 trying to `load' the symbol of an autoload instead of the file
7952 recorded in the autoload. Fix error messages.
7954 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7956 * ps-print.el: PostScript programming fix for ghostview, doc fix.
7957 (ps-print-version): New version number (5.1.3).
7958 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
7959 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
7960 (ps-generate-postscript-with-faces): Code fix.
7961 (ps-color-values): XEmacs compatibility.
7962 (ps-print-background-image, ps-print-background-text, ps-printer-name)
7963 (ps-default-fg, ps-default-bg): Adjust customization.
7964 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
7965 (ps-color-scale): Renaming old ps-color-value fun.
7966 (ps-print-headers): Replace ps-print-header group to avoid conflict
7967 with ps-print-header variable.
7968 (ps-print-miscellany): New group.
7969 (ps-format-color, ps-rgb-color): New funs.
7970 (ps-default-foreground): New var.
7971 (ps-printer-name-option): New const.
7973 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
7976 (network-connection-host, network-connection-service): New variables
7977 (network-connection-mode): New mode, derived from comint-mode
7978 (network-connection-mode-setup): New function, saves host and
7979 service information in local variables.
7982 (locate-word-at-point): Added this function
7983 (locate): Default to using locate-word-at-point as input
7986 2000-03-29 Dave Love <fx@gnu.org>
7988 * calendar/appt.el: Doc fixes.
7989 (appt-check): Convert min-to-app to a string before passing to
7990 appt-disp-window-function or concat.
7991 (appt-delete-window): Remove test for frame-root-window.
7992 (appt-select-lowest-window, appt-convert-time): Simplify.
7994 * emacs-lisp/bytecomp.el: Doc fixes.
7995 (byte-compile-file-form-autoload): Update
7996 byte-compile-function-environment.
7998 2000-03-29 Andreas Schwab <schwab@suse.de>
8000 * emacs-lisp/autoload.el: Also print defsubst doc string
8003 * dired.el (dired-insert-directory): If dired-free-space-program
8004 failed just delete its output.
8006 2000-03-29 Dave Love <fx@gnu.org>
8008 * international/iso-cvt.el: Move provide to end. Doc fixes.
8009 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
8010 (iso-iso2sgml, iso-sgml2iso): New functions.
8011 (iso-cvt-define-menu): Fix some entries and use backquote for
8014 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
8016 2000-03-28 Gerd Moellmann <gerd@gnu.org>
8018 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
8019 ISO-DATE. If non-nil, return date in ISO 8601 format.
8021 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
8023 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
8024 if it ever becomes used.
8025 (log-edit-mode-hook): Default to vc-log-mode-hook.
8026 (log-edit-mode): Fix the docstring.
8028 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
8031 2000-03-26 Dave Love <fx@gnu.org>
8033 * net/browse-url.el (browse-url): Re-fix case of
8034 browse-url-browser-function being an alist.
8035 (browse-url): Add :link to defgroup.
8037 * files.el: Doc fixes.
8038 (file-truename): Include `[' in wildcard characters.
8039 (automount-dir-prefix): Customize.
8040 (find-file-wildcards): Add :version.
8041 (find-file-noselect): Simplify a mapcar call.
8043 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
8044 compatible with inf-lisp version.
8045 (eval-defun-1): Fix custom-declare-variable case.
8047 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
8049 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
8051 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8053 * Makefile (COMPILE_FIRST): New macro.
8054 (compile-files): Compile files from COMPILE_FIRST first.
8056 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
8059 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
8060 matching open parenthesis in column 0 to defun-prompt-regexp
8061 only if open-paren-in-column-0-is-defun-start is set.
8063 * sun-curs.el: Require CL at compile-time only.
8065 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
8066 instead of copy-list which is a function from CL.
8067 (msb--choose-menu, msb--mode-menu-cond)
8068 (msb--create-buffer-menu-2): Use dolist instead of mapc.
8069 (msb--init-file-alist): Use mapcar instead of mapcan.
8070 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
8071 `(' in column 0 in doc string.
8072 (msb--add-separators): Use mapcar instead of mapcan.
8074 * cus-dep.el: Require CL at compile-time only.
8076 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
8078 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
8079 (byte-compile-warnings): New warning `noruntime'.
8080 (byte-compile-constants, byte-compile-variables): Fix docstring.
8081 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
8082 execute `eval-whenc-compile's body.
8083 (byte-compile-unresolved-functions): Fix docstring.
8084 (byte-compile-eval): New function.
8085 (byte-compile-callargs-warn): Check if the function will be available
8086 at runtime (via property `byte-compile-noruntime').
8087 (byte-compile-print-syms): New function.
8088 (byte-compile-warn-about-unresolved-functions): Also warn about
8089 `noruntime' functions (and use `byte-compile-print-syms').
8090 (byte-compile-file): Capitalize the message.
8092 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8094 * mail/rmail.el (rmail-confirm-expunge): New user-option.
8095 (rmail-expunge): Ask for confirmation depending on the setting
8096 of rmail-confirm-expunge.
8098 2000-03-23 Gerd Moellmann <gerd@gnu.org>
8100 * Makefile (bootstrap-clean): If $(emacs) exists, build
8101 loaddefs.el first. A loaddefs.el that's not up-to-date might
8102 cause a bootstrap failure because things don't autoload as
8105 2000-03-23 Dave Love <fx@gnu.org>
8107 * net/browse-url.el: Restore previous use of
8108 browse-url-maybe-new-window.
8110 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8112 * ps-print.el: Skip banner page fix.
8113 (ps-print-version): New version number (5.1.2).
8114 (ps-begin-file, ps-end-file, ps-generate): Code fix.
8116 2000-03-23 Dave Pearson <davep@davep.org>
8118 * net/quickurl.el Changed the type of parameter passed to the
8119 function defined by `quickurl-format-function'. Before only the
8120 text of the URL was passed. Now the whole URL structure is passed
8121 and the function is responsible for extracting the parts it
8122 requires. Changed the default of `quickurl-format-function'
8124 (quickurl-insert): Changed the `funcall' of
8125 `quickurl-format-function' to match the above change.
8126 (quickurl-list-insert): Changed the `url' case so that it makes
8127 use of `quickurl-format-function', previous to this the format was
8130 2000-03-22 Gerd Moellmann <gerd@gnu.org>
8132 * startup.el: Change some spellings for the X Window System.
8134 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
8136 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
8137 up the code and the regexp and make sure the cursor is temporarily
8138 moved to the suspicious line while querying the user.
8140 2000-03-22 Jason Rumney <jasonr@gnu.org>
8142 * w32-fns.el (w32-charset-info-alist): Initialize.
8144 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8146 * ps-print.el: N-up last page fix.
8147 (ps-print-version): New version number (5.1.1).
8148 (ps-end-file, ps-end-job, ps-generate): Code fix.
8150 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8152 * files.el (find-file-run-dired): Update docstring.
8153 (find-directory-functions): New hook.
8154 (find-file-noselect): Run find-directory-functions rather than
8155 calling dired directly.
8157 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
8159 * pcvs.el: Add a minimal leading commentary.
8160 (cvs-make-cvs-buffer): Change the header part by removing the startup
8161 message and adding a `Module' entry. Also replace the FOOTER and
8162 HEADER special fileinfos with the new support in ewoc for updating
8163 its own footer and header.
8164 (cvs-update-header): Update to use the header/footer of the ewoc.
8165 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
8166 (cvs-is-within-p): New function.
8167 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
8168 to only examine some subset of the buffers.
8170 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
8171 `format' instead of our own ad-hoc functions.
8172 Remove HEADER and FOOTER cases, now handled in the EWOC.
8173 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
8175 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
8176 output to avoid scaring the user.
8177 (cvs-parse-table): Catch message for non-up-to-date commits.
8179 * pcvs-defs.el (cvs-startup-message): Remove.
8180 (cvs-global-menu): New autoloaded menu.
8182 * pcvs-util.el (cvs-string-fill): Remove.
8184 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
8185 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
8186 PP part of it and also make it work for footers and headers.
8187 (ewoc-create): Drop POS and BUFFER arguments.
8188 Use the DLL's dummy node to store the end-of-footer position.
8189 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
8190 (ewoc-refresh): Remove unused `header' variable.
8191 (ewoc-(get|set)-hf): New functions.
8193 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
8194 log-view-*-(message|file) and use easy-mmode-define-navigation.
8195 (log-view-message-re): Match SCCS format as well.
8196 And match the revision line rather than the dashed separator line.
8197 (log-view-mode): Use the new define-derived-mode.
8198 (log-view-current-tag): Fill in with an actual implementation.
8200 * cvs-status.el (cvs-status-(prev|next)): Rename from
8201 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
8202 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
8203 to let the output "breathe" a little more (more readable).
8204 (cvs-status-mode): Use the new define-derived-mode.
8206 * smerge-mode.el (smerge-auto-leave): New function and variable.
8207 (smerge-basic-map): Rename from smerge-basic-keymap.
8208 Change the bindings for smerge-diff-*.
8209 (smerge-*-map): Use easy-mmode-defmap.
8210 (smerge-(next|prev)): Use easy-mmode-define-navigation.
8211 (smerge-keep-*): Use smerge-auto-leave.
8213 2000-03-21 Jason Rumney <jasonr@gnu.org>
8215 * cus-edit.el (custom-button-face): Use 3D look for w32.
8216 (custom-button-pressed-face): Likewise.
8218 2000-03-21 Gerd Moellmann <gerd@gnu.org>
8220 * progmodes/etags.el (tags-case-fold-search): New user-option.
8221 (tags-loop-eval): New function. Bind case-fold-search around eval
8222 depending on the value of tags-case-fold-search.
8223 (tags-loop-continue): Use tags-loop-eval.
8224 (find-tag-in-order): Bind case-fold-search depending on the value
8225 of tags-case-fold-search.
8227 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8229 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
8230 (diff-end-of-hunk): Return the end position for use in
8231 `easy-mmode-define-navigation'.
8232 (diff-recenter): Remove.
8233 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
8234 of `easy-mmode-define-navigation'.
8235 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
8236 previous renaming) and fix to use new names.
8237 (diff-merge-strings): Use \n as separator: simpler, faster.
8238 (diff-mode): Use `define-derived-mode'.
8240 * derived.el (define-derived-mode): Don't autoload anymore.
8241 Prefer the macro-only version provided by easy-mmode.el.
8243 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
8244 `easy-mmode-define-derived-mode'.
8245 Use `combine-run-hooks'.
8246 (easy-mmode-define-navigation): New macro.
8248 * subr.el (combine-run-hooks): New function.
8250 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
8252 * term/x-win.el: Fontsets related initialization is simplified.
8254 * international/mule-diag.el (describe-font): Don't refer to
8255 global-fontset-alist, instead call font-list.
8256 (describe-fontset, list-fontsets, mule-diag): Likewise.
8257 (print-fontset): Adjusted for the change of fontset
8260 * international/fontset.el (x-charset-registries): Variable
8261 removed, instead the corresponding data is stored in the default
8263 (register-alternate-fontnames): Function removed.
8264 (resolved-ascii-font): Variable removed.
8265 (x-compose-font-name): Ignore the second argument REDOCE.
8266 (x-complement-fontset-spec): Complement only an ASCII font and
8267 element for those charsets than can use that ASCII font.
8268 (generate-fontset-menu): Don't refer to global-fontset-alist,
8269 instead call fontset-list.
8270 (uninstantiated-fontset-alist): Variable removed.
8271 (x-style-funcs-alist): Likewise.
8272 (fontset-default-styles): Likewise.
8273 (x-modify-font-name): Function removed.
8274 (create-fontset-from-fontset-spec): Ignore the argument
8276 (create-fontset-from-ascii-font): Docsting adjusted for the above
8278 (instantiate-fontset, resolve-fontset-name): Functions removed.
8279 (fontset-list): Now implemented by C code.
8281 * faces.el (read-face-font): Fix TABLE arg to completing-read.
8282 (describe-face): Include `font' attribute in the description.
8284 2000-03-21 Kenichi Handa <handa@etl.go.jp>
8286 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
8288 2000-03-20 Gerd Moellmann <gerd@gnu.org>
8290 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
8291 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
8292 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
8294 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
8295 about behavior of set-buffer-modified-p wrt redisplay.
8297 2000-03-19 Richard M. Stallman <rms@gnu.org>
8299 * view.el (view-mode-disable): Kill local binding of view-read-only.
8301 2000-03-18 Gerd Moellmann <gerd@gnu.org>
8303 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
8304 is a string, convert it to a syntax cell using string-to-syntax.
8306 * simple.el (syntax-code-table, syntax-flag-table): New variables.
8307 (string-to-syntax): New function.
8309 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
8310 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
8311 try to use passive ftp mode.
8313 2000-03-17 Gerd Moellmann <gerd@gnu.org>
8315 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
8317 * simple.el (append-to-buffer): Update point of windows after
8320 * abbrev.el (inverse-add-abbrev): Identify word by first moving
8321 forward then moving backward. Reindent.
8323 * frame.el (other-frame): Call x-focus-frame only if
8324 focus-follows-mouse is off.
8326 2000-03-17 Dave Love <fx@gnu.org>
8328 * pcvs-util.el (cvs-strings->string): Rename
8329 replace-regexps-in-string.
8331 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
8333 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
8334 regexp for labels cannot span several lines.
8336 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
8337 `(setq :<key> ':<key>)' to the macro expansion.
8339 2000-03-16 Dave Love <fx@gnu.org>
8341 * progmodes/f90.el (f90): Put custom group under `languages', not
8343 (f90-mode-hook): Customize.
8344 (f90-mode): Set add-log-current-defun-function.
8345 (f90-current-defun): New function.
8347 2000-03-16 Gerd Moellmann <gerd@gnu.org>
8349 * cus-edit.el (custom-variable-tag-face): Handle case that
8350 default face's height is not a number.
8351 (custom-face-tag-face, custom-group-tag-face-1)
8352 (custom-group-tag-face): Ditto.
8353 (custom-group-tag-face-1): Add :group.
8355 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
8357 2000-03-15 Gerd Moellmann <gerd@gnu.org>
8359 * pcvs-defs.el (toplevel): Remove autoload cookie for form
8362 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8364 * ps-print.el: PostScript user-defined prologue, PostScript error
8366 (ps-print-version): New version number (5.1).
8367 (ps-user-defined-prologue, ps-error-handler-message)
8368 (ps-print-prologue-0, ps-error-handler-alist): New vars.
8369 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
8370 (ps-insert-string): New function.
8372 2000-03-15 Kenichi Handa <handa@etl.go.jp>
8374 * international/ccl.el (ccl-compile-expression): Don't generate
8375 invalid self-assignment code.
8377 2000-03-14 Dave Love <fx@gnu.org>
8379 * subr.el (replace-regexp-in-string): Renamed from
8380 replace-regexps-in-string. Doc fix.
8382 2000-03-12 Dave Love <fx@gnu.org>
8384 * cus-edit.el: Doc fixes.
8385 (customize-set-variable, customize-save-variable): Rename args for
8387 (custom-variable-tag-face, custom-face-tag-face)
8388 (custom-group-tag-face-1, custom-group-tag-face): Modify from
8389 style which user identify as hyperlink.
8390 (hook): Don't add undefined functions to the hook.
8391 (debug-ignored-errors): Transfer message from bindings.el.
8393 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8395 * recentf.el (recentf-keep-non-readable-files-p): Remove
8396 double/nested definition.
8398 2000-03-12 Dave Love <fx@gnu.org>
8400 * facemenu.el (facemenu-get-face): Use display-color-p.
8401 * enriched.el (enriched-decode-foreground): Likewise.
8402 (enriched-decode-background): Likewise.
8403 * isearch.el (isearch-highlight): Likewise.
8404 * info-look.el (info-lookup): Likewise.
8405 * simple.el (completion-setup-function): Likewise.
8407 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
8410 * bindings.el (mode-line-format): Fix line-number and
8411 column-number items. Add help-echo for the background.
8412 (mode-line-mule-info): Modify help-echo.
8414 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
8417 * files.el (load-file): Allow completion to .elc.
8419 * man.el: Doc fixes.
8420 (Man-init-defvars): Use display-color-p to set fontification.
8422 * play/hanoi.el (hanoi-internal): Don't use oddp.
8424 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8426 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
8428 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
8430 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
8432 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
8435 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
8437 * font-lock.el (font-lock-keywords): Fix the doc now that
8438 regexp-opt-depth is unnecessary.
8439 (save-buffer-state): Set an edebug spec.
8440 (font-lock-fontify-anchored-keywords): Properly handle the case when
8441 the matcher goes past the limit.
8443 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
8444 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
8446 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
8447 dll.el and cookie.el (from Elib) with heavy renaming and other
8450 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
8451 Autoload the functions used.
8452 (easy-mmode-define-syntax): Fix CL typo.
8453 (easy-mmode-define-derived-mode): Improve the docstring generation.
8455 2000-03-10 Gerd Moellmann <gerd@gnu.org>
8457 * textmodes/texinfo.el (texinfo-version): Variable and function
8460 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
8462 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
8463 allow more flexibility.
8464 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
8466 (easy-mmode-defmap, easy-mmode-defsyntax)
8467 (easy-mmode-define-derived-mode): New macros.
8469 2000-03-09 Didier Verna <didier@xemacs.org>
8471 * rect.el (replace-rectangle): New function.
8473 2000-03-09 Dave Love <fx@gnu.org>
8475 * progmodes/fortran.el (fortran-comment-line-start): Define as
8477 (fortran-comment-line-start-skip): Don't match cpp stuff.
8478 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
8479 (fortran-mode-map): Remove over-eager custom-menu-create for now.
8480 (fortran-mode): Don't set fortran-comment-line-start-skip,
8481 fortran-comment-line-start here. Set comment-start,
8482 add-log-current-defun.
8483 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
8484 (fortran-current-defun): New function.
8486 2000-03-09 Gerd Moellmann <gerd@gnu.org>
8488 * emacs-lisp/re-builder.el: New file.
8490 * mouse.el (mouse-drag-region): Don't run up-event handler
8491 if hscroll has changed.
8493 * octave-mod.el (octave-font-lock-keywords): To font-lock the
8494 builtin operators, use `font-lock-builtin-face' for Emacs and
8495 `font-lock-preprocessor-face' otherwise.
8497 * font-lock.el (lisp-font-lock-keywords-1): Highlight
8498 `(defun (setf foo)' differently.
8500 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
8502 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
8503 (regexp-opt): Update comment and adapt the code the new meaning of
8504 the `paren' argument of regex-opt-group for shy-groups.
8505 (regexp-opt-depth): Handle shy groups as well as backslashed
8507 (regexp-opt-group): Turn the leading comment into a docstring.
8508 Allow `paren' to be a string (the string to use to open a group).
8509 Remove open-presuf and close-presuf. Instead of checking for `all
8510 one-char' and then later on check for `several one-char', handle
8511 both cases close together. Also apply a more generic algorithm
8512 for suffixes (the mirror image of the algorithm used for
8513 prefixes). Use shy-groups. Use nreverse rather than reverse.
8514 (regexp-opt-try-suffix): Removed.
8516 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
8517 from comint-mode-map, so we can just inherit from it. Also, move
8518 the initialization into the `defvar' since there's no docstring
8519 anyway and it's fairly short.
8520 (inferior-scheme-mode): Define it as derived-mode: the code is
8521 shorter and this way we inherit from comint-mode-map rather than
8524 * subr.el (replace-regexps-in-string): Properly handle the case
8525 where we match an empty string.
8527 * comint.el (comint-exec-1): Add the current-dir to the exec-path
8528 when the command has a directory component (such as "./testml").
8529 Also fix a typo in the comment.
8531 2000-03-08 Gerd Moellmann <gerd@gnu.org>
8533 * Makefile (compile-files): Compile files one by one because
8534 that's the only way to ensure a clean compilation environment for
8535 each individual file.
8537 * frame.el (other-frame): Call x-focus-frame.
8539 2000-03-07 Dave Love <fx@gnu.org>
8541 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
8542 :require to defcustom.
8544 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
8547 * files.el (auto-mode-alist): Add configure.in.
8549 * progmodes/autoconf.el: New file.
8551 2000-03-07 Gerd Moellmann <gerd@gnu.org>
8553 * mail/mh-e.el: Change maintainer to `none'.
8555 * recentf.el (recentf-keep-non-readable-files-p): Quote args
8556 to remove-hook and add-hook.
8558 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8560 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
8562 (mail-send): Test mail-send-nonascii also for the new `mime' value.
8563 (sendmail-send-it): Conditionally add MIME headers specifying the
8566 2000-03-07 Dave Love <fx@gnu.org>
8568 * winner.el: Fix keywords, autoload cookies. Split
8569 eval-when-compile form to avoid compilation failure.
8571 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
8573 * international/mule.el: Modify comment about coding system
8574 property `coding-category'.
8575 (make-coding-system): New argument EOL-TYPE. Pay attention to
8576 coding-category property of PROPERTIES.
8578 * international/mule-conf.el (coding-category-utf-8,
8579 coding-category-utf-16-be, coding-category-utf-16-le): New coding
8580 categories. Include them in the argument for set-coding-priority.
8582 * international/mule-cmds.el (reset-language-environment): Include
8583 coding-category-utf-8, coding-category-utf-16-be, and
8584 coding-category-utf-16-le in the argument for set-coding-priority.
8585 (reset-language-environment): Initialize coding-category-utf-8,
8586 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
8588 2000-03-06 Karl Fogel <kfogel@red-bean.com>
8590 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
8591 code abstracted out of `bookmark-jump-noselect'. Now tries info
8592 extensions as well as compression extensions.
8593 (bookmark-jump-noselect): Use above new func.
8595 2000-03-03 Gerd Moellmann <gerd@gnu.org>
8597 * strokes.el: Change maintainer's mail address.
8599 2000-03-03 Kenichi Handa <handa@etl.go.jp>
8601 * international/mule-diag.el (list-character-sets): Make help-echo
8602 string by substitute-command-keys.
8603 (list-character-sets): Likewise.
8604 (sort-listed-character-sets): Call help-setup-xref.
8606 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8608 * time.el (display-time-mail-file): Add `none' to the list of
8611 2000-03-01 Dave Love <fx@gnu.org>
8613 * help.el (help-xref-go-back): Don't try to set position.
8615 * international/mule-diag.el (list-character-sets): Call
8616 help-setup-xref. Add help-echo to xrefs.
8617 (list-character-sets-1): Add help-echo to xrefs.
8619 2000-03-02 Gerd Moellmann <gerd@gnu.org>
8621 * frame.el (blink-cursor-mode): Switch cursor on when turning
8624 * add-log.el (add-log-current-defun): Add support for
8627 * mail/rmail.el (rmail-quit-hook): New variable.
8629 2000-03-01 Dave Love <fx@gnu.org>
8631 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
8633 * help.el (help-xref-button): Add help-echo arg.
8634 (describe-function-1, describe-variable, help-make-xrefs): Use it.
8636 * faces.el (list-faces-display): Supply help-echo with
8639 * facemenu.el (list-text-properties-at): Set help-xref-stack to
8642 2000-03-01 Gerd Moellmann <gerd@gnu.org>
8644 * image.el (defimage): Look for image files in load-path.
8646 * frame.el (busy-cursor-delay-seconds): Change type to
8649 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8651 * recentf.el (recentf): Added version tag to the defgroup of
8654 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8656 * recentf.el (recentf-cleanup): Changed to remove excluded file
8658 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
8659 action to select/unselect a file.
8660 (recentf-edit-list): Code cleanup and improvement.
8661 (recentf-open-more-files-action): `recentf-open-more-files' button
8662 widget action to open a file.
8663 (recentf-open-more-files): No more use standard completion but
8665 (recentf-more-collection): Deleted.
8666 (recentf-more-history): Deleted.
8667 (recentf-setup-more-completion): Deleted.
8669 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
8671 * recentf.el (recentf-mode): No more needs that Emacs is running
8672 under a window-system.
8674 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8676 * recentf.el (recentf-edit-list): New command to edit the recent
8677 list which allow the user to remove files.
8678 (recentf-edit-selected-items): New global variable, used by
8679 `recentf-edit-list' to hold the list of files to be removed from
8681 (recentf-make-menu-items): Updated to display a "Edit list..."
8682 menu item. Minor code cleanup.
8684 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8686 * recentf.el (recentf-open-more-files): New command to open files
8687 that are not displayed in the menu.
8688 (recentf-more-collection): New global variable holding the set of
8689 permissible completions used by `recentf-open-more-files'.
8690 (recentf-more-history): New global variable holding the history list
8691 used by `recentf-open-more-files' completion.
8692 (recentf-setup-more-completion): New function to setup completion for
8693 `recentf-open-more-files'.
8694 (recentf-make-menu-items): Updated to display a "More..." menu item.
8696 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8698 * recentf.el (recentf-menu-action): Doc fixed.
8700 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
8702 * recentf.el (recentf-menu-filter): Doc updated.
8703 (recentf-update-menu-hook): Allow menu filters to force menu update.
8704 (recentf-make-menu-items): New menu filter handling.
8705 (recentf-make-menu-item): New helper function.
8706 (recentf-menu-elements): New menu handling function.
8707 (recentf-sort-ascending): Updated to new menu filter handling.
8708 (recentf-sort-descending): Updated to new menu filter handling.
8709 (recentf-sort-basenames-ascending): New menu filter function.
8710 (recentf-sort-basenames-descending): New menu filter function.
8711 (recentf-show-basenames): New menu filter function.
8712 (recentf-show-basenames-ascending): New menu filter function.
8713 (recentf-show-basenames-descending): New menu filter function.
8715 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8717 * diary-lib.el (list-diary-entries): Don't try to go forward at
8718 the end of the buffer.
8720 2000-02-29 Kenichi Handa <handa@etl.go.jp>
8722 * international/mule-diag.el (list-character-sets): Completely
8724 (sort-listed-character-sets): New function.
8725 (list-character-sets-1): Completely rewritten.
8726 (list-character-sets-2): New function.
8727 (non-iso-charset-alist): New variable.
8728 (decode-codepage-char): New function.
8729 (charset-history): New variable.
8730 (read-charset) (list-block-of-chars)
8731 (list-iso-charset-chars)
8732 (list-non-iso-charset-chars)
8733 (list-charset-chars): New functions.
8734 (mule-diag): Call list-character-sets-2, not
8735 list-character-sets-2.
8736 (dump-charsets): Likewise.
8738 2000-02-29 Gerd Moellmann <gerd@gnu.org>
8740 * dired-x.el (dired-filename-at-point): Add `@' to valid
8741 file name characters.
8742 (dired-filename-at-point): Handle ange-ftp file names.
8744 * frame.el (frame-notice-user-settings): Use assq-delete-all
8745 instead of assoc-delete-all.
8746 (frame-notice-user-settings): Ditto.
8748 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
8751 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
8753 * calculator.el (calculator-use-menu): New option.
8754 (calculator-initial-bindings): Changed some bindings to work as
8756 (calculator-forced-input): Removed.
8757 (calculator-restart-other-mode): New variable.
8758 (calculator-mode-map): Set up menu.
8760 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
8762 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
8765 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
8767 * viper-cmd.el (viper-envelop-ESC-key): added the option to
8768 translate all ESC key sequences.
8769 (viper-goto-mark-subr): restore markers for files for which
8771 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
8772 * viper-util.el (viper-set-replace-overlay-glyphs,
8773 viper-set-replace-overlay): always check if the replacement
8775 * viper.el (viper-vi-state-mode-list): added major modes.
8776 * ediff-wind.el: minor comment changes.
8777 * ediff.el: copyright notice date fix.
8779 2000-02-27 Jason Rumney <jasonr@gnu.org>
8781 * faces.el (face-font-family-alternatives): Add arial to helv.
8782 (mode-line, header-line, tool-bar): Same default as x for w32.
8783 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
8784 face-font-family-alternatives from working.
8785 * term/w32-win.el (mouse-set-font): Do not build fontset from
8788 2000-02-25 Sam Steingold <sds@goems.com>
8790 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
8793 2000-02-25 Richard M. Stallman <rms@gnu.org>
8795 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
8797 2000-02-25 Gerd Moellmann <gerd@gnu.org>
8799 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
8802 * frame.el (busy-cursor-delay-seconds): New option.
8804 2000-02-24 Gerd Moellmann <gerd@gnu.org>
8806 * frame.el (show-cursor-in-non-selected-windows): New option.
8808 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8810 * diary-lib.el (include-other-diary-files): Undo the selective
8811 display in any included file and don't kill it.
8813 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
8815 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
8816 bar. Menu items converted to (menu-item format, help strings
8818 [downcase, upcase]: Don't enable on MS-DOS.
8819 [symlink, symlinks]: Don't show if make-symbolic-link is not
8821 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
8823 2000-02-23 Dave Love <fx@gnu.org>
8825 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
8826 (backward-kill-word): Revert addition of * to interactive spec --
8829 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
8830 (backward-kill-sentence, kill-sentence): Likewise.
8832 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
8833 scratch buffer name.
8834 (gud-format-command): Use int-to-string in ?l case. Simplify
8837 * term/w32-win.el (internal-face-interactive): Update prompt for
8840 * mail/footnote.el (footnote): Add :version to defgroup.
8841 (footnote-section-tag-regexp): Customize.
8842 (footnote-start-tag, footnote-end-tag): New option.
8843 (footnote-latin-regexp): New variable.
8844 (Footnote-latin): New function.
8845 (footnote-style-alist): Add element for latin style.
8846 (footnote-style): Moved.
8847 (Footnote-goto-footnote): Use eq to test arg.
8849 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
8851 * emacs-lisp/byte-opt.el: Change old backquote syntax.
8852 (byte-compile-trueconstp): Include keywords.
8853 (byte-optimize-quote, byte-optimize-lapcode): Use
8854 byte-compile-const-symbol-p.
8855 (byte-optimize-char-before): New optimization.
8857 * emacs-lisp/bytecomp.el: Change old backquote syntax.
8858 (byte-compile-const-symbol-p): New function.
8859 (byte-compile-constp, byte-compile-out-toplevel)
8860 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
8863 * subr.el (define-key-after): Default AFTER to t. Doc fix.
8865 2000-02-23 Kenichi Handa <handa@etl.go.jp>
8867 * international/encoded-kb.el: Be sure to update minor-mode-alist
8868 and minor-mode-map-alist.
8869 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
8870 codes SS2 and SS3 correctly.
8871 (encoded-kbd-self-insert-ccl): New function.
8872 (encoded-kbd-setup-keymap): New function.
8873 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
8874 by calling encoded-kbd-setup-keymap.
8876 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
8878 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
8881 2000-02-22 Dave Love <fx@gnu.org>
8883 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
8884 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
8886 (lisp-mode-syntax-table): Set up for #|...|# comments.
8887 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
8888 classes. Match `defface'.
8889 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
8890 (eval-defun-1): Fix for defcustom.
8891 (lisp-indent-region): Doc fix.
8893 * subr.el (when, unless, split-string): Doc fix.
8894 (read-passwd): Move call of clear-this-command-keys to the right
8896 (replace-regexps-in-string): New function.
8898 2000-02-22 Gerd Moellmann <gerd@gnu.org>
8900 * help.el (describe-variable): Set syntax table to
8901 emacs-lisp-mode-syntax-table when moving forward over the
8904 2000-02-22 Dave Love <fx@gnu.org>
8906 * xt-mouse.el: Doc fixes.
8907 (xterm-mouse-position-function): New function, replacing advice of
8909 (xterm-mouse-mode): Use it. Don't turn on under a window system.
8911 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
8913 2000-02-21 Gerd Moellmann <gerd@gnu.org>
8915 * format.el (format-annotate-single-property-change): Handle
8916 properties.with dotted-list values.
8917 (format-proper-list-p): New function.
8919 * enriched.el (enriched-face-ans): Handle '(foreground-color
8920 . COLOR) and (background-color . COLOR).
8922 2000-02-20 Dave Love <fx@gnu.org>
8924 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
8925 and assignments to it.
8926 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
8928 (make-flyspell-overlay): Use it.
8929 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
8931 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
8932 (lm-get-header-re): Defun, not defsubst.
8933 (lm-get-package-name): Defun, not defsubst. Simplify.
8934 (lm-version): Doc fix. Simplify.
8935 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
8936 (lm-crack-address, lm-last-modified-date, lm-commentary)
8937 (lm-verify, lm-synopsis): Simplify.
8938 (lm-report-bug): Require emacsbug. Use compose-mail.
8940 2000-02-20 Gerd Moellmann <gerd@gnu.org>
8942 * dired.el (dired-mode): Call propertized-buffer-identification
8943 to set mode-line-buffer-identification to something having
8944 the right text properties.
8946 * bindings.el (propertized-buffer-identification): New function.
8948 2000-02-20 Dave Love <fx@gnu.org>
8950 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
8951 check for t-mouse too.
8953 * cus-start.el: Make echo-keystrokes `number'.
8955 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
8957 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
8958 Don't call ring-empty-p unless tags-location-ring is bound.
8959 From Noah Friedman <friedman@splode.com>.
8961 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
8963 * progmodes/hideshow.el (hs-flag-region): No longer use
8964 `intangible' overlay property.
8966 (hs-toggle-hiding): New command.
8967 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
8969 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
8970 Fix omission bug: Run `hs-minor-mode-hook' for both activation
8973 2000-02-18 Gerd Moellmann <gerd@gnu.org>
8975 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
8977 2000-02-17 Gerd Moellmann <gerd@gnu.org>
8979 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
8981 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
8982 of `*' to handle `(* ... *)' comments.
8984 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
8986 * faces.el (list-faces-display): Use display-mouse-p instead of
8989 * menu-bar.el (global-map): Menu-bar items converted to the new
8990 format (menu-item..., rearranged for better CUA compliance, and
8991 their names changed for better clarity. Help strings added.
8993 * international/mule-cmds.el (mule-menu-keymap)
8994 (describe-language-environment-map, set-coding-system-map)
8995 (setup-language-environment-map): Convert to new (menu-item...
8996 form, add help strings. Change names of menu items for better
8997 clarity. "Mule" menu-bar item removed (it's now in the "Options"
9000 2000-02-17 Gerd Moellmann <gerd@gnu.org>
9002 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
9005 2000-02-16 Dave Love <fx@gnu.org>
9007 * faces.el: Don't require custom. Add more specific :groups to
9009 (set-face-attribute): Purecopy args.
9010 (read-face-name): Default to name at point and use it in prompt.
9011 Remove colon from arg in all callers.
9012 (list-faces-display): Hyperlink to face descriptions and customize
9015 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
9017 * wid-edit.el (widget-match-inline): An atom never matches a
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 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9155 at ':' characters by call to split-string.
9157 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9159 * textmodes/bibtex.el: Added RCS version identification.
9161 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9163 * textmodes/bibtex.el: Some temporary comments removed.
9164 (bibtex-field-name, bibtex-entry-type): Made the relationship
9166 (bibtex-field-const): Allow capital letters.
9167 (bibtex-start-of-string): Deleted because unused.
9169 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9170 use the term 'reference' to describe a bibtex entry as a whole.
9171 Further, reference keys are no longer called 'labels'.
9172 (bibtex-keys): Renamed to bibtex-reference-keys.
9173 (bibtex-reformat-previous-labels): Renamed to
9174 bibtex-reformat-previous-reference-keys.
9175 (bibtex-reference-type): Renamed to bibtex-entry-type.
9176 (bibtex-reference-head): Renamed to bibtex-entry-head.
9177 (bibtex-reference-maybe-empty-head): Renamed to
9178 bibtex-entry-maybe-empty-head.
9179 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9180 (bibtex-search-reference): Renamed to bibtex-search-entry.
9181 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9182 bibtex-enclosing-entry-maybe-empty-head.
9183 (bibtex-entry-field-alist, bibtex-entry-head,
9184 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9185 bibtex-map-entries, bibtex-search-entry,
9186 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9187 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9188 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9189 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9190 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9191 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9192 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9194 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9196 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9198 (bibtex-format-field-delimiters): New function, functionality
9199 extracted from bibtex-format-entry.
9200 (bibtex-autokey-get-yearfield-digits): New function, functionality
9201 extracted from bibtex-autokey-get-yearfield.
9203 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9204 entries in order to avoid stack overflow in the regexp matcher if
9205 field contents become large.
9206 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9207 bibtex-field-string-part-not-braced,
9208 bibtex-field-string-part-no-inner-braces,
9209 bibtex-field-string-part-1-inner-brace,
9210 bibtex-field-string-part-2-inner-braces,
9211 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9212 bibtex-field-string-quoted, bibtex-field-string,
9213 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9214 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9215 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9216 as parsing is now performed by the following functions.
9217 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9218 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9219 bibtex-parse-field-string, bibtex-search-forward-field-string,
9220 bibtex-parse-association, bibtex-field-name-for-parsing,
9221 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9222 bibtex-search-forward-field, bibtex-search-backward-field,
9223 bibtex-start-of-field, bibtex-end-of-field,
9224 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9225 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9226 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9227 bibtex-parse-string, bibtex-search-forward-string,
9228 bibtex-search-backward-string, bibtex-start-of-string,
9229 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9230 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9231 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9232 entries. Instead of reporting the results of the parsing by
9233 match-beginning or match-end, these functions return data structures
9234 that hold the corresponding positions.
9235 (bibtex-enclosing-field): Changed to also report field boundaries by
9236 return values rather than by match-beginning or match-end. The
9237 following functions have been adapted to use the new parsing
9239 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9240 bibtex-enclosing-field, bibtex-format-entry,
9241 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9242 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9243 bibtex-print-help-message, bibtex-end-of-entry,
9244 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9245 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9246 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9248 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9249 bibtex-map-entries, bibtex-flash-head,
9250 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9251 bibtex-autokey-change, bibtex-autokey-get-namefield,
9252 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9253 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9254 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9255 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9256 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9257 order to make the new binding of case-fold-search immediately
9260 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9262 * textmodes/bibtex.el: Copyright notice is up to date.
9263 Added constant 'bibtex-maintainer-salutation.
9265 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9266 than make-temp-name, use match-string-no-properties and eliminate
9267 a quadratic behavior when building bibtex-strings.
9269 * bibtex.el (bibtex-reference-key): Accept string entries whose
9270 reference key contains upper case letters.
9272 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9274 * bibtex.el (bibtex-reference-head): Allow entries to start with
9277 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9279 * bibtex.el: Hiding of entry bodies is not longer provided by
9280 bibtex.el directly. Instead the hideshow package can be used.
9281 Added a special bibtex entry to hs-special-modes-alist.
9282 (bibtex-hs-forward-sexp): Added for hideshow.el.
9284 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9286 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
9287 proceedings entry type (for cross referencing). Thanks to Wagner
9288 Toledo Correa for the suggestion.
9290 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
9292 2000-02-14 Kenichi Handa <handa@etl.go.jp>
9294 * international/characters.el: Setup case table for Vietnamese.
9296 2000-02-12 Gerd Moellmann <gerd@gnu.org>
9298 * uniquify.el (toplevel): Require CL at compile time.
9299 (uniquify-push): Removed.
9301 * shadowfile.el (shadow-when): Removed.
9303 * tempo.el (tempo-dolist, tempo-mapc): Removed.
9304 (tempo-process-and-insert-string): Use dolist instead of
9307 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
9308 regexp for paragraph-start.
9310 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
9313 2000-02-10 Dave Love <fx@gnu.org>
9315 * wid-edit.el: (widgets) [defgroup]: Remove url link.
9316 (widget-color-choice-list, widget-color-history, widget-mouse-help):
9318 (widget-specify-field, widget-specify-button): Don't use
9319 widget-mouse-help as help-echo property.
9320 (default): Use #'ignore for :validate and :mouse-down-action.
9321 (checkbox): Add help-echo.
9322 (widget-sexp-validate): Rewritten to clarify error messages.
9323 (character): Use char-valid-p in :match function.
9324 (widget-color-complete): Use facemenu-color-alist.
9325 (widget-color-action): Use facemenu-read-color.
9327 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
9328 set up `caar' &c that we now have.
9330 2000-02-09 Ray Blaak <blaak@gnu.org>
9332 * delphi.el: Make resourcestring a declaration region, like const
9335 2000-02-09 Dave Love <fx@gnu.org>
9337 * bindings.el (mode-line-input-method-map): New variable.
9338 (mode-line-mule-info): Use it; fix last change.
9339 (mode-line-mode-menu): Move definition.
9340 (mode-line-mouse-sensitive-p): Deleted.
9341 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
9342 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
9345 * startup.el (command-line-1): Don't call
9346 make-mode-line-mouse-sensitive.
9348 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9350 * mail/rmail.el (rmail-retry-failure): Use
9351 rmail-beginning-of-message before rmail-toggle-header, because the
9352 former toggles headers.
9354 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
9356 * diff-mode.el (diff-kill-junk): New interactive function.
9357 (diff-reverse-direction): Use delete-and-extract-region.
9358 (diff-post-command-hook): Restrict the area so that the hook also works
9359 outside of any diff hunk. This is necessary for the minor-mode.
9360 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
9361 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
9363 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
9364 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
9365 so that it can be used more easily in <foo>-mode-hook. Also make sure
9366 to avoid duplicate entries.
9367 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
9368 (font-lock-remove-keywords): Just as was done for `add', allow it to
9369 work even if font-lock-mode is nil. Also make sure we don't modify
9370 any pre-existing list by forcing a copy-sequence. Finally rename
9371 `major-mode' to `mode'.
9372 (font-lock-fontify-syntactic-anchored-keywords)
9373 (font-lock-fontify-anchored-keywords)
9374 (font-lock-fontify-keywords-region): Use line-end-position.
9375 Don't make `font-lock-multiline' local (it's now done in
9376 font-lock-set-defaults).
9377 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
9378 move the `font-lock-fontified' creation to inside the `unless'.
9380 2000-02-06 Andrew Innes <andrewi@gnu.org>
9382 * term/w32-win.el (x-handle-args): Comment out call to message,
9383 which occurs before window system is initialized.
9385 * makefile.nt: Add support for recompiling lisp code.
9387 2000-02-04 Dave Love <fx@gnu.org>
9389 * bindings.el (mode-line-mule-info): Fix/extend last change.
9391 * completion.el: Replace completion-dolist with dolist.
9393 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
9396 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
9398 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
9399 environment names before they go into the section regexp.
9401 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
9402 char class in regexp.
9404 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
9405 `case-fold-search' to nil.
9407 * progmodes/idlwave.el (idlwave-template): Respect
9408 `idlwave-abbrev-change-case'.
9409 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
9410 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
9411 idlwave-while): respect `idlwave-reserved-word-upcase'.
9412 (idlwave-rw-case): New function.
9413 (idlwave-statement-match): Fixed problem with assignment regexp.
9414 (idlwave-font-lock-keywords): Improved regexp for keyword
9416 (idlwave-surround): New argument LENGTH to support padding of
9417 operators longer than 1 char.
9419 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
9420 idlwave-shell-expression-overlay. Implemented printing of
9421 expressions on higher levels of the calling stack.
9422 (idlwave-shell-display-level-in-calling-stack): Restore stack
9424 (idlwave-retrieve-expression-from-level): New function.
9425 (idlwave-shell-last-calling-stack): Variable removed.
9426 (idlwave-shell-reset): Argument action reversed (`visible' to
9427 `hidden'). Also remove stop-line overlay.
9428 (idlwave-shell-calling-stack-routine): New variable.
9429 (idlwave-shell-parse-stack-and-display): Messages now display
9430 negative level numbers.
9431 (idlwave-shell-mode): Set `modeline-format'.
9432 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
9433 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
9435 (idlwave-shell-print-expression-function): New option.
9437 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
9438 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
9439 `tool-bar' instead of `toolbar'.
9441 2000-02-02 Dave Love <fx@gnu.org>
9443 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
9444 emacs-lisp-mode-hook. Don't check for defalias being defined.
9446 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
9447 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
9448 the new builtins directly.
9450 * whitespace.el (whitespace): Add :version to defgroup.
9452 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
9455 * thingatpt.el (sexp-at-point, symbol-at-point)
9456 (number-at-point, list-at-point): Add autoload cookie.
9458 * recentf.el (recentf): Add :version to defgroup.
9460 * quickurl.el (quickurl): Add :version to defgroup.
9462 * elide-head.el (elide-head): Use point-marker more.
9464 * bs.el (bs): Add :version to defgroup.
9466 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
9468 * progmodes/delphi.el (delphi): Add :version to defgroup.
9470 2000-02-02 Gerd Moellmann <gerd@gnu.org>
9472 * ange-ftp.el (ange-ftp-write-region): Handle case that
9473 succeeding process operation sets a different coding system.
9475 * calculator.el: New file.
9477 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
9479 * frame.el (frames-on-display-list, framep-on-display): New
9481 (display-mouse-p, display-popup-menus-p, display-graphic-p)
9482 (display-selections-p, display-screens, display-pixel-width)
9483 (display-pixel-height, display-mm-width, display-mm-height)
9484 (display-backing-store, display-save-under, display-planes)
9485 (display-color-cells, display-visual-class): New functions.
9487 * term/tty-colors.el (tty-color-gray-shades): New function.
9489 * faces.el (display-color-p): Use framep-on-display.
9490 (display-grayscale-p): New function.
9492 2000-01-31 Dave Love <fx@gnu.org>
9494 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
9495 (create-fontset-from-x-resource): Don't concat integers.
9497 2000-01-31 Inge Frick <inge@nada.kth.se>
9499 * view.el: Some changes in documentation. Removed some trailing
9500 whitespace. Changed some parameter names to agree with
9502 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
9503 window is not deleted. Modifies change 1998-04-26.
9505 2000-01-31 Gerd Moellmann <gerd@gnu.org>
9507 * windmove.el: New file.
9509 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9510 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9511 progmodes/ebnf-yac.el: Update copyright and license info.
9513 * jit-lock.el (jit-lock-function): Widen before calculating end
9515 (jit-lock-stealth-chunk-start): Rewritten.
9517 * info.el (Info-title-face-alist): Removed.
9518 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
9520 (Info-fontify-node): Use these faces.
9522 2000-01-30 Gerd Moellmann <gerd@gnu.org>
9524 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
9525 (cl-macro-list1): Recognize `&allow-other-keys' instead of
9526 `&allow-other-keywords'.
9528 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
9529 the list of directories scanned heuristically.
9531 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
9534 2000-01-30 Jason Rumney <jasonr@gnu.org>
9536 * w32-fns.el: Define w32-tty-standard-colors.
9538 * startup.el (command-line): Use w32-tty-standard-colors when in
9541 2000-01-30 Dave Love <fx@gnu.org>
9543 * jka-compr.el (jka-compr-load): Fix up load-history.
9545 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
9547 * emacs-lisp/cl-macs.el: Revert previous change.
9549 2000-01-29 Dave Love <fx@gnu.org>
9551 * facemenu.el: Purecopy various strings.
9553 * timezone.el (timezone-fix-time): Window against 69 for two-digit
9554 years. Deal with three-digit years.
9556 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
9558 (help-back-label): Purecopy it.
9560 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9562 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
9563 variable. If non-nil, order the buffer list according to the
9564 currently selected frame.
9565 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
9566 non-nil, pass the selected frame to function buffer-list.
9568 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9570 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
9572 2000-01-28 Dave Love <fx@gnu.org>
9574 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
9576 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
9577 Don't use lisp-indent-hook property.
9580 * subr.el: Move out indent and edebug specs for when and unless.
9582 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
9585 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
9588 2000-01-28 Gerd Moellmann <gerd@gnu.org>
9590 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
9591 `collecting' as synonym for `collect'.
9593 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
9594 for the case it contains spaces.
9596 * simple.el (what-cursor-position): Change formatting of
9599 * frame.el (delete-other-frames): New function.
9600 (toplevel): Bind it to C-x 5 1.
9602 * sort.el (sort-numeric-base): New option.
9603 (sort-numeric-fields): If number starts with `0' or `0[xX[',
9604 interpret it as octal or hexadecimal. Use sort-numeric-base
9607 * progmodes/glasses.el: New file.
9609 2000-01-27 Gerd Moellmann <gerd@gnu.org>
9611 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
9612 userids differently.
9614 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9615 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9616 progmodes/ebnf-yac.el: New files.
9618 2000-01-26 Dave Love <fx@gnu.org>
9620 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
9621 on a function with an empty body. [From Eric Ludlam.]
9623 2000-01-25 Andre Spiegel <spiegel@gnu.org>
9625 * vc.el (vc-version-diff): Make sure file name is expanded.
9627 2000-01-25 Gerd Moellmann <gerd@gnu.org>
9629 * scroll-bar.el (scroll-bar-timer): Variable removed.
9630 (scroll-bar-toolkit-scroll): Don't use a timer.
9632 2000-01-25 Kenichi Handa <handa@etl.go.jp>
9634 * language/thai-util.el (thai-composition-function): Delete
9637 2000-01-24 Dave Love <fx@gnu.org>
9639 * fortran.el (fortran-mode): Use beginning-of-defun-function,
9640 end-of-defun-function.
9642 * font-lock.el (turn-on-font-lock): Don't depend on window-system
9645 2000-01-22 Jason Rumney <jasonr@gnu.org>
9647 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
9648 conflicts with new face support.
9650 2000-01-22 Richard M. Stallman <rms@gnu.org>
9652 * replace.el (query-replace): Rename last arg to DELIMITED.
9653 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
9654 (query-replace-regexp): Likewise.
9656 2000-01-20 Richard M. Stallman <rms@gnu.org>
9658 * subr.el (with-syntax-table): Use make-symbol, not gensym.
9660 * emacs-lisp/lisp.el (beginning-of-defun-function):
9661 Variable renamed from beginning-of-defun.
9662 Do not call make-variable-buffer-local.
9663 (beginning-of-defun-raw): Use new variable name; doc fix.
9664 (beginning-of-defun): Doc fix.
9665 (end-of-defun-function): Variable renamed from end-of-defun.
9666 Do not call make-variable-buffer-local.
9667 (end-of-defun): Use new variable name; doc fix.
9669 * subr.el (dolist, dotimes): Copied from cl-macs.el
9672 * mail/undigest.el (rmail-digest-end-regexps):
9673 Variable replaces rmail-digest-end-regexp.
9674 Allows multiple regexps for detecting the end line.
9675 (undigestify-rmail-message): Corresponding changes.
9677 2000-01-19 Dave Love <fx@gnu.org>
9679 * files.el (user-init-file): Don't declare here -- is primitive.
9681 * startup.el (command-line): Check for compiled user-init-file and
9682 set to uncompiled version if necessary.
9684 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9686 * mail/undigest.el (rmail-digest-end-regexp): New user option.
9687 (undigestify-rmail-message): Use it.
9689 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
9691 2000-01-17 Gerd Moellmann <gerd@gnu.org>
9693 * tmm.el (tmm-goto-completions): Adapt to prompt being part
9696 2000-01-14 Gerd Moellmann <gerd@gnu.org>
9698 * emacs-lisp/copyright.el (copyright-update): Removed the
9699 requirement for a trailing space from `copyright-regexp', to
9700 support copyrights with owner specified on a separate line..
9702 * align.el: New file.
9704 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
9706 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
9708 2000-01-13 Dave Love <fx@gnu.org>
9710 * ph.el: Removed. (Obsoleted by EUDC.)
9712 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9714 * net/eudc.el (toplevel): Remove autoloaded code installing
9715 menu with easymenu, because that causes build problems.
9717 * frame.el (frame-notice-user-settings): New variable.
9718 (frame-notice-user-settings): Don't modify frame parameters
9719 if called a second time.
9721 2000-01-13 Richard M. Stallman <rms@gnu.org>
9723 * frame.el (frame-notice-user-settings):
9724 Notice default-frame-parameters even for non-window frames.
9726 2000-01-13 Gerd Moellmann <gerd@gnu.org>
9728 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
9730 (eudc-bob-can-display-inline-images): Extend for Emacs.
9731 (eudc-bob-toggle-inline-display): Ditto.
9732 (eudc-bob-display-jpeg): Ditto.
9734 2000-01-12 Gerd Moellmann <gerd@gnu.org>
9736 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
9737 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
9738 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
9740 * add-log.el (add-change-log-entry): Fix error trying an `(insert
9743 * subdirs.el: Add `net' directory.
9745 * net: New directory.
9747 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
9748 eval-last-sexp. Don't bind debug-on-error here.
9749 (eval-last-sexp): New function. Bind debug-on-error if
9750 eval-expression-debug-on-error is non-nil.
9751 (eval-defun-2, eval-defun): Likewise.
9753 * simple.el (eval-expression): Don't bind debug-on-error if
9754 eval-expression-debug-on-error is nil. Detect changed
9755 debug-on-error, and propagate new value to global binding, if
9756 eval-expression-debug-on-error is non-nil,
9757 (eval-expression-debug-on-error): Change doc string.
9759 2000-01-11 Richard M. Stallman <rms@gnu.org>
9761 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
9763 * emacs-lisp/lisp-mode.el (with-syntax-table):
9764 Set up lisp-indent-function property.
9766 * subr.el (with-syntax-table): Moved from simple.el.
9768 * simple.el (with-syntax-table): Moved to subr.el.
9770 2000-01-11 Gerd Moellmann <gerd@gnu.org>
9772 * tmm.el (tmm-shortcut): Delete region after prompt instead
9775 * textmodes/fill.el (fill-common-string-prefix): New function.
9776 (fill-context-prefix): Use the longest common prefix of first
9777 and second line fill prefix, if there is one.
9779 2000-01-11 Richard M. Stallman <rms@gnu.org>
9781 * array.el (array-mode): Don't use make-variable-buffer-local.
9782 Use make-local-variable for `truncate-lines'.
9784 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
9786 * add-log.el (add-log-current-defun): Handle user-defined
9787 add-log-current-function returning nil,
9789 * add-log.el (add-change-log-entry): Insert version number
9790 if having found a current function
9792 * add-log.el (add-log-current-defun): Call
9793 `add-log-current-defun-function'. Try matches at level 0 and
9794 level 1. Strip whitespace from defun found.
9796 2000-01-10 John Wiegley <johnw@gnu.org>
9798 * allout.el (isearch-done/outline-provisions): Added `edit'
9799 argument to correspond with the current definition of
9802 2000-01-10 Dave Love <fx@gnu.org>
9804 * elide-head.el (elide-head): Use point-marker, not point.
9806 2000-01-10 Gerd Moellmann <gerd@gnu.org>
9808 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
9809 before and after the year 2000.
9811 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
9814 2000-01-10 Ken Stevens <k.stevens@ieee.org>
9816 * ispell.el: Only define dictionaries in menus when they exist.
9817 (version18p): New variable.
9818 (version20p): New variable.
9819 (xemacsp): New variable.
9820 (ispell-choices-win-default-height): Fix for XEmacs visibility.
9821 (ispell-dictionary-alist1): Added Brasileiro dictionary.
9822 (ispell-dictionary-alist6): Russian command lines no longer accept
9824 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
9825 (ispell-dictionary-alist): Add koi8-r to customize definition.
9826 (check-ispell-version): Added documentation string. Returns
9827 library path when called non-interactively.
9828 (ispell-menu-map-needed): Uses new variables.
9829 (ispell-library-path): New variable.
9830 (ispell-decode-string): XEmacs fix for bogus variable bindings.
9831 (ispell-word): Improved documentation string. Test for valid
9832 character mappings. Correctly check typed in word changes that can
9833 result in single words split into multiple words. Returns
9835 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
9836 replace in recursive query replace mode. Help message for
9837 recursive edit mode.
9838 (ispell-show-choices): Protect against bad framepop bindings.
9839 (ispell-help): Fix to work with XEmacs.
9840 (ispell-highlight-spelling-error): Use new variables.
9841 (ispell-overlay-window): Fix to work with XEmacs.
9842 (ispell-parse-output): Passed and returns location information
9843 tracking spelling corrections. Doesn't recheck same word on
9845 (ispell-init-process): Protect against bogus XEmacs variable binding.
9846 Fix call to single argument in sleep-for. Use new variables.
9847 (ispell-region): Passed and returns location information tracking
9848 spelling corrections. Doesn't check same word on current line.
9849 Improved documentation string. Doesn't resend a line already
9850 checked to the ispell process - fixes bug in LaTeX parsing.
9851 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
9852 (ispell-skip-region): No longer skips <TT> in SGML.
9853 (ispell-process-line): Tracks location information with spelling
9854 corrections. Added documentation string. Accounts for words
9855 already accepted on this line. Don't allow query-replace on line
9856 starting with math characters. Doesn't resend a line already sent
9857 to ispell process. Fixes alignment error bug.
9859 2000-01-10 Richard M. Stallman <rms@gnu.org>
9861 * dired-x.el (dired-guess-shell-alist-default):
9862 Suggest xloadimage, which is free, not xv, which isn't.
9864 * ange-ftp.el (ange-ftp-file-name-nondirectory):
9865 Don't ever include the host name or user name in the value.
9867 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9869 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
9872 2000-01-09 Stephen Eglen <stephen@gnu.org>
9874 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
9877 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
9879 * cus-edit.el (custom-hook-convert-widget): Fix comment.
9881 2000-01-09 Gerd Moellmann <gerd@gnu.org>
9883 * progmodes/cperl-mode.el: Replace ^F with ^L.
9885 * sendmail.el (toplevel): Provide `sendmail' when compiling
9886 before `require'ing rmail and mailalias to prevent infinite
9889 2000-01-08 Dave Love <fx@gnu.org>
9891 * emacs-lisp/backquote.el: Remove inappropriate customization
9892 (allowing custom.el to use backquote).
9894 2000-01-07 Dave Love <fx@gnu.org>
9896 * add-log.el (add-log-debugging): Deleted.
9897 (add-change-log-entry): Treat a backup FILE-NAME as its parent
9898 file. Remove debugging code.
9899 (change-log-get-method-definition, change-log-name): Add doc.
9900 (change-log-sortable-date-at): New function.
9901 (change-log-merge): New command.
9903 * time.el (display-time-string-forms): Make the Mail string active.
9904 (display-time-update): Provide help-echo for load average.
9906 * bindings.el (make-mode-line-mouse2-map): New function.
9907 (mode-line-modified): Use it and simplify.
9908 (mode-line-mule-info): Provide help-echo info.
9909 (minor-mode-alist): Activate the strings.
9910 (make-mode-line-mouse-sensitive): Simplify for
9911 mode-line-buffer-identification.
9913 2000-01-07 Gerd Moellmann <gerd@gnu.org>
9915 * play/pong.el: New file.
9917 2000-01-06 Dave Love <fx@gnu.org>
9919 * array.el: Assorted cleanups for compiler warnings, doc strings,
9920 `array-' prefix for symbols.
9922 2000-01-05 Dave Love <fx@gnu.org>
9924 * textmodes/outline.el (outline-mode-menu-bar-map): Add
9925 outline-headers-as-kill.
9926 (outline-mode): Define imenu-generic-expression.
9927 (outline-headers-as-kill): New command.
9929 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
9930 from paragraph-start.
9931 (paragraph-indent-minor-mode): New command.
9933 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
9934 M-C-e, M-C-h, C-j, C-xnd, TAB.
9935 (fortran-mode): Set beginning-of-defun, end-of-defun.
9936 (fortran-column-ruler): Simplify.
9937 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
9938 (fortran-with-subprogram-narrowing): Likewise.
9939 (fortran-indent-subprogram): Call mark-defun.
9940 (fortran-check-for-matching-do): Change narrowing.
9942 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
9943 (cl-lucid-hash-tag): Delete.
9944 (cl-hash-table-p): Correct test for native table.
9945 (cl-hash-table-count): Use hash-table-count.
9947 * browse-url.el (browse-url): Fix case of
9948 browse-url-browser-function being an alist.
9950 2000-01-05 Carsten Dominik <cd@gnu.org>
9952 * textmodes/reftex-vars.el (reftex-parse-file-extension)
9953 (reftex-index-phrase-file-extension): New options.
9955 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
9956 Use new option `reftex-index-phrase-file-extension'.
9958 * textmodes/reftex.el (reftex-access-parse-file): Use new option
9959 `reftex-parse-file-extension'.
9961 2000-01-05 Dave Love <fx@gnu.org>
9963 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
9964 (beginning-of-defun-raw): Use it.
9965 (end-of-defun): New variable.
9966 (end-of-defun): Use it.
9967 (check-parens): New command.
9969 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
9971 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
9972 (hs-show-block): Don't use `mapcar' when not accumulating.
9974 Fix buglet in local variables initialization.
9976 2000-01-05 Andreas Schwab <schwab@suse.de>
9978 * hscroll.el (hscroll): Doc fix.
9980 2000-01-05 Carsten Dominik <cd@gnu.org>
9982 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
9985 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
9987 (idlwave-customize): load must read file idlw-shell.el.
9988 (idlwave-create-customize-menu): load must read file idlw-shell.el.
9990 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
9992 * progmodes/idlw-shell.el: Also provide idlwave-shell
9993 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
9994 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
9996 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
9997 both reftex-dcr and reftex-vcr.
9999 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
10001 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10003 * ps-print.el: PostScript code now is in separate files, doc fix.
10004 (ps-print-version): New version number (5.0.3).
10005 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
10007 (ps-spool-config): Initialization fix.
10008 (ps-print-prologue-1, ps-print-prologue-2)
10009 (ps-print-duplex-feature): PostScript code moved to separated file.
10010 (ps-background-image): Little code reformating.
10011 (ps-begin-file, ps-begin-job): Fix code.
10012 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
10013 (ps-prologue-file): New fun.
10015 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10017 * ps-vars.el: Eliminated.
10019 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
10022 * ps-print.el: ps-vars eliminated, doc fix.
10023 (ps-print-version): New version number (5.0.2).
10024 (ps-spool-config): Initialization fix.
10025 (ps-print-customize): New fun.
10027 2000-01-04 Gerd Moellmann <gerd@gnu.org>
10029 * autorevert.el (auto-revert-mode): Return value of
10032 2000-01-04 Dave Love <fx@gnu.org>
10034 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
10037 2000-01-03 Dave Love <fx@gnu.org>
10039 * elide-head.el (elide-head) [defgroup]: Add :version.
10041 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
10042 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
10043 `cl-hash-table-p', not `hash-table-p'.
10044 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
10046 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10048 * faces.el (face-read-integer, read-face-attribute)
10049 (color-defined-p, color-values): unspecified-{f,b}g are now
10052 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
10054 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
10055 at comment end, and re-insert them after filling.
10057 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10059 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
10060 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
10061 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
10063 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10065 * term/x-win.el (xw-defined-colors): Call color-supported-p,
10066 the new name of face-color-supported-p.
10068 * term/w32-win.el (xw-defined-colors): Likewise.
10070 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10072 * simple.el (completion-setup-function): Count completion-size
10073 from minibuffer-prompt-end, not from point-min.
10075 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
10077 * faces.el (read-face-attribute, defined-colors, color-defined-p):
10078 Pass the frame to tty-color-* functions.
10079 (display-color-p, frame-set-background-mode): Pass the frame to
10080 tty-display-color-p.
10082 * term/tty-colors.el (tty-defined-color-alist): Renamed from
10084 (tty-color-alist, tty-modify-color-alist): New functions.
10085 (tty-color-define, tty-color-clear, tty-color-approximate)
10086 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
10087 an optional parameter FRAME.
10089 2000-01-01 Gerd Moellmann <gerd@gnu.org>
10091 * image.el (create-image, defimage): Don't assume image data is a
10094 * image.el (defimage): Handle specifications containing :data
10096 (image-type-from-data): New function.
10097 (image-type-from-file-header): Use it.
10098 (create-image): Add parameter DATA-P.
10100 See ChangeLog.8 for earlier changes.
10102 ;; Local Variables:
10103 ;; coding: iso-2022-7bit-unix