1 2000-10-13 John Wiegley <johnw@gnu.org>
3 * desktop.el (desktop-buffer-modes-to-save): Added a global for
4 specifying what "other" kinds of buffers should be saved. This
6 (desktop-buffer-misc-functions): A global for specifying how
7 auxiliary data should be determined for special buffer types.
8 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
9 instead of hard-coding the special buffer types.
10 (desktop-save): Run `desktop-buffer-misc-functions' to gather
11 auxiliary data, instead of hard-coding for Info buffers and dired.
12 (desktop-buffer-info-misc-data): Aux function for determining Info
13 buffer auxiliary info.
14 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
15 (desktop-buffer-info): Changed this function to use the info
17 (desktop-create-buffer): Be a little more careful about what
18 `minor-mode' means before calling it. This is important for some
21 2000-10-13 John Wiegley <johnw@gnu.org>
23 * eshell/esh-util.el: Added a global form which declares an
24 autoload for `parse-time-string', if that function is not already
25 defined, and if parse-time.el is available on the user's system.
27 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
28 to be aware of ange-ftp user info.
29 (eshell-do-ls): Bind `ange-cache'. Also, use
30 `eshell-file-attributes'.
31 (eshell-ls-annotate): Use `eshell-file-attributes'.
32 (eshell-ls-file): Made the user-id printing code a bit smarter.
34 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
35 allow identification of alias user ids in remote directories.
36 It's manual, but there's no other way to know when the current
37 user on the local machine, is also the owning user on the remote
39 (fboundp): Bind `ange-cache'.
40 (eshell-directory-files-and-attributes): Re-organized the logic a
41 bit to use `eshell-file-attributes' instead of `file-attributes'.
42 The former is more sensitive to directories that are read via FTP,
43 and knows how to use ange-ftp to determine full attribute
44 information, instead of just the name and last modtime.
45 (eshell-current-ange-uids): Return the current user id when in a
47 (eshell-parse-ange-ls): Parse a full directory listing that has
48 been returned by ange-ftp.
49 (eshell-file-attributes): This beefed up version of
50 `file-attributes' is only special if the user is currently in a
51 remote directory, in which case it does a lot of work to find out
52 what the real attributes of a file are, as they appear on the
53 remote machine. This makes usage of remote directories (i.e.,
54 ange-ftp pathnames) much more useful. You can now use Eshell as a
55 full-fledged FTP client, with much more manipulation ability than
58 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
59 variable, which means that Eshell's du should always be preferred
60 in remote directories.
61 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
62 just `file-attributes'.
63 (eshell-mvcp-template): Bind `ange-cache', to improve performance
64 when reading remote directories. This is an Eshell-specific
65 variable (not part of ange-ftp).
66 (eshell/ln): Bind `ange-cache'.
67 (eshell/du): Added some extra logic for determining when to use
68 Eshell's du (which is slow), and when to use the external version
69 (which may or may not exist).
71 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
72 `eshell-interactive-process', rather than using
73 `get-buffer-process', since backgrounded processes don't count in
74 the context of this function's logic.
76 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
77 `forward-char', so that null strings are parsed correctly.
79 2000-09-10 John Wiegley <johnw@gnu.org>
81 * eshell/em-pred.el (eshell-pred-file-type,
82 eshell-pred-file-links, eshell-pred-file-size): Use
83 `eshell-file-attributes'. This is more correct over ange-ftp.
85 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
86 that remote file globbing is more efficient.
88 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
89 gathering the files and attributes within a directory.
91 * eshell/em-unix.el (eshell/cat): If any of the files passed on
92 the command line is a special file (not a regular file, directory
93 or symlink), always attempt to call the external version of cat.
95 2000-09-06 John Wiegley <johnw@gnu.org>
97 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
98 Eshell-friendly version of find-tag.
100 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
102 * image-file.el (image-file-name-extensions)
103 (image-file-name-regexps): Add autoload cookies.
105 2000-10-13 Kenichi Handa <handa@etl.go.jp>
107 * international/mule-cmds.el (select-safe-coding-system): If FROM
108 is string, show it in *Warning* buffer.
110 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
112 * startup.el (normal-top-level): Use display-popup-menus-p instead
114 (command-line): Use display-graphic-p instead of window-system.
115 (command-line-1): Use display-popup-menus-p and display-mouse-p
116 instead of window-system.
118 2000-10-12 Sam Steingold <sds@gnu.org>
120 * tooltip.el (tooltip-use-echo-area): New user variable.
121 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
123 2000-10-12 Dave Love <fx@gnu.org>
125 * recentf.el: Maintainer's checkdoc fixes.
127 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
128 character class, not ASCII when matching file names.
129 (fancy-splash-head): Add trailing slash to URL.
130 (command-line): Don't require XPM support for toolbar.
132 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
133 (cperl-invalid-face): Revert last change.
134 (cperl-init-faces): Quote cperl-invalid-face.
136 2000-10-12 Kenichi Handa <handa@etl.go.jp>
138 * startup.el (fancy-splash-text): Remove superfluous quote.
140 2000-10-12 Gerd Moellmann <gerd@gnu.org>
142 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
143 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
144 (command-line-1): Don't use fancy-splash-pending-command.
145 (fancy-splash-screens-1): Goto point-min after inserting text.
147 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
149 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
150 instead of shared-lisp-mode-map.
152 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
154 * faces.el (header-line): Change tty-variant to use underlining.
156 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
157 (isearch-highlight): Restore lazy-isearch face properties at old
158 position, and suppress them at new position.
159 (isearch-dehighlight): Restore lazy-isearch face properties.
160 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
161 over the real isearch overlay, but in that case, don't give it a
162 face property. Use `push'.
164 2000-10-12 Kenichi Handa <handa@etl.go.jp>
166 * man.el (Man-getpage-in-background): Fix previous change.
167 Decode the process output only when we are in multibyte mode.
169 2000-10-11 Dave Love <fx@gnu.org>
171 * info.el (Info-mode-menu): Fix some help.
172 (info-tool-bar-map): Add entry for Info-last.
174 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
175 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
176 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
177 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
178 * toolbar/search-replace.xpm, toolbar/exit.xpm:
179 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
180 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
181 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
182 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
183 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
184 Reduce colour requirements to 25 overall. (Probably wants
185 revisiting from the originals to reduce further.)
187 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
189 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
190 buffer-file-coding-system, instead of raw-text.
191 (dehexlify-buffer): Bind coding-system-for-read to
192 buffer-file-coding-system, instead of raw-text.
194 2000-10-11 Sam Steingold <sds@gnu.org>
196 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
197 `underline' - fixes the bug introduced on 2000-09-21.
199 2000-10-11 Dave Love <fx@gnu.org>
201 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
203 (scheme-mode): Doc fix.
204 (scheme-font-lock-keywords-1): Match `define-syntax'.
206 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
208 * faces.el (frame-set-background-mode): Pay attention to saved
209 face specs as well as default ones. Only do anything if the
210 bg-mode or display-type has actually changed. Use `dolist'.
211 (region): Make dark-background `region' face less in-your-face.
213 2000-10-10 Sam Steingold <sds@gnu.org>
215 * chistory.el, ielm.el, ledit.el:
216 * progmodes/inf-lisp.el, progmodes/scheme.el:
217 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
219 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
221 * textmodes/texinfo.el: Update copyright and fix typo.
223 * desktop.el (desktop-modes-not-to-save): New var.
224 (desktop-save-buffer-p): Use it.
225 Also, obey desktop-buffers-not-to-save even for non-file buffers.
226 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
228 2000-10-10 Dave Love <fx@gnu.org>
230 * toolbar/tool-bar.el (tool-bar-add-item)
231 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
234 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
235 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
236 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
237 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
238 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
239 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
240 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
241 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
242 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
243 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
244 the .xpms; probably need retouching.
246 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
248 * subr.el (add-to-list): Add optional argument APPEND.
249 * battery.el (display-battery): Use `add-to-list'.
251 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
253 * play/zone.el (zone-timer, zone-wc-tbl): Rework
254 these vars as symbol properties.
255 (zone, zone-when-idle, zone-leave-me-alone)
256 (zone-pgm-whack-chars): Use new symbol properties.
258 * battery.el (display-battery): Doc spelling fix.
260 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
263 2000-10-09 Dave Love <fx@gnu.org>
265 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
266 has been initialized before calling tool-bar-setup.
267 (tool-bar-add-item-from-menu): Add autoload cookie.
269 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
271 * menu-bar.el (send-mail-item-name): New function.
272 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
273 of mail-user-agent in the menu. Don't display the "Send Mail"
274 item if mail-user-agent is nil or its value is ignore.
275 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
276 if read-mail-command is nil or its value is ignore.
278 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
280 2000-10-09 Miles Bader <miles@gnu.org>
282 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
284 * toolbar/left_arrow.xpm: Correct image size.
286 * jka-compr.el: Don't call `jka-compr-install' when loading (it
287 will be done by the definition of `auto-compression-mode' if
288 necessary. Move code to uninstall existing file-name handler
289 before definition of `auto-compression-mode'.
291 * image-file.el (auto-image-file-mode): Move to the end of the
292 file, because `define-minor-mode' actually calls the mode-function
293 if the associated variable is non-nil, which requires that all
294 needed functions be already defined.
296 * mouse.el (popup-menu): Balance parens.
298 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
300 * mouse.el (popup-menu): Move the command call outside the loop
301 so that popup-menu returns whatever the command returns.
303 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
304 (initialize-new-tags-table): Use run-hook-with-args-until-success.
305 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
306 (tags-table-format-functions): Renamed from tags-table-format-hooks.
308 * vc.el (vc-version-diff): diff-switches can be a list.
309 Use relative filenames for prettier output.
311 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
312 (vc-post-command-functions): Remove old-VC compatibility code.
314 * newcomment.el (comment-indent-default): Autoload.
316 * font-lock.el (font-lock-defaults): Make buffer-local.
317 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
318 (font-lock-choose-keywords):
319 Ignore LEVEL unless KEYWORDS is a list of syms.
320 (c-keywords, c++-keywords, objc-keywords, java-keywords):
321 Don't wrap regexp-opt things in \(...\) unnecessarily.
323 * jit-lock.el: Don't require font-lock any more.
324 (jit-lock-functions): Make buffer-local.
325 (jit-lock-saved-fontify-buffer-function): Remove.
326 (jit-lock-mode): Remove autoload cookie.
327 Remove font-lock specific code.
328 (jit-lock-unregister): Don't bother handling complex hooks any more.
329 (jit-lock-refontify): New function.
330 (jit-lock-fontify-buffer): Use it.
331 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
332 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
333 Add optional args START and END.
334 Never call font-lock-fontify-region directly.
335 (jit-lock-function, jit-lock-stealth-fontify): Use it.
337 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
339 2000-10-08 Dave Love <fx@gnu.org>
341 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
343 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
345 * play/studly.el (studlify-region, studlify-word): Add autoload
348 * play/morse.el (morse-region, unmorse-region): Add autoload
351 * play/spook.el (spook-phrases-file): Use expand-file-name, not
354 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
355 insist on symbols starting with word syntax.
356 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
357 (eval-defun-1): Doc fix.
358 (indent-sexp): Use nconc to build up indent-stack.
360 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
361 Gnus with little use.
362 (mail-setup-hook): Add mail-abbrevs-setup to options.
364 * recentf.el: Doc fixes.
366 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
369 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
370 without timezone and (8) with timezone to enforce some whitespace.
371 Simplify code somewhat.
373 * options.el (list-options): Doc that you should use customize.
375 * iswitchb.el (iswitchb-mode): Add :require.
377 * info.el (Info-goto-node, Info-menu): Doc fix.
378 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
379 (info-tool-bar-map): New variable.
381 (Info-edit-map): Define all in defvar.
382 (speedbar-attached-frame): Avoid compiler warning.
384 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
385 (global-map): Bind [tool-bar] to a filtered map.
386 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
387 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
389 (tool-bar-setup): Adjust calls of tool-bar-add-item.
391 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
392 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
393 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
394 icons, except up_arrow, which is left-arrow rotated.
396 * imenu.el (imenu-add-to-menubar): Fix last change.
398 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
400 * generic-x.el (rul-generic-mode): Remove eval-when-compile
401 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
403 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
405 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
406 typos in doc strings.
408 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
409 the doc strings how to customize Font Lock faces.
411 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
412 computing growth when dragging the header line.
414 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
416 * simple.el (kill-line): Doc fix.
418 2000-10-08 Miles Bader <miles@gnu.org>
420 * faces.el (secondary-selection): Make foreground visible on tty.
422 * jka-compr.el (auto-compression-mode): Move to the end of the
423 file, because `define-minor-mode' actually calls the mode-function
424 if the associated variable is non-nil, which requires that all
425 needed functions be already defined.
426 (with-auto-compression-mode): Add autoload cookie.
428 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
430 * files.el (find-backup-file-name) [ms-dos]: If support for long
431 file names is not available, behave as if version-control were set
434 2000-10-07 Dave Love <fx@gnu.org>
436 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
437 (browse-url-gnome-moz): New function.
438 (browse-url-browser-function): Use it.
439 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
441 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
443 * indent.el (tab-always-indent): New var.
444 (indent-for-tab-command): Use it.
446 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
447 raise an error. This way it can still default to a sane value.
449 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
451 * startup.el (fancy-splash-screens): Use local rather than global map.
452 Don't use `update-menu-bindings' any more.
453 Get rid of assumptions about keymap representation.
455 2000-10-06 Dave Love <fx@gnu.org>
457 * textmodes/fill.el (sentence-end-double-space)
458 (sentence-end-without-period): Doc fix.
459 (adaptive-fill-regexp): Purecopy.
460 (unjustify-current-line): Use line-end-position.
461 (fill-individual-paragraphs-prefix): Use line-beginning-position.
463 * net/eudc-vars.el (eudc): Add :version, :link.
465 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
467 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
468 Fix for define-minor-mode.
469 (function-at-point): Alias to function-called-at-point.
471 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
473 * simple.el (backward-word): Doc fix.
475 * image-file.el (image-file-name-regexp): image-file-regexps ->
476 image-file-name-regexps.
477 (image-file-name-extensions): Add pbm.
479 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
481 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
482 and add filename to the names so that diff-mode can jump to source.
484 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
485 (tex-font-lock-keywords, tex-font-lock-keywords-2)
486 (tex-font-lock-keywords-1): Remove.
487 (font-lock-turn-on-thing-lock): Use jit-lock-register.
488 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
489 (font-lock-default-fontify-region):
490 Expand beg..end correctly when just following a multiline region.
491 (font-lock-fontify-anchored-keywords):
492 Include the anchor text as part of the multiline.
494 2000-10-06 Gerd Moellmann <gerd@gnu.org>
496 * loadup.el (toplevel): Load `loaddefs' before `help' because the
497 latter needs the autoloaded define-minor-mode macro during the
500 * startup.el (command-line): For now, activate tool-bar-mode only
501 if XPM images are supported.
503 * mouse.el (mouse-drag-header-line): Don't allow resizing a
504 window by dragging a header-line at the top of the frame; that's
505 confusing because the header-line doesn't move.
506 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
507 of treating the event as a list. Some cleanup.
509 2000-10-06 Miles Bader <miles@gnu.org>
511 * simple.el (display-message-or-buffer): New function.
512 (shell-command-on-region): Use `display-message-or-buffer'.
514 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
517 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
518 (smbclient-prompt-regexp): Add usage note to doc string.
519 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
520 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
521 Use add-hook for adding the comint filter function, and only do so
522 if it's not already in the global hook list.
523 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
524 to `make-local-variable'.
525 (nslookup-font-lock-keywords): Remove prompt entry.
526 (nslookup): Don't set the process-filter.
527 (finger): Exit the loop correctly when the regexps list runs out.
528 (ftp, smbclient, smbclient-list-shares):
529 Set the real major mode immediately, not after execing.
530 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
532 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
534 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
536 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
538 * which-func.el (which-func-format): Remove spurious space.
539 (which-func-mode): Don't make it permanent-local.
540 (which-func-ff-hook): Allow which-func-maxout to be nil.
541 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
542 (which-func-mode): Simplify.
543 Use post-command-idle-hook rather than post-command-hook.
544 Go through all buffers and update their state.
545 (which-function): Also try add-log-current-defun-function.
547 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
548 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
549 Update call to with-vc-properties accordingly.
550 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
551 (vc-revert-buffer): More careful about window selection and deletion.
552 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
554 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
555 (cvs-retrieve-revision): Reuse a pre-existing buffer.
556 (cvs-dired-action): Change the default to quickdir.
558 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
559 if comment-indent-function returns nil.
560 (comment-indent-default): New function.
561 (comment-indent-function): Use it and document the new semantics.
563 * image-file.el: Docstring fixes.
565 * help.el (help-xref-on-pp): Use match-string.
566 (describe-variable): New arg BUFFER.
567 Store the current buffer in the help-xref-stack.
568 (temp-buffer-resize-mode): Use define-minor-mode.
570 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
571 consistently with its docstring.
572 Set jit-lock-first-unfontify-pos in an idempotent way.
573 (jit-lock-register): Autoload and add arg CONTEXTUAL.
575 2000-10-05 Alex Schroeder <alex@gnu.org>
577 * sql.el (sql-mysql-options): New variable.
580 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
582 * image.el (image): New group.
584 * smerge-mode.el (smerge-mine-face, smerge-other-face)
585 (smerge-base-face, smerge-markers-face): Add dark-background variants.
587 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
589 * net/net-utils.el (nslookup-font-lock-keywords)
590 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
591 Ignore the value of wqindow-system; always define keywords
593 2000-10-05 Kenichi Handa <handa@etl.go.jp>
595 * startup.el (fancy-splash-screens): Remove the code for
596 debugging; `(trace-to-stderr "EXITTT\n")'.
598 2000-10-05 Miles Bader <miles@gnu.org>
600 * diff-mode.el (diff-goto-source): Update call to
601 `diff-hunk-status-msg' to reflect new REV variable.
603 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
605 * progmodes/icon.el (icon-mode):
606 Don't gratuitously override the default for comment-column.
608 * vc-hooks.el (vc-mode-line): Fix interactive spec.
610 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
611 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
612 (jit-lock-functions): New var.
613 (jit-lock-function-1): Use it if non-nil.
614 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
615 Set the `fontified' property before doing the fontification to avoid
616 repeatedly going through the same error.
617 Don't turn errors into messages.
618 (jit-lock-register, jit-lock-unregister): New functions.
620 * dired.el (dired-mark-pop-up): Turn comment into docstring.
621 Use with-current-buffer.
623 * dired-aux.el (dired-do-create-files, dired-kill-tree):
624 Turn comment into docstring.
626 * apropos.el (apropos-mode): Use define-derived-mode.
628 2000-10-04 Gerd Moellmann <gerd@gnu.org>
630 * startup.el (fancy-splash-pending-command): New variable.
631 (fancy-splash-pre-command): New function.
632 (fancy-splash-screens): Rewritten.
633 (command-line-1): If fancy-splash-pending-command is set, call it
636 2000-10-04 Dave Love <fx@gnu.org>
638 * toolbar/tool-bar.el (tool-bar-setup): New function.
639 (tool-bar-mode): Use it.
641 * subr.el (substitute-key-definition): Doc fix.
642 (play-sound-file): New command.
644 2000-10-04 Andre Spiegel <spiegel@gnu.org>
646 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
647 vc-version-backup-file-name): New functions.
649 * files.el (basic-save-buffer): Call vc-before-save before saving.
651 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
654 * vc.el (vc-revert-buffer): Handle empty diff properly.
655 (vc-version-backup-file): New function.
656 (vc-checkout): Create a version backup if necessary.
657 (vc-checkin): If a version backup file exists, delete it.
658 (vc-version-diff): Diff locally using version backups, if available.
659 (vc-revert-file): If there's a version backup, revert locally.
660 (vc-transfer-file): Use version backup for base version, if
661 available. If not, ask for confirmation whether to get it from the
662 server. Update mode line before check-in.
664 2000-10-04 Dave Love <fx@gnu.org>
666 * toolbar/tool-bar.el (tool-bar-setup): New function.
667 (tool-bar-mode): Use it.
669 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
671 * net/net-utils.el (nslookup-font-lock-keywords)
672 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
673 Only set if window-system is non-nil
674 (net-utils-run-program): Returns buffer.
675 (network-connection-reconnect): Added this function.
678 Incorporates extensive cleanup and docfixes by
679 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
680 Uses cl compile-time macros.
681 (generic-mode-name, generic-comment-list)
682 (generic-keywords-list, generic-font-lock-expressions)
683 (generic-mode-function-list, generic-mode-syntax-table):
685 (generic-mode-alist): Renamed to generic-mode-list.
686 (generic-find-file-regexp): Default changed to "^#".
687 (generic-read-type): Uses completing read on generic-mode-list.
688 (generic-mode-sanity-check): removed this function.
689 (generic-add-to-auto-mode): Removed this function
690 (generic-mode-internal): Bind mode-specific definitions
691 into function instead of putting them in alist.
692 (generic-mode-set-comments): Reworked extensively.
693 (generic-mode-find-file-hook): Simplified regexp searching
694 (generic-make-keywords-list): Omit extra pair of parens
696 * find-lisp.el (find-lisp-find-files-internal):
697 Make sure directory name ends with "/".
699 * generic-x.el (apache-conf-generic-mode):
700 Regexp now allows leading whitespace.
701 (rc-generic-mode): Added eval-when-compile
702 around generic-make-keywords-list.
703 Deleted duplicate regexp
704 (rul-generic-mode): Added eval-when-compile
705 around generic-make-keywords-list.
706 (etc-fstab-generic-mode): New generic mode.
707 (rul-generic-mode): Removed one eval-when-compile
708 which caused a max-specpdl-size exceeded error.
710 2000-10-04 Miles Bader <miles@gnu.org>
712 * simple.el (minibuffer-temporary-goal-position): New variable.
713 (next-history-element): Try to keep the position of point in the
714 input string constant.
716 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
717 (dired-do-create-files): If there's only one file, pass it in as
718 the DEFAULT arg to dired-mark-read-file-name.
720 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
722 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
723 (diff-goto-source): Be smarter when choosing REVERSE or not.
725 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
726 (texinfo-mode-menu): Add an explicit shortcut for update all.
728 2000-10-03 Andre Spiegel <spiegel@gnu.org>
730 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
731 factorize backend-specific code cleanly (this was essentially
732 conceived by Stefan Monnier).
733 (vc-unregister): Function removed.
734 (vc-revert-file): New function.
735 (vc-revert-buffer): Delegate some of the work to it.
737 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
738 default branch unconditionally.
739 (vc-rcs-set-default-branch): New function.
740 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
741 (vc-rcs-checkin): If an appropriate default branch has been set,
742 force creation of that branch.
743 (vc-rcs-receive-file): Rewritten to contain only backend-specific
744 code (as suggested by Stefan Monnier).
746 2000-10-02 Gerd Moellmann <gerd@gnu.org>
748 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
749 highlighting overlay with a different face over the overlay
750 isearch uses to highlight the current match because that can lead
751 to bad face combinations.
753 * loadup.el (toplevel): Load faces before isearch.
755 * isearch.el (isearch-faces): New custom group.
756 (isearch): New defface; was already tested for in the code.
757 (isearch-lazy-highlight-face): Changed to defface from defcustom.
758 (isearch-highlight): Always use face `isearch'.
760 2000-10-02 Dave Love <fx@gnu.org>
762 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
763 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
764 comparison of opcode with operand.
766 2000-10-03 Miles Bader <miles@gnu.org>
768 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
769 buffer, since the echo area will now grow to accommodate them.
771 2000-10-02 Andre Spiegel <spiegel@gnu.org>
773 * vc-hooks.el (vc-registered): If FILE used to be registered under
774 a certain backend, try that one first.
776 * vc.el (vc-responsible-backend): Undo the previous change in the
777 argument list. Handle multiple backends correctly.
778 (vc-find-new-backend): Function removed.
779 (vc-register): Use vc-responsible-backend, as before.
780 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
782 2000-10-02 Gerd Moellmann <gerd@gnu.org>
784 * startup.el (fancy-splash-head): Change message below the
787 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
789 * diff-mode.el (diff-goto-source): Emit a status message.
790 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
791 (diff-test-hunk): Fix doc string.
792 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
793 (diff-advance-after-apply-hunk): New variable.
794 (diff-apply-hunk): Don't return a value.
796 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
798 * vc.el (vc-editable-p): Minor optimization.
799 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
800 (vc-find-new-backend): New function split from vc-responsible-backend.
801 (vc-register): Use it.
802 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
803 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
804 (vc-default-unregister, vc-revert-buffer): Docstring fix.
805 (vc-clear-headers): Don't use find-file.
806 (vc-revert-buffer): Use `and' again (must have been a braino).
807 (vc-switch-backend): Only prompt if requested.
808 Short circuit if nothing is to be done.
809 Don't use vc-resynch-buffer which could lose unsaved editing.
810 (vc-default-receive-file): Update call to vc-unregister.
811 (with-vc-file, vc-next-action-on-file):
812 Use vc-backend rather than vc-registered.
813 (vc-next-action-on-file): Use intern-soft.
814 Deal with read-only *vc-diff* buffer.
815 (vc-transfer-file): Docstring fix.
817 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
818 (vc-rcs-receive-file): Avoid with-vc-properties.
819 Update call to vc-unregister.
820 Use constant `RCS' rather than (dynamically bound) var `backend'.
822 2000-10-01 Andre Spiegel <spiegel@gnu.org>
824 * vc.el (vc-next-action-on-file): Update mode line only if file
826 (vc-start-entry): New argument initial-contents. Don't visit the file
827 if it isn't already visited. Brought documentation up-to-date.
828 (vc-next-action, vc-register): Updated calls to vc-start-entry.
829 (vc-checkin): New optional arg initial-contents, which is passed to
831 (vc-finish-logentry): Make sure to bury log buffer only if there
832 really is one. Call `vc-resynch-buffer' on log-file, not
834 (vc-default-comment-history, vc-default-wash-log): New functions.
835 (vc-index-of): Removed.
836 (vc-transfer-file): Make do without the above.
837 (vc-default-receive-file): Call comment-history unconditionally. Pass
838 the resulting string to vc-checkin, instead of inserting it into the
841 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
842 unconditionally. Use the comments as initial contents of the log
843 entry buffer. Document the trick to force branch creation with no
846 2000-10-01 Miles Bader <miles@gnu.org>
848 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
849 `recenter' with an arg to prevent redrawing the display.
851 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
853 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
855 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
857 * progmodes/c-mode.el (c-mode):
858 Don't gratuitously override the default for comment-column.
860 * textmodes/tex-mode.el (latex-metasection-list): New var.
861 (latex-imenu-create-index): Use it.
862 Move the regexp construction outside loops (and use push).
863 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
864 (tex-font-lock-keywords): Moved from font-lock.el.
865 (tex-comment-indent): Remove.
866 (tex-common-initialization): Don't set comment-indent-function.
867 (latex-block-default): New var.
868 (tex-latex-block): Use it to provide a default choice.
869 Add any unknown choice to latex-block-names.
870 Insert [...] after {...}.
871 (tex-last-unended-begin): Simplify regexp.
872 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
873 (latex-forward-sexp-1, latex-forward-sexp): New functions.
874 (latex-mode): Set forward-sexp-function.
876 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
877 Add regexp for @ignore ... @end ignore.
878 (texinfo-heading-face): New face.
879 (texinfo-font-lock-keywords): Use it.
880 (texinfo-mode-menu): New menu.
881 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
883 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
884 (texinfo-section-types-regexp, texinfo-section-level-regexp)
885 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
887 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
889 * delsel.el (delete-selection-mode): Use define-minor-mode.
891 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
893 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
895 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
897 2000-09-30 Gerd Moellmann <gerd@gnu.org>
899 * replace.el (keep-lines-read-args): New function.
900 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
901 read arguments interactively. Add parameters RSTART and REND.
902 Operate on the active region in Transient Mark mode.
904 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
906 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
907 (authors-obsolete-files-regexps): New variable.
908 (authors-add): Don't record changes in obsolete files.
910 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
912 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
914 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
915 (comment-indent): Make sure there's a space between code and comment.
916 Shift comments left to avoid going past fill-column.
918 2000-09-29 Gerd Moellmann <gerd@gnu.org>
920 * startup.el (startup-echo-area-message): New function.
921 (display-startup-echo-area-message): Use it.
922 (fancy-splash-screens): Rewritten to use keymaps and a timer.
923 (fancy-splash-default-action): New function.
924 (fancy-splash-screens-1): New function.
925 (fancy-splash-head): Put a help-echo and a keymap under the image.
927 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
929 * diff-mode.el (diff-add-log-file-name): Remove.
930 (diff-mode): Use add-log-buffer-file-name-function.
932 * add-log.el (find-change-log): New arg BUFFER-FILE.
933 (add-log-file-name): Obey add-log-file-name-function.
934 (add-log-buffer-file-name-function): New var.
935 (add-change-log-entry): Use it.
937 2000-09-29 Miles Bader <miles@gnu.org>
939 * image-file.el (image-file-name-extensions): New variable.
940 (image-file-name-regexps): Renamed from `image-file-regexps'.
941 New default value is nil. Call `auto-image-file-mode'.
942 (image-file-name-regexp): New function.
943 (auto-image-file-mode): New minor mode.
944 (insert-image-file): Don't make conditional on the image-file
945 handler being enabled.
946 (image-file-handler): Make the call here conditional instead.
947 (set-image-file-handler-enabled, enable-image-file-handler)
948 (disable-image-file-handler): Functions removed.
950 * emacs-lisp/authors.el (authors-print): Rephrase many-files
953 2000-09-29 Gerd Moellmann <gerd@gnu.org>
955 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
956 it's a function from CL.
957 (latex-imenu-create-index): Replace eval-when-compile with progn
958 because latex-section-alist is not bound while compiling.
960 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
962 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
963 (outline-mode): Use define-derived-mode.
965 * progmodes/perl-mode.el (perl-mode):
966 * progmodes/awk-mode.el (awk-mode):
967 * progmodes/asm-mode.el (asm-mode):
968 Don't gratuitously override the default for comment-column.
970 * emacs-lisp/lisp.el (lisp-complete-symbol):
971 Distinguish the let-binding case from the funcall case.
972 (forward-sexp-function): New variable.
973 (forward-sexp): Use it.
975 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
976 (easy-mmode-defmap): Remove the now useless autoload.
978 * time.el (display-time-mode): Use define-minor-mode.
980 * subr.el (add-minor-mode): Don't eval NAME.
981 Don't depend on the presence of TOGGLE-FUN for any special behavior.
982 Use if rather than cond.
984 * simple.el (read-expression-map): Define more properly.
985 (comment-indent-hook): Remove.
986 (string-to-syntax): Bug fix.
988 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
989 (cvs-ediff-diff): Fix typo.
990 (cvs-revert-if-needed): Don't bother preserving read-only.
992 * paren.el (show-paren-mode): Use define-minor-mode.
994 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
995 (toggle-auto-compression): Remove.
996 (jka-compr-build-file-regexp): Remove useless grouping.
998 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
999 Avoid user-reserved bindings.
1000 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
1001 (diff-header-face): Revert to grey85.
1003 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
1005 * complete.el (partial-completion-mode) <defcustom>: Remove.
1006 (partial-completion-mode): Use define-minor-mode.
1007 (PC-do-completion): Understand `completion-auto-help = delay'
1008 to mean to popup the completion buffer only the second time.
1009 (PC-include-file-all-completions, PC-include-file-all-completions)
1010 (PC-include-file-all-completions): Don't quote lambda.
1012 * comint.el (comint-mode-hook): Docstring fix.
1013 (comint-mode): Use define-derived-mode.
1014 (comint-mode-map): Remove obsolete comment.
1015 (make-comint): Minor stylistic change.
1016 (comint-insert-clicked-input): Be more careful to find the overlay.
1017 Use this-command-keys rather than hardcoding mouse-2.
1019 * font-lock.el: Replace confusing (,@ with ,
1020 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
1021 Don't use regexp-opt-depth. Spice up the regexp for args.
1022 Don't distinguish between cmds that can take an opt arg or not.
1023 Use `append' and `prepend' rather than `keep'.
1025 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
1026 (latex-outline-regexp): New var.
1027 (latex-outline-level): New fun.
1028 (latex-section-alist): New var.
1029 (latex-imenu-create-index): Use it. Use `push' as well.
1030 (tex-shell-map): Initialize it properly.
1031 (tex-mode): Minor stylistic change.
1032 (plain-tex-mode): Use define-derived-mode.
1033 (latex-mode): Use define-derived-mode.
1034 Construct the paragraph regexps in a more readable way.
1035 Set the buffer-local outline-{level,regexp} vars.
1036 (slitex-mode): Derive from latex-mode.
1037 (tex-common-initialization): Don't kill-all-vars anymore.
1038 Add setting for comment-add and font-lock-defaults.
1039 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
1040 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
1041 (tex-start-tex): New arg DIR (and send a chdir command for it).
1042 Also display the shell buffer and save it in tex-last-buffer-texed.
1043 (tex-region): Use expand-file-name rather than concat.
1044 Remove code made useless by changes in tex-start-tex.
1045 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
1047 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
1049 2000-09-28 Dave Love <fx@gnu.org>
1051 * eshell/eshell.el (eshell) <defgroup>: Add :version.
1053 2000-09-28 Gerd Moellmann <gerd@gnu.org>
1055 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
1058 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1060 * info.el (Info-extract-pointer): Undo last change.
1061 Instead, fix the position of the `bound' arg to re-search-backward.
1063 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
1065 * info.el (Info-extract-pointer):
1066 Widen more carefully, to avoid finding pointers in other nodes.
1067 (Info-index): Use push.
1069 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1071 * frame.el (set-frame-font): Remove call to obsolete function
1073 (set-foreground-color, set-background-color): Likewise for
1074 frame-update-face-colors.
1076 2000-09-27 Miles Bader <miles@gnu.org>
1078 * image-file.el: New file.
1080 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1082 * frame.el (frame-notice-user-settings): Don't call
1083 frame-update-faces, which is a no-op now.
1085 * ediff-wind.el (ediff-control-frame-parameters): Add zero
1088 2000-09-27 Dave Love <fx@gnu.org>
1090 * mouse.el: Fix last change.
1092 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
1094 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
1096 2000-09-22 Kenichi Handa <handa@etl.go.jp>
1098 * international/quail.el (quail-help): The output message is
1101 2000-09-26 Dave Love <fx@gnu.org>
1103 * mouse.el (popup-menu): If POSITION is nil, set it using
1106 2000-09-25 Sam Steingold <sds@gnu.org>
1108 * net/browse-url.el (browse-url-file-url): Check for null maps.
1110 2000-09-26 Gerd Moellmann <gerd@gnu.org>
1112 * frame.el (frame-notice-user-settings): Don't add a
1113 tool-bar-lines frame parameter to default-frame-alist in batch mode.
1115 * frame.el (frame-notice-user-settings):
1116 Make tool-bar-mode and default-frame-alist consistent.
1118 * toolbar/tool-bar.el (tool-bar-help): New function.
1120 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1122 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
1123 current-load-list in top-level forms. Else this leaks a cons cell
1124 every time a defun is called.
1126 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
1128 2000-09-25 Dave Love <fx@gnu.org>
1130 * startup.el (fancy-splash-head): Check XPM is available.
1132 * autoinsert.el (auto-insert): Doc fix.
1133 (auto-insert-alist): Following GNU notices, don't say `copyright
1134 _by_'. Use line-beginning-position.
1135 (auto-insert): Check buffer-file-name is non-nil before use.
1137 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1139 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
1140 starting with `@def' or `@multitable', in addition to ones
1141 specified by the user in auto-fill-inhibit-regexp.
1143 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
1145 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
1146 rmail-dont-reply-to-names matches the empty string.
1148 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1150 * startup.el (command-line-1, fancy-splash-text): Change the
1151 text to sound more friendly.
1153 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
1155 * progmodes/hideshow.el: Update author email address.
1156 Generally, sync w/ maintainer version 5.22.
1157 (hs-hide-all-non-comment-function): New var.
1158 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
1159 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
1160 (hs-show-region): Delete this command.
1161 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
1163 2000-09-22 Dave Love <fx@gnu.org>
1165 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
1166 (hl-line-highlight): Specify buffer when moving overlay.
1168 * progmodes/fortran.el (fortran-mode): Locally set
1169 normal-auto-fill-function.
1170 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
1171 (fortran-mode-map): Adjust auto-fill menu entry.
1173 2000-09-22 Gerd Moellmann <gerd@gnu.org>
1175 * vc-rcs.el (toplevel): Require `vc' when compiling.
1177 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
1179 2000-09-22 Andre Spiegel <spiegel@gnu.org>
1181 * vc.el (vc-switch-backend): Signal an error if the file is not
1182 registered under the new backend.
1184 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
1185 without explicit revision number.
1187 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
1189 * diff-mode.el (diff-file-header-face): Reset to its previous value.
1190 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
1191 (diff-xor): New function.
1192 (diff-find-source-location): Use it. Fix a stupid name clash.
1193 (diff-hunk-status-msg): New function.
1194 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
1195 (diff-test-hunk): Use diff-find-source-location.
1196 (diff-goto-source): Favor the `reverse'.
1197 (diff-hunk-text): Properly handle one-sided context diffs.
1198 (diff-apply-hunk): When done, advance to the next hunk.
1200 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1202 * startup.el (command-line): If frame was created with a non-zero
1203 tool-bar-lines parameter, switch tool-bar-mode on.
1205 * add-log.el (change-log-date-face, change-log-name-face)
1206 (change-log-email-face, change-log-file-face)
1207 (change-log-list-face, change-log-conditionals-face)
1208 (change-log-function-face, change-log-acknowledgement-face):
1209 New faces, inheriting from font-lock faces.
1210 (change-log-font-lock-keywords): Use them.
1212 2000-09-21 Dave Love <fx@gnu.org>
1214 * progmodes/cperl-mode.el (top-level): Clean up
1215 `eval-when-compile's and assorted defvars.
1216 (cperl-invalid-face): Don't double-quote value. Change custom
1218 (cperl-mode): Set normal-auto-fill-function and don't zap
1220 (cperl-imenu--function-name-regexp-perl): Renamed from
1221 imenu-example--function-name-regexp-perl.
1222 (cperl-imenu--create-perl-index): Renamed from
1223 imenu-example--create-perl-index.
1224 (cperl-xsub-scan): Don't require cl.
1226 * msb.el (msb-mode-map): Use substitute-key-definition.
1227 (msb-mode): Use msb-mode-map.
1229 2000-09-21 Andre Spiegel <spiegel@gnu.org>
1231 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
1233 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
1234 (vc-switch-backend): New function.
1235 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
1236 (vc-register): Fix prompt.
1237 (vc-unregister, vc-default-unregister): New functions.
1238 (vc-version-diff): Handle empty buffer in sentinel.
1240 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
1241 (vc-rcs-state-heuristic): Use it to guess the state of files with
1243 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
1244 been set with -b, but not created yet.
1245 (vc-rcs-fetch-master-state): With non-strict locking, compare file
1246 contents in order to find the state.
1247 (vc-rcs-checkin): Allow creation of branches with no changes.
1248 (vc-rcs-unregister, vc-rcs-receive-file)
1249 (vc-rcs-set-non-strict-locking): New functions.
1251 * vc-hooks.el (vc-name): Force correct computation of the value
1252 in case it is missing.
1254 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1256 * startup.el (fancy-splash-tail): Use a different foreground
1257 color on a dark frame background.
1259 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
1261 * info.el: Use the correct capitalization when making Info-mode
1262 and Info-edit-mode `special' modes.
1264 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
1266 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
1267 (diff-mode): Add support for add-log.el.
1268 (diff-hunk-text): Use char offsets rather than line offsets.
1269 (diff-find-source-location): Replace LINE with line-offset (nil
1270 if not found) and always set POS to a meaningful position.
1271 Adapt to the new char-offsets.
1272 (diff-apply-hunk): Drop support for the unused `select' POPUP.
1273 Adapt to the new diff-find-source-location.
1274 (diff-goto-source): Adapt to the new diff-find-source-location.
1276 * add-log.el (add-log-file-name): New function (split out of
1277 add-change-log-entry).
1278 (add-change-log-entry): Use it.
1279 Call add-log-file-name-function with the changelog file name if
1280 the current buffer is not associated with any file.
1281 Avoid find-file if the selected window is dedicated.
1283 * diff-mode.el (diff-find-source-location):
1284 Move code from diff-apply-hunk. Return buffer rather than file.
1285 (diff-apply-hunk): Use the new result from diff-find-source-location.
1286 (diff-goto-source): Use the new diff-find-source-location.
1288 2000-09-20 Dave Love <fx@gnu.org>
1290 * iswitchb.el: Some doc fixes.
1291 (iswitchb-mode-map): Define completely initially. Inherit
1292 minibuffer-local-map.
1293 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
1295 (iswitchb-global-map): New variable.
1296 (iswitchb-summaries-to-end): Amalgamate regexps.
1297 (iswitchb-mode): New.
1298 (iswitchb-mode-hook): New variable.
1299 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
1302 2000-09-20 Gerd Moellmann <gerd@gnu.org>
1304 * ehelp.el (electric-help): New defgroup.
1305 (electric-help-shrink-window): New user-option.
1306 (with-electric-help): Use it.
1308 * window.el (shrink-window-if-larger-than-buffer): If face
1309 `mode-line' has a :box, and we're on a graphical frame, add 1
1310 to the needed window height.
1312 * frame.el (frame-notice-user-settings): Add a last parameter nil
1313 to a call to `append', because the last list passed to `append' is
1314 not copied, and so subsequent calls to assq-delete-all will modify
1315 default-frame-alist.
1317 * startup.el (fancy-splash-image): Change :type.
1318 (fancy-splash-head): Use an XBM image if appropriate.
1319 (command-line-1): Show splash screens in more cases.
1321 * startup.el (fancy-splash-text): Don't quote faces.
1323 * dired.el (dired-font-lock-keywords): Undo last change.
1324 (dired-readin): Bind indent-tabs-mode to nil.
1326 * startup.el (fancy-splash-head): If frame's background mode
1327 is `dark', change the black background of the image to gray.
1328 (fancy-splash-screens): Display startup echo area message.
1329 (display-startup-echo-area-message): New function.
1331 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
1333 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
1335 * info.el (info-header-node): Tweak for color ttys.
1337 * faces.el (face-valid-attribute-values): Make sure directories we
1338 search for stipples both exist and are readable before trying to
1341 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
1342 in the dry-run case.
1344 * jka-compr.el (with-auto-compression-mode): New macro.
1346 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
1347 (custom-group-tag-face, custom-variable-tag-face): Use relative
1348 :height and inherit from `variable-pitch' face instead of
1350 * hi-lock.el (hi-black-hb): Likewise.
1352 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
1353 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
1354 toolbar-add-item, if image doesn't have a mask add a `:mask
1357 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
1359 * diff-mode.el: Docstring fixes.
1360 (diff-header-face, diff-comment-face): New faces.
1361 (diff-font-lock-keywords): Highlight a bit differently.
1362 (diff-find-source-location): Don't return SPAN any more.
1363 (diff-hunk-text): Don't bother erasing the temp buffer.
1364 (diff-find-text): Drop argument LINE.
1365 (diff-apply-hunk): Update calls to diff-find-text.
1366 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
1368 * calendar/calendar.el: Docstring fixes.
1369 (calendar-make-alist): Don't quote lambda.
1370 (calendar-star-date): Use make-local-variable.
1372 2000-09-19 Dave Love <fx@gnu.org>
1374 * toolbar/tool-bar.el: Renamed from toolbar.el.
1375 Change `toolbar' to `tool-bar' generally in symbols.
1376 Make some items invisible in `special' major modes.
1377 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
1380 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
1382 (fancy-splash-delay, fancy-splash-image): Remove :version here.
1384 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1386 * progmodes/sh-script.el (sh-search-word): Remove call to
1389 * files.el (find-file-suppress-same-file-warnings): New
1391 (find-file-noselect): Use it.
1393 * startup.el (fancy-splash-delay, fancy-splash-image): Add
1395 (fancy-splash-screen): Defgroup.
1397 * add-log.el (change-log-font-lock-keywords): Match names
1398 more exactly for the case that font-lock-constant-face is
1401 2000-09-19 Richard M. Stallman <rms@gnu.org>
1403 * progmodes/sh-script.el (sh-search-word): Rewritten for
1406 2000-09-19 Andre Spiegel <spiegel@gnu.org>
1408 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
1410 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1412 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
1413 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
1414 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
1415 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
1416 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
1417 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
1418 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
1419 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
1420 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
1421 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
1422 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
1423 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
1425 * startup.el (fancy-splash-text): New variable.
1426 (fancy-splash-delay, fancy-splash-image): New user-options.
1427 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
1428 (fancy-splash-screens): New functions.
1429 (command-line-1): If display has a `display' frame parameter, has
1430 colors, and we have XPM support, show more fancy splash screens.
1432 2000-09-19 Dave Love <fx@gnu.org>
1434 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
1435 with null `help'. Use modern backquote syntax.
1437 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1439 * font-lock.el (font-lock-mode): Change message telling the user
1440 that ``the buffer is too big''.
1442 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
1443 for instance for the case that tab-width is 2.
1445 2000-09-18 Gerd Moellmann <gerd@gnu.org>
1447 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
1448 toolbar-add-item, if image doesn't have a mask add a `:mask
1451 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
1453 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
1454 and return a cons if it's non-nil.
1455 (diff-apply-hunk): Try to jump to the line in the source text
1456 corresponding to the position of point in the in the hunk.
1458 * info.el (Info-title-3-face, Info-title-2-face)
1459 (Info-title-1-face): Use face inheritance and relative sizes
1460 instead of hard-wiring things.
1462 * faces.el (secondary-selection): Make dark-background variant sane.
1464 2000-09-16 Andrew Innes <andrewi@gnu.org>
1466 * makefile.w32-in (compile-files-CMD): No need to make .elc files
1467 read-only, since they aren't under VC now.
1469 2000-09-17 Dave Love <fx@gnu.org>
1471 * tmm.el: Replace mapcar with mapc in several places.
1473 * loadhist.el (unload-feature): Maybe call elp-restore-list and
1476 * international/latin1-disp.el: New file.
1478 * calendar/cal-move.el (scroll-calendar-left)
1479 (scroll-calendar-right): Make arg optional (for active mode line).
1481 * calendar/calendar.el (calendar-mode-line-format): Make fields
1483 (calendar-read-date, calendar-read-date, calendar-window-list):
1485 (calendar-month-name): Use aref, not sref.
1487 * view.el (minor-mode-alist): Propertize the string.
1489 * international/characters.el (standard-case-table): Add entries
1492 2000-09-18 Miles Bader <miles@gnu.org>
1494 * info.el (info-node, info-xref): Add dark-background variants.
1496 * faces.el (header-line): Change defaults to be less confusing
1497 when mixed with mode-lines.
1499 * info.el (Info-fontify-node): Make a few cleanups.
1500 Add extra `help-echo' and `local-map' props to node xrefs.
1501 Use header-specific faces for node-names & xrefs.
1502 (Info-use-header-line): New variable.
1503 (info-header-xref, info-header-node): New faces.
1504 (Info-setup-header-line): New function.
1505 (Info-select-node): Call Info-setup-header-line when enabled.
1506 (Info-extract-pointer): Work even if the header line is hidden.
1507 (Info-header-line): New variable.
1509 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
1511 * vms-patch.el (print-region-function): Don't quote lambda.
1513 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
1515 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
1516 (lm-get-header-re): Allow spaces between the header and the colon.
1517 (lm-header): Allow $ in non-RCS headers.
1518 (lm-header-multiline): Put the strings back into order.
1519 Stop at an empty line. Don't require two space chars if the
1520 line is clearly not another header line.
1522 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
1523 (popup-menu-popup): Remove.
1525 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1527 * toolbar/toolbar.el (toolbar-add-item): Use the same image
1528 specification if or if not tool-bar item contains an `:enabled'
1531 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
1532 current buffer has no file name.
1534 2000-09-15 Dave Love <fx@gnu.org>
1536 * strokes.el: Sync with maintainer's current version with changes
1537 for Emacs, but avoid runtime cl and levents.
1538 (toplevel): Change autoloads and compilation requires.
1539 (strokes-version, strokes-bug-address, strokes-lift): Values
1541 (strokes-xpm-header, strokes-insinuated): New variable.
1542 (strokes): Add :link.
1543 (strokes-mode): Customized.
1544 (strokes-while-inhibiting-garbage-collector): New macro.
1545 (strokes-remassoc): Avoid remove-if.
1546 (strokes-fix-button2-command): Don't use ad-do-it.
1547 (strokes-insinuate): New function.
1548 (strokes-button-press-event-p, strokes-button-release-event-p):
1549 New functions, used instead of non-`strokes-' versions..
1550 (strokes-mouse-event-p): Rewritten.
1551 (strokes-event-closest-point): Avoid event-point.
1552 (strokes-get-grid-position): Avoid cdadr, caadr
1553 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
1555 (strokes-help): Use with-output-to-temp-buffer.
1556 (strokes-window-configuration-changed-p): New function.
1557 (strokes-update-window-configuration): Use buffer-live-p,
1558 strokes-window-configuration-changed-p.
1559 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
1560 (strokes-char-face): New face.
1561 (strokes-char-table, strokes-base64-chars): New variable.
1562 (strokes-xpm-for-stroke, strokes-list-strokes)
1563 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
1564 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
1565 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1566 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
1567 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
1570 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1572 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
1574 * image.el (create-image): Doc fix.
1576 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
1577 instead of `:heuristic-mask t'.
1579 2000-09-14 Andrew Innes <andrewi@gnu.org>
1581 * makefile.w32-in: Revert to Unix line endings.
1583 2000-09-14 Andrew Innes <andrewi@gnu.org>
1585 * makefile.w32-in: Add bootstrap support. Also copy lisp source
1588 * makefile.nt (DONTCOMPILE): Fix typo.
1590 * shell.el (shell-write-history-on-exit): New function.
1591 (shell-dumb-shell-regexp): New custom variable.
1592 (shell-mode): Make shell-write-history-on-exit the process
1593 sentinel if shell name matches shell-dumb-shell-regexp.
1595 * w32-fns.el: Comment out before-init-hook function which resets
1596 source-directory based; this breaks bootstrap.
1598 2000-09-14 Dave Love <fx@gnu.org>
1600 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
1601 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
1602 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
1603 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
1604 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
1605 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
1606 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
1607 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
1608 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
1610 * toolbar/toolbar.el: New.
1612 * subdirs.el: Add toolbar.
1614 2000-09-14 Gerd Moellmann <gerd@gnu.org>
1616 * indent.el (indent-for-tab-command): Doc fix.
1618 2000-09-14 Alex Schroeder <alex@gnu.org>
1620 * ansi-color.el (ansi-colors): Doc change.
1621 (ansi-color-get-face): Simplified regexp.
1622 (ansi-color-faces-vector): Added more faces, doc change.
1623 (ansi-color-names-vector): Doc change.
1624 (ansi-color-regexp): Simplified regexp.
1625 (ansi-color-parameter-regexp): New regexp.
1626 (ansi-color-filter-apply): Doc change.
1627 (ansi-color-filter-region): Doc change.
1628 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
1629 deal with zero length parameters.
1630 (ansi-color-apply-on-region): Doc change.
1631 (ansi-color-map): Doc change.
1632 (ansi-color-map-update): Removed debugging message.
1633 (ansi-color-get-face-1): Added condition-case to trap
1634 args-out-of-range errors.
1635 (ansi-color-get-face): Doc change.
1636 (ansi-color-make-face): Removed.
1637 (ansi-color-for-shell-mode): New option.
1639 2000-09-13 Kenichi Handa <handa@etl.go.jp>
1641 * international/quail.el (quail-start-translation): Translate KEY
1642 if necessary even if it doesn't have any mapping in the current
1644 (quail-start-conversion): Likewise.
1645 (quail-help): The output message is improved.
1647 2000-09-13 Miles Bader <miles@gnu.org>
1649 * comint.el (comint-output-filter): Revert to using
1650 `insert-before-markers'. Add bletcherous hack to undo damage
1651 caused by `insert-before-markers'. Put `front-sticky' property on
1652 overlays created here so that the field code understands how the
1653 overlay works. Use a let when making comint-last-prompt-overlay,
1654 so that the code is easier to read.
1656 2000-09-13 Dave Love <fx@gnu.org>
1658 * wid-edit.el (widget-default-format-handler): DTRT when
1659 doc-property is a function.
1661 2000-09-12 Francesco Potorti` <pot@gnu.org>
1663 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
1664 filed name if it's not there.
1666 2000-09-12 Dave Love <fx@gnu.org>
1668 * simple.el (read-mail-command): Doc fix.
1669 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
1671 * vc.el (vc-dired-listing-switches): Fix :version.
1673 * vc-hooks.el: Doc fixes.
1675 * subr.el (add-minor-mode): Use toggle-fun arg.
1677 * speedbar.el: Add :version to several defcustoms.
1679 * imenu.el (imenu--truncate-items, imenu--cleanup)
1680 (imenu--generic-function): Avoid mapcar.
1681 (imenu--replace-spaces): Function removed.
1682 (imenu--completion-buffer): Use subst-char-in-string.
1683 (imenu-add-to-menubar): Use keymap inheritance.
1685 2000-09-12 Miles Bader <miles@gnu.org>
1687 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
1688 (diff-mode-map): Bind `diff-test-hunk'.
1689 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
1691 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1693 * bytecomp.el (byte-compile-defvar): Undo last change
1694 because it breaks '(make-variable-buffer-local (defvar ...)'
1695 which is used at least in dired.
1697 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1699 * international/quail.el (quail-define-package): Docstring
1702 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1704 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
1705 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
1706 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
1707 docstring of "chinese-py".
1709 * international/quail.el (quail-translation-docstring): New
1711 (quail-show-keyboard-layout): Docstring modified.
1712 (quail-select-current): Likewise.
1713 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
1714 infinite recursive call.
1715 (quail-help): Check quail-translation-docstring. Format of the
1717 (quail-help-insert-keymap-description): Adjusted for the above
1720 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1722 * bytecomp.el (byte-compile-defvar): Only cons onto
1723 current-load-list in top-level forms. Else this leaks a cons cell
1724 every time a defun is called.
1726 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
1728 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
1729 Now understands non-unified diffs. Some functionality moved into
1730 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
1731 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
1732 modify anything. Only reposition point in the patched file if the
1733 patch succeeds. Only pop up another window if POPUP is true.
1734 Emit a message describing what happened if successful, and at what
1735 line-offset. Automatically detect reversed hunks and do something
1737 (diff-hunk-text, diff-find-text): New functions.
1738 (diff-filter-lines): Function removed.
1739 (diff-test-hunk): New function.
1740 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
1742 2000-09-10 Dave Love <fx@gnu.org>
1744 * textmodes/tildify.el: Minor doc/commentary fixes.
1745 (tildify) <defgroup>: Add :version.
1747 * faces.el (face-x-resources): Make custom type more specific.
1748 (frame-background-mode): Use mapc.
1749 (region) <defcustom>: Add :version.
1751 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
1753 * vc-sccs.el (vc-sccs-register):
1754 * vc-rcs.el (vc-rcs-register):
1755 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
1756 * vc.el (vc-register): Clear file's properties.
1758 2000-09-08 Gerd Moellmann <gerd@gnu.org>
1760 * faces.el (face-spec-set): Only face-spec-reset-face when
1763 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
1765 * help.el (help-insert-xref-button): Fix a typo in doc string.
1767 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
1769 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1770 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
1773 * menu-bar.el (read-mail-item-name): New function.
1774 (menu-bar-tools-menu): Use it to compute and display the package
1776 (menu-bar-tools-menu): Fix typo in GUD's help string.
1778 2000-09-07 Dave Love <fx@gnu.org>
1780 * diff-mode.el (diff-mouse-goto-source): New function.
1782 * vc-sccs.el: Doc fixes.
1783 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
1785 * vc-rcs.el: Doc fixes.
1786 (vc-rcs-register-switches, vc-rcs-checkin-switches)
1787 (vc-rcs-checkout-switches, vc-rcs-header)
1788 (vc-rcs-master-templates): Add or change :version.
1790 * vc-cvs.el: Doc fixes.
1791 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
1792 (vc-cvs-stay-local): Add :version.
1794 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
1796 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1798 * international/quail.el (quail-help): Fix previous change.
1800 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1802 * faces.el (color-values): Doc fix.
1804 * faces.el (frame-set-background-mode): Use frame-parameter
1805 instead of frame-parameters.
1807 * frame.el (filtered-frame-list): Reduce consing.
1808 (frames-on-display-list): Call frame-parameter instead of
1811 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1813 * language/devan-util.el (devanagari-to-indian-region): In the
1814 loop, change the following char, not preceding char.
1816 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1818 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
1819 instead of frame-parameters.
1821 * faces.el (set-face-attribute): Simplify by calling
1822 internal-set-lisp-face-attribute with FRAME being 0.
1824 * vc.el: Remove `Id' version control keyword.
1826 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1828 * help.el (help-make-xrefs): Adjusted for the change of
1829 help-xref-mule-regexp.
1830 (help-insert-xref-button): New function.
1832 * international/mule-cmds.el (help-xref-mule-regexp-template):
1833 Include the pattern for character set.
1836 * international/quail.el: Don't require face.
1838 (quail-other-command): Dummy command to make quail-help work better.
1839 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
1840 (quail-keyboard-layout-substitution): New variable.
1841 (quail-update-keyboard-layout): New function.
1842 (quail-keyboard-layout-type): New customizable variable.
1843 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
1844 (quail-keyboard-translate): Pay attention to
1845 quail-keyboard-layout-substitution.
1846 (quail-insert-kbd-layout): New function.
1847 (quail-show-keyboard-layout): New function.
1848 (quail-get-translation): If the definition is a vector of length
1849 1, and the element is a string of length 1, return the character
1851 (quail-update-current-translations): Fix the case of
1852 relative-index out of range.
1853 (quail-build-decode-map, quail-insert-decode-map): New Functions.
1854 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
1855 Show key sequences for all available characters.
1856 (quail-help-insert-keymap-description): Don't show such verbose
1857 key bindings as quail-self-insert-command.
1859 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1860 Format changed, and each element now have extra documentations.
1861 (tit-process-header): Delete invalid characters from TIT-PROMPT.
1862 Adjusted for the change of quail-cxterm-package-ext-info.
1864 2000-09-06 Gerd Moellmann <gerd@gnu.org>
1866 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
1867 requiring it leads to a recursive loading of vc.el and vc-hooks.el
1870 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1872 * vc.el: (toplevel): Don't require `dired' at run-time.
1873 (vc-dired-resynch-file): Remove autoload cookie.
1875 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1877 * vc.el: Made several backend functions optional.
1878 (vc-default-responsible-p): New function.
1879 (vc-merge): Use RET for first version to trigger merge-news, not
1881 (vc-annotate): Handle backends that do not support annotation.
1882 (vc-default-merge-news): Removed. The existence of a merge-news
1883 implementation is now checked on caller sites.
1885 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
1888 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
1889 special case that has been removed from the default in vc-hooks.el.
1891 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1893 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
1895 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1897 * vc-hooks.el: Require vc during compilation.
1898 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
1899 macro `with-vc-properties' in vc.el.
1900 (vc-file-getprop): Doc fix.
1901 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
1903 * vc.el: Require dired-aux during compilation.
1904 (vc-name-assoc-file): Moved to vc-sccs.el.
1905 (with-vc-properties): New macro.
1906 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
1907 vc-finish-steal): Use it.
1908 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
1909 to the backend-specific function is now supposed to do the checkout,
1911 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
1913 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
1914 set file properties; that gets done in the generic code now.
1916 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
1917 Changed parameter list, added code from vc.el that does the
1918 checkout, possibly with a double-take.
1920 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
1921 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
1922 the above under the new name.
1923 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
1924 parameter list, added checkout command.
1925 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
1926 properties; that gets done in the generic code now.
1928 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1930 * vc.el: Docstring fixes (courtesy of checkdoc).
1932 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1934 * vc.el (vc-checkout-writable-buffer-hook)
1935 (vc-checkout-writable-buffer): Remove.
1936 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
1937 (vc-log-mode): Make it into a clean derived major mode.
1938 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
1939 vc-log-mode if log-edit is not available.
1940 (vc-dired-mode-map): Don't set-keymap-parent yet.
1941 (vc-dired-mode): Do set-keymap-parent here.
1942 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
1944 2000-09-05 Gerd Moellmann <gerd@gnu.org>
1946 * faces.el (set-face-attribute, face-spec-reset-face)
1947 (face-spec-set): Avoid consing by removing calls to `apply'.
1949 * frame.el (frame-parameter): Move to C code.
1951 2000-09-05 Dave Love <fx@gnu.org>
1953 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
1954 insert-before-markers-and-inherit. Now checked systematically!
1956 2000-09-05 Alex Schroeder <alex@gnu.org>
1958 * sql.el (sql-postgres): Use sql-postgres-options.
1959 (sql-postgres-options): New variable.
1961 2000-09-05 Alex Schroeder <alex@gnu.org>
1963 * sql.el (sql-mode-menu): Work around missing variable mark-active
1965 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
1966 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
1969 2000-09-04 Gerd Moellmann <gerd@gnu.org>
1971 * vc.el (vc-dired-resynch-file): Add autoload cookie.
1973 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
1975 * Makefile.in (DONTCOMPILE): Fix typo in file name.
1977 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1979 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
1980 don't support anything else under SCCS yet.
1982 * vc-hooks.el: Minor doc fixes.
1984 2000-09-04 Andre Spiegel <spiegel@gnu.org>
1986 * vc.el (vc-next-action-on-file): Do not visit the file if it's
1987 not necessary. If verbose in state `needs-patch', do the same as
1988 under `up-to-date'. When NOT verbose and `needs-patch', check out
1989 latest version instead of `merge-news'.
1990 (vc-next-action-dired): Don't mess with default-directory here; it
1991 breaks other parts of dired. It is the job of the
1992 backend-specific functions to adjust it temporarily if they need it.
1993 (vc-next-action): Remove a special CVS case.
1994 (vc-clear-headers): New optional arg FILE.
1995 (vc-checkin, vc-checkout): Set properties vc-state and
1996 vc-checkout-time properly.
1997 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
1998 (vc-print-log): Use new backend function `show-log-entry'.
1999 (vc-cancel-version): Do the checks in a different order. Added a
2000 FIXME concerning RCS-only code.
2002 * vc-rcs.el (vc-rcs-show-log-entry): New function.
2003 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
2005 * vc-cvs.el (vc-cvs-show-log-entry): New function.
2007 * vc-hooks.el (vc-default-mode-line-string): Show state
2008 `needs-patch' as a `-' too.
2010 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2012 * vc.el (vc-responsible-backend): New optional arg REGISTER.
2013 (vc-default-could-register): New function.
2014 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
2015 (vc-resynch-buffer): Call vc-dired-resynch-file.
2016 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
2017 vc-resynch-buffer instead of vc-resynch-window.
2018 (vc-next-action-dired): Don't redisplay here, that gets done as a
2019 result of the individual file operations.
2020 (vc-retrieve-snapshot): Corrected prompt order.
2022 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
2024 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
2026 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
2027 hostname regexps. Updated all callers.
2028 (vc-cvs-responsible-p): Handle directories as well.
2029 (vc-cvs-could-register): New function.
2030 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
2031 properties up-to-date.
2033 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
2034 user whether to create one.
2036 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2038 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
2039 check out a non-existing file.
2041 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
2042 workfile does not exist.
2044 * vc.el (vc-version-diff): Use `require' to check for existence of
2047 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2049 * vc-cvs.el (vc-cvs-registered): Use new function
2050 vc-cvs-parse-entry to do the actual work.
2052 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2054 * vc-hooks.el (vc-find-backend-function): If function doesn't
2055 exist, return nil instead of error.
2056 (vc-call-backend): Doc fix.
2058 * vc.el (vc-do-command): Doc fix.
2059 (vc-finish-logentry): When checking in from vc-dired, choose the
2060 right backend for logentry check.
2061 (vc-dired-mode-map): Inherit from dired-mode-map.
2062 (vc-dired-mode): Local value of dired-move-to-filename-regexp
2064 (vc-dired-state-info): Removed, updated caller.
2065 (vc-default-dired-state-info): Use parentheses instead of hyphens.
2066 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
2067 (vc-dired-listing-switches): New variable.
2068 (vc-directory): Use it, instead of dired-listing-switches.
2070 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
2071 (vc-cvs-dir-state): New function.
2072 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
2073 (vc-cvs-parse-entry): New function, also to be used in
2076 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2078 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
2079 *or* single-window-frames.
2081 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2083 * vc.el (vc-update-changelog): Split into generic part and default
2084 implementation. Doc string adapted.
2085 (vc-default-update-changelog): New function. Call the `rcs2log'
2086 script in exec-directory, to fix a long-standing nuisance.
2088 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
2089 simply signals an error.
2091 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2093 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
2094 control-flow more clear and to avoid running `cvs' twice.
2096 * vc.el (vc-next-action-on-file): Doc fix.
2097 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
2098 (vc-print-log): Eval `file' before constructing the continuation.
2100 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2102 * vc.el (vc-next-action-on-file): Corrected several messages.
2103 (vc-merge): Add prefix arg `merge-news'; handle it.
2105 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
2106 is not reached. It is.
2107 (vc-cvs-merge): Set state to 'edited after merge.
2108 (vc-cvs-merge-news): Set workfile version to nil if not known.
2109 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
2111 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
2112 via stdout. (Merge from main line.)
2114 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2116 * vc.el (vc-finish-logentry): Thinko in the "same comment"
2119 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2121 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
2122 against kill-all-local-variables.
2123 (vc-log-edit): Don't save vc-parent-buffer any more.
2124 (vc-last-comment-match): Initialize to an empty string.
2125 (vc-post-command-functions): New hook.
2126 (vc-do-command): Run it.
2127 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
2128 (vc-finish-logentry): Only add the comment to the ring if it's
2129 different from the last comment entered.
2130 (vc-new-comment-index): New function.
2131 (vc-previous-comment): Use it. Make the minibuffer message
2132 slightly less terse.
2133 (vc-comment-search-reverse): Make it work forward as well. Don't
2134 set vc-comment-ring-index if no match is found. Use
2135 vc-new-comment-index.
2136 (vc-comment-search-forward): Use vc-comment-search-reverse.
2137 (vc-dired-mode-map): Don't inherit from dired-mode-map since
2138 define-derived-mode will do it for us. Bind `v' to a keymap that
2139 inherits from vc-prefix-map so that we can bind `vt' without
2141 (vc-retrieve-snapshot): Parenthesis typo.
2143 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
2144 to 1. Make sure to switch to *vc* before looking for an error
2145 message. Use vc-parse-buffer.
2147 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2149 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
2151 (vc-retrieve-snapshot): Split into two parts.
2152 (vc-default-retrieve-snapshot): New function.
2154 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
2155 (vc-cvs-retrieve-snapshot): New function (untested).
2156 (vc-cvs-stay-local): Default to t.
2157 (vc-cvs-remote-p): New function and property.
2158 (vc-cvs-state): Stay local only if the above is t.
2159 (vc-handle-cvs): Removed.
2160 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
2161 done via vc-handled-backends now.
2162 (vc-cvs-header): Escape Id.
2164 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2166 * vc.el (vc-do-command): Remove unused commands.
2167 (vc-version-diff): Make sure default-directory ends with a slash.
2168 Move the window commands into a vc-exec-after.
2169 (vc-print-log): Move more of the code into the `vc-exec-after'.
2171 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2173 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
2174 (vc-print-log): Search current revision from beginning of buffer.
2175 (vc-revert-buffer): Clear echo area after the diff is finished.
2176 (vc-prefix-map): Removed definition of "t" for terse display in vc
2178 (vc-dired-mode-map): Inherit from dired-mode-map. Added
2179 definition of "vt" for terse display.
2180 (vc-dired-mode): Fix dired-move-to-filename-regexp.
2182 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2184 * vc.el (vc-exec-after): Avoid caddr.
2186 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2188 * vc.el (vc-exec-after): New function.
2189 (vc-do-command): Use it to add a termination message for async
2191 (vc-checkout): Try to handle a missing-backend situation.
2192 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
2193 of a directory with a backend using async diffs.
2194 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
2197 * vc-sccs.el (vc-sccs-state-heuristic): Use
2198 file-ownership-preserved-p.
2200 * vc-rcs.el (vc-rcs-state-heuristic): Use
2201 file-ownership-preserved-p.
2202 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
2204 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2206 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
2209 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
2210 when there are no changes.
2212 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2214 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
2216 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
2218 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2220 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
2222 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
2223 the `fset' outside of the defvar so that it works even if
2224 vc-prefix-map was already defined.
2225 (vc-setup-buffer): New function, split out of vc-do-command.
2226 (vc-do-command): Allow BUFFER to be t to mean `just use the
2227 current buffer without any fuss'.
2228 (vc-version-diff): Change the `diff' backend operation to just put
2229 the diff in the current buffer without erasing it. Always use
2230 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
2231 shrink-window-if-larger-than-buffer.
2232 (vc-print-log): Change the `print-log' backend operation to just
2233 put the log in the current buffer without erasing it. Protect
2234 shrink-window-if-larger-than-buffer.
2235 (vc-update-change-log): Fix setd typo.
2237 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
2238 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
2240 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
2241 (vc-rcs-diff): Insert in the current buffer and remove unused arg
2244 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
2245 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
2246 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
2248 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2250 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
2251 not possible, use vc-BACKEND-workfile-unchanged-p.
2252 (vc-default-workfile-unchanged-p): New function. Delegates to a
2253 full vc-BACKEND-diff.
2255 * vc-hooks.el (vc-simple-command): Removed.
2257 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
2258 instead of vc-simple-command.
2259 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
2260 avoid doing a diff when opening a file.
2261 (vc-rcs-state): Added check for unlocked-changes.
2262 (vc-rcs-header): Escape Id.
2263 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
2264 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
2267 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
2268 (vc-sccs-diff): Remove optional arg CMP.
2269 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
2270 SCCS-specific function.
2272 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
2275 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2277 * vc.el (vc-editable-p): Renamed from vc-writable-p.
2278 (with-vc-file, vc-merge): Use vc-editable-p.
2279 (vc-do-command): Remove unused var vc-file and fix the
2280 doubly-defined `status' var. Add a user message when starting an
2282 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
2283 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
2284 Use with-current-buffer.
2285 (vc-buffer-sync): Use unless.
2286 (vc-next-action-on-file): If the file is 'edited by read-only,
2287 make it read-write instead of trying to commit.
2288 (vc-version-diff, vc-update-change-log): Use `setq
2289 default-directory' rather than `cd'.
2290 (vc-log-edit): Don't forget to set default-directory in the
2293 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
2294 (vc-sccs-state-heuristic): Use file-writable-p instead of
2296 (vc-sccs-checkout): Use `unless'.
2298 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
2299 of comparing userids.
2300 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
2301 Simplify the logic by eliminating unreachable code.
2302 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
2303 just do a recursive call if we need to retry.
2304 (vc-rcs-checkout): Handle the case where rcs is missing by making
2305 the buffer read-write if requested and re-signalling the error.
2307 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
2309 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2311 * vc-hooks.el (vc-handled-backends): Docstring change.
2312 (vc-ignore-vc-files): Mark obsolete.
2313 (vc-registered): Check vc-ignore-vc-files.
2314 (vc-find-file-hook, vc-file-not-found-hook): Don't check
2317 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
2319 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2321 * vc.el (vc-checkout): Don't do anything special for ange-ftp
2322 files since ange-ftp already has vc-registered return nil.
2324 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
2325 (vc-sccs-workfile-version): Use with-temp-buffer and new
2326 vc-parse-buffer and don't bother setting the property.
2327 (vc-sccs-add-triple): Use with-current-buffer and
2329 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
2331 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
2332 derives from the old vc-parse-buffer but uses the revision number
2333 rather than the date (much easier to compare robustly).
2334 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
2335 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
2336 locking-user more directly. Check strict locking and set
2337 checkout-model appropriately.
2338 (vc-rcs-parse-locks): Remove.
2339 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
2340 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
2341 (vc-rcs-system-release): Use with-current-buffer and
2343 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
2345 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
2346 (vc-simple-command): Docstring fix.
2347 (vc-registered): Align the way the file-handler is called with the
2348 way the function itself works.
2349 (vc-file-owner): Remove.
2351 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
2352 extraction of fields and call to file-attributes because of a
2353 temporary bug in rcp.el.
2354 (vc-cvs-fetch-status): Use with-current-buffer.
2356 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2358 * vc.el (vc-do-command): Use file-relative-name.
2359 (vc-responsible-backend): Use vc-backend if possible.
2360 (vc-create-snapshot): Improve the `interactive' spec. Add support
2361 for branches and dispatch to backend-specific `create-snapshot'.
2362 (vc-default-create-snapshot): New function, containing the bulk of
2363 the old vc-create-snapshot.
2364 (vc-retrieve-snapshot): Improve the interactive spec.
2366 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
2367 (vc-backend-hook-functions): Remove.
2368 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
2369 (vc-backend): Reintroduce the test for `file = nil' now that I
2370 know why it was there (and added a comment to better remember).
2372 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
2373 code from vc-sccs-hooks.el.
2374 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
2376 (vc-sccs-responsible-p): Use expand-file-name instead of concat
2377 and file-directory-p instead of file-exists-p.
2378 (vc-sccs-check-headers): Simplify the regexp.
2380 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
2381 from vc-rcs-hooks.el. Don't require 'vc anymore.
2382 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
2383 file-directory-p instead of file-exists-p.
2385 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
2386 from vc-cvs-hooks.el.
2387 (proto vc-cvs-registered): Require 'vc-cvs instead of
2388 'vc-cvs-hooks. Don't require 'vc anymore.
2389 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
2390 file-directory-p instead of file-exists-p.
2391 (vc-cvs-create-snapshot): New function, replacing
2393 (vc-cvs-assign-name): Remove.
2395 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2397 * vc-cvs.el (vc-cvs-header): New var.
2399 * vc-rcs.el (vc-rcs-exists): Remove.
2400 (vc-rcs-header): New var.
2402 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
2403 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
2404 (vc-sccs-header): New var.
2406 * vc.el (vc-do-command): Get rid of the `last' argument.
2407 (vc-header-alist): Remove, replaced by vc-X-header.
2408 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
2409 (vc-dired-hook): Use expand-file-name instead of concat.
2410 (vc-directory): Use file-name-as-directory.
2411 (vc-snapshot-precondition, vc-create-snapshot)
2412 (vc-retrieve-snapshot): Allow the command to operate on any
2415 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
2416 just removing the 'WORKFILE argument or by removing the 'MASTER
2417 argument and replacing `file' with (vc-name file).
2419 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2421 * vc.el: Update Copyright and add a crude list of backend funs.
2422 (vc-writable-p): New function.
2423 (with-vc-file): Use vc-writable-p.
2424 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
2425 (vc-register): Avoid vc-name.
2426 (vc-locking-user): Remove.
2427 (vc-steal-lock): Make the `owner' arg non-optional.
2428 (vc-merge): Use vc-writable-p instead of vc-locking-user and
2430 (vc-default-dired-state-info): Use vc-state instead of
2431 vc-locking-user and return special strings for special states.
2432 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
2433 and get rid of one of the special CVS cases.
2434 (vc-cancel-version): prettify error message with \\[...].
2435 (vc-rename-master): New function.
2436 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
2437 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
2438 the CVS special case generic.
2439 (vc-default-record-rename): Remove.
2440 (vc-file-tree-walk-internal): Only call FUNC for files that are
2441 under control of some VC backend and replace `concat' with
2443 (vc-file-tree-walk): Update docstring.
2444 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
2445 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
2447 * vc-sccs.el (vc-sccs-rename-file): Renamed from
2448 vc-sccs-record-rename. Use `find-file-noselect' rather than
2449 `find-file' and call `vc-rename-master' to do the actual move.
2450 (vc-sccs-diff): Remove unused `backend' variable.
2452 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
2453 to delay loading of vc-sccs until it is really used.
2454 (vc-sccs-master-templates): Preload.
2455 (vc-sccs-state): Update call to vc-sccs-parse-locks.
2456 (vc-sccs-project-dir): Remove (merged into
2457 vc-sccs-search-project-dir).
2458 (vc-sccs-search-project-dir): Rewrite using file name handling ops
2459 rather than `concat', make sure it is preloaded and don't bother
2460 to check that the file actually exists.
2461 (vc-sccs-parse-locks): Remove unused `file' argument, remove
2462 `locks' argument (use buffer's content instead) and eliminate n^2
2465 * vc-rcs.el: Update Copyright.
2466 (vc-rcs-rename-file): New function.
2467 (vc-rcs-diff): Remove unused `backend' variable.
2469 * vc-hooks.el: Update Copyright.
2470 (vc-backend): Don't accept a nil argument any more.
2471 (vc-up-to-date-p): Turn into a defsubst.
2472 (vc-possible-master): New function.
2473 (vc-check-master-templates): Use `vc-possible-master' and allow
2474 funs in vc-X-master-templates to return a non-existent file.
2476 * vc-cvs.el: Update Copyright.
2477 (vc-cvs-diff): Remove unused `backend' variable.
2478 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
2480 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
2482 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2484 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
2485 since it can be called from vc-rcs.el.
2486 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
2488 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2490 * vc.el (vc-version-diff): Expand file name read from the
2491 minibuffer. Handle the case when a previous version number can't
2492 be guessed. Give suitable messages when there were no differences
2494 (vc-clear-headers): Call backend-specific implementation, if one
2496 (vc-cancel-version): Made error checks generic. When done, clear
2497 headers generically, too.
2499 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
2500 from vc-clear-headers in vc.el.
2502 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
2504 (vc-rcs-latest-on-branch-p): Made second argument VERSION
2505 optional. Handle the case when it's not there.
2507 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2509 * vc.el (vc-locking-user): Moved from vc-hooks.el.
2511 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2513 * vc-hooks.el (vc-loadup): Remove.
2514 (vc-find-backend-function): Use `require'. Also, handle the case
2515 where vc-BACKEND-hooks.el doesn't exist.
2516 (vc-call-backend): Cleanup.
2518 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2520 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
2521 vc-rcs-grab-templates)
2522 (vc-rcs-registered): Remove. The default function works as well.
2523 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
2524 vc-sccs-grab-templates)
2525 (vc-sccs-registered): Remove. The default function works as well.
2527 * vc.el (vc-version-diff): Left out a vc- in call to
2529 (vc-default-dired-state-info, vc-default-record-rename)
2530 (vc-default-merge-news): Update for the new backend argument.
2532 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
2533 using the default function.
2534 (vc-call-backend): If calling the default function, pass it the
2535 backend as first argument. Update the docstring accordingly.
2536 (vc-default-state-heuristic, vc-default-mode-line-string): Update
2537 for the new backend argument.
2538 (vc-make-backend-sym): Renamed from vc-make-backend-function.
2539 (vc-find-backend-function): Use the new name.
2540 (vc-default-registered): New function.
2542 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2544 * vc.el (vc-merge): Use vc-find-backend-function.
2546 * vc-hooks.el (vc-backend-functions): Remove.
2547 (vc-loadup): Don't setup 'vc-functions.
2548 (vc-find-backend-function): New function.
2549 (vc-call-backend): Use above fun and populate 'vc-functions
2551 (vc-backend-defines): Remove.
2553 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2555 * vc.el (vc-register): Put a FIXME note for a newly found bug.
2556 Call vc-call-backend without the leading vc-.
2557 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
2558 (vc-check-headers): Call vc-call-backend without the leading vc-.
2559 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
2560 (vc-annotate-display): Replace confusing use of `cond' with `or'.
2561 Call vc-call-backend without the leading vc-.
2563 * vc-cvs.el (tail): Provide vc-cvs.
2564 * vc-sccs.el (tail): Provide vc-sccs.
2565 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
2567 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
2568 (vc-make-backend-function, vc-call): Pass names without leading
2569 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
2570 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
2571 (vc-call-backend): Always try to load vc-X-hooks.
2572 (vc-registered): Remove vc- in call to vc-call-backend.
2574 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2576 * vc.el (vc-process-filter): New function.
2577 (vc-do-command): Setup `vc-process-filter' for the async process.
2578 (vc-maybe-resolve-conflicts): New function to reduce
2579 code-duplication. Additionally, it puts the buffer in
2580 `smerge-mode' if applicable.
2581 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
2582 calling `merge-news'.
2583 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
2584 (vc-log-edit): New function. Replacement for `vc-log-mode' by
2585 interfacing to log-edit.el.
2586 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
2587 log-edit is available.
2588 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
2590 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2592 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
2593 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
2594 defvar and the initialization.
2595 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
2597 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
2598 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
2600 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
2602 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2604 * vc.el (vc-file-clear-masterprops): Removed.
2605 (vc-checkin, vc-revert-buffer): Removed calls to the above.
2606 (vc-version-diff): Use buffer-size without argument.
2607 (vc-register): Heed vc-initial-comment.
2609 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
2612 * vc-rcs.el (vc-rcs-register): Parse command output to find master
2613 file name and workfile version.
2614 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
2616 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
2617 vc-file-clear-masterprops.
2619 * vc-sccs.el (vc-sccs-checkout): Removed call to
2620 vc-file-clear-masterprops. If writable, set vc-state to 'edited
2621 rather than user login name.
2624 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2626 * vc.el (vc-workfile-unchanged-p): Remove unused argument
2627 `want-differences-if-changed' and simplify.
2628 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
2629 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
2630 output (which is invalid for async vc-diff) to decide whether to
2631 do the revert silently or not.
2633 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2635 * vc-hooks.el (vc-loadup): Load files quietly.
2636 (vc-call-backend): Oops, brain fart.
2638 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2640 * vc-cvs.el (vc-cvs-state): Typo.
2641 (vc-cvs-merge-news): Return the status code rather than the error msg.
2643 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2645 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
2646 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
2647 vc-state or vc-up-to-date-p.
2648 (vc-merge): Use vc-backend-defines to check whether merging is
2649 possible. Set state to 'edited after successful merge.
2651 * vc-hooks.el (vc-locking-user): If locked by the calling user,
2652 return that name. Redocumented.
2654 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2656 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
2657 new `vc-state' semantics.
2658 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
2659 'vc-locking-user to the current user.
2660 (vc-merge): Inline vc-backend-merge. Comment out code that I
2661 don't understand and hence can't adapt to the new `vc-state' and
2662 `vc-locking-user' semantics.
2663 (vc-backend-merge): Remove.
2665 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
2666 rather than 'vc-locking-user.
2668 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
2670 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
2671 (vc-state): Don't use 'reserved any more. Just use the same
2672 convention as the one used for vc-<backend>-state where the
2673 locking user (as a string) is returned.
2674 (vc-locking-user): Update, based on the above convention. The
2675 'vc-locking-user property has disappeared.
2676 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
2678 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
2679 with a heuristic one.
2680 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
2681 (vc-cvs-checkin): Do a trivial parse to set the state in case of
2682 error. That allows us to get to 'needs-merge even in the
2683 stay-local case. There's still no way to detect 'needs-patch in
2684 such a setup (or to force an update for that matter).
2685 (vc-cvs-logentry-check): Remove, the default works as well.
2687 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2689 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
2691 * vc.el (vc-do-command): kill-all-local-variables, to reset any
2692 major-mode in which the buffer might have been put earlier. Use
2693 `remove' and `when'. Allow `okstatus' to be `async' and use
2694 `start-process' in this case.
2695 (vc-version-diff): Handle the case where the diff looks empty
2696 because of the use of an async process.
2698 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2700 * vc.el (vc-next-action-on-file): Removed optional parameter
2701 `simple'. Recompute state unconditionally.
2702 (vc-default-toggle-read-only): Removed.
2704 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
2705 (vc-toggle-read-only): Undid prev change.
2707 * vc-cvs.el (vc-cvs-stay-local): Renamed from
2708 vc-cvs-simple-toggle. Redocumented.
2709 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
2710 (vc-cvs-toggle-read-only): Removed.
2712 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2714 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
2715 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
2716 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
2717 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
2718 still is. So maybe it should be removed.
2719 (vc-head-version, vc-find-binary): Remove.
2720 (vc-recompute-state): Move from vc-hooks.el.
2721 (vc-next-action-on-file): Add a `simple' argument to allow
2722 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
2723 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
2724 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
2725 (vc-dired-mode-map): Properly defvar it.
2726 (vc-print-log): Call log-view-mode if available.
2727 (small-temporary-file-directory): defvar instead of use boundp.
2728 (vc-merge-news): Moved to vc-cvs.el.
2729 (vc-default-merge-news): New function.
2731 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
2732 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
2733 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
2734 unknown `vc-latest-version' function. It should probably refer to
2735 vc-workfile-version or somesuch, but it's very unclear to me and I
2736 don't have SCCS to test things.
2738 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
2739 (vc-sccs-state-heuristic): Fix typo.
2740 (vc-sccs-workfile-unchanged-p): Add missing argument.
2742 * vc-rcs.el: Require vc and vc-rcs-hooks.
2743 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
2744 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
2745 (vc-release-greater-or-equal-p): Move from vc.
2746 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
2747 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
2748 (vc-rcs-checkout): Add a missing `new-version' argument in the
2749 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
2751 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
2752 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
2753 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
2754 than the apparently unbound `workfile-version'.
2756 * vc-hooks.el (vc-master-templates): Def the obsolete var.
2757 (vc-file-prop-obarray): Use `make-vector'.
2758 (vc-backend-functions): Add new hookable functions
2759 vc-toggle-read-only, vc-record-rename and vc-merge-news.
2760 (vc-loadup): If neither backend nor default functions exist, use
2761 the backend function rather than nil.
2762 (vc-call-backend): If the function if not bound yet, try to load
2763 the non-hook file to see if it provides it.
2764 (vc-call): New macro plus use it wherever possible.
2765 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
2766 nor `vc-find-binary' since it's only called from
2767 vc-mistrust-permission which is only used once the backend is known.
2768 (vc-checkout-model): Fix parenthesis.
2769 (vc-recompute-state, vc-prefix-map): Move to vc.el.
2771 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
2772 (vc-cvs-release, vc-cvs-system-release): Remove.
2773 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
2774 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
2776 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
2777 (vc-cvs-toggle-read-only): First cut at a function to allow a
2778 cvs-status-free vc-toggle-read-only.
2779 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
2780 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
2781 vc-cvs-status. Also set vc-state rather than vc-locking-user.
2782 (vc-cvs-checkout): Modify access rights directly if the user
2783 requested not to use `cvs edit'. And refresh the mode line.
2785 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
2786 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
2788 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2790 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
2791 workfile' that got lost when the code was extracted from vc.el.
2792 And merged the tail with the rest of the code (not possible in the
2793 old vc.el where the tail was shared among all backends). And
2794 explicitly set the state to 'edited if `writable' is set.
2796 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
2797 (vc-cvs-state): Be careful to return the value from
2799 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
2800 property but return it instead. Also be careful to handle a nil
2801 or "" `rev' when workfile is non-nil (it was handled properly when
2804 * vc.el: Removed those pesky unnecessary `(function' quotes.
2805 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
2806 directly in the defvar.
2807 (vc-do-command): Bind inhibit-read-only so as to properly handle
2808 the case where the destination buffer has been made read-only.
2809 (vc-diff): Delegate to vc-version-diff in all cases.
2810 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
2811 (vc-annotate-mode-variables): Removed (code moved partly to
2812 defvars and partly to vc-annotate-add-menu).
2813 (vc-annotate-mode): Turned into a derived-mode.
2814 (vc-annotate-add-menu): Moved in code in
2815 vc-annotate-mode-variables.
2816 (vc-update-change-log): Use make-temp-file if available.
2818 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
2820 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
2821 `vc-checkout-model' updated to `vc-cvs-update-model'.
2823 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2825 * vc.el (vc-next-action-on-file): Added handling of state
2827 (vc-checkout-carefully): Is now practically obsolete, unless the
2828 above is too slow to be enabled unconditionally.
2829 (vc-update-change-log): Fixed typo.
2831 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
2833 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
2834 Now handles state `unlocked-changes'.
2835 (vc-sccs-workfile-unchanged-p): New function, to support the above.
2837 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
2839 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
2840 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
2842 (vc-rcs-workfile-unchanged-p): Renamed from
2843 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
2844 function yet, but supposed to become one soon.
2846 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
2848 (vc-call-backend): Changed error message.
2849 (vc-state): Added description of state `unlocked-changes'.
2851 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2853 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
2854 always return t in CVS-controlled directories.
2856 * vc.el (vc-responsible-backend): New function.
2857 (vc-register): Largely rewritten.
2858 (vc-admin): Removed (implementation moved into vc-register).
2859 (vc-checkin): Redocumented.
2860 (vc-finish-logentry): If no backend defined yet (because we are in
2861 the process of registering), use the responsible backend.
2863 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2864 Updated function lists.
2865 (vc-call-backend): Fixed typo.
2867 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
2869 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
2870 Removed query option. Redocumented.
2872 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2874 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
2876 * vc.el: Updated callers of `vc-checkout-required' to use
2877 `vc-checkout-model'.
2879 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2881 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
2882 stuff updated to reference this function instead of the old
2883 `vc-backend-release-p'.
2885 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2887 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
2888 vc-checkout-model. Return appropriate values. Updated callers.
2890 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2892 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
2893 (vc-backend-revert): Function moved into `vc-revert';
2894 `vc-next-action' must be updated to accomodate this change.
2895 (vc-backend-steal): Function moved into `vc-finish-steal'.
2896 (vc-backend-logentry-check): Function moved into
2897 `vc-finish-logentry'.
2898 (vc-backend-printlog): Function moved into `vc-print-log'.
2899 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
2900 (vc-backend-assign-name): Function moved into
2901 `vc-create-snapshot'.
2903 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2905 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
2906 Rename to vc-checkout-model. Return appropriate values.
2909 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
2910 to vc-checkout-model.
2911 (vc-checkout-required): Rename to vc-checkout-model.
2912 Re-implement and re-comment.
2913 (vc-after-save): Use vc-checkout-model.
2915 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2917 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
2918 Update to use the vc-BACKEND-diff functions instead.
2919 `vc-diff' is now working.
2921 * vc-rcs.el (vc-rcs-logentry-check): New function.
2923 * vc-cvs.el (vc-cvs-logentry-check): New function.
2925 * vc-sccs.el (vc-sccs-diff): Function changed name from
2926 `vc-backend-diff'. This makes `vc-diff' work.
2928 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
2929 of functions possibly implemented in a vc-BACKEND library.
2930 (vc-checkout-required): Fix bug that caused an error to be
2931 signaled during `vc-after-save'.
2934 This checkin is made with our new VC code base for the very first time.
2935 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
2937 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
2938 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
2940 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
2941 updated to `vc-uses-locking'.
2942 (vc-checkout-required): Call to backend function.
2943 `vc-checkout-required' updated to `vc-uses-locking' instead.
2945 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
2946 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
2948 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
2949 to match the split into various backends.
2950 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
2951 (vc-retrieve-snapshot): Bug fix.
2953 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2955 * vc-sccs.el (vc-sccs-release): Doc fix.
2957 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2959 * vc.el (vc-next-action-on-file): Bug found and fixed.
2960 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
2961 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
2963 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
2964 (vc-rcs-checkout): Name space cleaned up. No more revision number
2965 crunching function names that are not prefixed with vc-rcs.
2966 (vc-rcs-checkout-model): Function added. References to
2967 `vc-checkout-model' replaced.
2969 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2971 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
2972 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
2973 still need to be split, and implemented for RCS).
2975 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2977 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
2979 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
2980 required by the vc.el file.
2982 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
2983 required by the vc.el file.
2984 (vc-rcs-exists): Function added.
2986 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
2987 required by the vc.el file.
2989 * vc.el (vc-admin): Updated to handle selection of appropriate
2990 backend. Current implementation is crufty and need re-thinking.
2992 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
2994 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2996 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
2997 beginning of annotate buffers correctly.
2999 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
3000 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
3001 functionality updated quite a lot to support multiple backends.
3002 Variables `vc-annotate-mode', `vc-annotate-buffers',
3003 `vc-annotate-backend' added.
3005 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
3006 `vc-annotate-difference' added to supported backend functions.
3008 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3010 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
3011 Use with-temp-file instead of /bin/sh. Merged from mainline
3013 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3015 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
3017 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
3019 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
3021 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3023 * vc-hooks.el: vc-state-heuristic added to
3024 vc-backend-hook-functions.
3026 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
3028 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
3030 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
3031 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
3032 state to `reserved'.
3034 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
3035 `vc-checkout-required'. Rename the `locked' state to `reserved'.
3037 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3039 * vc-rcs-hooks.el: Implement new state model. Hardly anything
3042 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
3044 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
3045 if defined. (Merged from main line, slightly adapted.)
3047 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
3048 millenium problem (merged from mainline).
3050 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3052 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
3053 part and moved the non-BACKEND stuff to vc.el.
3055 * vc.el: Split the annotate feature into a BACKEND specific part
3056 and moved it from the vc-cvs.el file to this one.
3058 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3060 * vc-hooks.el: Implement new state model.
3061 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
3062 (vc-locking-user): Simplify. Now only needed if the file is
3063 locked by somebody else.
3064 (vc-lock-from-permissions): Remove. Functionality is in
3065 vc-sccs-hooks.el and vc-rcs-hooks.el now.
3066 (vc-mode-line-string): New name for former vc-status. Adapted.
3067 (vc-mode-line): Adapt to use the above. Remove optional parameter.
3069 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
3070 Various simplifications and adaptations all over the place.
3072 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
3073 Simplify and adapt the rest.
3075 * vc.el (vc-resynch-window): Add TODO comment: check for
3076 interaction with view mode according to recent RCS change.
3077 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
3079 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3081 * vc.el: Convert the remaining function comments to docstrings.
3083 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3085 * vc.el (vc-backend-release, vc-release-greater-or-equal)
3086 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
3087 (vc-minor-part, vc-previous-version): Functions that operate and
3088 compare revision numbers got proper documentation. Comments added
3089 about their possible removal.
3091 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3093 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
3094 the vc-backend.el files.
3096 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
3098 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
3099 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
3100 (vc-rcs-previous-version): Functions added.
3102 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
3104 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
3106 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3108 * vc-hooks.el (vc-master-templates): Is really obsolete.
3109 Comment out the definition for now. What is the right procedure
3111 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
3113 (vc-default-registered): Remove.
3114 (vc-check-master-templates): New function; does mostly what the
3116 (vc-locking-user): Don't rely on the backend to set the property.
3118 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
3119 Rewrite documentation.
3120 (vc-rcs-templates-grabbed): New variable.
3121 (vc-rcs-grab-templates): New function.
3122 (vc-rcs-registered): Rewrite to use above mechanism.
3124 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
3125 Rewrite documentation.
3126 (vc-sccs-templates-grabbed): New variable.
3127 (vc-sccs-grab-templates): New function.
3128 (vc-sccs-registered): Rewrite to use above mechanism.
3129 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
3130 Don't throw the result, simply return it.
3132 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
3133 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
3134 (vc-cvs-registered): Does the check itself now. Simplify.
3136 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
3139 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3141 * vc-cvs.el (vc-cvs-diff): New function.
3143 * vc-sccs.el (vc-sccs-diff): New function.
3145 * vc-rcs.el (vc-rcs-diff): New function.
3146 (vc-rcs-checkout): Bug (typo) found and fixed.
3147 (vc-rcs-register-switches): New variable.
3149 * vc.el (vc-backend-diff): Function removed and placed in the
3152 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3154 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
3156 * vc.el (vc-backend-checkout): Function removed and replaced in
3157 the vc-backend.el files.
3159 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
3161 * vc.el (vc-backend-admin): Removed and replaced in the
3162 vc-backend.el files.
3164 * vc.el (Martin): Removed all the annotate functionality since it
3165 is CVS backend specific.
3167 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3169 * spec.txt: Added specification of vc-state.
3171 * vc-sccs-hooks.el (vc-sccs-master-properties):
3172 Remove handling of vc-latest-version and
3173 vc-your-latest-version. What used to be vc-latest-version, is now
3174 returned as vc-workfile-version.
3175 (vc-sccs-workfile-version): Adapt.
3177 2000-09-04 Dave Love <fx@gnu.org>
3179 * vc.el: [Merged from mainline.]
3180 (vc-dired-mode): Make the dired-move-to-filename-regexp
3181 regexp match the date, to avoid treating date as file size.
3182 Add YYYY S option to WESTERN/
3184 2000-09-04 Dave Love <fx@gnu.org>
3186 * vc.el: Require `compile' when compiling.
3187 (vc-logentry-check-hook): New option.
3188 (vc-steal-lock): Use compose-mail.
3189 (vc-dired-mode-map): Defvar when compiling.
3190 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
3191 vc-sccs.el and renamed. Callers changed.
3192 (vc-backend-checkout, vc-backend-logentry-check)
3193 (vc-backend-merge-news): Doc fix.
3194 (vc-default-logentry-check): New function.
3195 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
3196 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
3197 (vc-backend-merge): Doc fix. Use backend functions.
3198 (vc-check-headers): Use backend functions.
3200 * vc-cvs.el: Require vc when compiling.
3201 (vc-cvs-register-switches): Doc fix.
3202 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
3203 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
3204 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
3205 New functions (code from vc.el).
3206 (vc-annotate-display-default): Fix interactive spec.
3207 (vc-annotate-time-span): Doc fix.
3209 * vc-rcs.el: Require vc when compiling.
3210 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
3211 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
3212 (vc-rcs-checkin): New functions (code from vc.el).
3213 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
3215 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
3217 * vc-sccs.el: Require vc when compiling.
3218 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
3219 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
3221 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
3223 (vc-sccs-add-triple, vc-sccs-record-rename)
3224 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
3225 (vc-sccs-admin): Doc fix.
3227 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3229 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
3230 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
3231 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
3234 * vc-sccs.el (vc-admin-sccs): Added from vc.el
3236 * vc-cvs.el: Moved the annotate functionality from vc.el.
3237 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
3239 2000-09-04 Dave Love <fx@gnu.org>
3241 * vc.el (vc-backend-release): Call vc-system-release.
3243 * vc-sccs.el (vc-sccs-system-release):
3244 Renamed from vc-sccs-backend-release.
3246 * vc-rcs.el (vc-rcs-system-release):
3247 Renamed from vc-rcs-backend-release.
3249 * vc-cvs.el (vc-cvs-system-release):
3250 Renamed from vc-cvs-backend-release.
3252 2000-09-04 Dave Love <fx@gnu.org>
3254 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
3256 (vc-backend-release): Dispatch to backend functions.
3257 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
3258 probably needs attention.]
3260 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
3261 (vc-sccs-backend-release): New function.
3263 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
3264 (vc-cvs-backend-release): New function.
3266 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
3268 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
3269 (vc-default-dired-state-info): New function.
3270 (vc-dired-state-info): Dispatch to backends.
3271 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
3273 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
3274 from vc.el and renamed.
3276 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3278 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
3279 (vc-version-other-window, vc-backend-assign-name): Removed
3280 references to vc-latest-version; sometimes changed into
3281 vc-workfile-version.
3283 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
3284 vc-rcs-master-workfile-version.
3285 (vc-rcs-workfile-version): Use the above. Don't call
3286 vc-latest-version (that was unreachable code, anyway).
3287 (vc-rcs-fetch-master-properties): Doc fix.
3289 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
3290 (vc-backend-hook-functions): Removed them from this list, too.
3291 (vc-fetch-properties): Removed.
3292 (vc-workfile-version): Doc fix.
3294 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
3295 (vc-rcs-workfile-version, vc-rcs-locking-user)
3296 (vc-rcs-uses-locking): Use it.
3298 * vc-hooks.el (vc-consult-rcs-headers):
3299 Moved into vc-rcs-hooks.el, under the name
3300 vc-rcs-consult-headers.
3302 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
3304 (vc-cvs-find-master): Use this name only; correct different
3305 versions of the name.
3307 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
3309 (vc-sccs-locking-user): Use the latter.
3311 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
3314 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
3316 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
3317 functions are implementation details of those two backends.
3319 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3321 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
3322 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
3324 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
3325 (vc-sccs-parse-locks): SCCS-specific code moved here from
3328 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
3329 code moved here from vc-hooks.
3331 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
3332 into back-end specific parts and removed. Callers not updated
3333 yet; because I guess these callers will disappear into back-end
3334 specific files anyway.
3336 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3338 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
3339 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
3342 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
3343 Store yes/no in the property, and return t/nil. Updated all
3346 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
3347 vc-sccs-uses-locking. Don't set property.
3348 (vc-sccs-locking-user): Don't set property.
3350 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
3351 vc-cvs-uses-locking. Don't set property here; leave that to
3353 (vc-cvs-locking-user): Reflect above change. Streamlined.
3355 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
3356 vc-rcs-uses-locking.
3357 (vc-rcs-locking-user): Reflect above change.
3359 2000-09-04 Dave Love <fx@gnu.org>
3361 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
3363 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
3365 * vc-hooks.el (vc-checkout-model): Punt to backends.
3367 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
3369 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
3371 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
3374 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
3377 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
3378 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
3380 * vc-hooks.el (vc-default-locking-user): New function.
3381 (vc-locking-user, vc-workfile-version): Punt to backends.
3383 2000-09-04 Dave Love <fx@gnu.org>
3385 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
3386 (vc-master-workfile-version): Moved from vc-hooks.
3388 * vc-rcs-hooks.el: Fix duplicate code in last change.
3390 * vc-rcs-hooks.el: Require vc-hooks when compiling.
3391 (vc-rcs-master-templates): Improve :type.
3392 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
3393 vc-master-workfile-version): Moved from vc-hooks.
3395 * vc-sccs-hooks.el: Require vc-hooks when compiling.
3396 (vc-sccs-master-templates): Improve :type.
3397 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
3399 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
3401 * vc-cvs-hooks.el: Require vc-hooks when compiling.
3402 (vc-cvs-master-templates): Improve :type. Use
3403 vc-cvs-find-cvs-master.
3404 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
3406 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
3408 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
3409 Moved to vc-cvs-hooks.
3411 * vc-hooks.el: Add doc strings in various places. Simplify the
3413 (vc-handled-backends): New user variable.
3414 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
3417 2000-09-04 Dave Love <fx@gnu.org>
3419 * vc.el: Some doc fixes for autoloaded and interactive functions.
3420 Fix compilation warnings from ediff stuff.
3421 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
3423 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
3425 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
3427 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
3429 2000-09-04 Dave Love <fx@gnu.org>
3431 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
3433 (vc-make-backend-function, vc-loadup, vc-call-backend)
3434 (vc-backend-defines): New functions.
3436 * vc-hooks.el: Various doc fixes.
3437 (vc-default-back-end, vc-follow-symlinks): Custom fix.
3438 (vc-match-substring): Function removed. Callers changed to use
3440 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
3443 2000-09-04 Dave Love <fx@gnu.org>
3445 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
3447 (vc-sccs-project-dir, vc-search-sccs-project-dir)
3448 (vc-sccs-registered): Doc fix.
3450 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
3451 (vc-cvs-registered): Doc fix.
3453 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
3454 (vc-rcs-registered): Doc fix.
3456 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3458 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
3460 * vc-hooks.el: vc-registered has been renamed
3461 vc-default-registered. Some functions have been moved to the
3462 backend specific files. they all support the
3463 vc-BACKEND-registered functions.
3465 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3467 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
3469 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
3471 2000-09-04 Dave Love <fx@gnu.org>
3473 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
3474 menu-bar-update-hook.
3476 * help.el (help-manyarg-func-alist): Add
3477 find-operation-coding-system.
3479 * wid-edit.el (widget-sexp-validate): Fix garbled code.
3481 * custom.el (custom-set-variables): Print message about errors in
3484 2000-09-03 Andrew Innes <andrewi@gnu.org>
3486 * makefile.w32-in: Change to DOS line endings.
3488 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3490 * mouse.el (mouse-popup-menubar): Supply the prompt string for
3491 minor-mode keymaps, if they don't have one.
3493 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3495 * eshell/esh-module.el (eval-when-compile): Don't lose if
3496 esh-module.el's file name is truncated to DOS 8+3 limits.
3498 2000-09-01 John Wiegley <johnw@gnu.org>
3500 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
3501 predicate, which caused entries in the completion list to be
3504 2000-08-30 John Wiegley <johnw@gnu.org>
3506 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
3507 sending to subprocesses. Also, hook pre-command-hook if
3508 `eshell-send-direct-to-subprocesses' is non-nil.
3509 (eshell-send-direct-to-subprocesses): New config variable. If t,
3510 subprocess input is send immediately.
3511 (eshell-toggle-direct-send): New function.
3512 (eshell-self-insert-command): New function.
3513 (eshell-intercept-commands): New function.
3514 (eshell-send-input): If direct subprocess sending is enabled,
3515 don't echo any input to the Eshell buffer. Let the subprocess
3516 handle that. This requires "stty echo" in bash, for example.
3518 2000-08-28 John Wiegley <johnw@gnu.org>
3520 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
3521 completion function for Eshell's implementation of `unset'.
3523 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3525 * info.el (Info-directory-list): Doc fix.
3527 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
3529 * filecache.el (file-cache-add-directory-using-find): Don't quote
3530 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
3532 2000-08-31 Kenichi Handa <handa@etl.go.jp>
3534 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
3537 2000-08-30 Andrew Innes <andrewi@gnu.org>
3539 * timer.el (run-with-idle-timer): Undo last change, so that timer
3540 is not activated immediately if Emacs is already idle. Some
3541 existing code relies on this behaviour.
3543 2000-08-30 Miles Bader <miles@gnu.org>
3545 * frame.el (set-frame-font): Do completion of font-name for
3548 2000-08-30 Kenichi Handa <handa@etl.go.jp>
3550 * international/quail.el (quail-start-translation): Bind locally
3551 last-command-event, last-command, and this-command.
3552 (quail-start-conversion): Likewise.
3553 (quail-self-insert-command): Fix docstring.
3555 2000-08-29 Gerd Moellmann <gerd@gnu.org>
3557 * progmodes/executable.el
3558 (executable-make-buffer-file-executable-if-script-p): Check that
3559 buffer contains at least 2 characters.
3561 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3563 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
3565 2000-08-29 Dave Love <fx@gnu.org>
3567 * diff-mode.el (diff-mode) <defgroup>: Add :version.
3568 (diff-mode-shared-map): Bind mouse-2.
3569 (diff-imenu-generic-expression): New variable.
3570 (diff-mode): Use it.
3572 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
3573 (mouse-popup-menubar): Add minor mode menus.
3574 (popup-menu): Check for lookup-key returning number.
3576 2000-08-29 Miles Bader <miles@gnu.org>
3578 * comint.el (comint-send-input): Create overlays using the proper
3579 front/read-advance arguments.
3581 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3583 * ps-print.el: Even/odd pages printing. Doc fix.
3584 (ps-print-version): New version number (6.0).
3585 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
3586 (ps-background, ps-begin-file, ps-begin-job): Code fix.
3587 (ps-print-duplex-feature): Variable eliminated.
3588 (ps-even-or-odd-pages): New variable.
3590 * progmodes/ebnf2ps.el: Doc fix.
3591 (ebnf-version): New version (3.3).
3592 (ebnf-user-arrow): Change variable customization to sexp.
3593 (ebnf-user-arrow): Function eliminated.
3594 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
3596 2000-08-29 Kenichi Handa <handa@etl.go.jp>
3598 * help.el (help-xref-mule-regexp): New variable.
3599 (help-make-xrefs): Handle help-xref-mule-regexp.
3601 * international/mule-cmds.el (help-xref-mule-regexp-template): New
3603 (describe-input-method): Temporarily activate the specfied input
3604 method to display the information.
3605 (describe-language-environment): Hyperlinks to mule related items.
3607 * international/mule-diag.el (charset-multibyte-form-string): New
3609 (list-character-sets-1): Use charset-multibyte-form-string.
3610 (describe-character-set): New function.
3611 (describe-coding-system): Hyperlinks to safe character sets.
3613 * international/quail.el (quail-help): New arg PACKAGE.
3614 Hyperlinks to mule related items.
3615 (quail-help-insert-keymap-description): Use
3616 substitute-command-keys instead of describe-bindings.
3617 (quail-translation-help): Hyperlinks to mule related items.
3619 2000-08-28 John Wiegley <johnw@gnu.org>
3621 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
3622 have a defsubst call itself. Made `eshell-flatten-list' back into
3625 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
3626 catch, in case re-centering point at bottom messes up the display.
3627 This happens frequently in Emacs 21, due I believe to variable
3630 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
3631 to call `find-tag-interactive'.
3633 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
3634 the list of remember directories.
3636 2000-08-28 John Wiegley <johnw@gnu.org>
3638 * align.el: Test align-region-separate to see if it's a symbol.
3640 2000-08-28 John Wiegley <johnw@gnu.org>
3642 * eshell/esh-util.el (eshell-flatten-list): Made this function
3643 into a defsubst form. It gets used very frequently, although
3644 calls don't occur all that often.
3646 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
3649 * eshell/esh-cmd.el (eshell-rewrite-while-command):
3650 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
3652 (eshell-copy-handles): Created a new macro for duplicating the
3653 current set of open handles. This is needed by the looping
3655 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
3656 is not incorrectly stomped on.
3658 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
3659 declaration for pcomplete-use-paring.
3660 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
3661 value of eshell-cmpl-use-paring.
3662 * pcomplete.el (pcomplete-use-paring): New config variable, to
3663 indicate whether paring should be used.
3664 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
3665 completion alternatives that have already been used.
3667 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
3668 bound to C-c C-y, which will repeat the previous N arguments
3669 (based on prefix argument).
3670 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
3672 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
3673 if there is no *Help* buffer. This is for XEmacs, which renames
3674 its help buffers uniquely. TODO: Find out what the current buffer
3677 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
3678 first entry that correlates to a passwd/group number. Later
3679 entries (used for group/user name aliasing to multiple IDs) are
3682 * eshell/em-xtra.el (eshell/expr):
3683 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
3684 (eshell-grep, eshell/diff, eshell/locate):
3685 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
3686 argument list, before passing it to the system command.
3688 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
3689 `find-tag' for use at final position in Eshell buffers (which
3690 otherwise triggers an error on Emacs 21).
3691 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
3692 buffer, if it is currently bound to `find-tag'.
3694 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
3695 in the list of matched Makefile names.
3696 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
3697 directory, prefer its contents to Makefile.
3699 * eshell/em-dirs.el (eshell/cd): cd commands that look up
3700 directory parts (like "cd old new", or "cd =regexp"), are now case
3701 sensitive on non-Windows/DOS platforms.
3703 * eshell/esh-mode.el (eshell-parse-command-input): When a user
3704 types RET after an open delimiter (like "), display a message
3705 indicating that Eshell is waiting for the closing delimiter.
3707 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
3708 environment variables.
3710 * eshell/em-unix.el (eshell/diff): Added logic to fail more
3711 gracefully if the user enters incorrect arguments.
3713 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
3716 * eshell/esh-var.el (eshell-interpolate-variable):
3717 * eshell/esh-mode.el (eshell-move-argument):
3718 * eshell/em-unix.el (eshell-du-sum-directory):
3719 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
3720 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
3723 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
3724 to ensure the `preserve' flag gets propagated when doing recursive
3727 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
3729 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
3730 Don't convert \n into \0177 in memory.
3731 (eshell-read-history, eshell-write-history): Convert \n to \0177,
3732 and back again, when reading and writing.
3734 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
3736 * eshell/esh-util.el (eshell-processp): Added to relieve constant
3737 testing of `fboundp' on `processp'.
3739 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
3740 (eshell/jobs): Don't call process-list if it is not bound.
3741 (eshell-gather-process-output): Support systems where async
3742 subprocesses aren't supported.
3743 (eshell-scratch-buffer, eshell-last-sync-output-start): New
3746 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
3747 eshell-do-eval returns t.
3748 (eshell-do-pipelines-synchronously): New defmacro.
3749 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
3750 when async subprocesses aren't supported.
3751 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
3752 if async subprocesses aren't supported.
3753 (eshell-resume-command): Don't assume STATUS is a string.
3755 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
3757 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
3758 (eshell-close-target, eshell-get-target): Use eshell-processp.
3759 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
3761 (eshell-get-target, eshell-create-handles): Doc fix.
3763 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
3765 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
3766 criterion to include commands that output something, as long as it
3767 leaves both the command and the end-of-buffer visible when the
3769 (eshell-review-quick-commands): Adjust the help doc string
3772 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
3774 * locate.el (locate): Cleaned up locate command's interactive prompting
3775 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
3777 * filecache.el (file-cache-case-fold-search): New variable
3778 (file-cache-assoc-function): New variable
3779 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
3780 Use file-cache-case-fold-search variable
3781 (file-cache-add-file): Use file-cache-assoc-function
3782 (file-cache-delete-file): likewise
3783 (file-cache-directory-name): likewise
3784 (file-cache-debug-read-from-minibuffer): likewise
3786 2000-08-28 Gerd Moellmann <gerd@gnu.org>
3788 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
3789 (abbrev-table-name): New function.
3790 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
3791 If non-nil list local abbrev, only.
3793 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
3795 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
3796 from Gnus support code, and use special article copy buffer
3797 `(gnus-original-article-buffer)' instead. This allows to get rid
3798 of article-hide-headers usage (which breaks in the latest Gnus
3799 version). Thanks to Detlev Zundel.
3801 2000-08-28 Kenichi Handa <handa@etl.go.jp>
3803 * international/quail.el (quail-use-package): Hide "... loaded"
3805 (quail-start-translation, quail-start-conversion): Likewise.
3807 * international/kkc.el (kkc-region): Hide "... loaded" message.
3809 2000-08-27 Dave Love <fx@gnu.org>
3811 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
3813 2000-08-27 Miles Bader <miles@gnu.org>
3815 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
3817 2000-08-27 Kenichi Handa <handa@etl.go.jp>
3819 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
3820 'ja-dic-cnv), not (require 'skkdic-cnv).
3822 2000-08-26 Miles Bader <miles@gnu.org>
3824 * faces.el (face-x-resources): Add entry for :inherit.
3825 * cus-face.el (custom-face-attributes): Add support for :inherit
3826 attribute. Add support for relative face heights.
3827 (custom-face-attributes-get): Treat `nil' as being a default value
3828 for :inherit (as well as `unspecified').
3830 * faces.el (set-face-attribute): Update doc string.
3831 (face-attribute-name-alist): Add :inherit.
3832 (face-valid-attribute-values): Handle :inherit.
3833 (face-read-string): Rephrase prompt to be less confusing.
3834 Assume that DEFAULT is a string, since we must return a string.
3835 (face-read-integer): Use `format' to turn DEFAULT into an
3836 acceptable default for face-read-string. Match NEW-VALUE against
3837 the string "unspecified", not the symbol `unspecified', since
3838 that's what face-read-string returns.
3839 (read-face-attribute): Lookup a name for old-value in valid, and
3840 use it as a default if we find one. Treat all values from
3841 face-read-string as strings. If the default is used, don't do any
3842 more processing on the value, just use the old value directly.
3843 (read-face-and-attribute, modify-face): Tweak prompt.
3844 (read-face-name): Don't assume prompt ends with a space.
3846 * faces.el (describe-face): Add support for :inherit attribute.
3848 2000-08-25 Kenichi Handa <handa@etl.go.jp>
3850 * terminal.el (terminal-emulator): Fix args to `concat'. Now
3851 concat doesn't accept interger.
3853 * international/kkc.el: Remove SKK from Keywords. Require
3854 ja-dic-utl instead of skkdic-utl.
3856 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
3857 Provide ja-dic-cnv instead of skkdic-cnv.
3858 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
3859 (iso-2022-7bit-short): Add safe-charsets property.
3860 (skkdic-convert-postfix): Search Japanese chou-on character in
3861 addition to Hiragana character.
3862 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
3863 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
3864 (batch-skkdic-convert): Likewise.
3866 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
3867 Provide ja-dic-utl instead of skkdic-utl.
3868 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
3870 2000-08-24 Dave Love <fx@gnu.org>
3872 * disp-table.el (standard-display-default): Make the test of `l'
3875 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
3878 * international/iso-ascii.el: Make pilcrow convenient string
3879 consistent with section.
3880 (iso-ascii-display): Set up multibyte characters as well as
3883 2000-08-24 Kenichi Handa <handa@etl.go.jp>
3885 * international/mule-cmds.el (reset-language-environment): Set
3886 default-process-coding-system to '(undecided . iso-latin-1), which
3887 makes process I/O almost consistent with file I/O. Call this
3888 function when mule-cmds.el[c] is loaded.
3890 2000-08-22 Andrew Innes <andrewi@gnu.org>
3892 * makefile.w32-in: New file.
3894 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
3896 * comint.el (comint-output-filter): Compare end of
3897 comint-last-output-overlay with the start of the newly inserted
3898 text, not the end, when deciding whether to extend it.
3899 Set saved-point's insertion type to advance after insertion.
3901 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
3902 since this is now done independently of font-lock mode.
3904 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3906 * server.el (server-kill-new-buffers): New user option.
3907 (server-existing-buffer): New buffer-local variable.
3908 (server-visit-files): When using an existing buffer, set
3909 server-existing-buffer to t.
3910 (server-buffer-done): If server-kill-new-buffers is t, kill the
3911 buffer, unless it was already present before visiting it with
3914 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
3916 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
3917 even if the display doesn't support colors: some displays will
3918 support bold/underline faces.
3920 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3922 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
3924 * startup.el (command-line): If user's init file had an error,
3925 add explanatory text to *Messages*.
3927 2000-08-21 Kenichi Handa <handa@etl.go.jp>
3929 * man.el (Man-getpage-in-background): Decode the process output by
3930 the system locale coding system.
3932 2000-08-20 Dave Love <fx@gnu.org>
3934 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
3935 Don't test x-popup-menu.
3936 (function) <complete-function>: Complete only fbound symbols.
3937 <validate, value>: New.
3938 (variable) <complete-function>: Complete only bound symbols.
3939 (coding-system): Add :base-only, :complete-function, :validate,
3940 :value, :prompt-match.
3941 (widget-coding-system-prompt-value): Use read-coding-system and
3943 (editable-field): Add :help-echo.
3944 (widget-push-button-gui, widget-push-button-cache)
3945 (widget-gui-action, widget-editable-list-gui): COmment out, along
3947 (widget-at): Make arg optional.
3948 (widget-echo-help): Adjust for current help-echo calling sequence.
3949 (widget-specify-field, widget-specify-button)
3950 (widget-specify-insert, widget-get-sibling, widget-image-find)
3951 (widget-convert, widget-insert, widget-leave-text)
3952 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
3953 (widget-setup, widget-field-find, widget-before-change)
3954 (widget-after-change, widget-default-complete)
3955 (widget-default-create, widget-default-delete)
3956 (widget-push-button-value-create, editable-field)
3957 (widget-field-prompt-value, widget-field-validate)
3958 (widget-choice-value-create, widget-choice-action)
3959 (widget-choice-validate, widget-checklist-add-item)
3960 (widget-radio-add-item, widget-radio-chosen)
3961 (widget-radio-value-inline, widget-editable-list-value-create)
3962 (widget-editable-list-entry-create)
3963 (widget-documentation-link-add)
3964 (widget-documentation-string-value-create)
3965 (widget-regexp-validate, widget-file-complete)
3966 (widget-sexp-validate, widget-plist-convert-widget)
3967 (widget-plist-convert-widget, widget-alist-convert-widget)
3968 (widget-alist-convert-widget, widget-color-complete): Simplify,
3969 particularly to avoid bindings which aren't optimized out.
3971 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
3973 (down-list, backward-up-list, up-list, kill-sexp)
3974 (backward-kill-sexp, mark-sexp): Make arg optional.
3975 (lisp-complete-symbol): Add optional arg PREDICATE.
3977 * cus-start.el: Add display-buffer-reuse-frames,
3978 file-coding-system-alist.
3980 2000-08-20 Gerd Moellmann <gerd@gnu.org>
3982 * startup.el (command-line): Clear realized faces after
3983 modifying TTY color mappings.
3985 2000-08-20 Miles Bader <miles@gnu.org>
3987 * faces.el (face-attr-match-p): Don't return true if ATTRS are
3988 merely a subset of FACE's attributes.
3990 2000-08-19 Miles Bader <miles@gnu.org>
3992 * comint.el (comint-output-filter): Save the point with a marker,
3993 not just a buffer position.
3995 * international/mule.el (set-buffer-process-coding-system): Make
3996 interactive prompt less confusing.
3998 2000-08-19 Gerd Moellmann <gerd@gnu.org>
4000 * hilit-chg.el: General cleanup of doc strings, comments and
4003 2000-08-19 Miles Bader <miles@gnu.org>
4005 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
4006 Compiler macro removed; beginning-of-line is no longer always
4007 equivalent to forward-line, in the presence of fields.
4009 * comint.el (comint-output-filter): Remove ad-hoc saving of
4010 restriction, and just use save-restriction, now that it works
4011 correctly. Don't adjust comint-last-input-start to account for
4012 our insertion; it shouldn't have moved because we don't use
4013 insert-before-markers anymore. Comment out call to
4014 `force-mode-line-update'; why is it here?
4016 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
4017 while checking for prompt to delete. Use `forward-line 0'
4018 instead of beginning-of-line.
4019 (gud-filter): Temporarily widen gud comint buffer while
4022 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
4024 * progmodes/sh-script.el: Big bag of typos.
4026 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
4027 check since ispell-process is not bound when ispell is not yet loaded.
4029 2000-08-18 Dave Love <fx@gnu.org>
4031 * image.el (find-image): Copy `spec' before using plist-put.
4033 2000-08-18 Gerd Moellmann <gerd@gnu.org>
4035 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
4038 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
4039 backward-kill-sexp, analogous to kill-sexp.
4041 * progmodes/icon.el (icon-indent-line)
4042 (icon-is-continuation-line): Handle comments specially.
4044 2000-08-17 Ken Stevens <k.stevens@ieee.org>
4046 * ispell.el: Set to standard author/maintainer/keyword fields.
4047 Fine tuning to menu map appearance and operation, and added help.
4048 Remove `start' and `end' error messages when compiling.
4049 (ispell-choices-win-default-height): Fixed comment string.
4050 (ispell-dictionary-alist-1): Fixed regexp in castellano and
4051 castellano8 dictionaries.
4052 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
4053 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
4054 dictionary, added italiano dictionary.
4055 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
4057 (ispell-tex-skip-alists): Added psfig support.
4058 (ispell-skip-html): Renamed from ispell-skip-sgml.
4059 (ispell-begin-skip-region-regexp, ispell-skip-region)
4060 (ispell-minor-check): Improved html skipping support to skip across
4061 code, and recognize `&' commands without propper `;' syntax;
4062 (ispell-process-line): Fix alignment error when manually
4063 correcting spelling.
4064 (ispell): Fix comment string.
4065 (ispell-add-per-file-word-list): Always put word list on new line.
4067 2000-08-17 Gerd Moellmann <gerd@gnu.org>
4069 * format.el (format-encode-run-method): Fix error message to say
4070 `encode' instead of `decode'. Use save-window-excursion around
4071 shell-command-on-region as in format-decode-run-method because
4072 shell-command-on-region can display a buffer with error output.
4073 (format-decode): Don't record undo information for the decoding.
4074 (format-annotate-function): Add parameter FORMAT-COUNT. Make
4075 that number part of the temporary buffer name so that more than
4076 one decoding using a temporary buffer can happen safely.
4078 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
4079 of `A-z' in the regexp.
4081 * hilit-chg.el: Fix typos in commentary.
4083 * help.el (view-emacs-news): Rewritten for new naming scheme
4086 * startup.el (command-line): Pop to *Messages* in case an error
4087 is signaled while loading user-init-file.
4089 2000-08-17 Andreas Schwab <schwab@suse.de>
4091 * files.el (insert-directory): Don't lose original file name,
4092 undoing an undocumented change.
4094 2000-08-17 Alex Schroeder <alex@gnu.org>
4096 * sql.el (sql-magic-go): Use comint-bol.
4097 (sql-copy-column): Use comint-line-beginning-position.
4098 (comint-line-beginning-position): Define a replacement for
4099 comint-line-beginning-position if it is not fboundp.
4101 2000-08-17 Alex Schroeder <alex@gnu.org>
4103 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
4104 it didn't have any effect anyway.
4106 2000-08-17 Alex Schroeder <alex@gnu.org>
4108 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
4109 --pset and pager=off instead of sending \\o|cat at the beginning
4112 2000-08-17 Miles Bader <miles@gnu.org>
4114 * progmodes/octave-inf.el: Add compatibility definition of
4115 comint-line-beginning-position.
4117 2000-08-17 Kenichi Handa <handa@etl.go.jp>
4119 * startup.el (normal-top-level): Look in each dir in load-path for
4120 a leim-list.el file too. This assures of loading leim-list.el
4121 that is created at Emacs installation time even if a user have his
4124 2000-08-17 Miles Bader <miles@gnu.org>
4126 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
4127 foreground color to black if the background is dark.
4129 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
4131 * loadhist.el (unload-feature): Typo.
4133 * finder.el (finder-compile-keywords):
4134 * cus-dep.el (custom-make-dependencies): Add local-variable settings
4135 to the generated file.
4137 * mail/mh-e.el (mh-make-local-vars):
4138 Replace make-variable-buffer-local with make-local-variable.
4141 * options.el (Edit-options-{set,toggle,t,nil}):
4142 * mail/mailabbrev.el (mail-abbrevs-mode):
4143 * textmodes/tex-mode.el (tex-expand-files):
4144 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
4146 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
4148 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
4149 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
4150 Allow going past the last element.
4151 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
4152 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
4153 (cvs-mouse-toggle-mark): Don't move point.
4154 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
4156 * progmodes/compile.el (grep): Provide a default set of files.
4157 (next-error): Docstring fix.
4158 (compilation-find-file): Avoid find-file (fails in a dedicated window).
4160 * emacs-lisp/easy-mmode.el (define-minor-mode):
4161 Use `symbol-value' to keep the byte-compiler quiet.
4163 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
4164 (diff-find-source-location): New fun, extracted from diff-goto-source.
4165 (diff-goto-source): Use it.
4166 (diff-next-complex-hunk, diff-filter-lines): New function.
4167 (diff-apply-hunk): New command.
4169 * smerge-mode.el (smerge-mode-menu): Doc fix.
4171 * msb.el (msb-mode): Define it in terms of define-minor-mode.
4173 2000-08-16 Dave Love <fx@gnu.org>
4175 * windmove.el (windmove) <defgroup>: Add :version.
4177 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
4178 (goto-address-fontify-p, goto-address-highlight-p)
4179 (goto-address-url-face, goto-address-url-mouse-face)
4180 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
4181 (goto-address-url-regexp): Use thing-at-point-url-regexp.
4182 (goto-address-fontify, goto-address-at-mouse): Simplify,
4183 (goto-address-at-point): browse-url-url-at-point,
4184 goto-address-find-address-at-point can return nil.
4185 (goto-address-find-address-at-point): Return nil on failure.
4187 * align.el (align) <defgroup>: Add :version.
4189 * calculator.el (calculator): Add :version.
4190 (calculator): Use two lines for calculator window if `modeline'
4193 * play/5x5.el: Doc fixes.
4194 (5x5) <defgroup>: Add :version.
4196 * play/fortune.el (fortune) <defgroup>: Add :version.
4197 (fortune-append): Fix error message.
4198 (fortune-from-region): Doc fix.
4200 * play/pong.el (pong): Doc fix.
4202 * play/morse.el: Keywords, commentary, autoloads.
4204 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
4206 * desktop.el (desktop-save): Don't look at symbol-value of a
4207 member of minor-mode-alist, unless it is boundp.
4209 2000-08-16 Sam Steingold <sds@gnu.org>
4211 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
4212 `while'; use `with-current-buffer' instead of `save-excursion'.
4213 Removed unnecessary kludges now that "*Buffer List*" is excluded.
4215 2000-08-16 Kenichi Handa <handa@etl.go.jp>
4217 * international/ccl.el (declare-ccl-program): Docstring modified.
4218 (ccl-execute-with-args): Likewise.
4220 2000-08-16 Miles Bader <miles@gnu.org>
4222 * progmodes/sql.el: Add compatibility definition of
4223 comint-line-beginning-position.
4225 2000-08-15 Gerd Moellmann <gerd@gnu.org>
4227 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
4228 'buffer-menu' property.
4229 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
4231 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
4232 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
4235 * buff-menu.el (list-buffers-noselect): Don't display the
4236 *Buffer List* buffer.
4238 * font-lock.el: Require jit-lock to prevent a very late
4239 `Loading jit-lock' message.
4241 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
4242 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
4245 2000-08-15 Miles Bader <miles@gnu.org>
4247 * textmodes/ispell.el (ispell-graphic-p): New constant.
4248 (ispell-choices-win-default-height, ispell-help): Use
4249 `ispell-graphic-p' instead of `xemacsp'.
4251 2000-08-15 Dave Love <fx@gnu.org>
4253 * simple.el: Autoload widget-convert when compiling.
4254 (mail-user-agent): Doc fix.
4256 * help.el (function-called-at-point, variable-at-point): Use
4258 (help-manyarg-func-alist): Add insert-and-inherit.
4260 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
4262 * delsel.el (delsel-unload-hook): New function.
4264 * find-file.el: Doc fixes. Move provide to end.
4265 (ff) <defgroup>: Add :link.
4266 (ff-goto-click): Deleted.
4267 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
4268 Use mouse-set-point.
4270 * textmodes/tildify.el: Doc fixes.
4271 (tildify) <defgroup>: Add:version.
4273 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
4274 (glasses-custom-set): Use set-default, not set.
4275 (minor-mode-alist): Propertize the lighter.
4276 (glasses-mode): Provide optional arg.
4278 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
4279 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
4280 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
4281 option. Provide :type.
4282 (cwarn-configuration): Provide :type.
4283 (cwarn-mode): Doc fix.
4285 * add-log.el (change-log-merge): Doc fix.
4286 (change-log-redate): New command.
4288 * net/browse-url.el (browse-url-filename-alist): Add a clause for
4290 (browse-url): Use dolist, not mapcar.
4291 (browse-url-at-point): Check for null url.
4292 (browse-url-event-buffer, browse-url-event-point): Functions
4294 (browse-url-at-mouse, browse-url-netscape): Simplify.
4296 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
4298 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
4299 Fix previous change to mapcan.
4300 (msb--init-file-alist, msb--add-separators)
4301 (msb--make-keymap-menu): Simplify.
4302 (msb--choose-file-menu): Use copy-sequence.
4303 (msb-mode-map): Add title to keymap.
4304 (msb-unload-hook): New function.
4306 * bs.el: Fix indentation.
4307 (bs) <defgroup>: Add :links.
4309 (bs-apply-sort-faces): Don't use window-system.
4310 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
4312 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
4314 * calendar/timeclock.el (timeclock-file): Run .timelog through
4315 convert-standard-filename.
4317 2000-08-14 Gerd Moellmann <gerd@gnu.org>
4319 * emacs-lisp/authors.el: New file.
4321 * paren.el (show-paren-priority): New user option.
4322 (show-paren-function): Set overlay priorities to
4323 show-paren-priority.
4325 2000-08-14 Miles Bader <miles@gnu.org>
4327 * comint.el (comint-bol): Use `forward-line 0' instead of calling
4328 beginning-of-line with inhibit-field-text-motion bound.
4330 2000-08-14 Gerd Moellmann <gerd@gnu.org>
4332 * calendar/timeclock.el: New file.
4334 2000-08-14 David Ponce <david@dponce.com>
4336 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
4337 `widget-button-click'. so that one can use left mouse button to
4338 click on dialog buttons.
4340 2000-08-14 Emmanuel Briot <briot@gnat.com>
4342 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
4343 identifiers, since XML is case sensitive
4345 2000-08-12 Miles Bader <miles@gnu.org>
4347 * comint.el (comint-output-filter): Don't bother frobbing
4348 window-start, it doesn't seem to be necessary.
4350 * comint.el (comint-send-string, comint-send-region): Make into
4351 real functions. Snapshot the prompt before sending.
4353 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4355 * info.el (Info-find-emacs-command-nodes): Rewrite to use
4356 technique similar to Info-index, instead of relying on specific
4357 names of relevant Index nodes.
4358 (Info-goto-emacs-command-node): Bind Info-history to nil when
4359 going to the first node found by Info-find-emacs-command-nodes.
4361 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4363 * menu-bar.el (menu-bar-help-menu): Add a :help string.
4365 2000-08-10 Miles Bader <miles@gnu.org>
4367 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
4369 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
4371 * info.el (Info-file-list-for-emacs): More elements for the
4372 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
4375 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
4377 * comint.el (comint-send-input): Make the newline boundary overlay
4378 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
4379 (comint-output-filter): Use `insert' instead of
4380 `insert-before-markers'. Extend comint-last-output-overlay when
4381 necessary since we can't rely on insert-before-markers to do it.
4382 * gud.el (gud-filter): Use `with-current-buffer' instead of
4383 save-excursion when inserting the output, so that point gets
4384 updated correctly; the old method relied on a rather dodgy
4385 side-effect of comint-output-filter to avoid the effect of
4388 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
4390 * files.el (recover-file): Call insert-directory instead of
4391 invoking `ls' directly.
4393 2000-08-10 Miles Bader <miles@gnu.org>
4395 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
4396 (comint-last-prompt-overlay): New variables.
4397 (comint-output-filter): Implement prompt highlighting.
4398 (comint-snapshot-last-prompt): New function.
4399 (comint-send-input): Snapshot the last prompt.
4400 Use comint-highlight-input-face.
4401 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
4402 Use defface instead of defcustom.
4403 (send-invisible, comint-send-eof): Snapshot the last prompt.
4404 (comint-delchar-or-maybe-eof): Use comint-send-eof.
4405 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
4407 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
4409 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
4410 (regexp-opt-group): Use a list of chars for `letters'.
4411 (regexp-opt-charset): `chars' is now a list of chars.
4412 Use a char-table rather than a vector so it works for multibyte chars.
4414 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
4415 Set cvs-minor-current-files to the selected fileinfo.
4416 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
4417 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
4419 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
4421 * files.el (insert-directory): Don't call access-file on
4422 directories on DOS and Windows.
4424 2000-08-09 Kenichi Handa <handa@etl.go.jp>
4426 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
4427 longer if necessary.
4428 (ccl-embed-code): Call ccl-embed-data to store CODE in
4431 2000-08-09 Miles Bader <miles@gnu.org>
4433 * comint.el (comint-output-filter): Properly handle the case where
4434 the text surrounded by comint-last-output-overlay was deleted.
4436 2000-08-08 Gerd Moellmann <gerd@gnu.org>
4438 * info.el (Info-insert-dir): Use Info-additional-directory-list if
4440 (Info-file-list-for-emacs): Remove "info" from the list because
4441 that leads to trying to use the documentation from file `info'
4442 in various situations where it isn't appropriate, for instance
4445 * ffap.el (ffap-read-file-or-url-internal): Handle case that
4446 DIR and/or STRING are nil.
4448 * progmodes/compile.el (compilation-setup): Make variable
4449 compilation-error-screen-columns buffer-local, as some comment
4450 in the code suggests it should be.
4452 * files.el (auto-mode-interpreter-regexp): New variable.
4453 (set-auto-mode): Use it.
4455 * indent.el (indent-for-tab-command): Doc fix.
4457 * mouse-sel.el (mouse-sel-mode): Doc fix.
4459 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
4462 * help.el (print-help-return-message): When
4463 display-buffer-reuse-frames is set, let the help window been quit,
4464 instead of deleting it, which might delete a reused frame.
4466 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
4468 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
4469 rename a directory to a name that differs only by its letter case.
4471 2000-08-08 Kenichi Handa <handa@etl.go.jp>
4473 * international/quail.el (quail-define-rules): Handle Quail decode
4474 map correctly. Add code for supporting annotations.
4475 (quail-install-decode-map): New function.
4476 (quail-defrule-internal): New optional arguments decode-map and
4478 (quail-advice): New function.
4480 2000-08-07 Sam Steingold <sds@gnu.org>
4482 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
4483 `defconst', `define-condition', `with-slots'.
4484 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
4486 2000-08-03 Miles Bader <miles@gnu.org>
4488 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4490 (comint-prompt-regexp, comint-get-old-input): Document dependence on
4491 comint-use-prompt-regexp-instead-of-fields.
4492 (comint-send-input): Add `input' field property to stuff we send to
4493 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
4494 (comint-output-filter): Add `output' field property to process
4495 output, if comint-use-prompt-regexp-instead-of-fields is nil.
4496 (comint-replace-by-expanded-history)
4497 (comint-get-old-input-default, comint-show-output)
4498 (comint-backward-matching-input, comint-forward-matching-input)
4499 (comint-next-prompt, comint-previous-prompt): Use field
4500 properties if comint-use-prompt-regexp-instead-of-fields is nil.
4501 (comint-line-beginning-position): New function.
4502 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
4503 (comint-replace-by-expanded-history-before-point): Use
4504 comint-line-beginning-position and line-end-position.
4505 (comint-last-output-overlay): New variable.
4506 (comint-mode): Make `comint-last-output-overlay' buffer-local.
4508 * shell.el (shell-prompt-pattern): Doc change.
4509 (shell-backward-command): Use line-beginning-position.
4511 * gud.el (gud-gdb-complete-command): Use
4512 comint-line-beginning-position.
4514 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
4515 comint-bol doesn't actually go to the beginning of the line.
4517 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
4518 if comint-use-prompt-regexp-instead-of-fields is non-nil.
4519 (try-expand-line-all-buffers): Likewise.
4521 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
4522 explicitly matching comint-prompt-regexp.
4523 (sql-copy-column): Use comint-line-beginning-position instead of
4524 explicitly matching comint-prompt-regexp.
4526 * progmodes/octave-inf.el (inferior-octave-complete): Use
4527 comint-line-beginning-position.
4529 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
4531 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
4532 looking for a prompt, use `forward-line 0' instead of
4533 `beginning-of-line', to avoid getting caught by an input field.
4535 2000-08-07 Gerd Moellmann <gerd@gnu.org>
4537 * files.el (shell-quote-wildcard-pattern): Make sure to return
4538 PATTERN, in the Unix case.
4540 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
4542 * play/zone.el (zone): Discard any pending input before running
4543 the randomly-chosen pgm.
4545 2000-08-07 Kenichi Handa <handa@etl.go.jp>
4547 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
4548 checking the existence of any multibyte characters.
4550 2000-08-06 Gerd Moellmann <gerd@gnu.org>
4552 * help.el (describe-mode): Test minor-mode symbol for being
4553 bound before testing its value for being nil.
4555 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
4556 `first', `second', and `third'.
4558 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
4559 (second): Make it an alias for `cadr'.
4561 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
4563 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
4564 types of display support faces now.
4566 2000-08-05 Gerd Moellmann <gerd@gnu.org>
4568 * pcvs.el (require): Require `cl' during compilation, only.
4570 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
4571 (toplevel): Remove `remq' and `remove' from autoloads.
4572 (cl-fake-autoloads): New variable. If set, arrange for an error
4573 when CL functions etc. are autoloaded.
4575 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
4577 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
4579 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
4580 popped up, but the user clicks outside the menu, return an empty
4581 regexp (that causes unhighlight-regexp to have no effect).
4583 * menu-bar.el (menu-bar-games-menu): Add Zone.
4585 * hi-lock.el (toplevel): Require font-lock.
4587 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4589 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
4590 (ebnf-8-bit-chars): New var for bug fix.
4591 (ebnf-string): Bug fix.
4593 2000-08-03 Sam Steingold <sds@gnu.org>
4595 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
4596 instead of `buffer-string'.
4597 (require 'cl): Always, not just when compiling.
4598 `ignore-errors' in `interactive', `list*', `defun*' &c make this
4601 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
4603 * international/mule-cmds.el (select-safe-coding-system): Make
4604 the message text about selecting a safe coding system more clear.
4606 2000-08-02 Gerd Moellmann <gerd@gnu.org>
4608 * hi-lock.el: New file.
4610 * play/zone.el: New file.
4612 * replace.el (occur): Set tab-width in the *Occur* buffer to the
4613 value of tab-width in the original buffer. Choose a line number
4614 format that's a multiple of the original buffer's tab width, so
4615 that lines appear right.
4617 * textmodes/ispell.el (ispell): New function, replacing an alias.
4618 Spell-check active region if in transient-mark-mode and mark
4619 is active; otherwise spell-check buffer.
4621 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4623 * ps-mule.el: Fix a customization problem on
4624 ps-mule-font-info-database-default.
4626 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
4628 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
4629 display-mouse-p instead of window-system.
4630 (ebrowse-member-mode-map): Ditto.
4632 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4634 * progmodes/ebnf2ps.el: Update ps-print functions call.
4635 Indentation fix. Doc fix.
4636 (ebnf-version): New version number (3.2).
4637 (ebnf-format-color, ebnf-begin-job): Code fix.
4639 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
4641 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
4642 font lock support on window-system.
4643 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
4645 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
4646 display-color-p, if fboundp, instead of window-system.
4648 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
4650 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
4651 instead of window-system.
4653 * wid-edit.el (widget-choose): Use display-mouse-p instead of
4655 (widget-choice-mouse-down-action): Use display-popup-menus-p
4656 instead of window-system.
4658 * strokes.el (strokes-file): Run the file name through
4659 convert-standard-filename.
4660 (strokes-mode): Call display-mouse-p instead of looking at
4661 window-system. Change the error message accordingly.
4663 * progmodes/cpp.el (toplevel): Support faces on tty's.
4665 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
4666 (lm-plot-square, lm-init-display): Don't use window-system.
4668 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
4669 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
4671 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
4672 instead of looking at window-system.
4674 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4676 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
4677 of testing if iswitchb-prepost-hooks is bound, because the
4678 latter will always be true when invoking a recursive minibuffer
4679 from an active Iswitchb buffer.
4681 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
4683 * files.el (shell-quote-wildcard-pattern): New function.
4684 (insert-directory): Call it. Only prepend "\" to command on Unix
4685 and GNU/Linux systems.
4687 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4689 * eshell/esh-groups.el: Change custom :link file names
4690 from `eshell.info' to `eshell'.
4692 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
4694 * dired.el (dired-build-subdir-alist): Expand subdirectory names
4695 correctly in recursive ange-ftp listings.
4697 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4699 * ps-print.el: Fix bug 1: if ps-font-size-internal,
4700 ps-header-font-size-internal and
4701 ps-header-title-font-size-internal variables are not set,
4702 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
4703 face text property is (foreground-color . COLOR) or
4704 `(background-color . COLOR)', ps-print crashes. Doc fix.
4705 (ps-print-version): New version number (5.2.4).
4706 (ps-plot-region): Code fix.
4707 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
4708 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
4711 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
4713 * glasses.el (glasses-make-readable): Fix uncapitalization of
4714 identifiers like `myXMLDocument'.
4716 2000-07-28 Karl Fogel <kfogel@red-bean.com>
4718 * mail/mail-hist.el (mail-hist-previous-input)
4719 (mail-hist-next-input): Do the obvious code factorization.
4720 (mail-hist-retrieve-and-insert): New func, contains common
4722 If inserting a message body, leave point at top.
4724 2000-07-28 Sam Steingold <sds@gnu.org>
4726 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
4727 Use `<=', not `<' to compare times!
4728 (ange-ftp-ls): Remove.
4730 2000-07-27 Gerd Moellmann <gerd@gnu.org>
4732 * play/cookie1.el: Add explanation of how to make cookie.el
4733 compatible with strfile(1) to comment.
4735 * subr.el (remove, remq): New functions.
4737 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
4738 escape `*' in regexps.
4739 (midnight-find): Reverse order of arguments in the funcall of
4742 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
4745 * play/meese.el: Add Commentary section.
4747 2000-07-27 Alex Schroeder <alex@gnu.org>
4749 * sql.el (sql-ms): Added autoload cookie.
4750 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
4751 (sql-oracle): Ditto.
4752 (sql-help): Doc change.
4754 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
4755 types and exceptions.
4757 2000-07-27 Alex Schroeder <alex@gnu.org>
4759 * sql.el (sql-placeholder-history): New variable.
4760 (sql-query-placeholders-and-send): New function that will query
4761 the user and replace placeholders with user input.
4762 (sql-oracle): If running on NT, set comint-input-sender to
4763 sql-query-placeholders-and-send.
4765 (sql-stop): If in the SQLi buffer, insert stop notification, else
4766 present it as a message.
4768 2000-07-27 Alex Schroeder <alex@gnu.org>
4770 * sql.el (sql-input-ring-separator): Doc change.
4771 (sql-input-ring-file-name): Doc change.
4772 (sql-interactive-mode): Use `sql-input-ring-separator' and
4773 `sql-input-ring-file-name' to set the comint-mode equivalents
4774 without making them local variables.
4775 (sql-stop): Don't bind `sql-input-ring-separator' and
4776 `sql-input-ring-file-name' dynamically to their comint-mode
4779 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4781 * international/mule.el (register-char-codings): New function.
4782 (make-coding-system): Handle `safe-chars' specification in the arg
4785 * international/mule-cmds.el
4786 (find-coding-systems-region-subset-p): This function deleted.
4787 (sort-coding-systems-predicate): New variable.
4788 (sort-coding-systems): New function.
4789 (find-coding-systems-region): Use
4790 find-coding-systems-region-internal.
4791 (find-coding-systems-string): Use find-coding-systems-region.
4792 (find-coding-systems-for-charsets): Check
4793 char-coding-system-table.
4794 (select-safe-coding-system-accept-default-p): New variable.
4795 (select-safe-coding-system): Mostly rewritten. New argument
4797 (select-message-coding-system): Call select-safe-coding-system
4798 with ACCEPT-DEFAULT-P arg.
4799 (reset-language-environment): Reset default-sendmail-coding-system
4800 to the default value iso-latin-1.
4801 (set-language-environment): Don't set the obsolete variable
4802 charset-origin-alist.
4804 * international/codepage.el (cp-coding-system-for-codepage-1):
4805 Give `safe-chars' property to make-coding-system.
4807 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
4808 calling select-message-coding-system twice.
4810 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
4811 instead of `safe-charsets'.
4812 (cyrillic-alternativnyj): Likewise.
4813 (ccl-encode-alternativnyj): Don't check the charset
4816 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4818 * composite.el (compose-chars-after): Preserve match data.
4820 2000-07-26 Sam Steingold <sds@gnu.org>
4822 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
4823 (ange-ftp-real-file-newer-than-file-p): New function.
4824 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
4825 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
4827 * tooltip.el (tooltip-float-time): Removed (use `float-time').
4828 * midnight.el (midnight-float-time): Ditto.
4830 2000-07-26 Andreas Schwab <schwab@suse.de>
4832 * files.el (normal-backup-enable-predicate): Correct
4833 interpretation of the return value of compare-strings.
4835 2000-07-26 Gerd Moellmann <gerd@gnu.org>
4837 * isearch.el (isearch-resume): New function.
4838 (isearch-done): Add something to command-history to resume
4840 (isearch-yank-line, isearch-yank-word): Use
4841 buffer-substring-no-properties instead of buffer-substring.
4843 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
4844 of flyspell-mouse-map.
4846 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
4847 duplicate definition.
4848 (makefile-mode): Remove duplicate setting of local-abbrev-table.
4850 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
4851 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
4853 2000-07-25 Sam Steingold <sds@gnu.org>
4855 * net/ange-ftp.el: Get modtime over the net.
4856 (ange-ftp-file-modtime): New function.
4857 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4858 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
4860 (ange-ftp-dot-to-slash): New function.
4861 (ange-ftp-fix-name-for-vms): Use it.
4863 * midnight.el (midnight-buffer-display-time): Use
4864 `with-current-buffer'.
4866 2000-07-25 Gerd Moellmann <gerd@gnu.org>
4868 * find-dired.el: Update copyright notice.
4869 (find-dired): Offer to kill a running `find'.
4871 * enriched.el (enriched-face-ans): For a `foreground-color'
4872 property, return '(("x-color" COLOR))' so that COLOR will be
4873 output as a parameter of the x-color annotation. Likewise for the
4874 `background-color' property. In the case of normal face
4875 properties, don't return annotations for unspecified foreground
4876 and background face attributes.
4878 2000-07-25 Kenichi Handa <handa@etl.go.jp>
4880 * language/japan-util.el (japanese-katakana-region): Fix handling
4883 2000-07-25 Miles Bader <miles@gnu.org>
4885 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
4886 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
4889 2000-07-24 Andrew Innes <andrewi@gnu.org>
4891 * timer.el (timer-activate-when-idle): Add optional parameter
4892 DONT-WAIT. Update docstring.
4893 (run-with-idle-timer): Specify extra parameter to
4894 timer-activate-when-idle, so that timer will be activated
4895 immediately if Emacs is already idle.
4897 * w32-fns.el (w32-using-nt): Fix docstring.
4899 2000-07-24 Dave Love <fx@gnu.org>
4901 * mouse.el (popup-menu): Set last-command-event.
4902 (mouse-major-mode-menu-prefix): Declare.
4904 2000-07-24 Gerd Moellmann <gerd@gnu.org>
4906 * textmodes/flyspell.el: Update to author's version 1.5d.
4908 * progmodes/hideshow.el: Update copyright notice.
4910 * vcursor.el: Set maintainer to FSF, since author cannot
4913 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
4915 * info.el (Info-goto-emacs-key-command-node): Leave a space after
4918 * mouse.el (popup-menu): Run the keymap through indirect-function,
4919 in case it was defined with define-prefix-key. If the menu is a
4920 list of keymaps, look up the binding of user's choice in each one
4922 (mouse-popup-menubar): If the global and local menu-bar keymaps
4923 don't have a prompt string, create one and insert it into the
4924 keymap. Don't barf if current-local-map returns nil.
4926 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
4928 * dired.el (dired-sort-R-check): Added to allow recursive listing
4930 (dired-sort-other): Use it.
4932 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4934 * Release of cc-mode 5.27
4936 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4938 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
4939 c-beginning-of-statement-1 that caused a bad case of recursion
4940 which could consume a lot of CPU in large classes in languages
4941 that have in-expression classes (i.e. Java and Pike).
4943 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
4944 statements before top level constructs (i.e. case 6 is moved
4945 before case 5 and is now case 4) to catch in-expression
4946 classes in top level expressions correctly.
4948 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4950 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
4951 objc-method-intro. Case 4 removed and case 5I added.
4953 * cc-langs.el (c-append-paragraph-start): New variable used by
4954 c-common-init to get paragraph-start correct.
4955 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
4956 initialize paragraph-start to make it correct both with and
4957 without the javadoc special case.
4959 * cc-mode.el (java-mode): Use c-append-paragraph-start to
4960 initialize paragraph-start for javadoc markup.
4962 * cc-vars.el (c-style-variables-are-local-p): Incompatible
4963 change by defaulting this to t. It's motivated by the
4964 confusing behavior that otherwise arise from the style system
4965 when editing both java and non-java files at the same time
4966 (see the comments about style setting in c-common-init).
4968 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4970 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
4971 similar to the one in c-fill-paragraph to check the fill
4972 prefix from the adaptive fill function for sanity.
4974 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4976 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
4979 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4981 * cc-mode.texi Documented the change of cpp-macro.
4983 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
4985 * cc-align.el (c-lineup-multi-inher): Handle lines with
4986 leading comma nicely. Extended to handle member initializers
4989 * cc-engine.el: (c-beginning-of-inheritance-list,
4990 c-guess-basic-syntax): Fixed recognition of inheritance lists
4991 when the lines begins with a comma.
4993 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
4995 * cc-vars.el (c-offsets-alist): Changed default for
4996 member-init-cont to c-lineup-multi-inher since it now handles
4997 member initializers and indents better for leading commas.
4999 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5001 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
5002 handling that caused class open lines to be recognized as
5003 statement-conts in some cases.
5005 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
5006 guessed by the adaptive fill function unless point is on the
5007 first line of a block comment.
5009 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
5010 when the buffer ends with a macro continuation char.
5012 * cc-engine.el (c-guess-basic-syntax): Added support for
5013 function definitions as statements in Pike. The first
5014 statement in a lambda block is now labeled defun-block-intro
5015 instead of statement-block-intro.
5017 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
5018 so that the class surrounding point is selected, not the one
5019 innermost in the state.
5021 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
5022 recognition of switch labels having hanging multiline
5025 * cc-engine.el (c-beginning-of-member-init-list): Broke out
5026 some code in c-guess-basic-syntax to a separate function.
5027 * cc-engine.el (c-just-after-func-arglist-p): Fixed
5028 recognition of member inits with multiple line arglists.
5029 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
5030 member-init-cont when the commas are in funny places.
5032 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5034 * cc-defs.el (c-auto-newline): Removed this macro since it's
5037 * cc-engine.el (c-looking-at-bos): New helper function.
5038 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
5039 inexpr and toplevel classes apart in Pike.
5041 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
5044 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
5045 constant, since "class" can introduce an in-expression class
5048 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5050 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
5051 indentation on cpp-macro lines.
5053 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
5054 a syntax modifier like comment-intro, to make it possible to
5055 get syntactic indentation for preprocessor directives. It's
5056 incompatible wrt to lineup functions on cpp-macro, but it has
5057 no observable effect in the 99.9% common case where cpp-macro
5060 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5062 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
5063 member-init-cont when the preceding arglist is several lines.
5065 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5067 * cc-styles.el (c-style-alist): The basic offset for the BSD
5068 style corrected to 8.
5070 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5072 * cc-styles.el (c-style-alist): Adjusted the indentation of
5073 brace list openers in the gnu style.
5075 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5077 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
5079 * cc-cmds.el (c-electric-brace, c-electric-slash,
5080 c-electric-star, c-electric-semi&comma, c-electric-colon,
5081 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
5082 when c-syntactic-indentation is nil.
5084 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
5085 we were left at comments preceding the first statement when
5086 reaching the beginning of the buffer.
5088 * cc-vars.el (c-syntactic-indentation): New variable to turn
5089 off all syntactic indentation.
5091 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5093 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
5094 between the text and the block comment ender when it hangs,
5095 depending on how many there are before the fill.
5097 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5099 * cc-engine.el (c-beginning-of-closest-statement): New helper
5100 function to go back to the closest preceding statement start,
5101 which could be inside a conditional statement.
5102 * cc-engine.el (c-guess-basic-syntax): Use
5103 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
5105 * cc-engine.el (c-guess-basic-syntax): Better handling of
5106 arglist-intro, arglist-cont-nonempty and arglist-close when
5107 the arglist is nested inside parens. Cases 7A, 7C and 7F
5110 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
5111 up-to-date with javadoc 1.2.
5113 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5115 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
5116 multiline Pike type decls.
5118 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5120 * cc-cmds.el (c-indent-new-comment-line): Always break
5121 multiline comments in multiline mode, regardless of
5124 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5126 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
5127 fully::qualified::names in C++ member init lists. Preamble in
5130 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5132 * cc-langs.el (c-common-init): Handling of obsolete variables
5133 moved to c-initialize-cc-mode. More compatible style override
5134 when using global style variables.
5135 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
5136 variables moved here.
5138 * cc-mode.texi: Documented the special behavior of
5139 c-special-indent-hook as a style variable. Don't talk about
5140 doing (c-make-styles-buffer-local t) in a mode hook, since
5141 that's already too late to work right.
5143 * cc-styles.el (c-make-styles-buffer-local): Flag style
5144 variable localness in c-style-variables-are-local-p to make
5145 the compatibility measure in c-common-init work well.
5147 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
5148 longer contain set-from-style.
5149 * cc-styles.el (c-initialize-builtin-style): Don't check for
5150 set-from-style on c-special-indent-hook.
5151 * cc-styles.el (c-copy-tree): Obsolete. The standard function
5152 copy-alist is sufficient now.
5154 * cc-styles.el (c-set-style, c-set-style-1,
5155 c-get-style-variables): Fixes to variable initialization so
5156 that duplicate entries in styles have the same effect
5157 regardless of DONT-OVERRIDE.
5159 * cc-styles.el (c-set-style-2): Fixed bug where the
5160 initialization of inheriting styles failed when the
5161 dont-override flag is set.
5163 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
5166 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5168 * cc-defs.el (c-forward-comment): Removed the workaround
5169 introduced in 5.38 since it had worse side-effects. If a line
5170 contains the string "//\"", it regarded the // as a comment
5171 start since the \ temporarily doesn't have escape syntax.
5173 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
5175 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
5176 ada-xref.el before ada-prj.el, so that the Project menu is created
5177 when ada-prj tries to add to it.
5178 (ada-activate-keys-for-case): Suppress the characters that are not
5179 part of the Ada syntax. Better compatibility with else-mode
5180 (ada-adjust-case-interactive): When auto-casing is not active,
5181 correctly insert newlines (used to insert only ^M). Prevent the
5182 syntax table from being changed in case of an error
5183 (or '_' becomes part of a word and some commands are confused).
5184 Do nothing if ada-auto-case is nil.
5185 (ada-after-keyword-p): Ignore keywords that are also attributes
5186 (ada-batch-reformat): Update usage comment
5187 (ada-call-from-contextual-menu): New function
5188 (ada-case-read-exceptions): Reinitialize the casing exception list
5189 first to nil first, so that the casing exception file can be
5191 (ada-check-defun-name): Handles "configure" keyword for gnatdist
5193 (ada-compile-goto-error): Fix regexp used to detect a file:line
5194 anywhere in the error message
5195 (ada-contextual-menu-last-point): New variable
5196 (ada-create-keymap): If the variable delete-key-deletes-forward is
5197 t on XEmacs, it means that DEL should delete one character
5199 (ada-create-menu): Use :included instead of :visible for XEmacs.
5200 New submenu "Options".
5201 (ada-end-stmt-re): Correctly indent "select ... then abort"
5203 (ada-fill-comment-paragraph): Correctly delete all leading '--'
5204 even if they don't match ada-fill-comment-prefix Fix handling of
5205 paragraphs on the first or last line of a file.
5206 (ada-format-paramlist): Fix handling of default parameter values.
5207 (ada-get-body-name): New function.
5208 (ada-get-current-indent): Optimized by searchling directly for an
5209 existing generic part or a statement outside of it. Handle
5210 ada-indent-align-comments when indenting comments Replaced some
5211 regexps by testing directly the next character. This results in a
5212 huge speedup on some files. New indentation scheme for renames
5213 statements. Stop looking for the 'while' or 'for' associated with
5214 a 'loop' at the first semicolon encountered. A "return" can also
5215 match an anonymous access subprogram declaration.
5216 (ada-get-indent-noindent): Ignore strings and comments when
5217 looking for the keywords "record" and "private".
5218 (ada-goto-matching-decl-start): When matching "if", make sure we
5219 are not in fact seeing "end if". Ignore "when" statements except
5220 when initial keyword was "begin". Fix handling of nested
5221 procedures. Add a recursive call to this function to skip over
5222 other 'end' statmts. Fix indentation for "when .. => begin"
5223 (ada-in-open-paren-p): Fix indentation for complex boolean
5224 expressions, where 'and then', 'or else' and parenthesis
5225 statements are mixed up.
5226 (ada-in-paramlist-p): Skip comments while searching for the
5227 beginning Fix handling of operator declarations.
5228 (ada-indent-align-comments): New variable
5229 (ada-indent-current): Change the syntax table only in the
5230 protected section, so that we are sure it is restored correctly.
5231 (ada-indent-on-previous-lines): Use ada-use-indent and
5232 ada-with-indent Correctly indent "select ... then"
5233 (ada-indent-region): Slight speedup.
5234 (ada-indent-renames): New variable.
5235 (ada-last-which-function-subprog, ada-last-which-function-line):
5237 (ada-looking-at-semi-private): Correctly indent the 'private'
5238 keyword when it is the first word in a package declaration.
5239 (ada-loose-case-word): Stop searching if at the end of the buffer.
5240 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
5241 even if point is not initially at the end of the word.
5242 (ada-matching-decl-start-re): Add "when".
5243 (ada-mode): Add support for abbrev-mode, outline-mode and
5244 which-func-mode Override the old find-file.el entry in
5245 ff-special-constructs since it is using the obsolete
5246 ada-spec-suffix variable
5247 (ada-no-auto-case): New function
5248 (ada-scan-paramlist): When parsing the argument type, accept
5249 spaces (as in "X 'Class", generated by Rational Rose).
5250 (ada-other-file-name): No longer loads the other file.
5251 (ada-popup-menu): Save and restore the current buffer and cursor
5252 position before and after displaying the menu.
5253 (ada-search-ignore-complex-boolean): New function.
5254 (ada-uncomment-region): Emacs21 already knows how to delete
5255 comments not starting in the first column.
5256 (ada-use-indent): New variable
5257 (ada-which-function): New function.
5258 (ada-with-indent): New variable
5259 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
5260 can be batch-compiled from the command line.
5262 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
5263 Add to the menu when the file is loaded, not in ada-mode-hook.
5264 Add -toolbar to the default ddd command Switches moved from
5265 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
5266 ada-prj-default-comp-opt
5267 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
5268 Reference Manual to the menu
5269 (ada-check-current): rewritten as a call to ada-compile-current
5270 (ada-compile): Removed.
5271 (ada-compile-application, ada-compile-current, ada-check-current):
5272 Set the compilation-search-path so that compile.el automatically
5273 finds the sources in src_dir. Automatic scrollong of the
5274 compilation buffer. C-uC-cC-c asks for confirmation before
5276 (ada-compile-current): New parameter, prj-field
5277 (ada-complete-identifier): Load the .ali file before doing
5279 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
5280 conform to gnatmake's behavior.
5281 (ada-find-file-in-dir): New function
5282 (ada-find-references): Set the environment variables for gnatfind
5283 (ada-find-src-file-in-dir): New function.
5284 (ada-first-non-nil): Removed
5285 (ada-gdb-application): Add support for jdb, the java debugger.
5286 (ada-get-ada-file-name): Load the original-file first if not done
5288 (ada-get-all-references): Handles the new ali syntax (parent types
5289 are found between <>).
5290 (ada-initialize-runtime-library): New function
5291 (ada-mode-hook): Always load a project file when a file is opened,
5292 so that the casing exceptions are correctly read.
5293 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
5294 (ada-parse-prj-file): Use find-file-noselect instead of find-file
5295 to open the project file, since the latter does not work with
5296 speedbar Get default values before loading the prj file, or the
5297 default executable file name is wrong. Use the absolute value of
5298 src_dir to initialize ada-search-directories and
5299 compilation-search-path,... Add the standard runtime library to
5300 the search path for find-file.
5301 (ada-prj-default-debugger): Was missing an opening '{'
5302 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
5304 (ada-prj-default-gnatmake-opt): New variable
5305 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
5306 buffers, the project file is the default one Save the windows
5307 configuration before displaying the menu.
5308 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
5309 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
5310 ...) regexp-quote identifiers names to support operators +,
5312 (ada-remote): New function.
5313 (ada-run-application): Erase the output buffer before starting the
5314 run Support remote execution of the application. Use
5315 call-process, or the arguments are incorrectly parsed
5316 (ada-set-default-project-file): Reread the content of the active
5317 project file, not the one from the current buffer When a project
5318 file is set as the default project, all directories are
5319 automatically associated with it.
5320 (ada-set-environment): New function
5321 (ada-treat-cmd-string): New special variable ${current}
5322 (ada-treat-cmd-string): Revised. The substitution is now done for
5323 any ${...} substring
5324 (ada-xref-current): If no body was found, compiles the spec
5325 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
5326 compiler to get rid of command line length limitations.
5327 (ada-xref-get-project-field): New function
5328 (ada-xref-project-files): New variable
5329 (ada-xref-runtime-library-specs-path)
5330 (ada-xref-runtime-library-ali-path): New variables
5331 (ada-xref-set-default-prj-values): Default run command now does a
5332 cd to the build directory. New field: main_unit Provide a default
5333 file name even if the current buffer has no prj file.
5336 Rewritten to show a tabbed-dialog.
5337 (ada-prj-add-ada-menu): Remove the map and name parameters.
5338 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
5340 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
5341 (ada-prj-load-from-file): New function
5342 (ada-prj-save): Always save fields that depend on the current buffer
5343 (ada-prj-show-value): New function
5345 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
5346 Ada mode. This will allow us to display the Ada menu in any buffer
5347 we want (for project items).
5348 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
5349 number of spaces in the header.
5351 2000-07-24 Dave Love <fx@gnu.org>
5353 * ediff-init.el (ediff-region-help-echo): Bind face-help.
5355 2000-07-23 Noah Friedman <friedman@splode.com>
5357 * type-break.el (type-break): perform autosave.
5358 Suggested by Stephen Gildea <gildea@intouchsys.com>.
5359 (type-break-do-query): Cancel query schedule while performing
5360 actual query, to avoid possibility of a second query being made
5361 while first one is already in progress.
5362 (type-break-time-stamp-format): New variable.
5363 (type-break-time-stamp): New function.
5364 (type-break-time-warning): Use it.
5365 (type-break-keystroke-warning): Use it.
5366 (type-break-noninteractive-query): Use it.
5368 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
5370 Use add-minor-mode to set minor-mode-alist, if available.
5371 (eldoc-echo-area-use-multiline-p): New user option.
5372 (eldoc-echo-area-multiline-supported-p): New variable.
5373 (eldoc-docstring-format-sym-doc): Use them.
5374 (eldoc-mode): If not using idle timers, append to local post and
5375 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
5376 (eldoc-display-message-no-interference-p): Don't interfere with
5378 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
5379 (eldoc-function-arglist): New function.
5380 (eldoc-function-argstring): Use it.
5382 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
5383 auto save directory exists before calling directory-files.
5385 2000-07-23 Dave Love <fx@gnu.org>
5387 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
5390 2000-07-21 Dave Love <fx@gnu.org>
5392 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
5393 now passed to the function. It now works properly.
5395 * smerge-mode.el (smerge-mode-menu): Fill it out.
5397 2000-07-20 Gerd Moellmann <gerd@gnu.org>
5399 * info-look.el (info-lookup): If *info* is shown in another frame
5400 on the same display, select that frame, instead of switching to
5401 the Info buffer in another window of the selected frame.
5403 * simple.el (universal-argument-map): Bind numeric keypad keys
5404 kp-0 to kp-9 and kp-subtract.
5405 (digit-argument): Handle these keys.
5407 2000-07-20 Dave Love <fx@gnu.org>
5409 * net/goto-addr.el (goto-address-fontify): Don't bother with
5410 buffer-modified and read-only stuff -- irrelevant with overlays.
5411 Put an extra property on the overlays and use it to clean up in
5412 case goto-address is re-run.
5414 2000-07-19 Richard M. Stallman <rms@gnu.org>
5416 * timer.el (run-with-idle-timer): Doc fix.
5418 * mail/mail-utils.el (mail-strip-quoted-names):
5419 Handle case where <...> appears inside "...".
5420 Use replace-match to edit the string more simply.
5421 (rmail-dont-reply-to): Cope with an unmatched ".
5423 2000-07-19 Dave Love <fx@gnu.org>
5425 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
5428 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
5429 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
5430 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
5432 2000-07-19 Gerd Moellmann <gerd@gnu.org>
5434 * textmodes/refer.el: Correct maintainer's email address.
5436 * progmodes/hideif.el: Correct author's email address.
5437 Fix typo in comment.
5441 * mail/mailheader.el: Correct author's mail address.
5443 * gnus/parse-time.el: Correct author's mail address.
5445 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
5447 * comint.el (comint-highlight-input, comint-highlight-face):
5449 (comint-input-ring-file-name): Change custom type.
5450 (comint-mode-map): Bind mouse-2.
5451 (comint-insert-clicked-input): New function.
5452 (comint-send-input): Handle input highlighting.
5454 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
5456 * mouse.el (popup-menu): New function.
5457 (mouse-major-mode-menu): Use it.
5459 2000-07-18 Dave Love <fx@gnu.org>
5461 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
5464 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5466 * faces.el (face-font-selection-order)
5467 (face-font-family-alternatives): Add custom type.
5469 2000-07-18 Dave Love <fx@gnu.org>
5471 * cus-edit.el (custom-variable-reset-saved)
5472 (custom-variable-reset-standard): Remove unused bindings.
5474 * rect.el (open-rectangle-line): Remove unused let.
5476 * hl-line.el (hl-line-highlight): Check hl-line-mode.
5478 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5480 * cdl.el: Fix `Maintainer' keyword.
5482 * play/pong.el: Add author's email address.
5484 2000-07-17 Sam Steingold <sds@gnu.org>
5486 * files.el (insert-directory): Call `split-string' instead of
5489 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5491 * mail/vms-pmail.el: Change maintainer to FSF.
5493 * net/goto-addr.el: Change maintainer to FSF.
5495 * recentf.el: Update from author.
5497 * info.el (Info-title-face-alist): Removed.
5499 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
5501 * eshell/eshell.el (eshell): Replace links to eshell.info with
5502 links to eshell, to avoid problems on systems where the manual is
5503 installed as `eshell'.
5504 * eshell/esh-cmd.el (eshell-cmd): Ditto.
5505 * eshell/em-smart.el (eshell-smart): Ditto.
5506 * eshell/em-banner.el (eshell-banner): Ditto.
5507 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
5509 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
5510 same-file check in the MS-DOS version (it does support inodes).
5512 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
5514 * eshell/eshell.el (eshell-directory-name):
5515 Run default directory name through convert-standard-filename.
5517 2000-07-18 Kenichi Handa <handa@etl.go.jp>
5519 * international/mule-cmds.el (select-safe-coding-system):
5520 Fix typo in the comment.
5522 * language/european.el (compound-text):
5523 Force katakana-jisx0201 to be designated to G1.
5525 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
5526 Don't translate some national variant characters of latin-jisx0201.
5527 (x-ctext): Force katakana-jisx0201 to be designated to G1.
5529 * international/kkc.el (kkc-after-update-conversion-functions):
5531 (kkc-update-conversion): Run functions in it at the tail.
5533 2000-07-16 John Wiegley <johnw@gnu.org>
5535 * lisp/align.el (align-newline-and-indent):
5536 Adding new function. for auto-aligning blocks of code on RET.
5537 (align-region): Fixed badly formatted minibuffer message.
5539 2000-07-17 Kenichi Handa <handa@etl.go.jp>
5541 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
5542 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
5543 the conversion list at first if appropriate.
5544 (kkc-next): Don't update kkc-next-count here.
5545 (kkc-prev): Don't update kkc-prev-count here.
5546 (kkc-show-conversion-list-update): Fix setting up of conversion
5549 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
5551 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
5553 2000-07-16 Dave Love <fx@gnu.org>
5555 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
5556 function to be more specific.
5558 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
5559 non-string help-echo.
5560 (widget-types-convert-widget): Defsubst it.
5561 (widget-echo-help): Try to cope with a help-echo function of two
5564 2000-07-15 Jason Rumney <jasonr@gnu.org>
5566 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5567 Declare as obsolete.
5569 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
5571 2000-07-14 Gerd Moellmann <gerd@gnu.org>
5573 * hilit-chg.el: Fix typo.
5575 2000-07-14 Dave Love <fx@gnu.org>
5577 * info.el (Info-mode-menu): Fix use of :help, :enable.
5579 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
5581 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
5583 2000-07-13 Dave Love <fx@gnu.org>
5585 * emacs-lisp/easymenu.el: Doc fixes.
5586 (easy-menu-remove): Defalias to ignore.
5588 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
5589 Call throw correctly.
5591 2000-07-13 Gerd Moellmann <gerd@gnu.org>
5593 * faces.el (frame-background-mode): Doc fix.
5595 * simple.el (eval-expression-print-length): Change custom type to
5596 allow entering nil as value.
5598 2000-07-13 Dave Love <fx@gnu.org>
5600 * progmodes/fortran.el (fortran-imenu-generic-expression):
5601 Change definition layout.
5602 (fortran-mode-menu): Reinstate customize entries.
5604 * cus-edit.el (custom-group-menu-create, customize-menu-create):
5605 Use :filter, per old XEmacs code.
5607 2000-07-12 Gerd Moellmann <gerd@gnu.org>
5609 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
5610 event when deciding what to send to the terminal.
5612 2000-07-12 Dave Love <fx@gnu.org>
5614 * cus-start.el: Add optional version as 4th element of specs and
5615 use it for several things new in v21. Remove load-path. Fix type
5616 of line-number-display-limit.
5618 2000-07-11 Dave Love <fx@gnu.org>
5620 * progmodes/fortran.el: Don't require easymenu.
5621 Use repeat counts in various regexps.
5622 (fortran-mode-syntax-table): Defvar directly.
5623 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
5624 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
5625 Use defvar, not defconst.
5626 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
5627 (fortran-mode): Set fortran-comment-line-start-skip,
5628 fortran-comment-line-start-skip, dabbrev-case-fold-search.
5629 (fortran-comment-indent): Use defsubst.
5630 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
5631 Use fortran-comment-indent, not fortran-comment-indent-function.
5632 (fortran-comment-region, fortran-electric-line-number): Simplify.
5633 (fortran-auto-fill): New function.
5634 (fortran-do-auto-fill): Deleted.
5635 (fortran-find-comment-start-skip):
5636 Check for non-null comment-start-skip.
5637 (fortran-auto-fill-mode, fortran-fill-statement):
5638 Use fortran-auto-fill.
5639 (fortran-fill): Use fortran-auto-fill. Check for null
5640 comment-start-skip. Simplify final clause and use end-of-line finally.
5642 * widget.el (widget-plist-member): New alias.
5644 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
5646 * eshell/esh-module.el (toplevel): Reference
5647 byte-compile-current-file only if it is bound.
5649 2000-07-10 Gerd Moellmann <gerd@gnu.org>
5651 * dired.el: Don't require `dired-aux'.
5653 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
5655 * dired-aux.el (dired-show-file-type): New function.
5656 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
5657 (dired-show-file-type): Add autoload.
5659 2000-07-10 Kenichi Handa <handa@etl.go.jp>
5661 * international/mule-diag.el (describe-font): Adjusted for the
5662 change of fontset-info.
5663 (print-fontset): Likewise.
5665 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
5667 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
5669 2000-07-07 Gerd Moellmann <gerd@gnu.org>
5671 * bindings.el: Bind `[delete]' to delete-char.
5673 * dired.el (dired-find-alternate-file): New function.
5674 (dired-mode-map): Bind `a' to dired-find-alternate-file.
5675 (toplevel): Require dired-aux when compiling.
5676 (dired-buffers): Move defvar within file to avoid compiler warning.
5678 * info.el (Info-last-search): Variable removed.
5679 (Info-search-history): New variable.
5680 (Info-search): New Info-search-history.
5682 * battery.el, info-look.el: Change author's mail address.
5684 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5686 * mail/rmail.el (rmail-clear-headers): Don't throw an error
5687 if rmail-ignored-headers is nil.
5688 (rmail-retry-failure): Bind rmail-ignored-headers and
5689 rmail-displayed-headers to nil.
5691 2000-07-06 Gerd Moellmann <gerd@gnu.org>
5693 * lpr.el (lpr-page-header-switches): Add `-h' switch.
5694 (print-region-1): Don't hard code `-h' here.
5696 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
5698 2000-07-01 Francesco Potorti` <pot@gnu.org>
5700 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
5701 exim can use "your message" instead of "the message".
5703 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
5705 * facemenu.el: Docstrings fixes.
5706 (facemenu-get-face): Don't use internal-find-face.
5707 (facemenu-iterate): Rename arg to match the docstring.
5709 * newcomment.el (uncomment-region): Be more careful when skipping
5710 backwards over `=' not to bump into BOBP.
5712 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
5714 * ediff-diff.el (ediff-wordify): Use syntax table.
5715 * ediff-init.el (ediff-has-face-support-p): Use
5716 ediff-color-display-p.
5717 (ediff-color-display-p): Use display-color-p, changed to defun
5719 Got rid of special cases for NeXT and OS/2.
5720 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
5723 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5725 * emacs-lisp/lucid.el: Require CL.
5726 (copy-tree, remprop): Remove, it's provided by CL.
5727 (map-keymap): Define in terms of cl-map-keymap.
5728 (extent-property, set-extent-end-glyph): New functions.
5730 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
5732 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5734 * Makefile.in (DONTCOMPILE): Add comment that the name may
5735 not be changed without changing the make-dist script.
5737 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
5738 (cl-mapc): Use mapc instead of cl-old-mapc.
5740 2000-07-05 Andrew Innes <andrewi@gnu.org>
5742 * makefile.nt: Add support for `bootstrap' and related targets.
5744 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5746 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
5747 (easy-menu-do-define): Use `menu-item' format.
5748 Handle case where easy-menu-create-menu returns a symbol.
5749 Manually call the potential top-level filter in the function binding.
5750 (easy-menu-filter-return): New arg NAME.
5751 Convert to a keymap if MENU is an XEmacs menu.
5752 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
5753 (easy-menu-converted-items-table, easy-menu-convert-item):
5754 New var and fun to memoize easy-menu-convert-item-1.
5755 (easy-menu-do-add-item): Use it.
5756 (easy-menu-create-menu): Use easy-menu-convert-item.
5757 Wrap easy-menu-filter-return around any :filter specification.
5758 Don't convert the menu if a filter was specified.
5759 Tell easy-menu-make-symbol not to check for MENU being an expression.
5760 (easy-menu-make-symbol): New arg NOEXP.
5762 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5764 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
5765 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
5766 (eval-defun): If called with prefix arg, instrument code for
5769 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
5770 similar to that of eval-defun.
5772 2000-07-04 Dave Love <fx@gnu.org>
5774 * hl-line.el (hl-line-overlay): Make it permanent-local.
5776 * calendar/todo-mode.el: Replaced with a working version, based on
5777 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
5779 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
5781 * paths.el (prune-directory-list): New function.
5782 (Info-default-directory-list): Rewritten to more methodically
5783 enumerate a big list of possible info directories (based on the
5784 list used by the standalone info reader).
5786 * info.el (info-initialize): Use prune-directory-list to remove
5787 non-existent directories from Info-directory-list.
5789 * paths.el (Info-default-directory-list): Try a list of possible
5790 info-directories instead of a single one. Add the possible
5791 info directory "/usr/share/info".
5793 * woman.el (woman-man.conf-path): Explicitly include the debian
5794 man-db config file "/etc/manpath.config".
5795 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
5796 are present in `manpath.config'.
5797 (woman-manpath): Include "/usr/share/man".
5799 2000-07-03 Gerd Moellmann <gerd@gnu.org>
5801 * frame.el (blink-cursor-mode): Don't hide cursor initially.
5803 * startup.el (command-line): Initialize blink-cursor based
5806 * frame.el (blink-cursor): Default to nil if not running under
5809 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
5810 (face-x-resources): Remove duplicate entry for :font.
5812 * textmodes/refer.el (refer-find-entry-internal): Use some-window
5813 instead of cycling through windows with next-window.
5815 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
5816 of cycling through windows with next-window.
5818 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
5819 of cycling through windows with next-window.
5821 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
5822 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
5823 instead of cycling through windows with next-window.
5825 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
5826 instead of cycling through windows with next-window.
5828 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
5829 of cycling through windows with next-window.
5831 * terminal.el (te-process-output): Use walk-windows instead of
5832 cycling through windows with next-window.
5834 * server.el (server-switch-buffer): Use some-window instead of
5835 cycling through windows with next-window.
5837 * window.el (some-window): New function.
5838 (walk-windows): Remove reference to walk-windows-start.
5840 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
5842 2000-07-03 Richard Stallman <rms@gnu.org>
5844 * window.el (walk-windows): Guarantee termination by keeping a list
5845 of all the windows already handled.
5847 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5849 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
5852 * man.el (Man-notify-when-ready): Don't use window-system. If
5853 Man-notify-method is newframe, and the display is not
5854 multi-frame, select the frame created for the man page.
5855 (Man-init-defvars): Doc fix.
5857 2000-06-28 Gerd Moellmann <gerd@gnu.org>
5859 * faces.el (region): Change background color for light background.
5861 * ediff-wind.el (ediff-setup-control-frame): Remove :box
5862 attribute from mode-line face of Ediff control frame.
5864 * replace.el (query-replace-map): Bind `e' like `E'.
5866 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5868 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
5869 Change name to "Select All".
5871 * dos-fns.el (convert-standard-filename): Fix last change.
5873 2000-06-27 Gerd Moellmann <gerd@gnu.org>
5875 * help.el (describe-variable): Don't insert a second `'s' in front
5876 of the string `value is shown below'. Since the syntax-table is
5877 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
5878 an existing `'s', so that this won't be deleted.
5880 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
5881 * pcmpl-unix.el: New files.
5883 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
5885 * wid-edit.el (widget-member): Use the new plist-member.
5887 2000-06-26 Gerd Moellmann <gerd@gnu.org>
5889 * replace.el (perform-replace): Undo change of 2000-04-04.
5890 Instead, move backward 1 character at the end of the loop when
5893 * faces.el (fringe): Change face for different backgrounds.
5895 * eshell/esh-module.el (toplevel): Load defgroup's differently;
5898 * eshell/*.el: Change spelling of the Free Software Foundation.
5900 * eshell/esh-toggle.el: Removed.
5902 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
5904 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
5907 2000-06-26 Alex Schroeder <alex@gnu.org>
5909 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
5910 `define-key'; instead of checking `(emacs-version)' check for
5911 `set-keymap-parent' and `set-keymap-name' directly. Add entries
5912 for `;' and `o' which might be electric.
5914 (sql-electric-stuff): New user option.
5915 (sql-magic-go): New function which uses `sql-electric-stuff'.
5916 (sql-magic-semicolon): New function which uses
5917 `sql-electric-stuff'.
5919 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
5922 (sql-oracle-options): New variable.
5923 (sql-oracle): Use it.
5925 (sql-imenu-generic-expression): Doc change.
5926 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
5929 (sql-informix): Added command line parameter "-" to force
5930 sql-informix-program to use stdout.
5932 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
5934 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
5935 (cp864-decode-table): Doc fix.
5936 (cp720-decode-table): New variable, supports the Arabic OEM
5937 codepage used by Windows.
5938 (cp737-decode-table): New, Greek OEM codepage used by Windows.
5940 2000-06-23 Dave Love <fx@gnu.org>
5942 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
5943 (font-lock-fontify-anchored-keywords): Use
5944 line-beginning-position.
5945 (global-font-lock-mode): Use mapc.
5947 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
5949 * eshell/esh-module.el: Require CL when compiling.
5951 2000-06-23 Gerd Moellmann <gerd@gnu.org>
5953 * comint.el (comint-substitute-in-file-name): Call replace-match
5954 with second and third arg t.
5956 * cus-edit.el (custom-button-face, custom-button-pressed-face):
5957 Specify foreground color.
5959 * faces.el (tool-bar, mode-line, header-line): Specify foreground
5962 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
5964 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
5965 cddr instead of cdddr.
5967 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
5968 instead of copy-list.
5970 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
5973 * subdirs.el: Add eshell subdirectory.
5975 * eshell: New subdirectory containing the Eshell package.
5977 * pcomplete.el: New file.
5979 2000-06-23 Paul Eggert <eggert@twinsun.com>
5981 * mail/mailpost.el (post-mail-send-it): Make sure file has
5982 proper permissions from birth.
5984 * files.el (basic-save-buffer-2): When temporarily setting
5985 file modes, set them to current modes plus 0200, not to 0777.
5987 * emerge.el (emerge-make-temp-file): Make sure file has proper
5988 permissions from birth.
5990 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
5992 * files.el (make-backup-file-name-1): On DOS/Windows, run the
5993 backup file name through convert-standard-filename.
5995 * dos-fns.el (convert-standard-filename): Convert leading
5996 directories as well. When long file names are supported, convert
5997 characters that are invalid in Windows file names.
5999 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6001 * ps-print.el: Fix bug: if ^L is the very first buffer character,
6002 ps-print crashes. New feature: page selection for printing. Create
6003 raw-text-unix coding system for XEmacs. Doc fix.
6004 (ps-print-version): New version number (5.2.3).
6005 (ps-plot-region): Bug fix.
6006 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
6007 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
6008 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
6010 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
6011 (ps-last-page): New vars.
6013 2000-06-21 Gerd Moellmann <gerd@gnu.org>
6015 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
6016 empty option string.
6018 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
6020 * man.el (man): Doc fix.
6022 2000-06-21 Kenichi Handa <handa@etl.go.jp>
6024 * international/mule-cmds.el (set-language-info-alist): Docstring
6027 2000-06-20 Gerd Moellmann <gerd@gnu.org>
6029 * version.el (emacs-version): Use ISO date format.
6031 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
6032 instead of `M-backspace'.
6034 * simple.el (turn-off-auto-fill): New function.
6036 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
6038 * jit-lock.el (with-buffer-prepared-for-jit-lock):
6039 Renamed from with-buffer-prepared-for-font-lock and use
6040 inhibit-modification-hooks rather than setting *-change-functions.
6041 Update all functions to use the new name.
6042 (jit-lock-first-unfontify-pos): New semantics (and doc).
6043 (jit-lock-mode): Make non-interactive.
6044 Don't automatically turn on font-lock.
6045 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
6046 Always use jit-lock-after-change.
6047 Remove and restore font-lock-after-change-function.
6048 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
6049 (jit-lock-after-unfontify-buffer): Remove.
6050 (jit-lock-stealth-fontify):
6051 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
6052 (jit-lock-after-change): Set the `fontified' text-prop to nil.
6054 2000-06-20 Sam Steingold <sds@gnu.org>
6056 * emacs-lisp/cl-indent.el (toplevel): Indent
6057 `print-unreadable-object' properly. Untabify.
6059 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6061 * textmodes/reftex.el (reftex-find-citation-regexp-format):
6062 Support for bibentry.
6063 (reftex-compile-variables): Fixed problem with end of section-re.
6065 * texmodes/reftex-dcr.el (reftex-view-crossref,
6066 reftex-view-crossref-from-bibtex):
6067 Deal with changed `reftex-find-citation-regexp-format'.
6068 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
6069 Replaced `remprop' with `put'.
6070 (reftex-view-crossref, reftex-view-crossref-when-idle):
6071 Support for bibentry.
6073 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
6074 New entry for bibentry package.
6076 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
6077 Regexp also matches "\nobibliography".
6079 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
6080 Call `reftex-ensure-write-access' before doing anything.
6081 (reftex-ensure-write-access): New function.
6083 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6085 * progmodes/idlwave.el: File re-installed (update to version 4.2)
6087 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
6089 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
6091 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
6094 2000-06-20 Dave Love <fx@gnu.org>
6096 * faces.el (frame-background-mode): Use set-default, not set, in
6098 (frame-update-faces, frame-update-face-colors): Define with
6101 * enriched.el (enriched-decode-foreground)
6102 (enriched-decode-background): Don't use internal-find-face.
6104 * apropos.el: Doc fixes.
6106 * cus-edit.el (customize-changed-options): Check arg.
6107 (customize-version-lessp): Don't require decimal point.
6109 * custom.el (defcustom, defgroup): Doc fix.
6111 * newcomment.el (comment) <defgroup>: Add :version.
6112 (comment-multi-line): Doc fix.
6114 * emulation/mlsupport.el (define-hooked-local-abbrev,
6115 define-hooked-global-abbrev): Fix, using define-abbrev.
6117 2000-06-19 Gerd Moellmann <gerd@gnu.org>
6119 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
6122 2000-06-19 Dave Love <fx@gnu.org>
6124 * menu-bar.el (menu-bar-options-save): New function.
6125 (menu-bar-options-menu): Use it.
6126 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
6129 2000-06-19 Andreas Schwab <schwab@suse.de>
6131 * progmodes/etags.el (tags-query-replace): Put new parameters
6132 START and END at the end, for backward compatibility.
6134 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6136 * international/codepage.el:
6137 (cp-coding-system-for-codepage-1): Delete special codes for
6138 generating xxx-dos coding system because now a CCL based coding
6139 system can handle EOL conversion by default.
6141 * international/mule.el (make-coding-system): Generate subsidiary
6142 coding systems for EOL handling variants even for a CCL based
6145 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6147 * international/isearch-x.el (isearch-minibuffer-input-method)
6148 (isearch-minibuffer-input-method-function): These variables
6150 (isearch-with-input-method): Don't use the above variables.
6151 (isearch-process-search-multibyte-characters): Likewise. Call
6152 read-string with the arg INHERIT-INPUT-METHOD t.
6154 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
6156 * font-lock.el (font-lock-after-fontify-buffer)
6157 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
6159 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
6160 Use consistent make-local-variable style for font-lock-fontified.
6161 (jit-lock-fontify-buffer):
6162 Don't bother checking for font-lock-mode and jit-lock-mode.
6164 * time.el: Remove trailing ^M that prevent CVS-merging.
6166 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6168 * Makefile.in (distclean): New target.
6170 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
6172 * Makefile.in (srcdir): Define for update-subdirs.
6174 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6176 * find-lisp.el: New file.
6178 2000-06-16 Andrew Innes <andrewi@gnu.org>
6180 * time.el (display-time-mail-function): New variable, to allow
6181 external packages to indicate when new mail is available.
6182 (display-time-update): Use it.
6184 2000-06-16 Kenichi Handa <handa@etl.go.jp>
6186 * international/mule.el (mule-version): Change version name to
6187 SAKAKI. AOI has already been used by Meadow.
6189 * international/quail.el (quail-show-guidance-buf): To find the
6190 bottom window (but minibuffer), pay attention to the height of
6193 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
6195 * arc-mode.el (archive-mode-map): Use the new menu-item format for
6196 menu-bar menus. Add help strings. Don't remove the Edit menu
6197 from the menu bar, as the menu bar has enough space now.
6199 * Makefile.in (SHELL): Make sure /bin/sh is used.
6201 * woman.el (woman-man-buffer): Fix bold and underlined CJK
6202 characters, which use series of two ^H characters instead of one.
6204 2000-06-15 Gerd Moellmann <gerd@gnu.org>
6206 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
6207 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
6209 (Info-find-node-2): Try a case-sensitive search first, then
6210 do a case-insensitive search.
6212 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
6215 * complete.el (PC-env-vars-alist): New variable.
6216 (PC-complete-as-file-name): New function.
6217 (partial-completion-mode): Initialize PC-env-vars-alist from
6218 process-environment.
6219 (PC-do-completion): Handle completion of env vars.
6221 * info.el (Info-set-mode-line): Show file name in mode line,
6222 use `*Info*' instead of `Info:'.
6224 * startup.el (command-line-1): Change copyright messages to year
6227 2000-06-15 Dave Love <fx@gnu.org>
6229 * net/goto-addr.el (goto-address-fontify): Use keymap property,
6232 2000-06-15 Kenichi Handa <handa@etl.go.jp>
6234 * international/mule.el (set-buffer-file-coding-system): Almost
6235 rewritten to handle `undecided' as no-op.
6237 2000-06-14 Gerd Moellmann <gerd@gnu.org>
6239 * Makefile.in: New file.
6241 * Makefile: Removed.
6243 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
6244 (goto-address-highlight-keymap): Bind C-c RET.
6246 2000-06-14 Kenichi Handa <handa@etl.go.jp>
6248 * mail/sendmail.el (sendmail-send-it): The temporary buffer
6249 inherits buffer-file-coding-system of the current buffer.
6251 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
6252 0. Give correct argument to set-auto-coding-function.
6253 (tar-expunge): For goto-char, use (point-min), not 0.
6254 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
6255 (tar-subfile-save-buffer): Likewize.
6257 * international/mule.el
6258 (after-insert-file-set-buffer-file-coding-system): Call
6259 set-buffer-file-coding-system with the arg FORCE t.
6261 2000-06-13 Gerd Moellmann <gerd@gnu.org>
6263 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
6264 nil. Contemporary sendmails issue an X-Authentication-Warning if
6265 the sender is set with `-f'.
6267 2000-06-13 Dave Love <fx@gnu.org>
6269 * help.el (describe-function-1): Kluge around cases of functions
6270 fset to subrs whose doc doesn't match their symbol-name.
6272 * image.el (insert-image): Default STRING to a space.
6274 * info.el Doc fixes.
6275 (Info-build-node-completions): Match Ref tags.
6277 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
6279 * frame.el (display-multi-frame-p, display-multi-font-p): New
6280 defaliases for display-graphic-p.
6282 * hl-line.el: Fixed a typo in commentary.
6284 2000-06-13 Kenichi Handa <handa@etl.go.jp>
6286 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
6289 2000-06-12 Dave Love <fx@gnu.org>
6291 * image.el (insert-image): Save a little consing.
6293 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6295 * language/tibet-util.el: Convert all tibetan-1-column characters
6296 to the corresponding tibetan characters.
6297 (tibetan-add-components): Delete code for the special treatment of
6300 * language/tibetan.el (tibetan-composable-pattern): Fix previous
6302 (tibetan-vowel-transcription-alist): More rules added.
6303 (tibetan-composite-vowel-alist): New variable.
6304 (tibetan-precomposition-rule-alist): More rules added.
6306 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
6308 * startup.el (command-line): Only call menu-bar-mode if interactive.
6310 * thingatpt.el (toplevel symbol-properties):
6311 * textmodes/makeinfo.el (makeinfo-compile):
6312 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
6313 * progmodes/hideif.el (hif-compress-define-list)
6314 (hide-ifdef-use-define-alist):
6315 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
6316 (ange-ftp-vms-add-file-entry):
6317 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
6318 * man.el (Man-build-man-command):
6319 * mail/rnewspost.el (news-reply-header-hook):
6320 * info.el (Info-insert-dir):
6321 * emulation/mlconvert.el (backward-word, forward-word, setq):
6322 * emacs-lisp/gulp.el (gulp-send-requests):
6323 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
6324 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
6325 (byte-optimize-apply, end of file):
6326 * emacs-lisp/advice.el (ad-advice-class-completion-table)
6327 (ad-make-freeze-definition):
6328 * startup.el (command-line, command-line-1): Don't quote lambdas.
6330 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
6331 (cvs-cleanup-removed): New function.
6332 (cvs-cleanup-functions): New var.
6333 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
6334 some flexibility in specifying additional entries to auto-cleanup.
6335 (cvs-quickdir): New function.
6336 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
6337 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
6338 (cvs-mode-find-file): Check that we are on a filename or dirname
6339 when invoked through a mouse-click.
6340 (cvs-full-path): Remove.
6341 (cvs-dired-action): Re-introduced.
6342 (cvs-dired-noselect): Use it.
6343 (vc-post-command-functions): use this new hook if available.
6345 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
6346 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
6347 (cvs-filename-map, cvs-dirname-map): Remove.
6348 (cvs-default-action): Remove.
6349 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
6350 if the arg is really a keymap.
6351 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
6352 Don't hardcode the mapping from state (aka type) to face, but check
6353 the var cvs-fi-<type>-face instead.
6354 (cvs-fileinfo-from-entries): New function.
6356 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
6358 (cvs-find-file-and-jump): Change default to be safer.
6359 (cvs-mode-diff-map): Define it as a function as well.
6360 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
6361 Bind mouse-2 in this global map rather than with text-properties.
6363 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
6364 file to resolve the ambiguity between C(conflict) and C(need-merge).
6366 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6368 * international/mule.el (set-buffer-file-coding-system): If
6369 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
6372 2000-06-12 Dave Love <fx@gnu.org>
6374 * wid-edit.el (widget-specify-button): Really suppress the face if
6377 2000-06-11 Gerd Moellmann <gerd@gnu.org>
6379 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
6381 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
6383 * imenu.el (imenu-generic-expression): Docstring fix.
6385 * composite.el (composition-function-table): Move the `put'
6386 below the autoload cookie so we can load the file before loaddefs.
6388 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
6390 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
6391 Handle easy-mmode-define-global-mode.
6392 For complex macros like define-minor-mode that can generate
6393 several autoload entries, try to autoload entries in the
6396 * emacs-lisp/easy-mmode.el (define-minor-mode):
6397 If KEYMAP is a symbol, just use it.
6398 Use byte-compile-current-file and load-file-name to infer the
6399 proper :require to pass to defcustom.
6400 Wrap the hook var into `progn' so as not to autoload it.
6401 Add a :autoload-end cookie.
6402 Be more careful about the evaluation of KEYMAP.
6403 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
6404 (define-derived-mode): Move define-abbrev-table outside of defvar.
6406 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
6408 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
6409 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
6410 (backup-compiled-files): Ignore errors during `tar'.
6411 (bootstrap): Make autoloads before elc files.
6413 2000-06-10 Kenichi Handa <handa@etl.go.jp>
6415 * international/mule.el (set-buffer-file-coding-system): If one of
6416 undecided-XXX is specified, change only EOL conversion.
6418 * international/mule-conf.el (unix): New alias for the coding
6419 system undecided-unix.
6421 2000-06-09 Dave Love <fx@gnu.org>
6423 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
6425 * progmodes/executable.el: Byte compile dynamic.
6426 (executable-insert): Change custom type.
6427 (executable-find): Add autoload cookie.
6428 (executable-make-buffer-file-executable-if-script-p): New
6429 function. After Noah Friedman.
6431 * files.el (after-save-hook): Customize, with
6432 executable-make-buffer-file-executable-if-script-p as an option.
6434 2000-06-09 Kenichi Handa <handa@etl.go.jp>
6436 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
6437 "tib24p-mule.bdf" for Tibetan.
6439 * composite.el (decompose-composite-char): Declare it as obsolete.
6441 * man.el (Man-fontify-manpage): Pay attention to underline and
6442 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
6444 2000-06-08 Gerd Moellmann <gerd@gnu.org>
6446 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
6447 Set maintainer to FSF since author isn't reachable.
6449 2000-06-08 Dave Love <fx@gnu.org>
6451 * international/mule-cmds.el (select-safe-coding-system): If
6452 DEFAULT-CODING-SYSTEM is not specified, also check the most
6453 preferred coding-system if buffer-file-coding-system is
6454 `undecided'. From Handa.
6456 2000-06-08 Kenichi Handa <handa@etl.go.jp>
6458 * international/mule.el
6459 (after-insert-file-set-buffer-file-coding-system): If the buffer
6460 size is greater than INSERTED, judget that we are not visiting.
6462 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
6464 * whitespace.el (defgroup whitespace): Comment out `:version'.
6465 XEmacs 20.4 has problems defining the group with this present.
6466 We'll have this commented out till get resolve the problem.
6468 2000-06-07 Gerd Moellmann <gerd@gnu.org>
6470 * align.el: Update from author.
6472 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
6474 * apropos.el (apropos-mode-hook): New user variable.
6475 (apropos-mode): Run apropos-mode-hook.
6477 2000-06-07 David Ponce <david@dponce.com>
6479 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
6480 commands. Require `wid-edit' at run-time.
6482 2000-06-07 David Ponce <david@dponce.com>
6484 * recentf.el: Added some "Commentary".
6485 (recentf-open-more-files, recentf-edit-list): Minor changes to
6486 move the point at the top of the file list. This behaviour is
6487 consistent with the menu one when the list contains a lot of
6489 (recentf-cleanup): Now displays the number of items removed from
6491 (recentf-relative-filter) New menu filter to show filenames
6492 relative to `default-directory'.
6494 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6496 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
6497 with/without giving an error if PostScript printer doesn't have this
6498 kind of page size. Zebra Stripe continues or restarts on next page.
6499 Manual/automatic paper feeding. Switch or not the header.
6500 (ps-print-version): New version number (5.2.2).
6501 (ps-windows-system): Include emx as a Windows system.
6502 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
6503 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
6504 (ps-background-text): Code fix.
6505 (ps-error-handler-message, ps-user-defined-prologue)
6506 (ps-print-prologue-header, ps-printer-name)
6507 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
6508 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
6509 (ps-use-face-background): Customization fix.
6510 (ps-n-up-database): Data fix.
6511 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
6512 (ps-switch-header): New vars.
6513 (ps-xemacs-color-name, ps-face-foreground-name)
6514 (ps-face-background-name, ps-boolean-constant): New funs.
6516 2000-06-07 Dave Love <fx@gnu.org>
6518 * allout.el: New version from Manheimer.
6520 2000-06-07 Kenichi Handa <handa@etl.go.jp>
6522 * textmodes/fill.el (fill-find-break-point): Check the validity of
6525 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6527 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
6528 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
6529 Call display-color-p and display-mouse-p instead of looking at
6532 2000-06-06 Dave Love <fx@gnu.org>
6534 * image.el (find-image): Doc fix. Return nil if image not found.
6535 (put-image, insert-image): Make STRING arg optional.
6537 2000-06-06 Kenichi Handa <handa@etl.go.jp>
6539 * language/vietnamese.el: Remove eval-when-compile.
6540 (viet-viscii-nonascii-translation-table): Define it as a
6541 translation table made from viet-viscii-decode-table.
6542 (viet-viscii-encode-table): Define it as a translation table made
6543 from the reverse map of above.
6544 (viet-vscii-nonascii-translation-table): Define it as a
6545 translation table made from viet-vscii-decode-table.
6546 (viet-vscii-encode-table): Define it as a translation table made
6547 from the reverse map of above.
6548 (ccl-decode-viscii): Use translate-character.
6549 (ccl-encode-viscii, ccl-encode-viscii-font)
6550 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
6553 * language/cyrillic.el: Remove eval-when-compile.
6554 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
6555 translation table made from cyrillic-koi8-r-decode-table.
6556 (cyrillic-koi8-r-encode-table): Define it as a translation table
6557 made from the reverse map of above.
6558 (ccl-decode-koi8): Use translate-character.
6559 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
6560 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
6561 a translation table made from cyrillic-alternativnyj-decode-table.
6562 (cyrillic-alternativnyj-encode-table): Define it as a translation
6563 table made from the reverse map of above.
6564 (ccl-decode-alternativnyj): Use translate-character.
6565 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
6568 * international/mule-diag.el (non-iso-charset-alist): Specify
6569 translation table symbol instead of translation table itself.
6570 (list-block-of-chars): CHARSET may be a translation table symbol.
6572 * international/mule.el (make-coding-system): If CODING-SYSTEM
6573 already exists, override it.
6575 * international/fontset.el: Use family `proportional' for Tibetan
6578 * international/ccl.el (ccl-compile-translate-character): Don't
6579 check if Rrr has property translation-table.
6580 (ccl-compile-map-multiple): Modified to avoid compiler warning.
6582 2000-06-05 Gerd Moellmann <gerd@gnu.org>
6584 * info.el: Bind case-fold-search to t when searching in case
6585 a user sets it to nil in a hook.
6587 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
6589 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6590 * hl-line.el (hl-line-mode): Use the new :global key argument.
6592 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
6593 (tar-clip-time-string): Prepend a space.
6594 (tar-grind-file-mode): Construct a string rather than modifying one.
6595 (tar-header-block-summarize): Fix docstring.
6596 Use `format' rather than an error-prone set of copy-loops.
6598 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
6599 (diff-goto-source, diff-unified->context, diff-context->unified)
6600 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
6601 understand the format output by the `-p' argument to diff.
6603 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
6604 (sh-re-done): Use defconst.
6605 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
6606 (sh-help-string-for-variable, sh-guess-basic-offset):
6607 Don't quote lambdas.
6608 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
6609 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
6611 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
6612 (mh-letter-mode): Derive from text-mode.
6613 This implicitly means that it now calls kill-all-local-variables.
6614 Also remove the Emacs-18 compatibility code.
6616 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
6617 Make use of symbol-property doc-string-elt.
6618 Use memq rather than a sequence of eq.
6619 (doc-string-elt): Fix the wrong or missing previously unused values.
6620 (autoload-print-form): New function extracted from
6621 generate-file-autoloads to allow recursion when handling progn
6622 so that defvar's and defun's docstrings are properly printed.
6623 (generate-file-autoloads): Use it.
6625 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
6626 Use find-file-hooks in the minor-mode function.
6627 Be careful not to loop indefinitely in the post-command-hook function.
6629 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
6631 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
6633 * ediff-diff.el (ediff-exec-process): Use --binary for fine
6634 differences whenever appropriate.
6635 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
6636 * viper.el (find-file, find-file-other-window): Get viper to do
6639 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
6641 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
6642 (jit-lock-fontify-buffer): New function for JIT refontification.
6643 (jit-lock-mode): Fix docstring.
6644 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
6645 Remove jit-lock-after-change from the _local_ hook.
6646 (jit-lock-function-1): Fix docstring.
6648 * info.el (Info-on-current-buffer): Initialize info.
6650 * newcomment.el (comment-indent): Ignore comment-indent-hook.
6652 * progmodes/tcl.el (tcl-indent-for-comment):
6653 Ignore comment-indent-hook.
6655 * emacs-lisp/easy-mmode.el: Require CL during compilation.
6656 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
6657 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
6658 and improve to use the lighter to guess the capitalization.
6659 (define-minor-mode): Inline code from easy-mmode-define-toggle.
6660 Add keyword arguments to specify global-ness or the custom group.
6661 Add local-map and help-echo properties to the lighter.
6662 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
6663 (easy-mmode-define-global-mode): New macro.
6665 2000-06-02 Dave Love <fx@gnu.org>
6667 * wid-edit.el: byte-compile-dynamic since we typically don't use
6668 all the widgets. Don't require cl or widget. Remove
6669 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
6670 (widget-read-event): Removed. Callers changed to use read-event.
6671 (widget-button-release-event-p): Renamed from
6672 button-release-event-p.
6673 (widget-field-add-space, widget-field-use-before-change):
6675 (widget-specify-field): Use keymap property, not local-map.
6676 (widget-specify-button): Obey :suppress-face.
6677 (widget-specify-insert): Use modern backquote syntax.
6678 (widget-image-directory): Renamed from widget-glyph-directory.
6679 (widget-image-enable): Renamed from widget-glyph-enable.
6680 (widget-image-find): Replaces widget-glyph-find.
6681 (widget-button-pressed-face): Move defvar.
6682 (widget-image-insert): Replaces widget-glyph-insert.
6683 (widget-convert): Use keywordp.
6684 (widget-leave-text, widget-children-value-delete): Use mapc.
6685 (widget-keymap): Remove XEmacs stuff.
6686 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
6687 (widget-button-click): Don't set point at the click, but re-centre
6688 if we scroll out of window. Rewritten for images v. glyphs &c.
6689 (widget-tabable-at): Use POS arg, not point.
6690 (widget-beginning-of-line, widget-end-of-line)
6691 (widget-item-value-create, widget-sublist, widget-princ-to-string)
6692 (widget-sexp-prompt-value, widget-echo-help): Simplify.
6693 (widget-default-create): Use widget-image-insert; some rewriting.
6694 (widget-visibility-value-create)
6695 (widget-push-button-value-create, widget-toggle-value-create): Use
6696 widget-image-insert.
6697 (checkbox): Create on and off images dynamically.
6698 (documentation-link): Change :help-echo.
6699 (widget-documentation-link-echo-help): Remove.
6701 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
6703 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
6705 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
6706 (easy-mmode-define-toggle, define-minor-mode): Use it.
6707 (easy-mmode-define-keymap): Docstring fix.
6708 (define-derived-mode): Default PARENT to fundamental-mode.
6709 Add the derived-mode-parent symbol-property.
6710 (easy-mmode-derived-mode-p): New function.
6712 2000-06-02 Dave Love <fx@gnu.org>
6714 * files.el (convert-standard-filename): Doc fix.
6715 (normal-backup-enable-predicate): New function.
6716 (backup-enable-predicate): Use it to replace the lambda form.
6718 * calendar/todo-mode.el: [This needs more work on the outline
6720 (todo) <defgroup>: Add :version.
6721 (todo-add-category): Don't use pushnew.
6722 (todo-cmd-raise): Fix typo.
6723 (todo-top-priorities): Change temp buffer name.
6724 (todo-category-alist): Avoid redundant lambda.
6725 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
6726 Use outline-next-heading.
6728 * autoarg.el: Rewritten to use define-minor-mode.
6729 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
6730 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
6732 2000-06-02 Kenichi Handa <handa@etl.go.jp>
6734 * isearch.el (isearch-other-meta-char): Fix previous change.
6736 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6738 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
6739 (log-edit-done): Only add the comment to the ring if it's different
6740 from the last comment entered.
6742 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
6744 2000-06-01 Dave Love <fx@gnu.org>
6746 * hl-line.el: Rewritten using define-minor-mode.
6748 * help.el (describe-function-1): Distinguish special form from
6749 builtin function. Sanity-check presence of arglist for builtins.
6751 2000-06-01 Kenichi Handa <handa@etl.go.jp>
6753 * international/characters.el: Fix syntax/category setting of
6756 * language/tibet-util.el (tibetan-add-components): Fixes for new
6757 encoding of Tibetan characters.
6758 (tibetan-decompose-precomposition-alist): New variable.
6759 (tibetan-decompose-region): Convert precomposed characters to
6760 non-precomposed characters.
6761 (tibetan-decompose-string): Likewise.
6762 (tibetan-composition-function): Fix args to
6763 thibetan-compose-string.
6765 * language/tibetan.el (tibetan-composable-pattern): More
6766 characters included.
6767 (tibetan-consonant-transcription-alist): Rule for "R" added.
6768 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
6770 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
6772 * language/lao-util.el (lao-composition-function): Fix args to
6775 * language/thai-util.el (thai-composition-function): Fix args to
6778 * isearch.el (isearch-update): Set disable-point-adjustment to t
6779 to prevent the point moving to the end of a composition when a
6780 part of a composition is searched.
6781 (isearch-other-meta-char): If the key invoking this command can be
6782 mapped by function-key-map to a printing char, call
6783 isearch-process-search-char directly.
6785 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6787 * emacs-lisp/bytecomp.el:
6789 * international/mule-cmds.el:
6790 * international/mule-util.el:
6791 * international/mule.el:
6794 * faces.el: Update calls to make-obsolete with a WHEN argument.
6796 * byte-run.el (make-obsolete, make-obsolete-variable):
6797 Add an optional WHEN argument and change the format of the
6798 symbol-property information.
6799 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
6800 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
6801 new obsolete-symbol-property format and print WHEN if it is provided.
6803 2000-05-31 Dave Love <fx@gnu.org>
6805 * loadhist.el (loadhist-hook-functions): Remove
6806 before-change-function, after-change-function.
6807 (unload-feature): Deal with symbols which are both bound and
6810 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
6811 before-change-function, after-change-function.
6813 * simple.el (newline): Don't bind before-change-function,
6814 after-change-function.
6816 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
6818 * whitespace.el (whitespace-rescan-timer-time): Update interval
6819 set to 600 seconds (10 minutes) instead of 60 seconds since
6820 a large number of whitespace buffers causes emacs to `freeze'
6821 for a considerable amount of time.
6823 * whitespace.el: Updated email address
6825 2000-05-31 Dave Love <fx@gnu.org>
6827 * add-log.el (change-log-font-lock-keywords) <function>: Add
6828 pattern for function of change.
6829 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
6830 acknowledgements patterns.
6832 2000-05-31 Kenichi Handa <handa@etl.go.jp>
6834 * isearch.el (isearch-printing-char): If keyboard coding system is
6835 being used, call isearch-process-search-multibyte-characters.
6837 * international/isearch-x.el: Mostly rewritten.
6839 * international/quail.el (quail-start-conversion): Don't include
6840 unhandled events in the returned events, but set them in
6841 unread-command-events. Exit if all inputs are deleted.
6843 2000-05-30 Jason Rumney <jasonr@gnu.org>
6845 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
6847 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
6848 Reenable code to create initial fontsets.
6849 Use set-fontset-font in place of put-charset-property.
6851 2000-05-30 Gerd Moellmann <gerd@gnu.org>
6853 * progmodes/perl-mode.el (perl-indent-line): When looking for a
6854 label, ensure that the first colon isn't followed by another.
6856 * paths.el (Info-default-directory-list): Doc fix.
6858 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
6859 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
6860 send a query containing USER only, not USER@HOST.
6862 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
6863 and rmail-msgend to compute the restriction at the end, instead of
6866 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6868 * dabbrev.el (dabbrev-expand): Don't display messages in the
6869 echo area if the minibuffer window is active.
6871 * jit-lock.el (jit-lock-mode): Add after change function to
6874 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
6876 * antlr-mode.el: New commands: hide/unhide actions,
6877 upcase/downcase literals.
6878 (antlr-tiny-action-length): New user option.
6879 (antlr-hide-actions): New command. Suggested by
6880 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
6881 (antlr-mode-map): New binding [C-c C-v].
6882 (antlr-mode-menu): New entries.
6883 (antlr-downcase-literals): New command.
6884 (antlr-upcase-literals): Ditto.
6886 * antlr-mode.el: Minor changes: indendation, mode-name.
6887 (antlr-indent-line): Indent cpp directive at column 0.
6888 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
6890 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
6891 (antlr-font-lock-additional-keywords): Workaround for intentional
6892 bug in XEmacs version of font-lock.
6893 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
6894 be used by a smarter version of `buffers-menu-grouping-function'.
6896 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6898 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
6899 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
6901 2000-05-29 Kenichi Handa <handa@etl.go.jp>
6903 * international/encoded-kb.el
6904 (encoded-kbd-iso2022-designation-map): Pay attention to that
6905 charset-iso-final-char return -1 for eight-bit-control and
6908 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6910 * speedbar.el (speedbar-use-images, speedbar-update-flag)
6911 (speedbar-easymenu-definition-base): Use display-graphic-p where
6912 available, instead of window-system.
6914 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6916 * international/codepage.el (cp-coding-system-for-codepage-1): Add
6917 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
6920 2000-05-26 Dave Love <fx@gnu.org>
6922 * disp-table.el (standard-display-underline): Don't use
6925 * mail/reporter.el: Maintainer change. Doc fixes.
6926 (reporter-version): Deleted.
6928 * emacs-lisp/elp.el: Maintainer change.
6929 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
6931 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
6933 * add-log.el (add-change-log-entry): Merge the current entry with the
6934 previous one if the previous one is empty.
6936 2000-05-26 Dave Love <fx@gnu.org>
6938 * loadhist.el (unload-feature): Fix interactive spec [from
6939 lijnzaad@ebi.ac.uk].
6941 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
6942 subr-arity to check primitives.
6943 (byte-compile-flush-pending, byte-compile-file-form-progn)
6944 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
6945 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
6948 2000-05-26 Kenichi Handa <handa@etl.go.jp>
6950 * international/fontset.el: Set family names of non-latin charsets
6951 in default fontset to "*".
6953 * international/mule-diag.el (print-fontset): Combine family part
6954 and registry part of the fontname by "-*-" instead of "-".
6956 * international/mule-cmds.el (encode-coding-char): Make strings
6957 multibyte before calling encode-coding-string.
6959 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
6961 * derived.el: Fix keywords.
6962 (define-derived-mode): Only define if needed.
6964 * simple.el (fill-comment, comment-column, comment-start)
6965 (comment-start-skip, comment-end, comment-indent-function)
6966 (block-comment-start, block-comment-end, indent-for-comment)
6967 (set-comment-column, kill-comment, comment-padding, comment-region)
6968 (comment-multi-line, indent-new-comment-line): Remove.
6970 * bindings.el (esc-map): Change ; to comment-dwim and use the new
6971 function names for comment operations.
6973 * newcomment.el: Add abundant autoload cookies.
6974 (comment-style): Don't depend on runtime data at compile-time.
6975 (comment-indent-hook): Remove.
6976 (comment-indent): Check if comment-indent-hook is bound.
6977 (comment-region): Docstring fix.
6979 2000-05-25 Dave Love <fx@gnu.org>
6981 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
6982 byte-code-function-p.
6984 * mail/rmailsum.el: Add provide.
6986 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
6988 * smerge-mode.el (smerge-diff-switches): Don't use list* in
6991 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
6993 * ediff-diff.el (ediff-exec-process): delete --binary option from
6994 non-buffer ediff jobs.
6996 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6998 * hilit-chg.el (highlight-changes-mode): Ask about color or
6999 grayscale support, not about window-system.
7001 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
7003 (ffap-highlight): Always default to t.
7005 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
7006 display-popup-menus-p instead of looking at window-system.
7008 * disp-table.el (standard-display-g1, standard-display-graphic):
7009 Only refuse to use string glyphs on X and MS-Windows.
7011 * avoid.el: Remove window-system from commentary, suggest to use
7012 display-*-p instead.
7014 * apropos.el (apropos-print): Use display-mouse-p instead of
7017 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7019 * international/codepage.el (cp-decoding-vector-for-codepage):
7020 Fill up unsupported characters with their own codes. From Kenichi
7023 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7025 * international/mule-diag.el (describe-char-after): Use
7026 display-graphic-p instead of window-system, so that this function
7029 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7031 * international/codepage.el (cp-make-coding-systems-for-codepage):
7032 Remove the eight-bit-graphic and eight-bit-control charsets from
7033 the list of charsets which we convert into `?'.
7035 2000-05-25 Kenichi Handa <handa@etl.go.jp>
7037 * international/mule-conf.el: Specify CHARSET-ID explicitely for
7039 (mule-unicode-0100-24ff, japanese-jisx0213-1,
7040 japanese-jisx0213-2): New charsets.
7042 * international/fontset.el: Setup default fontset for new charsets.
7044 2000-05-24 Dave Love <fx@gnu.org>
7046 * info.el (Info-find-node-2): Restructure [following "Vadim
7047 S. Solomin" <sovs@uic.nnov.ru>].
7049 * icomplete.el: Fix header for Finder.
7051 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
7053 * rmailout.el (rmail-output-to-rmail-file): Added optional param
7056 * rmail.el (rmail-automatic-folder-directives): New user variable.
7057 (rmail-show-message): Add call to `rmail-auto-file' during
7059 (rmail-auto-file): New function.
7061 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7063 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
7065 (ediff-test-utility,ediff-diff-mandatory-option)
7066 (ediff-reset-diff-options): Utilities for proper initialization of
7067 ediff-diff-options and ediff-diff3-options on Windows.
7069 * ediff-init.el (ediff-merge-filename-prefix): New customizable
7072 * ediff-mult.el (ediff-filegroup-action): Use
7073 ediff-merge-filename-prefix.
7075 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7077 * viper-ex.el (ex-write): Set selective display to nil.
7079 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7081 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
7082 aliases for hebrew-iso-8bit.
7084 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7086 * woman.el: New version from Francis J. Wright
7087 <F.J.Wright@Maths.QMW.ac.uk>.
7088 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
7089 names in environment variables regardless of the path separator.
7090 (woman-topic-all-completions-1): Don't call file-name-directory-p
7091 on all files, since woman-file-regexp already filters out any
7094 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7096 * international/quail.el (quail-start-translation): Don't change
7097 modified-p of the current buffer.
7098 (quail-start-conversion): Likewise.
7100 * international/kkc.el (kkc-region): Don't change modified-p of
7103 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
7105 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
7107 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
7109 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
7110 (speedbar-insert-button): Invisible text property fix.
7111 (speedbar-directory-plus): Renamed from speedbar-directory-+
7112 (speedbar-directory-minus): Renamed from speedbar-directory--
7113 (speedbar-page-plus): Renamed from speedbar-file-+
7114 (speedbar-page-minus): Renamed from speedbar-file--
7115 (speedbar-page): Renamed from speedbar-file-
7116 (speedbar-tag): Renamed from speedbar-tag-
7117 (speedbar-tag-plus): Renamed from speedbar-tag-+
7118 (speedbar-tag-minus): Renamed from speedbar-tag--
7119 (speedbar-expand-image-button-alist): Use above renames.
7121 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
7122 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
7123 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
7124 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
7125 * sb-pg.xpm: Renamed from sb-file.xpm
7126 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
7127 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
7129 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7131 * international/quail.el (quail-show-guidance-buf): Set
7132 current-input-method of the guidance buffer to the name of the
7133 curren input method.
7135 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
7137 * progmodes/compile.el (compile-internal): Style typo.
7139 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
7140 quote vars and functions in the docstring.
7142 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
7144 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
7145 Don't quote lambdas.
7147 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
7149 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7151 * startup.el (command-line): Determine source file of compiled
7152 user init file differently. Warn if compiled user init file
7153 is older than its source file.
7155 * ffap.el (ffap-url-regexp): Add `https'.
7157 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
7159 * files.el (make-backup-file-name-1): Replace slashes with `!'
7160 rather than `|' (which is not allowed on Windows). Replace the
7161 drive letters with a string "drive_X".
7163 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7165 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
7167 * files.el (interpreter-mode-alist): Add `bash2'.
7169 2000-05-22 Dave Love <fx@gnu.org>
7171 * loadhist.el (feature-symbols, file-provides, file-requires): Use
7173 (feature-file): Avoid calling symbol-name. Doc fix.
7174 (file-set-intersect, file-dependents): Use dolist, not mapcar.
7175 (loadhist-hook-functions): Add mouse-position-function.
7176 (unload-feature): Change uses of mapcar.
7178 * files.el (parse-colon-path): Doc fix.
7179 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
7180 (set-auto-mode): Use mapc.
7182 * complete.el (PC-look-for-include-file): Use :alnum: character
7184 (partial-completion-mode): Add autoload cookie.
7186 2000-05-22 Sam Steingold <sds@gnu.org>
7188 * info.el (Info-fontify-node): Fixed the call to
7189 `add-text-properties' (bug introduced on 2000-05-18).
7191 2000-05-22 Dave Love <fx@gnu.org>
7193 * bindings.el: Remove debug-ignored-errors set in other files.
7195 * progmodes/etags.el: Add to debug-ignored-errors.
7196 (visit-tags-table-buffer): Clear out buffers holding old tables
7197 when making a new list.
7198 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
7201 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
7203 (cmpl-string-case-type): Use character classes.
7206 * textmodes/ispell.el:
7209 * progmodes/compile.el: Add to debug-ignored-errors.
7211 * dabbrev.el: Add to debug-ignored-errors.
7212 (dabbrev-completion): Use mapc.
7214 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
7216 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
7217 (woman-mapcan, woman-parse-man.conf)
7218 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
7219 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
7220 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
7222 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
7223 (woman-manpath): Call woman-parse-man.conf.
7224 (woman-emulation): New defcustom, defaults to nroff.
7225 (woman-font-support): New defconst.
7226 (woman-use-symbol-font): New defcustom.
7227 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
7229 Many functions: Doc fix.
7231 2000-05-22 Kenichi Handa <handa@etl.go.jp>
7233 * international/quail.el (quail-simple-translation-keymap): Map
7234 128..255 to quail-self-insert-command.
7235 (quail-keyboard-layout-alist): Add definition for "pc102-de".
7237 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
7239 * help.el (help-manyarg-func-alist): Typo.
7241 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
7242 intervals which makes it heaps simpler.
7244 * newcomment.el (comment-region-internal): Go back to BEG after quoting
7245 the nested comment markers.
7247 * subr.el (remove-hook): Don't turn the hook's value into a list.
7249 2000-05-21 Dave Love <fx@gnu.org>
7251 * edmacro.el (edmacro-parse-keys): Return vector if any elements
7252 are invalid characters.
7254 * international/mule-util.el (detect-coding-with-priority): Use
7255 mapc. Remove redundant lambda.
7257 * international/mule-diag.el (list-non-iso-charset-chars)
7258 (describe-fontset): Remove redundant lambda.
7260 * emulation/crisp.el (brief-mode): New alias.
7262 * emacs-lisp/ring.el (ring-elements): New function.
7264 * emacs-lisp/easymenu.el (easy-menu-create-menu)
7265 (easy-menu-do-add-item): Use keywordp.
7267 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
7269 * replace.el: Doc and error message fixes.
7270 (replace-highlight): Use facep, not internal-find-face.
7272 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
7274 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
7276 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
7277 (log-edit-insert-changelog): Drop `:' as well.
7279 * log-view.el: Fix file description.
7280 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
7282 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
7283 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
7285 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
7286 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
7287 Print a status message if the toggle is called interactively.
7288 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
7289 for global minor modes and use `defcustom' for them.
7291 (easy-mmode-define-derived-mode): Remove.
7292 (define-derived-mode): Fancier default docstring.
7293 (easy-mmode-define-navigation): Signal an error rather than (ding).
7295 * newcomment.el (comment-styles): New `box-multi'.
7296 (comment-normalize-vars): Better default for comment-continue to
7297 avoid whitespace-only continuations.
7298 (comment-search-forward): Always move even in the no-syntax case.
7299 (comment-padright): Only obey N if it's only obeyed for padleft.
7300 (comment-make-extra-lines): Better handling of empty continuations.
7301 Use `=' for the filler if comment-start has only one character.
7302 (uncomment-region): Try handling the special `=' filler.
7303 (comment-region): Allow LINES even if MULTI is nil.
7304 (comment-box): Choose box style based on comment-style.
7306 2000-05-20 Kenichi Handa <handa@etl.go.jp>
7308 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
7309 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
7311 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
7313 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
7314 and insert, not subst-char-in-region.
7316 * international/mule-diag.el (list-character-sets-1): Handle
7317 charsets eight-bit-control and eight-bit-graphic.
7318 (list-iso-charset-chars): Likewise.
7319 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
7320 charactes as is. Use indent-to to align characters.
7322 * international/mule-cmds.el (find-multibyte-characters): Never
7323 exclude charsets eight-bit-control and eight-bit-graphic.
7325 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
7327 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
7328 Don't quote lambdas.
7330 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
7332 2000-05-19 Gerd Moellmann <gerd@gnu.org>
7334 * gud.el (gud-jdb-directories): Doc fix.
7336 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
7338 * newcomment.el: New file.
7340 2000-05-19 Gerd Moellmann <gerd@gnu.org>
7342 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
7344 2000-05-18 Andreas Schwab <schwab@suse.de>
7346 * dired.el (dired-between-files): Also skip lines beginning with
7349 2000-05-18 Gerd Moellmann <gerd@gnu.org>
7351 * msb.el (msb-menu-cond): Add choice `user'.
7353 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7355 * ps-print.el: Compatibility, customization and doc fix.
7356 (ps-printer-name-option): Replace defconst by defvar.
7357 (ps-postscript-code-directory): XEmacs compatibility.
7358 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
7360 (ps-user-defined-prologue, ps-print-prologue-header)
7361 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
7362 compatibility and code fix.
7363 (ps-print-background-image, ps-print-background-text):
7365 (ps-line-number-start, ps-n-up-on): New vars.
7367 2000-05-18 Espen Skoglund <esk@ira.uka.de>
7369 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
7370 the indent-comment function to just return the appropriate indent.
7372 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
7374 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
7375 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
7376 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
7378 2000-05-18 Dave Love <fx@gnu.org>
7380 * info.el (Info-fontify-node): Add intangible property as well as
7383 * calendar/appt.el (appt-make-list): Match all lines of entry.
7384 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
7386 2000-05-18 Kenichi Handa <handa@etl.go.jp>
7388 * international/mule-diag.el (describe-char-after): Call
7389 internal-char-font, not char-font. If internal-char-font returns
7390 nil, display "-- none --".
7392 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
7394 * image.el (image-type-available-p): Don't reference image-types
7397 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
7399 * autoarg.el (autoarg-mode): Typo in the :set argument.
7401 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
7403 * startup.el (command-line-1): Don't signal an error if the
7404 directory for auto-save-list files does not yet exist.
7406 2000-05-17 Kenichi Handa <handa@etl.go.jp>
7408 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
7410 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
7412 * subr.el (remove-hook): `setq' hook-value, not `set'.
7414 2000-05-16 Sam Steingold <sds@gnu.org>
7416 * info.el (debug-ignored-errors): More errors to ignore.
7418 2000-05-16 Dave Love <fx@gnu.org>
7420 * cus-edit.el: Don't require cl or easymenu.
7421 (custom-variable-prompt): Test standard-value property, not
7424 2000-05-16 Sam Steingold <sds@gnu.org>
7426 * subr.el (add-hook): `setq' hook-value, not `set'.
7428 2000-05-16 Gerd Moellmann <gerd@gnu.org>
7430 * startup.el (command-line-1): Mention the FAQ in the startup
7433 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
7435 * progmodes/compile.el (compilation-parse-errors): Collect
7436 `nomessage' regexps last.
7438 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
7440 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
7441 to the function name.
7443 2000-05-15 Dave Love <fx@gnu.org>
7445 * speedbar.el (speedbar-recenter): Typo.
7446 (speedbar-expand-line): Make arg optional.
7447 (speedbar-mode): Avoid a compiler warning.
7449 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7451 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
7452 user-specified option string is empty.
7454 * mouse.el (mouse-yank-at-click): Doc fix.
7456 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
7458 * term/internal.el (IT-character-translations): More updates of
7459 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
7462 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7464 * env.el (getenv): New function, interactively callable.
7465 (setenv, getenv): Remove autoload cookies.
7467 * loadup.el: Load `env'.
7469 * progmodes/f90.el: Change author's mail address.
7471 2000-05-14 Dave Love <fx@gnu.org>
7473 * mail/rmail.el (rmail-show-message-hook): Customize and offer
7474 goto-addr as an option.
7476 * help.el (help-xref-stack): Doc fix.
7477 (help-xref-following): New variable.
7478 (help-make-xrefs): Use it.
7479 (help-xref-go-back): Use position information from stack element.
7480 (help-follow): Make position in stack element a pair. Use
7481 help-xref-following.
7483 * autoarg.el: New file.
7485 * faces.el: Declare more functions obsolete.
7487 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
7488 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
7489 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
7490 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
7491 Remove all the setup-...-environment functions.
7493 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
7495 * speedbar.el: Updated the commentary section. xemacs20p now uses
7496 >= when detecting. Require `defimage' safely.
7497 (speedbar-easymenu-definition-base): Add toggle for images.
7498 (speedbar-easymenu-definition-special): Add flush cache & expand.
7499 (speedbar-visiting-tag-hook): Set new defaults. Added options.
7500 (speedbar-reconfigure-keymaps-hook): New variable.
7501 (speedbar-frame-parameters): Updated documentation.
7502 (speedbar-use-imenu-flag): Updated custom tag
7503 (speedbar-dynamic-tags-function-list): New variable.
7504 (speedbar-tag-hierarchy-method): Updated doc & custom.
7505 (speedbar-indentation-width, speedbar-indentation-width) New
7507 (speedbar-hide-button-brackets-flag): Customizable.
7508 (speedbar-vc-indicator): Doc update.
7509 (speedbar-ignored-path-expressions): Updated default value.
7510 (speedbar-supported-extension-expressions): Updated default value.
7511 (speedbar-syntax-table): Remove {} paren status.
7512 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
7513 as "+". Added overlay aliases.
7514 (speedbar-mode): Use `speedbar-mode-line-update' instead of
7515 `force-mode-line-update'.
7516 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
7517 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
7519 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
7520 (speedbar-item-info-tag-helper): Revamped to handle a wider range
7521 of arbitrary text, and new helper functions.
7522 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
7524 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
7525 (speedbar-directory-buttons): Update path search/expansion.
7526 (speedbar-make-tag-line): Pay attention to
7527 `speedbar-indentation-width'. Use more care w/ invisible
7529 (speedbar-change-expand-button-char): Call
7530 `speedbar-insert-image-button-maybe'.
7531 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
7532 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
7533 (speedbar-trim-words-tag-hierarchy)
7534 (speedbar-simple-group-tag-hierarchy): New functions
7535 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
7536 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
7538 (speedbar-mouse-set-point): New function
7539 (speedbar-power-click): Updated documentation.
7540 (speedbar-line-token, speedbar-goto-this-file): Handle more types
7542 (speedbar-expand-line, speedbar-contract-line): Make more robust
7544 (speedbar-expand-line): Takes universal argument to flush the
7546 (speedbar-flush-expand-line): New function.
7547 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
7548 Use new generator insertion method.
7549 (speedbar-fetch-dynamic-tags): New function.
7550 (speedbar-fetch-dynamic-imenu): Removed code now handled in
7551 `speedbar-fetch-dynamic-imenu'.
7552 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
7553 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
7554 "Revert Buffer" menu items.
7555 (speedbar-buffer-buttons-engine): Be smarter when creating a
7556 filename tag (for expansion purposes.).
7557 (speedbar-highlight-one-tag-line,
7558 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
7559 (speedbar-recenter): New functions.
7560 (defimage-speedbar): Image loading abstraction.
7561 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
7562 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
7563 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
7564 (speedbar-tag-type, speedbar-tag-mail): New images.
7565 (speedbar-expand-image-button-alist): New variable.
7566 (speedbar-insert-image-button-maybe): Insert an image over some
7569 2000-05-13 Kenichi Handa <handa@etl.go.jp>
7571 * international/mule-cmds.el (encode-coding-char): An ASCII
7572 character is always encodable.
7574 * international/mule-conf.el: Add more information in descriptions
7577 * international/mule-diag.el (describe-char-after): New function.
7578 (describe-font-internal): Adjusted for the change of font-info.
7579 (describe-font): Likewise.
7580 (print-fontset): Rewritten for the new fontset implementation.
7581 (describe-fontset): Include fontset alias names in completion.
7582 (list-fontsets): Adjusted for the change of print-fontset.
7584 * simple.el (what-cursor-position): If DETAIL is non-nil, call
7585 describe-char-after instead of displaying the detail in the echo
7587 (syntax-code-table): Format changed.
7588 (string-to-syntax): Adjusted for the above change.
7590 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
7592 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
7594 2000-05-12 Dave Love <fx@gnu.org>
7596 * calendar/todo-mode.el: Remove some compatibility stuff and CL
7597 dependence. Use line-{beginning,end}-position, not
7598 point-at{b,e}ol. Some doc fixes.
7599 (todo-position): New function. Fix callers of position to use it.
7600 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
7602 2000-05-12 Gerd Moellmann <gerd@gnu.org>
7604 * time.el (display-time-mail-icon): Use `:ascent center'.
7606 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
7607 handling FTP security extensions.
7609 2000-05-11 Dave Love <fx@gnu.org>
7611 * calendar/todo-mode.el: New file.
7613 2000-05-11 Gerd Moellmann <gerd@gnu.org>
7615 * comint.el (comint-read-input-ring): Move reference to
7616 comint-input-ring-size outside of the save-excursion. It was
7617 causing the default value to be the only one ever seen.
7619 * font-lock.el: Update copyright. Remove Simon Marshall's email
7620 address on request from him.
7622 * subr.el (substitute-key-definition): Add comment describing
7623 the meaning of PREFIX.
7625 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
7627 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
7629 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
7630 (add-minor-mode): Don't make the variable buffer-local and add a
7631 reference to define-minor-mode in the docstring.
7633 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
7634 HEADER/FOOTER and fix bug with trailing empty directory.
7635 (cvs-append-to-ignore): Use vc-editable-p if available.
7636 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
7637 (vc-do-command): Tweak advice to handle the new VC.
7639 * log-view.el (log-view-goto-rev): New function for the new VC.
7640 (log-view-minor-wrap): Use mark-active.
7642 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
7643 (log-edit-changelog-full-paragraphs): New var.
7644 (log-edit-insert-changelog): Remove a lonely leading `* file'.
7645 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
7646 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
7647 (log-edit-changelog-ours-p, log-edit-changelog-entries)
7648 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
7649 Replace the `cvs' prefix with `log-edit'.
7651 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
7653 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
7654 (diff-font-lock-defaults): Explicitly turn off multiline.
7655 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
7656 (diff-ediff-patch): Fix call to ediff-patch-file.
7657 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
7660 * frame.el (automatic-hscrolling): Typo.
7662 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
7664 2000-05-09 Sam Steingold <sds@goems.com>
7666 * apropos.el (apropos-print): use `describe-face' instead of
7667 `customize-face-other-window'.
7669 2000-05-09 Dave Love <fx@gnu.org>
7671 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
7673 * help.el (describe-variable): Have customize button pop the
7674 help-xref stack when invoked.
7675 (help-xref-symbol-regexp): Add `face'.
7676 (help-make-xrefs): Check for quoted face names and adapt regexp
7677 submatch numbers to cope.
7678 (help-xref-interned): Maybe insert face doc too. Separate
7679 sections with a line of hyphens.
7681 * faces.el: Some doc fixes. Declare some functions obsolete.
7682 (describe-face): Add customize button. Return the help
7685 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
7687 * term/internal.el (IT-character-translations): Fix last change.
7689 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7691 * woman.el: New file
7692 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
7694 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7696 * term/internal.el (IT-character-translations): Update ASCII
7697 simulations for greek-iso8859-7, add latin-iso8859-14 and
7700 * international/mule-cmds.el (set-language-info-alist): Call
7701 define-prefix-command with 3 arguments, to make the map suitable
7704 2000-05-07 Dave Love <fx@gnu.org>
7706 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
7708 2000-05-05 Dave Love <fx@gnu.org>
7710 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
7711 list in doc string. Don't quote keyword symbols.
7712 * emacs-lisp/cl.el: Likewise
7713 * emacs-lisp/cl-seq.el: Likewise
7715 2000-05-05 Gerd Moellmann <gerd@gnu.org>
7717 * abbrev.el (abbrev-mode): Make ARG optional.
7719 2000-05-04 Gerd Moellmann <gerd@gnu.org>
7721 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
7723 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
7725 * subr.el (substitute-key-definition): Clarify documentation.
7727 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
7729 * glasses.el (glasses-convert-to-unreadable): Use
7730 `glasses-separator' instead of the hard-wired "_".
7731 (glasses-mode): Call `glasses-make-unreadable' only in a single
7734 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
7736 * term/internal.el (cjk-codepages-alist): Add associations for
7737 Chinese and Korean codepages. Remove FIXME comment.
7739 2000-05-03 Dave Love <fx@gnu.org>
7741 * time.el (display-time-mail-face, display-time-use-mail-icon):
7743 (display-time-mail-icon): New variable.
7744 (display-time-string-forms): Use the above. Fix the local-map.
7746 2000-05-03 Gerd Moellmann <gerd@gnu.org>
7748 * replace.el (query-replace-map): Add binding for `E'.
7749 (query-replace-help): Extend help text.
7750 (perform-replace): Allow editing the replacement string.
7752 * make-mode.el (makefile-mode-abbrev-table): New variable.
7753 (makefile-mode): Set local abbrev table to
7754 makefile-mode-abbrev-table.
7755 (makefile-font-lock-keywords): Fontify includes and conditionals.
7757 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
7760 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
7761 mail-interactive-insert-alias.
7762 (mail-abbrev-complete-alias): New command.
7763 (mail-mode-map): Bind it to `M-TAB'.
7765 2000-05-03 Kenichi Handa <handa@etl.go.jp>
7767 * language/lao-util.el (lao-compose-region): New function.
7769 2000-05-02 Gerd Moellmann <gerd@gnu.org>
7771 * files.el (recover-session): Make directories as necessary
7772 if they don't exist yet.
7774 * calendar/cal-french.el
7775 (french-calendar-multibyte-special-days-array)
7776 (french-calendar-special-days-array): Change French text.
7777 (calendar-french-date-string): Change output.
7778 (calendar-goto-french-date): Likewise.
7780 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
7782 * wid-edit.el (widget-default-active): Obey `:always-active'.
7783 (widget-documentation-string-value-create): Set `:always-active'.
7785 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7787 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
7788 default prefix to `~/_emacs.d/auto-save.list/_s'.
7789 (normal-top-level): Create the directory for auto-save files, if
7790 it doesn't already exist (in the ms-dos case only).
7792 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7794 * international/mule-cmds.el (set-language-environment): Don't
7795 concat an integer (dos-codepage), use format instead.
7797 2000-05-02 Dave Love <fx@gnu.org>
7799 * help.el (help-xref-on-pp): Check for constant symbols.
7801 2000-04-29 Gerd Moellmann <gerd@gnu.org>
7803 * startup.el (normal-top-level): Put a condition-case around
7804 the code loading subdirs.el.
7806 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7808 * ps-print.el: Upside-down and face background color printing,
7809 line number step, doc fix.
7810 (ps-print-version): New version number (5.2).
7811 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
7812 (ps-face-attribute-list, ps-plot-with-face): Code fix.
7813 (ps-spool-config): Var fix.
7814 (ps-printer-name-option): Const fix.
7815 (ps-print-upside-down, ps-use-face-background)
7816 (ps-line-number-step): New vars.
7817 (ps-window-system, ps-lp-system): New consts.
7818 (ps-face-background): New fun.
7820 2000-04-28 Richard Stallman <rms@gnu.org>
7822 * files.el (make-auto-save-file-name):
7823 Apply auto-save-file-name-transforms to visited file name
7824 before generating auto save file name.
7825 (auto-save-file-name-transforms): New variable.
7827 * files.el (backup-enable-predicate):
7828 Correctly test for a file under a temporary directory.
7830 2000-04-28 Gerd Moellmann <gerd@gnu.org>
7832 * subr.el (add-minor-mode): Rewritten.
7834 2000-04-28 Kenichi Handa <handa@etl.go.jp>
7836 * mail/sendmail.el (sendmail-send-it): Set
7837 buffer-file-coding-system to the selected coding system for MIME
7840 2000-04-27 Gerd Moellmann <gerd@gnu.org>
7842 * dired.el (dired-move-to-filename-regexp): Allow format where
7843 YYYY is followed by two spaces.
7845 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
7846 in the second character class of the regexp.
7848 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
7851 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
7854 * subr.el (add-minor-mode): Use `set' instead of `setq'.
7856 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
7859 2000-04-27 Sen Nagata <sen@eccosys.com>
7861 * emacs-lisp/crm.el (crm-completion-table): New variable.
7862 (crm-collection-fn, crm-test-completion)
7863 (completing-read-multiple): Use it.
7865 2000-04-27 Dave Love <fx@gnu.org>
7867 * help.el (locate-library): Use mapc.
7868 (help-manyarg-func-alist): Add call-process-region.
7870 2000-04-26 Gerd Moellmann <gerd@gnu.org>
7872 * subr.el (add-minor-mode): Make argument MAP optional.
7874 * desktop.el (desktop-save): Save list of minor modes.
7875 (desktop-create-buffer): Restore minor modes.
7876 (desktop-minor-mode-table): New user-option.
7878 * subr.el (add-minor-mode): New function.
7880 * image.el (find-image): New function.
7881 (defimage): Rewritten to find image at load time.
7883 * startup.el (normal-top-level-add-to-load-path): Handle
7884 case that the default directory is not in load-path.
7886 * help.el: Old patch from Stefan Monnier.
7887 (help-xref-on-pp): New function.
7888 (describe-variable): Use it to display xrefs in a symbol's value.
7890 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
7892 * cus-edit.el (custom-face): Fix parenthesis.
7894 2000-04-26 Kenichi Handa <handa@etl.go.jp>
7896 * mail/rmail.el (rmail-expunge): When there are no deleted
7897 messages, do nothing.
7899 2000-04-26 Dave Love <fx@gnu.org>
7901 * international/mule-cmds.el (locale-translation-file-name):
7903 (set-locale-environment): Set it here (at runtime).
7905 2000-04-25 Gerd Moellmann <gerd@gnu.org>
7907 * replace.el (perform-replace): Add parameters START and END. Use
7908 them instead of the check for a region in Transient Mark mode.
7909 (query-replace-read-args): Return two more list elements for the
7910 start and end of the region in Transient Mark mode.
7911 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7912 (map-query-replace-regexp, replace-string, replace-regexp): Add
7913 optional last arguments START and END and pass them to
7916 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
7917 form with additional arguments for perform-replace.
7919 * progmodes/etags.el (tags-query-replace): Add parameters START
7920 and END. Construct a form with additional arguments for
7923 * simple.el (shell-command): Set default directory for "*Shell
7924 Command Output" buffer.
7926 * language/european.el (iso-latin-4): Fix typo.
7928 * emacs-lisp/crm.el: New file.
7930 2000-04-24 Dave Love <fx@gnu.org>
7932 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
7933 (Custom-reset-saved, Custom-reset-standard)
7934 (custom-group-value-create, custom-group-set, custom-group-save)
7935 (custom-group-reset-current, custom-group-reset-saved)
7936 (custom-group-reset-standard): Use mapc.
7937 (custom-buffer-create-internal): Disable undo when creating items.
7939 (custom-face): Avoid redundant lambda.
7941 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7943 * startup.el (auto-save-list-file-prefix): Set default to
7944 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
7946 2000-04-24 Sam Steingold <sds@gnu.org>
7948 * time-stamp.el (time-stamp-string-preprocess): Always convert
7949 `field-result' to a string.
7951 2000-04-24 Gerd Moellmann <gerd@gnu.org>
7953 * frame.el (scrolling): New group.
7954 (automatic-hscrolling): New user-option.
7956 * startup.el (command-line-x-option-alist): Add `-lsp' and
7959 2000-04-19 Dave Love <fx@gnu.org>
7961 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
7962 (cl-mapc): Rename from mapc. Fix the funcall.
7964 2000-04-19 Gerd Moellmann <gerd@gnu.org>
7966 * simple.el (clone-indirect-buffer-other-window): New command.
7967 (clone-indirect-buffer): Add optional arg NORECROD.
7968 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
7970 * help.el (resize-temp-buffer-window): Use count-screen-lines.
7972 * window.el (count-screen-lines): New function.
7973 (shrink-window-if-larger-than-buffer): Use count-screen-lines
7974 instead of window-buffer-height.
7976 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
7977 non-existing variable comint-input-sentinel.
7978 (inferior-lisp-args-to-list): Removed.
7979 (inferior-lisp): Use split-string instead of
7980 inferior-lisp-args-to-list.
7982 * hexl.el (hexl-insert-hex-string): New command.
7984 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
7987 2000-04-18 Gerd Moellmann <gerd@gnu.org>
7989 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
7990 at the start of an existing but empty folder.
7992 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7994 * ps-mule.el: Customization fix, doc fix.
7995 (ps-multibyte-buffer): Customization fix.
7997 2000-04-17 Richard M. Stallman <rms@gnu.org>
7999 * subr.el (read-passwd): Use read-char-exclusive.
8001 2000-04-17 Gerd Moellmann <gerd@gnu.org>
8003 * textmodes/texinfo.el (texinfo-insert-@email)
8004 (texinfo-insert-@emph, texinfo-insert-@quotation)
8005 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
8006 (texinfo-mode-map): Add key bindings for them.
8008 * files.el (basic-save-buffer-2): Use a template with `$'
8009 instead of `#' for VMS.
8011 * simple.el (clone-indirect-buffer): New function.
8013 2000-04-16 Stephen Eglen <stephen@gnu.org>
8015 * iswitchb.el (iswitchb-case): New function. If the user input
8016 contains any upper-case characters, the search is made
8019 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
8021 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
8023 (texinfo-font-lock-syntactic-keywords): New var.
8024 (texinfo-font-lock-keywords): Remove comment regexp.
8025 (texinfo-insert-block): New function.
8026 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
8027 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
8028 and font-lock-defaults. Use regexp-opt for outline-regexp.
8029 (texinfo-environments): New var.
8030 (texinfo-environment-regexp): Use regexp-opt and
8031 texinfo-environments.
8033 * textmodes/ispell.el (ispell-menu-map-needed): Check that
8034 ispell-process is bound since this might be eval'd before ispell
8036 (ispell-message): Use a tiny bit less magic and a bit more hard
8037 data to figure out what kind of sc-cite-regexp to use.
8039 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
8041 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
8042 (insert-cyclic-diary-entry): Unquote the lambda.
8044 * gud.el (gud-jdb-build-source-files-list): Fix typo.
8046 * files.el (backup-enable-predicate): Unquote the lambda.
8048 * cus-edit.el (custom-face, face): Unquote the lambda.
8050 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8052 * ps-print.el: Check for line-beginning-position definition.
8054 * ps-print.el: Fix counting lines in a region.
8055 (ps-print-version): New version number (5.1.5).
8056 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
8057 (ps-printing-region): Fun code fix.
8059 2000-04-15 Gerd Moellmann <gerd@gnu.org>
8061 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
8062 to file-directory-p.
8064 2000-04-14 Gerd Moellmann <gerd@gnu.org>
8066 * gud.el (gud-jdb-build-source-files-list): Check that directory
8067 exists before calling directory-files.
8069 2000-04-13 Dave Love <fx@gnu.org>
8071 * emacs-lisp/trace.el: Change maintainer. Use new backquote
8074 * emacs-lisp/cl-specs.el: Remove when, unless.
8076 * emacs-lisp/cl-extra.el: Don't quote keywords.
8077 (cl-old-mapc): New variable.
8079 (cl-map-intervals): Use with-current-buffer. Don't check for
8080 next-property-change.
8081 (cl-map-overlays): Use with-current-buffer.
8083 (copy-tree, remprop): Define unconditionally.
8085 * emacs-lisp/cl-compat.el (keywordp): Remove.
8087 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
8089 (edebug-spec): Enable keywordp.
8091 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
8094 * cus-start.el: Use keywordp.
8096 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8098 * diary-lib.el (include-other-diary-files): Fix the fix of
8099 2000-02-18 by doing a save-excursion.
8101 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8103 * ps-print.el: Customization fix, doc fix.
8104 (ps-print-version): New version number (5.1.4).
8105 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
8106 (ps-print-preprint): Adjust code.
8107 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
8108 (ps-print-prologue-header, ps-print-control-characters)
8109 (ps-spool-config): Customization fix.
8111 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
8113 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
8114 converted to the new menu-item format, names silightly changed,
8117 Support for spelling without async subprocesses:
8119 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
8120 (ispell-session-buffer): New variables.
8121 (ispell-start-process, ispell-process-status,
8122 ispell-accept-output, ispell-send-string): New functions, for
8123 Ispell invocation when async subprocesses aren't supported.
8124 (ispell-word, ispell-pdict-save, ispell-command-loop,
8125 ispell-process-line, ispell-buffer-local-parsing): Replace calls
8126 to process-send-string with calls to ispell-send-string, and
8127 accept-process-output with ispell-accept-output.
8128 (ispell-init-process): Call ispell-process-status instead of
8129 process-status with.
8130 (ispell-init-process): Call ispell-start-process. Call
8131 ispell-accept-output and ispell-send-string. Don't call
8132 process-kill-without-query and kill-process if they are unbound.
8133 (ispell-async-processp): New function.
8135 2000-04-12 Dave Love <fx@gnu.org>
8137 * info.el: Add debug-ignored-errors.
8138 (Info-mode-menu): Add some items.
8139 (Info-directory): Add autoload cookie.
8141 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
8142 Modify `truncate-lines'. Make `describe-language-environment'
8143 always visible and add help. Modify `describe-key' help. Invoke
8144 Info-directory from `info'. New entry `emacs-manual'.
8146 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8148 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
8149 propertized-buffer-identification.
8150 (ebrowse-update-member-buffer-mode-line): Likewise.
8151 (ebrowse--mode-strings): Removed.
8152 (ebrowse--mode-line-props): Removed.
8154 * files.el (auto-mode-alist): Add `EBROWSE'.
8156 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
8157 space before testing for end of buffer.
8158 (ebrowse-load): Removed.
8159 (ebrowse-revert-tree-buffer-from-file): Rewritten.
8160 (ebrowse-create-tree-buffer): Rewritten.
8161 (ebrowse-tree-mode): Read tree from buffer.
8163 * progmodes/ebrowse-ffh.el: Removed.
8165 2000-04-10 Kenichi Handa <handa@etl.go.jp>
8167 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
8169 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8171 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
8174 2000-04-09 Dave Love <fx@gnu.org>
8176 * files.el (backup-enable-predicate): Use
8177 temporary-file-directory, small-temporary-file-directory.
8178 (make-backup-file-name-function, backup-directory-alist): New
8180 (make-backup-file-name-1): New function.
8181 (make-backup-file-name): Use it.
8182 (find-backup-file-name): Likewise. Use format for clarity, not
8184 (file-newest-backup): Use make-backup-file-name.
8186 2000-04-09 Gerd Moellmann <gerd@gnu.org>
8188 * progmodes/ebrowse-ffh.el: New file.
8190 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
8192 (ebrowse-load): Add autoload.
8194 * finder.el (finder-commentary): Add autoload cookie.
8196 * mail/rfc2368.el: Correct author's email address.
8198 * progmodes/ebrowse.el: New file.
8200 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
8202 (easy-menu-do-add-item): Ditto.
8203 (easy-menu-define): Extend doc string.
8205 * jit-lock.el (with-buffer-unmodified): Use
8206 restore-buffer-modified-p.
8207 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
8208 (jit-lock-function, jit-lock-stealth-fontify): Don't use
8209 with-buffer-unmodified.
8211 2000-04-08 Dave Love <fx@gnu.org>
8213 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
8216 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
8218 * viper-util.el (viper-put-on-search-overlay): New subroutine.
8219 (viper-flash-search-pattern): No operation when using Emacs
8220 doesn't support face.
8221 Use `viper-put-on-search-overlay'.
8223 2000-04-04 Gerd Moellmann <gerd@gnu.org>
8225 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
8228 * progmodes/make-mode.el: Some doc fixes.
8229 (makefile-mode-abbrev-table): New variable.
8230 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
8231 (makefile-font-lock-keywords): Fontify includes and conditionals.
8232 (toplevel): Require `dabbrev' and `add-log' when compiling.
8234 * replace.el (perform-replace): Don't move forward one char
8235 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
8236 to do that because it leaves point 1 position after the last
8237 replacement, after everything has been replaced.
8239 * jit-lock.el (with-buffer-unmodified): New macro.
8240 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
8242 (jit-lock-function-1): Extracted from jit-lock-function; not
8243 preserving buffer's modified state.
8244 (jit-lock-function, jit-lock-stealth-fontify): Call
8245 jit-lock-function-1.
8247 * mail/rfc2368.el: Remove supernumerary copyright line.
8249 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
8251 * glasses.el: Provide facilities for inserting space before left
8252 parentheses and uncapitalization of identifiers.
8253 (glasses-mode): Try to remove old overlays in all cases.
8255 2000-04-03 Gerd Moellmann <gerd@gnu.org>
8257 * progmodes/compile.el (compile-internal): Display the compilation
8258 buffer in a different frame, if it's already displayed there.
8260 * mail/rfc2368.el: New file.
8262 * simple.el (sendmail-user-agent-compose): Recognize a `body'
8263 header and insert its value as mail body.
8265 * subr.el (member-ignore-case): New function.
8267 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
8268 (dabbrev--find-expansion): Ignore buffers matching a regexp
8269 from dabbrev-ignored-regexps.
8271 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
8272 to extensions handled by gzip.
8274 2000-04-03 Richard M. Stallman <rms@gnu.org>
8276 * files.el (insert-directory): List the total free space
8277 along with the used space.
8279 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
8280 line is followed by one that matches CITATION-REGEXP, end the
8283 2000-04-03 Markus Rost <rost@delysid.gnu.org>
8285 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
8286 (rmail-make-basic-summary-line): Use that option.
8288 2000-04-03 Kenichi Handa <handa@etl.go.jp>
8290 * international/mule-cmds.el (encoded-string-description):
8291 Rewritten. Try pretty description for ISO 2022 escape sequences
8292 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
8293 for hexadecimal format.
8295 2000-04-01 Dave Love <fx@gnu.org>
8297 * cpp.el: Change customization group to `c' from `C'.
8299 * vcursor.el (vcursor-move): Use display-color-p.
8301 * international/mule-util.el: Provide mule-utils.
8302 (string-to-sequence): Simplify and speed up.
8304 * international/mule.el (make-coding-system): Purecopy doc-string.
8306 * international/mule-cmds.el: Various menu changes.
8307 (describe-specified-language-support): Handle `Default'.
8308 (set-language-info): Purecopy `info'.
8310 2000-03-31 Andrew Innes <andrewi@gnu.org>
8312 * vc.el (vc-backend-diff): Return the correct status if we had to
8313 retry the rcsdiff command without the --brief option.
8315 2000-03-31 Dave Love <fx@gnu.org>
8317 * help.el (help-manyarg-func-alist): Correct several omissions.
8319 * add-log.el: Don't require cl, fortran.
8320 (add-log-current-defun-function): Doc fix.
8321 (change-log-version-number-regexp-list): Remove SCCS part. Doc
8323 (change-log-version-rcs): Function deleted.
8324 (change-log-version-number-search): Doc fix. Use
8325 vc-workfile-version. Avoid CL dolist.
8326 (add-change-log-entry): Just call add-log-current-defun to get
8327 defun. Simplify somewhat.
8328 (change-log-get-method-definition-1): Likewise.
8329 (add-log-current-defun): Return nil if calling
8330 add-log-current-defun-function does so. Move Fortran stuff to
8331 fortran.el. Return string without properties.
8333 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
8334 and :alpha: char classes.
8336 * mail/supercite.el: Defvar curline when compiling.
8337 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
8338 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
8339 rather than a-zA-Z0-9 to allow non-ASCII characters.
8341 2000-03-31 Gerd Moellmann <gerd@gnu.org>
8343 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
8345 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8348 * lpr.el (print-region-1): Use -d to specify printer name for
8349 systems `usg-unix-v*, `dgux', `hpux', `irix'.
8351 2000-03-31 Dave Love <fx@gnu.org>
8353 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
8354 for function definition in symbol's function value slot first
8355 instead of first consulting byte-compile-function-environment.
8357 2000-03-31 Kenichi Handa <handa@etl.go.jp>
8359 * language/european.el ("Polish"): New language environment.
8360 (setup-polish-environment): New function.
8362 2000-03-30 Gerd Moellmann <gerd@gnu.org>
8364 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8367 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
8368 trying to `load' the symbol of an autoload instead of the file
8369 recorded in the autoload. Fix error messages.
8371 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8373 * ps-print.el: PostScript programming fix for ghostview, doc fix.
8374 (ps-print-version): New version number (5.1.3).
8375 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
8376 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
8377 (ps-generate-postscript-with-faces): Code fix.
8378 (ps-color-values): XEmacs compatibility.
8379 (ps-print-background-image, ps-print-background-text, ps-printer-name)
8380 (ps-default-fg, ps-default-bg): Adjust customization.
8381 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
8382 (ps-color-scale): Renaming old ps-color-value fun.
8383 (ps-print-headers): Replace ps-print-header group to avoid conflict
8384 with ps-print-header variable.
8385 (ps-print-miscellany): New group.
8386 (ps-format-color, ps-rgb-color): New funs.
8387 (ps-default-foreground): New var.
8388 (ps-printer-name-option): New const.
8390 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
8393 (network-connection-host, network-connection-service): New variables
8394 (network-connection-mode): New mode, derived from comint-mode
8395 (network-connection-mode-setup): New function, saves host and
8396 service information in local variables.
8399 (locate-word-at-point): Added this function
8400 (locate): Default to using locate-word-at-point as input
8403 2000-03-29 Dave Love <fx@gnu.org>
8405 * calendar/appt.el: Doc fixes.
8406 (appt-check): Convert min-to-app to a string before passing to
8407 appt-disp-window-function or concat.
8408 (appt-delete-window): Remove test for frame-root-window.
8409 (appt-select-lowest-window, appt-convert-time): Simplify.
8411 * emacs-lisp/bytecomp.el: Doc fixes.
8412 (byte-compile-file-form-autoload): Update
8413 byte-compile-function-environment.
8415 2000-03-29 Andreas Schwab <schwab@suse.de>
8417 * emacs-lisp/autoload.el: Also print defsubst doc string
8420 * dired.el (dired-insert-directory): If dired-free-space-program
8421 failed just delete its output.
8423 2000-03-29 Dave Love <fx@gnu.org>
8425 * international/iso-cvt.el: Move provide to end. Doc fixes.
8426 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
8427 (iso-iso2sgml, iso-sgml2iso): New functions.
8428 (iso-cvt-define-menu): Fix some entries and use backquote for
8431 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
8433 2000-03-28 Gerd Moellmann <gerd@gnu.org>
8435 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
8436 ISO-DATE. If non-nil, return date in ISO 8601 format.
8438 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
8440 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
8441 if it ever becomes used.
8442 (log-edit-mode-hook): Default to vc-log-mode-hook.
8443 (log-edit-mode): Fix the docstring.
8445 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
8448 2000-03-26 Dave Love <fx@gnu.org>
8450 * net/browse-url.el (browse-url): Re-fix case of
8451 browse-url-browser-function being an alist.
8452 (browse-url): Add :link to defgroup.
8454 * files.el: Doc fixes.
8455 (file-truename): Include `[' in wildcard characters.
8456 (automount-dir-prefix): Customize.
8457 (find-file-wildcards): Add :version.
8458 (find-file-noselect): Simplify a mapcar call.
8460 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
8461 compatible with inf-lisp version.
8462 (eval-defun-1): Fix custom-declare-variable case.
8464 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
8466 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
8468 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8470 * Makefile (COMPILE_FIRST): New macro.
8471 (compile-files): Compile files from COMPILE_FIRST first.
8473 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
8476 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
8477 matching open parenthesis in column 0 to defun-prompt-regexp
8478 only if open-paren-in-column-0-is-defun-start is set.
8480 * sun-curs.el: Require CL at compile-time only.
8482 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
8483 instead of copy-list which is a function from CL.
8484 (msb--choose-menu, msb--mode-menu-cond)
8485 (msb--create-buffer-menu-2): Use dolist instead of mapc.
8486 (msb--init-file-alist): Use mapcar instead of mapcan.
8487 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
8488 `(' in column 0 in doc string.
8489 (msb--add-separators): Use mapcar instead of mapcan.
8491 * cus-dep.el: Require CL at compile-time only.
8493 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
8495 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
8496 (byte-compile-warnings): New warning `noruntime'.
8497 (byte-compile-constants, byte-compile-variables): Fix docstring.
8498 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
8499 execute `eval-whenc-compile's body.
8500 (byte-compile-unresolved-functions): Fix docstring.
8501 (byte-compile-eval): New function.
8502 (byte-compile-callargs-warn): Check if the function will be available
8503 at runtime (via property `byte-compile-noruntime').
8504 (byte-compile-print-syms): New function.
8505 (byte-compile-warn-about-unresolved-functions): Also warn about
8506 `noruntime' functions (and use `byte-compile-print-syms').
8507 (byte-compile-file): Capitalize the message.
8509 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8511 * mail/rmail.el (rmail-confirm-expunge): New user-option.
8512 (rmail-expunge): Ask for confirmation depending on the setting
8513 of rmail-confirm-expunge.
8515 2000-03-23 Gerd Moellmann <gerd@gnu.org>
8517 * Makefile (bootstrap-clean): If $(emacs) exists, build
8518 loaddefs.el first. A loaddefs.el that's not up-to-date might
8519 cause a bootstrap failure because things don't autoload as
8522 2000-03-23 Dave Love <fx@gnu.org>
8524 * net/browse-url.el: Restore previous use of
8525 browse-url-maybe-new-window.
8527 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8529 * ps-print.el: Skip banner page fix.
8530 (ps-print-version): New version number (5.1.2).
8531 (ps-begin-file, ps-end-file, ps-generate): Code fix.
8533 2000-03-23 Dave Pearson <davep@davep.org>
8535 * net/quickurl.el Changed the type of parameter passed to the
8536 function defined by `quickurl-format-function'. Before only the
8537 text of the URL was passed. Now the whole URL structure is passed
8538 and the function is responsible for extracting the parts it
8539 requires. Changed the default of `quickurl-format-function'
8541 (quickurl-insert): Changed the `funcall' of
8542 `quickurl-format-function' to match the above change.
8543 (quickurl-list-insert): Changed the `url' case so that it makes
8544 use of `quickurl-format-function', previous to this the format was
8547 2000-03-22 Gerd Moellmann <gerd@gnu.org>
8549 * startup.el: Change some spellings for the X Window System.
8551 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
8553 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
8554 up the code and the regexp and make sure the cursor is temporarily
8555 moved to the suspicious line while querying the user.
8557 2000-03-22 Jason Rumney <jasonr@gnu.org>
8559 * w32-fns.el (w32-charset-info-alist): Initialize.
8561 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8563 * ps-print.el: N-up last page fix.
8564 (ps-print-version): New version number (5.1.1).
8565 (ps-end-file, ps-end-job, ps-generate): Code fix.
8567 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8569 * files.el (find-file-run-dired): Update docstring.
8570 (find-directory-functions): New hook.
8571 (find-file-noselect): Run find-directory-functions rather than
8572 calling dired directly.
8574 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
8576 * pcvs.el: Add a minimal leading commentary.
8577 (cvs-make-cvs-buffer): Change the header part by removing the startup
8578 message and adding a `Module' entry. Also replace the FOOTER and
8579 HEADER special fileinfos with the new support in ewoc for updating
8580 its own footer and header.
8581 (cvs-update-header): Update to use the header/footer of the ewoc.
8582 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
8583 (cvs-is-within-p): New function.
8584 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
8585 to only examine some subset of the buffers.
8587 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
8588 `format' instead of our own ad-hoc functions.
8589 Remove HEADER and FOOTER cases, now handled in the EWOC.
8590 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
8592 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
8593 output to avoid scaring the user.
8594 (cvs-parse-table): Catch message for non-up-to-date commits.
8596 * pcvs-defs.el (cvs-startup-message): Remove.
8597 (cvs-global-menu): New autoloaded menu.
8599 * pcvs-util.el (cvs-string-fill): Remove.
8601 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
8602 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
8603 PP part of it and also make it work for footers and headers.
8604 (ewoc-create): Drop POS and BUFFER arguments.
8605 Use the DLL's dummy node to store the end-of-footer position.
8606 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
8607 (ewoc-refresh): Remove unused `header' variable.
8608 (ewoc-(get|set)-hf): New functions.
8610 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
8611 log-view-*-(message|file) and use easy-mmode-define-navigation.
8612 (log-view-message-re): Match SCCS format as well.
8613 And match the revision line rather than the dashed separator line.
8614 (log-view-mode): Use the new define-derived-mode.
8615 (log-view-current-tag): Fill in with an actual implementation.
8617 * cvs-status.el (cvs-status-(prev|next)): Rename from
8618 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
8619 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
8620 to let the output "breathe" a little more (more readable).
8621 (cvs-status-mode): Use the new define-derived-mode.
8623 * smerge-mode.el (smerge-auto-leave): New function and variable.
8624 (smerge-basic-map): Rename from smerge-basic-keymap.
8625 Change the bindings for smerge-diff-*.
8626 (smerge-*-map): Use easy-mmode-defmap.
8627 (smerge-(next|prev)): Use easy-mmode-define-navigation.
8628 (smerge-keep-*): Use smerge-auto-leave.
8630 2000-03-21 Jason Rumney <jasonr@gnu.org>
8632 * cus-edit.el (custom-button-face): Use 3D look for w32.
8633 (custom-button-pressed-face): Likewise.
8635 2000-03-21 Gerd Moellmann <gerd@gnu.org>
8637 * progmodes/etags.el (tags-case-fold-search): New user-option.
8638 (tags-loop-eval): New function. Bind case-fold-search around eval
8639 depending on the value of tags-case-fold-search.
8640 (tags-loop-continue): Use tags-loop-eval.
8641 (find-tag-in-order): Bind case-fold-search depending on the value
8642 of tags-case-fold-search.
8644 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8646 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
8647 (diff-end-of-hunk): Return the end position for use in
8648 `easy-mmode-define-navigation'.
8649 (diff-recenter): Remove.
8650 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
8651 of `easy-mmode-define-navigation'.
8652 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
8653 previous renaming) and fix to use new names.
8654 (diff-merge-strings): Use \n as separator: simpler, faster.
8655 (diff-mode): Use `define-derived-mode'.
8657 * derived.el (define-derived-mode): Don't autoload anymore.
8658 Prefer the macro-only version provided by easy-mmode.el.
8660 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
8661 `easy-mmode-define-derived-mode'.
8662 Use `combine-run-hooks'.
8663 (easy-mmode-define-navigation): New macro.
8665 * subr.el (combine-run-hooks): New function.
8667 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
8669 * term/x-win.el: Fontsets related initialization is simplified.
8671 * international/mule-diag.el (describe-font): Don't refer to
8672 global-fontset-alist, instead call font-list.
8673 (describe-fontset, list-fontsets, mule-diag): Likewise.
8674 (print-fontset): Adjusted for the change of fontset
8677 * international/fontset.el (x-charset-registries): Variable
8678 removed, instead the corresponding data is stored in the default
8680 (register-alternate-fontnames): Function removed.
8681 (resolved-ascii-font): Variable removed.
8682 (x-compose-font-name): Ignore the second argument REDOCE.
8683 (x-complement-fontset-spec): Complement only an ASCII font and
8684 element for those charsets than can use that ASCII font.
8685 (generate-fontset-menu): Don't refer to global-fontset-alist,
8686 instead call fontset-list.
8687 (uninstantiated-fontset-alist): Variable removed.
8688 (x-style-funcs-alist): Likewise.
8689 (fontset-default-styles): Likewise.
8690 (x-modify-font-name): Function removed.
8691 (create-fontset-from-fontset-spec): Ignore the argument
8693 (create-fontset-from-ascii-font): Docsting adjusted for the above
8695 (instantiate-fontset, resolve-fontset-name): Functions removed.
8696 (fontset-list): Now implemented by C code.
8698 * faces.el (read-face-font): Fix TABLE arg to completing-read.
8699 (describe-face): Include `font' attribute in the description.
8701 2000-03-21 Kenichi Handa <handa@etl.go.jp>
8703 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
8705 2000-03-20 Gerd Moellmann <gerd@gnu.org>
8707 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
8708 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
8709 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
8711 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
8712 about behavior of set-buffer-modified-p wrt redisplay.
8714 2000-03-19 Richard M. Stallman <rms@gnu.org>
8716 * view.el (view-mode-disable): Kill local binding of view-read-only.
8718 2000-03-18 Gerd Moellmann <gerd@gnu.org>
8720 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
8721 is a string, convert it to a syntax cell using string-to-syntax.
8723 * simple.el (syntax-code-table, syntax-flag-table): New variables.
8724 (string-to-syntax): New function.
8726 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
8727 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
8728 try to use passive ftp mode.
8730 2000-03-17 Gerd Moellmann <gerd@gnu.org>
8732 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
8734 * simple.el (append-to-buffer): Update point of windows after
8737 * abbrev.el (inverse-add-abbrev): Identify word by first moving
8738 forward then moving backward. Reindent.
8740 * frame.el (other-frame): Call x-focus-frame only if
8741 focus-follows-mouse is off.
8743 2000-03-17 Dave Love <fx@gnu.org>
8745 * pcvs-util.el (cvs-strings->string): Rename
8746 replace-regexps-in-string.
8748 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
8750 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
8751 regexp for labels cannot span several lines.
8753 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
8754 `(setq :<key> ':<key>)' to the macro expansion.
8756 2000-03-16 Dave Love <fx@gnu.org>
8758 * progmodes/f90.el (f90): Put custom group under `languages', not
8760 (f90-mode-hook): Customize.
8761 (f90-mode): Set add-log-current-defun-function.
8762 (f90-current-defun): New function.
8764 2000-03-16 Gerd Moellmann <gerd@gnu.org>
8766 * cus-edit.el (custom-variable-tag-face): Handle case that
8767 default face's height is not a number.
8768 (custom-face-tag-face, custom-group-tag-face-1)
8769 (custom-group-tag-face): Ditto.
8770 (custom-group-tag-face-1): Add :group.
8772 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
8774 2000-03-15 Gerd Moellmann <gerd@gnu.org>
8776 * pcvs-defs.el (toplevel): Remove autoload cookie for form
8779 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8781 * ps-print.el: PostScript user-defined prologue, PostScript error
8783 (ps-print-version): New version number (5.1).
8784 (ps-user-defined-prologue, ps-error-handler-message)
8785 (ps-print-prologue-0, ps-error-handler-alist): New vars.
8786 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
8787 (ps-insert-string): New function.
8789 2000-03-15 Kenichi Handa <handa@etl.go.jp>
8791 * international/ccl.el (ccl-compile-expression): Don't generate
8792 invalid self-assignment code.
8794 2000-03-14 Dave Love <fx@gnu.org>
8796 * subr.el (replace-regexp-in-string): Renamed from
8797 replace-regexps-in-string. Doc fix.
8799 2000-03-12 Dave Love <fx@gnu.org>
8801 * cus-edit.el: Doc fixes.
8802 (customize-set-variable, customize-save-variable): Rename args for
8804 (custom-variable-tag-face, custom-face-tag-face)
8805 (custom-group-tag-face-1, custom-group-tag-face): Modify from
8806 style which user identify as hyperlink.
8807 (hook): Don't add undefined functions to the hook.
8808 (debug-ignored-errors): Transfer message from bindings.el.
8810 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8812 * recentf.el (recentf-keep-non-readable-files-p): Remove
8813 double/nested definition.
8815 2000-03-12 Dave Love <fx@gnu.org>
8817 * facemenu.el (facemenu-get-face): Use display-color-p.
8818 * enriched.el (enriched-decode-foreground): Likewise.
8819 (enriched-decode-background): Likewise.
8820 * isearch.el (isearch-highlight): Likewise.
8821 * info-look.el (info-lookup): Likewise.
8822 * simple.el (completion-setup-function): Likewise.
8824 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
8827 * bindings.el (mode-line-format): Fix line-number and
8828 column-number items. Add help-echo for the background.
8829 (mode-line-mule-info): Modify help-echo.
8831 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
8834 * files.el (load-file): Allow completion to .elc.
8836 * man.el: Doc fixes.
8837 (Man-init-defvars): Use display-color-p to set fontification.
8839 * play/hanoi.el (hanoi-internal): Don't use oddp.
8841 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8843 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
8845 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
8847 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
8849 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
8852 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
8854 * font-lock.el (font-lock-keywords): Fix the doc now that
8855 regexp-opt-depth is unnecessary.
8856 (save-buffer-state): Set an edebug spec.
8857 (font-lock-fontify-anchored-keywords): Properly handle the case when
8858 the matcher goes past the limit.
8860 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
8861 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
8863 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
8864 dll.el and cookie.el (from Elib) with heavy renaming and other
8867 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
8868 Autoload the functions used.
8869 (easy-mmode-define-syntax): Fix CL typo.
8870 (easy-mmode-define-derived-mode): Improve the docstring generation.
8872 2000-03-10 Gerd Moellmann <gerd@gnu.org>
8874 * textmodes/texinfo.el (texinfo-version): Variable and function
8877 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
8879 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
8880 allow more flexibility.
8881 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
8883 (easy-mmode-defmap, easy-mmode-defsyntax)
8884 (easy-mmode-define-derived-mode): New macros.
8886 2000-03-09 Didier Verna <didier@xemacs.org>
8888 * rect.el (replace-rectangle): New function.
8890 2000-03-09 Dave Love <fx@gnu.org>
8892 * progmodes/fortran.el (fortran-comment-line-start): Define as
8894 (fortran-comment-line-start-skip): Don't match cpp stuff.
8895 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
8896 (fortran-mode-map): Remove over-eager custom-menu-create for now.
8897 (fortran-mode): Don't set fortran-comment-line-start-skip,
8898 fortran-comment-line-start here. Set comment-start,
8899 add-log-current-defun.
8900 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
8901 (fortran-current-defun): New function.
8903 2000-03-09 Gerd Moellmann <gerd@gnu.org>
8905 * emacs-lisp/re-builder.el: New file.
8907 * mouse.el (mouse-drag-region): Don't run up-event handler
8908 if hscroll has changed.
8910 * octave-mod.el (octave-font-lock-keywords): To font-lock the
8911 builtin operators, use `font-lock-builtin-face' for Emacs and
8912 `font-lock-preprocessor-face' otherwise.
8914 * font-lock.el (lisp-font-lock-keywords-1): Highlight
8915 `(defun (setf foo)' differently.
8917 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
8919 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
8920 (regexp-opt): Update comment and adapt the code the new meaning of
8921 the `paren' argument of regex-opt-group for shy-groups.
8922 (regexp-opt-depth): Handle shy groups as well as backslashed
8924 (regexp-opt-group): Turn the leading comment into a docstring.
8925 Allow `paren' to be a string (the string to use to open a group).
8926 Remove open-presuf and close-presuf. Instead of checking for `all
8927 one-char' and then later on check for `several one-char', handle
8928 both cases close together. Also apply a more generic algorithm
8929 for suffixes (the mirror image of the algorithm used for
8930 prefixes). Use shy-groups. Use nreverse rather than reverse.
8931 (regexp-opt-try-suffix): Removed.
8933 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
8934 from comint-mode-map, so we can just inherit from it. Also, move
8935 the initialization into the `defvar' since there's no docstring
8936 anyway and it's fairly short.
8937 (inferior-scheme-mode): Define it as derived-mode: the code is
8938 shorter and this way we inherit from comint-mode-map rather than
8941 * subr.el (replace-regexps-in-string): Properly handle the case
8942 where we match an empty string.
8944 * comint.el (comint-exec-1): Add the current-dir to the exec-path
8945 when the command has a directory component (such as "./testml").
8946 Also fix a typo in the comment.
8948 2000-03-08 Gerd Moellmann <gerd@gnu.org>
8950 * Makefile (compile-files): Compile files one by one because
8951 that's the only way to ensure a clean compilation environment for
8952 each individual file.
8954 * frame.el (other-frame): Call x-focus-frame.
8956 2000-03-07 Dave Love <fx@gnu.org>
8958 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
8959 :require to defcustom.
8961 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
8964 * files.el (auto-mode-alist): Add configure.in.
8966 * progmodes/autoconf.el: New file.
8968 2000-03-07 Gerd Moellmann <gerd@gnu.org>
8970 * mail/mh-e.el: Change maintainer to `none'.
8972 * recentf.el (recentf-keep-non-readable-files-p): Quote args
8973 to remove-hook and add-hook.
8975 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
8977 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
8979 (mail-send): Test mail-send-nonascii also for the new `mime' value.
8980 (sendmail-send-it): Conditionally add MIME headers specifying the
8983 2000-03-07 Dave Love <fx@gnu.org>
8985 * winner.el: Fix keywords, autoload cookies. Split
8986 eval-when-compile form to avoid compilation failure.
8988 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
8990 * international/mule.el: Modify comment about coding system
8991 property `coding-category'.
8992 (make-coding-system): New argument EOL-TYPE. Pay attention to
8993 coding-category property of PROPERTIES.
8995 * international/mule-conf.el (coding-category-utf-8,
8996 coding-category-utf-16-be, coding-category-utf-16-le): New coding
8997 categories. Include them in the argument for set-coding-priority.
8999 * international/mule-cmds.el (reset-language-environment): Include
9000 coding-category-utf-8, coding-category-utf-16-be, and
9001 coding-category-utf-16-le in the argument for set-coding-priority.
9002 (reset-language-environment): Initialize coding-category-utf-8,
9003 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
9005 2000-03-06 Karl Fogel <kfogel@red-bean.com>
9007 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
9008 code abstracted out of `bookmark-jump-noselect'. Now tries info
9009 extensions as well as compression extensions.
9010 (bookmark-jump-noselect): Use above new func.
9012 2000-03-03 Gerd Moellmann <gerd@gnu.org>
9014 * strokes.el: Change maintainer's mail address.
9016 2000-03-03 Kenichi Handa <handa@etl.go.jp>
9018 * international/mule-diag.el (list-character-sets): Make help-echo
9019 string by substitute-command-keys.
9020 (list-character-sets): Likewise.
9021 (sort-listed-character-sets): Call help-setup-xref.
9023 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9025 * time.el (display-time-mail-file): Add `none' to the list of
9028 2000-03-01 Dave Love <fx@gnu.org>
9030 * help.el (help-xref-go-back): Don't try to set position.
9032 * international/mule-diag.el (list-character-sets): Call
9033 help-setup-xref. Add help-echo to xrefs.
9034 (list-character-sets-1): Add help-echo to xrefs.
9036 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9038 * frame.el (blink-cursor-mode): Switch cursor on when turning
9041 * add-log.el (add-log-current-defun): Add support for
9044 * mail/rmail.el (rmail-quit-hook): New variable.
9046 2000-03-01 Dave Love <fx@gnu.org>
9048 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
9050 * help.el (help-xref-button): Add help-echo arg.
9051 (describe-function-1, describe-variable, help-make-xrefs): Use it.
9053 * faces.el (list-faces-display): Supply help-echo with
9056 * facemenu.el (list-text-properties-at): Set help-xref-stack to
9059 2000-03-01 Gerd Moellmann <gerd@gnu.org>
9061 * image.el (defimage): Look for image files in load-path.
9063 * frame.el (busy-cursor-delay-seconds): Change type to
9066 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9068 * recentf.el (recentf): Added version tag to the defgroup of
9071 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9073 * recentf.el (recentf-cleanup): Changed to remove excluded file
9075 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
9076 action to select/unselect a file.
9077 (recentf-edit-list): Code cleanup and improvement.
9078 (recentf-open-more-files-action): `recentf-open-more-files' button
9079 widget action to open a file.
9080 (recentf-open-more-files): No more use standard completion but
9082 (recentf-more-collection): Deleted.
9083 (recentf-more-history): Deleted.
9084 (recentf-setup-more-completion): Deleted.
9086 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9088 * recentf.el (recentf-mode): No more needs that Emacs is running
9089 under a window-system.
9091 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9093 * recentf.el (recentf-edit-list): New command to edit the recent
9094 list which allow the user to remove files.
9095 (recentf-edit-selected-items): New global variable, used by
9096 `recentf-edit-list' to hold the list of files to be removed from
9098 (recentf-make-menu-items): Updated to display a "Edit list..."
9099 menu item. Minor code cleanup.
9101 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9103 * recentf.el (recentf-open-more-files): New command to open files
9104 that are not displayed in the menu.
9105 (recentf-more-collection): New global variable holding the set of
9106 permissible completions used by `recentf-open-more-files'.
9107 (recentf-more-history): New global variable holding the history list
9108 used by `recentf-open-more-files' completion.
9109 (recentf-setup-more-completion): New function to setup completion for
9110 `recentf-open-more-files'.
9111 (recentf-make-menu-items): Updated to display a "More..." menu item.
9113 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9115 * recentf.el (recentf-menu-action): Doc fixed.
9117 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9119 * recentf.el (recentf-menu-filter): Doc updated.
9120 (recentf-update-menu-hook): Allow menu filters to force menu update.
9121 (recentf-make-menu-items): New menu filter handling.
9122 (recentf-make-menu-item): New helper function.
9123 (recentf-menu-elements): New menu handling function.
9124 (recentf-sort-ascending): Updated to new menu filter handling.
9125 (recentf-sort-descending): Updated to new menu filter handling.
9126 (recentf-sort-basenames-ascending): New menu filter function.
9127 (recentf-sort-basenames-descending): New menu filter function.
9128 (recentf-show-basenames): New menu filter function.
9129 (recentf-show-basenames-ascending): New menu filter function.
9130 (recentf-show-basenames-descending): New menu filter function.
9132 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9134 * diary-lib.el (list-diary-entries): Don't try to go forward at
9135 the end of the buffer.
9137 2000-02-29 Kenichi Handa <handa@etl.go.jp>
9139 * international/mule-diag.el (list-character-sets): Completely
9141 (sort-listed-character-sets): New function.
9142 (list-character-sets-1): Completely rewritten.
9143 (list-character-sets-2): New function.
9144 (non-iso-charset-alist): New variable.
9145 (decode-codepage-char): New function.
9146 (charset-history): New variable.
9147 (read-charset) (list-block-of-chars)
9148 (list-iso-charset-chars)
9149 (list-non-iso-charset-chars)
9150 (list-charset-chars): New functions.
9151 (mule-diag): Call list-character-sets-2, not
9152 list-character-sets-2.
9153 (dump-charsets): Likewise.
9155 2000-02-29 Gerd Moellmann <gerd@gnu.org>
9157 * dired-x.el (dired-filename-at-point): Add `@' to valid
9158 file name characters.
9159 (dired-filename-at-point): Handle ange-ftp file names.
9161 * frame.el (frame-notice-user-settings): Use assq-delete-all
9162 instead of assoc-delete-all.
9163 (frame-notice-user-settings): Ditto.
9165 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
9168 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
9170 * calculator.el (calculator-use-menu): New option.
9171 (calculator-initial-bindings): Changed some bindings to work as
9173 (calculator-forced-input): Removed.
9174 (calculator-restart-other-mode): New variable.
9175 (calculator-mode-map): Set up menu.
9177 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
9179 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
9182 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
9184 * viper-cmd.el (viper-envelop-ESC-key): added the option to
9185 translate all ESC key sequences.
9186 (viper-goto-mark-subr): restore markers for files for which
9188 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
9189 * viper-util.el (viper-set-replace-overlay-glyphs,
9190 viper-set-replace-overlay): always check if the replacement
9192 * viper.el (viper-vi-state-mode-list): added major modes.
9193 * ediff-wind.el: minor comment changes.
9194 * ediff.el: copyright notice date fix.
9196 2000-02-27 Jason Rumney <jasonr@gnu.org>
9198 * faces.el (face-font-family-alternatives): Add arial to helv.
9199 (mode-line, header-line, tool-bar): Same default as x for w32.
9200 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
9201 face-font-family-alternatives from working.
9202 * term/w32-win.el (mouse-set-font): Do not build fontset from
9205 2000-02-25 Sam Steingold <sds@goems.com>
9207 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
9210 2000-02-25 Richard M. Stallman <rms@gnu.org>
9212 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
9214 2000-02-25 Gerd Moellmann <gerd@gnu.org>
9216 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
9219 * frame.el (busy-cursor-delay-seconds): New option.
9221 2000-02-24 Gerd Moellmann <gerd@gnu.org>
9223 * frame.el (show-cursor-in-non-selected-windows): New option.
9225 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9227 * diary-lib.el (include-other-diary-files): Undo the selective
9228 display in any included file and don't kill it.
9230 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
9232 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
9233 bar. Menu items converted to (menu-item format, help strings
9235 [downcase, upcase]: Don't enable on MS-DOS.
9236 [symlink, symlinks]: Don't show if make-symbolic-link is not
9238 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
9240 2000-02-23 Dave Love <fx@gnu.org>
9242 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
9243 (backward-kill-word): Revert addition of * to interactive spec --
9246 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
9247 (backward-kill-sentence, kill-sentence): Likewise.
9249 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
9250 scratch buffer name.
9251 (gud-format-command): Use int-to-string in ?l case. Simplify
9254 * term/w32-win.el (internal-face-interactive): Update prompt for
9257 * mail/footnote.el (footnote): Add :version to defgroup.
9258 (footnote-section-tag-regexp): Customize.
9259 (footnote-start-tag, footnote-end-tag): New option.
9260 (footnote-latin-regexp): New variable.
9261 (Footnote-latin): New function.
9262 (footnote-style-alist): Add element for latin style.
9263 (footnote-style): Moved.
9264 (Footnote-goto-footnote): Use eq to test arg.
9266 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
9268 * emacs-lisp/byte-opt.el: Change old backquote syntax.
9269 (byte-compile-trueconstp): Include keywords.
9270 (byte-optimize-quote, byte-optimize-lapcode): Use
9271 byte-compile-const-symbol-p.
9272 (byte-optimize-char-before): New optimization.
9274 * emacs-lisp/bytecomp.el: Change old backquote syntax.
9275 (byte-compile-const-symbol-p): New function.
9276 (byte-compile-constp, byte-compile-out-toplevel)
9277 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
9280 * subr.el (define-key-after): Default AFTER to t. Doc fix.
9282 2000-02-23 Kenichi Handa <handa@etl.go.jp>
9284 * international/encoded-kb.el: Be sure to update minor-mode-alist
9285 and minor-mode-map-alist.
9286 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
9287 codes SS2 and SS3 correctly.
9288 (encoded-kbd-self-insert-ccl): New function.
9289 (encoded-kbd-setup-keymap): New function.
9290 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
9291 by calling encoded-kbd-setup-keymap.
9293 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
9295 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
9298 2000-02-22 Dave Love <fx@gnu.org>
9300 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
9301 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
9303 (lisp-mode-syntax-table): Set up for #|...|# comments.
9304 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
9305 classes. Match `defface'.
9306 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
9307 (eval-defun-1): Fix for defcustom.
9308 (lisp-indent-region): Doc fix.
9310 * subr.el (when, unless, split-string): Doc fix.
9311 (read-passwd): Move call of clear-this-command-keys to the right
9313 (replace-regexps-in-string): New function.
9315 2000-02-22 Gerd Moellmann <gerd@gnu.org>
9317 * help.el (describe-variable): Set syntax table to
9318 emacs-lisp-mode-syntax-table when moving forward over the
9321 2000-02-22 Dave Love <fx@gnu.org>
9323 * xt-mouse.el: Doc fixes.
9324 (xterm-mouse-position-function): New function, replacing advice of
9326 (xterm-mouse-mode): Use it. Don't turn on under a window system.
9328 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
9330 2000-02-21 Gerd Moellmann <gerd@gnu.org>
9332 * format.el (format-annotate-single-property-change): Handle
9333 properties.with dotted-list values.
9334 (format-proper-list-p): New function.
9336 * enriched.el (enriched-face-ans): Handle '(foreground-color
9337 . COLOR) and (background-color . COLOR).
9339 2000-02-20 Dave Love <fx@gnu.org>
9341 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
9342 and assignments to it.
9343 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
9345 (make-flyspell-overlay): Use it.
9346 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
9348 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
9349 (lm-get-header-re): Defun, not defsubst.
9350 (lm-get-package-name): Defun, not defsubst. Simplify.
9351 (lm-version): Doc fix. Simplify.
9352 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
9353 (lm-crack-address, lm-last-modified-date, lm-commentary)
9354 (lm-verify, lm-synopsis): Simplify.
9355 (lm-report-bug): Require emacsbug. Use compose-mail.
9357 2000-02-20 Gerd Moellmann <gerd@gnu.org>
9359 * dired.el (dired-mode): Call propertized-buffer-identification
9360 to set mode-line-buffer-identification to something having
9361 the right text properties.
9363 * bindings.el (propertized-buffer-identification): New function.
9365 2000-02-20 Dave Love <fx@gnu.org>
9367 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
9368 check for t-mouse too.
9370 * cus-start.el: Make echo-keystrokes `number'.
9372 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
9374 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
9375 Don't call ring-empty-p unless tags-location-ring is bound.
9376 From Noah Friedman <friedman@splode.com>.
9378 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
9380 * progmodes/hideshow.el (hs-flag-region): No longer use
9381 `intangible' overlay property.
9383 (hs-toggle-hiding): New command.
9384 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
9386 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
9387 Fix omission bug: Run `hs-minor-mode-hook' for both activation
9390 2000-02-18 Gerd Moellmann <gerd@gnu.org>
9392 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
9394 2000-02-17 Gerd Moellmann <gerd@gnu.org>
9396 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
9398 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
9399 of `*' to handle `(* ... *)' comments.
9401 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
9403 * faces.el (list-faces-display): Use display-mouse-p instead of
9406 * menu-bar.el (global-map): Menu-bar items converted to the new
9407 format (menu-item..., rearranged for better CUA compliance, and
9408 their names changed for better clarity. Help strings added.
9410 * international/mule-cmds.el (mule-menu-keymap)
9411 (describe-language-environment-map, set-coding-system-map)
9412 (setup-language-environment-map): Convert to new (menu-item...
9413 form, add help strings. Change names of menu items for better
9414 clarity. "Mule" menu-bar item removed (it's now in the "Options"
9417 2000-02-17 Gerd Moellmann <gerd@gnu.org>
9419 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
9422 2000-02-16 Dave Love <fx@gnu.org>
9424 * faces.el: Don't require custom. Add more specific :groups to
9426 (set-face-attribute): Purecopy args.
9427 (read-face-name): Default to name at point and use it in prompt.
9428 Remove colon from arg in all callers.
9429 (list-faces-display): Hyperlink to face descriptions and customize
9432 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
9434 * wid-edit.el (widget-match-inline): An atom never matches a
9437 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9439 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9440 at ':' characters by call to split-string.
9442 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9444 * textmodes/bibtex.el: Added RCS version identification.
9446 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9448 * textmodes/bibtex.el: Some temporary comments removed.
9449 (bibtex-field-name, bibtex-entry-type): Made the relationship
9451 (bibtex-field-const): Allow capital letters.
9452 (bibtex-start-of-string): Deleted because unused.
9454 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9455 use the term 'reference' to describe a bibtex entry as a whole.
9456 Further, reference keys are no longer called 'labels'.
9457 (bibtex-keys): Renamed to bibtex-reference-keys.
9458 (bibtex-reformat-previous-labels): Renamed to
9459 bibtex-reformat-previous-reference-keys.
9460 (bibtex-reference-type): Renamed to bibtex-entry-type.
9461 (bibtex-reference-head): Renamed to bibtex-entry-head.
9462 (bibtex-reference-maybe-empty-head): Renamed to
9463 bibtex-entry-maybe-empty-head.
9464 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9465 (bibtex-search-reference): Renamed to bibtex-search-entry.
9466 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9467 bibtex-enclosing-entry-maybe-empty-head.
9468 (bibtex-entry-field-alist, bibtex-entry-head,
9469 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9470 bibtex-map-entries, bibtex-search-entry,
9471 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9472 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9473 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9474 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9475 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9476 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9477 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9479 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9481 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9483 (bibtex-format-field-delimiters): New function, functionality
9484 extracted from bibtex-format-entry.
9485 (bibtex-autokey-get-yearfield-digits): New function, functionality
9486 extracted from bibtex-autokey-get-yearfield.
9488 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9489 entries in order to avoid stack overflow in the regexp matcher if
9490 field contents become large.
9491 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9492 bibtex-field-string-part-not-braced,
9493 bibtex-field-string-part-no-inner-braces,
9494 bibtex-field-string-part-1-inner-brace,
9495 bibtex-field-string-part-2-inner-braces,
9496 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9497 bibtex-field-string-quoted, bibtex-field-string,
9498 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9499 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9500 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9501 as parsing is now performed by the following functions.
9502 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9503 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9504 bibtex-parse-field-string, bibtex-search-forward-field-string,
9505 bibtex-parse-association, bibtex-field-name-for-parsing,
9506 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9507 bibtex-search-forward-field, bibtex-search-backward-field,
9508 bibtex-start-of-field, bibtex-end-of-field,
9509 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9510 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9511 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9512 bibtex-parse-string, bibtex-search-forward-string,
9513 bibtex-search-backward-string, bibtex-start-of-string,
9514 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9515 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9516 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9517 entries. Instead of reporting the results of the parsing by
9518 match-beginning or match-end, these functions return data structures
9519 that hold the corresponding positions.
9520 (bibtex-enclosing-field): Changed to also report field boundaries by
9521 return values rather than by match-beginning or match-end. The
9522 following functions have been adapted to use the new parsing
9524 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9525 bibtex-enclosing-field, bibtex-format-entry,
9526 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9527 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9528 bibtex-print-help-message, bibtex-end-of-entry,
9529 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9530 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9531 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9533 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9534 bibtex-map-entries, bibtex-flash-head,
9535 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9536 bibtex-autokey-change, bibtex-autokey-get-namefield,
9537 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9538 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9539 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9540 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9541 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9542 order to make the new binding of case-fold-search immediately
9545 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9547 * textmodes/bibtex.el: Copyright notice is up to date.
9548 Added constant 'bibtex-maintainer-salutation.
9550 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9551 than make-temp-name, use match-string-no-properties and eliminate
9552 a quadratic behavior when building bibtex-strings.
9554 * bibtex.el (bibtex-reference-key): Accept string entries whose
9555 reference key contains upper case letters.
9557 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9559 * bibtex.el (bibtex-reference-head): Allow entries to start with
9562 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9564 * bibtex.el: Hiding of entry bodies is not longer provided by
9565 bibtex.el directly. Instead the hideshow package can be used.
9566 Added a special bibtex entry to hs-special-modes-alist.
9567 (bibtex-hs-forward-sexp): Added for hideshow.el.
9569 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9571 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9572 at ':' characters by call to split-string.
9574 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9576 * textmodes/bibtex.el: Added RCS version identification.
9578 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9580 * textmodes/bibtex.el: Some temporary comments removed.
9581 (bibtex-field-name, bibtex-entry-type): Made the relationship
9583 (bibtex-field-const): Allow capital letters.
9584 (bibtex-start-of-string): Deleted because unused.
9586 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9587 use the term 'reference' to describe a bibtex entry as a whole.
9588 Further, reference keys are no longer called 'labels'.
9589 (bibtex-keys): Renamed to bibtex-reference-keys.
9590 (bibtex-reformat-previous-labels): Renamed to
9591 bibtex-reformat-previous-reference-keys.
9592 (bibtex-reference-type): Renamed to bibtex-entry-type.
9593 (bibtex-reference-head): Renamed to bibtex-entry-head.
9594 (bibtex-reference-maybe-empty-head): Renamed to
9595 bibtex-entry-maybe-empty-head.
9596 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9597 (bibtex-search-reference): Renamed to bibtex-search-entry.
9598 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9599 bibtex-enclosing-entry-maybe-empty-head.
9600 (bibtex-entry-field-alist, bibtex-entry-head,
9601 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9602 bibtex-map-entries, bibtex-search-entry,
9603 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9604 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9605 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9606 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9607 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9608 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9609 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9611 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9613 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9615 (bibtex-format-field-delimiters): New function, functionality
9616 extracted from bibtex-format-entry.
9617 (bibtex-autokey-get-yearfield-digits): New function, functionality
9618 extracted from bibtex-autokey-get-yearfield.
9620 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9621 entries in order to avoid stack overflow in the regexp matcher if
9622 field contents become large.
9623 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9624 bibtex-field-string-part-not-braced,
9625 bibtex-field-string-part-no-inner-braces,
9626 bibtex-field-string-part-1-inner-brace,
9627 bibtex-field-string-part-2-inner-braces,
9628 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9629 bibtex-field-string-quoted, bibtex-field-string,
9630 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9631 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9632 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9633 as parsing is now performed by the following functions.
9634 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9635 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9636 bibtex-parse-field-string, bibtex-search-forward-field-string,
9637 bibtex-parse-association, bibtex-field-name-for-parsing,
9638 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9639 bibtex-search-forward-field, bibtex-search-backward-field,
9640 bibtex-start-of-field, bibtex-end-of-field,
9641 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9642 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9643 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9644 bibtex-parse-string, bibtex-search-forward-string,
9645 bibtex-search-backward-string, bibtex-start-of-string,
9646 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9647 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9648 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9649 entries. Instead of reporting the results of the parsing by
9650 match-beginning or match-end, these functions return data structures
9651 that hold the corresponding positions.
9652 (bibtex-enclosing-field): Changed to also report field boundaries by
9653 return values rather than by match-beginning or match-end. The
9654 following functions have been adapted to use the new parsing
9656 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9657 bibtex-enclosing-field, bibtex-format-entry,
9658 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9659 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9660 bibtex-print-help-message, bibtex-end-of-entry,
9661 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9662 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9663 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9665 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9666 bibtex-map-entries, bibtex-flash-head,
9667 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9668 bibtex-autokey-change, bibtex-autokey-get-namefield,
9669 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9670 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9671 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9672 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9673 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9674 order to make the new binding of case-fold-search immediately
9677 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9679 * textmodes/bibtex.el: Copyright notice is up to date.
9680 Added constant 'bibtex-maintainer-salutation.
9682 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9683 than make-temp-name, use match-string-no-properties and eliminate
9684 a quadratic behavior when building bibtex-strings.
9686 * bibtex.el (bibtex-reference-key): Accept string entries whose
9687 reference key contains upper case letters.
9689 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9691 * bibtex.el (bibtex-reference-head): Allow entries to start with
9694 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9696 * bibtex.el: Hiding of entry bodies is not longer provided by
9697 bibtex.el directly. Instead the hideshow package can be used.
9698 Added a special bibtex entry to hs-special-modes-alist.
9699 (bibtex-hs-forward-sexp): Added for hideshow.el.
9701 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9703 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
9704 proceedings entry type (for cross referencing). Thanks to Wagner
9705 Toledo Correa for the suggestion.
9707 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
9709 2000-02-14 Kenichi Handa <handa@etl.go.jp>
9711 * international/characters.el: Setup case table for Vietnamese.
9713 2000-02-12 Gerd Moellmann <gerd@gnu.org>
9715 * uniquify.el (toplevel): Require CL at compile time.
9716 (uniquify-push): Removed.
9718 * shadowfile.el (shadow-when): Removed.
9720 * tempo.el (tempo-dolist, tempo-mapc): Removed.
9721 (tempo-process-and-insert-string): Use dolist instead of
9724 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
9725 regexp for paragraph-start.
9727 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
9730 2000-02-10 Dave Love <fx@gnu.org>
9732 * wid-edit.el: (widgets) [defgroup]: Remove url link.
9733 (widget-color-choice-list, widget-color-history, widget-mouse-help):
9735 (widget-specify-field, widget-specify-button): Don't use
9736 widget-mouse-help as help-echo property.
9737 (default): Use #'ignore for :validate and :mouse-down-action.
9738 (checkbox): Add help-echo.
9739 (widget-sexp-validate): Rewritten to clarify error messages.
9740 (character): Use char-valid-p in :match function.
9741 (widget-color-complete): Use facemenu-color-alist.
9742 (widget-color-action): Use facemenu-read-color.
9744 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
9745 set up `caar' &c that we now have.
9747 2000-02-09 Ray Blaak <blaak@gnu.org>
9749 * delphi.el: Make resourcestring a declaration region, like const
9752 2000-02-09 Dave Love <fx@gnu.org>
9754 * bindings.el (mode-line-input-method-map): New variable.
9755 (mode-line-mule-info): Use it; fix last change.
9756 (mode-line-mode-menu): Move definition.
9757 (mode-line-mouse-sensitive-p): Deleted.
9758 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
9759 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
9762 * startup.el (command-line-1): Don't call
9763 make-mode-line-mouse-sensitive.
9765 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9767 * mail/rmail.el (rmail-retry-failure): Use
9768 rmail-beginning-of-message before rmail-toggle-header, because the
9769 former toggles headers.
9771 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
9773 * diff-mode.el (diff-kill-junk): New interactive function.
9774 (diff-reverse-direction): Use delete-and-extract-region.
9775 (diff-post-command-hook): Restrict the area so that the hook also works
9776 outside of any diff hunk. This is necessary for the minor-mode.
9777 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
9778 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
9780 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
9781 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
9782 so that it can be used more easily in <foo>-mode-hook. Also make sure
9783 to avoid duplicate entries.
9784 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
9785 (font-lock-remove-keywords): Just as was done for `add', allow it to
9786 work even if font-lock-mode is nil. Also make sure we don't modify
9787 any pre-existing list by forcing a copy-sequence. Finally rename
9788 `major-mode' to `mode'.
9789 (font-lock-fontify-syntactic-anchored-keywords)
9790 (font-lock-fontify-anchored-keywords)
9791 (font-lock-fontify-keywords-region): Use line-end-position.
9792 Don't make `font-lock-multiline' local (it's now done in
9793 font-lock-set-defaults).
9794 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
9795 move the `font-lock-fontified' creation to inside the `unless'.
9797 2000-02-06 Andrew Innes <andrewi@gnu.org>
9799 * term/w32-win.el (x-handle-args): Comment out call to message,
9800 which occurs before window system is initialized.
9802 * makefile.nt: Add support for recompiling lisp code.
9804 2000-02-04 Dave Love <fx@gnu.org>
9806 * bindings.el (mode-line-mule-info): Fix/extend last change.
9808 * completion.el: Replace completion-dolist with dolist.
9810 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
9813 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
9815 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
9816 environment names before they go into the section regexp.
9818 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
9819 char class in regexp.
9821 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
9822 `case-fold-search' to nil.
9824 * progmodes/idlwave.el (idlwave-template): Respect
9825 `idlwave-abbrev-change-case'.
9826 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
9827 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
9828 idlwave-while): respect `idlwave-reserved-word-upcase'.
9829 (idlwave-rw-case): New function.
9830 (idlwave-statement-match): Fixed problem with assignment regexp.
9831 (idlwave-font-lock-keywords): Improved regexp for keyword
9833 (idlwave-surround): New argument LENGTH to support padding of
9834 operators longer than 1 char.
9836 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
9837 idlwave-shell-expression-overlay. Implemented printing of
9838 expressions on higher levels of the calling stack.
9839 (idlwave-shell-display-level-in-calling-stack): Restore stack
9841 (idlwave-retrieve-expression-from-level): New function.
9842 (idlwave-shell-last-calling-stack): Variable removed.
9843 (idlwave-shell-reset): Argument action reversed (`visible' to
9844 `hidden'). Also remove stop-line overlay.
9845 (idlwave-shell-calling-stack-routine): New variable.
9846 (idlwave-shell-parse-stack-and-display): Messages now display
9847 negative level numbers.
9848 (idlwave-shell-mode): Set `modeline-format'.
9849 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
9850 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
9852 (idlwave-shell-print-expression-function): New option.
9854 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
9855 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
9856 `tool-bar' instead of `toolbar'.
9858 2000-02-02 Dave Love <fx@gnu.org>
9860 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
9861 emacs-lisp-mode-hook. Don't check for defalias being defined.
9863 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
9864 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
9865 the new builtins directly.
9867 * whitespace.el (whitespace): Add :version to defgroup.
9869 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
9872 * thingatpt.el (sexp-at-point, symbol-at-point)
9873 (number-at-point, list-at-point): Add autoload cookie.
9875 * recentf.el (recentf): Add :version to defgroup.
9877 * quickurl.el (quickurl): Add :version to defgroup.
9879 * elide-head.el (elide-head): Use point-marker more.
9881 * bs.el (bs): Add :version to defgroup.
9883 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
9885 * progmodes/delphi.el (delphi): Add :version to defgroup.
9887 2000-02-02 Gerd Moellmann <gerd@gnu.org>
9889 * ange-ftp.el (ange-ftp-write-region): Handle case that
9890 succeeding process operation sets a different coding system.
9892 * calculator.el: New file.
9894 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
9896 * frame.el (frames-on-display-list, framep-on-display): New
9898 (display-mouse-p, display-popup-menus-p, display-graphic-p)
9899 (display-selections-p, display-screens, display-pixel-width)
9900 (display-pixel-height, display-mm-width, display-mm-height)
9901 (display-backing-store, display-save-under, display-planes)
9902 (display-color-cells, display-visual-class): New functions.
9904 * term/tty-colors.el (tty-color-gray-shades): New function.
9906 * faces.el (display-color-p): Use framep-on-display.
9907 (display-grayscale-p): New function.
9909 2000-01-31 Dave Love <fx@gnu.org>
9911 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
9912 (create-fontset-from-x-resource): Don't concat integers.
9914 2000-01-31 Inge Frick <inge@nada.kth.se>
9916 * view.el: Some changes in documentation. Removed some trailing
9917 whitespace. Changed some parameter names to agree with
9919 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
9920 window is not deleted. Modifies change 1998-04-26.
9922 2000-01-31 Gerd Moellmann <gerd@gnu.org>
9924 * windmove.el: New file.
9926 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
9927 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
9928 progmodes/ebnf-yac.el: Update copyright and license info.
9930 * jit-lock.el (jit-lock-function): Widen before calculating end
9932 (jit-lock-stealth-chunk-start): Rewritten.
9934 * info.el (Info-title-face-alist): Removed.
9935 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
9937 (Info-fontify-node): Use these faces.
9939 2000-01-30 Gerd Moellmann <gerd@gnu.org>
9941 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
9942 (cl-macro-list1): Recognize `&allow-other-keys' instead of
9943 `&allow-other-keywords'.
9945 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
9946 the list of directories scanned heuristically.
9948 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
9951 2000-01-30 Jason Rumney <jasonr@gnu.org>
9953 * w32-fns.el: Define w32-tty-standard-colors.
9955 * startup.el (command-line): Use w32-tty-standard-colors when in
9958 2000-01-30 Dave Love <fx@gnu.org>
9960 * jka-compr.el (jka-compr-load): Fix up load-history.
9962 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
9964 * emacs-lisp/cl-macs.el: Revert previous change.
9966 2000-01-29 Dave Love <fx@gnu.org>
9968 * facemenu.el: Purecopy various strings.
9970 * timezone.el (timezone-fix-time): Window against 69 for two-digit
9971 years. Deal with three-digit years.
9973 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
9975 (help-back-label): Purecopy it.
9977 2000-01-18 Gerd Moellmann <gerd@gnu.org>
9979 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
9980 variable. If non-nil, order the buffer list according to the
9981 currently selected frame.
9982 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
9983 non-nil, pass the selected frame to function buffer-list.
9985 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9987 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
9989 2000-01-28 Dave Love <fx@gnu.org>
9991 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
9993 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
9994 Don't use lisp-indent-hook property.
9997 * subr.el: Move out indent and edebug specs for when and unless.
9999 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
10002 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
10005 2000-01-28 Gerd Moellmann <gerd@gnu.org>
10007 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
10008 `collecting' as synonym for `collect'.
10010 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
10011 for the case it contains spaces.
10013 * simple.el (what-cursor-position): Change formatting of
10016 * frame.el (delete-other-frames): New function.
10017 (toplevel): Bind it to C-x 5 1.
10019 * sort.el (sort-numeric-base): New option.
10020 (sort-numeric-fields): If number starts with `0' or `0[xX[',
10021 interpret it as octal or hexadecimal. Use sort-numeric-base
10024 * progmodes/glasses.el: New file.
10026 2000-01-27 Gerd Moellmann <gerd@gnu.org>
10028 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
10029 userids differently.
10031 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10032 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10033 progmodes/ebnf-yac.el: New files.
10035 2000-01-26 Dave Love <fx@gnu.org>
10037 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
10038 on a function with an empty body. [From Eric Ludlam.]
10040 2000-01-25 Andre Spiegel <spiegel@gnu.org>
10042 * vc.el (vc-version-diff): Make sure file name is expanded.
10044 2000-01-25 Gerd Moellmann <gerd@gnu.org>
10046 * scroll-bar.el (scroll-bar-timer): Variable removed.
10047 (scroll-bar-toolkit-scroll): Don't use a timer.
10049 2000-01-25 Kenichi Handa <handa@etl.go.jp>
10051 * language/thai-util.el (thai-composition-function): Delete
10054 2000-01-24 Dave Love <fx@gnu.org>
10056 * fortran.el (fortran-mode): Use beginning-of-defun-function,
10057 end-of-defun-function.
10059 * font-lock.el (turn-on-font-lock): Don't depend on window-system
10062 2000-01-22 Jason Rumney <jasonr@gnu.org>
10064 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
10065 conflicts with new face support.
10067 2000-01-22 Richard M. Stallman <rms@gnu.org>
10069 * replace.el (query-replace): Rename last arg to DELIMITED.
10070 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
10071 (query-replace-regexp): Likewise.
10073 2000-01-20 Richard M. Stallman <rms@gnu.org>
10075 * subr.el (with-syntax-table): Use make-symbol, not gensym.
10077 * emacs-lisp/lisp.el (beginning-of-defun-function):
10078 Variable renamed from beginning-of-defun.
10079 Do not call make-variable-buffer-local.
10080 (beginning-of-defun-raw): Use new variable name; doc fix.
10081 (beginning-of-defun): Doc fix.
10082 (end-of-defun-function): Variable renamed from end-of-defun.
10083 Do not call make-variable-buffer-local.
10084 (end-of-defun): Use new variable name; doc fix.
10086 * subr.el (dolist, dotimes): Copied from cl-macs.el
10089 * mail/undigest.el (rmail-digest-end-regexps):
10090 Variable replaces rmail-digest-end-regexp.
10091 Allows multiple regexps for detecting the end line.
10092 (undigestify-rmail-message): Corresponding changes.
10094 2000-01-19 Dave Love <fx@gnu.org>
10096 * files.el (user-init-file): Don't declare here -- is primitive.
10098 * startup.el (command-line): Check for compiled user-init-file and
10099 set to uncompiled version if necessary.
10101 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10103 * mail/undigest.el (rmail-digest-end-regexp): New user option.
10104 (undigestify-rmail-message): Use it.
10106 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
10108 2000-01-17 Gerd Moellmann <gerd@gnu.org>
10110 * tmm.el (tmm-goto-completions): Adapt to prompt being part
10113 2000-01-14 Gerd Moellmann <gerd@gnu.org>
10115 * emacs-lisp/copyright.el (copyright-update): Removed the
10116 requirement for a trailing space from `copyright-regexp', to
10117 support copyrights with owner specified on a separate line..
10119 * align.el: New file.
10121 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
10123 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
10125 2000-01-13 Dave Love <fx@gnu.org>
10127 * ph.el: Removed. (Obsoleted by EUDC.)
10129 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10131 * net/eudc.el (toplevel): Remove autoloaded code installing
10132 menu with easymenu, because that causes build problems.
10134 * frame.el (frame-notice-user-settings): New variable.
10135 (frame-notice-user-settings): Don't modify frame parameters
10136 if called a second time.
10138 2000-01-13 Richard M. Stallman <rms@gnu.org>
10140 * frame.el (frame-notice-user-settings):
10141 Notice default-frame-parameters even for non-window frames.
10143 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10145 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
10147 (eudc-bob-can-display-inline-images): Extend for Emacs.
10148 (eudc-bob-toggle-inline-display): Ditto.
10149 (eudc-bob-display-jpeg): Ditto.
10151 2000-01-12 Gerd Moellmann <gerd@gnu.org>
10153 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
10154 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
10155 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
10157 * add-log.el (add-change-log-entry): Fix error trying an `(insert
10160 * subdirs.el: Add `net' directory.
10162 * net: New directory.
10164 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
10165 eval-last-sexp. Don't bind debug-on-error here.
10166 (eval-last-sexp): New function. Bind debug-on-error if
10167 eval-expression-debug-on-error is non-nil.
10168 (eval-defun-2, eval-defun): Likewise.
10170 * simple.el (eval-expression): Don't bind debug-on-error if
10171 eval-expression-debug-on-error is nil. Detect changed
10172 debug-on-error, and propagate new value to global binding, if
10173 eval-expression-debug-on-error is non-nil,
10174 (eval-expression-debug-on-error): Change doc string.
10176 2000-01-11 Richard M. Stallman <rms@gnu.org>
10178 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
10180 * emacs-lisp/lisp-mode.el (with-syntax-table):
10181 Set up lisp-indent-function property.
10183 * subr.el (with-syntax-table): Moved from simple.el.
10185 * simple.el (with-syntax-table): Moved to subr.el.
10187 2000-01-11 Gerd Moellmann <gerd@gnu.org>
10189 * tmm.el (tmm-shortcut): Delete region after prompt instead
10192 * textmodes/fill.el (fill-common-string-prefix): New function.
10193 (fill-context-prefix): Use the longest common prefix of first
10194 and second line fill prefix, if there is one.
10196 2000-01-11 Richard M. Stallman <rms@gnu.org>
10198 * array.el (array-mode): Don't use make-variable-buffer-local.
10199 Use make-local-variable for `truncate-lines'.
10201 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
10203 * add-log.el (add-log-current-defun): Handle user-defined
10204 add-log-current-function returning nil,
10206 * add-log.el (add-change-log-entry): Insert version number
10207 if having found a current function
10209 * add-log.el (add-log-current-defun): Call
10210 `add-log-current-defun-function'. Try matches at level 0 and
10211 level 1. Strip whitespace from defun found.
10213 2000-01-10 John Wiegley <johnw@gnu.org>
10215 * allout.el (isearch-done/outline-provisions): Added `edit'
10216 argument to correspond with the current definition of
10219 2000-01-10 Dave Love <fx@gnu.org>
10221 * elide-head.el (elide-head): Use point-marker, not point.
10223 2000-01-10 Gerd Moellmann <gerd@gnu.org>
10225 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
10226 before and after the year 2000.
10228 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
10229 Add ispell- prefix.
10231 2000-01-10 Ken Stevens <k.stevens@ieee.org>
10233 * ispell.el: Only define dictionaries in menus when they exist.
10234 (version18p): New variable.
10235 (version20p): New variable.
10236 (xemacsp): New variable.
10237 (ispell-choices-win-default-height): Fix for XEmacs visibility.
10238 (ispell-dictionary-alist1): Added Brasileiro dictionary.
10239 (ispell-dictionary-alist6): Russian command lines no longer accept
10240 run-together words.
10241 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
10242 (ispell-dictionary-alist): Add koi8-r to customize definition.
10243 (check-ispell-version): Added documentation string. Returns
10244 library path when called non-interactively.
10245 (ispell-menu-map-needed): Uses new variables.
10246 (ispell-library-path): New variable.
10247 (ispell-decode-string): XEmacs fix for bogus variable bindings.
10248 (ispell-word): Improved documentation string. Test for valid
10249 character mappings. Correctly check typed in word changes that can
10250 result in single words split into multiple words. Returns
10252 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
10253 replace in recursive query replace mode. Help message for
10254 recursive edit mode.
10255 (ispell-show-choices): Protect against bad framepop bindings.
10256 (ispell-help): Fix to work with XEmacs.
10257 (ispell-highlight-spelling-error): Use new variables.
10258 (ispell-overlay-window): Fix to work with XEmacs.
10259 (ispell-parse-output): Passed and returns location information
10260 tracking spelling corrections. Doesn't recheck same word on
10262 (ispell-init-process): Protect against bogus XEmacs variable binding.
10263 Fix call to single argument in sleep-for. Use new variables.
10264 (ispell-region): Passed and returns location information tracking
10265 spelling corrections. Doesn't check same word on current line.
10266 Improved documentation string. Doesn't resend a line already
10267 checked to the ispell process - fixes bug in LaTeX parsing.
10268 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
10269 (ispell-skip-region): No longer skips <TT> in SGML.
10270 (ispell-process-line): Tracks location information with spelling
10271 corrections. Added documentation string. Accounts for words
10272 already accepted on this line. Don't allow query-replace on line
10273 starting with math characters. Doesn't resend a line already sent
10274 to ispell process. Fixes alignment error bug.
10276 2000-01-10 Richard M. Stallman <rms@gnu.org>
10278 * dired-x.el (dired-guess-shell-alist-default):
10279 Suggest xloadimage, which is free, not xv, which isn't.
10281 * ange-ftp.el (ange-ftp-file-name-nondirectory):
10282 Don't ever include the host name or user name in the value.
10284 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10286 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
10289 2000-01-09 Stephen Eglen <stephen@gnu.org>
10291 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
10294 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
10296 * cus-edit.el (custom-hook-convert-widget): Fix comment.
10298 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10300 * progmodes/cperl-mode.el: Replace ^F with ^L.
10302 * sendmail.el (toplevel): Provide `sendmail' when compiling
10303 before `require'ing rmail and mailalias to prevent infinite
10306 2000-01-08 Dave Love <fx@gnu.org>
10308 * emacs-lisp/backquote.el: Remove inappropriate customization
10309 (allowing custom.el to use backquote).
10311 2000-01-07 Dave Love <fx@gnu.org>
10313 * add-log.el (add-log-debugging): Deleted.
10314 (add-change-log-entry): Treat a backup FILE-NAME as its parent
10315 file. Remove debugging code.
10316 (change-log-get-method-definition, change-log-name): Add doc.
10317 (change-log-sortable-date-at): New function.
10318 (change-log-merge): New command.
10320 * time.el (display-time-string-forms): Make the Mail string active.
10321 (display-time-update): Provide help-echo for load average.
10323 * bindings.el (make-mode-line-mouse2-map): New function.
10324 (mode-line-modified): Use it and simplify.
10325 (mode-line-mule-info): Provide help-echo info.
10326 (minor-mode-alist): Activate the strings.
10327 (make-mode-line-mouse-sensitive): Simplify for
10328 mode-line-buffer-identification.
10330 2000-01-07 Gerd Moellmann <gerd@gnu.org>
10332 * play/pong.el: New file.
10334 2000-01-06 Dave Love <fx@gnu.org>
10336 * array.el: Assorted cleanups for compiler warnings, doc strings,
10337 `array-' prefix for symbols.
10339 2000-01-05 Dave Love <fx@gnu.org>
10341 * textmodes/outline.el (outline-mode-menu-bar-map): Add
10342 outline-headers-as-kill.
10343 (outline-mode): Define imenu-generic-expression.
10344 (outline-headers-as-kill): New command.
10346 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
10347 from paragraph-start.
10348 (paragraph-indent-minor-mode): New command.
10350 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
10351 M-C-e, M-C-h, C-j, C-xnd, TAB.
10352 (fortran-mode): Set beginning-of-defun, end-of-defun.
10353 (fortran-column-ruler): Simplify.
10354 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
10355 (fortran-with-subprogram-narrowing): Likewise.
10356 (fortran-indent-subprogram): Call mark-defun.
10357 (fortran-check-for-matching-do): Change narrowing.
10359 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
10360 (cl-lucid-hash-tag): Delete.
10361 (cl-hash-table-p): Correct test for native table.
10362 (cl-hash-table-count): Use hash-table-count.
10364 * browse-url.el (browse-url): Fix case of
10365 browse-url-browser-function being an alist.
10367 2000-01-05 Carsten Dominik <cd@gnu.org>
10369 * textmodes/reftex-vars.el (reftex-parse-file-extension)
10370 (reftex-index-phrase-file-extension): New options.
10372 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
10373 Use new option `reftex-index-phrase-file-extension'.
10375 * textmodes/reftex.el (reftex-access-parse-file): Use new option
10376 `reftex-parse-file-extension'.
10378 2000-01-05 Dave Love <fx@gnu.org>
10380 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
10381 (beginning-of-defun-raw): Use it.
10382 (end-of-defun): New variable.
10383 (end-of-defun): Use it.
10384 (check-parens): New command.
10386 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
10388 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
10389 (hs-show-block): Don't use `mapcar' when not accumulating.
10391 Fix buglet in local variables initialization.
10393 2000-01-05 Andreas Schwab <schwab@suse.de>
10395 * hscroll.el (hscroll): Doc fix.
10397 2000-01-05 Carsten Dominik <cd@gnu.org>
10399 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
10402 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
10403 file idlw-rinfo.el.
10404 (idlwave-customize): load must read file idlw-shell.el.
10405 (idlwave-create-customize-menu): load must read file idlw-shell.el.
10407 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
10409 * progmodes/idlw-shell.el: Also provide idlwave-shell
10410 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
10411 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
10413 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
10414 both reftex-dcr and reftex-vcr.
10416 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
10418 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10420 * ps-print.el: PostScript code now is in separate files, doc fix.
10421 (ps-print-version): New version number (5.0.3).
10422 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
10424 (ps-spool-config): Initialization fix.
10425 (ps-print-prologue-1, ps-print-prologue-2)
10426 (ps-print-duplex-feature): PostScript code moved to separated file.
10427 (ps-background-image): Little code reformating.
10428 (ps-begin-file, ps-begin-job): Fix code.
10429 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
10430 (ps-prologue-file): New fun.
10432 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10434 * ps-vars.el: Eliminated.
10436 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
10439 * ps-print.el: ps-vars eliminated, doc fix.
10440 (ps-print-version): New version number (5.0.2).
10441 (ps-spool-config): Initialization fix.
10442 (ps-print-customize): New fun.
10444 2000-01-04 Gerd Moellmann <gerd@gnu.org>
10446 * autorevert.el (auto-revert-mode): Return value of
10449 2000-01-04 Dave Love <fx@gnu.org>
10451 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
10454 2000-01-03 Dave Love <fx@gnu.org>
10456 * elide-head.el (elide-head) [defgroup]: Add :version.
10458 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
10459 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
10460 `cl-hash-table-p', not `hash-table-p'.
10461 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
10463 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10465 * faces.el (face-read-integer, read-face-attribute)
10466 (color-defined-p, color-values): unspecified-{f,b}g are now
10469 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
10471 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
10472 at comment end, and re-insert them after filling.
10474 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10476 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
10477 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
10478 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
10480 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10482 * term/x-win.el (xw-defined-colors): Call color-supported-p,
10483 the new name of face-color-supported-p.
10485 * term/w32-win.el (xw-defined-colors): Likewise.
10487 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10489 * simple.el (completion-setup-function): Count completion-size
10490 from minibuffer-prompt-end, not from point-min.
10492 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
10494 * faces.el (read-face-attribute, defined-colors, color-defined-p):
10495 Pass the frame to tty-color-* functions.
10496 (display-color-p, frame-set-background-mode): Pass the frame to
10497 tty-display-color-p.
10499 * term/tty-colors.el (tty-defined-color-alist): Renamed from
10501 (tty-color-alist, tty-modify-color-alist): New functions.
10502 (tty-color-define, tty-color-clear, tty-color-approximate)
10503 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
10504 an optional parameter FRAME.
10506 2000-01-01 Gerd Moellmann <gerd@gnu.org>
10508 * image.el (create-image, defimage): Don't assume image data is a
10511 * image.el (defimage): Handle specifications containing :data
10513 (image-type-from-data): New function.
10514 (image-type-from-file-header): Use it.
10515 (create-image): Add parameter DATA-P.
10517 See ChangeLog.8 for earlier changes.
10519 ;; Local Variables:
10520 ;; coding: iso-2022-7bit-unix