1 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
3 * jit-lock.el (jit-lock-fontify-buffer): Remove.
5 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
7 * font-lock.el (font-lock-syntactically-fontified): New var.
8 (font-lock-fontify-syntactic-keywords-region): Use it.
9 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
11 * diff-mode.el (diff-find-file-name): Fix regexp.
13 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
14 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
16 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
17 (sh-mode-syntax-table): Add punctuation syntax for < and >.
18 (sh-mode): Don't make all vars local here.
20 (sh-set-shell): Use dolist. Don't set indent-region-function.
21 (sh-mode-syntax-table): Use pop.
22 (sh-remember-variable): Use push.
23 (sh-help-string-for-variable): Use memq.
24 (sh-safe-backward-sexp): Remove.
25 (sh-safe-forward-sexp): Add ARG.
26 (sh-get-indent-info, sh-prev-stmt): Use it.
27 (sh-prev-line): Simplify by using forward-comment.
28 (sh-this-is-a-continuation): Simplify.
29 (sh-learn-buffer-indent): Use dolist.
30 (sh-do-nothing): Remove.
31 (sh-set-char-syntax, sh-set-here-doc-region):
32 Use inhibit-modification-hooks.
33 (sh-name-style): Use mapcar and push.
34 (sh-load-style): Use dolist.
35 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
36 (sh-case, sh-while-getopts): Use propertize directly rather
37 than sh-electric-rparen.
39 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
41 * textmodes/tex-mode.el: Require CL when compiling.
42 (tex-mode-syntax-table): Init immediately.
43 (tex-mode-map): Bind M-RET to latex-insert-item.
44 (latex-mode): Set indent-line-function to latex-indent.
45 (tex-common-initialization): Don't setup the syntax-table any more.
46 (latex-insert-item): New skeleton.
47 (tex-next-unmatched-end): Fix copy/paste braino.
48 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
49 (latex-indent, latex-find-indent): New functions.
50 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
51 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
52 (tex-compilation-parse-errors): Use with-syntax-table.
54 2000-10-15 Miles Bader <miles@gnu.org>
56 * font-lock.el (font-lock-comment-face): Change dark-background,
57 color, non-tty, default to `chocolate1'.
59 2000-10-13 John Wiegley <johnw@gnu.org>
61 * eshell/esh-util.el (require): Added a missing `require' form,
62 needed when compiling (for an ange-ftp macro definition).
64 2000-10-13 Dave Love <fx@gnu.org>
66 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
68 2000-10-13 Gerd Moellmann <gerd@gnu.org>
70 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
73 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
74 transparent -colors 8).
76 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
78 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
79 that breaks with old list format timestamps.
80 (time-stamp-warn-inactive, time-stamp-old-format-warn)
81 (time-stamp-count, time-stamp-conversion-warn): Improved doc
84 2000-10-13 John Wiegley <johnw@gnu.org>
86 * align.el, pcomplete.el, calendar/timeclock.el,
87 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
89 * calendar/timeclock.el (timeclock-find-discrep): A fix to same
90 faulty math, where holiday hours were being computing as seconds.
92 2000-10-13 John Wiegley <johnw@gnu.org>
94 * desktop.el (desktop-buffer-modes-to-save): Added a global for
95 specifying what "other" kinds of buffers should be saved. This
96 used to be hard-coded.
97 (desktop-buffer-misc-functions): A global for specifying how
98 auxiliary data should be determined for special buffer types.
99 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
100 instead of hard-coding the special buffer types.
101 (desktop-save): Run `desktop-buffer-misc-functions' to gather
102 auxiliary data, instead of hard-coding for Info buffers and dired.
103 (desktop-buffer-info-misc-data): Aux function for determining Info
104 buffer auxiliary info.
105 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
106 (desktop-buffer-info): Changed this function to use the info
108 (desktop-create-buffer): Be a little more careful about what
109 `minor-mode' means before calling it. This is important for some
112 2000-10-13 John Wiegley <johnw@gnu.org>
114 * eshell/esh-util.el: Added a global form which declares an
115 autoload for `parse-time-string', if that function is not already
116 defined, and if parse-time.el is available on the user's system.
118 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
119 to be aware of ange-ftp user info.
120 (eshell-do-ls): Bind `ange-cache'. Also, use
121 `eshell-file-attributes'.
122 (eshell-ls-annotate): Use `eshell-file-attributes'.
123 (eshell-ls-file): Made the user-id printing code a bit smarter.
125 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
126 allow identification of alias user ids in remote directories.
127 It's manual, but there's no other way to know when the current
128 user on the local machine, is also the owning user on the remote
130 (fboundp): Bind `ange-cache'.
131 (eshell-directory-files-and-attributes): Re-organized the logic a
132 bit to use `eshell-file-attributes' instead of `file-attributes'.
133 The former is more sensitive to directories that are read via FTP,
134 and knows how to use ange-ftp to determine full attribute
135 information, instead of just the name and last modtime.
136 (eshell-current-ange-uids): Return the current user id when in a
138 (eshell-parse-ange-ls): Parse a full directory listing that has
139 been returned by ange-ftp.
140 (eshell-file-attributes): This beefed up version of
141 `file-attributes' is only special if the user is currently in a
142 remote directory, in which case it does a lot of work to find out
143 what the real attributes of a file are, as they appear on the
144 remote machine. This makes usage of remote directories (i.e.,
145 ange-ftp pathnames) much more useful. You can now use Eshell as a
146 full-fledged FTP client, with much more manipulation ability than
149 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
150 variable, which means that Eshell's du should always be preferred
151 in remote directories.
152 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
153 just `file-attributes'.
154 (eshell-mvcp-template): Bind `ange-cache', to improve performance
155 when reading remote directories. This is an Eshell-specific
156 variable (not part of ange-ftp).
157 (eshell/ln): Bind `ange-cache'.
158 (eshell/du): Added some extra logic for determining when to use
159 Eshell's du (which is slow), and when to use the external version
160 (which may or may not exist).
162 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
163 `eshell-interactive-process', rather than using
164 `get-buffer-process', since backgrounded processes don't count in
165 the context of this function's logic.
167 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
168 `forward-char', so that null strings are parsed correctly.
170 2000-09-13 John Wiegley <johnw@gnu.org>
172 * eshell/em-pred.el (eshell-pred-file-type,
173 eshell-pred-file-links, eshell-pred-file-size): Use
174 `eshell-file-attributes'. This is more correct over ange-ftp.
176 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
177 that remote file globbing is more efficient.
179 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
180 gathering the files and attributes within a directory.
182 * eshell/em-unix.el (eshell/cat): If any of the files passed on
183 the command line is a special file (not a regular file, directory
184 or symlink), always attempt to call the external version of cat.
186 2000-09-13 John Wiegley <johnw@gnu.org>
188 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
189 Eshell-friendly version of find-tag.
191 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
193 * image-file.el (image-file-name-extensions)
194 (image-file-name-regexps): Add autoload cookies.
196 2000-10-13 Kenichi Handa <handa@etl.go.jp>
198 * international/mule-cmds.el (select-safe-coding-system): If FROM
199 is string, show it in *Warning* buffer.
201 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
203 * startup.el (normal-top-level): Use display-popup-menus-p instead
205 (command-line): Use display-graphic-p instead of window-system.
206 (command-line-1): Use display-popup-menus-p and display-mouse-p
207 instead of window-system.
209 2000-10-12 Sam Steingold <sds@gnu.org>
211 * tooltip.el (tooltip-use-echo-area): New user variable.
212 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
214 2000-10-12 Dave Love <fx@gnu.org>
216 * recentf.el: Maintainer's checkdoc fixes.
218 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
219 character class, not ASCII when matching file names.
220 (fancy-splash-head): Add trailing slash to URL.
221 (command-line): Don't require XPM support for toolbar.
223 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
224 (cperl-invalid-face): Revert last change.
225 (cperl-init-faces): Quote cperl-invalid-face.
227 2000-10-12 Kenichi Handa <handa@etl.go.jp>
229 * startup.el (fancy-splash-text): Remove superfluous quote.
231 2000-10-12 Gerd Moellmann <gerd@gnu.org>
233 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
234 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
235 (command-line-1): Don't use fancy-splash-pending-command.
236 (fancy-splash-screens-1): Goto point-min after inserting text.
238 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
240 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
241 instead of shared-lisp-mode-map.
243 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
245 * faces.el (header-line): Change tty-variant to use underlining.
247 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
248 (isearch-highlight): Restore lazy-isearch face properties at old
249 position, and suppress them at new position.
250 (isearch-dehighlight): Restore lazy-isearch face properties.
251 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
252 over the real isearch overlay, but in that case, don't give it a
253 face property. Use `push'.
255 2000-10-12 Kenichi Handa <handa@etl.go.jp>
257 * man.el (Man-getpage-in-background): Fix previous change.
258 Decode the process output only when we are in multibyte mode.
260 2000-10-11 Dave Love <fx@gnu.org>
262 * info.el (Info-mode-menu): Fix some help.
263 (info-tool-bar-map): Add entry for Info-last.
265 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
266 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
267 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
268 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
269 * toolbar/search-replace.xpm, toolbar/exit.xpm:
270 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
271 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
272 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
273 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
274 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
275 Reduce colour requirements to 25 overall. (Probably wants
276 revisiting from the originals to reduce further.)
278 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
280 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
281 buffer-file-coding-system, instead of raw-text.
282 (dehexlify-buffer): Bind coding-system-for-read to
283 buffer-file-coding-system, instead of raw-text.
285 2000-10-11 Sam Steingold <sds@gnu.org>
287 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
288 `underline' - fixes the bug introduced on 2000-09-21.
290 2000-10-11 Dave Love <fx@gnu.org>
292 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
294 (scheme-mode): Doc fix.
295 (scheme-font-lock-keywords-1): Match `define-syntax'.
297 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
299 * faces.el (frame-set-background-mode): Pay attention to saved
300 face specs as well as default ones. Only do anything if the
301 bg-mode or display-type has actually changed. Use `dolist'.
302 (region): Make dark-background `region' face less in-your-face.
304 2000-10-10 Sam Steingold <sds@gnu.org>
306 * chistory.el, ielm.el, ledit.el:
307 * progmodes/inf-lisp.el, progmodes/scheme.el:
308 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
310 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
312 * textmodes/texinfo.el: Update copyright and fix typo.
314 * desktop.el (desktop-modes-not-to-save): New var.
315 (desktop-save-buffer-p): Use it.
316 Also, obey desktop-buffers-not-to-save even for non-file buffers.
317 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
319 2000-10-10 Dave Love <fx@gnu.org>
321 * toolbar/tool-bar.el (tool-bar-add-item)
322 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
325 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
326 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
327 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
328 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
329 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
330 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
331 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
332 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
333 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
334 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
335 the .xpms; probably need retouching.
337 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
339 * subr.el (add-to-list): Add optional argument APPEND.
340 * battery.el (display-battery): Use `add-to-list'.
342 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
344 * play/zone.el (zone-timer, zone-wc-tbl): Rework
345 these vars as symbol properties.
346 (zone, zone-when-idle, zone-leave-me-alone)
347 (zone-pgm-whack-chars): Use new symbol properties.
349 * battery.el (display-battery): Doc spelling fix.
351 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
354 2000-10-09 Dave Love <fx@gnu.org>
356 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
357 has been initialized before calling tool-bar-setup.
358 (tool-bar-add-item-from-menu): Add autoload cookie.
360 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
362 * menu-bar.el (send-mail-item-name): New function.
363 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
364 of mail-user-agent in the menu. Don't display the "Send Mail"
365 item if mail-user-agent is nil or its value is ignore.
366 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
367 if read-mail-command is nil or its value is ignore.
369 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
371 2000-10-09 Miles Bader <miles@gnu.org>
373 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
375 * toolbar/left_arrow.xpm: Correct image size.
377 * jka-compr.el: Don't call `jka-compr-install' when loading (it
378 will be done by the definition of `auto-compression-mode' if
379 necessary. Move code to uninstall existing file-name handler
380 before definition of `auto-compression-mode'.
382 * image-file.el (auto-image-file-mode): Move to the end of the
383 file, because `define-minor-mode' actually calls the mode-function
384 if the associated variable is non-nil, which requires that all
385 needed functions be already defined.
387 * mouse.el (popup-menu): Balance parens.
389 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
391 * mouse.el (popup-menu): Move the command call outside the loop
392 so that popup-menu returns whatever the command returns.
394 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
395 (initialize-new-tags-table): Use run-hook-with-args-until-success.
396 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
397 (tags-table-format-functions): Renamed from tags-table-format-hooks.
399 * vc.el (vc-version-diff): diff-switches can be a list.
400 Use relative filenames for prettier output.
402 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
403 (vc-post-command-functions): Remove old-VC compatibility code.
405 * newcomment.el (comment-indent-default): Autoload.
407 * font-lock.el (font-lock-defaults): Make buffer-local.
408 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
409 (font-lock-choose-keywords):
410 Ignore LEVEL unless KEYWORDS is a list of syms.
411 (c-keywords, c++-keywords, objc-keywords, java-keywords):
412 Don't wrap regexp-opt things in \(...\) unnecessarily.
414 * jit-lock.el: Don't require font-lock any more.
415 (jit-lock-functions): Make buffer-local.
416 (jit-lock-saved-fontify-buffer-function): Remove.
417 (jit-lock-mode): Remove autoload cookie.
418 Remove font-lock specific code.
419 (jit-lock-unregister): Don't bother handling complex hooks any more.
420 (jit-lock-refontify): New function.
421 (jit-lock-fontify-buffer): Use it.
422 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
423 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
424 Add optional args START and END.
425 Never call font-lock-fontify-region directly.
426 (jit-lock-function, jit-lock-stealth-fontify): Use it.
428 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
430 2000-10-08 Dave Love <fx@gnu.org>
432 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
434 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
436 * play/studly.el (studlify-region, studlify-word): Add autoload
439 * play/morse.el (morse-region, unmorse-region): Add autoload
442 * play/spook.el (spook-phrases-file): Use expand-file-name, not
445 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
446 insist on symbols starting with word syntax.
447 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
448 (eval-defun-1): Doc fix.
449 (indent-sexp): Use nconc to build up indent-stack.
451 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
452 Gnus with little use.
453 (mail-setup-hook): Add mail-abbrevs-setup to options.
455 * recentf.el: Doc fixes.
457 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
460 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
461 without timezone and (8) with timezone to enforce some whitespace.
462 Simplify code somewhat.
464 * options.el (list-options): Doc that you should use customize.
466 * iswitchb.el (iswitchb-mode): Add :require.
468 * info.el (Info-goto-node, Info-menu): Doc fix.
469 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
470 (info-tool-bar-map): New variable.
472 (Info-edit-map): Define all in defvar.
473 (speedbar-attached-frame): Avoid compiler warning.
475 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
476 (global-map): Bind [tool-bar] to a filtered map.
477 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
478 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
480 (tool-bar-setup): Adjust calls of tool-bar-add-item.
482 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
483 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
484 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
485 icons, except up_arrow, which is left-arrow rotated.
487 * imenu.el (imenu-add-to-menubar): Fix last change.
489 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
491 * generic-x.el (rul-generic-mode): Remove eval-when-compile
492 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
494 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
496 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
497 typos in doc strings.
499 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
500 the doc strings how to customize Font Lock faces.
502 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
503 computing growth when dragging the header line.
505 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
507 * simple.el (kill-line): Doc fix.
509 2000-10-08 Miles Bader <miles@gnu.org>
511 * faces.el (secondary-selection): Make foreground visible on tty.
513 * jka-compr.el (auto-compression-mode): Move to the end of the
514 file, because `define-minor-mode' actually calls the mode-function
515 if the associated variable is non-nil, which requires that all
516 needed functions be already defined.
517 (with-auto-compression-mode): Add autoload cookie.
519 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
521 * files.el (find-backup-file-name) [ms-dos]: If support for long
522 file names is not available, behave as if version-control were set
525 2000-10-07 Dave Love <fx@gnu.org>
527 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
528 (browse-url-gnome-moz): New function.
529 (browse-url-browser-function): Use it.
530 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
532 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
534 * indent.el (tab-always-indent): New var.
535 (indent-for-tab-command): Use it.
537 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
538 raise an error. This way it can still default to a sane value.
540 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
542 * startup.el (fancy-splash-screens): Use local rather than global map.
543 Don't use `update-menu-bindings' any more.
544 Get rid of assumptions about keymap representation.
546 2000-10-06 Dave Love <fx@gnu.org>
548 * textmodes/fill.el (sentence-end-double-space)
549 (sentence-end-without-period): Doc fix.
550 (adaptive-fill-regexp): Purecopy.
551 (unjustify-current-line): Use line-end-position.
552 (fill-individual-paragraphs-prefix): Use line-beginning-position.
554 * net/eudc-vars.el (eudc): Add :version, :link.
556 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
558 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
559 Fix for define-minor-mode.
560 (function-at-point): Alias to function-called-at-point.
562 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
564 * simple.el (backward-word): Doc fix.
566 * image-file.el (image-file-name-regexp): image-file-regexps ->
567 image-file-name-regexps.
568 (image-file-name-extensions): Add pbm.
570 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
572 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
573 and add filename to the names so that diff-mode can jump to source.
575 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
576 (tex-font-lock-keywords, tex-font-lock-keywords-2)
577 (tex-font-lock-keywords-1): Remove.
578 (font-lock-turn-on-thing-lock): Use jit-lock-register.
579 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
580 (font-lock-default-fontify-region):
581 Expand beg..end correctly when just following a multiline region.
582 (font-lock-fontify-anchored-keywords):
583 Include the anchor text as part of the multiline.
585 2000-10-06 Gerd Moellmann <gerd@gnu.org>
587 * loadup.el (toplevel): Load `loaddefs' before `help' because the
588 latter needs the autoloaded define-minor-mode macro during the
591 * startup.el (command-line): For now, activate tool-bar-mode only
592 if XPM images are supported.
594 * mouse.el (mouse-drag-header-line): Don't allow resizing a
595 window by dragging a header-line at the top of the frame; that's
596 confusing because the header-line doesn't move.
597 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
598 of treating the event as a list. Some cleanup.
600 2000-10-06 Miles Bader <miles@gnu.org>
602 * simple.el (display-message-or-buffer): New function.
603 (shell-command-on-region): Use `display-message-or-buffer'.
605 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
608 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
609 (smbclient-prompt-regexp): Add usage note to doc string.
610 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
611 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
612 Use add-hook for adding the comint filter function, and only do so
613 if it's not already in the global hook list.
614 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
615 to `make-local-variable'.
616 (nslookup-font-lock-keywords): Remove prompt entry.
617 (nslookup): Don't set the process-filter.
618 (finger): Exit the loop correctly when the regexps list runs out.
619 (ftp, smbclient, smbclient-list-shares):
620 Set the real major mode immediately, not after execing.
621 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
623 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
625 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
627 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
629 * which-func.el (which-func-format): Remove spurious space.
630 (which-func-mode): Don't make it permanent-local.
631 (which-func-ff-hook): Allow which-func-maxout to be nil.
632 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
633 (which-func-mode): Simplify.
634 Use post-command-idle-hook rather than post-command-hook.
635 Go through all buffers and update their state.
636 (which-function): Also try add-log-current-defun-function.
638 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
639 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
640 Update call to with-vc-properties accordingly.
641 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
642 (vc-revert-buffer): More careful about window selection and deletion.
643 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
645 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
646 (cvs-retrieve-revision): Reuse a pre-existing buffer.
647 (cvs-dired-action): Change the default to quickdir.
649 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
650 if comment-indent-function returns nil.
651 (comment-indent-default): New function.
652 (comment-indent-function): Use it and document the new semantics.
654 * image-file.el: Docstring fixes.
656 * help.el (help-xref-on-pp): Use match-string.
657 (describe-variable): New arg BUFFER.
658 Store the current buffer in the help-xref-stack.
659 (temp-buffer-resize-mode): Use define-minor-mode.
661 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
662 consistently with its docstring.
663 Set jit-lock-first-unfontify-pos in an idempotent way.
664 (jit-lock-register): Autoload and add arg CONTEXTUAL.
666 2000-10-05 Alex Schroeder <alex@gnu.org>
668 * sql.el (sql-mysql-options): New variable.
671 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
673 * image.el (image): New group.
675 * smerge-mode.el (smerge-mine-face, smerge-other-face)
676 (smerge-base-face, smerge-markers-face): Add dark-background variants.
678 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
680 * net/net-utils.el (nslookup-font-lock-keywords)
681 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
682 Ignore the value of wqindow-system; always define keywords
684 2000-10-05 Kenichi Handa <handa@etl.go.jp>
686 * startup.el (fancy-splash-screens): Remove the code for
687 debugging; `(trace-to-stderr "EXITTT\n")'.
689 2000-10-05 Miles Bader <miles@gnu.org>
691 * diff-mode.el (diff-goto-source): Update call to
692 `diff-hunk-status-msg' to reflect new REV variable.
694 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
696 * progmodes/icon.el (icon-mode):
697 Don't gratuitously override the default for comment-column.
699 * vc-hooks.el (vc-mode-line): Fix interactive spec.
701 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
702 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
703 (jit-lock-functions): New var.
704 (jit-lock-function-1): Use it if non-nil.
705 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
706 Set the `fontified' property before doing the fontification to avoid
707 repeatedly going through the same error.
708 Don't turn errors into messages.
709 (jit-lock-register, jit-lock-unregister): New functions.
711 * dired.el (dired-mark-pop-up): Turn comment into docstring.
712 Use with-current-buffer.
714 * dired-aux.el (dired-do-create-files, dired-kill-tree):
715 Turn comment into docstring.
717 * apropos.el (apropos-mode): Use define-derived-mode.
719 2000-10-04 Gerd Moellmann <gerd@gnu.org>
721 * startup.el (fancy-splash-pending-command): New variable.
722 (fancy-splash-pre-command): New function.
723 (fancy-splash-screens): Rewritten.
724 (command-line-1): If fancy-splash-pending-command is set, call it
727 2000-10-04 Dave Love <fx@gnu.org>
729 * toolbar/tool-bar.el (tool-bar-setup): New function.
730 (tool-bar-mode): Use it.
732 * subr.el (substitute-key-definition): Doc fix.
733 (play-sound-file): New command.
735 2000-10-04 Andre Spiegel <spiegel@gnu.org>
737 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
738 vc-version-backup-file-name): New functions.
740 * files.el (basic-save-buffer): Call vc-before-save before saving.
742 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
745 * vc.el (vc-revert-buffer): Handle empty diff properly.
746 (vc-version-backup-file): New function.
747 (vc-checkout): Create a version backup if necessary.
748 (vc-checkin): If a version backup file exists, delete it.
749 (vc-version-diff): Diff locally using version backups, if available.
750 (vc-revert-file): If there's a version backup, revert locally.
751 (vc-transfer-file): Use version backup for base version, if
752 available. If not, ask for confirmation whether to get it from the
753 server. Update mode line before check-in.
755 2000-10-04 Dave Love <fx@gnu.org>
757 * toolbar/tool-bar.el (tool-bar-setup): New function.
758 (tool-bar-mode): Use it.
760 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
762 * net/net-utils.el (nslookup-font-lock-keywords)
763 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
764 Only set if window-system is non-nil
765 (net-utils-run-program): Returns buffer.
766 (network-connection-reconnect): Added this function.
769 Incorporates extensive cleanup and docfixes by
770 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
771 Uses cl compile-time macros.
772 (generic-mode-name, generic-comment-list)
773 (generic-keywords-list, generic-font-lock-expressions)
774 (generic-mode-function-list, generic-mode-syntax-table):
776 (generic-mode-alist): Renamed to generic-mode-list.
777 (generic-find-file-regexp): Default changed to "^#".
778 (generic-read-type): Uses completing read on generic-mode-list.
779 (generic-mode-sanity-check): removed this function.
780 (generic-add-to-auto-mode): Removed this function
781 (generic-mode-internal): Bind mode-specific definitions
782 into function instead of putting them in alist.
783 (generic-mode-set-comments): Reworked extensively.
784 (generic-mode-find-file-hook): Simplified regexp searching
785 (generic-make-keywords-list): Omit extra pair of parens
787 * find-lisp.el (find-lisp-find-files-internal):
788 Make sure directory name ends with "/".
790 * generic-x.el (apache-conf-generic-mode):
791 Regexp now allows leading whitespace.
792 (rc-generic-mode): Added eval-when-compile
793 around generic-make-keywords-list.
794 Deleted duplicate regexp
795 (rul-generic-mode): Added eval-when-compile
796 around generic-make-keywords-list.
797 (etc-fstab-generic-mode): New generic mode.
798 (rul-generic-mode): Removed one eval-when-compile
799 which caused a max-specpdl-size exceeded error.
801 2000-10-04 Miles Bader <miles@gnu.org>
803 * simple.el (minibuffer-temporary-goal-position): New variable.
804 (next-history-element): Try to keep the position of point in the
805 input string constant.
807 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
808 (dired-do-create-files): If there's only one file, pass it in as
809 the DEFAULT arg to dired-mark-read-file-name.
811 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
813 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
814 (diff-goto-source): Be smarter when choosing REVERSE or not.
816 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
817 (texinfo-mode-menu): Add an explicit shortcut for update all.
819 2000-10-03 Andre Spiegel <spiegel@gnu.org>
821 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
822 factorize backend-specific code cleanly (this was essentially
823 conceived by Stefan Monnier).
824 (vc-unregister): Function removed.
825 (vc-revert-file): New function.
826 (vc-revert-buffer): Delegate some of the work to it.
828 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
829 default branch unconditionally.
830 (vc-rcs-set-default-branch): New function.
831 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
832 (vc-rcs-checkin): If an appropriate default branch has been set,
833 force creation of that branch.
834 (vc-rcs-receive-file): Rewritten to contain only backend-specific
835 code (as suggested by Stefan Monnier).
837 2000-10-02 Gerd Moellmann <gerd@gnu.org>
839 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
840 highlighting overlay with a different face over the overlay
841 isearch uses to highlight the current match because that can lead
842 to bad face combinations.
844 * loadup.el (toplevel): Load faces before isearch.
846 * isearch.el (isearch-faces): New custom group.
847 (isearch): New defface; was already tested for in the code.
848 (isearch-lazy-highlight-face): Changed to defface from defcustom.
849 (isearch-highlight): Always use face `isearch'.
851 2000-10-02 Dave Love <fx@gnu.org>
853 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
854 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
855 comparison of opcode with operand.
857 2000-10-03 Miles Bader <miles@gnu.org>
859 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
860 buffer, since the echo area will now grow to accommodate them.
862 2000-10-02 Andre Spiegel <spiegel@gnu.org>
864 * vc-hooks.el (vc-registered): If FILE used to be registered under
865 a certain backend, try that one first.
867 * vc.el (vc-responsible-backend): Undo the previous change in the
868 argument list. Handle multiple backends correctly.
869 (vc-find-new-backend): Function removed.
870 (vc-register): Use vc-responsible-backend, as before.
871 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
873 2000-10-02 Gerd Moellmann <gerd@gnu.org>
875 * startup.el (fancy-splash-head): Change message below the
878 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
880 * diff-mode.el (diff-goto-source): Emit a status message.
881 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
882 (diff-test-hunk): Fix doc string.
883 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
884 (diff-advance-after-apply-hunk): New variable.
885 (diff-apply-hunk): Don't return a value.
887 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
889 * vc.el (vc-editable-p): Minor optimization.
890 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
891 (vc-find-new-backend): New function split from vc-responsible-backend.
892 (vc-register): Use it.
893 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
894 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
895 (vc-default-unregister, vc-revert-buffer): Docstring fix.
896 (vc-clear-headers): Don't use find-file.
897 (vc-revert-buffer): Use `and' again (must have been a braino).
898 (vc-switch-backend): Only prompt if requested.
899 Short circuit if nothing is to be done.
900 Don't use vc-resynch-buffer which could lose unsaved editing.
901 (vc-default-receive-file): Update call to vc-unregister.
902 (with-vc-file, vc-next-action-on-file):
903 Use vc-backend rather than vc-registered.
904 (vc-next-action-on-file): Use intern-soft.
905 Deal with read-only *vc-diff* buffer.
906 (vc-transfer-file): Docstring fix.
908 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
909 (vc-rcs-receive-file): Avoid with-vc-properties.
910 Update call to vc-unregister.
911 Use constant `RCS' rather than (dynamically bound) var `backend'.
913 2000-10-01 Andre Spiegel <spiegel@gnu.org>
915 * vc.el (vc-next-action-on-file): Update mode line only if file
917 (vc-start-entry): New argument initial-contents. Don't visit the file
918 if it isn't already visited. Brought documentation up-to-date.
919 (vc-next-action, vc-register): Updated calls to vc-start-entry.
920 (vc-checkin): New optional arg initial-contents, which is passed to
922 (vc-finish-logentry): Make sure to bury log buffer only if there
923 really is one. Call `vc-resynch-buffer' on log-file, not
925 (vc-default-comment-history, vc-default-wash-log): New functions.
926 (vc-index-of): Removed.
927 (vc-transfer-file): Make do without the above.
928 (vc-default-receive-file): Call comment-history unconditionally. Pass
929 the resulting string to vc-checkin, instead of inserting it into the
932 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
933 unconditionally. Use the comments as initial contents of the log
934 entry buffer. Document the trick to force branch creation with no
937 2000-10-01 Miles Bader <miles@gnu.org>
939 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
940 `recenter' with an arg to prevent redrawing the display.
942 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
944 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
946 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
948 * progmodes/c-mode.el (c-mode):
949 Don't gratuitously override the default for comment-column.
951 * textmodes/tex-mode.el (latex-metasection-list): New var.
952 (latex-imenu-create-index): Use it.
953 Move the regexp construction outside loops (and use push).
954 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
955 (tex-font-lock-keywords): Moved from font-lock.el.
956 (tex-comment-indent): Remove.
957 (tex-common-initialization): Don't set comment-indent-function.
958 (latex-block-default): New var.
959 (tex-latex-block): Use it to provide a default choice.
960 Add any unknown choice to latex-block-names.
961 Insert [...] after {...}.
962 (tex-last-unended-begin): Simplify regexp.
963 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
964 (latex-forward-sexp-1, latex-forward-sexp): New functions.
965 (latex-mode): Set forward-sexp-function.
967 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
968 Add regexp for @ignore ... @end ignore.
969 (texinfo-heading-face): New face.
970 (texinfo-font-lock-keywords): Use it.
971 (texinfo-mode-menu): New menu.
972 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
974 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
975 (texinfo-section-types-regexp, texinfo-section-level-regexp)
976 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
978 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
980 * delsel.el (delete-selection-mode): Use define-minor-mode.
982 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
984 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
986 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
988 2000-09-30 Gerd Moellmann <gerd@gnu.org>
990 * replace.el (keep-lines-read-args): New function.
991 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
992 read arguments interactively. Add parameters RSTART and REND.
993 Operate on the active region in Transient Mark mode.
995 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
997 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
998 (authors-obsolete-files-regexps): New variable.
999 (authors-add): Don't record changes in obsolete files.
1001 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1003 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
1005 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
1006 (comment-indent): Make sure there's a space between code and comment.
1007 Shift comments left to avoid going past fill-column.
1009 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1011 * startup.el (startup-echo-area-message): New function.
1012 (display-startup-echo-area-message): Use it.
1013 (fancy-splash-screens): Rewritten to use keymaps and a timer.
1014 (fancy-splash-default-action): New function.
1015 (fancy-splash-screens-1): New function.
1016 (fancy-splash-head): Put a help-echo and a keymap under the image.
1018 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1020 * diff-mode.el (diff-add-log-file-name): Remove.
1021 (diff-mode): Use add-log-buffer-file-name-function.
1023 * add-log.el (find-change-log): New arg BUFFER-FILE.
1024 (add-log-file-name): Obey add-log-file-name-function.
1025 (add-log-buffer-file-name-function): New var.
1026 (add-change-log-entry): Use it.
1028 2000-09-29 Miles Bader <miles@gnu.org>
1030 * image-file.el (image-file-name-extensions): New variable.
1031 (image-file-name-regexps): Renamed from `image-file-regexps'.
1032 New default value is nil. Call `auto-image-file-mode'.
1033 (image-file-name-regexp): New function.
1034 (auto-image-file-mode): New minor mode.
1035 (insert-image-file): Don't make conditional on the image-file
1036 handler being enabled.
1037 (image-file-handler): Make the call here conditional instead.
1038 (set-image-file-handler-enabled, enable-image-file-handler)
1039 (disable-image-file-handler): Functions removed.
1041 * emacs-lisp/authors.el (authors-print): Rephrase many-files
1044 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1046 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
1047 it's a function from CL.
1048 (latex-imenu-create-index): Replace eval-when-compile with progn
1049 because latex-section-alist is not bound while compiling.
1051 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1053 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
1054 (outline-mode): Use define-derived-mode.
1056 * progmodes/perl-mode.el (perl-mode):
1057 * progmodes/awk-mode.el (awk-mode):
1058 * progmodes/asm-mode.el (asm-mode):
1059 Don't gratuitously override the default for comment-column.
1061 * emacs-lisp/lisp.el (lisp-complete-symbol):
1062 Distinguish the let-binding case from the funcall case.
1063 (forward-sexp-function): New variable.
1064 (forward-sexp): Use it.
1066 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
1067 (easy-mmode-defmap): Remove the now useless autoload.
1069 * time.el (display-time-mode): Use define-minor-mode.
1071 * subr.el (add-minor-mode): Don't eval NAME.
1072 Don't depend on the presence of TOGGLE-FUN for any special behavior.
1073 Use if rather than cond.
1075 * simple.el (read-expression-map): Define more properly.
1076 (comment-indent-hook): Remove.
1077 (string-to-syntax): Bug fix.
1079 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
1080 (cvs-ediff-diff): Fix typo.
1081 (cvs-revert-if-needed): Don't bother preserving read-only.
1083 * paren.el (show-paren-mode): Use define-minor-mode.
1085 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
1086 (toggle-auto-compression): Remove.
1087 (jka-compr-build-file-regexp): Remove useless grouping.
1089 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
1090 Avoid user-reserved bindings.
1091 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
1092 (diff-header-face): Revert to grey85.
1094 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
1096 * complete.el (partial-completion-mode) <defcustom>: Remove.
1097 (partial-completion-mode): Use define-minor-mode.
1098 (PC-do-completion): Understand `completion-auto-help = delay'
1099 to mean to popup the completion buffer only the second time.
1100 (PC-include-file-all-completions, PC-include-file-all-completions)
1101 (PC-include-file-all-completions): Don't quote lambda.
1103 * comint.el (comint-mode-hook): Docstring fix.
1104 (comint-mode): Use define-derived-mode.
1105 (comint-mode-map): Remove obsolete comment.
1106 (make-comint): Minor stylistic change.
1107 (comint-insert-clicked-input): Be more careful to find the overlay.
1108 Use this-command-keys rather than hardcoding mouse-2.
1110 * font-lock.el: Replace confusing (,@ with ,
1111 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
1112 Don't use regexp-opt-depth. Spice up the regexp for args.
1113 Don't distinguish between cmds that can take an opt arg or not.
1114 Use `append' and `prepend' rather than `keep'.
1116 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
1117 (latex-outline-regexp): New var.
1118 (latex-outline-level): New fun.
1119 (latex-section-alist): New var.
1120 (latex-imenu-create-index): Use it. Use `push' as well.
1121 (tex-shell-map): Initialize it properly.
1122 (tex-mode): Minor stylistic change.
1123 (plain-tex-mode): Use define-derived-mode.
1124 (latex-mode): Use define-derived-mode.
1125 Construct the paragraph regexps in a more readable way.
1126 Set the buffer-local outline-{level,regexp} vars.
1127 (slitex-mode): Derive from latex-mode.
1128 (tex-common-initialization): Don't kill-all-vars anymore.
1129 Add setting for comment-add and font-lock-defaults.
1130 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
1131 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
1132 (tex-start-tex): New arg DIR (and send a chdir command for it).
1133 Also display the shell buffer and save it in tex-last-buffer-texed.
1134 (tex-region): Use expand-file-name rather than concat.
1135 Remove code made useless by changes in tex-start-tex.
1136 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
1138 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
1140 2000-09-28 Dave Love <fx@gnu.org>
1142 * eshell/eshell.el (eshell) <defgroup>: Add :version.
1144 2000-09-28 Gerd Moellmann <gerd@gnu.org>
1146 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
1149 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1151 * info.el (Info-extract-pointer): Undo last change.
1152 Instead, fix the position of the `bound' arg to re-search-backward.
1154 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
1156 * info.el (Info-extract-pointer):
1157 Widen more carefully, to avoid finding pointers in other nodes.
1158 (Info-index): Use push.
1160 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1162 * frame.el (set-frame-font): Remove call to obsolete function
1164 (set-foreground-color, set-background-color): Likewise for
1165 frame-update-face-colors.
1167 2000-09-27 Miles Bader <miles@gnu.org>
1169 * image-file.el: New file.
1171 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1173 * frame.el (frame-notice-user-settings): Don't call
1174 frame-update-faces, which is a no-op now.
1176 * ediff-wind.el (ediff-control-frame-parameters): Add zero
1179 2000-09-27 Dave Love <fx@gnu.org>
1181 * mouse.el: Fix last change.
1183 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
1185 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
1187 2000-09-22 Kenichi Handa <handa@etl.go.jp>
1189 * international/quail.el (quail-help): The output message is
1192 2000-09-26 Dave Love <fx@gnu.org>
1194 * mouse.el (popup-menu): If POSITION is nil, set it using
1197 2000-09-25 Sam Steingold <sds@gnu.org>
1199 * net/browse-url.el (browse-url-file-url): Check for null maps.
1201 2000-09-26 Gerd Moellmann <gerd@gnu.org>
1203 * frame.el (frame-notice-user-settings): Don't add a
1204 tool-bar-lines frame parameter to default-frame-alist in batch mode.
1206 * frame.el (frame-notice-user-settings):
1207 Make tool-bar-mode and default-frame-alist consistent.
1209 * toolbar/tool-bar.el (tool-bar-help): New function.
1211 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1213 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
1214 current-load-list in top-level forms. Else this leaks a cons cell
1215 every time a defun is called.
1217 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
1219 2000-09-25 Dave Love <fx@gnu.org>
1221 * startup.el (fancy-splash-head): Check XPM is available.
1223 * autoinsert.el (auto-insert): Doc fix.
1224 (auto-insert-alist): Following GNU notices, don't say `copyright
1225 _by_'. Use line-beginning-position.
1226 (auto-insert): Check buffer-file-name is non-nil before use.
1228 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1230 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
1231 starting with `@def' or `@multitable', in addition to ones
1232 specified by the user in auto-fill-inhibit-regexp.
1234 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
1236 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
1237 rmail-dont-reply-to-names matches the empty string.
1239 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1241 * startup.el (command-line-1, fancy-splash-text): Change the
1242 text to sound more friendly.
1244 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
1246 * progmodes/hideshow.el: Update author email address.
1247 Generally, sync w/ maintainer version 5.22.
1248 (hs-hide-all-non-comment-function): New var.
1249 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
1250 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
1251 (hs-show-region): Delete this command.
1252 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
1254 2000-09-22 Dave Love <fx@gnu.org>
1256 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
1257 (hl-line-highlight): Specify buffer when moving overlay.
1259 * progmodes/fortran.el (fortran-mode): Locally set
1260 normal-auto-fill-function.
1261 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
1262 (fortran-mode-map): Adjust auto-fill menu entry.
1264 2000-09-22 Gerd Moellmann <gerd@gnu.org>
1266 * vc-rcs.el (toplevel): Require `vc' when compiling.
1268 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
1270 2000-09-22 Andre Spiegel <spiegel@gnu.org>
1272 * vc.el (vc-switch-backend): Signal an error if the file is not
1273 registered under the new backend.
1275 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
1276 without explicit revision number.
1278 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
1280 * diff-mode.el (diff-file-header-face): Reset to its previous value.
1281 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
1282 (diff-xor): New function.
1283 (diff-find-source-location): Use it. Fix a stupid name clash.
1284 (diff-hunk-status-msg): New function.
1285 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
1286 (diff-test-hunk): Use diff-find-source-location.
1287 (diff-goto-source): Favor the `reverse'.
1288 (diff-hunk-text): Properly handle one-sided context diffs.
1289 (diff-apply-hunk): When done, advance to the next hunk.
1291 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1293 * startup.el (command-line): If frame was created with a non-zero
1294 tool-bar-lines parameter, switch tool-bar-mode on.
1296 * add-log.el (change-log-date-face, change-log-name-face)
1297 (change-log-email-face, change-log-file-face)
1298 (change-log-list-face, change-log-conditionals-face)
1299 (change-log-function-face, change-log-acknowledgement-face):
1300 New faces, inheriting from font-lock faces.
1301 (change-log-font-lock-keywords): Use them.
1303 2000-09-21 Dave Love <fx@gnu.org>
1305 * progmodes/cperl-mode.el (top-level): Clean up
1306 `eval-when-compile's and assorted defvars.
1307 (cperl-invalid-face): Don't double-quote value. Change custom
1309 (cperl-mode): Set normal-auto-fill-function and don't zap
1311 (cperl-imenu--function-name-regexp-perl): Renamed from
1312 imenu-example--function-name-regexp-perl.
1313 (cperl-imenu--create-perl-index): Renamed from
1314 imenu-example--create-perl-index.
1315 (cperl-xsub-scan): Don't require cl.
1317 * msb.el (msb-mode-map): Use substitute-key-definition.
1318 (msb-mode): Use msb-mode-map.
1320 2000-09-21 Andre Spiegel <spiegel@gnu.org>
1322 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
1324 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
1325 (vc-switch-backend): New function.
1326 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
1327 (vc-register): Fix prompt.
1328 (vc-unregister, vc-default-unregister): New functions.
1329 (vc-version-diff): Handle empty buffer in sentinel.
1331 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
1332 (vc-rcs-state-heuristic): Use it to guess the state of files with
1334 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
1335 been set with -b, but not created yet.
1336 (vc-rcs-fetch-master-state): With non-strict locking, compare file
1337 contents in order to find the state.
1338 (vc-rcs-checkin): Allow creation of branches with no changes.
1339 (vc-rcs-unregister, vc-rcs-receive-file)
1340 (vc-rcs-set-non-strict-locking): New functions.
1342 * vc-hooks.el (vc-name): Force correct computation of the value
1343 in case it is missing.
1345 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1347 * startup.el (fancy-splash-tail): Use a different foreground
1348 color on a dark frame background.
1350 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
1352 * info.el: Use the correct capitalization when making Info-mode
1353 and Info-edit-mode `special' modes.
1355 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
1357 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
1358 (diff-mode): Add support for add-log.el.
1359 (diff-hunk-text): Use char offsets rather than line offsets.
1360 (diff-find-source-location): Replace LINE with line-offset (nil
1361 if not found) and always set POS to a meaningful position.
1362 Adapt to the new char-offsets.
1363 (diff-apply-hunk): Drop support for the unused `select' POPUP.
1364 Adapt to the new diff-find-source-location.
1365 (diff-goto-source): Adapt to the new diff-find-source-location.
1367 * add-log.el (add-log-file-name): New function (split out of
1368 add-change-log-entry).
1369 (add-change-log-entry): Use it.
1370 Call add-log-file-name-function with the changelog file name if
1371 the current buffer is not associated with any file.
1372 Avoid find-file if the selected window is dedicated.
1374 * diff-mode.el (diff-find-source-location):
1375 Move code from diff-apply-hunk. Return buffer rather than file.
1376 (diff-apply-hunk): Use the new result from diff-find-source-location.
1377 (diff-goto-source): Use the new diff-find-source-location.
1379 2000-09-20 Dave Love <fx@gnu.org>
1381 * iswitchb.el: Some doc fixes.
1382 (iswitchb-mode-map): Define completely initially. Inherit
1383 minibuffer-local-map.
1384 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
1386 (iswitchb-global-map): New variable.
1387 (iswitchb-summaries-to-end): Amalgamate regexps.
1388 (iswitchb-mode): New.
1389 (iswitchb-mode-hook): New variable.
1390 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
1393 2000-09-20 Gerd Moellmann <gerd@gnu.org>
1395 * ehelp.el (electric-help): New defgroup.
1396 (electric-help-shrink-window): New user-option.
1397 (with-electric-help): Use it.
1399 * window.el (shrink-window-if-larger-than-buffer): If face
1400 `mode-line' has a :box, and we're on a graphical frame, add 1
1401 to the needed window height.
1403 * frame.el (frame-notice-user-settings): Add a last parameter nil
1404 to a call to `append', because the last list passed to `append' is
1405 not copied, and so subsequent calls to assq-delete-all will modify
1406 default-frame-alist.
1408 * startup.el (fancy-splash-image): Change :type.
1409 (fancy-splash-head): Use an XBM image if appropriate.
1410 (command-line-1): Show splash screens in more cases.
1412 * startup.el (fancy-splash-text): Don't quote faces.
1414 * dired.el (dired-font-lock-keywords): Undo last change.
1415 (dired-readin): Bind indent-tabs-mode to nil.
1417 * startup.el (fancy-splash-head): If frame's background mode
1418 is `dark', change the black background of the image to gray.
1419 (fancy-splash-screens): Display startup echo area message.
1420 (display-startup-echo-area-message): New function.
1422 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
1424 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
1426 * info.el (info-header-node): Tweak for color ttys.
1428 * faces.el (face-valid-attribute-values): Make sure directories we
1429 search for stipples both exist and are readable before trying to
1432 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
1433 in the dry-run case.
1435 * jka-compr.el (with-auto-compression-mode): New macro.
1437 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
1438 (custom-group-tag-face, custom-variable-tag-face): Use relative
1439 :height and inherit from `variable-pitch' face instead of
1441 * hi-lock.el (hi-black-hb): Likewise.
1443 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
1444 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
1445 toolbar-add-item, if image doesn't have a mask add a `:mask
1448 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
1450 * diff-mode.el: Docstring fixes.
1451 (diff-header-face, diff-comment-face): New faces.
1452 (diff-font-lock-keywords): Highlight a bit differently.
1453 (diff-find-source-location): Don't return SPAN any more.
1454 (diff-hunk-text): Don't bother erasing the temp buffer.
1455 (diff-find-text): Drop argument LINE.
1456 (diff-apply-hunk): Update calls to diff-find-text.
1457 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
1459 * calendar/calendar.el: Docstring fixes.
1460 (calendar-make-alist): Don't quote lambda.
1461 (calendar-star-date): Use make-local-variable.
1463 2000-09-19 Dave Love <fx@gnu.org>
1465 * toolbar/tool-bar.el: Renamed from toolbar.el.
1466 Change `toolbar' to `tool-bar' generally in symbols.
1467 Make some items invisible in `special' major modes.
1468 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
1471 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
1473 (fancy-splash-delay, fancy-splash-image): Remove :version here.
1475 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1477 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
1479 * files.el (find-file-suppress-same-file-warnings): New user-option.
1480 (find-file-noselect): Use it.
1482 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
1483 (fancy-splash-screen): Defgroup.
1485 * add-log.el (change-log-font-lock-keywords): Match names
1486 more exactly for the case that font-lock-constant-face is
1489 2000-09-19 Richard M. Stallman <rms@gnu.org>
1491 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
1493 2000-09-19 Andre Spiegel <spiegel@gnu.org>
1495 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
1497 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1499 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
1500 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
1501 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
1502 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
1503 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
1504 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
1505 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
1506 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
1507 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
1508 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
1509 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
1510 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
1512 * startup.el (fancy-splash-text): New variable.
1513 (fancy-splash-delay, fancy-splash-image): New user-options.
1514 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
1515 (fancy-splash-screens): New functions.
1516 (command-line-1): If display has a `display' frame parameter, has
1517 colors, and we have XPM support, show more fancy splash screens.
1519 2000-09-19 Dave Love <fx@gnu.org>
1521 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
1522 with null `help'. Use modern backquote syntax.
1524 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1526 * font-lock.el (font-lock-mode): Change message telling the user
1527 that ``the buffer is too big''.
1529 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
1530 for instance for the case that tab-width is 2.
1532 2000-09-18 Gerd Moellmann <gerd@gnu.org>
1534 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
1535 toolbar-add-item, if image doesn't have a mask add a `:mask
1538 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
1540 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
1541 and return a cons if it's non-nil.
1542 (diff-apply-hunk): Try to jump to the line in the source text
1543 corresponding to the position of point in the in the hunk.
1545 * info.el (Info-title-3-face, Info-title-2-face)
1546 (Info-title-1-face): Use face inheritance and relative sizes
1547 instead of hard-wiring things.
1549 * faces.el (secondary-selection): Make dark-background variant sane.
1551 2000-09-16 Andrew Innes <andrewi@gnu.org>
1553 * makefile.w32-in (compile-files-CMD): No need to make .elc files
1554 read-only, since they aren't under VC now.
1556 2000-09-17 Dave Love <fx@gnu.org>
1558 * tmm.el: Replace mapcar with mapc in several places.
1560 * loadhist.el (unload-feature): Maybe call elp-restore-list and
1563 * international/latin1-disp.el: New file.
1565 * calendar/cal-move.el (scroll-calendar-left)
1566 (scroll-calendar-right): Make arg optional (for active mode line).
1568 * calendar/calendar.el (calendar-mode-line-format): Make fields
1570 (calendar-read-date, calendar-read-date, calendar-window-list):
1572 (calendar-month-name): Use aref, not sref.
1574 * view.el (minor-mode-alist): Propertize the string.
1576 * international/characters.el (standard-case-table): Add entries
1579 2000-09-18 Miles Bader <miles@gnu.org>
1581 * info.el (info-node, info-xref): Add dark-background variants.
1583 * faces.el (header-line): Change defaults to be less confusing
1584 when mixed with mode-lines.
1586 * info.el (Info-fontify-node): Make a few cleanups.
1587 Add extra `help-echo' and `local-map' props to node xrefs.
1588 Use header-specific faces for node-names & xrefs.
1589 (Info-use-header-line): New variable.
1590 (info-header-xref, info-header-node): New faces.
1591 (Info-setup-header-line): New function.
1592 (Info-select-node): Call Info-setup-header-line when enabled.
1593 (Info-extract-pointer): Work even if the header line is hidden.
1594 (Info-header-line): New variable.
1596 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
1598 * vms-patch.el (print-region-function): Don't quote lambda.
1600 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
1602 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
1603 (lm-get-header-re): Allow spaces between the header and the colon.
1604 (lm-header): Allow $ in non-RCS headers.
1605 (lm-header-multiline): Put the strings back into order.
1606 Stop at an empty line. Don't require two space chars if the
1607 line is clearly not another header line.
1609 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
1610 (popup-menu-popup): Remove.
1612 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1614 * toolbar/toolbar.el (toolbar-add-item): Use the same image
1615 specification if or if not tool-bar item contains an `:enabled'
1618 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
1619 current buffer has no file name.
1621 2000-09-15 Dave Love <fx@gnu.org>
1623 * strokes.el: Sync with maintainer's current version with changes
1624 for Emacs, but avoid runtime cl and levents.
1625 (toplevel): Change autoloads and compilation requires.
1626 (strokes-version, strokes-bug-address, strokes-lift): Values
1628 (strokes-xpm-header, strokes-insinuated): New variable.
1629 (strokes): Add :link.
1630 (strokes-mode): Customized.
1631 (strokes-while-inhibiting-garbage-collector): New macro.
1632 (strokes-remassoc): Avoid remove-if.
1633 (strokes-fix-button2-command): Don't use ad-do-it.
1634 (strokes-insinuate): New function.
1635 (strokes-button-press-event-p, strokes-button-release-event-p):
1636 New functions, used instead of non-`strokes-' versions..
1637 (strokes-mouse-event-p): Rewritten.
1638 (strokes-event-closest-point): Avoid event-point.
1639 (strokes-get-grid-position): Avoid cdadr, caadr
1640 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
1642 (strokes-help): Use with-output-to-temp-buffer.
1643 (strokes-window-configuration-changed-p): New function.
1644 (strokes-update-window-configuration): Use buffer-live-p,
1645 strokes-window-configuration-changed-p.
1646 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
1647 (strokes-char-face): New face.
1648 (strokes-char-table, strokes-base64-chars): New variable.
1649 (strokes-xpm-for-stroke, strokes-list-strokes)
1650 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
1651 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
1652 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1653 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
1654 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
1657 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1659 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
1661 * image.el (create-image): Doc fix.
1663 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
1664 instead of `:heuristic-mask t'.
1666 2000-09-14 Andrew Innes <andrewi@gnu.org>
1668 * makefile.w32-in: Revert to Unix line endings.
1670 2000-09-14 Andrew Innes <andrewi@gnu.org>
1672 * makefile.w32-in: Add bootstrap support. Also copy lisp source
1675 * makefile.nt (DONTCOMPILE): Fix typo.
1677 * shell.el (shell-write-history-on-exit): New function.
1678 (shell-dumb-shell-regexp): New custom variable.
1679 (shell-mode): Make shell-write-history-on-exit the process
1680 sentinel if shell name matches shell-dumb-shell-regexp.
1682 * w32-fns.el: Comment out before-init-hook function which resets
1683 source-directory based; this breaks bootstrap.
1685 2000-09-14 Dave Love <fx@gnu.org>
1687 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
1688 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
1689 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
1690 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
1691 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
1692 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
1693 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
1694 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
1695 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
1697 * toolbar/toolbar.el: New.
1699 * subdirs.el: Add toolbar.
1701 2000-09-14 Gerd Moellmann <gerd@gnu.org>
1703 * indent.el (indent-for-tab-command): Doc fix.
1705 2000-09-14 Alex Schroeder <alex@gnu.org>
1707 * ansi-color.el (ansi-colors): Doc change.
1708 (ansi-color-get-face): Simplified regexp.
1709 (ansi-color-faces-vector): Added more faces, doc change.
1710 (ansi-color-names-vector): Doc change.
1711 (ansi-color-regexp): Simplified regexp.
1712 (ansi-color-parameter-regexp): New regexp.
1713 (ansi-color-filter-apply): Doc change.
1714 (ansi-color-filter-region): Doc change.
1715 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
1716 deal with zero length parameters.
1717 (ansi-color-apply-on-region): Doc change.
1718 (ansi-color-map): Doc change.
1719 (ansi-color-map-update): Removed debugging message.
1720 (ansi-color-get-face-1): Added condition-case to trap
1721 args-out-of-range errors.
1722 (ansi-color-get-face): Doc change.
1723 (ansi-color-make-face): Removed.
1724 (ansi-color-for-shell-mode): New option.
1726 2000-09-13 Kenichi Handa <handa@etl.go.jp>
1728 * international/quail.el (quail-start-translation): Translate KEY
1729 if necessary even if it doesn't have any mapping in the current
1731 (quail-start-conversion): Likewise.
1732 (quail-help): The output message is improved.
1734 2000-09-13 Miles Bader <miles@gnu.org>
1736 * comint.el (comint-output-filter): Revert to using
1737 `insert-before-markers'. Add bletcherous hack to undo damage
1738 caused by `insert-before-markers'. Put `front-sticky' property on
1739 overlays created here so that the field code understands how the
1740 overlay works. Use a let when making comint-last-prompt-overlay,
1741 so that the code is easier to read.
1743 2000-09-13 Dave Love <fx@gnu.org>
1745 * wid-edit.el (widget-default-format-handler): DTRT when
1746 doc-property is a function.
1748 2000-09-12 Francesco Potorti` <pot@gnu.org>
1750 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
1751 filed name if it's not there.
1753 2000-09-12 Dave Love <fx@gnu.org>
1755 * simple.el (read-mail-command): Doc fix.
1756 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
1758 * vc.el (vc-dired-listing-switches): Fix :version.
1760 * vc-hooks.el: Doc fixes.
1762 * subr.el (add-minor-mode): Use toggle-fun arg.
1764 * speedbar.el: Add :version to several defcustoms.
1766 * imenu.el (imenu--truncate-items, imenu--cleanup)
1767 (imenu--generic-function): Avoid mapcar.
1768 (imenu--replace-spaces): Function removed.
1769 (imenu--completion-buffer): Use subst-char-in-string.
1770 (imenu-add-to-menubar): Use keymap inheritance.
1772 2000-09-12 Miles Bader <miles@gnu.org>
1774 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
1775 (diff-mode-map): Bind `diff-test-hunk'.
1776 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
1778 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1780 * bytecomp.el (byte-compile-defvar): Undo last change
1781 because it breaks '(make-variable-buffer-local (defvar ...)'
1782 which is used at least in dired.
1784 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1786 * international/quail.el (quail-define-package): Docstring
1789 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1791 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
1792 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
1793 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
1794 docstring of "chinese-py".
1796 * international/quail.el (quail-translation-docstring): New
1798 (quail-show-keyboard-layout): Docstring modified.
1799 (quail-select-current): Likewise.
1800 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
1801 infinite recursive call.
1802 (quail-help): Check quail-translation-docstring. Format of the
1804 (quail-help-insert-keymap-description): Adjusted for the above
1807 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1809 * bytecomp.el (byte-compile-defvar): Only cons onto
1810 current-load-list in top-level forms. Else this leaks a cons cell
1811 every time a defun is called.
1813 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
1815 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
1816 Now understands non-unified diffs. Some functionality moved into
1817 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
1818 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
1819 modify anything. Only reposition point in the patched file if the
1820 patch succeeds. Only pop up another window if POPUP is true.
1821 Emit a message describing what happened if successful, and at what
1822 line-offset. Automatically detect reversed hunks and do something
1824 (diff-hunk-text, diff-find-text): New functions.
1825 (diff-filter-lines): Function removed.
1826 (diff-test-hunk): New function.
1827 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
1829 2000-09-10 Dave Love <fx@gnu.org>
1831 * textmodes/tildify.el: Minor doc/commentary fixes.
1832 (tildify) <defgroup>: Add :version.
1834 * faces.el (face-x-resources): Make custom type more specific.
1835 (frame-background-mode): Use mapc.
1836 (region) <defcustom>: Add :version.
1838 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
1840 * vc-sccs.el (vc-sccs-register):
1841 * vc-rcs.el (vc-rcs-register):
1842 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
1843 * vc.el (vc-register): Clear file's properties.
1845 2000-09-08 Gerd Moellmann <gerd@gnu.org>
1847 * faces.el (face-spec-set): Only face-spec-reset-face when
1850 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
1852 * help.el (help-insert-xref-button): Fix a typo in doc string.
1854 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
1856 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1857 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
1860 * menu-bar.el (read-mail-item-name): New function.
1861 (menu-bar-tools-menu): Use it to compute and display the package
1863 (menu-bar-tools-menu): Fix typo in GUD's help string.
1865 2000-09-07 Dave Love <fx@gnu.org>
1867 * diff-mode.el (diff-mouse-goto-source): New function.
1869 * vc-sccs.el: Doc fixes.
1870 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
1872 * vc-rcs.el: Doc fixes.
1873 (vc-rcs-register-switches, vc-rcs-checkin-switches)
1874 (vc-rcs-checkout-switches, vc-rcs-header)
1875 (vc-rcs-master-templates): Add or change :version.
1877 * vc-cvs.el: Doc fixes.
1878 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
1879 (vc-cvs-stay-local): Add :version.
1881 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
1883 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1885 * international/quail.el (quail-help): Fix previous change.
1887 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1889 * faces.el (color-values): Doc fix.
1891 * faces.el (frame-set-background-mode): Use frame-parameter
1892 instead of frame-parameters.
1894 * frame.el (filtered-frame-list): Reduce consing.
1895 (frames-on-display-list): Call frame-parameter instead of
1898 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1900 * language/devan-util.el (devanagari-to-indian-region): In the
1901 loop, change the following char, not preceding char.
1903 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1905 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
1906 instead of frame-parameters.
1908 * faces.el (set-face-attribute): Simplify by calling
1909 internal-set-lisp-face-attribute with FRAME being 0.
1911 * vc.el: Remove `Id' version control keyword.
1913 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1915 * help.el (help-make-xrefs): Adjusted for the change of
1916 help-xref-mule-regexp.
1917 (help-insert-xref-button): New function.
1919 * international/mule-cmds.el (help-xref-mule-regexp-template):
1920 Include the pattern for character set.
1923 * international/quail.el: Don't require face.
1925 (quail-other-command): Dummy command to make quail-help work better.
1926 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
1927 (quail-keyboard-layout-substitution): New variable.
1928 (quail-update-keyboard-layout): New function.
1929 (quail-keyboard-layout-type): New customizable variable.
1930 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
1931 (quail-keyboard-translate): Pay attention to
1932 quail-keyboard-layout-substitution.
1933 (quail-insert-kbd-layout): New function.
1934 (quail-show-keyboard-layout): New function.
1935 (quail-get-translation): If the definition is a vector of length
1936 1, and the element is a string of length 1, return the character
1938 (quail-update-current-translations): Fix the case of
1939 relative-index out of range.
1940 (quail-build-decode-map, quail-insert-decode-map): New Functions.
1941 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
1942 Show key sequences for all available characters.
1943 (quail-help-insert-keymap-description): Don't show such verbose
1944 key bindings as quail-self-insert-command.
1946 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1947 Format changed, and each element now have extra documentations.
1948 (tit-process-header): Delete invalid characters from TIT-PROMPT.
1949 Adjusted for the change of quail-cxterm-package-ext-info.
1951 2000-09-06 Gerd Moellmann <gerd@gnu.org>
1953 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
1954 requiring it leads to a recursive loading of vc.el and vc-hooks.el
1957 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1959 * vc.el: (toplevel): Don't require `dired' at run-time.
1960 (vc-dired-resynch-file): Remove autoload cookie.
1962 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1964 * vc.el: Made several backend functions optional.
1965 (vc-default-responsible-p): New function.
1966 (vc-merge): Use RET for first version to trigger merge-news, not
1968 (vc-annotate): Handle backends that do not support annotation.
1969 (vc-default-merge-news): Removed. The existence of a merge-news
1970 implementation is now checked on caller sites.
1972 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
1975 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
1976 special case that has been removed from the default in vc-hooks.el.
1978 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
1980 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
1982 2000-09-05 Andre Spiegel <spiegel@gnu.org>
1984 * vc-hooks.el: Require vc during compilation.
1985 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
1986 macro `with-vc-properties' in vc.el.
1987 (vc-file-getprop): Doc fix.
1988 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
1990 * vc.el: Require dired-aux during compilation.
1991 (vc-name-assoc-file): Moved to vc-sccs.el.
1992 (with-vc-properties): New macro.
1993 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
1994 vc-finish-steal): Use it.
1995 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
1996 to the backend-specific function is now supposed to do the checkout,
1998 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
2000 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
2001 set file properties; that gets done in the generic code now.
2003 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
2004 Changed parameter list, added code from vc.el that does the
2005 checkout, possibly with a double-take.
2007 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
2008 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
2009 the above under the new name.
2010 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
2011 parameter list, added checkout command.
2012 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
2013 properties; that gets done in the generic code now.
2015 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2017 * vc.el: Docstring fixes (courtesy of checkdoc).
2019 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2021 * vc.el (vc-checkout-writable-buffer-hook)
2022 (vc-checkout-writable-buffer): Remove.
2023 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
2024 (vc-log-mode): Make it into a clean derived major mode.
2025 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
2026 vc-log-mode if log-edit is not available.
2027 (vc-dired-mode-map): Don't set-keymap-parent yet.
2028 (vc-dired-mode): Do set-keymap-parent here.
2029 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
2031 2000-09-05 Gerd Moellmann <gerd@gnu.org>
2033 * faces.el (set-face-attribute, face-spec-reset-face)
2034 (face-spec-set): Avoid consing by removing calls to `apply'.
2036 * frame.el (frame-parameter): Move to C code.
2038 2000-09-05 Dave Love <fx@gnu.org>
2040 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
2041 insert-before-markers-and-inherit. Now checked systematically!
2043 2000-09-05 Alex Schroeder <alex@gnu.org>
2045 * sql.el (sql-postgres): Use sql-postgres-options.
2046 (sql-postgres-options): New variable.
2048 2000-09-05 Alex Schroeder <alex@gnu.org>
2050 * sql.el (sql-mode-menu): Work around missing variable mark-active
2052 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
2053 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
2056 2000-09-04 Gerd Moellmann <gerd@gnu.org>
2058 * vc.el (vc-dired-resynch-file): Add autoload cookie.
2060 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
2062 * Makefile.in (DONTCOMPILE): Fix typo in file name.
2064 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2066 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
2067 don't support anything else under SCCS yet.
2069 * vc-hooks.el: Minor doc fixes.
2071 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2073 * vc.el (vc-next-action-on-file): Do not visit the file if it's
2074 not necessary. If verbose in state `needs-patch', do the same as
2075 under `up-to-date'. When NOT verbose and `needs-patch', check out
2076 latest version instead of `merge-news'.
2077 (vc-next-action-dired): Don't mess with default-directory here; it
2078 breaks other parts of dired. It is the job of the
2079 backend-specific functions to adjust it temporarily if they need it.
2080 (vc-next-action): Remove a special CVS case.
2081 (vc-clear-headers): New optional arg FILE.
2082 (vc-checkin, vc-checkout): Set properties vc-state and
2083 vc-checkout-time properly.
2084 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
2085 (vc-print-log): Use new backend function `show-log-entry'.
2086 (vc-cancel-version): Do the checks in a different order. Added a
2087 FIXME concerning RCS-only code.
2089 * vc-rcs.el (vc-rcs-show-log-entry): New function.
2090 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
2092 * vc-cvs.el (vc-cvs-show-log-entry): New function.
2094 * vc-hooks.el (vc-default-mode-line-string): Show state
2095 `needs-patch' as a `-' too.
2097 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2099 * vc.el (vc-responsible-backend): New optional arg REGISTER.
2100 (vc-default-could-register): New function.
2101 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
2102 (vc-resynch-buffer): Call vc-dired-resynch-file.
2103 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
2104 vc-resynch-buffer instead of vc-resynch-window.
2105 (vc-next-action-dired): Don't redisplay here, that gets done as a
2106 result of the individual file operations.
2107 (vc-retrieve-snapshot): Corrected prompt order.
2109 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
2111 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
2113 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
2114 hostname regexps. Updated all callers.
2115 (vc-cvs-responsible-p): Handle directories as well.
2116 (vc-cvs-could-register): New function.
2117 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
2118 properties up-to-date.
2120 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
2121 user whether to create one.
2123 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2125 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
2126 check out a non-existing file.
2128 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
2129 workfile does not exist.
2131 * vc.el (vc-version-diff): Use `require' to check for existence of
2134 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2136 * vc-cvs.el (vc-cvs-registered): Use new function
2137 vc-cvs-parse-entry to do the actual work.
2139 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2141 * vc-hooks.el (vc-find-backend-function): If function doesn't
2142 exist, return nil instead of error.
2143 (vc-call-backend): Doc fix.
2145 * vc.el (vc-do-command): Doc fix.
2146 (vc-finish-logentry): When checking in from vc-dired, choose the
2147 right backend for logentry check.
2148 (vc-dired-mode-map): Inherit from dired-mode-map.
2149 (vc-dired-mode): Local value of dired-move-to-filename-regexp
2151 (vc-dired-state-info): Removed, updated caller.
2152 (vc-default-dired-state-info): Use parentheses instead of hyphens.
2153 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
2154 (vc-dired-listing-switches): New variable.
2155 (vc-directory): Use it, instead of dired-listing-switches.
2157 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
2158 (vc-cvs-dir-state): New function.
2159 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
2160 (vc-cvs-parse-entry): New function, also to be used in
2163 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2165 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
2166 *or* single-window-frames.
2168 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2170 * vc.el (vc-update-changelog): Split into generic part and default
2171 implementation. Doc string adapted.
2172 (vc-default-update-changelog): New function. Call the `rcs2log'
2173 script in exec-directory, to fix a long-standing nuisance.
2175 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
2176 simply signals an error.
2178 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2180 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
2181 control-flow more clear and to avoid running `cvs' twice.
2183 * vc.el (vc-next-action-on-file): Doc fix.
2184 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
2185 (vc-print-log): Eval `file' before constructing the continuation.
2187 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2189 * vc.el (vc-next-action-on-file): Corrected several messages.
2190 (vc-merge): Add prefix arg `merge-news'; handle it.
2192 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
2193 is not reached. It is.
2194 (vc-cvs-merge): Set state to 'edited after merge.
2195 (vc-cvs-merge-news): Set workfile version to nil if not known.
2196 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
2198 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
2199 via stdout. (Merge from main line.)
2201 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2203 * vc.el (vc-finish-logentry): Thinko in the "same comment"
2206 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2208 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
2209 against kill-all-local-variables.
2210 (vc-log-edit): Don't save vc-parent-buffer any more.
2211 (vc-last-comment-match): Initialize to an empty string.
2212 (vc-post-command-functions): New hook.
2213 (vc-do-command): Run it.
2214 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
2215 (vc-finish-logentry): Only add the comment to the ring if it's
2216 different from the last comment entered.
2217 (vc-new-comment-index): New function.
2218 (vc-previous-comment): Use it. Make the minibuffer message
2219 slightly less terse.
2220 (vc-comment-search-reverse): Make it work forward as well. Don't
2221 set vc-comment-ring-index if no match is found. Use
2222 vc-new-comment-index.
2223 (vc-comment-search-forward): Use vc-comment-search-reverse.
2224 (vc-dired-mode-map): Don't inherit from dired-mode-map since
2225 define-derived-mode will do it for us. Bind `v' to a keymap that
2226 inherits from vc-prefix-map so that we can bind `vt' without
2228 (vc-retrieve-snapshot): Parenthesis typo.
2230 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
2231 to 1. Make sure to switch to *vc* before looking for an error
2232 message. Use vc-parse-buffer.
2234 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2236 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
2238 (vc-retrieve-snapshot): Split into two parts.
2239 (vc-default-retrieve-snapshot): New function.
2241 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
2242 (vc-cvs-retrieve-snapshot): New function (untested).
2243 (vc-cvs-stay-local): Default to t.
2244 (vc-cvs-remote-p): New function and property.
2245 (vc-cvs-state): Stay local only if the above is t.
2246 (vc-handle-cvs): Removed.
2247 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
2248 done via vc-handled-backends now.
2249 (vc-cvs-header): Escape Id.
2251 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2253 * vc.el (vc-do-command): Remove unused commands.
2254 (vc-version-diff): Make sure default-directory ends with a slash.
2255 Move the window commands into a vc-exec-after.
2256 (vc-print-log): Move more of the code into the `vc-exec-after'.
2258 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2260 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
2261 (vc-print-log): Search current revision from beginning of buffer.
2262 (vc-revert-buffer): Clear echo area after the diff is finished.
2263 (vc-prefix-map): Removed definition of "t" for terse display in vc
2265 (vc-dired-mode-map): Inherit from dired-mode-map. Added
2266 definition of "vt" for terse display.
2267 (vc-dired-mode): Fix dired-move-to-filename-regexp.
2269 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2271 * vc.el (vc-exec-after): Avoid caddr.
2273 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2275 * vc.el (vc-exec-after): New function.
2276 (vc-do-command): Use it to add a termination message for async
2278 (vc-checkout): Try to handle a missing-backend situation.
2279 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
2280 of a directory with a backend using async diffs.
2281 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
2284 * vc-sccs.el (vc-sccs-state-heuristic): Use
2285 file-ownership-preserved-p.
2287 * vc-rcs.el (vc-rcs-state-heuristic): Use
2288 file-ownership-preserved-p.
2289 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
2291 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2293 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
2296 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
2297 when there are no changes.
2299 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2301 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
2303 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
2305 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2307 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
2309 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
2310 the `fset' outside of the defvar so that it works even if
2311 vc-prefix-map was already defined.
2312 (vc-setup-buffer): New function, split out of vc-do-command.
2313 (vc-do-command): Allow BUFFER to be t to mean `just use the
2314 current buffer without any fuss'.
2315 (vc-version-diff): Change the `diff' backend operation to just put
2316 the diff in the current buffer without erasing it. Always use
2317 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
2318 shrink-window-if-larger-than-buffer.
2319 (vc-print-log): Change the `print-log' backend operation to just
2320 put the log in the current buffer without erasing it. Protect
2321 shrink-window-if-larger-than-buffer.
2322 (vc-update-change-log): Fix setd typo.
2324 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
2325 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
2327 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
2328 (vc-rcs-diff): Insert in the current buffer and remove unused arg
2331 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
2332 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
2333 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
2335 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2337 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
2338 not possible, use vc-BACKEND-workfile-unchanged-p.
2339 (vc-default-workfile-unchanged-p): New function. Delegates to a
2340 full vc-BACKEND-diff.
2342 * vc-hooks.el (vc-simple-command): Removed.
2344 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
2345 instead of vc-simple-command.
2346 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
2347 avoid doing a diff when opening a file.
2348 (vc-rcs-state): Added check for unlocked-changes.
2349 (vc-rcs-header): Escape Id.
2350 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
2351 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
2354 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
2355 (vc-sccs-diff): Remove optional arg CMP.
2356 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
2357 SCCS-specific function.
2359 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
2362 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2364 * vc.el (vc-editable-p): Renamed from vc-writable-p.
2365 (with-vc-file, vc-merge): Use vc-editable-p.
2366 (vc-do-command): Remove unused var vc-file and fix the
2367 doubly-defined `status' var. Add a user message when starting an
2369 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
2370 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
2371 Use with-current-buffer.
2372 (vc-buffer-sync): Use unless.
2373 (vc-next-action-on-file): If the file is 'edited by read-only,
2374 make it read-write instead of trying to commit.
2375 (vc-version-diff, vc-update-change-log): Use `setq
2376 default-directory' rather than `cd'.
2377 (vc-log-edit): Don't forget to set default-directory in the
2380 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
2381 (vc-sccs-state-heuristic): Use file-writable-p instead of
2383 (vc-sccs-checkout): Use `unless'.
2385 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
2386 of comparing userids.
2387 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
2388 Simplify the logic by eliminating unreachable code.
2389 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
2390 just do a recursive call if we need to retry.
2391 (vc-rcs-checkout): Handle the case where rcs is missing by making
2392 the buffer read-write if requested and re-signalling the error.
2394 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
2396 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2398 * vc-hooks.el (vc-handled-backends): Docstring change.
2399 (vc-ignore-vc-files): Mark obsolete.
2400 (vc-registered): Check vc-ignore-vc-files.
2401 (vc-find-file-hook, vc-file-not-found-hook): Don't check
2404 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
2406 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2408 * vc.el (vc-checkout): Don't do anything special for ange-ftp
2409 files since ange-ftp already has vc-registered return nil.
2411 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
2412 (vc-sccs-workfile-version): Use with-temp-buffer and new
2413 vc-parse-buffer and don't bother setting the property.
2414 (vc-sccs-add-triple): Use with-current-buffer and
2416 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
2418 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
2419 derives from the old vc-parse-buffer but uses the revision number
2420 rather than the date (much easier to compare robustly).
2421 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
2422 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
2423 locking-user more directly. Check strict locking and set
2424 checkout-model appropriately.
2425 (vc-rcs-parse-locks): Remove.
2426 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
2427 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
2428 (vc-rcs-system-release): Use with-current-buffer and
2430 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
2432 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
2433 (vc-simple-command): Docstring fix.
2434 (vc-registered): Align the way the file-handler is called with the
2435 way the function itself works.
2436 (vc-file-owner): Remove.
2438 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
2439 extraction of fields and call to file-attributes because of a
2440 temporary bug in rcp.el.
2441 (vc-cvs-fetch-status): Use with-current-buffer.
2443 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2445 * vc.el (vc-do-command): Use file-relative-name.
2446 (vc-responsible-backend): Use vc-backend if possible.
2447 (vc-create-snapshot): Improve the `interactive' spec. Add support
2448 for branches and dispatch to backend-specific `create-snapshot'.
2449 (vc-default-create-snapshot): New function, containing the bulk of
2450 the old vc-create-snapshot.
2451 (vc-retrieve-snapshot): Improve the interactive spec.
2453 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
2454 (vc-backend-hook-functions): Remove.
2455 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
2456 (vc-backend): Reintroduce the test for `file = nil' now that I
2457 know why it was there (and added a comment to better remember).
2459 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
2460 code from vc-sccs-hooks.el.
2461 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
2463 (vc-sccs-responsible-p): Use expand-file-name instead of concat
2464 and file-directory-p instead of file-exists-p.
2465 (vc-sccs-check-headers): Simplify the regexp.
2467 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
2468 from vc-rcs-hooks.el. Don't require 'vc anymore.
2469 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
2470 file-directory-p instead of file-exists-p.
2472 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
2473 from vc-cvs-hooks.el.
2474 (proto vc-cvs-registered): Require 'vc-cvs instead of
2475 'vc-cvs-hooks. Don't require 'vc anymore.
2476 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
2477 file-directory-p instead of file-exists-p.
2478 (vc-cvs-create-snapshot): New function, replacing
2480 (vc-cvs-assign-name): Remove.
2482 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2484 * vc-cvs.el (vc-cvs-header): New var.
2486 * vc-rcs.el (vc-rcs-exists): Remove.
2487 (vc-rcs-header): New var.
2489 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
2490 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
2491 (vc-sccs-header): New var.
2493 * vc.el (vc-do-command): Get rid of the `last' argument.
2494 (vc-header-alist): Remove, replaced by vc-X-header.
2495 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
2496 (vc-dired-hook): Use expand-file-name instead of concat.
2497 (vc-directory): Use file-name-as-directory.
2498 (vc-snapshot-precondition, vc-create-snapshot)
2499 (vc-retrieve-snapshot): Allow the command to operate on any
2502 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
2503 just removing the 'WORKFILE argument or by removing the 'MASTER
2504 argument and replacing `file' with (vc-name file).
2506 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2508 * vc.el: Update Copyright and add a crude list of backend funs.
2509 (vc-writable-p): New function.
2510 (with-vc-file): Use vc-writable-p.
2511 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
2512 (vc-register): Avoid vc-name.
2513 (vc-locking-user): Remove.
2514 (vc-steal-lock): Make the `owner' arg non-optional.
2515 (vc-merge): Use vc-writable-p instead of vc-locking-user and
2517 (vc-default-dired-state-info): Use vc-state instead of
2518 vc-locking-user and return special strings for special states.
2519 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
2520 and get rid of one of the special CVS cases.
2521 (vc-cancel-version): prettify error message with \\[...].
2522 (vc-rename-master): New function.
2523 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
2524 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
2525 the CVS special case generic.
2526 (vc-default-record-rename): Remove.
2527 (vc-file-tree-walk-internal): Only call FUNC for files that are
2528 under control of some VC backend and replace `concat' with
2530 (vc-file-tree-walk): Update docstring.
2531 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
2532 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
2534 * vc-sccs.el (vc-sccs-rename-file): Renamed from
2535 vc-sccs-record-rename. Use `find-file-noselect' rather than
2536 `find-file' and call `vc-rename-master' to do the actual move.
2537 (vc-sccs-diff): Remove unused `backend' variable.
2539 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
2540 to delay loading of vc-sccs until it is really used.
2541 (vc-sccs-master-templates): Preload.
2542 (vc-sccs-state): Update call to vc-sccs-parse-locks.
2543 (vc-sccs-project-dir): Remove (merged into
2544 vc-sccs-search-project-dir).
2545 (vc-sccs-search-project-dir): Rewrite using file name handling ops
2546 rather than `concat', make sure it is preloaded and don't bother
2547 to check that the file actually exists.
2548 (vc-sccs-parse-locks): Remove unused `file' argument, remove
2549 `locks' argument (use buffer's content instead) and eliminate n^2
2552 * vc-rcs.el: Update Copyright.
2553 (vc-rcs-rename-file): New function.
2554 (vc-rcs-diff): Remove unused `backend' variable.
2556 * vc-hooks.el: Update Copyright.
2557 (vc-backend): Don't accept a nil argument any more.
2558 (vc-up-to-date-p): Turn into a defsubst.
2559 (vc-possible-master): New function.
2560 (vc-check-master-templates): Use `vc-possible-master' and allow
2561 funs in vc-X-master-templates to return a non-existent file.
2563 * vc-cvs.el: Update Copyright.
2564 (vc-cvs-diff): Remove unused `backend' variable.
2565 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
2567 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
2569 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2571 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
2572 since it can be called from vc-rcs.el.
2573 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
2575 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2577 * vc.el (vc-version-diff): Expand file name read from the
2578 minibuffer. Handle the case when a previous version number can't
2579 be guessed. Give suitable messages when there were no differences
2581 (vc-clear-headers): Call backend-specific implementation, if one
2583 (vc-cancel-version): Made error checks generic. When done, clear
2584 headers generically, too.
2586 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
2587 from vc-clear-headers in vc.el.
2589 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
2591 (vc-rcs-latest-on-branch-p): Made second argument VERSION
2592 optional. Handle the case when it's not there.
2594 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2596 * vc.el (vc-locking-user): Moved from vc-hooks.el.
2598 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2600 * vc-hooks.el (vc-loadup): Remove.
2601 (vc-find-backend-function): Use `require'. Also, handle the case
2602 where vc-BACKEND-hooks.el doesn't exist.
2603 (vc-call-backend): Cleanup.
2605 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2607 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
2608 vc-rcs-grab-templates)
2609 (vc-rcs-registered): Remove. The default function works as well.
2610 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
2611 vc-sccs-grab-templates)
2612 (vc-sccs-registered): Remove. The default function works as well.
2614 * vc.el (vc-version-diff): Left out a vc- in call to
2616 (vc-default-dired-state-info, vc-default-record-rename)
2617 (vc-default-merge-news): Update for the new backend argument.
2619 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
2620 using the default function.
2621 (vc-call-backend): If calling the default function, pass it the
2622 backend as first argument. Update the docstring accordingly.
2623 (vc-default-state-heuristic, vc-default-mode-line-string): Update
2624 for the new backend argument.
2625 (vc-make-backend-sym): Renamed from vc-make-backend-function.
2626 (vc-find-backend-function): Use the new name.
2627 (vc-default-registered): New function.
2629 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2631 * vc.el (vc-merge): Use vc-find-backend-function.
2633 * vc-hooks.el (vc-backend-functions): Remove.
2634 (vc-loadup): Don't setup 'vc-functions.
2635 (vc-find-backend-function): New function.
2636 (vc-call-backend): Use above fun and populate 'vc-functions
2638 (vc-backend-defines): Remove.
2640 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2642 * vc.el (vc-register): Put a FIXME note for a newly found bug.
2643 Call vc-call-backend without the leading vc-.
2644 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
2645 (vc-check-headers): Call vc-call-backend without the leading vc-.
2646 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
2647 (vc-annotate-display): Replace confusing use of `cond' with `or'.
2648 Call vc-call-backend without the leading vc-.
2650 * vc-cvs.el (tail): Provide vc-cvs.
2651 * vc-sccs.el (tail): Provide vc-sccs.
2652 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
2654 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
2655 (vc-make-backend-function, vc-call): Pass names without leading
2656 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
2657 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
2658 (vc-call-backend): Always try to load vc-X-hooks.
2659 (vc-registered): Remove vc- in call to vc-call-backend.
2661 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2663 * vc.el (vc-process-filter): New function.
2664 (vc-do-command): Setup `vc-process-filter' for the async process.
2665 (vc-maybe-resolve-conflicts): New function to reduce
2666 code-duplication. Additionally, it puts the buffer in
2667 `smerge-mode' if applicable.
2668 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
2669 calling `merge-news'.
2670 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
2671 (vc-log-edit): New function. Replacement for `vc-log-mode' by
2672 interfacing to log-edit.el.
2673 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
2674 log-edit is available.
2675 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
2677 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2679 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
2680 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
2681 defvar and the initialization.
2682 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
2684 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
2685 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
2687 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
2689 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2691 * vc.el (vc-file-clear-masterprops): Removed.
2692 (vc-checkin, vc-revert-buffer): Removed calls to the above.
2693 (vc-version-diff): Use buffer-size without argument.
2694 (vc-register): Heed vc-initial-comment.
2696 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
2699 * vc-rcs.el (vc-rcs-register): Parse command output to find master
2700 file name and workfile version.
2701 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
2703 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
2704 vc-file-clear-masterprops.
2706 * vc-sccs.el (vc-sccs-checkout): Removed call to
2707 vc-file-clear-masterprops. If writable, set vc-state to 'edited
2708 rather than user login name.
2711 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2713 * vc.el (vc-workfile-unchanged-p): Remove unused argument
2714 `want-differences-if-changed' and simplify.
2715 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
2716 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
2717 output (which is invalid for async vc-diff) to decide whether to
2718 do the revert silently or not.
2720 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2722 * vc-hooks.el (vc-loadup): Load files quietly.
2723 (vc-call-backend): Oops, brain fart.
2725 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2727 * vc-cvs.el (vc-cvs-state): Typo.
2728 (vc-cvs-merge-news): Return the status code rather than the error msg.
2730 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2732 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
2733 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
2734 vc-state or vc-up-to-date-p.
2735 (vc-merge): Use vc-backend-defines to check whether merging is
2736 possible. Set state to 'edited after successful merge.
2738 * vc-hooks.el (vc-locking-user): If locked by the calling user,
2739 return that name. Redocumented.
2741 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2743 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
2744 new `vc-state' semantics.
2745 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
2746 'vc-locking-user to the current user.
2747 (vc-merge): Inline vc-backend-merge. Comment out code that I
2748 don't understand and hence can't adapt to the new `vc-state' and
2749 `vc-locking-user' semantics.
2750 (vc-backend-merge): Remove.
2752 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
2753 rather than 'vc-locking-user.
2755 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
2757 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
2758 (vc-state): Don't use 'reserved any more. Just use the same
2759 convention as the one used for vc-<backend>-state where the
2760 locking user (as a string) is returned.
2761 (vc-locking-user): Update, based on the above convention. The
2762 'vc-locking-user property has disappeared.
2763 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
2765 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
2766 with a heuristic one.
2767 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
2768 (vc-cvs-checkin): Do a trivial parse to set the state in case of
2769 error. That allows us to get to 'needs-merge even in the
2770 stay-local case. There's still no way to detect 'needs-patch in
2771 such a setup (or to force an update for that matter).
2772 (vc-cvs-logentry-check): Remove, the default works as well.
2774 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2776 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
2778 * vc.el (vc-do-command): kill-all-local-variables, to reset any
2779 major-mode in which the buffer might have been put earlier. Use
2780 `remove' and `when'. Allow `okstatus' to be `async' and use
2781 `start-process' in this case.
2782 (vc-version-diff): Handle the case where the diff looks empty
2783 because of the use of an async process.
2785 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2787 * vc.el (vc-next-action-on-file): Removed optional parameter
2788 `simple'. Recompute state unconditionally.
2789 (vc-default-toggle-read-only): Removed.
2791 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
2792 (vc-toggle-read-only): Undid prev change.
2794 * vc-cvs.el (vc-cvs-stay-local): Renamed from
2795 vc-cvs-simple-toggle. Redocumented.
2796 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
2797 (vc-cvs-toggle-read-only): Removed.
2799 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2801 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
2802 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
2803 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
2804 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
2805 still is. So maybe it should be removed.
2806 (vc-head-version, vc-find-binary): Remove.
2807 (vc-recompute-state): Move from vc-hooks.el.
2808 (vc-next-action-on-file): Add a `simple' argument to allow
2809 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
2810 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
2811 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
2812 (vc-dired-mode-map): Properly defvar it.
2813 (vc-print-log): Call log-view-mode if available.
2814 (small-temporary-file-directory): defvar instead of use boundp.
2815 (vc-merge-news): Moved to vc-cvs.el.
2816 (vc-default-merge-news): New function.
2818 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
2819 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
2820 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
2821 unknown `vc-latest-version' function. It should probably refer to
2822 vc-workfile-version or somesuch, but it's very unclear to me and I
2823 don't have SCCS to test things.
2825 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
2826 (vc-sccs-state-heuristic): Fix typo.
2827 (vc-sccs-workfile-unchanged-p): Add missing argument.
2829 * vc-rcs.el: Require vc and vc-rcs-hooks.
2830 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
2831 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
2832 (vc-release-greater-or-equal-p): Move from vc.
2833 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
2834 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
2835 (vc-rcs-checkout): Add a missing `new-version' argument in the
2836 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
2838 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
2839 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
2840 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
2841 than the apparently unbound `workfile-version'.
2843 * vc-hooks.el (vc-master-templates): Def the obsolete var.
2844 (vc-file-prop-obarray): Use `make-vector'.
2845 (vc-backend-functions): Add new hookable functions
2846 vc-toggle-read-only, vc-record-rename and vc-merge-news.
2847 (vc-loadup): If neither backend nor default functions exist, use
2848 the backend function rather than nil.
2849 (vc-call-backend): If the function if not bound yet, try to load
2850 the non-hook file to see if it provides it.
2851 (vc-call): New macro plus use it wherever possible.
2852 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
2853 nor `vc-find-binary' since it's only called from
2854 vc-mistrust-permission which is only used once the backend is known.
2855 (vc-checkout-model): Fix parenthesis.
2856 (vc-recompute-state, vc-prefix-map): Move to vc.el.
2858 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
2859 (vc-cvs-release, vc-cvs-system-release): Remove.
2860 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
2861 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
2863 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
2864 (vc-cvs-toggle-read-only): First cut at a function to allow a
2865 cvs-status-free vc-toggle-read-only.
2866 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
2867 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
2868 vc-cvs-status. Also set vc-state rather than vc-locking-user.
2869 (vc-cvs-checkout): Modify access rights directly if the user
2870 requested not to use `cvs edit'. And refresh the mode line.
2872 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
2873 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
2875 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2877 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
2878 workfile' that got lost when the code was extracted from vc.el.
2879 And merged the tail with the rest of the code (not possible in the
2880 old vc.el where the tail was shared among all backends). And
2881 explicitly set the state to 'edited if `writable' is set.
2883 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
2884 (vc-cvs-state): Be careful to return the value from
2886 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
2887 property but return it instead. Also be careful to handle a nil
2888 or "" `rev' when workfile is non-nil (it was handled properly when
2891 * vc.el: Removed those pesky unnecessary `(function' quotes.
2892 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
2893 directly in the defvar.
2894 (vc-do-command): Bind inhibit-read-only so as to properly handle
2895 the case where the destination buffer has been made read-only.
2896 (vc-diff): Delegate to vc-version-diff in all cases.
2897 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
2898 (vc-annotate-mode-variables): Removed (code moved partly to
2899 defvars and partly to vc-annotate-add-menu).
2900 (vc-annotate-mode): Turned into a derived-mode.
2901 (vc-annotate-add-menu): Moved in code in
2902 vc-annotate-mode-variables.
2903 (vc-update-change-log): Use make-temp-file if available.
2905 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
2907 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
2908 `vc-checkout-model' updated to `vc-cvs-update-model'.
2910 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2912 * vc.el (vc-next-action-on-file): Added handling of state
2914 (vc-checkout-carefully): Is now practically obsolete, unless the
2915 above is too slow to be enabled unconditionally.
2916 (vc-update-change-log): Fixed typo.
2918 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
2920 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
2921 Now handles state `unlocked-changes'.
2922 (vc-sccs-workfile-unchanged-p): New function, to support the above.
2924 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
2926 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
2927 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
2929 (vc-rcs-workfile-unchanged-p): Renamed from
2930 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
2931 function yet, but supposed to become one soon.
2933 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
2935 (vc-call-backend): Changed error message.
2936 (vc-state): Added description of state `unlocked-changes'.
2938 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2940 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
2941 always return t in CVS-controlled directories.
2943 * vc.el (vc-responsible-backend): New function.
2944 (vc-register): Largely rewritten.
2945 (vc-admin): Removed (implementation moved into vc-register).
2946 (vc-checkin): Redocumented.
2947 (vc-finish-logentry): If no backend defined yet (because we are in
2948 the process of registering), use the responsible backend.
2950 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
2951 Updated function lists.
2952 (vc-call-backend): Fixed typo.
2954 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
2956 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
2957 Removed query option. Redocumented.
2959 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2961 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
2963 * vc.el: Updated callers of `vc-checkout-required' to use
2964 `vc-checkout-model'.
2966 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2968 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
2969 stuff updated to reference this function instead of the old
2970 `vc-backend-release-p'.
2972 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2974 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
2975 vc-checkout-model. Return appropriate values. Updated callers.
2977 2000-09-04 Martin Lorentzson <martinl@gnu.org>
2979 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
2980 (vc-backend-revert): Function moved into `vc-revert';
2981 `vc-next-action' must be updated to accomodate this change.
2982 (vc-backend-steal): Function moved into `vc-finish-steal'.
2983 (vc-backend-logentry-check): Function moved into
2984 `vc-finish-logentry'.
2985 (vc-backend-printlog): Function moved into `vc-print-log'.
2986 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
2987 (vc-backend-assign-name): Function moved into
2988 `vc-create-snapshot'.
2990 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2992 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
2993 Rename to vc-checkout-model. Return appropriate values.
2996 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
2997 to vc-checkout-model.
2998 (vc-checkout-required): Rename to vc-checkout-model.
2999 Re-implement and re-comment.
3000 (vc-after-save): Use vc-checkout-model.
3002 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3004 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
3005 Update to use the vc-BACKEND-diff functions instead.
3006 `vc-diff' is now working.
3008 * vc-rcs.el (vc-rcs-logentry-check): New function.
3010 * vc-cvs.el (vc-cvs-logentry-check): New function.
3012 * vc-sccs.el (vc-sccs-diff): Function changed name from
3013 `vc-backend-diff'. This makes `vc-diff' work.
3015 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
3016 of functions possibly implemented in a vc-BACKEND library.
3017 (vc-checkout-required): Fix bug that caused an error to be
3018 signaled during `vc-after-save'.
3021 This checkin is made with our new VC code base for the very first time.
3022 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
3024 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
3025 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
3027 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
3028 updated to `vc-uses-locking'.
3029 (vc-checkout-required): Call to backend function.
3030 `vc-checkout-required' updated to `vc-uses-locking' instead.
3032 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
3033 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
3035 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
3036 to match the split into various backends.
3037 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
3038 (vc-retrieve-snapshot): Bug fix.
3040 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3042 * vc-sccs.el (vc-sccs-release): Doc fix.
3044 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3046 * vc.el (vc-next-action-on-file): Bug found and fixed.
3047 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
3048 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
3050 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
3051 (vc-rcs-checkout): Name space cleaned up. No more revision number
3052 crunching function names that are not prefixed with vc-rcs.
3053 (vc-rcs-checkout-model): Function added. References to
3054 `vc-checkout-model' replaced.
3056 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3058 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
3059 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
3060 still need to be split, and implemented for RCS).
3062 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3064 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
3066 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
3067 required by the vc.el file.
3069 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
3070 required by the vc.el file.
3071 (vc-rcs-exists): Function added.
3073 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
3074 required by the vc.el file.
3076 * vc.el (vc-admin): Updated to handle selection of appropriate
3077 backend. Current implementation is crufty and need re-thinking.
3079 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
3081 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3083 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
3084 beginning of annotate buffers correctly.
3086 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
3087 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
3088 functionality updated quite a lot to support multiple backends.
3089 Variables `vc-annotate-mode', `vc-annotate-buffers',
3090 `vc-annotate-backend' added.
3092 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
3093 `vc-annotate-difference' added to supported backend functions.
3095 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3097 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
3098 Use with-temp-file instead of /bin/sh. Merged from mainline
3100 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3102 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
3104 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
3106 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
3108 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3110 * vc-hooks.el: vc-state-heuristic added to
3111 vc-backend-hook-functions.
3113 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
3115 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
3117 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
3118 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
3119 state to `reserved'.
3121 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
3122 `vc-checkout-required'. Rename the `locked' state to `reserved'.
3124 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3126 * vc-rcs-hooks.el: Implement new state model. Hardly anything
3129 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
3131 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
3132 if defined. (Merged from main line, slightly adapted.)
3134 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
3135 millenium problem (merged from mainline).
3137 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3139 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
3140 part and moved the non-BACKEND stuff to vc.el.
3142 * vc.el: Split the annotate feature into a BACKEND specific part
3143 and moved it from the vc-cvs.el file to this one.
3145 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3147 * vc-hooks.el: Implement new state model.
3148 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
3149 (vc-locking-user): Simplify. Now only needed if the file is
3150 locked by somebody else.
3151 (vc-lock-from-permissions): Remove. Functionality is in
3152 vc-sccs-hooks.el and vc-rcs-hooks.el now.
3153 (vc-mode-line-string): New name for former vc-status. Adapted.
3154 (vc-mode-line): Adapt to use the above. Remove optional parameter.
3156 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
3157 Various simplifications and adaptations all over the place.
3159 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
3160 Simplify and adapt the rest.
3162 * vc.el (vc-resynch-window): Add TODO comment: check for
3163 interaction with view mode according to recent RCS change.
3164 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
3166 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3168 * vc.el: Convert the remaining function comments to docstrings.
3170 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3172 * vc.el (vc-backend-release, vc-release-greater-or-equal)
3173 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
3174 (vc-minor-part, vc-previous-version): Functions that operate and
3175 compare revision numbers got proper documentation. Comments added
3176 about their possible removal.
3178 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3180 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
3181 the vc-backend.el files.
3183 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
3185 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
3186 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
3187 (vc-rcs-previous-version): Functions added.
3189 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
3191 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
3193 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3195 * vc-hooks.el (vc-master-templates): Is really obsolete.
3196 Comment out the definition for now. What is the right procedure
3198 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
3200 (vc-default-registered): Remove.
3201 (vc-check-master-templates): New function; does mostly what the
3203 (vc-locking-user): Don't rely on the backend to set the property.
3205 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
3206 Rewrite documentation.
3207 (vc-rcs-templates-grabbed): New variable.
3208 (vc-rcs-grab-templates): New function.
3209 (vc-rcs-registered): Rewrite to use above mechanism.
3211 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
3212 Rewrite documentation.
3213 (vc-sccs-templates-grabbed): New variable.
3214 (vc-sccs-grab-templates): New function.
3215 (vc-sccs-registered): Rewrite to use above mechanism.
3216 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
3217 Don't throw the result, simply return it.
3219 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
3220 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
3221 (vc-cvs-registered): Does the check itself now. Simplify.
3223 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
3226 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3228 * vc-cvs.el (vc-cvs-diff): New function.
3230 * vc-sccs.el (vc-sccs-diff): New function.
3232 * vc-rcs.el (vc-rcs-diff): New function.
3233 (vc-rcs-checkout): Bug (typo) found and fixed.
3234 (vc-rcs-register-switches): New variable.
3236 * vc.el (vc-backend-diff): Function removed and placed in the
3239 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3241 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
3243 * vc.el (vc-backend-checkout): Function removed and replaced in
3244 the vc-backend.el files.
3246 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
3248 * vc.el (vc-backend-admin): Removed and replaced in the
3249 vc-backend.el files.
3251 * vc.el (Martin): Removed all the annotate functionality since it
3252 is CVS backend specific.
3254 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3256 * spec.txt: Added specification of vc-state.
3258 * vc-sccs-hooks.el (vc-sccs-master-properties):
3259 Remove handling of vc-latest-version and
3260 vc-your-latest-version. What used to be vc-latest-version, is now
3261 returned as vc-workfile-version.
3262 (vc-sccs-workfile-version): Adapt.
3264 2000-09-04 Dave Love <fx@gnu.org>
3266 * vc.el: [Merged from mainline.]
3267 (vc-dired-mode): Make the dired-move-to-filename-regexp
3268 regexp match the date, to avoid treating date as file size.
3269 Add YYYY S option to WESTERN/
3271 2000-09-04 Dave Love <fx@gnu.org>
3273 * vc.el: Require `compile' when compiling.
3274 (vc-logentry-check-hook): New option.
3275 (vc-steal-lock): Use compose-mail.
3276 (vc-dired-mode-map): Defvar when compiling.
3277 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
3278 vc-sccs.el and renamed. Callers changed.
3279 (vc-backend-checkout, vc-backend-logentry-check)
3280 (vc-backend-merge-news): Doc fix.
3281 (vc-default-logentry-check): New function.
3282 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
3283 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
3284 (vc-backend-merge): Doc fix. Use backend functions.
3285 (vc-check-headers): Use backend functions.
3287 * vc-cvs.el: Require vc when compiling.
3288 (vc-cvs-register-switches): Doc fix.
3289 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
3290 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
3291 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
3292 New functions (code from vc.el).
3293 (vc-annotate-display-default): Fix interactive spec.
3294 (vc-annotate-time-span): Doc fix.
3296 * vc-rcs.el: Require vc when compiling.
3297 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
3298 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
3299 (vc-rcs-checkin): New functions (code from vc.el).
3300 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
3302 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
3304 * vc-sccs.el: Require vc when compiling.
3305 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
3306 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
3308 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
3310 (vc-sccs-add-triple, vc-sccs-record-rename)
3311 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
3312 (vc-sccs-admin): Doc fix.
3314 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3316 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
3317 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
3318 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
3321 * vc-sccs.el (vc-admin-sccs): Added from vc.el
3323 * vc-cvs.el: Moved the annotate functionality from vc.el.
3324 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
3326 2000-09-04 Dave Love <fx@gnu.org>
3328 * vc.el (vc-backend-release): Call vc-system-release.
3330 * vc-sccs.el (vc-sccs-system-release):
3331 Renamed from vc-sccs-backend-release.
3333 * vc-rcs.el (vc-rcs-system-release):
3334 Renamed from vc-rcs-backend-release.
3336 * vc-cvs.el (vc-cvs-system-release):
3337 Renamed from vc-cvs-backend-release.
3339 2000-09-04 Dave Love <fx@gnu.org>
3341 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
3343 (vc-backend-release): Dispatch to backend functions.
3344 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
3345 probably needs attention.]
3347 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
3348 (vc-sccs-backend-release): New function.
3350 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
3351 (vc-cvs-backend-release): New function.
3353 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
3355 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
3356 (vc-default-dired-state-info): New function.
3357 (vc-dired-state-info): Dispatch to backends.
3358 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
3360 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
3361 from vc.el and renamed.
3363 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3365 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
3366 (vc-version-other-window, vc-backend-assign-name): Removed
3367 references to vc-latest-version; sometimes changed into
3368 vc-workfile-version.
3370 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
3371 vc-rcs-master-workfile-version.
3372 (vc-rcs-workfile-version): Use the above. Don't call
3373 vc-latest-version (that was unreachable code, anyway).
3374 (vc-rcs-fetch-master-properties): Doc fix.
3376 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
3377 (vc-backend-hook-functions): Removed them from this list, too.
3378 (vc-fetch-properties): Removed.
3379 (vc-workfile-version): Doc fix.
3381 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
3382 (vc-rcs-workfile-version, vc-rcs-locking-user)
3383 (vc-rcs-uses-locking): Use it.
3385 * vc-hooks.el (vc-consult-rcs-headers):
3386 Moved into vc-rcs-hooks.el, under the name
3387 vc-rcs-consult-headers.
3389 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
3391 (vc-cvs-find-master): Use this name only; correct different
3392 versions of the name.
3394 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
3396 (vc-sccs-locking-user): Use the latter.
3398 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
3401 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
3403 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
3404 functions are implementation details of those two backends.
3406 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3408 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
3409 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
3411 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
3412 (vc-sccs-parse-locks): SCCS-specific code moved here from
3415 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
3416 code moved here from vc-hooks.
3418 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
3419 into back-end specific parts and removed. Callers not updated
3420 yet; because I guess these callers will disappear into back-end
3421 specific files anyway.
3423 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3425 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
3426 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
3429 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
3430 Store yes/no in the property, and return t/nil. Updated all
3433 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
3434 vc-sccs-uses-locking. Don't set property.
3435 (vc-sccs-locking-user): Don't set property.
3437 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
3438 vc-cvs-uses-locking. Don't set property here; leave that to
3440 (vc-cvs-locking-user): Reflect above change. Streamlined.
3442 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
3443 vc-rcs-uses-locking.
3444 (vc-rcs-locking-user): Reflect above change.
3446 2000-09-04 Dave Love <fx@gnu.org>
3448 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
3450 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
3452 * vc-hooks.el (vc-checkout-model): Punt to backends.
3454 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
3456 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
3458 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
3461 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
3464 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
3465 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
3467 * vc-hooks.el (vc-default-locking-user): New function.
3468 (vc-locking-user, vc-workfile-version): Punt to backends.
3470 2000-09-04 Dave Love <fx@gnu.org>
3472 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
3473 (vc-master-workfile-version): Moved from vc-hooks.
3475 * vc-rcs-hooks.el: Fix duplicate code in last change.
3477 * vc-rcs-hooks.el: Require vc-hooks when compiling.
3478 (vc-rcs-master-templates): Improve :type.
3479 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
3480 vc-master-workfile-version): Moved from vc-hooks.
3482 * vc-sccs-hooks.el: Require vc-hooks when compiling.
3483 (vc-sccs-master-templates): Improve :type.
3484 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
3486 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
3488 * vc-cvs-hooks.el: Require vc-hooks when compiling.
3489 (vc-cvs-master-templates): Improve :type. Use
3490 vc-cvs-find-cvs-master.
3491 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
3493 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
3495 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
3496 Moved to vc-cvs-hooks.
3498 * vc-hooks.el: Add doc strings in various places. Simplify the
3500 (vc-handled-backends): New user variable.
3501 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
3504 2000-09-04 Dave Love <fx@gnu.org>
3506 * vc.el: Some doc fixes for autoloaded and interactive functions.
3507 Fix compilation warnings from ediff stuff.
3508 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
3510 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
3512 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
3514 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
3516 2000-09-04 Dave Love <fx@gnu.org>
3518 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
3520 (vc-make-backend-function, vc-loadup, vc-call-backend)
3521 (vc-backend-defines): New functions.
3523 * vc-hooks.el: Various doc fixes.
3524 (vc-default-back-end, vc-follow-symlinks): Custom fix.
3525 (vc-match-substring): Function removed. Callers changed to use
3527 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
3530 2000-09-04 Dave Love <fx@gnu.org>
3532 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
3534 (vc-sccs-project-dir, vc-search-sccs-project-dir)
3535 (vc-sccs-registered): Doc fix.
3537 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
3538 (vc-cvs-registered): Doc fix.
3540 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
3541 (vc-rcs-registered): Doc fix.
3543 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3545 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
3547 * vc-hooks.el: vc-registered has been renamed
3548 vc-default-registered. Some functions have been moved to the
3549 backend specific files. they all support the
3550 vc-BACKEND-registered functions.
3552 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3554 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
3556 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
3558 2000-09-04 Dave Love <fx@gnu.org>
3560 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
3561 menu-bar-update-hook.
3563 * help.el (help-manyarg-func-alist): Add
3564 find-operation-coding-system.
3566 * wid-edit.el (widget-sexp-validate): Fix garbled code.
3568 * custom.el (custom-set-variables): Print message about errors in
3571 2000-09-03 Andrew Innes <andrewi@gnu.org>
3573 * makefile.w32-in: Change to DOS line endings.
3575 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3577 * mouse.el (mouse-popup-menubar): Supply the prompt string for
3578 minor-mode keymaps, if they don't have one.
3580 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3582 * eshell/esh-module.el (eval-when-compile): Don't lose if
3583 esh-module.el's file name is truncated to DOS 8+3 limits.
3585 2000-09-01 John Wiegley <johnw@gnu.org>
3587 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
3588 predicate, which caused entries in the completion list to be
3591 2000-08-30 John Wiegley <johnw@gnu.org>
3593 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
3594 sending to subprocesses. Also, hook pre-command-hook if
3595 `eshell-send-direct-to-subprocesses' is non-nil.
3596 (eshell-send-direct-to-subprocesses): New config variable. If t,
3597 subprocess input is send immediately.
3598 (eshell-toggle-direct-send): New function.
3599 (eshell-self-insert-command): New function.
3600 (eshell-intercept-commands): New function.
3601 (eshell-send-input): If direct subprocess sending is enabled,
3602 don't echo any input to the Eshell buffer. Let the subprocess
3603 handle that. This requires "stty echo" in bash, for example.
3605 2000-08-28 John Wiegley <johnw@gnu.org>
3607 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
3608 completion function for Eshell's implementation of `unset'.
3610 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3612 * info.el (Info-directory-list): Doc fix.
3614 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
3616 * filecache.el (file-cache-add-directory-using-find): Don't quote
3617 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
3619 2000-08-31 Kenichi Handa <handa@etl.go.jp>
3621 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
3624 2000-08-30 Andrew Innes <andrewi@gnu.org>
3626 * timer.el (run-with-idle-timer): Undo last change, so that timer
3627 is not activated immediately if Emacs is already idle. Some
3628 existing code relies on this behaviour.
3630 2000-08-30 Miles Bader <miles@gnu.org>
3632 * frame.el (set-frame-font): Do completion of font-name for
3635 2000-08-30 Kenichi Handa <handa@etl.go.jp>
3637 * international/quail.el (quail-start-translation): Bind locally
3638 last-command-event, last-command, and this-command.
3639 (quail-start-conversion): Likewise.
3640 (quail-self-insert-command): Fix docstring.
3642 2000-08-29 Gerd Moellmann <gerd@gnu.org>
3644 * progmodes/executable.el
3645 (executable-make-buffer-file-executable-if-script-p): Check that
3646 buffer contains at least 2 characters.
3648 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3650 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
3652 2000-08-29 Dave Love <fx@gnu.org>
3654 * diff-mode.el (diff-mode) <defgroup>: Add :version.
3655 (diff-mode-shared-map): Bind mouse-2.
3656 (diff-imenu-generic-expression): New variable.
3657 (diff-mode): Use it.
3659 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
3660 (mouse-popup-menubar): Add minor mode menus.
3661 (popup-menu): Check for lookup-key returning number.
3663 2000-08-29 Miles Bader <miles@gnu.org>
3665 * comint.el (comint-send-input): Create overlays using the proper
3666 front/read-advance arguments.
3668 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3670 * ps-print.el: Even/odd pages printing. Doc fix.
3671 (ps-print-version): New version number (6.0).
3672 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
3673 (ps-background, ps-begin-file, ps-begin-job): Code fix.
3674 (ps-print-duplex-feature): Variable eliminated.
3675 (ps-even-or-odd-pages): New variable.
3677 * progmodes/ebnf2ps.el: Doc fix.
3678 (ebnf-version): New version (3.3).
3679 (ebnf-user-arrow): Change variable customization to sexp.
3680 (ebnf-user-arrow): Function eliminated.
3681 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
3683 2000-08-29 Kenichi Handa <handa@etl.go.jp>
3685 * help.el (help-xref-mule-regexp): New variable.
3686 (help-make-xrefs): Handle help-xref-mule-regexp.
3688 * international/mule-cmds.el (help-xref-mule-regexp-template): New
3690 (describe-input-method): Temporarily activate the specfied input
3691 method to display the information.
3692 (describe-language-environment): Hyperlinks to mule related items.
3694 * international/mule-diag.el (charset-multibyte-form-string): New
3696 (list-character-sets-1): Use charset-multibyte-form-string.
3697 (describe-character-set): New function.
3698 (describe-coding-system): Hyperlinks to safe character sets.
3700 * international/quail.el (quail-help): New arg PACKAGE.
3701 Hyperlinks to mule related items.
3702 (quail-help-insert-keymap-description): Use
3703 substitute-command-keys instead of describe-bindings.
3704 (quail-translation-help): Hyperlinks to mule related items.
3706 2000-08-28 John Wiegley <johnw@gnu.org>
3708 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
3709 have a defsubst call itself. Made `eshell-flatten-list' back into
3712 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
3713 catch, in case re-centering point at bottom messes up the display.
3714 This happens frequently in Emacs 21, due I believe to variable
3717 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
3718 to call `find-tag-interactive'.
3720 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
3721 the list of remember directories.
3723 2000-08-28 John Wiegley <johnw@gnu.org>
3725 * align.el: Test align-region-separate to see if it's a symbol.
3727 2000-08-28 John Wiegley <johnw@gnu.org>
3729 * eshell/esh-util.el (eshell-flatten-list): Made this function
3730 into a defsubst form. It gets used very frequently, although
3731 calls don't occur all that often.
3733 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
3736 * eshell/esh-cmd.el (eshell-rewrite-while-command):
3737 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
3739 (eshell-copy-handles): Created a new macro for duplicating the
3740 current set of open handles. This is needed by the looping
3742 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
3743 is not incorrectly stomped on.
3745 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
3746 declaration for pcomplete-use-paring.
3747 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
3748 value of eshell-cmpl-use-paring.
3749 * pcomplete.el (pcomplete-use-paring): New config variable, to
3750 indicate whether paring should be used.
3751 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
3752 completion alternatives that have already been used.
3754 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
3755 bound to C-c C-y, which will repeat the previous N arguments
3756 (based on prefix argument).
3757 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
3759 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
3760 if there is no *Help* buffer. This is for XEmacs, which renames
3761 its help buffers uniquely. TODO: Find out what the current buffer
3764 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
3765 first entry that correlates to a passwd/group number. Later
3766 entries (used for group/user name aliasing to multiple IDs) are
3769 * eshell/em-xtra.el (eshell/expr):
3770 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
3771 (eshell-grep, eshell/diff, eshell/locate):
3772 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
3773 argument list, before passing it to the system command.
3775 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
3776 `find-tag' for use at final position in Eshell buffers (which
3777 otherwise triggers an error on Emacs 21).
3778 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
3779 buffer, if it is currently bound to `find-tag'.
3781 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
3782 in the list of matched Makefile names.
3783 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
3784 directory, prefer its contents to Makefile.
3786 * eshell/em-dirs.el (eshell/cd): cd commands that look up
3787 directory parts (like "cd old new", or "cd =regexp"), are now case
3788 sensitive on non-Windows/DOS platforms.
3790 * eshell/esh-mode.el (eshell-parse-command-input): When a user
3791 types RET after an open delimiter (like "), display a message
3792 indicating that Eshell is waiting for the closing delimiter.
3794 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
3795 environment variables.
3797 * eshell/em-unix.el (eshell/diff): Added logic to fail more
3798 gracefully if the user enters incorrect arguments.
3800 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
3803 * eshell/esh-var.el (eshell-interpolate-variable):
3804 * eshell/esh-mode.el (eshell-move-argument):
3805 * eshell/em-unix.el (eshell-du-sum-directory):
3806 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
3807 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
3810 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
3811 to ensure the `preserve' flag gets propagated when doing recursive
3814 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
3816 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
3817 Don't convert \n into \0177 in memory.
3818 (eshell-read-history, eshell-write-history): Convert \n to \0177,
3819 and back again, when reading and writing.
3821 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
3823 * eshell/esh-util.el (eshell-processp): Added to relieve constant
3824 testing of `fboundp' on `processp'.
3826 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
3827 (eshell/jobs): Don't call process-list if it is not bound.
3828 (eshell-gather-process-output): Support systems where async
3829 subprocesses aren't supported.
3830 (eshell-scratch-buffer, eshell-last-sync-output-start): New
3833 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
3834 eshell-do-eval returns t.
3835 (eshell-do-pipelines-synchronously): New defmacro.
3836 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
3837 when async subprocesses aren't supported.
3838 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
3839 if async subprocesses aren't supported.
3840 (eshell-resume-command): Don't assume STATUS is a string.
3842 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
3844 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
3845 (eshell-close-target, eshell-get-target): Use eshell-processp.
3846 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
3848 (eshell-get-target, eshell-create-handles): Doc fix.
3850 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
3852 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
3853 criterion to include commands that output something, as long as it
3854 leaves both the command and the end-of-buffer visible when the
3856 (eshell-review-quick-commands): Adjust the help doc string
3859 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
3861 * locate.el (locate): Cleaned up locate command's interactive prompting
3862 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
3864 * filecache.el (file-cache-case-fold-search): New variable
3865 (file-cache-assoc-function): New variable
3866 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
3867 Use file-cache-case-fold-search variable
3868 (file-cache-add-file): Use file-cache-assoc-function
3869 (file-cache-delete-file): likewise
3870 (file-cache-directory-name): likewise
3871 (file-cache-debug-read-from-minibuffer): likewise
3873 2000-08-28 Gerd Moellmann <gerd@gnu.org>
3875 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
3876 (abbrev-table-name): New function.
3877 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
3878 If non-nil list local abbrev, only.
3880 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
3882 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
3883 from Gnus support code, and use special article copy buffer
3884 `(gnus-original-article-buffer)' instead. This allows to get rid
3885 of article-hide-headers usage (which breaks in the latest Gnus
3886 version). Thanks to Detlev Zundel.
3888 2000-08-28 Kenichi Handa <handa@etl.go.jp>
3890 * international/quail.el (quail-use-package): Hide "... loaded"
3892 (quail-start-translation, quail-start-conversion): Likewise.
3894 * international/kkc.el (kkc-region): Hide "... loaded" message.
3896 2000-08-27 Dave Love <fx@gnu.org>
3898 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
3900 2000-08-27 Miles Bader <miles@gnu.org>
3902 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
3904 2000-08-27 Kenichi Handa <handa@etl.go.jp>
3906 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
3907 'ja-dic-cnv), not (require 'skkdic-cnv).
3909 2000-08-26 Miles Bader <miles@gnu.org>
3911 * faces.el (face-x-resources): Add entry for :inherit.
3912 * cus-face.el (custom-face-attributes): Add support for :inherit
3913 attribute. Add support for relative face heights.
3914 (custom-face-attributes-get): Treat `nil' as being a default value
3915 for :inherit (as well as `unspecified').
3917 * faces.el (set-face-attribute): Update doc string.
3918 (face-attribute-name-alist): Add :inherit.
3919 (face-valid-attribute-values): Handle :inherit.
3920 (face-read-string): Rephrase prompt to be less confusing.
3921 Assume that DEFAULT is a string, since we must return a string.
3922 (face-read-integer): Use `format' to turn DEFAULT into an
3923 acceptable default for face-read-string. Match NEW-VALUE against
3924 the string "unspecified", not the symbol `unspecified', since
3925 that's what face-read-string returns.
3926 (read-face-attribute): Lookup a name for old-value in valid, and
3927 use it as a default if we find one. Treat all values from
3928 face-read-string as strings. If the default is used, don't do any
3929 more processing on the value, just use the old value directly.
3930 (read-face-and-attribute, modify-face): Tweak prompt.
3931 (read-face-name): Don't assume prompt ends with a space.
3933 * faces.el (describe-face): Add support for :inherit attribute.
3935 2000-08-25 Kenichi Handa <handa@etl.go.jp>
3937 * terminal.el (terminal-emulator): Fix args to `concat'. Now
3938 concat doesn't accept interger.
3940 * international/kkc.el: Remove SKK from Keywords. Require
3941 ja-dic-utl instead of skkdic-utl.
3943 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
3944 Provide ja-dic-cnv instead of skkdic-cnv.
3945 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
3946 (iso-2022-7bit-short): Add safe-charsets property.
3947 (skkdic-convert-postfix): Search Japanese chou-on character in
3948 addition to Hiragana character.
3949 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
3950 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
3951 (batch-skkdic-convert): Likewise.
3953 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
3954 Provide ja-dic-utl instead of skkdic-utl.
3955 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
3957 2000-08-24 Dave Love <fx@gnu.org>
3959 * disp-table.el (standard-display-default): Make the test of `l'
3962 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
3965 * international/iso-ascii.el: Make pilcrow convenient string
3966 consistent with section.
3967 (iso-ascii-display): Set up multibyte characters as well as
3970 2000-08-24 Kenichi Handa <handa@etl.go.jp>
3972 * international/mule-cmds.el (reset-language-environment): Set
3973 default-process-coding-system to '(undecided . iso-latin-1), which
3974 makes process I/O almost consistent with file I/O. Call this
3975 function when mule-cmds.el[c] is loaded.
3977 2000-08-22 Andrew Innes <andrewi@gnu.org>
3979 * makefile.w32-in: New file.
3981 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
3983 * comint.el (comint-output-filter): Compare end of
3984 comint-last-output-overlay with the start of the newly inserted
3985 text, not the end, when deciding whether to extend it.
3986 Set saved-point's insertion type to advance after insertion.
3988 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
3989 since this is now done independently of font-lock mode.
3991 2000-08-21 Gerd Moellmann <gerd@gnu.org>
3993 * server.el (server-kill-new-buffers): New user option.
3994 (server-existing-buffer): New buffer-local variable.
3995 (server-visit-files): When using an existing buffer, set
3996 server-existing-buffer to t.
3997 (server-buffer-done): If server-kill-new-buffers is t, kill the
3998 buffer, unless it was already present before visiting it with
4001 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
4003 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
4004 even if the display doesn't support colors: some displays will
4005 support bold/underline faces.
4007 2000-08-21 Gerd Moellmann <gerd@gnu.org>
4009 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
4011 * startup.el (command-line): If user's init file had an error,
4012 add explanatory text to *Messages*.
4014 2000-08-21 Kenichi Handa <handa@etl.go.jp>
4016 * man.el (Man-getpage-in-background): Decode the process output by
4017 the system locale coding system.
4019 2000-08-20 Dave Love <fx@gnu.org>
4021 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
4022 Don't test x-popup-menu.
4023 (function) <complete-function>: Complete only fbound symbols.
4024 <validate, value>: New.
4025 (variable) <complete-function>: Complete only bound symbols.
4026 (coding-system): Add :base-only, :complete-function, :validate,
4027 :value, :prompt-match.
4028 (widget-coding-system-prompt-value): Use read-coding-system and
4030 (editable-field): Add :help-echo.
4031 (widget-push-button-gui, widget-push-button-cache)
4032 (widget-gui-action, widget-editable-list-gui): COmment out, along
4034 (widget-at): Make arg optional.
4035 (widget-echo-help): Adjust for current help-echo calling sequence.
4036 (widget-specify-field, widget-specify-button)
4037 (widget-specify-insert, widget-get-sibling, widget-image-find)
4038 (widget-convert, widget-insert, widget-leave-text)
4039 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
4040 (widget-setup, widget-field-find, widget-before-change)
4041 (widget-after-change, widget-default-complete)
4042 (widget-default-create, widget-default-delete)
4043 (widget-push-button-value-create, editable-field)
4044 (widget-field-prompt-value, widget-field-validate)
4045 (widget-choice-value-create, widget-choice-action)
4046 (widget-choice-validate, widget-checklist-add-item)
4047 (widget-radio-add-item, widget-radio-chosen)
4048 (widget-radio-value-inline, widget-editable-list-value-create)
4049 (widget-editable-list-entry-create)
4050 (widget-documentation-link-add)
4051 (widget-documentation-string-value-create)
4052 (widget-regexp-validate, widget-file-complete)
4053 (widget-sexp-validate, widget-plist-convert-widget)
4054 (widget-plist-convert-widget, widget-alist-convert-widget)
4055 (widget-alist-convert-widget, widget-color-complete): Simplify,
4056 particularly to avoid bindings which aren't optimized out.
4058 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
4060 (down-list, backward-up-list, up-list, kill-sexp)
4061 (backward-kill-sexp, mark-sexp): Make arg optional.
4062 (lisp-complete-symbol): Add optional arg PREDICATE.
4064 * cus-start.el: Add display-buffer-reuse-frames,
4065 file-coding-system-alist.
4067 2000-08-20 Gerd Moellmann <gerd@gnu.org>
4069 * startup.el (command-line): Clear realized faces after
4070 modifying TTY color mappings.
4072 2000-08-20 Miles Bader <miles@gnu.org>
4074 * faces.el (face-attr-match-p): Don't return true if ATTRS are
4075 merely a subset of FACE's attributes.
4077 2000-08-19 Miles Bader <miles@gnu.org>
4079 * comint.el (comint-output-filter): Save the point with a marker,
4080 not just a buffer position.
4082 * international/mule.el (set-buffer-process-coding-system): Make
4083 interactive prompt less confusing.
4085 2000-08-19 Gerd Moellmann <gerd@gnu.org>
4087 * hilit-chg.el: General cleanup of doc strings, comments and
4090 2000-08-19 Miles Bader <miles@gnu.org>
4092 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
4093 Compiler macro removed; beginning-of-line is no longer always
4094 equivalent to forward-line, in the presence of fields.
4096 * comint.el (comint-output-filter): Remove ad-hoc saving of
4097 restriction, and just use save-restriction, now that it works
4098 correctly. Don't adjust comint-last-input-start to account for
4099 our insertion; it shouldn't have moved because we don't use
4100 insert-before-markers anymore. Comment out call to
4101 `force-mode-line-update'; why is it here?
4103 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
4104 while checking for prompt to delete. Use `forward-line 0'
4105 instead of beginning-of-line.
4106 (gud-filter): Temporarily widen gud comint buffer while
4109 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
4111 * progmodes/sh-script.el: Big bag of typos.
4113 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
4114 check since ispell-process is not bound when ispell is not yet loaded.
4116 2000-08-18 Dave Love <fx@gnu.org>
4118 * image.el (find-image): Copy `spec' before using plist-put.
4120 2000-08-18 Gerd Moellmann <gerd@gnu.org>
4122 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
4125 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
4126 backward-kill-sexp, analogous to kill-sexp.
4128 * progmodes/icon.el (icon-indent-line)
4129 (icon-is-continuation-line): Handle comments specially.
4131 2000-08-17 Ken Stevens <k.stevens@ieee.org>
4133 * ispell.el: Set to standard author/maintainer/keyword fields.
4134 Fine tuning to menu map appearance and operation, and added help.
4135 Remove `start' and `end' error messages when compiling.
4136 (ispell-choices-win-default-height): Fixed comment string.
4137 (ispell-dictionary-alist-1): Fixed regexp in castellano and
4138 castellano8 dictionaries.
4139 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
4140 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
4141 dictionary, added italiano dictionary.
4142 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
4144 (ispell-tex-skip-alists): Added psfig support.
4145 (ispell-skip-html): Renamed from ispell-skip-sgml.
4146 (ispell-begin-skip-region-regexp, ispell-skip-region)
4147 (ispell-minor-check): Improved html skipping support to skip across
4148 code, and recognize `&' commands without propper `;' syntax;
4149 (ispell-process-line): Fix alignment error when manually
4150 correcting spelling.
4151 (ispell): Fix comment string.
4152 (ispell-add-per-file-word-list): Always put word list on new line.
4154 2000-08-17 Gerd Moellmann <gerd@gnu.org>
4156 * format.el (format-encode-run-method): Fix error message to say
4157 `encode' instead of `decode'. Use save-window-excursion around
4158 shell-command-on-region as in format-decode-run-method because
4159 shell-command-on-region can display a buffer with error output.
4160 (format-decode): Don't record undo information for the decoding.
4161 (format-annotate-function): Add parameter FORMAT-COUNT. Make
4162 that number part of the temporary buffer name so that more than
4163 one decoding using a temporary buffer can happen safely.
4165 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
4166 of `A-z' in the regexp.
4168 * hilit-chg.el: Fix typos in commentary.
4170 * help.el (view-emacs-news): Rewritten for new naming scheme
4173 * startup.el (command-line): Pop to *Messages* in case an error
4174 is signaled while loading user-init-file.
4176 2000-08-17 Andreas Schwab <schwab@suse.de>
4178 * files.el (insert-directory): Don't lose original file name,
4179 undoing an undocumented change.
4181 2000-08-17 Alex Schroeder <alex@gnu.org>
4183 * sql.el (sql-magic-go): Use comint-bol.
4184 (sql-copy-column): Use comint-line-beginning-position.
4185 (comint-line-beginning-position): Define a replacement for
4186 comint-line-beginning-position if it is not fboundp.
4188 2000-08-17 Alex Schroeder <alex@gnu.org>
4190 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
4191 it didn't have any effect anyway.
4193 2000-08-17 Alex Schroeder <alex@gnu.org>
4195 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
4196 --pset and pager=off instead of sending \\o|cat at the beginning
4199 2000-08-17 Miles Bader <miles@gnu.org>
4201 * progmodes/octave-inf.el: Add compatibility definition of
4202 comint-line-beginning-position.
4204 2000-08-17 Kenichi Handa <handa@etl.go.jp>
4206 * startup.el (normal-top-level): Look in each dir in load-path for
4207 a leim-list.el file too. This assures of loading leim-list.el
4208 that is created at Emacs installation time even if a user have his
4211 2000-08-17 Miles Bader <miles@gnu.org>
4213 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
4214 foreground color to black if the background is dark.
4216 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
4218 * loadhist.el (unload-feature): Typo.
4220 * finder.el (finder-compile-keywords):
4221 * cus-dep.el (custom-make-dependencies): Add local-variable settings
4222 to the generated file.
4224 * mail/mh-e.el (mh-make-local-vars):
4225 Replace make-variable-buffer-local with make-local-variable.
4228 * options.el (Edit-options-{set,toggle,t,nil}):
4229 * mail/mailabbrev.el (mail-abbrevs-mode):
4230 * textmodes/tex-mode.el (tex-expand-files):
4231 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
4233 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
4235 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
4236 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
4237 Allow going past the last element.
4238 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
4239 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
4240 (cvs-mouse-toggle-mark): Don't move point.
4241 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
4243 * progmodes/compile.el (grep): Provide a default set of files.
4244 (next-error): Docstring fix.
4245 (compilation-find-file): Avoid find-file (fails in a dedicated window).
4247 * emacs-lisp/easy-mmode.el (define-minor-mode):
4248 Use `symbol-value' to keep the byte-compiler quiet.
4250 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
4251 (diff-find-source-location): New fun, extracted from diff-goto-source.
4252 (diff-goto-source): Use it.
4253 (diff-next-complex-hunk, diff-filter-lines): New function.
4254 (diff-apply-hunk): New command.
4256 * smerge-mode.el (smerge-mode-menu): Doc fix.
4258 * msb.el (msb-mode): Define it in terms of define-minor-mode.
4260 2000-08-16 Dave Love <fx@gnu.org>
4262 * windmove.el (windmove) <defgroup>: Add :version.
4264 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
4265 (goto-address-fontify-p, goto-address-highlight-p)
4266 (goto-address-url-face, goto-address-url-mouse-face)
4267 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
4268 (goto-address-url-regexp): Use thing-at-point-url-regexp.
4269 (goto-address-fontify, goto-address-at-mouse): Simplify,
4270 (goto-address-at-point): browse-url-url-at-point,
4271 goto-address-find-address-at-point can return nil.
4272 (goto-address-find-address-at-point): Return nil on failure.
4274 * align.el (align) <defgroup>: Add :version.
4276 * calculator.el (calculator): Add :version.
4277 (calculator): Use two lines for calculator window if `modeline'
4280 * play/5x5.el: Doc fixes.
4281 (5x5) <defgroup>: Add :version.
4283 * play/fortune.el (fortune) <defgroup>: Add :version.
4284 (fortune-append): Fix error message.
4285 (fortune-from-region): Doc fix.
4287 * play/pong.el (pong): Doc fix.
4289 * play/morse.el: Keywords, commentary, autoloads.
4291 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
4293 * desktop.el (desktop-save): Don't look at symbol-value of a
4294 member of minor-mode-alist, unless it is boundp.
4296 2000-08-16 Sam Steingold <sds@gnu.org>
4298 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
4299 `while'; use `with-current-buffer' instead of `save-excursion'.
4300 Removed unnecessary kludges now that "*Buffer List*" is excluded.
4302 2000-08-16 Kenichi Handa <handa@etl.go.jp>
4304 * international/ccl.el (declare-ccl-program): Docstring modified.
4305 (ccl-execute-with-args): Likewise.
4307 2000-08-16 Miles Bader <miles@gnu.org>
4309 * progmodes/sql.el: Add compatibility definition of
4310 comint-line-beginning-position.
4312 2000-08-15 Gerd Moellmann <gerd@gnu.org>
4314 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
4315 'buffer-menu' property.
4316 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
4318 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
4319 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
4322 * buff-menu.el (list-buffers-noselect): Don't display the
4323 *Buffer List* buffer.
4325 * font-lock.el: Require jit-lock to prevent a very late
4326 `Loading jit-lock' message.
4328 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
4329 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
4332 2000-08-15 Miles Bader <miles@gnu.org>
4334 * textmodes/ispell.el (ispell-graphic-p): New constant.
4335 (ispell-choices-win-default-height, ispell-help): Use
4336 `ispell-graphic-p' instead of `xemacsp'.
4338 2000-08-15 Dave Love <fx@gnu.org>
4340 * simple.el: Autoload widget-convert when compiling.
4341 (mail-user-agent): Doc fix.
4343 * help.el (function-called-at-point, variable-at-point): Use
4345 (help-manyarg-func-alist): Add insert-and-inherit.
4347 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
4349 * delsel.el (delsel-unload-hook): New function.
4351 * find-file.el: Doc fixes. Move provide to end.
4352 (ff) <defgroup>: Add :link.
4353 (ff-goto-click): Deleted.
4354 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
4355 Use mouse-set-point.
4357 * textmodes/tildify.el: Doc fixes.
4358 (tildify) <defgroup>: Add:version.
4360 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
4361 (glasses-custom-set): Use set-default, not set.
4362 (minor-mode-alist): Propertize the lighter.
4363 (glasses-mode): Provide optional arg.
4365 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
4366 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
4367 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
4368 option. Provide :type.
4369 (cwarn-configuration): Provide :type.
4370 (cwarn-mode): Doc fix.
4372 * add-log.el (change-log-merge): Doc fix.
4373 (change-log-redate): New command.
4375 * net/browse-url.el (browse-url-filename-alist): Add a clause for
4377 (browse-url): Use dolist, not mapcar.
4378 (browse-url-at-point): Check for null url.
4379 (browse-url-event-buffer, browse-url-event-point): Functions
4381 (browse-url-at-mouse, browse-url-netscape): Simplify.
4383 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
4385 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
4386 Fix previous change to mapcan.
4387 (msb--init-file-alist, msb--add-separators)
4388 (msb--make-keymap-menu): Simplify.
4389 (msb--choose-file-menu): Use copy-sequence.
4390 (msb-mode-map): Add title to keymap.
4391 (msb-unload-hook): New function.
4393 * bs.el: Fix indentation.
4394 (bs) <defgroup>: Add :links.
4396 (bs-apply-sort-faces): Don't use window-system.
4397 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
4399 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
4401 * calendar/timeclock.el (timeclock-file): Run .timelog through
4402 convert-standard-filename.
4404 2000-08-14 Gerd Moellmann <gerd@gnu.org>
4406 * emacs-lisp/authors.el: New file.
4408 * paren.el (show-paren-priority): New user option.
4409 (show-paren-function): Set overlay priorities to
4410 show-paren-priority.
4412 2000-08-14 Miles Bader <miles@gnu.org>
4414 * comint.el (comint-bol): Use `forward-line 0' instead of calling
4415 beginning-of-line with inhibit-field-text-motion bound.
4417 2000-08-14 Gerd Moellmann <gerd@gnu.org>
4419 * calendar/timeclock.el: New file.
4421 2000-08-14 David Ponce <david@dponce.com>
4423 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
4424 `widget-button-click'. so that one can use left mouse button to
4425 click on dialog buttons.
4427 2000-08-14 Emmanuel Briot <briot@gnat.com>
4429 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
4430 identifiers, since XML is case sensitive
4432 2000-08-12 Miles Bader <miles@gnu.org>
4434 * comint.el (comint-output-filter): Don't bother frobbing
4435 window-start, it doesn't seem to be necessary.
4437 * comint.el (comint-send-string, comint-send-region): Make into
4438 real functions. Snapshot the prompt before sending.
4440 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4442 * info.el (Info-find-emacs-command-nodes): Rewrite to use
4443 technique similar to Info-index, instead of relying on specific
4444 names of relevant Index nodes.
4445 (Info-goto-emacs-command-node): Bind Info-history to nil when
4446 going to the first node found by Info-find-emacs-command-nodes.
4448 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4450 * menu-bar.el (menu-bar-help-menu): Add a :help string.
4452 2000-08-10 Miles Bader <miles@gnu.org>
4454 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
4456 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
4458 * info.el (Info-file-list-for-emacs): More elements for the
4459 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
4462 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
4464 * comint.el (comint-send-input): Make the newline boundary overlay
4465 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
4466 (comint-output-filter): Use `insert' instead of
4467 `insert-before-markers'. Extend comint-last-output-overlay when
4468 necessary since we can't rely on insert-before-markers to do it.
4469 * gud.el (gud-filter): Use `with-current-buffer' instead of
4470 save-excursion when inserting the output, so that point gets
4471 updated correctly; the old method relied on a rather dodgy
4472 side-effect of comint-output-filter to avoid the effect of
4475 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
4477 * files.el (recover-file): Call insert-directory instead of
4478 invoking `ls' directly.
4480 2000-08-10 Miles Bader <miles@gnu.org>
4482 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
4483 (comint-last-prompt-overlay): New variables.
4484 (comint-output-filter): Implement prompt highlighting.
4485 (comint-snapshot-last-prompt): New function.
4486 (comint-send-input): Snapshot the last prompt.
4487 Use comint-highlight-input-face.
4488 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
4489 Use defface instead of defcustom.
4490 (send-invisible, comint-send-eof): Snapshot the last prompt.
4491 (comint-delchar-or-maybe-eof): Use comint-send-eof.
4492 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
4494 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
4496 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
4497 (regexp-opt-group): Use a list of chars for `letters'.
4498 (regexp-opt-charset): `chars' is now a list of chars.
4499 Use a char-table rather than a vector so it works for multibyte chars.
4501 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
4502 Set cvs-minor-current-files to the selected fileinfo.
4503 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
4504 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
4506 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
4508 * files.el (insert-directory): Don't call access-file on
4509 directories on DOS and Windows.
4511 2000-08-09 Kenichi Handa <handa@etl.go.jp>
4513 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
4514 longer if necessary.
4515 (ccl-embed-code): Call ccl-embed-data to store CODE in
4518 2000-08-09 Miles Bader <miles@gnu.org>
4520 * comint.el (comint-output-filter): Properly handle the case where
4521 the text surrounded by comint-last-output-overlay was deleted.
4523 2000-08-08 Gerd Moellmann <gerd@gnu.org>
4525 * info.el (Info-insert-dir): Use Info-additional-directory-list if
4527 (Info-file-list-for-emacs): Remove "info" from the list because
4528 that leads to trying to use the documentation from file `info'
4529 in various situations where it isn't appropriate, for instance
4532 * ffap.el (ffap-read-file-or-url-internal): Handle case that
4533 DIR and/or STRING are nil.
4535 * progmodes/compile.el (compilation-setup): Make variable
4536 compilation-error-screen-columns buffer-local, as some comment
4537 in the code suggests it should be.
4539 * files.el (auto-mode-interpreter-regexp): New variable.
4540 (set-auto-mode): Use it.
4542 * indent.el (indent-for-tab-command): Doc fix.
4544 * mouse-sel.el (mouse-sel-mode): Doc fix.
4546 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
4549 * help.el (print-help-return-message): When
4550 display-buffer-reuse-frames is set, let the help window been quit,
4551 instead of deleting it, which might delete a reused frame.
4553 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
4555 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
4556 rename a directory to a name that differs only by its letter case.
4558 2000-08-08 Kenichi Handa <handa@etl.go.jp>
4560 * international/quail.el (quail-define-rules): Handle Quail decode
4561 map correctly. Add code for supporting annotations.
4562 (quail-install-decode-map): New function.
4563 (quail-defrule-internal): New optional arguments decode-map and
4565 (quail-advice): New function.
4567 2000-08-07 Sam Steingold <sds@gnu.org>
4569 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
4570 `defconst', `define-condition', `with-slots'.
4571 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
4573 2000-08-03 Miles Bader <miles@gnu.org>
4575 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4577 (comint-prompt-regexp, comint-get-old-input): Document dependence on
4578 comint-use-prompt-regexp-instead-of-fields.
4579 (comint-send-input): Add `input' field property to stuff we send to
4580 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
4581 (comint-output-filter): Add `output' field property to process
4582 output, if comint-use-prompt-regexp-instead-of-fields is nil.
4583 (comint-replace-by-expanded-history)
4584 (comint-get-old-input-default, comint-show-output)
4585 (comint-backward-matching-input, comint-forward-matching-input)
4586 (comint-next-prompt, comint-previous-prompt): Use field
4587 properties if comint-use-prompt-regexp-instead-of-fields is nil.
4588 (comint-line-beginning-position): New function.
4589 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
4590 (comint-replace-by-expanded-history-before-point): Use
4591 comint-line-beginning-position and line-end-position.
4592 (comint-last-output-overlay): New variable.
4593 (comint-mode): Make `comint-last-output-overlay' buffer-local.
4595 * shell.el (shell-prompt-pattern): Doc change.
4596 (shell-backward-command): Use line-beginning-position.
4598 * gud.el (gud-gdb-complete-command): Use
4599 comint-line-beginning-position.
4601 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
4602 comint-bol doesn't actually go to the beginning of the line.
4604 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
4605 if comint-use-prompt-regexp-instead-of-fields is non-nil.
4606 (try-expand-line-all-buffers): Likewise.
4608 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
4609 explicitly matching comint-prompt-regexp.
4610 (sql-copy-column): Use comint-line-beginning-position instead of
4611 explicitly matching comint-prompt-regexp.
4613 * progmodes/octave-inf.el (inferior-octave-complete): Use
4614 comint-line-beginning-position.
4616 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
4618 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
4619 looking for a prompt, use `forward-line 0' instead of
4620 `beginning-of-line', to avoid getting caught by an input field.
4622 2000-08-07 Gerd Moellmann <gerd@gnu.org>
4624 * files.el (shell-quote-wildcard-pattern): Make sure to return
4625 PATTERN, in the Unix case.
4627 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
4629 * play/zone.el (zone): Discard any pending input before running
4630 the randomly-chosen pgm.
4632 2000-08-07 Kenichi Handa <handa@etl.go.jp>
4634 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
4635 checking the existence of any multibyte characters.
4637 2000-08-06 Gerd Moellmann <gerd@gnu.org>
4639 * help.el (describe-mode): Test minor-mode symbol for being
4640 bound before testing its value for being nil.
4642 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
4643 `first', `second', and `third'.
4645 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
4646 (second): Make it an alias for `cadr'.
4648 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
4650 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
4651 types of display support faces now.
4653 2000-08-05 Gerd Moellmann <gerd@gnu.org>
4655 * pcvs.el (require): Require `cl' during compilation, only.
4657 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
4658 (toplevel): Remove `remq' and `remove' from autoloads.
4659 (cl-fake-autoloads): New variable. If set, arrange for an error
4660 when CL functions etc. are autoloaded.
4662 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
4664 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
4666 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
4667 popped up, but the user clicks outside the menu, return an empty
4668 regexp (that causes unhighlight-regexp to have no effect).
4670 * menu-bar.el (menu-bar-games-menu): Add Zone.
4672 * hi-lock.el (toplevel): Require font-lock.
4674 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4676 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
4677 (ebnf-8-bit-chars): New var for bug fix.
4678 (ebnf-string): Bug fix.
4680 2000-08-03 Sam Steingold <sds@gnu.org>
4682 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
4683 instead of `buffer-string'.
4684 (require 'cl): Always, not just when compiling.
4685 `ignore-errors' in `interactive', `list*', `defun*' &c make this
4688 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
4690 * international/mule-cmds.el (select-safe-coding-system): Make
4691 the message text about selecting a safe coding system more clear.
4693 2000-08-02 Gerd Moellmann <gerd@gnu.org>
4695 * hi-lock.el: New file.
4697 * play/zone.el: New file.
4699 * replace.el (occur): Set tab-width in the *Occur* buffer to the
4700 value of tab-width in the original buffer. Choose a line number
4701 format that's a multiple of the original buffer's tab width, so
4702 that lines appear right.
4704 * textmodes/ispell.el (ispell): New function, replacing an alias.
4705 Spell-check active region if in transient-mark-mode and mark
4706 is active; otherwise spell-check buffer.
4708 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4710 * ps-mule.el: Fix a customization problem on
4711 ps-mule-font-info-database-default.
4713 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
4715 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
4716 display-mouse-p instead of window-system.
4717 (ebrowse-member-mode-map): Ditto.
4719 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4721 * progmodes/ebnf2ps.el: Update ps-print functions call.
4722 Indentation fix. Doc fix.
4723 (ebnf-version): New version number (3.2).
4724 (ebnf-format-color, ebnf-begin-job): Code fix.
4726 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
4728 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
4729 font lock support on window-system.
4730 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
4732 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
4733 display-color-p, if fboundp, instead of window-system.
4735 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
4737 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
4738 instead of window-system.
4740 * wid-edit.el (widget-choose): Use display-mouse-p instead of
4742 (widget-choice-mouse-down-action): Use display-popup-menus-p
4743 instead of window-system.
4745 * strokes.el (strokes-file): Run the file name through
4746 convert-standard-filename.
4747 (strokes-mode): Call display-mouse-p instead of looking at
4748 window-system. Change the error message accordingly.
4750 * progmodes/cpp.el (toplevel): Support faces on tty's.
4752 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
4753 (lm-plot-square, lm-init-display): Don't use window-system.
4755 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
4756 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
4758 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
4759 instead of looking at window-system.
4761 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4763 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
4764 of testing if iswitchb-prepost-hooks is bound, because the
4765 latter will always be true when invoking a recursive minibuffer
4766 from an active Iswitchb buffer.
4768 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
4770 * files.el (shell-quote-wildcard-pattern): New function.
4771 (insert-directory): Call it. Only prepend "\" to command on Unix
4772 and GNU/Linux systems.
4774 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4776 * eshell/esh-groups.el: Change custom :link file names
4777 from `eshell.info' to `eshell'.
4779 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
4781 * dired.el (dired-build-subdir-alist): Expand subdirectory names
4782 correctly in recursive ange-ftp listings.
4784 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4786 * ps-print.el: Fix bug 1: if ps-font-size-internal,
4787 ps-header-font-size-internal and
4788 ps-header-title-font-size-internal variables are not set,
4789 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
4790 face text property is (foreground-color . COLOR) or
4791 `(background-color . COLOR)', ps-print crashes. Doc fix.
4792 (ps-print-version): New version number (5.2.4).
4793 (ps-plot-region): Code fix.
4794 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
4795 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
4798 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
4800 * glasses.el (glasses-make-readable): Fix uncapitalization of
4801 identifiers like `myXMLDocument'.
4803 2000-07-28 Karl Fogel <kfogel@red-bean.com>
4805 * mail/mail-hist.el (mail-hist-previous-input)
4806 (mail-hist-next-input): Do the obvious code factorization.
4807 (mail-hist-retrieve-and-insert): New func, contains common
4809 If inserting a message body, leave point at top.
4811 2000-07-28 Sam Steingold <sds@gnu.org>
4813 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
4814 Use `<=', not `<' to compare times!
4815 (ange-ftp-ls): Remove.
4817 2000-07-27 Gerd Moellmann <gerd@gnu.org>
4819 * play/cookie1.el: Add explanation of how to make cookie.el
4820 compatible with strfile(1) to comment.
4822 * subr.el (remove, remq): New functions.
4824 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
4825 escape `*' in regexps.
4826 (midnight-find): Reverse order of arguments in the funcall of
4829 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
4832 * play/meese.el: Add Commentary section.
4834 2000-07-27 Alex Schroeder <alex@gnu.org>
4836 * sql.el (sql-ms): Added autoload cookie.
4837 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
4838 (sql-oracle): Ditto.
4839 (sql-help): Doc change.
4841 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
4842 types and exceptions.
4844 2000-07-27 Alex Schroeder <alex@gnu.org>
4846 * sql.el (sql-placeholder-history): New variable.
4847 (sql-query-placeholders-and-send): New function that will query
4848 the user and replace placeholders with user input.
4849 (sql-oracle): If running on NT, set comint-input-sender to
4850 sql-query-placeholders-and-send.
4852 (sql-stop): If in the SQLi buffer, insert stop notification, else
4853 present it as a message.
4855 2000-07-27 Alex Schroeder <alex@gnu.org>
4857 * sql.el (sql-input-ring-separator): Doc change.
4858 (sql-input-ring-file-name): Doc change.
4859 (sql-interactive-mode): Use `sql-input-ring-separator' and
4860 `sql-input-ring-file-name' to set the comint-mode equivalents
4861 without making them local variables.
4862 (sql-stop): Don't bind `sql-input-ring-separator' and
4863 `sql-input-ring-file-name' dynamically to their comint-mode
4866 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4868 * international/mule.el (register-char-codings): New function.
4869 (make-coding-system): Handle `safe-chars' specification in the arg
4872 * international/mule-cmds.el
4873 (find-coding-systems-region-subset-p): This function deleted.
4874 (sort-coding-systems-predicate): New variable.
4875 (sort-coding-systems): New function.
4876 (find-coding-systems-region): Use
4877 find-coding-systems-region-internal.
4878 (find-coding-systems-string): Use find-coding-systems-region.
4879 (find-coding-systems-for-charsets): Check
4880 char-coding-system-table.
4881 (select-safe-coding-system-accept-default-p): New variable.
4882 (select-safe-coding-system): Mostly rewritten. New argument
4884 (select-message-coding-system): Call select-safe-coding-system
4885 with ACCEPT-DEFAULT-P arg.
4886 (reset-language-environment): Reset default-sendmail-coding-system
4887 to the default value iso-latin-1.
4888 (set-language-environment): Don't set the obsolete variable
4889 charset-origin-alist.
4891 * international/codepage.el (cp-coding-system-for-codepage-1):
4892 Give `safe-chars' property to make-coding-system.
4894 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
4895 calling select-message-coding-system twice.
4897 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
4898 instead of `safe-charsets'.
4899 (cyrillic-alternativnyj): Likewise.
4900 (ccl-encode-alternativnyj): Don't check the charset
4903 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4905 * composite.el (compose-chars-after): Preserve match data.
4907 2000-07-26 Sam Steingold <sds@gnu.org>
4909 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
4910 (ange-ftp-real-file-newer-than-file-p): New function.
4911 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
4912 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
4914 * tooltip.el (tooltip-float-time): Removed (use `float-time').
4915 * midnight.el (midnight-float-time): Ditto.
4917 2000-07-26 Andreas Schwab <schwab@suse.de>
4919 * files.el (normal-backup-enable-predicate): Correct
4920 interpretation of the return value of compare-strings.
4922 2000-07-26 Gerd Moellmann <gerd@gnu.org>
4924 * isearch.el (isearch-resume): New function.
4925 (isearch-done): Add something to command-history to resume
4927 (isearch-yank-line, isearch-yank-word): Use
4928 buffer-substring-no-properties instead of buffer-substring.
4930 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
4931 of flyspell-mouse-map.
4933 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
4934 duplicate definition.
4935 (makefile-mode): Remove duplicate setting of local-abbrev-table.
4937 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
4938 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
4940 2000-07-25 Sam Steingold <sds@gnu.org>
4942 * net/ange-ftp.el: Get modtime over the net.
4943 (ange-ftp-file-modtime): New function.
4944 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4945 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
4947 (ange-ftp-dot-to-slash): New function.
4948 (ange-ftp-fix-name-for-vms): Use it.
4950 * midnight.el (midnight-buffer-display-time): Use
4951 `with-current-buffer'.
4953 2000-07-25 Gerd Moellmann <gerd@gnu.org>
4955 * find-dired.el: Update copyright notice.
4956 (find-dired): Offer to kill a running `find'.
4958 * enriched.el (enriched-face-ans): For a `foreground-color'
4959 property, return '(("x-color" COLOR))' so that COLOR will be
4960 output as a parameter of the x-color annotation. Likewise for the
4961 `background-color' property. In the case of normal face
4962 properties, don't return annotations for unspecified foreground
4963 and background face attributes.
4965 2000-07-25 Kenichi Handa <handa@etl.go.jp>
4967 * language/japan-util.el (japanese-katakana-region): Fix handling
4970 2000-07-25 Miles Bader <miles@gnu.org>
4972 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
4973 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
4976 2000-07-24 Andrew Innes <andrewi@gnu.org>
4978 * timer.el (timer-activate-when-idle): Add optional parameter
4979 DONT-WAIT. Update docstring.
4980 (run-with-idle-timer): Specify extra parameter to
4981 timer-activate-when-idle, so that timer will be activated
4982 immediately if Emacs is already idle.
4984 * w32-fns.el (w32-using-nt): Fix docstring.
4986 2000-07-24 Dave Love <fx@gnu.org>
4988 * mouse.el (popup-menu): Set last-command-event.
4989 (mouse-major-mode-menu-prefix): Declare.
4991 2000-07-24 Gerd Moellmann <gerd@gnu.org>
4993 * textmodes/flyspell.el: Update to author's version 1.5d.
4995 * progmodes/hideshow.el: Update copyright notice.
4997 * vcursor.el: Set maintainer to FSF, since author cannot
5000 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
5002 * info.el (Info-goto-emacs-key-command-node): Leave a space after
5005 * mouse.el (popup-menu): Run the keymap through indirect-function,
5006 in case it was defined with define-prefix-key. If the menu is a
5007 list of keymaps, look up the binding of user's choice in each one
5009 (mouse-popup-menubar): If the global and local menu-bar keymaps
5010 don't have a prompt string, create one and insert it into the
5011 keymap. Don't barf if current-local-map returns nil.
5013 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
5015 * dired.el (dired-sort-R-check): Added to allow recursive listing
5017 (dired-sort-other): Use it.
5019 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5021 * Release of cc-mode 5.27
5023 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5025 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
5026 c-beginning-of-statement-1 that caused a bad case of recursion
5027 which could consume a lot of CPU in large classes in languages
5028 that have in-expression classes (i.e. Java and Pike).
5030 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
5031 statements before top level constructs (i.e. case 6 is moved
5032 before case 5 and is now case 4) to catch in-expression
5033 classes in top level expressions correctly.
5035 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5037 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
5038 objc-method-intro. Case 4 removed and case 5I added.
5040 * cc-langs.el (c-append-paragraph-start): New variable used by
5041 c-common-init to get paragraph-start correct.
5042 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
5043 initialize paragraph-start to make it correct both with and
5044 without the javadoc special case.
5046 * cc-mode.el (java-mode): Use c-append-paragraph-start to
5047 initialize paragraph-start for javadoc markup.
5049 * cc-vars.el (c-style-variables-are-local-p): Incompatible
5050 change by defaulting this to t. It's motivated by the
5051 confusing behavior that otherwise arise from the style system
5052 when editing both java and non-java files at the same time
5053 (see the comments about style setting in c-common-init).
5055 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5057 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
5058 similar to the one in c-fill-paragraph to check the fill
5059 prefix from the adaptive fill function for sanity.
5061 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5063 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
5066 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5068 * cc-mode.texi Documented the change of cpp-macro.
5070 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5072 * cc-align.el (c-lineup-multi-inher): Handle lines with
5073 leading comma nicely. Extended to handle member initializers
5076 * cc-engine.el: (c-beginning-of-inheritance-list,
5077 c-guess-basic-syntax): Fixed recognition of inheritance lists
5078 when the lines begins with a comma.
5080 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
5082 * cc-vars.el (c-offsets-alist): Changed default for
5083 member-init-cont to c-lineup-multi-inher since it now handles
5084 member initializers and indents better for leading commas.
5086 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5088 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
5089 handling that caused class open lines to be recognized as
5090 statement-conts in some cases.
5092 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
5093 guessed by the adaptive fill function unless point is on the
5094 first line of a block comment.
5096 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
5097 when the buffer ends with a macro continuation char.
5099 * cc-engine.el (c-guess-basic-syntax): Added support for
5100 function definitions as statements in Pike. The first
5101 statement in a lambda block is now labeled defun-block-intro
5102 instead of statement-block-intro.
5104 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
5105 so that the class surrounding point is selected, not the one
5106 innermost in the state.
5108 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
5109 recognition of switch labels having hanging multiline
5112 * cc-engine.el (c-beginning-of-member-init-list): Broke out
5113 some code in c-guess-basic-syntax to a separate function.
5114 * cc-engine.el (c-just-after-func-arglist-p): Fixed
5115 recognition of member inits with multiple line arglists.
5116 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
5117 member-init-cont when the commas are in funny places.
5119 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5121 * cc-defs.el (c-auto-newline): Removed this macro since it's
5124 * cc-engine.el (c-looking-at-bos): New helper function.
5125 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
5126 inexpr and toplevel classes apart in Pike.
5128 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
5131 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
5132 constant, since "class" can introduce an in-expression class
5135 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5137 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
5138 indentation on cpp-macro lines.
5140 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
5141 a syntax modifier like comment-intro, to make it possible to
5142 get syntactic indentation for preprocessor directives. It's
5143 incompatible wrt to lineup functions on cpp-macro, but it has
5144 no observable effect in the 99.9% common case where cpp-macro
5147 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5149 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
5150 member-init-cont when the preceding arglist is several lines.
5152 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5154 * cc-styles.el (c-style-alist): The basic offset for the BSD
5155 style corrected to 8.
5157 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5159 * cc-styles.el (c-style-alist): Adjusted the indentation of
5160 brace list openers in the gnu style.
5162 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5164 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
5166 * cc-cmds.el (c-electric-brace, c-electric-slash,
5167 c-electric-star, c-electric-semi&comma, c-electric-colon,
5168 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
5169 when c-syntactic-indentation is nil.
5171 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
5172 we were left at comments preceding the first statement when
5173 reaching the beginning of the buffer.
5175 * cc-vars.el (c-syntactic-indentation): New variable to turn
5176 off all syntactic indentation.
5178 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5180 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
5181 between the text and the block comment ender when it hangs,
5182 depending on how many there are before the fill.
5184 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5186 * cc-engine.el (c-beginning-of-closest-statement): New helper
5187 function to go back to the closest preceding statement start,
5188 which could be inside a conditional statement.
5189 * cc-engine.el (c-guess-basic-syntax): Use
5190 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
5192 * cc-engine.el (c-guess-basic-syntax): Better handling of
5193 arglist-intro, arglist-cont-nonempty and arglist-close when
5194 the arglist is nested inside parens. Cases 7A, 7C and 7F
5197 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
5198 up-to-date with javadoc 1.2.
5200 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5202 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
5203 multiline Pike type decls.
5205 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5207 * cc-cmds.el (c-indent-new-comment-line): Always break
5208 multiline comments in multiline mode, regardless of
5211 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5213 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
5214 fully::qualified::names in C++ member init lists. Preamble in
5217 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5219 * cc-langs.el (c-common-init): Handling of obsolete variables
5220 moved to c-initialize-cc-mode. More compatible style override
5221 when using global style variables.
5222 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
5223 variables moved here.
5225 * cc-mode.texi: Documented the special behavior of
5226 c-special-indent-hook as a style variable. Don't talk about
5227 doing (c-make-styles-buffer-local t) in a mode hook, since
5228 that's already too late to work right.
5230 * cc-styles.el (c-make-styles-buffer-local): Flag style
5231 variable localness in c-style-variables-are-local-p to make
5232 the compatibility measure in c-common-init work well.
5234 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
5235 longer contain set-from-style.
5236 * cc-styles.el (c-initialize-builtin-style): Don't check for
5237 set-from-style on c-special-indent-hook.
5238 * cc-styles.el (c-copy-tree): Obsolete. The standard function
5239 copy-alist is sufficient now.
5241 * cc-styles.el (c-set-style, c-set-style-1,
5242 c-get-style-variables): Fixes to variable initialization so
5243 that duplicate entries in styles have the same effect
5244 regardless of DONT-OVERRIDE.
5246 * cc-styles.el (c-set-style-2): Fixed bug where the
5247 initialization of inheriting styles failed when the
5248 dont-override flag is set.
5250 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
5253 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5255 * cc-defs.el (c-forward-comment): Removed the workaround
5256 introduced in 5.38 since it had worse side-effects. If a line
5257 contains the string "//\"", it regarded the // as a comment
5258 start since the \ temporarily doesn't have escape syntax.
5260 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
5262 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
5263 ada-xref.el before ada-prj.el, so that the Project menu is created
5264 when ada-prj tries to add to it.
5265 (ada-activate-keys-for-case): Suppress the characters that are not
5266 part of the Ada syntax. Better compatibility with else-mode
5267 (ada-adjust-case-interactive): When auto-casing is not active,
5268 correctly insert newlines (used to insert only ^M). Prevent the
5269 syntax table from being changed in case of an error
5270 (or '_' becomes part of a word and some commands are confused).
5271 Do nothing if ada-auto-case is nil.
5272 (ada-after-keyword-p): Ignore keywords that are also attributes
5273 (ada-batch-reformat): Update usage comment
5274 (ada-call-from-contextual-menu): New function
5275 (ada-case-read-exceptions): Reinitialize the casing exception list
5276 first to nil first, so that the casing exception file can be
5278 (ada-check-defun-name): Handles "configure" keyword for gnatdist
5280 (ada-compile-goto-error): Fix regexp used to detect a file:line
5281 anywhere in the error message
5282 (ada-contextual-menu-last-point): New variable
5283 (ada-create-keymap): If the variable delete-key-deletes-forward is
5284 t on XEmacs, it means that DEL should delete one character
5286 (ada-create-menu): Use :included instead of :visible for XEmacs.
5287 New submenu "Options".
5288 (ada-end-stmt-re): Correctly indent "select ... then abort"
5290 (ada-fill-comment-paragraph): Correctly delete all leading '--'
5291 even if they don't match ada-fill-comment-prefix Fix handling of
5292 paragraphs on the first or last line of a file.
5293 (ada-format-paramlist): Fix handling of default parameter values.
5294 (ada-get-body-name): New function.
5295 (ada-get-current-indent): Optimized by searchling directly for an
5296 existing generic part or a statement outside of it. Handle
5297 ada-indent-align-comments when indenting comments Replaced some
5298 regexps by testing directly the next character. This results in a
5299 huge speedup on some files. New indentation scheme for renames
5300 statements. Stop looking for the 'while' or 'for' associated with
5301 a 'loop' at the first semicolon encountered. A "return" can also
5302 match an anonymous access subprogram declaration.
5303 (ada-get-indent-noindent): Ignore strings and comments when
5304 looking for the keywords "record" and "private".
5305 (ada-goto-matching-decl-start): When matching "if", make sure we
5306 are not in fact seeing "end if". Ignore "when" statements except
5307 when initial keyword was "begin". Fix handling of nested
5308 procedures. Add a recursive call to this function to skip over
5309 other 'end' statmts. Fix indentation for "when .. => begin"
5310 (ada-in-open-paren-p): Fix indentation for complex boolean
5311 expressions, where 'and then', 'or else' and parenthesis
5312 statements are mixed up.
5313 (ada-in-paramlist-p): Skip comments while searching for the
5314 beginning Fix handling of operator declarations.
5315 (ada-indent-align-comments): New variable
5316 (ada-indent-current): Change the syntax table only in the
5317 protected section, so that we are sure it is restored correctly.
5318 (ada-indent-on-previous-lines): Use ada-use-indent and
5319 ada-with-indent Correctly indent "select ... then"
5320 (ada-indent-region): Slight speedup.
5321 (ada-indent-renames): New variable.
5322 (ada-last-which-function-subprog, ada-last-which-function-line):
5324 (ada-looking-at-semi-private): Correctly indent the 'private'
5325 keyword when it is the first word in a package declaration.
5326 (ada-loose-case-word): Stop searching if at the end of the buffer.
5327 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
5328 even if point is not initially at the end of the word.
5329 (ada-matching-decl-start-re): Add "when".
5330 (ada-mode): Add support for abbrev-mode, outline-mode and
5331 which-func-mode Override the old find-file.el entry in
5332 ff-special-constructs since it is using the obsolete
5333 ada-spec-suffix variable
5334 (ada-no-auto-case): New function
5335 (ada-scan-paramlist): When parsing the argument type, accept
5336 spaces (as in "X 'Class", generated by Rational Rose).
5337 (ada-other-file-name): No longer loads the other file.
5338 (ada-popup-menu): Save and restore the current buffer and cursor
5339 position before and after displaying the menu.
5340 (ada-search-ignore-complex-boolean): New function.
5341 (ada-uncomment-region): Emacs21 already knows how to delete
5342 comments not starting in the first column.
5343 (ada-use-indent): New variable
5344 (ada-which-function): New function.
5345 (ada-with-indent): New variable
5346 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
5347 can be batch-compiled from the command line.
5349 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
5350 Add to the menu when the file is loaded, not in ada-mode-hook.
5351 Add -toolbar to the default ddd command Switches moved from
5352 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
5353 ada-prj-default-comp-opt
5354 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
5355 Reference Manual to the menu
5356 (ada-check-current): rewritten as a call to ada-compile-current
5357 (ada-compile): Removed.
5358 (ada-compile-application, ada-compile-current, ada-check-current):
5359 Set the compilation-search-path so that compile.el automatically
5360 finds the sources in src_dir. Automatic scrollong of the
5361 compilation buffer. C-uC-cC-c asks for confirmation before
5363 (ada-compile-current): New parameter, prj-field
5364 (ada-complete-identifier): Load the .ali file before doing
5366 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
5367 conform to gnatmake's behavior.
5368 (ada-find-file-in-dir): New function
5369 (ada-find-references): Set the environment variables for gnatfind
5370 (ada-find-src-file-in-dir): New function.
5371 (ada-first-non-nil): Removed
5372 (ada-gdb-application): Add support for jdb, the java debugger.
5373 (ada-get-ada-file-name): Load the original-file first if not done
5375 (ada-get-all-references): Handles the new ali syntax (parent types
5376 are found between <>).
5377 (ada-initialize-runtime-library): New function
5378 (ada-mode-hook): Always load a project file when a file is opened,
5379 so that the casing exceptions are correctly read.
5380 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
5381 (ada-parse-prj-file): Use find-file-noselect instead of find-file
5382 to open the project file, since the latter does not work with
5383 speedbar Get default values before loading the prj file, or the
5384 default executable file name is wrong. Use the absolute value of
5385 src_dir to initialize ada-search-directories and
5386 compilation-search-path,... Add the standard runtime library to
5387 the search path for find-file.
5388 (ada-prj-default-debugger): Was missing an opening '{'
5389 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
5391 (ada-prj-default-gnatmake-opt): New variable
5392 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
5393 buffers, the project file is the default one Save the windows
5394 configuration before displaying the menu.
5395 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
5396 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
5397 ...) regexp-quote identifiers names to support operators +,
5399 (ada-remote): New function.
5400 (ada-run-application): Erase the output buffer before starting the
5401 run Support remote execution of the application. Use
5402 call-process, or the arguments are incorrectly parsed
5403 (ada-set-default-project-file): Reread the content of the active
5404 project file, not the one from the current buffer When a project
5405 file is set as the default project, all directories are
5406 automatically associated with it.
5407 (ada-set-environment): New function
5408 (ada-treat-cmd-string): New special variable ${current}
5409 (ada-treat-cmd-string): Revised. The substitution is now done for
5410 any ${...} substring
5411 (ada-xref-current): If no body was found, compiles the spec
5412 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
5413 compiler to get rid of command line length limitations.
5414 (ada-xref-get-project-field): New function
5415 (ada-xref-project-files): New variable
5416 (ada-xref-runtime-library-specs-path)
5417 (ada-xref-runtime-library-ali-path): New variables
5418 (ada-xref-set-default-prj-values): Default run command now does a
5419 cd to the build directory. New field: main_unit Provide a default
5420 file name even if the current buffer has no prj file.
5423 Rewritten to show a tabbed-dialog.
5424 (ada-prj-add-ada-menu): Remove the map and name parameters.
5425 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
5427 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
5428 (ada-prj-load-from-file): New function
5429 (ada-prj-save): Always save fields that depend on the current buffer
5430 (ada-prj-show-value): New function
5432 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
5433 Ada mode. This will allow us to display the Ada menu in any buffer
5434 we want (for project items).
5435 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
5436 number of spaces in the header.
5438 2000-07-24 Dave Love <fx@gnu.org>
5440 * ediff-init.el (ediff-region-help-echo): Bind face-help.
5442 2000-07-23 Noah Friedman <friedman@splode.com>
5444 * type-break.el (type-break): perform autosave.
5445 Suggested by Stephen Gildea <gildea@intouchsys.com>.
5446 (type-break-do-query): Cancel query schedule while performing
5447 actual query, to avoid possibility of a second query being made
5448 while first one is already in progress.
5449 (type-break-time-stamp-format): New variable.
5450 (type-break-time-stamp): New function.
5451 (type-break-time-warning): Use it.
5452 (type-break-keystroke-warning): Use it.
5453 (type-break-noninteractive-query): Use it.
5455 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
5457 Use add-minor-mode to set minor-mode-alist, if available.
5458 (eldoc-echo-area-use-multiline-p): New user option.
5459 (eldoc-echo-area-multiline-supported-p): New variable.
5460 (eldoc-docstring-format-sym-doc): Use them.
5461 (eldoc-mode): If not using idle timers, append to local post and
5462 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
5463 (eldoc-display-message-no-interference-p): Don't interfere with
5465 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
5466 (eldoc-function-arglist): New function.
5467 (eldoc-function-argstring): Use it.
5469 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
5470 auto save directory exists before calling directory-files.
5472 2000-07-23 Dave Love <fx@gnu.org>
5474 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
5477 2000-07-21 Dave Love <fx@gnu.org>
5479 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
5480 now passed to the function. It now works properly.
5482 * smerge-mode.el (smerge-mode-menu): Fill it out.
5484 2000-07-20 Gerd Moellmann <gerd@gnu.org>
5486 * info-look.el (info-lookup): If *info* is shown in another frame
5487 on the same display, select that frame, instead of switching to
5488 the Info buffer in another window of the selected frame.
5490 * simple.el (universal-argument-map): Bind numeric keypad keys
5491 kp-0 to kp-9 and kp-subtract.
5492 (digit-argument): Handle these keys.
5494 2000-07-20 Dave Love <fx@gnu.org>
5496 * net/goto-addr.el (goto-address-fontify): Don't bother with
5497 buffer-modified and read-only stuff -- irrelevant with overlays.
5498 Put an extra property on the overlays and use it to clean up in
5499 case goto-address is re-run.
5501 2000-07-19 Richard M. Stallman <rms@gnu.org>
5503 * timer.el (run-with-idle-timer): Doc fix.
5505 * mail/mail-utils.el (mail-strip-quoted-names):
5506 Handle case where <...> appears inside "...".
5507 Use replace-match to edit the string more simply.
5508 (rmail-dont-reply-to): Cope with an unmatched ".
5510 2000-07-19 Dave Love <fx@gnu.org>
5512 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
5515 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
5516 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
5517 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
5519 2000-07-19 Gerd Moellmann <gerd@gnu.org>
5521 * textmodes/refer.el: Correct maintainer's email address.
5523 * progmodes/hideif.el: Correct author's email address.
5524 Fix typo in comment.
5528 * mail/mailheader.el: Correct author's mail address.
5530 * gnus/parse-time.el: Correct author's mail address.
5532 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
5534 * comint.el (comint-highlight-input, comint-highlight-face):
5536 (comint-input-ring-file-name): Change custom type.
5537 (comint-mode-map): Bind mouse-2.
5538 (comint-insert-clicked-input): New function.
5539 (comint-send-input): Handle input highlighting.
5541 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
5543 * mouse.el (popup-menu): New function.
5544 (mouse-major-mode-menu): Use it.
5546 2000-07-18 Dave Love <fx@gnu.org>
5548 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
5551 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5553 * faces.el (face-font-selection-order)
5554 (face-font-family-alternatives): Add custom type.
5556 2000-07-18 Dave Love <fx@gnu.org>
5558 * cus-edit.el (custom-variable-reset-saved)
5559 (custom-variable-reset-standard): Remove unused bindings.
5561 * rect.el (open-rectangle-line): Remove unused let.
5563 * hl-line.el (hl-line-highlight): Check hl-line-mode.
5565 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5567 * cdl.el: Fix `Maintainer' keyword.
5569 * play/pong.el: Add author's email address.
5571 2000-07-17 Sam Steingold <sds@gnu.org>
5573 * files.el (insert-directory): Call `split-string' instead of
5576 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5578 * mail/vms-pmail.el: Change maintainer to FSF.
5580 * net/goto-addr.el: Change maintainer to FSF.
5582 * recentf.el: Update from author.
5584 * info.el (Info-title-face-alist): Removed.
5586 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
5588 * eshell/eshell.el (eshell): Replace links to eshell.info with
5589 links to eshell, to avoid problems on systems where the manual is
5590 installed as `eshell'.
5591 * eshell/esh-cmd.el (eshell-cmd): Ditto.
5592 * eshell/em-smart.el (eshell-smart): Ditto.
5593 * eshell/em-banner.el (eshell-banner): Ditto.
5594 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
5596 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
5597 same-file check in the MS-DOS version (it does support inodes).
5599 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
5601 * eshell/eshell.el (eshell-directory-name):
5602 Run default directory name through convert-standard-filename.
5604 2000-07-18 Kenichi Handa <handa@etl.go.jp>
5606 * international/mule-cmds.el (select-safe-coding-system):
5607 Fix typo in the comment.
5609 * language/european.el (compound-text):
5610 Force katakana-jisx0201 to be designated to G1.
5612 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
5613 Don't translate some national variant characters of latin-jisx0201.
5614 (x-ctext): Force katakana-jisx0201 to be designated to G1.
5616 * international/kkc.el (kkc-after-update-conversion-functions):
5618 (kkc-update-conversion): Run functions in it at the tail.
5620 2000-07-16 John Wiegley <johnw@gnu.org>
5622 * lisp/align.el (align-newline-and-indent):
5623 Adding new function. for auto-aligning blocks of code on RET.
5624 (align-region): Fixed badly formatted minibuffer message.
5626 2000-07-17 Kenichi Handa <handa@etl.go.jp>
5628 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
5629 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
5630 the conversion list at first if appropriate.
5631 (kkc-next): Don't update kkc-next-count here.
5632 (kkc-prev): Don't update kkc-prev-count here.
5633 (kkc-show-conversion-list-update): Fix setting up of conversion
5636 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
5638 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
5640 2000-07-16 Dave Love <fx@gnu.org>
5642 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
5643 function to be more specific.
5645 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
5646 non-string help-echo.
5647 (widget-types-convert-widget): Defsubst it.
5648 (widget-echo-help): Try to cope with a help-echo function of two
5651 2000-07-15 Jason Rumney <jasonr@gnu.org>
5653 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5654 Declare as obsolete.
5656 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
5658 2000-07-14 Gerd Moellmann <gerd@gnu.org>
5660 * hilit-chg.el: Fix typo.
5662 2000-07-14 Dave Love <fx@gnu.org>
5664 * info.el (Info-mode-menu): Fix use of :help, :enable.
5666 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
5668 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
5670 2000-07-13 Dave Love <fx@gnu.org>
5672 * emacs-lisp/easymenu.el: Doc fixes.
5673 (easy-menu-remove): Defalias to ignore.
5675 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
5676 Call throw correctly.
5678 2000-07-13 Gerd Moellmann <gerd@gnu.org>
5680 * faces.el (frame-background-mode): Doc fix.
5682 * simple.el (eval-expression-print-length): Change custom type to
5683 allow entering nil as value.
5685 2000-07-13 Dave Love <fx@gnu.org>
5687 * progmodes/fortran.el (fortran-imenu-generic-expression):
5688 Change definition layout.
5689 (fortran-mode-menu): Reinstate customize entries.
5691 * cus-edit.el (custom-group-menu-create, customize-menu-create):
5692 Use :filter, per old XEmacs code.
5694 2000-07-12 Gerd Moellmann <gerd@gnu.org>
5696 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
5697 event when deciding what to send to the terminal.
5699 2000-07-12 Dave Love <fx@gnu.org>
5701 * cus-start.el: Add optional version as 4th element of specs and
5702 use it for several things new in v21. Remove load-path. Fix type
5703 of line-number-display-limit.
5705 2000-07-11 Dave Love <fx@gnu.org>
5707 * progmodes/fortran.el: Don't require easymenu.
5708 Use repeat counts in various regexps.
5709 (fortran-mode-syntax-table): Defvar directly.
5710 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
5711 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
5712 Use defvar, not defconst.
5713 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
5714 (fortran-mode): Set fortran-comment-line-start-skip,
5715 fortran-comment-line-start-skip, dabbrev-case-fold-search.
5716 (fortran-comment-indent): Use defsubst.
5717 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
5718 Use fortran-comment-indent, not fortran-comment-indent-function.
5719 (fortran-comment-region, fortran-electric-line-number): Simplify.
5720 (fortran-auto-fill): New function.
5721 (fortran-do-auto-fill): Deleted.
5722 (fortran-find-comment-start-skip):
5723 Check for non-null comment-start-skip.
5724 (fortran-auto-fill-mode, fortran-fill-statement):
5725 Use fortran-auto-fill.
5726 (fortran-fill): Use fortran-auto-fill. Check for null
5727 comment-start-skip. Simplify final clause and use end-of-line finally.
5729 * widget.el (widget-plist-member): New alias.
5731 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
5733 * eshell/esh-module.el (toplevel): Reference
5734 byte-compile-current-file only if it is bound.
5736 2000-07-10 Gerd Moellmann <gerd@gnu.org>
5738 * dired.el: Don't require `dired-aux'.
5740 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
5742 * dired-aux.el (dired-show-file-type): New function.
5743 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
5744 (dired-show-file-type): Add autoload.
5746 2000-07-10 Kenichi Handa <handa@etl.go.jp>
5748 * international/mule-diag.el (describe-font): Adjusted for the
5749 change of fontset-info.
5750 (print-fontset): Likewise.
5752 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
5754 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
5756 2000-07-07 Gerd Moellmann <gerd@gnu.org>
5758 * bindings.el: Bind `[delete]' to delete-char.
5760 * dired.el (dired-find-alternate-file): New function.
5761 (dired-mode-map): Bind `a' to dired-find-alternate-file.
5762 (toplevel): Require dired-aux when compiling.
5763 (dired-buffers): Move defvar within file to avoid compiler warning.
5765 * info.el (Info-last-search): Variable removed.
5766 (Info-search-history): New variable.
5767 (Info-search): New Info-search-history.
5769 * battery.el, info-look.el: Change author's mail address.
5771 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5773 * mail/rmail.el (rmail-clear-headers): Don't throw an error
5774 if rmail-ignored-headers is nil.
5775 (rmail-retry-failure): Bind rmail-ignored-headers and
5776 rmail-displayed-headers to nil.
5778 2000-07-06 Gerd Moellmann <gerd@gnu.org>
5780 * lpr.el (lpr-page-header-switches): Add `-h' switch.
5781 (print-region-1): Don't hard code `-h' here.
5783 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
5785 2000-07-01 Francesco Potorti` <pot@gnu.org>
5787 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
5788 exim can use "your message" instead of "the message".
5790 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
5792 * facemenu.el: Docstrings fixes.
5793 (facemenu-get-face): Don't use internal-find-face.
5794 (facemenu-iterate): Rename arg to match the docstring.
5796 * newcomment.el (uncomment-region): Be more careful when skipping
5797 backwards over `=' not to bump into BOBP.
5799 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
5801 * ediff-diff.el (ediff-wordify): Use syntax table.
5802 * ediff-init.el (ediff-has-face-support-p): Use
5803 ediff-color-display-p.
5804 (ediff-color-display-p): Use display-color-p, changed to defun
5806 Got rid of special cases for NeXT and OS/2.
5807 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
5810 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5812 * emacs-lisp/lucid.el: Require CL.
5813 (copy-tree, remprop): Remove, it's provided by CL.
5814 (map-keymap): Define in terms of cl-map-keymap.
5815 (extent-property, set-extent-end-glyph): New functions.
5817 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
5819 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5821 * Makefile.in (DONTCOMPILE): Add comment that the name may
5822 not be changed without changing the make-dist script.
5824 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
5825 (cl-mapc): Use mapc instead of cl-old-mapc.
5827 2000-07-05 Andrew Innes <andrewi@gnu.org>
5829 * makefile.nt: Add support for `bootstrap' and related targets.
5831 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5833 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
5834 (easy-menu-do-define): Use `menu-item' format.
5835 Handle case where easy-menu-create-menu returns a symbol.
5836 Manually call the potential top-level filter in the function binding.
5837 (easy-menu-filter-return): New arg NAME.
5838 Convert to a keymap if MENU is an XEmacs menu.
5839 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
5840 (easy-menu-converted-items-table, easy-menu-convert-item):
5841 New var and fun to memoize easy-menu-convert-item-1.
5842 (easy-menu-do-add-item): Use it.
5843 (easy-menu-create-menu): Use easy-menu-convert-item.
5844 Wrap easy-menu-filter-return around any :filter specification.
5845 Don't convert the menu if a filter was specified.
5846 Tell easy-menu-make-symbol not to check for MENU being an expression.
5847 (easy-menu-make-symbol): New arg NOEXP.
5849 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5851 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
5852 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
5853 (eval-defun): If called with prefix arg, instrument code for
5856 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
5857 similar to that of eval-defun.
5859 2000-07-04 Dave Love <fx@gnu.org>
5861 * hl-line.el (hl-line-overlay): Make it permanent-local.
5863 * calendar/todo-mode.el: Replaced with a working version, based on
5864 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
5866 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
5868 * paths.el (prune-directory-list): New function.
5869 (Info-default-directory-list): Rewritten to more methodically
5870 enumerate a big list of possible info directories (based on the
5871 list used by the standalone info reader).
5873 * info.el (info-initialize): Use prune-directory-list to remove
5874 non-existent directories from Info-directory-list.
5876 * paths.el (Info-default-directory-list): Try a list of possible
5877 info-directories instead of a single one. Add the possible
5878 info directory "/usr/share/info".
5880 * woman.el (woman-man.conf-path): Explicitly include the debian
5881 man-db config file "/etc/manpath.config".
5882 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
5883 are present in `manpath.config'.
5884 (woman-manpath): Include "/usr/share/man".
5886 2000-07-03 Gerd Moellmann <gerd@gnu.org>
5888 * frame.el (blink-cursor-mode): Don't hide cursor initially.
5890 * startup.el (command-line): Initialize blink-cursor based
5893 * frame.el (blink-cursor): Default to nil if not running under
5896 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
5897 (face-x-resources): Remove duplicate entry for :font.
5899 * textmodes/refer.el (refer-find-entry-internal): Use some-window
5900 instead of cycling through windows with next-window.
5902 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
5903 of cycling through windows with next-window.
5905 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
5906 of cycling through windows with next-window.
5908 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
5909 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
5910 instead of cycling through windows with next-window.
5912 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
5913 instead of cycling through windows with next-window.
5915 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
5916 of cycling through windows with next-window.
5918 * terminal.el (te-process-output): Use walk-windows instead of
5919 cycling through windows with next-window.
5921 * server.el (server-switch-buffer): Use some-window instead of
5922 cycling through windows with next-window.
5924 * window.el (some-window): New function.
5925 (walk-windows): Remove reference to walk-windows-start.
5927 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
5929 2000-07-03 Richard Stallman <rms@gnu.org>
5931 * window.el (walk-windows): Guarantee termination by keeping a list
5932 of all the windows already handled.
5934 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5936 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
5939 * man.el (Man-notify-when-ready): Don't use window-system. If
5940 Man-notify-method is newframe, and the display is not
5941 multi-frame, select the frame created for the man page.
5942 (Man-init-defvars): Doc fix.
5944 2000-06-28 Gerd Moellmann <gerd@gnu.org>
5946 * faces.el (region): Change background color for light background.
5948 * ediff-wind.el (ediff-setup-control-frame): Remove :box
5949 attribute from mode-line face of Ediff control frame.
5951 * replace.el (query-replace-map): Bind `e' like `E'.
5953 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
5955 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
5956 Change name to "Select All".
5958 * dos-fns.el (convert-standard-filename): Fix last change.
5960 2000-06-27 Gerd Moellmann <gerd@gnu.org>
5962 * help.el (describe-variable): Don't insert a second `'s' in front
5963 of the string `value is shown below'. Since the syntax-table is
5964 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
5965 an existing `'s', so that this won't be deleted.
5967 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
5968 * pcmpl-unix.el: New files.
5970 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
5972 * wid-edit.el (widget-member): Use the new plist-member.
5974 2000-06-26 Gerd Moellmann <gerd@gnu.org>
5976 * replace.el (perform-replace): Undo change of 2000-04-04.
5977 Instead, move backward 1 character at the end of the loop when
5980 * faces.el (fringe): Change face for different backgrounds.
5982 * eshell/esh-module.el (toplevel): Load defgroup's differently;
5985 * eshell/*.el: Change spelling of the Free Software Foundation.
5987 * eshell/esh-toggle.el: Removed.
5989 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
5991 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
5994 2000-06-26 Alex Schroeder <alex@gnu.org>
5996 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
5997 `define-key'; instead of checking `(emacs-version)' check for
5998 `set-keymap-parent' and `set-keymap-name' directly. Add entries
5999 for `;' and `o' which might be electric.
6001 (sql-electric-stuff): New user option.
6002 (sql-magic-go): New function which uses `sql-electric-stuff'.
6003 (sql-magic-semicolon): New function which uses
6004 `sql-electric-stuff'.
6006 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
6009 (sql-oracle-options): New variable.
6010 (sql-oracle): Use it.
6012 (sql-imenu-generic-expression): Doc change.
6013 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
6016 (sql-informix): Added command line parameter "-" to force
6017 sql-informix-program to use stdout.
6019 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
6021 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
6022 (cp864-decode-table): Doc fix.
6023 (cp720-decode-table): New variable, supports the Arabic OEM
6024 codepage used by Windows.
6025 (cp737-decode-table): New, Greek OEM codepage used by Windows.
6027 2000-06-23 Dave Love <fx@gnu.org>
6029 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
6030 (font-lock-fontify-anchored-keywords): Use
6031 line-beginning-position.
6032 (global-font-lock-mode): Use mapc.
6034 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
6036 * eshell/esh-module.el: Require CL when compiling.
6038 2000-06-23 Gerd Moellmann <gerd@gnu.org>
6040 * comint.el (comint-substitute-in-file-name): Call replace-match
6041 with second and third arg t.
6043 * cus-edit.el (custom-button-face, custom-button-pressed-face):
6044 Specify foreground color.
6046 * faces.el (tool-bar, mode-line, header-line): Specify foreground
6049 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
6051 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
6052 cddr instead of cdddr.
6054 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
6055 instead of copy-list.
6057 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
6060 * subdirs.el: Add eshell subdirectory.
6062 * eshell: New subdirectory containing the Eshell package.
6064 * pcomplete.el: New file.
6066 2000-06-23 Paul Eggert <eggert@twinsun.com>
6068 * mail/mailpost.el (post-mail-send-it): Make sure file has
6069 proper permissions from birth.
6071 * files.el (basic-save-buffer-2): When temporarily setting
6072 file modes, set them to current modes plus 0200, not to 0777.
6074 * emerge.el (emerge-make-temp-file): Make sure file has proper
6075 permissions from birth.
6077 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
6079 * files.el (make-backup-file-name-1): On DOS/Windows, run the
6080 backup file name through convert-standard-filename.
6082 * dos-fns.el (convert-standard-filename): Convert leading
6083 directories as well. When long file names are supported, convert
6084 characters that are invalid in Windows file names.
6086 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6088 * ps-print.el: Fix bug: if ^L is the very first buffer character,
6089 ps-print crashes. New feature: page selection for printing. Create
6090 raw-text-unix coding system for XEmacs. Doc fix.
6091 (ps-print-version): New version number (5.2.3).
6092 (ps-plot-region): Bug fix.
6093 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
6094 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
6095 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
6097 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
6098 (ps-last-page): New vars.
6100 2000-06-21 Gerd Moellmann <gerd@gnu.org>
6102 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
6103 empty option string.
6105 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
6107 * man.el (man): Doc fix.
6109 2000-06-21 Kenichi Handa <handa@etl.go.jp>
6111 * international/mule-cmds.el (set-language-info-alist): Docstring
6114 2000-06-20 Gerd Moellmann <gerd@gnu.org>
6116 * version.el (emacs-version): Use ISO date format.
6118 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
6119 instead of `M-backspace'.
6121 * simple.el (turn-off-auto-fill): New function.
6123 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
6125 * jit-lock.el (with-buffer-prepared-for-jit-lock):
6126 Renamed from with-buffer-prepared-for-font-lock and use
6127 inhibit-modification-hooks rather than setting *-change-functions.
6128 Update all functions to use the new name.
6129 (jit-lock-first-unfontify-pos): New semantics (and doc).
6130 (jit-lock-mode): Make non-interactive.
6131 Don't automatically turn on font-lock.
6132 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
6133 Always use jit-lock-after-change.
6134 Remove and restore font-lock-after-change-function.
6135 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
6136 (jit-lock-after-unfontify-buffer): Remove.
6137 (jit-lock-stealth-fontify):
6138 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
6139 (jit-lock-after-change): Set the `fontified' text-prop to nil.
6141 2000-06-20 Sam Steingold <sds@gnu.org>
6143 * emacs-lisp/cl-indent.el (toplevel): Indent
6144 `print-unreadable-object' properly. Untabify.
6146 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6148 * textmodes/reftex.el (reftex-find-citation-regexp-format):
6149 Support for bibentry.
6150 (reftex-compile-variables): Fixed problem with end of section-re.
6152 * texmodes/reftex-dcr.el (reftex-view-crossref,
6153 reftex-view-crossref-from-bibtex):
6154 Deal with changed `reftex-find-citation-regexp-format'.
6155 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
6156 Replaced `remprop' with `put'.
6157 (reftex-view-crossref, reftex-view-crossref-when-idle):
6158 Support for bibentry.
6160 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
6161 New entry for bibentry package.
6163 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
6164 Regexp also matches "\nobibliography".
6166 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
6167 Call `reftex-ensure-write-access' before doing anything.
6168 (reftex-ensure-write-access): New function.
6170 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6172 * progmodes/idlwave.el: File re-installed (update to version 4.2)
6174 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
6176 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
6178 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
6181 2000-06-20 Dave Love <fx@gnu.org>
6183 * faces.el (frame-background-mode): Use set-default, not set, in
6185 (frame-update-faces, frame-update-face-colors): Define with
6188 * enriched.el (enriched-decode-foreground)
6189 (enriched-decode-background): Don't use internal-find-face.
6191 * apropos.el: Doc fixes.
6193 * cus-edit.el (customize-changed-options): Check arg.
6194 (customize-version-lessp): Don't require decimal point.
6196 * custom.el (defcustom, defgroup): Doc fix.
6198 * newcomment.el (comment) <defgroup>: Add :version.
6199 (comment-multi-line): Doc fix.
6201 * emulation/mlsupport.el (define-hooked-local-abbrev,
6202 define-hooked-global-abbrev): Fix, using define-abbrev.
6204 2000-06-19 Gerd Moellmann <gerd@gnu.org>
6206 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
6209 2000-06-19 Dave Love <fx@gnu.org>
6211 * menu-bar.el (menu-bar-options-save): New function.
6212 (menu-bar-options-menu): Use it.
6213 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
6216 2000-06-19 Andreas Schwab <schwab@suse.de>
6218 * progmodes/etags.el (tags-query-replace): Put new parameters
6219 START and END at the end, for backward compatibility.
6221 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6223 * international/codepage.el:
6224 (cp-coding-system-for-codepage-1): Delete special codes for
6225 generating xxx-dos coding system because now a CCL based coding
6226 system can handle EOL conversion by default.
6228 * international/mule.el (make-coding-system): Generate subsidiary
6229 coding systems for EOL handling variants even for a CCL based
6232 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6234 * international/isearch-x.el (isearch-minibuffer-input-method)
6235 (isearch-minibuffer-input-method-function): These variables
6237 (isearch-with-input-method): Don't use the above variables.
6238 (isearch-process-search-multibyte-characters): Likewise. Call
6239 read-string with the arg INHERIT-INPUT-METHOD t.
6241 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
6243 * font-lock.el (font-lock-after-fontify-buffer)
6244 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
6246 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
6247 Use consistent make-local-variable style for font-lock-fontified.
6248 (jit-lock-fontify-buffer):
6249 Don't bother checking for font-lock-mode and jit-lock-mode.
6251 * time.el: Remove trailing ^M that prevent CVS-merging.
6253 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6255 * Makefile.in (distclean): New target.
6257 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
6259 * Makefile.in (srcdir): Define for update-subdirs.
6261 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6263 * find-lisp.el: New file.
6265 2000-06-16 Andrew Innes <andrewi@gnu.org>
6267 * time.el (display-time-mail-function): New variable, to allow
6268 external packages to indicate when new mail is available.
6269 (display-time-update): Use it.
6271 2000-06-16 Kenichi Handa <handa@etl.go.jp>
6273 * international/mule.el (mule-version): Change version name to
6274 SAKAKI. AOI has already been used by Meadow.
6276 * international/quail.el (quail-show-guidance-buf): To find the
6277 bottom window (but minibuffer), pay attention to the height of
6280 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
6282 * arc-mode.el (archive-mode-map): Use the new menu-item format for
6283 menu-bar menus. Add help strings. Don't remove the Edit menu
6284 from the menu bar, as the menu bar has enough space now.
6286 * Makefile.in (SHELL): Make sure /bin/sh is used.
6288 * woman.el (woman-man-buffer): Fix bold and underlined CJK
6289 characters, which use series of two ^H characters instead of one.
6291 2000-06-15 Gerd Moellmann <gerd@gnu.org>
6293 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
6294 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
6296 (Info-find-node-2): Try a case-sensitive search first, then
6297 do a case-insensitive search.
6299 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
6302 * complete.el (PC-env-vars-alist): New variable.
6303 (PC-complete-as-file-name): New function.
6304 (partial-completion-mode): Initialize PC-env-vars-alist from
6305 process-environment.
6306 (PC-do-completion): Handle completion of env vars.
6308 * info.el (Info-set-mode-line): Show file name in mode line,
6309 use `*Info*' instead of `Info:'.
6311 * startup.el (command-line-1): Change copyright messages to year
6314 2000-06-15 Dave Love <fx@gnu.org>
6316 * net/goto-addr.el (goto-address-fontify): Use keymap property,
6319 2000-06-15 Kenichi Handa <handa@etl.go.jp>
6321 * international/mule.el (set-buffer-file-coding-system): Almost
6322 rewritten to handle `undecided' as no-op.
6324 2000-06-14 Gerd Moellmann <gerd@gnu.org>
6326 * Makefile.in: New file.
6328 * Makefile: Removed.
6330 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
6331 (goto-address-highlight-keymap): Bind C-c RET.
6333 2000-06-14 Kenichi Handa <handa@etl.go.jp>
6335 * mail/sendmail.el (sendmail-send-it): The temporary buffer
6336 inherits buffer-file-coding-system of the current buffer.
6338 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
6339 0. Give correct argument to set-auto-coding-function.
6340 (tar-expunge): For goto-char, use (point-min), not 0.
6341 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
6342 (tar-subfile-save-buffer): Likewize.
6344 * international/mule.el
6345 (after-insert-file-set-buffer-file-coding-system): Call
6346 set-buffer-file-coding-system with the arg FORCE t.
6348 2000-06-13 Gerd Moellmann <gerd@gnu.org>
6350 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
6351 nil. Contemporary sendmails issue an X-Authentication-Warning if
6352 the sender is set with `-f'.
6354 2000-06-13 Dave Love <fx@gnu.org>
6356 * help.el (describe-function-1): Kluge around cases of functions
6357 fset to subrs whose doc doesn't match their symbol-name.
6359 * image.el (insert-image): Default STRING to a space.
6361 * info.el Doc fixes.
6362 (Info-build-node-completions): Match Ref tags.
6364 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
6366 * frame.el (display-multi-frame-p, display-multi-font-p): New
6367 defaliases for display-graphic-p.
6369 * hl-line.el: Fixed a typo in commentary.
6371 2000-06-13 Kenichi Handa <handa@etl.go.jp>
6373 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
6376 2000-06-12 Dave Love <fx@gnu.org>
6378 * image.el (insert-image): Save a little consing.
6380 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6382 * language/tibet-util.el: Convert all tibetan-1-column characters
6383 to the corresponding tibetan characters.
6384 (tibetan-add-components): Delete code for the special treatment of
6387 * language/tibetan.el (tibetan-composable-pattern): Fix previous
6389 (tibetan-vowel-transcription-alist): More rules added.
6390 (tibetan-composite-vowel-alist): New variable.
6391 (tibetan-precomposition-rule-alist): More rules added.
6393 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
6395 * startup.el (command-line): Only call menu-bar-mode if interactive.
6397 * thingatpt.el (toplevel symbol-properties):
6398 * textmodes/makeinfo.el (makeinfo-compile):
6399 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
6400 * progmodes/hideif.el (hif-compress-define-list)
6401 (hide-ifdef-use-define-alist):
6402 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
6403 (ange-ftp-vms-add-file-entry):
6404 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
6405 * man.el (Man-build-man-command):
6406 * mail/rnewspost.el (news-reply-header-hook):
6407 * info.el (Info-insert-dir):
6408 * emulation/mlconvert.el (backward-word, forward-word, setq):
6409 * emacs-lisp/gulp.el (gulp-send-requests):
6410 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
6411 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
6412 (byte-optimize-apply, end of file):
6413 * emacs-lisp/advice.el (ad-advice-class-completion-table)
6414 (ad-make-freeze-definition):
6415 * startup.el (command-line, command-line-1): Don't quote lambdas.
6417 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
6418 (cvs-cleanup-removed): New function.
6419 (cvs-cleanup-functions): New var.
6420 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
6421 some flexibility in specifying additional entries to auto-cleanup.
6422 (cvs-quickdir): New function.
6423 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
6424 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
6425 (cvs-mode-find-file): Check that we are on a filename or dirname
6426 when invoked through a mouse-click.
6427 (cvs-full-path): Remove.
6428 (cvs-dired-action): Re-introduced.
6429 (cvs-dired-noselect): Use it.
6430 (vc-post-command-functions): use this new hook if available.
6432 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
6433 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
6434 (cvs-filename-map, cvs-dirname-map): Remove.
6435 (cvs-default-action): Remove.
6436 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
6437 if the arg is really a keymap.
6438 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
6439 Don't hardcode the mapping from state (aka type) to face, but check
6440 the var cvs-fi-<type>-face instead.
6441 (cvs-fileinfo-from-entries): New function.
6443 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
6445 (cvs-find-file-and-jump): Change default to be safer.
6446 (cvs-mode-diff-map): Define it as a function as well.
6447 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
6448 Bind mouse-2 in this global map rather than with text-properties.
6450 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
6451 file to resolve the ambiguity between C(conflict) and C(need-merge).
6453 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6455 * international/mule.el (set-buffer-file-coding-system): If
6456 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
6459 2000-06-12 Dave Love <fx@gnu.org>
6461 * wid-edit.el (widget-specify-button): Really suppress the face if
6464 2000-06-11 Gerd Moellmann <gerd@gnu.org>
6466 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
6468 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
6470 * imenu.el (imenu-generic-expression): Docstring fix.
6472 * composite.el (composition-function-table): Move the `put'
6473 below the autoload cookie so we can load the file before loaddefs.
6475 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
6477 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
6478 Handle easy-mmode-define-global-mode.
6479 For complex macros like define-minor-mode that can generate
6480 several autoload entries, try to autoload entries in the
6483 * emacs-lisp/easy-mmode.el (define-minor-mode):
6484 If KEYMAP is a symbol, just use it.
6485 Use byte-compile-current-file and load-file-name to infer the
6486 proper :require to pass to defcustom.
6487 Wrap the hook var into `progn' so as not to autoload it.
6488 Add a :autoload-end cookie.
6489 Be more careful about the evaluation of KEYMAP.
6490 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
6491 (define-derived-mode): Move define-abbrev-table outside of defvar.
6493 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
6495 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
6496 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
6497 (backup-compiled-files): Ignore errors during `tar'.
6498 (bootstrap): Make autoloads before elc files.
6500 2000-06-10 Kenichi Handa <handa@etl.go.jp>
6502 * international/mule.el (set-buffer-file-coding-system): If one of
6503 undecided-XXX is specified, change only EOL conversion.
6505 * international/mule-conf.el (unix): New alias for the coding
6506 system undecided-unix.
6508 2000-06-09 Dave Love <fx@gnu.org>
6510 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
6512 * progmodes/executable.el: Byte compile dynamic.
6513 (executable-insert): Change custom type.
6514 (executable-find): Add autoload cookie.
6515 (executable-make-buffer-file-executable-if-script-p): New
6516 function. After Noah Friedman.
6518 * files.el (after-save-hook): Customize, with
6519 executable-make-buffer-file-executable-if-script-p as an option.
6521 2000-06-09 Kenichi Handa <handa@etl.go.jp>
6523 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
6524 "tib24p-mule.bdf" for Tibetan.
6526 * composite.el (decompose-composite-char): Declare it as obsolete.
6528 * man.el (Man-fontify-manpage): Pay attention to underline and
6529 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
6531 2000-06-08 Gerd Moellmann <gerd@gnu.org>
6533 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
6534 Set maintainer to FSF since author isn't reachable.
6536 2000-06-08 Dave Love <fx@gnu.org>
6538 * international/mule-cmds.el (select-safe-coding-system): If
6539 DEFAULT-CODING-SYSTEM is not specified, also check the most
6540 preferred coding-system if buffer-file-coding-system is
6541 `undecided'. From Handa.
6543 2000-06-08 Kenichi Handa <handa@etl.go.jp>
6545 * international/mule.el
6546 (after-insert-file-set-buffer-file-coding-system): If the buffer
6547 size is greater than INSERTED, judget that we are not visiting.
6549 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
6551 * whitespace.el (defgroup whitespace): Comment out `:version'.
6552 XEmacs 20.4 has problems defining the group with this present.
6553 We'll have this commented out till get resolve the problem.
6555 2000-06-07 Gerd Moellmann <gerd@gnu.org>
6557 * align.el: Update from author.
6559 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
6561 * apropos.el (apropos-mode-hook): New user variable.
6562 (apropos-mode): Run apropos-mode-hook.
6564 2000-06-07 David Ponce <david@dponce.com>
6566 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
6567 commands. Require `wid-edit' at run-time.
6569 2000-06-07 David Ponce <david@dponce.com>
6571 * recentf.el: Added some "Commentary".
6572 (recentf-open-more-files, recentf-edit-list): Minor changes to
6573 move the point at the top of the file list. This behaviour is
6574 consistent with the menu one when the list contains a lot of
6576 (recentf-cleanup): Now displays the number of items removed from
6578 (recentf-relative-filter) New menu filter to show filenames
6579 relative to `default-directory'.
6581 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6583 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
6584 with/without giving an error if PostScript printer doesn't have this
6585 kind of page size. Zebra Stripe continues or restarts on next page.
6586 Manual/automatic paper feeding. Switch or not the header.
6587 (ps-print-version): New version number (5.2.2).
6588 (ps-windows-system): Include emx as a Windows system.
6589 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
6590 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
6591 (ps-background-text): Code fix.
6592 (ps-error-handler-message, ps-user-defined-prologue)
6593 (ps-print-prologue-header, ps-printer-name)
6594 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
6595 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
6596 (ps-use-face-background): Customization fix.
6597 (ps-n-up-database): Data fix.
6598 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
6599 (ps-switch-header): New vars.
6600 (ps-xemacs-color-name, ps-face-foreground-name)
6601 (ps-face-background-name, ps-boolean-constant): New funs.
6603 2000-06-07 Dave Love <fx@gnu.org>
6605 * allout.el: New version from Manheimer.
6607 2000-06-07 Kenichi Handa <handa@etl.go.jp>
6609 * textmodes/fill.el (fill-find-break-point): Check the validity of
6612 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6614 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
6615 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
6616 Call display-color-p and display-mouse-p instead of looking at
6619 2000-06-06 Dave Love <fx@gnu.org>
6621 * image.el (find-image): Doc fix. Return nil if image not found.
6622 (put-image, insert-image): Make STRING arg optional.
6624 2000-06-06 Kenichi Handa <handa@etl.go.jp>
6626 * language/vietnamese.el: Remove eval-when-compile.
6627 (viet-viscii-nonascii-translation-table): Define it as a
6628 translation table made from viet-viscii-decode-table.
6629 (viet-viscii-encode-table): Define it as a translation table made
6630 from the reverse map of above.
6631 (viet-vscii-nonascii-translation-table): Define it as a
6632 translation table made from viet-vscii-decode-table.
6633 (viet-vscii-encode-table): Define it as a translation table made
6634 from the reverse map of above.
6635 (ccl-decode-viscii): Use translate-character.
6636 (ccl-encode-viscii, ccl-encode-viscii-font)
6637 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
6640 * language/cyrillic.el: Remove eval-when-compile.
6641 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
6642 translation table made from cyrillic-koi8-r-decode-table.
6643 (cyrillic-koi8-r-encode-table): Define it as a translation table
6644 made from the reverse map of above.
6645 (ccl-decode-koi8): Use translate-character.
6646 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
6647 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
6648 a translation table made from cyrillic-alternativnyj-decode-table.
6649 (cyrillic-alternativnyj-encode-table): Define it as a translation
6650 table made from the reverse map of above.
6651 (ccl-decode-alternativnyj): Use translate-character.
6652 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
6655 * international/mule-diag.el (non-iso-charset-alist): Specify
6656 translation table symbol instead of translation table itself.
6657 (list-block-of-chars): CHARSET may be a translation table symbol.
6659 * international/mule.el (make-coding-system): If CODING-SYSTEM
6660 already exists, override it.
6662 * international/fontset.el: Use family `proportional' for Tibetan
6665 * international/ccl.el (ccl-compile-translate-character): Don't
6666 check if Rrr has property translation-table.
6667 (ccl-compile-map-multiple): Modified to avoid compiler warning.
6669 2000-06-05 Gerd Moellmann <gerd@gnu.org>
6671 * info.el: Bind case-fold-search to t when searching in case
6672 a user sets it to nil in a hook.
6674 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
6676 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6677 * hl-line.el (hl-line-mode): Use the new :global key argument.
6679 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
6680 (tar-clip-time-string): Prepend a space.
6681 (tar-grind-file-mode): Construct a string rather than modifying one.
6682 (tar-header-block-summarize): Fix docstring.
6683 Use `format' rather than an error-prone set of copy-loops.
6685 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
6686 (diff-goto-source, diff-unified->context, diff-context->unified)
6687 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
6688 understand the format output by the `-p' argument to diff.
6690 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
6691 (sh-re-done): Use defconst.
6692 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
6693 (sh-help-string-for-variable, sh-guess-basic-offset):
6694 Don't quote lambdas.
6695 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
6696 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
6698 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
6699 (mh-letter-mode): Derive from text-mode.
6700 This implicitly means that it now calls kill-all-local-variables.
6701 Also remove the Emacs-18 compatibility code.
6703 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
6704 Make use of symbol-property doc-string-elt.
6705 Use memq rather than a sequence of eq.
6706 (doc-string-elt): Fix the wrong or missing previously unused values.
6707 (autoload-print-form): New function extracted from
6708 generate-file-autoloads to allow recursion when handling progn
6709 so that defvar's and defun's docstrings are properly printed.
6710 (generate-file-autoloads): Use it.
6712 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
6713 Use find-file-hooks in the minor-mode function.
6714 Be careful not to loop indefinitely in the post-command-hook function.
6716 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
6718 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
6720 * ediff-diff.el (ediff-exec-process): Use --binary for fine
6721 differences whenever appropriate.
6722 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
6723 * viper.el (find-file, find-file-other-window): Get viper to do
6726 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
6728 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
6729 (jit-lock-fontify-buffer): New function for JIT refontification.
6730 (jit-lock-mode): Fix docstring.
6731 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
6732 Remove jit-lock-after-change from the _local_ hook.
6733 (jit-lock-function-1): Fix docstring.
6735 * info.el (Info-on-current-buffer): Initialize info.
6737 * newcomment.el (comment-indent): Ignore comment-indent-hook.
6739 * progmodes/tcl.el (tcl-indent-for-comment):
6740 Ignore comment-indent-hook.
6742 * emacs-lisp/easy-mmode.el: Require CL during compilation.
6743 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
6744 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
6745 and improve to use the lighter to guess the capitalization.
6746 (define-minor-mode): Inline code from easy-mmode-define-toggle.
6747 Add keyword arguments to specify global-ness or the custom group.
6748 Add local-map and help-echo properties to the lighter.
6749 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
6750 (easy-mmode-define-global-mode): New macro.
6752 2000-06-02 Dave Love <fx@gnu.org>
6754 * wid-edit.el: byte-compile-dynamic since we typically don't use
6755 all the widgets. Don't require cl or widget. Remove
6756 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
6757 (widget-read-event): Removed. Callers changed to use read-event.
6758 (widget-button-release-event-p): Renamed from
6759 button-release-event-p.
6760 (widget-field-add-space, widget-field-use-before-change):
6762 (widget-specify-field): Use keymap property, not local-map.
6763 (widget-specify-button): Obey :suppress-face.
6764 (widget-specify-insert): Use modern backquote syntax.
6765 (widget-image-directory): Renamed from widget-glyph-directory.
6766 (widget-image-enable): Renamed from widget-glyph-enable.
6767 (widget-image-find): Replaces widget-glyph-find.
6768 (widget-button-pressed-face): Move defvar.
6769 (widget-image-insert): Replaces widget-glyph-insert.
6770 (widget-convert): Use keywordp.
6771 (widget-leave-text, widget-children-value-delete): Use mapc.
6772 (widget-keymap): Remove XEmacs stuff.
6773 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
6774 (widget-button-click): Don't set point at the click, but re-centre
6775 if we scroll out of window. Rewritten for images v. glyphs &c.
6776 (widget-tabable-at): Use POS arg, not point.
6777 (widget-beginning-of-line, widget-end-of-line)
6778 (widget-item-value-create, widget-sublist, widget-princ-to-string)
6779 (widget-sexp-prompt-value, widget-echo-help): Simplify.
6780 (widget-default-create): Use widget-image-insert; some rewriting.
6781 (widget-visibility-value-create)
6782 (widget-push-button-value-create, widget-toggle-value-create): Use
6783 widget-image-insert.
6784 (checkbox): Create on and off images dynamically.
6785 (documentation-link): Change :help-echo.
6786 (widget-documentation-link-echo-help): Remove.
6788 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
6790 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
6792 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
6793 (easy-mmode-define-toggle, define-minor-mode): Use it.
6794 (easy-mmode-define-keymap): Docstring fix.
6795 (define-derived-mode): Default PARENT to fundamental-mode.
6796 Add the derived-mode-parent symbol-property.
6797 (easy-mmode-derived-mode-p): New function.
6799 2000-06-02 Dave Love <fx@gnu.org>
6801 * files.el (convert-standard-filename): Doc fix.
6802 (normal-backup-enable-predicate): New function.
6803 (backup-enable-predicate): Use it to replace the lambda form.
6805 * calendar/todo-mode.el: [This needs more work on the outline
6807 (todo) <defgroup>: Add :version.
6808 (todo-add-category): Don't use pushnew.
6809 (todo-cmd-raise): Fix typo.
6810 (todo-top-priorities): Change temp buffer name.
6811 (todo-category-alist): Avoid redundant lambda.
6812 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
6813 Use outline-next-heading.
6815 * autoarg.el: Rewritten to use define-minor-mode.
6816 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
6817 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
6819 2000-06-02 Kenichi Handa <handa@etl.go.jp>
6821 * isearch.el (isearch-other-meta-char): Fix previous change.
6823 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6825 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
6826 (log-edit-done): Only add the comment to the ring if it's different
6827 from the last comment entered.
6829 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
6831 2000-06-01 Dave Love <fx@gnu.org>
6833 * hl-line.el: Rewritten using define-minor-mode.
6835 * help.el (describe-function-1): Distinguish special form from
6836 builtin function. Sanity-check presence of arglist for builtins.
6838 2000-06-01 Kenichi Handa <handa@etl.go.jp>
6840 * international/characters.el: Fix syntax/category setting of
6843 * language/tibet-util.el (tibetan-add-components): Fixes for new
6844 encoding of Tibetan characters.
6845 (tibetan-decompose-precomposition-alist): New variable.
6846 (tibetan-decompose-region): Convert precomposed characters to
6847 non-precomposed characters.
6848 (tibetan-decompose-string): Likewise.
6849 (tibetan-composition-function): Fix args to
6850 thibetan-compose-string.
6852 * language/tibetan.el (tibetan-composable-pattern): More
6853 characters included.
6854 (tibetan-consonant-transcription-alist): Rule for "R" added.
6855 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
6857 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
6859 * language/lao-util.el (lao-composition-function): Fix args to
6862 * language/thai-util.el (thai-composition-function): Fix args to
6865 * isearch.el (isearch-update): Set disable-point-adjustment to t
6866 to prevent the point moving to the end of a composition when a
6867 part of a composition is searched.
6868 (isearch-other-meta-char): If the key invoking this command can be
6869 mapped by function-key-map to a printing char, call
6870 isearch-process-search-char directly.
6872 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6874 * emacs-lisp/bytecomp.el:
6876 * international/mule-cmds.el:
6877 * international/mule-util.el:
6878 * international/mule.el:
6881 * faces.el: Update calls to make-obsolete with a WHEN argument.
6883 * byte-run.el (make-obsolete, make-obsolete-variable):
6884 Add an optional WHEN argument and change the format of the
6885 symbol-property information.
6886 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
6887 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
6888 new obsolete-symbol-property format and print WHEN if it is provided.
6890 2000-05-31 Dave Love <fx@gnu.org>
6892 * loadhist.el (loadhist-hook-functions): Remove
6893 before-change-function, after-change-function.
6894 (unload-feature): Deal with symbols which are both bound and
6897 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
6898 before-change-function, after-change-function.
6900 * simple.el (newline): Don't bind before-change-function,
6901 after-change-function.
6903 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
6905 * whitespace.el (whitespace-rescan-timer-time): Update interval
6906 set to 600 seconds (10 minutes) instead of 60 seconds since
6907 a large number of whitespace buffers causes emacs to `freeze'
6908 for a considerable amount of time.
6910 * whitespace.el: Updated email address
6912 2000-05-31 Dave Love <fx@gnu.org>
6914 * add-log.el (change-log-font-lock-keywords) <function>: Add
6915 pattern for function of change.
6916 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
6917 acknowledgements patterns.
6919 2000-05-31 Kenichi Handa <handa@etl.go.jp>
6921 * isearch.el (isearch-printing-char): If keyboard coding system is
6922 being used, call isearch-process-search-multibyte-characters.
6924 * international/isearch-x.el: Mostly rewritten.
6926 * international/quail.el (quail-start-conversion): Don't include
6927 unhandled events in the returned events, but set them in
6928 unread-command-events. Exit if all inputs are deleted.
6930 2000-05-30 Jason Rumney <jasonr@gnu.org>
6932 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
6934 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
6935 Reenable code to create initial fontsets.
6936 Use set-fontset-font in place of put-charset-property.
6938 2000-05-30 Gerd Moellmann <gerd@gnu.org>
6940 * progmodes/perl-mode.el (perl-indent-line): When looking for a
6941 label, ensure that the first colon isn't followed by another.
6943 * paths.el (Info-default-directory-list): Doc fix.
6945 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
6946 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
6947 send a query containing USER only, not USER@HOST.
6949 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
6950 and rmail-msgend to compute the restriction at the end, instead of
6953 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6955 * dabbrev.el (dabbrev-expand): Don't display messages in the
6956 echo area if the minibuffer window is active.
6958 * jit-lock.el (jit-lock-mode): Add after change function to
6961 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
6963 * antlr-mode.el: New commands: hide/unhide actions,
6964 upcase/downcase literals.
6965 (antlr-tiny-action-length): New user option.
6966 (antlr-hide-actions): New command. Suggested by
6967 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
6968 (antlr-mode-map): New binding [C-c C-v].
6969 (antlr-mode-menu): New entries.
6970 (antlr-downcase-literals): New command.
6971 (antlr-upcase-literals): Ditto.
6973 * antlr-mode.el: Minor changes: indendation, mode-name.
6974 (antlr-indent-line): Indent cpp directive at column 0.
6975 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
6977 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
6978 (antlr-font-lock-additional-keywords): Workaround for intentional
6979 bug in XEmacs version of font-lock.
6980 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
6981 be used by a smarter version of `buffers-menu-grouping-function'.
6983 2000-05-29 Gerd Moellmann <gerd@gnu.org>
6985 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
6986 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
6988 2000-05-29 Kenichi Handa <handa@etl.go.jp>
6990 * international/encoded-kb.el
6991 (encoded-kbd-iso2022-designation-map): Pay attention to that
6992 charset-iso-final-char return -1 for eight-bit-control and
6995 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
6997 * speedbar.el (speedbar-use-images, speedbar-update-flag)
6998 (speedbar-easymenu-definition-base): Use display-graphic-p where
6999 available, instead of window-system.
7001 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
7003 * international/codepage.el (cp-coding-system-for-codepage-1): Add
7004 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
7007 2000-05-26 Dave Love <fx@gnu.org>
7009 * disp-table.el (standard-display-underline): Don't use
7012 * mail/reporter.el: Maintainer change. Doc fixes.
7013 (reporter-version): Deleted.
7015 * emacs-lisp/elp.el: Maintainer change.
7016 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
7018 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
7020 * add-log.el (add-change-log-entry): Merge the current entry with the
7021 previous one if the previous one is empty.
7023 2000-05-26 Dave Love <fx@gnu.org>
7025 * loadhist.el (unload-feature): Fix interactive spec [from
7026 lijnzaad@ebi.ac.uk].
7028 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
7029 subr-arity to check primitives.
7030 (byte-compile-flush-pending, byte-compile-file-form-progn)
7031 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
7032 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
7035 2000-05-26 Kenichi Handa <handa@etl.go.jp>
7037 * international/fontset.el: Set family names of non-latin charsets
7038 in default fontset to "*".
7040 * international/mule-diag.el (print-fontset): Combine family part
7041 and registry part of the fontname by "-*-" instead of "-".
7043 * international/mule-cmds.el (encode-coding-char): Make strings
7044 multibyte before calling encode-coding-string.
7046 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
7048 * derived.el: Fix keywords.
7049 (define-derived-mode): Only define if needed.
7051 * simple.el (fill-comment, comment-column, comment-start)
7052 (comment-start-skip, comment-end, comment-indent-function)
7053 (block-comment-start, block-comment-end, indent-for-comment)
7054 (set-comment-column, kill-comment, comment-padding, comment-region)
7055 (comment-multi-line, indent-new-comment-line): Remove.
7057 * bindings.el (esc-map): Change ; to comment-dwim and use the new
7058 function names for comment operations.
7060 * newcomment.el: Add abundant autoload cookies.
7061 (comment-style): Don't depend on runtime data at compile-time.
7062 (comment-indent-hook): Remove.
7063 (comment-indent): Check if comment-indent-hook is bound.
7064 (comment-region): Docstring fix.
7066 2000-05-25 Dave Love <fx@gnu.org>
7068 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
7069 byte-code-function-p.
7071 * mail/rmailsum.el: Add provide.
7073 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
7075 * smerge-mode.el (smerge-diff-switches): Don't use list* in
7078 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
7080 * ediff-diff.el (ediff-exec-process): delete --binary option from
7081 non-buffer ediff jobs.
7083 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7085 * hilit-chg.el (highlight-changes-mode): Ask about color or
7086 grayscale support, not about window-system.
7088 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
7090 (ffap-highlight): Always default to t.
7092 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
7093 display-popup-menus-p instead of looking at window-system.
7095 * disp-table.el (standard-display-g1, standard-display-graphic):
7096 Only refuse to use string glyphs on X and MS-Windows.
7098 * avoid.el: Remove window-system from commentary, suggest to use
7099 display-*-p instead.
7101 * apropos.el (apropos-print): Use display-mouse-p instead of
7104 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7106 * international/codepage.el (cp-decoding-vector-for-codepage):
7107 Fill up unsupported characters with their own codes. From Kenichi
7110 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7112 * international/mule-diag.el (describe-char-after): Use
7113 display-graphic-p instead of window-system, so that this function
7116 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7118 * international/codepage.el (cp-make-coding-systems-for-codepage):
7119 Remove the eight-bit-graphic and eight-bit-control charsets from
7120 the list of charsets which we convert into `?'.
7122 2000-05-25 Kenichi Handa <handa@etl.go.jp>
7124 * international/mule-conf.el: Specify CHARSET-ID explicitely for
7126 (mule-unicode-0100-24ff, japanese-jisx0213-1,
7127 japanese-jisx0213-2): New charsets.
7129 * international/fontset.el: Setup default fontset for new charsets.
7131 2000-05-24 Dave Love <fx@gnu.org>
7133 * info.el (Info-find-node-2): Restructure [following "Vadim
7134 S. Solomin" <sovs@uic.nnov.ru>].
7136 * icomplete.el: Fix header for Finder.
7138 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
7140 * rmailout.el (rmail-output-to-rmail-file): Added optional param
7143 * rmail.el (rmail-automatic-folder-directives): New user variable.
7144 (rmail-show-message): Add call to `rmail-auto-file' during
7146 (rmail-auto-file): New function.
7148 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7150 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
7152 (ediff-test-utility,ediff-diff-mandatory-option)
7153 (ediff-reset-diff-options): Utilities for proper initialization of
7154 ediff-diff-options and ediff-diff3-options on Windows.
7156 * ediff-init.el (ediff-merge-filename-prefix): New customizable
7159 * ediff-mult.el (ediff-filegroup-action): Use
7160 ediff-merge-filename-prefix.
7162 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7164 * viper-ex.el (ex-write): Set selective display to nil.
7166 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7168 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
7169 aliases for hebrew-iso-8bit.
7171 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7173 * woman.el: New version from Francis J. Wright
7174 <F.J.Wright@Maths.QMW.ac.uk>.
7175 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
7176 names in environment variables regardless of the path separator.
7177 (woman-topic-all-completions-1): Don't call file-name-directory-p
7178 on all files, since woman-file-regexp already filters out any
7181 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7183 * international/quail.el (quail-start-translation): Don't change
7184 modified-p of the current buffer.
7185 (quail-start-conversion): Likewise.
7187 * international/kkc.el (kkc-region): Don't change modified-p of
7190 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
7192 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
7194 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
7196 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
7197 (speedbar-insert-button): Invisible text property fix.
7198 (speedbar-directory-plus): Renamed from speedbar-directory-+
7199 (speedbar-directory-minus): Renamed from speedbar-directory--
7200 (speedbar-page-plus): Renamed from speedbar-file-+
7201 (speedbar-page-minus): Renamed from speedbar-file--
7202 (speedbar-page): Renamed from speedbar-file-
7203 (speedbar-tag): Renamed from speedbar-tag-
7204 (speedbar-tag-plus): Renamed from speedbar-tag-+
7205 (speedbar-tag-minus): Renamed from speedbar-tag--
7206 (speedbar-expand-image-button-alist): Use above renames.
7208 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
7209 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
7210 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
7211 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
7212 * sb-pg.xpm: Renamed from sb-file.xpm
7213 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
7214 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
7216 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7218 * international/quail.el (quail-show-guidance-buf): Set
7219 current-input-method of the guidance buffer to the name of the
7220 curren input method.
7222 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
7224 * progmodes/compile.el (compile-internal): Style typo.
7226 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
7227 quote vars and functions in the docstring.
7229 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
7231 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
7232 Don't quote lambdas.
7234 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
7236 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7238 * startup.el (command-line): Determine source file of compiled
7239 user init file differently. Warn if compiled user init file
7240 is older than its source file.
7242 * ffap.el (ffap-url-regexp): Add `https'.
7244 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
7246 * files.el (make-backup-file-name-1): Replace slashes with `!'
7247 rather than `|' (which is not allowed on Windows). Replace the
7248 drive letters with a string "drive_X".
7250 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7252 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
7254 * files.el (interpreter-mode-alist): Add `bash2'.
7256 2000-05-22 Dave Love <fx@gnu.org>
7258 * loadhist.el (feature-symbols, file-provides, file-requires): Use
7260 (feature-file): Avoid calling symbol-name. Doc fix.
7261 (file-set-intersect, file-dependents): Use dolist, not mapcar.
7262 (loadhist-hook-functions): Add mouse-position-function.
7263 (unload-feature): Change uses of mapcar.
7265 * files.el (parse-colon-path): Doc fix.
7266 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
7267 (set-auto-mode): Use mapc.
7269 * complete.el (PC-look-for-include-file): Use :alnum: character
7271 (partial-completion-mode): Add autoload cookie.
7273 2000-05-22 Sam Steingold <sds@gnu.org>
7275 * info.el (Info-fontify-node): Fixed the call to
7276 `add-text-properties' (bug introduced on 2000-05-18).
7278 2000-05-22 Dave Love <fx@gnu.org>
7280 * bindings.el: Remove debug-ignored-errors set in other files.
7282 * progmodes/etags.el: Add to debug-ignored-errors.
7283 (visit-tags-table-buffer): Clear out buffers holding old tables
7284 when making a new list.
7285 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
7288 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
7290 (cmpl-string-case-type): Use character classes.
7293 * textmodes/ispell.el:
7296 * progmodes/compile.el: Add to debug-ignored-errors.
7298 * dabbrev.el: Add to debug-ignored-errors.
7299 (dabbrev-completion): Use mapc.
7301 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
7303 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
7304 (woman-mapcan, woman-parse-man.conf)
7305 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
7306 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
7307 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
7309 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
7310 (woman-manpath): Call woman-parse-man.conf.
7311 (woman-emulation): New defcustom, defaults to nroff.
7312 (woman-font-support): New defconst.
7313 (woman-use-symbol-font): New defcustom.
7314 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
7316 Many functions: Doc fix.
7318 2000-05-22 Kenichi Handa <handa@etl.go.jp>
7320 * international/quail.el (quail-simple-translation-keymap): Map
7321 128..255 to quail-self-insert-command.
7322 (quail-keyboard-layout-alist): Add definition for "pc102-de".
7324 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
7326 * help.el (help-manyarg-func-alist): Typo.
7328 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
7329 intervals which makes it heaps simpler.
7331 * newcomment.el (comment-region-internal): Go back to BEG after quoting
7332 the nested comment markers.
7334 * subr.el (remove-hook): Don't turn the hook's value into a list.
7336 2000-05-21 Dave Love <fx@gnu.org>
7338 * edmacro.el (edmacro-parse-keys): Return vector if any elements
7339 are invalid characters.
7341 * international/mule-util.el (detect-coding-with-priority): Use
7342 mapc. Remove redundant lambda.
7344 * international/mule-diag.el (list-non-iso-charset-chars)
7345 (describe-fontset): Remove redundant lambda.
7347 * emulation/crisp.el (brief-mode): New alias.
7349 * emacs-lisp/ring.el (ring-elements): New function.
7351 * emacs-lisp/easymenu.el (easy-menu-create-menu)
7352 (easy-menu-do-add-item): Use keywordp.
7354 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
7356 * replace.el: Doc and error message fixes.
7357 (replace-highlight): Use facep, not internal-find-face.
7359 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
7361 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
7363 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
7364 (log-edit-insert-changelog): Drop `:' as well.
7366 * log-view.el: Fix file description.
7367 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
7369 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
7370 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
7372 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
7373 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
7374 Print a status message if the toggle is called interactively.
7375 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
7376 for global minor modes and use `defcustom' for them.
7378 (easy-mmode-define-derived-mode): Remove.
7379 (define-derived-mode): Fancier default docstring.
7380 (easy-mmode-define-navigation): Signal an error rather than (ding).
7382 * newcomment.el (comment-styles): New `box-multi'.
7383 (comment-normalize-vars): Better default for comment-continue to
7384 avoid whitespace-only continuations.
7385 (comment-search-forward): Always move even in the no-syntax case.
7386 (comment-padright): Only obey N if it's only obeyed for padleft.
7387 (comment-make-extra-lines): Better handling of empty continuations.
7388 Use `=' for the filler if comment-start has only one character.
7389 (uncomment-region): Try handling the special `=' filler.
7390 (comment-region): Allow LINES even if MULTI is nil.
7391 (comment-box): Choose box style based on comment-style.
7393 2000-05-20 Kenichi Handa <handa@etl.go.jp>
7395 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
7396 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
7398 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
7400 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
7401 and insert, not subst-char-in-region.
7403 * international/mule-diag.el (list-character-sets-1): Handle
7404 charsets eight-bit-control and eight-bit-graphic.
7405 (list-iso-charset-chars): Likewise.
7406 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
7407 charactes as is. Use indent-to to align characters.
7409 * international/mule-cmds.el (find-multibyte-characters): Never
7410 exclude charsets eight-bit-control and eight-bit-graphic.
7412 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
7414 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
7415 Don't quote lambdas.
7417 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
7419 2000-05-19 Gerd Moellmann <gerd@gnu.org>
7421 * gud.el (gud-jdb-directories): Doc fix.
7423 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
7425 * newcomment.el: New file.
7427 2000-05-19 Gerd Moellmann <gerd@gnu.org>
7429 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
7431 2000-05-18 Andreas Schwab <schwab@suse.de>
7433 * dired.el (dired-between-files): Also skip lines beginning with
7436 2000-05-18 Gerd Moellmann <gerd@gnu.org>
7438 * msb.el (msb-menu-cond): Add choice `user'.
7440 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7442 * ps-print.el: Compatibility, customization and doc fix.
7443 (ps-printer-name-option): Replace defconst by defvar.
7444 (ps-postscript-code-directory): XEmacs compatibility.
7445 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
7447 (ps-user-defined-prologue, ps-print-prologue-header)
7448 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
7449 compatibility and code fix.
7450 (ps-print-background-image, ps-print-background-text):
7452 (ps-line-number-start, ps-n-up-on): New vars.
7454 2000-05-18 Espen Skoglund <esk@ira.uka.de>
7456 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
7457 the indent-comment function to just return the appropriate indent.
7459 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
7461 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
7462 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
7463 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
7465 2000-05-18 Dave Love <fx@gnu.org>
7467 * info.el (Info-fontify-node): Add intangible property as well as
7470 * calendar/appt.el (appt-make-list): Match all lines of entry.
7471 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
7473 2000-05-18 Kenichi Handa <handa@etl.go.jp>
7475 * international/mule-diag.el (describe-char-after): Call
7476 internal-char-font, not char-font. If internal-char-font returns
7477 nil, display "-- none --".
7479 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
7481 * image.el (image-type-available-p): Don't reference image-types
7484 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
7486 * autoarg.el (autoarg-mode): Typo in the :set argument.
7488 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
7490 * startup.el (command-line-1): Don't signal an error if the
7491 directory for auto-save-list files does not yet exist.
7493 2000-05-17 Kenichi Handa <handa@etl.go.jp>
7495 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
7497 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
7499 * subr.el (remove-hook): `setq' hook-value, not `set'.
7501 2000-05-16 Sam Steingold <sds@gnu.org>
7503 * info.el (debug-ignored-errors): More errors to ignore.
7505 2000-05-16 Dave Love <fx@gnu.org>
7507 * cus-edit.el: Don't require cl or easymenu.
7508 (custom-variable-prompt): Test standard-value property, not
7511 2000-05-16 Sam Steingold <sds@gnu.org>
7513 * subr.el (add-hook): `setq' hook-value, not `set'.
7515 2000-05-16 Gerd Moellmann <gerd@gnu.org>
7517 * startup.el (command-line-1): Mention the FAQ in the startup
7520 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
7522 * progmodes/compile.el (compilation-parse-errors): Collect
7523 `nomessage' regexps last.
7525 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
7527 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
7528 to the function name.
7530 2000-05-15 Dave Love <fx@gnu.org>
7532 * speedbar.el (speedbar-recenter): Typo.
7533 (speedbar-expand-line): Make arg optional.
7534 (speedbar-mode): Avoid a compiler warning.
7536 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7538 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
7539 user-specified option string is empty.
7541 * mouse.el (mouse-yank-at-click): Doc fix.
7543 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
7545 * term/internal.el (IT-character-translations): More updates of
7546 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
7549 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7551 * env.el (getenv): New function, interactively callable.
7552 (setenv, getenv): Remove autoload cookies.
7554 * loadup.el: Load `env'.
7556 * progmodes/f90.el: Change author's mail address.
7558 2000-05-14 Dave Love <fx@gnu.org>
7560 * mail/rmail.el (rmail-show-message-hook): Customize and offer
7561 goto-addr as an option.
7563 * help.el (help-xref-stack): Doc fix.
7564 (help-xref-following): New variable.
7565 (help-make-xrefs): Use it.
7566 (help-xref-go-back): Use position information from stack element.
7567 (help-follow): Make position in stack element a pair. Use
7568 help-xref-following.
7570 * autoarg.el: New file.
7572 * faces.el: Declare more functions obsolete.
7574 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
7575 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
7576 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
7577 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
7578 Remove all the setup-...-environment functions.
7580 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
7582 * speedbar.el: Updated the commentary section. xemacs20p now uses
7583 >= when detecting. Require `defimage' safely.
7584 (speedbar-easymenu-definition-base): Add toggle for images.
7585 (speedbar-easymenu-definition-special): Add flush cache & expand.
7586 (speedbar-visiting-tag-hook): Set new defaults. Added options.
7587 (speedbar-reconfigure-keymaps-hook): New variable.
7588 (speedbar-frame-parameters): Updated documentation.
7589 (speedbar-use-imenu-flag): Updated custom tag
7590 (speedbar-dynamic-tags-function-list): New variable.
7591 (speedbar-tag-hierarchy-method): Updated doc & custom.
7592 (speedbar-indentation-width, speedbar-indentation-width) New
7594 (speedbar-hide-button-brackets-flag): Customizable.
7595 (speedbar-vc-indicator): Doc update.
7596 (speedbar-ignored-path-expressions): Updated default value.
7597 (speedbar-supported-extension-expressions): Updated default value.
7598 (speedbar-syntax-table): Remove {} paren status.
7599 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
7600 as "+". Added overlay aliases.
7601 (speedbar-mode): Use `speedbar-mode-line-update' instead of
7602 `force-mode-line-update'.
7603 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
7604 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
7606 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
7607 (speedbar-item-info-tag-helper): Revamped to handle a wider range
7608 of arbitrary text, and new helper functions.
7609 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
7611 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
7612 (speedbar-directory-buttons): Update path search/expansion.
7613 (speedbar-make-tag-line): Pay attention to
7614 `speedbar-indentation-width'. Use more care w/ invisible
7616 (speedbar-change-expand-button-char): Call
7617 `speedbar-insert-image-button-maybe'.
7618 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
7619 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
7620 (speedbar-trim-words-tag-hierarchy)
7621 (speedbar-simple-group-tag-hierarchy): New functions
7622 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
7623 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
7625 (speedbar-mouse-set-point): New function
7626 (speedbar-power-click): Updated documentation.
7627 (speedbar-line-token, speedbar-goto-this-file): Handle more types
7629 (speedbar-expand-line, speedbar-contract-line): Make more robust
7631 (speedbar-expand-line): Takes universal argument to flush the
7633 (speedbar-flush-expand-line): New function.
7634 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
7635 Use new generator insertion method.
7636 (speedbar-fetch-dynamic-tags): New function.
7637 (speedbar-fetch-dynamic-imenu): Removed code now handled in
7638 `speedbar-fetch-dynamic-imenu'.
7639 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
7640 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
7641 "Revert Buffer" menu items.
7642 (speedbar-buffer-buttons-engine): Be smarter when creating a
7643 filename tag (for expansion purposes.).
7644 (speedbar-highlight-one-tag-line,
7645 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
7646 (speedbar-recenter): New functions.
7647 (defimage-speedbar): Image loading abstraction.
7648 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
7649 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
7650 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
7651 (speedbar-tag-type, speedbar-tag-mail): New images.
7652 (speedbar-expand-image-button-alist): New variable.
7653 (speedbar-insert-image-button-maybe): Insert an image over some
7656 2000-05-13 Kenichi Handa <handa@etl.go.jp>
7658 * international/mule-cmds.el (encode-coding-char): An ASCII
7659 character is always encodable.
7661 * international/mule-conf.el: Add more information in descriptions
7664 * international/mule-diag.el (describe-char-after): New function.
7665 (describe-font-internal): Adjusted for the change of font-info.
7666 (describe-font): Likewise.
7667 (print-fontset): Rewritten for the new fontset implementation.
7668 (describe-fontset): Include fontset alias names in completion.
7669 (list-fontsets): Adjusted for the change of print-fontset.
7671 * simple.el (what-cursor-position): If DETAIL is non-nil, call
7672 describe-char-after instead of displaying the detail in the echo
7674 (syntax-code-table): Format changed.
7675 (string-to-syntax): Adjusted for the above change.
7677 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
7679 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
7681 2000-05-12 Dave Love <fx@gnu.org>
7683 * calendar/todo-mode.el: Remove some compatibility stuff and CL
7684 dependence. Use line-{beginning,end}-position, not
7685 point-at{b,e}ol. Some doc fixes.
7686 (todo-position): New function. Fix callers of position to use it.
7687 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
7689 2000-05-12 Gerd Moellmann <gerd@gnu.org>
7691 * time.el (display-time-mail-icon): Use `:ascent center'.
7693 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
7694 handling FTP security extensions.
7696 2000-05-11 Dave Love <fx@gnu.org>
7698 * calendar/todo-mode.el: New file.
7700 2000-05-11 Gerd Moellmann <gerd@gnu.org>
7702 * comint.el (comint-read-input-ring): Move reference to
7703 comint-input-ring-size outside of the save-excursion. It was
7704 causing the default value to be the only one ever seen.
7706 * font-lock.el: Update copyright. Remove Simon Marshall's email
7707 address on request from him.
7709 * subr.el (substitute-key-definition): Add comment describing
7710 the meaning of PREFIX.
7712 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
7714 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
7716 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
7717 (add-minor-mode): Don't make the variable buffer-local and add a
7718 reference to define-minor-mode in the docstring.
7720 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
7721 HEADER/FOOTER and fix bug with trailing empty directory.
7722 (cvs-append-to-ignore): Use vc-editable-p if available.
7723 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
7724 (vc-do-command): Tweak advice to handle the new VC.
7726 * log-view.el (log-view-goto-rev): New function for the new VC.
7727 (log-view-minor-wrap): Use mark-active.
7729 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
7730 (log-edit-changelog-full-paragraphs): New var.
7731 (log-edit-insert-changelog): Remove a lonely leading `* file'.
7732 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
7733 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
7734 (log-edit-changelog-ours-p, log-edit-changelog-entries)
7735 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
7736 Replace the `cvs' prefix with `log-edit'.
7738 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
7740 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
7741 (diff-font-lock-defaults): Explicitly turn off multiline.
7742 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
7743 (diff-ediff-patch): Fix call to ediff-patch-file.
7744 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
7747 * frame.el (automatic-hscrolling): Typo.
7749 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
7751 2000-05-09 Sam Steingold <sds@goems.com>
7753 * apropos.el (apropos-print): use `describe-face' instead of
7754 `customize-face-other-window'.
7756 2000-05-09 Dave Love <fx@gnu.org>
7758 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
7760 * help.el (describe-variable): Have customize button pop the
7761 help-xref stack when invoked.
7762 (help-xref-symbol-regexp): Add `face'.
7763 (help-make-xrefs): Check for quoted face names and adapt regexp
7764 submatch numbers to cope.
7765 (help-xref-interned): Maybe insert face doc too. Separate
7766 sections with a line of hyphens.
7768 * faces.el: Some doc fixes. Declare some functions obsolete.
7769 (describe-face): Add customize button. Return the help
7772 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
7774 * term/internal.el (IT-character-translations): Fix last change.
7776 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7778 * woman.el: New file
7779 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
7781 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7783 * term/internal.el (IT-character-translations): Update ASCII
7784 simulations for greek-iso8859-7, add latin-iso8859-14 and
7787 * international/mule-cmds.el (set-language-info-alist): Call
7788 define-prefix-command with 3 arguments, to make the map suitable
7791 2000-05-07 Dave Love <fx@gnu.org>
7793 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
7795 2000-05-05 Dave Love <fx@gnu.org>
7797 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
7798 list in doc string. Don't quote keyword symbols.
7799 * emacs-lisp/cl.el: Likewise
7800 * emacs-lisp/cl-seq.el: Likewise
7802 2000-05-05 Gerd Moellmann <gerd@gnu.org>
7804 * abbrev.el (abbrev-mode): Make ARG optional.
7806 2000-05-04 Gerd Moellmann <gerd@gnu.org>
7808 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
7810 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
7812 * subr.el (substitute-key-definition): Clarify documentation.
7814 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
7816 * glasses.el (glasses-convert-to-unreadable): Use
7817 `glasses-separator' instead of the hard-wired "_".
7818 (glasses-mode): Call `glasses-make-unreadable' only in a single
7821 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
7823 * term/internal.el (cjk-codepages-alist): Add associations for
7824 Chinese and Korean codepages. Remove FIXME comment.
7826 2000-05-03 Dave Love <fx@gnu.org>
7828 * time.el (display-time-mail-face, display-time-use-mail-icon):
7830 (display-time-mail-icon): New variable.
7831 (display-time-string-forms): Use the above. Fix the local-map.
7833 2000-05-03 Gerd Moellmann <gerd@gnu.org>
7835 * replace.el (query-replace-map): Add binding for `E'.
7836 (query-replace-help): Extend help text.
7837 (perform-replace): Allow editing the replacement string.
7839 * make-mode.el (makefile-mode-abbrev-table): New variable.
7840 (makefile-mode): Set local abbrev table to
7841 makefile-mode-abbrev-table.
7842 (makefile-font-lock-keywords): Fontify includes and conditionals.
7844 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
7847 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
7848 mail-interactive-insert-alias.
7849 (mail-abbrev-complete-alias): New command.
7850 (mail-mode-map): Bind it to `M-TAB'.
7852 2000-05-03 Kenichi Handa <handa@etl.go.jp>
7854 * language/lao-util.el (lao-compose-region): New function.
7856 2000-05-02 Gerd Moellmann <gerd@gnu.org>
7858 * files.el (recover-session): Make directories as necessary
7859 if they don't exist yet.
7861 * calendar/cal-french.el
7862 (french-calendar-multibyte-special-days-array)
7863 (french-calendar-special-days-array): Change French text.
7864 (calendar-french-date-string): Change output.
7865 (calendar-goto-french-date): Likewise.
7867 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
7869 * wid-edit.el (widget-default-active): Obey `:always-active'.
7870 (widget-documentation-string-value-create): Set `:always-active'.
7872 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7874 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
7875 default prefix to `~/_emacs.d/auto-save.list/_s'.
7876 (normal-top-level): Create the directory for auto-save files, if
7877 it doesn't already exist (in the ms-dos case only).
7879 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7881 * international/mule-cmds.el (set-language-environment): Don't
7882 concat an integer (dos-codepage), use format instead.
7884 2000-05-02 Dave Love <fx@gnu.org>
7886 * help.el (help-xref-on-pp): Check for constant symbols.
7888 2000-04-29 Gerd Moellmann <gerd@gnu.org>
7890 * startup.el (normal-top-level): Put a condition-case around
7891 the code loading subdirs.el.
7893 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7895 * ps-print.el: Upside-down and face background color printing,
7896 line number step, doc fix.
7897 (ps-print-version): New version number (5.2).
7898 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
7899 (ps-face-attribute-list, ps-plot-with-face): Code fix.
7900 (ps-spool-config): Var fix.
7901 (ps-printer-name-option): Const fix.
7902 (ps-print-upside-down, ps-use-face-background)
7903 (ps-line-number-step): New vars.
7904 (ps-window-system, ps-lp-system): New consts.
7905 (ps-face-background): New fun.
7907 2000-04-28 Richard Stallman <rms@gnu.org>
7909 * files.el (make-auto-save-file-name):
7910 Apply auto-save-file-name-transforms to visited file name
7911 before generating auto save file name.
7912 (auto-save-file-name-transforms): New variable.
7914 * files.el (backup-enable-predicate):
7915 Correctly test for a file under a temporary directory.
7917 2000-04-28 Gerd Moellmann <gerd@gnu.org>
7919 * subr.el (add-minor-mode): Rewritten.
7921 2000-04-28 Kenichi Handa <handa@etl.go.jp>
7923 * mail/sendmail.el (sendmail-send-it): Set
7924 buffer-file-coding-system to the selected coding system for MIME
7927 2000-04-27 Gerd Moellmann <gerd@gnu.org>
7929 * dired.el (dired-move-to-filename-regexp): Allow format where
7930 YYYY is followed by two spaces.
7932 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
7933 in the second character class of the regexp.
7935 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
7938 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
7941 * subr.el (add-minor-mode): Use `set' instead of `setq'.
7943 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
7946 2000-04-27 Sen Nagata <sen@eccosys.com>
7948 * emacs-lisp/crm.el (crm-completion-table): New variable.
7949 (crm-collection-fn, crm-test-completion)
7950 (completing-read-multiple): Use it.
7952 2000-04-27 Dave Love <fx@gnu.org>
7954 * help.el (locate-library): Use mapc.
7955 (help-manyarg-func-alist): Add call-process-region.
7957 2000-04-26 Gerd Moellmann <gerd@gnu.org>
7959 * subr.el (add-minor-mode): Make argument MAP optional.
7961 * desktop.el (desktop-save): Save list of minor modes.
7962 (desktop-create-buffer): Restore minor modes.
7963 (desktop-minor-mode-table): New user-option.
7965 * subr.el (add-minor-mode): New function.
7967 * image.el (find-image): New function.
7968 (defimage): Rewritten to find image at load time.
7970 * startup.el (normal-top-level-add-to-load-path): Handle
7971 case that the default directory is not in load-path.
7973 * help.el: Old patch from Stefan Monnier.
7974 (help-xref-on-pp): New function.
7975 (describe-variable): Use it to display xrefs in a symbol's value.
7977 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
7979 * cus-edit.el (custom-face): Fix parenthesis.
7981 2000-04-26 Kenichi Handa <handa@etl.go.jp>
7983 * mail/rmail.el (rmail-expunge): When there are no deleted
7984 messages, do nothing.
7986 2000-04-26 Dave Love <fx@gnu.org>
7988 * international/mule-cmds.el (locale-translation-file-name):
7990 (set-locale-environment): Set it here (at runtime).
7992 2000-04-25 Gerd Moellmann <gerd@gnu.org>
7994 * replace.el (perform-replace): Add parameters START and END. Use
7995 them instead of the check for a region in Transient Mark mode.
7996 (query-replace-read-args): Return two more list elements for the
7997 start and end of the region in Transient Mark mode.
7998 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7999 (map-query-replace-regexp, replace-string, replace-regexp): Add
8000 optional last arguments START and END and pass them to
8003 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
8004 form with additional arguments for perform-replace.
8006 * progmodes/etags.el (tags-query-replace): Add parameters START
8007 and END. Construct a form with additional arguments for
8010 * simple.el (shell-command): Set default directory for "*Shell
8011 Command Output" buffer.
8013 * language/european.el (iso-latin-4): Fix typo.
8015 * emacs-lisp/crm.el: New file.
8017 2000-04-24 Dave Love <fx@gnu.org>
8019 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
8020 (Custom-reset-saved, Custom-reset-standard)
8021 (custom-group-value-create, custom-group-set, custom-group-save)
8022 (custom-group-reset-current, custom-group-reset-saved)
8023 (custom-group-reset-standard): Use mapc.
8024 (custom-buffer-create-internal): Disable undo when creating items.
8026 (custom-face): Avoid redundant lambda.
8028 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8030 * startup.el (auto-save-list-file-prefix): Set default to
8031 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
8033 2000-04-24 Sam Steingold <sds@gnu.org>
8035 * time-stamp.el (time-stamp-string-preprocess): Always convert
8036 `field-result' to a string.
8038 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8040 * frame.el (scrolling): New group.
8041 (automatic-hscrolling): New user-option.
8043 * startup.el (command-line-x-option-alist): Add `-lsp' and
8046 2000-04-19 Dave Love <fx@gnu.org>
8048 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
8049 (cl-mapc): Rename from mapc. Fix the funcall.
8051 2000-04-19 Gerd Moellmann <gerd@gnu.org>
8053 * simple.el (clone-indirect-buffer-other-window): New command.
8054 (clone-indirect-buffer): Add optional arg NORECROD.
8055 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
8057 * help.el (resize-temp-buffer-window): Use count-screen-lines.
8059 * window.el (count-screen-lines): New function.
8060 (shrink-window-if-larger-than-buffer): Use count-screen-lines
8061 instead of window-buffer-height.
8063 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
8064 non-existing variable comint-input-sentinel.
8065 (inferior-lisp-args-to-list): Removed.
8066 (inferior-lisp): Use split-string instead of
8067 inferior-lisp-args-to-list.
8069 * hexl.el (hexl-insert-hex-string): New command.
8071 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
8074 2000-04-18 Gerd Moellmann <gerd@gnu.org>
8076 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
8077 at the start of an existing but empty folder.
8079 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8081 * ps-mule.el: Customization fix, doc fix.
8082 (ps-multibyte-buffer): Customization fix.
8084 2000-04-17 Richard M. Stallman <rms@gnu.org>
8086 * subr.el (read-passwd): Use read-char-exclusive.
8088 2000-04-17 Gerd Moellmann <gerd@gnu.org>
8090 * textmodes/texinfo.el (texinfo-insert-@email)
8091 (texinfo-insert-@emph, texinfo-insert-@quotation)
8092 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
8093 (texinfo-mode-map): Add key bindings for them.
8095 * files.el (basic-save-buffer-2): Use a template with `$'
8096 instead of `#' for VMS.
8098 * simple.el (clone-indirect-buffer): New function.
8100 2000-04-16 Stephen Eglen <stephen@gnu.org>
8102 * iswitchb.el (iswitchb-case): New function. If the user input
8103 contains any upper-case characters, the search is made
8106 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
8108 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
8110 (texinfo-font-lock-syntactic-keywords): New var.
8111 (texinfo-font-lock-keywords): Remove comment regexp.
8112 (texinfo-insert-block): New function.
8113 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
8114 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
8115 and font-lock-defaults. Use regexp-opt for outline-regexp.
8116 (texinfo-environments): New var.
8117 (texinfo-environment-regexp): Use regexp-opt and
8118 texinfo-environments.
8120 * textmodes/ispell.el (ispell-menu-map-needed): Check that
8121 ispell-process is bound since this might be eval'd before ispell
8123 (ispell-message): Use a tiny bit less magic and a bit more hard
8124 data to figure out what kind of sc-cite-regexp to use.
8126 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
8128 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
8129 (insert-cyclic-diary-entry): Unquote the lambda.
8131 * gud.el (gud-jdb-build-source-files-list): Fix typo.
8133 * files.el (backup-enable-predicate): Unquote the lambda.
8135 * cus-edit.el (custom-face, face): Unquote the lambda.
8137 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8139 * ps-print.el: Check for line-beginning-position definition.
8141 * ps-print.el: Fix counting lines in a region.
8142 (ps-print-version): New version number (5.1.5).
8143 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
8144 (ps-printing-region): Fun code fix.
8146 2000-04-15 Gerd Moellmann <gerd@gnu.org>
8148 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
8149 to file-directory-p.
8151 2000-04-14 Gerd Moellmann <gerd@gnu.org>
8153 * gud.el (gud-jdb-build-source-files-list): Check that directory
8154 exists before calling directory-files.
8156 2000-04-13 Dave Love <fx@gnu.org>
8158 * emacs-lisp/trace.el: Change maintainer. Use new backquote
8161 * emacs-lisp/cl-specs.el: Remove when, unless.
8163 * emacs-lisp/cl-extra.el: Don't quote keywords.
8164 (cl-old-mapc): New variable.
8166 (cl-map-intervals): Use with-current-buffer. Don't check for
8167 next-property-change.
8168 (cl-map-overlays): Use with-current-buffer.
8170 (copy-tree, remprop): Define unconditionally.
8172 * emacs-lisp/cl-compat.el (keywordp): Remove.
8174 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
8176 (edebug-spec): Enable keywordp.
8178 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
8181 * cus-start.el: Use keywordp.
8183 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8185 * diary-lib.el (include-other-diary-files): Fix the fix of
8186 2000-02-18 by doing a save-excursion.
8188 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8190 * ps-print.el: Customization fix, doc fix.
8191 (ps-print-version): New version number (5.1.4).
8192 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
8193 (ps-print-preprint): Adjust code.
8194 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
8195 (ps-print-prologue-header, ps-print-control-characters)
8196 (ps-spool-config): Customization fix.
8198 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
8200 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
8201 converted to the new menu-item format, names silightly changed,
8204 Support for spelling without async subprocesses:
8206 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
8207 (ispell-session-buffer): New variables.
8208 (ispell-start-process, ispell-process-status,
8209 ispell-accept-output, ispell-send-string): New functions, for
8210 Ispell invocation when async subprocesses aren't supported.
8211 (ispell-word, ispell-pdict-save, ispell-command-loop,
8212 ispell-process-line, ispell-buffer-local-parsing): Replace calls
8213 to process-send-string with calls to ispell-send-string, and
8214 accept-process-output with ispell-accept-output.
8215 (ispell-init-process): Call ispell-process-status instead of
8216 process-status with.
8217 (ispell-init-process): Call ispell-start-process. Call
8218 ispell-accept-output and ispell-send-string. Don't call
8219 process-kill-without-query and kill-process if they are unbound.
8220 (ispell-async-processp): New function.
8222 2000-04-12 Dave Love <fx@gnu.org>
8224 * info.el: Add debug-ignored-errors.
8225 (Info-mode-menu): Add some items.
8226 (Info-directory): Add autoload cookie.
8228 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
8229 Modify `truncate-lines'. Make `describe-language-environment'
8230 always visible and add help. Modify `describe-key' help. Invoke
8231 Info-directory from `info'. New entry `emacs-manual'.
8233 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8235 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
8236 propertized-buffer-identification.
8237 (ebrowse-update-member-buffer-mode-line): Likewise.
8238 (ebrowse--mode-strings): Removed.
8239 (ebrowse--mode-line-props): Removed.
8241 * files.el (auto-mode-alist): Add `EBROWSE'.
8243 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
8244 space before testing for end of buffer.
8245 (ebrowse-load): Removed.
8246 (ebrowse-revert-tree-buffer-from-file): Rewritten.
8247 (ebrowse-create-tree-buffer): Rewritten.
8248 (ebrowse-tree-mode): Read tree from buffer.
8250 * progmodes/ebrowse-ffh.el: Removed.
8252 2000-04-10 Kenichi Handa <handa@etl.go.jp>
8254 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
8256 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8258 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
8261 2000-04-09 Dave Love <fx@gnu.org>
8263 * files.el (backup-enable-predicate): Use
8264 temporary-file-directory, small-temporary-file-directory.
8265 (make-backup-file-name-function, backup-directory-alist): New
8267 (make-backup-file-name-1): New function.
8268 (make-backup-file-name): Use it.
8269 (find-backup-file-name): Likewise. Use format for clarity, not
8271 (file-newest-backup): Use make-backup-file-name.
8273 2000-04-09 Gerd Moellmann <gerd@gnu.org>
8275 * progmodes/ebrowse-ffh.el: New file.
8277 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
8279 (ebrowse-load): Add autoload.
8281 * finder.el (finder-commentary): Add autoload cookie.
8283 * mail/rfc2368.el: Correct author's email address.
8285 * progmodes/ebrowse.el: New file.
8287 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
8289 (easy-menu-do-add-item): Ditto.
8290 (easy-menu-define): Extend doc string.
8292 * jit-lock.el (with-buffer-unmodified): Use
8293 restore-buffer-modified-p.
8294 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
8295 (jit-lock-function, jit-lock-stealth-fontify): Don't use
8296 with-buffer-unmodified.
8298 2000-04-08 Dave Love <fx@gnu.org>
8300 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
8303 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
8305 * viper-util.el (viper-put-on-search-overlay): New subroutine.
8306 (viper-flash-search-pattern): No operation when using Emacs
8307 doesn't support face.
8308 Use `viper-put-on-search-overlay'.
8310 2000-04-04 Gerd Moellmann <gerd@gnu.org>
8312 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
8315 * progmodes/make-mode.el: Some doc fixes.
8316 (makefile-mode-abbrev-table): New variable.
8317 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
8318 (makefile-font-lock-keywords): Fontify includes and conditionals.
8319 (toplevel): Require `dabbrev' and `add-log' when compiling.
8321 * replace.el (perform-replace): Don't move forward one char
8322 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
8323 to do that because it leaves point 1 position after the last
8324 replacement, after everything has been replaced.
8326 * jit-lock.el (with-buffer-unmodified): New macro.
8327 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
8329 (jit-lock-function-1): Extracted from jit-lock-function; not
8330 preserving buffer's modified state.
8331 (jit-lock-function, jit-lock-stealth-fontify): Call
8332 jit-lock-function-1.
8334 * mail/rfc2368.el: Remove supernumerary copyright line.
8336 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
8338 * glasses.el: Provide facilities for inserting space before left
8339 parentheses and uncapitalization of identifiers.
8340 (glasses-mode): Try to remove old overlays in all cases.
8342 2000-04-03 Gerd Moellmann <gerd@gnu.org>
8344 * progmodes/compile.el (compile-internal): Display the compilation
8345 buffer in a different frame, if it's already displayed there.
8347 * mail/rfc2368.el: New file.
8349 * simple.el (sendmail-user-agent-compose): Recognize a `body'
8350 header and insert its value as mail body.
8352 * subr.el (member-ignore-case): New function.
8354 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
8355 (dabbrev--find-expansion): Ignore buffers matching a regexp
8356 from dabbrev-ignored-regexps.
8358 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
8359 to extensions handled by gzip.
8361 2000-04-03 Richard M. Stallman <rms@gnu.org>
8363 * files.el (insert-directory): List the total free space
8364 along with the used space.
8366 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
8367 line is followed by one that matches CITATION-REGEXP, end the
8370 2000-04-03 Markus Rost <rost@delysid.gnu.org>
8372 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
8373 (rmail-make-basic-summary-line): Use that option.
8375 2000-04-03 Kenichi Handa <handa@etl.go.jp>
8377 * international/mule-cmds.el (encoded-string-description):
8378 Rewritten. Try pretty description for ISO 2022 escape sequences
8379 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
8380 for hexadecimal format.
8382 2000-04-01 Dave Love <fx@gnu.org>
8384 * cpp.el: Change customization group to `c' from `C'.
8386 * vcursor.el (vcursor-move): Use display-color-p.
8388 * international/mule-util.el: Provide mule-utils.
8389 (string-to-sequence): Simplify and speed up.
8391 * international/mule.el (make-coding-system): Purecopy doc-string.
8393 * international/mule-cmds.el: Various menu changes.
8394 (describe-specified-language-support): Handle `Default'.
8395 (set-language-info): Purecopy `info'.
8397 2000-03-31 Andrew Innes <andrewi@gnu.org>
8399 * vc.el (vc-backend-diff): Return the correct status if we had to
8400 retry the rcsdiff command without the --brief option.
8402 2000-03-31 Dave Love <fx@gnu.org>
8404 * help.el (help-manyarg-func-alist): Correct several omissions.
8406 * add-log.el: Don't require cl, fortran.
8407 (add-log-current-defun-function): Doc fix.
8408 (change-log-version-number-regexp-list): Remove SCCS part. Doc
8410 (change-log-version-rcs): Function deleted.
8411 (change-log-version-number-search): Doc fix. Use
8412 vc-workfile-version. Avoid CL dolist.
8413 (add-change-log-entry): Just call add-log-current-defun to get
8414 defun. Simplify somewhat.
8415 (change-log-get-method-definition-1): Likewise.
8416 (add-log-current-defun): Return nil if calling
8417 add-log-current-defun-function does so. Move Fortran stuff to
8418 fortran.el. Return string without properties.
8420 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
8421 and :alpha: char classes.
8423 * mail/supercite.el: Defvar curline when compiling.
8424 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
8425 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
8426 rather than a-zA-Z0-9 to allow non-ASCII characters.
8428 2000-03-31 Gerd Moellmann <gerd@gnu.org>
8430 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
8432 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8435 * lpr.el (print-region-1): Use -d to specify printer name for
8436 systems `usg-unix-v*, `dgux', `hpux', `irix'.
8438 2000-03-31 Dave Love <fx@gnu.org>
8440 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
8441 for function definition in symbol's function value slot first
8442 instead of first consulting byte-compile-function-environment.
8444 2000-03-31 Kenichi Handa <handa@etl.go.jp>
8446 * language/european.el ("Polish"): New language environment.
8447 (setup-polish-environment): New function.
8449 2000-03-30 Gerd Moellmann <gerd@gnu.org>
8451 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8454 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
8455 trying to `load' the symbol of an autoload instead of the file
8456 recorded in the autoload. Fix error messages.
8458 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8460 * ps-print.el: PostScript programming fix for ghostview, doc fix.
8461 (ps-print-version): New version number (5.1.3).
8462 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
8463 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
8464 (ps-generate-postscript-with-faces): Code fix.
8465 (ps-color-values): XEmacs compatibility.
8466 (ps-print-background-image, ps-print-background-text, ps-printer-name)
8467 (ps-default-fg, ps-default-bg): Adjust customization.
8468 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
8469 (ps-color-scale): Renaming old ps-color-value fun.
8470 (ps-print-headers): Replace ps-print-header group to avoid conflict
8471 with ps-print-header variable.
8472 (ps-print-miscellany): New group.
8473 (ps-format-color, ps-rgb-color): New funs.
8474 (ps-default-foreground): New var.
8475 (ps-printer-name-option): New const.
8477 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
8480 (network-connection-host, network-connection-service): New variables
8481 (network-connection-mode): New mode, derived from comint-mode
8482 (network-connection-mode-setup): New function, saves host and
8483 service information in local variables.
8486 (locate-word-at-point): Added this function
8487 (locate): Default to using locate-word-at-point as input
8490 2000-03-29 Dave Love <fx@gnu.org>
8492 * calendar/appt.el: Doc fixes.
8493 (appt-check): Convert min-to-app to a string before passing to
8494 appt-disp-window-function or concat.
8495 (appt-delete-window): Remove test for frame-root-window.
8496 (appt-select-lowest-window, appt-convert-time): Simplify.
8498 * emacs-lisp/bytecomp.el: Doc fixes.
8499 (byte-compile-file-form-autoload): Update
8500 byte-compile-function-environment.
8502 2000-03-29 Andreas Schwab <schwab@suse.de>
8504 * emacs-lisp/autoload.el: Also print defsubst doc string
8507 * dired.el (dired-insert-directory): If dired-free-space-program
8508 failed just delete its output.
8510 2000-03-29 Dave Love <fx@gnu.org>
8512 * international/iso-cvt.el: Move provide to end. Doc fixes.
8513 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
8514 (iso-iso2sgml, iso-sgml2iso): New functions.
8515 (iso-cvt-define-menu): Fix some entries and use backquote for
8518 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
8520 2000-03-28 Gerd Moellmann <gerd@gnu.org>
8522 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
8523 ISO-DATE. If non-nil, return date in ISO 8601 format.
8525 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
8527 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
8528 if it ever becomes used.
8529 (log-edit-mode-hook): Default to vc-log-mode-hook.
8530 (log-edit-mode): Fix the docstring.
8532 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
8535 2000-03-26 Dave Love <fx@gnu.org>
8537 * net/browse-url.el (browse-url): Re-fix case of
8538 browse-url-browser-function being an alist.
8539 (browse-url): Add :link to defgroup.
8541 * files.el: Doc fixes.
8542 (file-truename): Include `[' in wildcard characters.
8543 (automount-dir-prefix): Customize.
8544 (find-file-wildcards): Add :version.
8545 (find-file-noselect): Simplify a mapcar call.
8547 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
8548 compatible with inf-lisp version.
8549 (eval-defun-1): Fix custom-declare-variable case.
8551 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
8553 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
8555 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8557 * Makefile (COMPILE_FIRST): New macro.
8558 (compile-files): Compile files from COMPILE_FIRST first.
8560 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
8563 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
8564 matching open parenthesis in column 0 to defun-prompt-regexp
8565 only if open-paren-in-column-0-is-defun-start is set.
8567 * sun-curs.el: Require CL at compile-time only.
8569 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
8570 instead of copy-list which is a function from CL.
8571 (msb--choose-menu, msb--mode-menu-cond)
8572 (msb--create-buffer-menu-2): Use dolist instead of mapc.
8573 (msb--init-file-alist): Use mapcar instead of mapcan.
8574 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
8575 `(' in column 0 in doc string.
8576 (msb--add-separators): Use mapcar instead of mapcan.
8578 * cus-dep.el: Require CL at compile-time only.
8580 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
8582 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
8583 (byte-compile-warnings): New warning `noruntime'.
8584 (byte-compile-constants, byte-compile-variables): Fix docstring.
8585 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
8586 execute `eval-whenc-compile's body.
8587 (byte-compile-unresolved-functions): Fix docstring.
8588 (byte-compile-eval): New function.
8589 (byte-compile-callargs-warn): Check if the function will be available
8590 at runtime (via property `byte-compile-noruntime').
8591 (byte-compile-print-syms): New function.
8592 (byte-compile-warn-about-unresolved-functions): Also warn about
8593 `noruntime' functions (and use `byte-compile-print-syms').
8594 (byte-compile-file): Capitalize the message.
8596 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8598 * mail/rmail.el (rmail-confirm-expunge): New user-option.
8599 (rmail-expunge): Ask for confirmation depending on the setting
8600 of rmail-confirm-expunge.
8602 2000-03-23 Gerd Moellmann <gerd@gnu.org>
8604 * Makefile (bootstrap-clean): If $(emacs) exists, build
8605 loaddefs.el first. A loaddefs.el that's not up-to-date might
8606 cause a bootstrap failure because things don't autoload as
8609 2000-03-23 Dave Love <fx@gnu.org>
8611 * net/browse-url.el: Restore previous use of
8612 browse-url-maybe-new-window.
8614 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8616 * ps-print.el: Skip banner page fix.
8617 (ps-print-version): New version number (5.1.2).
8618 (ps-begin-file, ps-end-file, ps-generate): Code fix.
8620 2000-03-23 Dave Pearson <davep@davep.org>
8622 * net/quickurl.el Changed the type of parameter passed to the
8623 function defined by `quickurl-format-function'. Before only the
8624 text of the URL was passed. Now the whole URL structure is passed
8625 and the function is responsible for extracting the parts it
8626 requires. Changed the default of `quickurl-format-function'
8628 (quickurl-insert): Changed the `funcall' of
8629 `quickurl-format-function' to match the above change.
8630 (quickurl-list-insert): Changed the `url' case so that it makes
8631 use of `quickurl-format-function', previous to this the format was
8634 2000-03-22 Gerd Moellmann <gerd@gnu.org>
8636 * startup.el: Change some spellings for the X Window System.
8638 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
8640 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
8641 up the code and the regexp and make sure the cursor is temporarily
8642 moved to the suspicious line while querying the user.
8644 2000-03-22 Jason Rumney <jasonr@gnu.org>
8646 * w32-fns.el (w32-charset-info-alist): Initialize.
8648 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8650 * ps-print.el: N-up last page fix.
8651 (ps-print-version): New version number (5.1.1).
8652 (ps-end-file, ps-end-job, ps-generate): Code fix.
8654 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8656 * files.el (find-file-run-dired): Update docstring.
8657 (find-directory-functions): New hook.
8658 (find-file-noselect): Run find-directory-functions rather than
8659 calling dired directly.
8661 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
8663 * pcvs.el: Add a minimal leading commentary.
8664 (cvs-make-cvs-buffer): Change the header part by removing the startup
8665 message and adding a `Module' entry. Also replace the FOOTER and
8666 HEADER special fileinfos with the new support in ewoc for updating
8667 its own footer and header.
8668 (cvs-update-header): Update to use the header/footer of the ewoc.
8669 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
8670 (cvs-is-within-p): New function.
8671 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
8672 to only examine some subset of the buffers.
8674 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
8675 `format' instead of our own ad-hoc functions.
8676 Remove HEADER and FOOTER cases, now handled in the EWOC.
8677 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
8679 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
8680 output to avoid scaring the user.
8681 (cvs-parse-table): Catch message for non-up-to-date commits.
8683 * pcvs-defs.el (cvs-startup-message): Remove.
8684 (cvs-global-menu): New autoloaded menu.
8686 * pcvs-util.el (cvs-string-fill): Remove.
8688 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
8689 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
8690 PP part of it and also make it work for footers and headers.
8691 (ewoc-create): Drop POS and BUFFER arguments.
8692 Use the DLL's dummy node to store the end-of-footer position.
8693 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
8694 (ewoc-refresh): Remove unused `header' variable.
8695 (ewoc-(get|set)-hf): New functions.
8697 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
8698 log-view-*-(message|file) and use easy-mmode-define-navigation.
8699 (log-view-message-re): Match SCCS format as well.
8700 And match the revision line rather than the dashed separator line.
8701 (log-view-mode): Use the new define-derived-mode.
8702 (log-view-current-tag): Fill in with an actual implementation.
8704 * cvs-status.el (cvs-status-(prev|next)): Rename from
8705 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
8706 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
8707 to let the output "breathe" a little more (more readable).
8708 (cvs-status-mode): Use the new define-derived-mode.
8710 * smerge-mode.el (smerge-auto-leave): New function and variable.
8711 (smerge-basic-map): Rename from smerge-basic-keymap.
8712 Change the bindings for smerge-diff-*.
8713 (smerge-*-map): Use easy-mmode-defmap.
8714 (smerge-(next|prev)): Use easy-mmode-define-navigation.
8715 (smerge-keep-*): Use smerge-auto-leave.
8717 2000-03-21 Jason Rumney <jasonr@gnu.org>
8719 * cus-edit.el (custom-button-face): Use 3D look for w32.
8720 (custom-button-pressed-face): Likewise.
8722 2000-03-21 Gerd Moellmann <gerd@gnu.org>
8724 * progmodes/etags.el (tags-case-fold-search): New user-option.
8725 (tags-loop-eval): New function. Bind case-fold-search around eval
8726 depending on the value of tags-case-fold-search.
8727 (tags-loop-continue): Use tags-loop-eval.
8728 (find-tag-in-order): Bind case-fold-search depending on the value
8729 of tags-case-fold-search.
8731 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8733 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
8734 (diff-end-of-hunk): Return the end position for use in
8735 `easy-mmode-define-navigation'.
8736 (diff-recenter): Remove.
8737 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
8738 of `easy-mmode-define-navigation'.
8739 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
8740 previous renaming) and fix to use new names.
8741 (diff-merge-strings): Use \n as separator: simpler, faster.
8742 (diff-mode): Use `define-derived-mode'.
8744 * derived.el (define-derived-mode): Don't autoload anymore.
8745 Prefer the macro-only version provided by easy-mmode.el.
8747 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
8748 `easy-mmode-define-derived-mode'.
8749 Use `combine-run-hooks'.
8750 (easy-mmode-define-navigation): New macro.
8752 * subr.el (combine-run-hooks): New function.
8754 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
8756 * term/x-win.el: Fontsets related initialization is simplified.
8758 * international/mule-diag.el (describe-font): Don't refer to
8759 global-fontset-alist, instead call font-list.
8760 (describe-fontset, list-fontsets, mule-diag): Likewise.
8761 (print-fontset): Adjusted for the change of fontset
8764 * international/fontset.el (x-charset-registries): Variable
8765 removed, instead the corresponding data is stored in the default
8767 (register-alternate-fontnames): Function removed.
8768 (resolved-ascii-font): Variable removed.
8769 (x-compose-font-name): Ignore the second argument REDOCE.
8770 (x-complement-fontset-spec): Complement only an ASCII font and
8771 element for those charsets than can use that ASCII font.
8772 (generate-fontset-menu): Don't refer to global-fontset-alist,
8773 instead call fontset-list.
8774 (uninstantiated-fontset-alist): Variable removed.
8775 (x-style-funcs-alist): Likewise.
8776 (fontset-default-styles): Likewise.
8777 (x-modify-font-name): Function removed.
8778 (create-fontset-from-fontset-spec): Ignore the argument
8780 (create-fontset-from-ascii-font): Docsting adjusted for the above
8782 (instantiate-fontset, resolve-fontset-name): Functions removed.
8783 (fontset-list): Now implemented by C code.
8785 * faces.el (read-face-font): Fix TABLE arg to completing-read.
8786 (describe-face): Include `font' attribute in the description.
8788 2000-03-21 Kenichi Handa <handa@etl.go.jp>
8790 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
8792 2000-03-20 Gerd Moellmann <gerd@gnu.org>
8794 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
8795 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
8796 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
8798 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
8799 about behavior of set-buffer-modified-p wrt redisplay.
8801 2000-03-19 Richard M. Stallman <rms@gnu.org>
8803 * view.el (view-mode-disable): Kill local binding of view-read-only.
8805 2000-03-18 Gerd Moellmann <gerd@gnu.org>
8807 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
8808 is a string, convert it to a syntax cell using string-to-syntax.
8810 * simple.el (syntax-code-table, syntax-flag-table): New variables.
8811 (string-to-syntax): New function.
8813 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
8814 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
8815 try to use passive ftp mode.
8817 2000-03-17 Gerd Moellmann <gerd@gnu.org>
8819 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
8821 * simple.el (append-to-buffer): Update point of windows after
8824 * abbrev.el (inverse-add-abbrev): Identify word by first moving
8825 forward then moving backward. Reindent.
8827 * frame.el (other-frame): Call x-focus-frame only if
8828 focus-follows-mouse is off.
8830 2000-03-17 Dave Love <fx@gnu.org>
8832 * pcvs-util.el (cvs-strings->string): Rename
8833 replace-regexps-in-string.
8835 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
8837 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
8838 regexp for labels cannot span several lines.
8840 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
8841 `(setq :<key> ':<key>)' to the macro expansion.
8843 2000-03-16 Dave Love <fx@gnu.org>
8845 * progmodes/f90.el (f90): Put custom group under `languages', not
8847 (f90-mode-hook): Customize.
8848 (f90-mode): Set add-log-current-defun-function.
8849 (f90-current-defun): New function.
8851 2000-03-16 Gerd Moellmann <gerd@gnu.org>
8853 * cus-edit.el (custom-variable-tag-face): Handle case that
8854 default face's height is not a number.
8855 (custom-face-tag-face, custom-group-tag-face-1)
8856 (custom-group-tag-face): Ditto.
8857 (custom-group-tag-face-1): Add :group.
8859 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
8861 2000-03-15 Gerd Moellmann <gerd@gnu.org>
8863 * pcvs-defs.el (toplevel): Remove autoload cookie for form
8866 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8868 * ps-print.el: PostScript user-defined prologue, PostScript error
8870 (ps-print-version): New version number (5.1).
8871 (ps-user-defined-prologue, ps-error-handler-message)
8872 (ps-print-prologue-0, ps-error-handler-alist): New vars.
8873 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
8874 (ps-insert-string): New function.
8876 2000-03-15 Kenichi Handa <handa@etl.go.jp>
8878 * international/ccl.el (ccl-compile-expression): Don't generate
8879 invalid self-assignment code.
8881 2000-03-14 Dave Love <fx@gnu.org>
8883 * subr.el (replace-regexp-in-string): Renamed from
8884 replace-regexps-in-string. Doc fix.
8886 2000-03-12 Dave Love <fx@gnu.org>
8888 * cus-edit.el: Doc fixes.
8889 (customize-set-variable, customize-save-variable): Rename args for
8891 (custom-variable-tag-face, custom-face-tag-face)
8892 (custom-group-tag-face-1, custom-group-tag-face): Modify from
8893 style which user identify as hyperlink.
8894 (hook): Don't add undefined functions to the hook.
8895 (debug-ignored-errors): Transfer message from bindings.el.
8897 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8899 * recentf.el (recentf-keep-non-readable-files-p): Remove
8900 double/nested definition.
8902 2000-03-12 Dave Love <fx@gnu.org>
8904 * facemenu.el (facemenu-get-face): Use display-color-p.
8905 * enriched.el (enriched-decode-foreground): Likewise.
8906 (enriched-decode-background): Likewise.
8907 * isearch.el (isearch-highlight): Likewise.
8908 * info-look.el (info-lookup): Likewise.
8909 * simple.el (completion-setup-function): Likewise.
8911 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
8914 * bindings.el (mode-line-format): Fix line-number and
8915 column-number items. Add help-echo for the background.
8916 (mode-line-mule-info): Modify help-echo.
8918 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
8921 * files.el (load-file): Allow completion to .elc.
8923 * man.el: Doc fixes.
8924 (Man-init-defvars): Use display-color-p to set fontification.
8926 * play/hanoi.el (hanoi-internal): Don't use oddp.
8928 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8930 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
8932 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
8934 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
8936 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
8939 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
8941 * font-lock.el (font-lock-keywords): Fix the doc now that
8942 regexp-opt-depth is unnecessary.
8943 (save-buffer-state): Set an edebug spec.
8944 (font-lock-fontify-anchored-keywords): Properly handle the case when
8945 the matcher goes past the limit.
8947 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
8948 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
8950 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
8951 dll.el and cookie.el (from Elib) with heavy renaming and other
8954 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
8955 Autoload the functions used.
8956 (easy-mmode-define-syntax): Fix CL typo.
8957 (easy-mmode-define-derived-mode): Improve the docstring generation.
8959 2000-03-10 Gerd Moellmann <gerd@gnu.org>
8961 * textmodes/texinfo.el (texinfo-version): Variable and function
8964 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
8966 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
8967 allow more flexibility.
8968 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
8970 (easy-mmode-defmap, easy-mmode-defsyntax)
8971 (easy-mmode-define-derived-mode): New macros.
8973 2000-03-09 Didier Verna <didier@xemacs.org>
8975 * rect.el (replace-rectangle): New function.
8977 2000-03-09 Dave Love <fx@gnu.org>
8979 * progmodes/fortran.el (fortran-comment-line-start): Define as
8981 (fortran-comment-line-start-skip): Don't match cpp stuff.
8982 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
8983 (fortran-mode-map): Remove over-eager custom-menu-create for now.
8984 (fortran-mode): Don't set fortran-comment-line-start-skip,
8985 fortran-comment-line-start here. Set comment-start,
8986 add-log-current-defun.
8987 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
8988 (fortran-current-defun): New function.
8990 2000-03-09 Gerd Moellmann <gerd@gnu.org>
8992 * emacs-lisp/re-builder.el: New file.
8994 * mouse.el (mouse-drag-region): Don't run up-event handler
8995 if hscroll has changed.
8997 * octave-mod.el (octave-font-lock-keywords): To font-lock the
8998 builtin operators, use `font-lock-builtin-face' for Emacs and
8999 `font-lock-preprocessor-face' otherwise.
9001 * font-lock.el (lisp-font-lock-keywords-1): Highlight
9002 `(defun (setf foo)' differently.
9004 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
9006 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
9007 (regexp-opt): Update comment and adapt the code the new meaning of
9008 the `paren' argument of regex-opt-group for shy-groups.
9009 (regexp-opt-depth): Handle shy groups as well as backslashed
9011 (regexp-opt-group): Turn the leading comment into a docstring.
9012 Allow `paren' to be a string (the string to use to open a group).
9013 Remove open-presuf and close-presuf. Instead of checking for `all
9014 one-char' and then later on check for `several one-char', handle
9015 both cases close together. Also apply a more generic algorithm
9016 for suffixes (the mirror image of the algorithm used for
9017 prefixes). Use shy-groups. Use nreverse rather than reverse.
9018 (regexp-opt-try-suffix): Removed.
9020 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
9021 from comint-mode-map, so we can just inherit from it. Also, move
9022 the initialization into the `defvar' since there's no docstring
9023 anyway and it's fairly short.
9024 (inferior-scheme-mode): Define it as derived-mode: the code is
9025 shorter and this way we inherit from comint-mode-map rather than
9028 * subr.el (replace-regexps-in-string): Properly handle the case
9029 where we match an empty string.
9031 * comint.el (comint-exec-1): Add the current-dir to the exec-path
9032 when the command has a directory component (such as "./testml").
9033 Also fix a typo in the comment.
9035 2000-03-08 Gerd Moellmann <gerd@gnu.org>
9037 * Makefile (compile-files): Compile files one by one because
9038 that's the only way to ensure a clean compilation environment for
9039 each individual file.
9041 * frame.el (other-frame): Call x-focus-frame.
9043 2000-03-07 Dave Love <fx@gnu.org>
9045 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
9046 :require to defcustom.
9048 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
9051 * files.el (auto-mode-alist): Add configure.in.
9053 * progmodes/autoconf.el: New file.
9055 2000-03-07 Gerd Moellmann <gerd@gnu.org>
9057 * mail/mh-e.el: Change maintainer to `none'.
9059 * recentf.el (recentf-keep-non-readable-files-p): Quote args
9060 to remove-hook and add-hook.
9062 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9064 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
9066 (mail-send): Test mail-send-nonascii also for the new `mime' value.
9067 (sendmail-send-it): Conditionally add MIME headers specifying the
9070 2000-03-07 Dave Love <fx@gnu.org>
9072 * winner.el: Fix keywords, autoload cookies. Split
9073 eval-when-compile form to avoid compilation failure.
9075 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
9077 * international/mule.el: Modify comment about coding system
9078 property `coding-category'.
9079 (make-coding-system): New argument EOL-TYPE. Pay attention to
9080 coding-category property of PROPERTIES.
9082 * international/mule-conf.el (coding-category-utf-8,
9083 coding-category-utf-16-be, coding-category-utf-16-le): New coding
9084 categories. Include them in the argument for set-coding-priority.
9086 * international/mule-cmds.el (reset-language-environment): Include
9087 coding-category-utf-8, coding-category-utf-16-be, and
9088 coding-category-utf-16-le in the argument for set-coding-priority.
9089 (reset-language-environment): Initialize coding-category-utf-8,
9090 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
9092 2000-03-06 Karl Fogel <kfogel@red-bean.com>
9094 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
9095 code abstracted out of `bookmark-jump-noselect'. Now tries info
9096 extensions as well as compression extensions.
9097 (bookmark-jump-noselect): Use above new func.
9099 2000-03-03 Gerd Moellmann <gerd@gnu.org>
9101 * strokes.el: Change maintainer's mail address.
9103 2000-03-03 Kenichi Handa <handa@etl.go.jp>
9105 * international/mule-diag.el (list-character-sets): Make help-echo
9106 string by substitute-command-keys.
9107 (list-character-sets): Likewise.
9108 (sort-listed-character-sets): Call help-setup-xref.
9110 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9112 * time.el (display-time-mail-file): Add `none' to the list of
9115 2000-03-01 Dave Love <fx@gnu.org>
9117 * help.el (help-xref-go-back): Don't try to set position.
9119 * international/mule-diag.el (list-character-sets): Call
9120 help-setup-xref. Add help-echo to xrefs.
9121 (list-character-sets-1): Add help-echo to xrefs.
9123 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9125 * frame.el (blink-cursor-mode): Switch cursor on when turning
9128 * add-log.el (add-log-current-defun): Add support for
9131 * mail/rmail.el (rmail-quit-hook): New variable.
9133 2000-03-01 Dave Love <fx@gnu.org>
9135 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
9137 * help.el (help-xref-button): Add help-echo arg.
9138 (describe-function-1, describe-variable, help-make-xrefs): Use it.
9140 * faces.el (list-faces-display): Supply help-echo with
9143 * facemenu.el (list-text-properties-at): Set help-xref-stack to
9146 2000-03-01 Gerd Moellmann <gerd@gnu.org>
9148 * image.el (defimage): Look for image files in load-path.
9150 * frame.el (busy-cursor-delay-seconds): Change type to
9153 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9155 * recentf.el (recentf): Added version tag to the defgroup of
9158 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9160 * recentf.el (recentf-cleanup): Changed to remove excluded file
9162 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
9163 action to select/unselect a file.
9164 (recentf-edit-list): Code cleanup and improvement.
9165 (recentf-open-more-files-action): `recentf-open-more-files' button
9166 widget action to open a file.
9167 (recentf-open-more-files): No more use standard completion but
9169 (recentf-more-collection): Deleted.
9170 (recentf-more-history): Deleted.
9171 (recentf-setup-more-completion): Deleted.
9173 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9175 * recentf.el (recentf-mode): No more needs that Emacs is running
9176 under a window-system.
9178 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9180 * recentf.el (recentf-edit-list): New command to edit the recent
9181 list which allow the user to remove files.
9182 (recentf-edit-selected-items): New global variable, used by
9183 `recentf-edit-list' to hold the list of files to be removed from
9185 (recentf-make-menu-items): Updated to display a "Edit list..."
9186 menu item. Minor code cleanup.
9188 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9190 * recentf.el (recentf-open-more-files): New command to open files
9191 that are not displayed in the menu.
9192 (recentf-more-collection): New global variable holding the set of
9193 permissible completions used by `recentf-open-more-files'.
9194 (recentf-more-history): New global variable holding the history list
9195 used by `recentf-open-more-files' completion.
9196 (recentf-setup-more-completion): New function to setup completion for
9197 `recentf-open-more-files'.
9198 (recentf-make-menu-items): Updated to display a "More..." menu item.
9200 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9202 * recentf.el (recentf-menu-action): Doc fixed.
9204 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9206 * recentf.el (recentf-menu-filter): Doc updated.
9207 (recentf-update-menu-hook): Allow menu filters to force menu update.
9208 (recentf-make-menu-items): New menu filter handling.
9209 (recentf-make-menu-item): New helper function.
9210 (recentf-menu-elements): New menu handling function.
9211 (recentf-sort-ascending): Updated to new menu filter handling.
9212 (recentf-sort-descending): Updated to new menu filter handling.
9213 (recentf-sort-basenames-ascending): New menu filter function.
9214 (recentf-sort-basenames-descending): New menu filter function.
9215 (recentf-show-basenames): New menu filter function.
9216 (recentf-show-basenames-ascending): New menu filter function.
9217 (recentf-show-basenames-descending): New menu filter function.
9219 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9221 * diary-lib.el (list-diary-entries): Don't try to go forward at
9222 the end of the buffer.
9224 2000-02-29 Kenichi Handa <handa@etl.go.jp>
9226 * international/mule-diag.el (list-character-sets): Completely
9228 (sort-listed-character-sets): New function.
9229 (list-character-sets-1): Completely rewritten.
9230 (list-character-sets-2): New function.
9231 (non-iso-charset-alist): New variable.
9232 (decode-codepage-char): New function.
9233 (charset-history): New variable.
9234 (read-charset) (list-block-of-chars)
9235 (list-iso-charset-chars)
9236 (list-non-iso-charset-chars)
9237 (list-charset-chars): New functions.
9238 (mule-diag): Call list-character-sets-2, not
9239 list-character-sets-2.
9240 (dump-charsets): Likewise.
9242 2000-02-29 Gerd Moellmann <gerd@gnu.org>
9244 * dired-x.el (dired-filename-at-point): Add `@' to valid
9245 file name characters.
9246 (dired-filename-at-point): Handle ange-ftp file names.
9248 * frame.el (frame-notice-user-settings): Use assq-delete-all
9249 instead of assoc-delete-all.
9250 (frame-notice-user-settings): Ditto.
9252 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
9255 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
9257 * calculator.el (calculator-use-menu): New option.
9258 (calculator-initial-bindings): Changed some bindings to work as
9260 (calculator-forced-input): Removed.
9261 (calculator-restart-other-mode): New variable.
9262 (calculator-mode-map): Set up menu.
9264 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
9266 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
9269 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
9271 * viper-cmd.el (viper-envelop-ESC-key): added the option to
9272 translate all ESC key sequences.
9273 (viper-goto-mark-subr): restore markers for files for which
9275 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
9276 * viper-util.el (viper-set-replace-overlay-glyphs,
9277 viper-set-replace-overlay): always check if the replacement
9279 * viper.el (viper-vi-state-mode-list): added major modes.
9280 * ediff-wind.el: minor comment changes.
9281 * ediff.el: copyright notice date fix.
9283 2000-02-27 Jason Rumney <jasonr@gnu.org>
9285 * faces.el (face-font-family-alternatives): Add arial to helv.
9286 (mode-line, header-line, tool-bar): Same default as x for w32.
9287 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
9288 face-font-family-alternatives from working.
9289 * term/w32-win.el (mouse-set-font): Do not build fontset from
9292 2000-02-25 Sam Steingold <sds@goems.com>
9294 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
9297 2000-02-25 Richard M. Stallman <rms@gnu.org>
9299 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
9301 2000-02-25 Gerd Moellmann <gerd@gnu.org>
9303 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
9306 * frame.el (busy-cursor-delay-seconds): New option.
9308 2000-02-24 Gerd Moellmann <gerd@gnu.org>
9310 * frame.el (show-cursor-in-non-selected-windows): New option.
9312 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9314 * diary-lib.el (include-other-diary-files): Undo the selective
9315 display in any included file and don't kill it.
9317 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
9319 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
9320 bar. Menu items converted to (menu-item format, help strings
9322 [downcase, upcase]: Don't enable on MS-DOS.
9323 [symlink, symlinks]: Don't show if make-symbolic-link is not
9325 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
9327 2000-02-23 Dave Love <fx@gnu.org>
9329 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
9330 (backward-kill-word): Revert addition of * to interactive spec --
9333 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
9334 (backward-kill-sentence, kill-sentence): Likewise.
9336 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
9337 scratch buffer name.
9338 (gud-format-command): Use int-to-string in ?l case. Simplify
9341 * term/w32-win.el (internal-face-interactive): Update prompt for
9344 * mail/footnote.el (footnote): Add :version to defgroup.
9345 (footnote-section-tag-regexp): Customize.
9346 (footnote-start-tag, footnote-end-tag): New option.
9347 (footnote-latin-regexp): New variable.
9348 (Footnote-latin): New function.
9349 (footnote-style-alist): Add element for latin style.
9350 (footnote-style): Moved.
9351 (Footnote-goto-footnote): Use eq to test arg.
9353 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
9355 * emacs-lisp/byte-opt.el: Change old backquote syntax.
9356 (byte-compile-trueconstp): Include keywords.
9357 (byte-optimize-quote, byte-optimize-lapcode): Use
9358 byte-compile-const-symbol-p.
9359 (byte-optimize-char-before): New optimization.
9361 * emacs-lisp/bytecomp.el: Change old backquote syntax.
9362 (byte-compile-const-symbol-p): New function.
9363 (byte-compile-constp, byte-compile-out-toplevel)
9364 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
9367 * subr.el (define-key-after): Default AFTER to t. Doc fix.
9369 2000-02-23 Kenichi Handa <handa@etl.go.jp>
9371 * international/encoded-kb.el: Be sure to update minor-mode-alist
9372 and minor-mode-map-alist.
9373 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
9374 codes SS2 and SS3 correctly.
9375 (encoded-kbd-self-insert-ccl): New function.
9376 (encoded-kbd-setup-keymap): New function.
9377 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
9378 by calling encoded-kbd-setup-keymap.
9380 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
9382 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
9385 2000-02-22 Dave Love <fx@gnu.org>
9387 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
9388 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
9390 (lisp-mode-syntax-table): Set up for #|...|# comments.
9391 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
9392 classes. Match `defface'.
9393 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
9394 (eval-defun-1): Fix for defcustom.
9395 (lisp-indent-region): Doc fix.
9397 * subr.el (when, unless, split-string): Doc fix.
9398 (read-passwd): Move call of clear-this-command-keys to the right
9400 (replace-regexps-in-string): New function.
9402 2000-02-22 Gerd Moellmann <gerd@gnu.org>
9404 * help.el (describe-variable): Set syntax table to
9405 emacs-lisp-mode-syntax-table when moving forward over the
9408 2000-02-22 Dave Love <fx@gnu.org>
9410 * xt-mouse.el: Doc fixes.
9411 (xterm-mouse-position-function): New function, replacing advice of
9413 (xterm-mouse-mode): Use it. Don't turn on under a window system.
9415 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
9417 2000-02-21 Gerd Moellmann <gerd@gnu.org>
9419 * format.el (format-annotate-single-property-change): Handle
9420 properties.with dotted-list values.
9421 (format-proper-list-p): New function.
9423 * enriched.el (enriched-face-ans): Handle '(foreground-color
9424 . COLOR) and (background-color . COLOR).
9426 2000-02-20 Dave Love <fx@gnu.org>
9428 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
9429 and assignments to it.
9430 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
9432 (make-flyspell-overlay): Use it.
9433 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
9435 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
9436 (lm-get-header-re): Defun, not defsubst.
9437 (lm-get-package-name): Defun, not defsubst. Simplify.
9438 (lm-version): Doc fix. Simplify.
9439 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
9440 (lm-crack-address, lm-last-modified-date, lm-commentary)
9441 (lm-verify, lm-synopsis): Simplify.
9442 (lm-report-bug): Require emacsbug. Use compose-mail.
9444 2000-02-20 Gerd Moellmann <gerd@gnu.org>
9446 * dired.el (dired-mode): Call propertized-buffer-identification
9447 to set mode-line-buffer-identification to something having
9448 the right text properties.
9450 * bindings.el (propertized-buffer-identification): New function.
9452 2000-02-20 Dave Love <fx@gnu.org>
9454 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
9455 check for t-mouse too.
9457 * cus-start.el: Make echo-keystrokes `number'.
9459 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
9461 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
9462 Don't call ring-empty-p unless tags-location-ring is bound.
9463 From Noah Friedman <friedman@splode.com>.
9465 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
9467 * progmodes/hideshow.el (hs-flag-region): No longer use
9468 `intangible' overlay property.
9470 (hs-toggle-hiding): New command.
9471 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
9473 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
9474 Fix omission bug: Run `hs-minor-mode-hook' for both activation
9477 2000-02-18 Gerd Moellmann <gerd@gnu.org>
9479 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
9481 2000-02-17 Gerd Moellmann <gerd@gnu.org>
9483 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
9485 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
9486 of `*' to handle `(* ... *)' comments.
9488 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
9490 * faces.el (list-faces-display): Use display-mouse-p instead of
9493 * menu-bar.el (global-map): Menu-bar items converted to the new
9494 format (menu-item..., rearranged for better CUA compliance, and
9495 their names changed for better clarity. Help strings added.
9497 * international/mule-cmds.el (mule-menu-keymap)
9498 (describe-language-environment-map, set-coding-system-map)
9499 (setup-language-environment-map): Convert to new (menu-item...
9500 form, add help strings. Change names of menu items for better
9501 clarity. "Mule" menu-bar item removed (it's now in the "Options"
9504 2000-02-17 Gerd Moellmann <gerd@gnu.org>
9506 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
9509 2000-02-16 Dave Love <fx@gnu.org>
9511 * faces.el: Don't require custom. Add more specific :groups to
9513 (set-face-attribute): Purecopy args.
9514 (read-face-name): Default to name at point and use it in prompt.
9515 Remove colon from arg in all callers.
9516 (list-faces-display): Hyperlink to face descriptions and customize
9519 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
9521 * wid-edit.el (widget-match-inline): An atom never matches a
9524 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9526 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9527 at ':' characters by call to split-string.
9529 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9531 * textmodes/bibtex.el: Added RCS version identification.
9533 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9535 * textmodes/bibtex.el: Some temporary comments removed.
9536 (bibtex-field-name, bibtex-entry-type): Made the relationship
9538 (bibtex-field-const): Allow capital letters.
9539 (bibtex-start-of-string): Deleted because unused.
9541 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9542 use the term 'reference' to describe a bibtex entry as a whole.
9543 Further, reference keys are no longer called 'labels'.
9544 (bibtex-keys): Renamed to bibtex-reference-keys.
9545 (bibtex-reformat-previous-labels): Renamed to
9546 bibtex-reformat-previous-reference-keys.
9547 (bibtex-reference-type): Renamed to bibtex-entry-type.
9548 (bibtex-reference-head): Renamed to bibtex-entry-head.
9549 (bibtex-reference-maybe-empty-head): Renamed to
9550 bibtex-entry-maybe-empty-head.
9551 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9552 (bibtex-search-reference): Renamed to bibtex-search-entry.
9553 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9554 bibtex-enclosing-entry-maybe-empty-head.
9555 (bibtex-entry-field-alist, bibtex-entry-head,
9556 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9557 bibtex-map-entries, bibtex-search-entry,
9558 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9559 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9560 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9561 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9562 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9563 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9564 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9566 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9568 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9570 (bibtex-format-field-delimiters): New function, functionality
9571 extracted from bibtex-format-entry.
9572 (bibtex-autokey-get-yearfield-digits): New function, functionality
9573 extracted from bibtex-autokey-get-yearfield.
9575 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9576 entries in order to avoid stack overflow in the regexp matcher if
9577 field contents become large.
9578 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9579 bibtex-field-string-part-not-braced,
9580 bibtex-field-string-part-no-inner-braces,
9581 bibtex-field-string-part-1-inner-brace,
9582 bibtex-field-string-part-2-inner-braces,
9583 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9584 bibtex-field-string-quoted, bibtex-field-string,
9585 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9586 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9587 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9588 as parsing is now performed by the following functions.
9589 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9590 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9591 bibtex-parse-field-string, bibtex-search-forward-field-string,
9592 bibtex-parse-association, bibtex-field-name-for-parsing,
9593 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9594 bibtex-search-forward-field, bibtex-search-backward-field,
9595 bibtex-start-of-field, bibtex-end-of-field,
9596 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9597 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9598 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9599 bibtex-parse-string, bibtex-search-forward-string,
9600 bibtex-search-backward-string, bibtex-start-of-string,
9601 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9602 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9603 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9604 entries. Instead of reporting the results of the parsing by
9605 match-beginning or match-end, these functions return data structures
9606 that hold the corresponding positions.
9607 (bibtex-enclosing-field): Changed to also report field boundaries by
9608 return values rather than by match-beginning or match-end. The
9609 following functions have been adapted to use the new parsing
9611 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9612 bibtex-enclosing-field, bibtex-format-entry,
9613 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9614 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9615 bibtex-print-help-message, bibtex-end-of-entry,
9616 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9617 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9618 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9620 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9621 bibtex-map-entries, bibtex-flash-head,
9622 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9623 bibtex-autokey-change, bibtex-autokey-get-namefield,
9624 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9625 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9626 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9627 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9628 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9629 order to make the new binding of case-fold-search immediately
9632 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9634 * textmodes/bibtex.el: Copyright notice is up to date.
9635 Added constant 'bibtex-maintainer-salutation.
9637 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9638 than make-temp-name, use match-string-no-properties and eliminate
9639 a quadratic behavior when building bibtex-strings.
9641 * bibtex.el (bibtex-reference-key): Accept string entries whose
9642 reference key contains upper case letters.
9644 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9646 * bibtex.el (bibtex-reference-head): Allow entries to start with
9649 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9651 * bibtex.el: Hiding of entry bodies is not longer provided by
9652 bibtex.el directly. Instead the hideshow package can be used.
9653 Added a special bibtex entry to hs-special-modes-alist.
9654 (bibtex-hs-forward-sexp): Added for hideshow.el.
9656 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9658 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9659 at ':' characters by call to split-string.
9661 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9663 * textmodes/bibtex.el: Added RCS version identification.
9665 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9667 * textmodes/bibtex.el: Some temporary comments removed.
9668 (bibtex-field-name, bibtex-entry-type): Made the relationship
9670 (bibtex-field-const): Allow capital letters.
9671 (bibtex-start-of-string): Deleted because unused.
9673 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9674 use the term 'reference' to describe a bibtex entry as a whole.
9675 Further, reference keys are no longer called 'labels'.
9676 (bibtex-keys): Renamed to bibtex-reference-keys.
9677 (bibtex-reformat-previous-labels): Renamed to
9678 bibtex-reformat-previous-reference-keys.
9679 (bibtex-reference-type): Renamed to bibtex-entry-type.
9680 (bibtex-reference-head): Renamed to bibtex-entry-head.
9681 (bibtex-reference-maybe-empty-head): Renamed to
9682 bibtex-entry-maybe-empty-head.
9683 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9684 (bibtex-search-reference): Renamed to bibtex-search-entry.
9685 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9686 bibtex-enclosing-entry-maybe-empty-head.
9687 (bibtex-entry-field-alist, bibtex-entry-head,
9688 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9689 bibtex-map-entries, bibtex-search-entry,
9690 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9691 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9692 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9693 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9694 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9695 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9696 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9698 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9700 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9702 (bibtex-format-field-delimiters): New function, functionality
9703 extracted from bibtex-format-entry.
9704 (bibtex-autokey-get-yearfield-digits): New function, functionality
9705 extracted from bibtex-autokey-get-yearfield.
9707 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9708 entries in order to avoid stack overflow in the regexp matcher if
9709 field contents become large.
9710 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9711 bibtex-field-string-part-not-braced,
9712 bibtex-field-string-part-no-inner-braces,
9713 bibtex-field-string-part-1-inner-brace,
9714 bibtex-field-string-part-2-inner-braces,
9715 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9716 bibtex-field-string-quoted, bibtex-field-string,
9717 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9718 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9719 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9720 as parsing is now performed by the following functions.
9721 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9722 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9723 bibtex-parse-field-string, bibtex-search-forward-field-string,
9724 bibtex-parse-association, bibtex-field-name-for-parsing,
9725 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9726 bibtex-search-forward-field, bibtex-search-backward-field,
9727 bibtex-start-of-field, bibtex-end-of-field,
9728 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9729 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9730 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9731 bibtex-parse-string, bibtex-search-forward-string,
9732 bibtex-search-backward-string, bibtex-start-of-string,
9733 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9734 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9735 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9736 entries. Instead of reporting the results of the parsing by
9737 match-beginning or match-end, these functions return data structures
9738 that hold the corresponding positions.
9739 (bibtex-enclosing-field): Changed to also report field boundaries by
9740 return values rather than by match-beginning or match-end. The
9741 following functions have been adapted to use the new parsing
9743 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9744 bibtex-enclosing-field, bibtex-format-entry,
9745 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9746 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9747 bibtex-print-help-message, bibtex-end-of-entry,
9748 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9749 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9750 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9752 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9753 bibtex-map-entries, bibtex-flash-head,
9754 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9755 bibtex-autokey-change, bibtex-autokey-get-namefield,
9756 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9757 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9758 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9759 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9760 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9761 order to make the new binding of case-fold-search immediately
9764 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9766 * textmodes/bibtex.el: Copyright notice is up to date.
9767 Added constant 'bibtex-maintainer-salutation.
9769 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9770 than make-temp-name, use match-string-no-properties and eliminate
9771 a quadratic behavior when building bibtex-strings.
9773 * bibtex.el (bibtex-reference-key): Accept string entries whose
9774 reference key contains upper case letters.
9776 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9778 * bibtex.el (bibtex-reference-head): Allow entries to start with
9781 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9783 * bibtex.el: Hiding of entry bodies is not longer provided by
9784 bibtex.el directly. Instead the hideshow package can be used.
9785 Added a special bibtex entry to hs-special-modes-alist.
9786 (bibtex-hs-forward-sexp): Added for hideshow.el.
9788 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9790 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
9791 proceedings entry type (for cross referencing). Thanks to Wagner
9792 Toledo Correa for the suggestion.
9794 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
9796 2000-02-14 Kenichi Handa <handa@etl.go.jp>
9798 * international/characters.el: Setup case table for Vietnamese.
9800 2000-02-12 Gerd Moellmann <gerd@gnu.org>
9802 * uniquify.el (toplevel): Require CL at compile time.
9803 (uniquify-push): Removed.
9805 * shadowfile.el (shadow-when): Removed.
9807 * tempo.el (tempo-dolist, tempo-mapc): Removed.
9808 (tempo-process-and-insert-string): Use dolist instead of
9811 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
9812 regexp for paragraph-start.
9814 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
9817 2000-02-10 Dave Love <fx@gnu.org>
9819 * wid-edit.el: (widgets) [defgroup]: Remove url link.
9820 (widget-color-choice-list, widget-color-history, widget-mouse-help):
9822 (widget-specify-field, widget-specify-button): Don't use
9823 widget-mouse-help as help-echo property.
9824 (default): Use #'ignore for :validate and :mouse-down-action.
9825 (checkbox): Add help-echo.
9826 (widget-sexp-validate): Rewritten to clarify error messages.
9827 (character): Use char-valid-p in :match function.
9828 (widget-color-complete): Use facemenu-color-alist.
9829 (widget-color-action): Use facemenu-read-color.
9831 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
9832 set up `caar' &c that we now have.
9834 2000-02-09 Ray Blaak <blaak@gnu.org>
9836 * delphi.el: Make resourcestring a declaration region, like const
9839 2000-02-09 Dave Love <fx@gnu.org>
9841 * bindings.el (mode-line-input-method-map): New variable.
9842 (mode-line-mule-info): Use it; fix last change.
9843 (mode-line-mode-menu): Move definition.
9844 (mode-line-mouse-sensitive-p): Deleted.
9845 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
9846 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
9849 * startup.el (command-line-1): Don't call
9850 make-mode-line-mouse-sensitive.
9852 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9854 * mail/rmail.el (rmail-retry-failure): Use
9855 rmail-beginning-of-message before rmail-toggle-header, because the
9856 former toggles headers.
9858 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
9860 * diff-mode.el (diff-kill-junk): New interactive function.
9861 (diff-reverse-direction): Use delete-and-extract-region.
9862 (diff-post-command-hook): Restrict the area so that the hook also works
9863 outside of any diff hunk. This is necessary for the minor-mode.
9864 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
9865 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
9867 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
9868 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
9869 so that it can be used more easily in <foo>-mode-hook. Also make sure
9870 to avoid duplicate entries.
9871 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
9872 (font-lock-remove-keywords): Just as was done for `add', allow it to
9873 work even if font-lock-mode is nil. Also make sure we don't modify
9874 any pre-existing list by forcing a copy-sequence. Finally rename
9875 `major-mode' to `mode'.
9876 (font-lock-fontify-syntactic-anchored-keywords)
9877 (font-lock-fontify-anchored-keywords)
9878 (font-lock-fontify-keywords-region): Use line-end-position.
9879 Don't make `font-lock-multiline' local (it's now done in
9880 font-lock-set-defaults).
9881 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
9882 move the `font-lock-fontified' creation to inside the `unless'.
9884 2000-02-06 Andrew Innes <andrewi@gnu.org>
9886 * term/w32-win.el (x-handle-args): Comment out call to message,
9887 which occurs before window system is initialized.
9889 * makefile.nt: Add support for recompiling lisp code.
9891 2000-02-04 Dave Love <fx@gnu.org>
9893 * bindings.el (mode-line-mule-info): Fix/extend last change.
9895 * completion.el: Replace completion-dolist with dolist.
9897 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
9900 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
9902 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
9903 environment names before they go into the section regexp.
9905 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
9906 char class in regexp.
9908 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
9909 `case-fold-search' to nil.
9911 * progmodes/idlwave.el (idlwave-template): Respect
9912 `idlwave-abbrev-change-case'.
9913 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
9914 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
9915 idlwave-while): respect `idlwave-reserved-word-upcase'.
9916 (idlwave-rw-case): New function.
9917 (idlwave-statement-match): Fixed problem with assignment regexp.
9918 (idlwave-font-lock-keywords): Improved regexp for keyword
9920 (idlwave-surround): New argument LENGTH to support padding of
9921 operators longer than 1 char.
9923 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
9924 idlwave-shell-expression-overlay. Implemented printing of
9925 expressions on higher levels of the calling stack.
9926 (idlwave-shell-display-level-in-calling-stack): Restore stack
9928 (idlwave-retrieve-expression-from-level): New function.
9929 (idlwave-shell-last-calling-stack): Variable removed.
9930 (idlwave-shell-reset): Argument action reversed (`visible' to
9931 `hidden'). Also remove stop-line overlay.
9932 (idlwave-shell-calling-stack-routine): New variable.
9933 (idlwave-shell-parse-stack-and-display): Messages now display
9934 negative level numbers.
9935 (idlwave-shell-mode): Set `modeline-format'.
9936 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
9937 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
9939 (idlwave-shell-print-expression-function): New option.
9941 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
9942 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
9943 `tool-bar' instead of `toolbar'.
9945 2000-02-02 Dave Love <fx@gnu.org>
9947 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
9948 emacs-lisp-mode-hook. Don't check for defalias being defined.
9950 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
9951 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
9952 the new builtins directly.
9954 * whitespace.el (whitespace): Add :version to defgroup.
9956 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
9959 * thingatpt.el (sexp-at-point, symbol-at-point)
9960 (number-at-point, list-at-point): Add autoload cookie.
9962 * recentf.el (recentf): Add :version to defgroup.
9964 * quickurl.el (quickurl): Add :version to defgroup.
9966 * elide-head.el (elide-head): Use point-marker more.
9968 * bs.el (bs): Add :version to defgroup.
9970 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
9972 * progmodes/delphi.el (delphi): Add :version to defgroup.
9974 2000-02-02 Gerd Moellmann <gerd@gnu.org>
9976 * ange-ftp.el (ange-ftp-write-region): Handle case that
9977 succeeding process operation sets a different coding system.
9979 * calculator.el: New file.
9981 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
9983 * frame.el (frames-on-display-list, framep-on-display): New
9985 (display-mouse-p, display-popup-menus-p, display-graphic-p)
9986 (display-selections-p, display-screens, display-pixel-width)
9987 (display-pixel-height, display-mm-width, display-mm-height)
9988 (display-backing-store, display-save-under, display-planes)
9989 (display-color-cells, display-visual-class): New functions.
9991 * term/tty-colors.el (tty-color-gray-shades): New function.
9993 * faces.el (display-color-p): Use framep-on-display.
9994 (display-grayscale-p): New function.
9996 2000-01-31 Dave Love <fx@gnu.org>
9998 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
9999 (create-fontset-from-x-resource): Don't concat integers.
10001 2000-01-31 Inge Frick <inge@nada.kth.se>
10003 * view.el: Some changes in documentation. Removed some trailing
10004 whitespace. Changed some parameter names to agree with
10006 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
10007 window is not deleted. Modifies change 1998-04-26.
10009 2000-01-31 Gerd Moellmann <gerd@gnu.org>
10011 * windmove.el: New file.
10013 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10014 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10015 progmodes/ebnf-yac.el: Update copyright and license info.
10017 * jit-lock.el (jit-lock-function): Widen before calculating end
10019 (jit-lock-stealth-chunk-start): Rewritten.
10021 * info.el (Info-title-face-alist): Removed.
10022 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
10024 (Info-fontify-node): Use these faces.
10026 2000-01-30 Gerd Moellmann <gerd@gnu.org>
10028 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
10029 (cl-macro-list1): Recognize `&allow-other-keys' instead of
10030 `&allow-other-keywords'.
10032 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
10033 the list of directories scanned heuristically.
10035 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
10038 2000-01-30 Jason Rumney <jasonr@gnu.org>
10040 * w32-fns.el: Define w32-tty-standard-colors.
10042 * startup.el (command-line): Use w32-tty-standard-colors when in
10045 2000-01-30 Dave Love <fx@gnu.org>
10047 * jka-compr.el (jka-compr-load): Fix up load-history.
10049 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
10051 * emacs-lisp/cl-macs.el: Revert previous change.
10053 2000-01-29 Dave Love <fx@gnu.org>
10055 * facemenu.el: Purecopy various strings.
10057 * timezone.el (timezone-fix-time): Window against 69 for two-digit
10058 years. Deal with three-digit years.
10060 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
10061 defconst, purecopy.
10062 (help-back-label): Purecopy it.
10064 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10066 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
10067 variable. If non-nil, order the buffer list according to the
10068 currently selected frame.
10069 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
10070 non-nil, pass the selected frame to function buffer-list.
10072 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10074 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
10076 2000-01-28 Dave Love <fx@gnu.org>
10078 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
10080 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
10081 Don't use lisp-indent-hook property.
10084 * subr.el: Move out indent and edebug specs for when and unless.
10086 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
10089 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
10092 2000-01-28 Gerd Moellmann <gerd@gnu.org>
10094 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
10095 `collecting' as synonym for `collect'.
10097 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
10098 for the case it contains spaces.
10100 * simple.el (what-cursor-position): Change formatting of
10103 * frame.el (delete-other-frames): New function.
10104 (toplevel): Bind it to C-x 5 1.
10106 * sort.el (sort-numeric-base): New option.
10107 (sort-numeric-fields): If number starts with `0' or `0[xX[',
10108 interpret it as octal or hexadecimal. Use sort-numeric-base
10111 * progmodes/glasses.el: New file.
10113 2000-01-27 Gerd Moellmann <gerd@gnu.org>
10115 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
10116 userids differently.
10118 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10119 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10120 progmodes/ebnf-yac.el: New files.
10122 2000-01-26 Dave Love <fx@gnu.org>
10124 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
10125 on a function with an empty body. [From Eric Ludlam.]
10127 2000-01-25 Andre Spiegel <spiegel@gnu.org>
10129 * vc.el (vc-version-diff): Make sure file name is expanded.
10131 2000-01-25 Gerd Moellmann <gerd@gnu.org>
10133 * scroll-bar.el (scroll-bar-timer): Variable removed.
10134 (scroll-bar-toolkit-scroll): Don't use a timer.
10136 2000-01-25 Kenichi Handa <handa@etl.go.jp>
10138 * language/thai-util.el (thai-composition-function): Delete
10141 2000-01-24 Dave Love <fx@gnu.org>
10143 * fortran.el (fortran-mode): Use beginning-of-defun-function,
10144 end-of-defun-function.
10146 * font-lock.el (turn-on-font-lock): Don't depend on window-system
10149 2000-01-22 Jason Rumney <jasonr@gnu.org>
10151 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
10152 conflicts with new face support.
10154 2000-01-22 Richard M. Stallman <rms@gnu.org>
10156 * replace.el (query-replace): Rename last arg to DELIMITED.
10157 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
10158 (query-replace-regexp): Likewise.
10160 2000-01-20 Richard M. Stallman <rms@gnu.org>
10162 * subr.el (with-syntax-table): Use make-symbol, not gensym.
10164 * emacs-lisp/lisp.el (beginning-of-defun-function):
10165 Variable renamed from beginning-of-defun.
10166 Do not call make-variable-buffer-local.
10167 (beginning-of-defun-raw): Use new variable name; doc fix.
10168 (beginning-of-defun): Doc fix.
10169 (end-of-defun-function): Variable renamed from end-of-defun.
10170 Do not call make-variable-buffer-local.
10171 (end-of-defun): Use new variable name; doc fix.
10173 * subr.el (dolist, dotimes): Copied from cl-macs.el
10176 * mail/undigest.el (rmail-digest-end-regexps):
10177 Variable replaces rmail-digest-end-regexp.
10178 Allows multiple regexps for detecting the end line.
10179 (undigestify-rmail-message): Corresponding changes.
10181 2000-01-19 Dave Love <fx@gnu.org>
10183 * files.el (user-init-file): Don't declare here -- is primitive.
10185 * startup.el (command-line): Check for compiled user-init-file and
10186 set to uncompiled version if necessary.
10188 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10190 * mail/undigest.el (rmail-digest-end-regexp): New user option.
10191 (undigestify-rmail-message): Use it.
10193 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
10195 2000-01-17 Gerd Moellmann <gerd@gnu.org>
10197 * tmm.el (tmm-goto-completions): Adapt to prompt being part
10200 2000-01-14 Gerd Moellmann <gerd@gnu.org>
10202 * emacs-lisp/copyright.el (copyright-update): Removed the
10203 requirement for a trailing space from `copyright-regexp', to
10204 support copyrights with owner specified on a separate line..
10206 * align.el: New file.
10208 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
10210 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
10212 2000-01-13 Dave Love <fx@gnu.org>
10214 * ph.el: Removed. (Obsoleted by EUDC.)
10216 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10218 * net/eudc.el (toplevel): Remove autoloaded code installing
10219 menu with easymenu, because that causes build problems.
10221 * frame.el (frame-notice-user-settings): New variable.
10222 (frame-notice-user-settings): Don't modify frame parameters
10223 if called a second time.
10225 2000-01-13 Richard M. Stallman <rms@gnu.org>
10227 * frame.el (frame-notice-user-settings):
10228 Notice default-frame-parameters even for non-window frames.
10230 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10232 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
10234 (eudc-bob-can-display-inline-images): Extend for Emacs.
10235 (eudc-bob-toggle-inline-display): Ditto.
10236 (eudc-bob-display-jpeg): Ditto.
10238 2000-01-12 Gerd Moellmann <gerd@gnu.org>
10240 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
10241 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
10242 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
10244 * add-log.el (add-change-log-entry): Fix error trying an `(insert
10247 * subdirs.el: Add `net' directory.
10249 * net: New directory.
10251 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
10252 eval-last-sexp. Don't bind debug-on-error here.
10253 (eval-last-sexp): New function. Bind debug-on-error if
10254 eval-expression-debug-on-error is non-nil.
10255 (eval-defun-2, eval-defun): Likewise.
10257 * simple.el (eval-expression): Don't bind debug-on-error if
10258 eval-expression-debug-on-error is nil. Detect changed
10259 debug-on-error, and propagate new value to global binding, if
10260 eval-expression-debug-on-error is non-nil,
10261 (eval-expression-debug-on-error): Change doc string.
10263 2000-01-11 Richard M. Stallman <rms@gnu.org>
10265 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
10267 * emacs-lisp/lisp-mode.el (with-syntax-table):
10268 Set up lisp-indent-function property.
10270 * subr.el (with-syntax-table): Moved from simple.el.
10272 * simple.el (with-syntax-table): Moved to subr.el.
10274 2000-01-11 Gerd Moellmann <gerd@gnu.org>
10276 * tmm.el (tmm-shortcut): Delete region after prompt instead
10279 * textmodes/fill.el (fill-common-string-prefix): New function.
10280 (fill-context-prefix): Use the longest common prefix of first
10281 and second line fill prefix, if there is one.
10283 2000-01-11 Richard M. Stallman <rms@gnu.org>
10285 * array.el (array-mode): Don't use make-variable-buffer-local.
10286 Use make-local-variable for `truncate-lines'.
10288 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
10290 * add-log.el (add-log-current-defun): Handle user-defined
10291 add-log-current-function returning nil,
10293 * add-log.el (add-change-log-entry): Insert version number
10294 if having found a current function
10296 * add-log.el (add-log-current-defun): Call
10297 `add-log-current-defun-function'. Try matches at level 0 and
10298 level 1. Strip whitespace from defun found.
10300 2000-01-10 John Wiegley <johnw@gnu.org>
10302 * allout.el (isearch-done/outline-provisions): Added `edit'
10303 argument to correspond with the current definition of
10306 2000-01-10 Dave Love <fx@gnu.org>
10308 * elide-head.el (elide-head): Use point-marker, not point.
10310 2000-01-10 Gerd Moellmann <gerd@gnu.org>
10312 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
10313 before and after the year 2000.
10315 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
10316 Add ispell- prefix.
10318 2000-01-10 Ken Stevens <k.stevens@ieee.org>
10320 * ispell.el: Only define dictionaries in menus when they exist.
10321 (version18p): New variable.
10322 (version20p): New variable.
10323 (xemacsp): New variable.
10324 (ispell-choices-win-default-height): Fix for XEmacs visibility.
10325 (ispell-dictionary-alist1): Added Brasileiro dictionary.
10326 (ispell-dictionary-alist6): Russian command lines no longer accept
10327 run-together words.
10328 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
10329 (ispell-dictionary-alist): Add koi8-r to customize definition.
10330 (check-ispell-version): Added documentation string. Returns
10331 library path when called non-interactively.
10332 (ispell-menu-map-needed): Uses new variables.
10333 (ispell-library-path): New variable.
10334 (ispell-decode-string): XEmacs fix for bogus variable bindings.
10335 (ispell-word): Improved documentation string. Test for valid
10336 character mappings. Correctly check typed in word changes that can
10337 result in single words split into multiple words. Returns
10339 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
10340 replace in recursive query replace mode. Help message for
10341 recursive edit mode.
10342 (ispell-show-choices): Protect against bad framepop bindings.
10343 (ispell-help): Fix to work with XEmacs.
10344 (ispell-highlight-spelling-error): Use new variables.
10345 (ispell-overlay-window): Fix to work with XEmacs.
10346 (ispell-parse-output): Passed and returns location information
10347 tracking spelling corrections. Doesn't recheck same word on
10349 (ispell-init-process): Protect against bogus XEmacs variable binding.
10350 Fix call to single argument in sleep-for. Use new variables.
10351 (ispell-region): Passed and returns location information tracking
10352 spelling corrections. Doesn't check same word on current line.
10353 Improved documentation string. Doesn't resend a line already
10354 checked to the ispell process - fixes bug in LaTeX parsing.
10355 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
10356 (ispell-skip-region): No longer skips <TT> in SGML.
10357 (ispell-process-line): Tracks location information with spelling
10358 corrections. Added documentation string. Accounts for words
10359 already accepted on this line. Don't allow query-replace on line
10360 starting with math characters. Doesn't resend a line already sent
10361 to ispell process. Fixes alignment error bug.
10363 2000-01-10 Richard M. Stallman <rms@gnu.org>
10365 * dired-x.el (dired-guess-shell-alist-default):
10366 Suggest xloadimage, which is free, not xv, which isn't.
10368 * ange-ftp.el (ange-ftp-file-name-nondirectory):
10369 Don't ever include the host name or user name in the value.
10371 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10373 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
10376 2000-01-09 Stephen Eglen <stephen@gnu.org>
10378 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
10381 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
10383 * cus-edit.el (custom-hook-convert-widget): Fix comment.
10385 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10387 * progmodes/cperl-mode.el: Replace ^F with ^L.
10389 * sendmail.el (toplevel): Provide `sendmail' when compiling
10390 before `require'ing rmail and mailalias to prevent infinite
10393 2000-01-08 Dave Love <fx@gnu.org>
10395 * emacs-lisp/backquote.el: Remove inappropriate customization
10396 (allowing custom.el to use backquote).
10398 2000-01-07 Dave Love <fx@gnu.org>
10400 * add-log.el (add-log-debugging): Deleted.
10401 (add-change-log-entry): Treat a backup FILE-NAME as its parent
10402 file. Remove debugging code.
10403 (change-log-get-method-definition, change-log-name): Add doc.
10404 (change-log-sortable-date-at): New function.
10405 (change-log-merge): New command.
10407 * time.el (display-time-string-forms): Make the Mail string active.
10408 (display-time-update): Provide help-echo for load average.
10410 * bindings.el (make-mode-line-mouse2-map): New function.
10411 (mode-line-modified): Use it and simplify.
10412 (mode-line-mule-info): Provide help-echo info.
10413 (minor-mode-alist): Activate the strings.
10414 (make-mode-line-mouse-sensitive): Simplify for
10415 mode-line-buffer-identification.
10417 2000-01-07 Gerd Moellmann <gerd@gnu.org>
10419 * play/pong.el: New file.
10421 2000-01-06 Dave Love <fx@gnu.org>
10423 * array.el: Assorted cleanups for compiler warnings, doc strings,
10424 `array-' prefix for symbols.
10426 2000-01-05 Dave Love <fx@gnu.org>
10428 * textmodes/outline.el (outline-mode-menu-bar-map): Add
10429 outline-headers-as-kill.
10430 (outline-mode): Define imenu-generic-expression.
10431 (outline-headers-as-kill): New command.
10433 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
10434 from paragraph-start.
10435 (paragraph-indent-minor-mode): New command.
10437 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
10438 M-C-e, M-C-h, C-j, C-xnd, TAB.
10439 (fortran-mode): Set beginning-of-defun, end-of-defun.
10440 (fortran-column-ruler): Simplify.
10441 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
10442 (fortran-with-subprogram-narrowing): Likewise.
10443 (fortran-indent-subprogram): Call mark-defun.
10444 (fortran-check-for-matching-do): Change narrowing.
10446 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
10447 (cl-lucid-hash-tag): Delete.
10448 (cl-hash-table-p): Correct test for native table.
10449 (cl-hash-table-count): Use hash-table-count.
10451 * browse-url.el (browse-url): Fix case of
10452 browse-url-browser-function being an alist.
10454 2000-01-05 Carsten Dominik <cd@gnu.org>
10456 * textmodes/reftex-vars.el (reftex-parse-file-extension)
10457 (reftex-index-phrase-file-extension): New options.
10459 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
10460 Use new option `reftex-index-phrase-file-extension'.
10462 * textmodes/reftex.el (reftex-access-parse-file): Use new option
10463 `reftex-parse-file-extension'.
10465 2000-01-05 Dave Love <fx@gnu.org>
10467 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
10468 (beginning-of-defun-raw): Use it.
10469 (end-of-defun): New variable.
10470 (end-of-defun): Use it.
10471 (check-parens): New command.
10473 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
10475 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
10476 (hs-show-block): Don't use `mapcar' when not accumulating.
10478 Fix buglet in local variables initialization.
10480 2000-01-05 Andreas Schwab <schwab@suse.de>
10482 * hscroll.el (hscroll): Doc fix.
10484 2000-01-05 Carsten Dominik <cd@gnu.org>
10486 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
10489 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
10490 file idlw-rinfo.el.
10491 (idlwave-customize): load must read file idlw-shell.el.
10492 (idlwave-create-customize-menu): load must read file idlw-shell.el.
10494 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
10496 * progmodes/idlw-shell.el: Also provide idlwave-shell
10497 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
10498 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
10500 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
10501 both reftex-dcr and reftex-vcr.
10503 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
10505 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10507 * ps-print.el: PostScript code now is in separate files, doc fix.
10508 (ps-print-version): New version number (5.0.3).
10509 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
10511 (ps-spool-config): Initialization fix.
10512 (ps-print-prologue-1, ps-print-prologue-2)
10513 (ps-print-duplex-feature): PostScript code moved to separated file.
10514 (ps-background-image): Little code reformating.
10515 (ps-begin-file, ps-begin-job): Fix code.
10516 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
10517 (ps-prologue-file): New fun.
10519 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10521 * ps-vars.el: Eliminated.
10523 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
10526 * ps-print.el: ps-vars eliminated, doc fix.
10527 (ps-print-version): New version number (5.0.2).
10528 (ps-spool-config): Initialization fix.
10529 (ps-print-customize): New fun.
10531 2000-01-04 Gerd Moellmann <gerd@gnu.org>
10533 * autorevert.el (auto-revert-mode): Return value of
10536 2000-01-04 Dave Love <fx@gnu.org>
10538 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
10541 2000-01-03 Dave Love <fx@gnu.org>
10543 * elide-head.el (elide-head) [defgroup]: Add :version.
10545 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
10546 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
10547 `cl-hash-table-p', not `hash-table-p'.
10548 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
10550 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10552 * faces.el (face-read-integer, read-face-attribute)
10553 (color-defined-p, color-values): unspecified-{f,b}g are now
10556 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
10558 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
10559 at comment end, and re-insert them after filling.
10561 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10563 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
10564 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
10565 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
10567 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10569 * term/x-win.el (xw-defined-colors): Call color-supported-p,
10570 the new name of face-color-supported-p.
10572 * term/w32-win.el (xw-defined-colors): Likewise.
10574 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10576 * simple.el (completion-setup-function): Count completion-size
10577 from minibuffer-prompt-end, not from point-min.
10579 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
10581 * faces.el (read-face-attribute, defined-colors, color-defined-p):
10582 Pass the frame to tty-color-* functions.
10583 (display-color-p, frame-set-background-mode): Pass the frame to
10584 tty-display-color-p.
10586 * term/tty-colors.el (tty-defined-color-alist): Renamed from
10588 (tty-color-alist, tty-modify-color-alist): New functions.
10589 (tty-color-define, tty-color-clear, tty-color-approximate)
10590 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
10591 an optional parameter FRAME.
10593 2000-01-01 Gerd Moellmann <gerd@gnu.org>
10595 * image.el (create-image, defimage): Don't assume image data is a
10598 * image.el (defimage): Handle specifications containing :data
10600 (image-type-from-data): New function.
10601 (image-type-from-file-header): Use it.
10602 (create-image): Add parameter DATA-P.
10604 See ChangeLog.8 for earlier changes.
10606 ;; Local Variables:
10607 ;; coding: iso-2022-7bit-unix