1 2000-10-16 Gerd Moellmann <gerd@gnu.org>
3 * jit-lock.el (jit-lock-after-change): If we're in text that
4 matches a multi-line font-lock pattern, make sure the whole text
7 * emacs-lisp/authors.el (authors-add): Don't add an entry if
8 author's name is unknown.
10 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
11 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
12 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
13 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
14 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
15 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
16 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
17 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
18 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
19 Add author information.
21 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
23 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
24 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
25 full-color version (using the Gimp) to eliminate dithering artifacts.
27 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
29 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
31 * simple.el (syntax-flag-table, string-to-syntax): Remove.
33 2000-10-15 Dave Love <fx@gnu.org>
35 * progmodes/sh-script.el: Require skeleton and comint when
38 * pcomplete.el (pcomplete) <defgroup>: Add :version.
40 * whitespace.el: Doc fixes.
41 (top-level): Don't add hooks here.
42 (whitespace-running-emacs): Deleted.
43 (timer): Don't require.
44 (whitespace): Add back :version conditional on xemacs test.
45 (whitespace-spacetab-regexp, whitespace-indent-regexp)
46 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
47 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
48 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
49 Avoid specific xemacs test.
50 (whitespace-global-mode): New option.
51 (whitespace-global-mode): New command.
52 (whitespace-unload-hook): New function.
54 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
55 (Info-fontify-node, Info-goto-node, Info-mode-menu)
56 (Info-fontify-node): `Goto' goes to `Go to'.
57 (Info-fontify-node): Add help-echo to xref links.
59 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
61 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
63 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
65 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
66 Use plist-get and allow :inherit.
68 * emacs-lisp/cl-macs.el (cl-do-arglist):
69 Use plist-get and plist-member instead of memq.
71 * emacs-lisp/ewoc.el (ewoc-location): New function.
72 (ewoc-enter-after, ewoc-enter-before): Document return value.
73 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
74 Don't need make-local-hook any more.
75 (cvs-addto-collection): Return the new tin.
76 (cvs-mode-insert): Jump to the new line.
78 * jit-lock.el (jit-lock-fontify-buffer): Remove.
80 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
82 * font-lock.el (font-lock-syntactically-fontified): New var.
83 (font-lock-fontify-syntactic-keywords-region): Use it.
84 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
86 * diff-mode.el (diff-find-file-name): Fix regexp.
88 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
89 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
91 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
92 (sh-mode-syntax-table): Add punctuation syntax for < and >.
93 (sh-mode): Don't make all vars local here.
95 (sh-set-shell): Use dolist. Don't set indent-region-function.
96 (sh-mode-syntax-table): Use pop.
97 (sh-remember-variable): Use push.
98 (sh-help-string-for-variable): Use memq.
99 (sh-safe-backward-sexp): Remove.
100 (sh-safe-forward-sexp): Add ARG.
101 (sh-get-indent-info, sh-prev-stmt): Use it.
102 (sh-prev-line): Simplify by using forward-comment.
103 (sh-this-is-a-continuation): Simplify.
104 (sh-learn-buffer-indent): Use dolist.
105 (sh-do-nothing): Remove.
106 (sh-set-char-syntax, sh-set-here-doc-region):
107 Use inhibit-modification-hooks.
108 (sh-name-style): Use mapcar and push.
109 (sh-load-style): Use dolist.
110 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
111 (sh-case, sh-while-getopts): Use propertize directly rather
112 than sh-electric-rparen.
114 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
116 * textmodes/tex-mode.el: Require CL when compiling.
117 (tex-mode-syntax-table): Init immediately.
118 (tex-mode-map): Bind M-RET to latex-insert-item.
119 (latex-mode): Set indent-line-function to latex-indent.
120 (tex-common-initialization): Don't setup the syntax-table any more.
121 (latex-insert-item): New skeleton.
122 (tex-next-unmatched-end): Fix copy/paste braino.
123 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
124 (latex-indent, latex-find-indent): New functions.
125 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
126 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
127 (tex-compilation-parse-errors): Use with-syntax-table.
129 2000-10-15 Miles Bader <miles@gnu.org>
131 * font-lock.el (font-lock-comment-face): Change dark-background,
132 color, non-tty, default to `chocolate1'.
134 2000-10-13 John Wiegley <johnw@gnu.org>
136 * eshell/esh-util.el (require): Added a missing `require' form,
137 needed when compiling (for an ange-ftp macro definition).
139 2000-10-13 Dave Love <fx@gnu.org>
141 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
143 2000-10-13 Gerd Moellmann <gerd@gnu.org>
145 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
148 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
149 transparent -colors 8).
151 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
153 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
154 that breaks with old list format timestamps.
155 (time-stamp-warn-inactive, time-stamp-old-format-warn)
156 (time-stamp-count, time-stamp-conversion-warn): Improved doc
159 2000-10-13 John Wiegley <johnw@gnu.org>
161 * align.el, pcomplete.el, calendar/timeclock.el,
162 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
164 * calendar/timeclock.el (timeclock-find-discrep): A fix to same
165 faulty math, where holiday hours were being computing as seconds.
167 2000-10-13 John Wiegley <johnw@gnu.org>
169 * desktop.el (desktop-buffer-modes-to-save): Added a global for
170 specifying what "other" kinds of buffers should be saved. This
171 used to be hard-coded.
172 (desktop-buffer-misc-functions): A global for specifying how
173 auxiliary data should be determined for special buffer types.
174 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
175 instead of hard-coding the special buffer types.
176 (desktop-save): Run `desktop-buffer-misc-functions' to gather
177 auxiliary data, instead of hard-coding for Info buffers and dired.
178 (desktop-buffer-info-misc-data): Aux function for determining Info
179 buffer auxiliary info.
180 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
181 (desktop-buffer-info): Changed this function to use the info
183 (desktop-create-buffer): Be a little more careful about what
184 `minor-mode' means before calling it. This is important for some
187 2000-10-13 John Wiegley <johnw@gnu.org>
189 * eshell/esh-util.el: Added a global form which declares an
190 autoload for `parse-time-string', if that function is not already
191 defined, and if parse-time.el is available on the user's system.
193 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
194 to be aware of ange-ftp user info.
195 (eshell-do-ls): Bind `ange-cache'. Also, use
196 `eshell-file-attributes'.
197 (eshell-ls-annotate): Use `eshell-file-attributes'.
198 (eshell-ls-file): Made the user-id printing code a bit smarter.
200 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
201 allow identification of alias user ids in remote directories.
202 It's manual, but there's no other way to know when the current
203 user on the local machine, is also the owning user on the remote
205 (fboundp): Bind `ange-cache'.
206 (eshell-directory-files-and-attributes): Re-organized the logic a
207 bit to use `eshell-file-attributes' instead of `file-attributes'.
208 The former is more sensitive to directories that are read via FTP,
209 and knows how to use ange-ftp to determine full attribute
210 information, instead of just the name and last modtime.
211 (eshell-current-ange-uids): Return the current user id when in a
213 (eshell-parse-ange-ls): Parse a full directory listing that has
214 been returned by ange-ftp.
215 (eshell-file-attributes): This beefed up version of
216 `file-attributes' is only special if the user is currently in a
217 remote directory, in which case it does a lot of work to find out
218 what the real attributes of a file are, as they appear on the
219 remote machine. This makes usage of remote directories (i.e.,
220 ange-ftp pathnames) much more useful. You can now use Eshell as a
221 full-fledged FTP client, with much more manipulation ability than
224 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
225 variable, which means that Eshell's du should always be preferred
226 in remote directories.
227 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
228 just `file-attributes'.
229 (eshell-mvcp-template): Bind `ange-cache', to improve performance
230 when reading remote directories. This is an Eshell-specific
231 variable (not part of ange-ftp).
232 (eshell/ln): Bind `ange-cache'.
233 (eshell/du): Added some extra logic for determining when to use
234 Eshell's du (which is slow), and when to use the external version
235 (which may or may not exist).
237 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
238 `eshell-interactive-process', rather than using
239 `get-buffer-process', since backgrounded processes don't count in
240 the context of this function's logic.
242 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
243 `forward-char', so that null strings are parsed correctly.
245 2000-09-13 John Wiegley <johnw@gnu.org>
247 * eshell/em-pred.el (eshell-pred-file-type,
248 eshell-pred-file-links, eshell-pred-file-size): Use
249 `eshell-file-attributes'. This is more correct over ange-ftp.
251 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
252 that remote file globbing is more efficient.
254 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
255 gathering the files and attributes within a directory.
257 * eshell/em-unix.el (eshell/cat): If any of the files passed on
258 the command line is a special file (not a regular file, directory
259 or symlink), always attempt to call the external version of cat.
261 2000-09-13 John Wiegley <johnw@gnu.org>
263 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
264 Eshell-friendly version of find-tag.
266 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
268 * image-file.el (image-file-name-extensions)
269 (image-file-name-regexps): Add autoload cookies.
271 2000-10-13 Kenichi Handa <handa@etl.go.jp>
273 * international/mule-cmds.el (select-safe-coding-system): If FROM
274 is string, show it in *Warning* buffer.
276 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
278 * startup.el (normal-top-level): Use display-popup-menus-p instead
280 (command-line): Use display-graphic-p instead of window-system.
281 (command-line-1): Use display-popup-menus-p and display-mouse-p
282 instead of window-system.
284 2000-10-12 Sam Steingold <sds@gnu.org>
286 * tooltip.el (tooltip-use-echo-area): New user variable.
287 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
289 2000-10-12 Dave Love <fx@gnu.org>
291 * recentf.el: Maintainer's checkdoc fixes.
293 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
294 character class, not ASCII when matching file names.
295 (fancy-splash-head): Add trailing slash to URL.
296 (command-line): Don't require XPM support for toolbar.
298 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
299 (cperl-invalid-face): Revert last change.
300 (cperl-init-faces): Quote cperl-invalid-face.
302 2000-10-12 Kenichi Handa <handa@etl.go.jp>
304 * startup.el (fancy-splash-text): Remove superfluous quote.
306 2000-10-12 Gerd Moellmann <gerd@gnu.org>
308 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
309 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
310 (command-line-1): Don't use fancy-splash-pending-command.
311 (fancy-splash-screens-1): Goto point-min after inserting text.
313 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
315 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
316 instead of shared-lisp-mode-map.
318 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
320 * faces.el (header-line): Change tty-variant to use underlining.
322 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
323 (isearch-highlight): Restore lazy-isearch face properties at old
324 position, and suppress them at new position.
325 (isearch-dehighlight): Restore lazy-isearch face properties.
326 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
327 over the real isearch overlay, but in that case, don't give it a
328 face property. Use `push'.
330 2000-10-12 Kenichi Handa <handa@etl.go.jp>
332 * man.el (Man-getpage-in-background): Fix previous change.
333 Decode the process output only when we are in multibyte mode.
335 2000-10-11 Dave Love <fx@gnu.org>
337 * info.el (Info-mode-menu): Fix some help.
338 (info-tool-bar-map): Add entry for Info-last.
340 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
341 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
342 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
343 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
344 * toolbar/search-replace.xpm, toolbar/exit.xpm:
345 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
346 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
347 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
348 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
349 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
350 Reduce colour requirements to 25 overall. (Probably wants
351 revisiting from the originals to reduce further.)
353 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
355 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
356 buffer-file-coding-system, instead of raw-text.
357 (dehexlify-buffer): Bind coding-system-for-read to
358 buffer-file-coding-system, instead of raw-text.
360 2000-10-11 Sam Steingold <sds@gnu.org>
362 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
363 `underline' - fixes the bug introduced on 2000-09-21.
365 2000-10-11 Dave Love <fx@gnu.org>
367 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
369 (scheme-mode): Doc fix.
370 (scheme-font-lock-keywords-1): Match `define-syntax'.
372 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
374 * faces.el (frame-set-background-mode): Pay attention to saved
375 face specs as well as default ones. Only do anything if the
376 bg-mode or display-type has actually changed. Use `dolist'.
377 (region): Make dark-background `region' face less in-your-face.
379 2000-10-10 Sam Steingold <sds@gnu.org>
381 * chistory.el, ielm.el, ledit.el:
382 * progmodes/inf-lisp.el, progmodes/scheme.el:
383 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
385 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
387 * textmodes/texinfo.el: Update copyright and fix typo.
389 * desktop.el (desktop-modes-not-to-save): New var.
390 (desktop-save-buffer-p): Use it.
391 Also, obey desktop-buffers-not-to-save even for non-file buffers.
392 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
394 2000-10-10 Dave Love <fx@gnu.org>
396 * toolbar/tool-bar.el (tool-bar-add-item)
397 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
400 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
401 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
402 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
403 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
404 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
405 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
406 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
407 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
408 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
409 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
410 the .xpms; probably need retouching.
412 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
414 * subr.el (add-to-list): Add optional argument APPEND.
415 * battery.el (display-battery): Use `add-to-list'.
417 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
419 * play/zone.el (zone-timer, zone-wc-tbl): Rework
420 these vars as symbol properties.
421 (zone, zone-when-idle, zone-leave-me-alone)
422 (zone-pgm-whack-chars): Use new symbol properties.
424 * battery.el (display-battery): Doc spelling fix.
426 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
429 2000-10-09 Dave Love <fx@gnu.org>
431 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
432 has been initialized before calling tool-bar-setup.
433 (tool-bar-add-item-from-menu): Add autoload cookie.
435 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
437 * menu-bar.el (send-mail-item-name): New function.
438 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
439 of mail-user-agent in the menu. Don't display the "Send Mail"
440 item if mail-user-agent is nil or its value is ignore.
441 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
442 if read-mail-command is nil or its value is ignore.
444 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
446 2000-10-09 Miles Bader <miles@gnu.org>
448 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
450 * toolbar/left_arrow.xpm: Correct image size.
452 * jka-compr.el: Don't call `jka-compr-install' when loading (it
453 will be done by the definition of `auto-compression-mode' if
454 necessary. Move code to uninstall existing file-name handler
455 before definition of `auto-compression-mode'.
457 * image-file.el (auto-image-file-mode): Move to the end of the
458 file, because `define-minor-mode' actually calls the mode-function
459 if the associated variable is non-nil, which requires that all
460 needed functions be already defined.
462 * mouse.el (popup-menu): Balance parens.
464 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
466 * mouse.el (popup-menu): Move the command call outside the loop
467 so that popup-menu returns whatever the command returns.
469 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
470 (initialize-new-tags-table): Use run-hook-with-args-until-success.
471 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
472 (tags-table-format-functions): Renamed from tags-table-format-hooks.
474 * vc.el (vc-version-diff): diff-switches can be a list.
475 Use relative filenames for prettier output.
477 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
478 (vc-post-command-functions): Remove old-VC compatibility code.
480 * newcomment.el (comment-indent-default): Autoload.
482 * font-lock.el (font-lock-defaults): Make buffer-local.
483 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
484 (font-lock-choose-keywords):
485 Ignore LEVEL unless KEYWORDS is a list of syms.
486 (c-keywords, c++-keywords, objc-keywords, java-keywords):
487 Don't wrap regexp-opt things in \(...\) unnecessarily.
489 * jit-lock.el: Don't require font-lock any more.
490 (jit-lock-functions): Make buffer-local.
491 (jit-lock-saved-fontify-buffer-function): Remove.
492 (jit-lock-mode): Remove autoload cookie.
493 Remove font-lock specific code.
494 (jit-lock-unregister): Don't bother handling complex hooks any more.
495 (jit-lock-refontify): New function.
496 (jit-lock-fontify-buffer): Use it.
497 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
498 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
499 Add optional args START and END.
500 Never call font-lock-fontify-region directly.
501 (jit-lock-function, jit-lock-stealth-fontify): Use it.
503 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
505 2000-10-08 Dave Love <fx@gnu.org>
507 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
509 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
511 * play/studly.el (studlify-region, studlify-word): Add autoload
514 * play/morse.el (morse-region, unmorse-region): Add autoload
517 * play/spook.el (spook-phrases-file): Use expand-file-name, not
520 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
521 insist on symbols starting with word syntax.
522 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
523 (eval-defun-1): Doc fix.
524 (indent-sexp): Use nconc to build up indent-stack.
526 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
527 Gnus with little use.
528 (mail-setup-hook): Add mail-abbrevs-setup to options.
530 * recentf.el: Doc fixes.
532 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
535 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
536 without timezone and (8) with timezone to enforce some whitespace.
537 Simplify code somewhat.
539 * options.el (list-options): Doc that you should use customize.
541 * iswitchb.el (iswitchb-mode): Add :require.
543 * info.el (Info-goto-node, Info-menu): Doc fix.
544 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
545 (info-tool-bar-map): New variable.
547 (Info-edit-map): Define all in defvar.
548 (speedbar-attached-frame): Avoid compiler warning.
550 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
551 (global-map): Bind [tool-bar] to a filtered map.
552 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
553 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
555 (tool-bar-setup): Adjust calls of tool-bar-add-item.
557 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
558 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
559 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
560 icons, except up_arrow, which is left-arrow rotated.
562 * imenu.el (imenu-add-to-menubar): Fix last change.
564 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
566 * generic-x.el (rul-generic-mode): Remove eval-when-compile
567 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
569 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
571 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
572 typos in doc strings.
574 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
575 the doc strings how to customize Font Lock faces.
577 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
578 computing growth when dragging the header line.
580 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
582 * simple.el (kill-line): Doc fix.
584 2000-10-08 Miles Bader <miles@gnu.org>
586 * faces.el (secondary-selection): Make foreground visible on tty.
588 * jka-compr.el (auto-compression-mode): Move to the end of the
589 file, because `define-minor-mode' actually calls the mode-function
590 if the associated variable is non-nil, which requires that all
591 needed functions be already defined.
592 (with-auto-compression-mode): Add autoload cookie.
594 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
596 * files.el (find-backup-file-name) [ms-dos]: If support for long
597 file names is not available, behave as if version-control were set
600 2000-10-07 Dave Love <fx@gnu.org>
602 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
603 (browse-url-gnome-moz): New function.
604 (browse-url-browser-function): Use it.
605 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
607 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
609 * indent.el (tab-always-indent): New var.
610 (indent-for-tab-command): Use it.
612 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
613 raise an error. This way it can still default to a sane value.
615 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
617 * startup.el (fancy-splash-screens): Use local rather than global map.
618 Don't use `update-menu-bindings' any more.
619 Get rid of assumptions about keymap representation.
621 2000-10-06 Dave Love <fx@gnu.org>
623 * textmodes/fill.el (sentence-end-double-space)
624 (sentence-end-without-period): Doc fix.
625 (adaptive-fill-regexp): Purecopy.
626 (unjustify-current-line): Use line-end-position.
627 (fill-individual-paragraphs-prefix): Use line-beginning-position.
629 * net/eudc-vars.el (eudc): Add :version, :link.
631 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
633 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
634 Fix for define-minor-mode.
635 (function-at-point): Alias to function-called-at-point.
637 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
639 * simple.el (backward-word): Doc fix.
641 * image-file.el (image-file-name-regexp): image-file-regexps ->
642 image-file-name-regexps.
643 (image-file-name-extensions): Add pbm.
645 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
647 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
648 and add filename to the names so that diff-mode can jump to source.
650 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
651 (tex-font-lock-keywords, tex-font-lock-keywords-2)
652 (tex-font-lock-keywords-1): Remove.
653 (font-lock-turn-on-thing-lock): Use jit-lock-register.
654 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
655 (font-lock-default-fontify-region):
656 Expand beg..end correctly when just following a multiline region.
657 (font-lock-fontify-anchored-keywords):
658 Include the anchor text as part of the multiline.
660 2000-10-06 Gerd Moellmann <gerd@gnu.org>
662 * loadup.el (toplevel): Load `loaddefs' before `help' because the
663 latter needs the autoloaded define-minor-mode macro during the
666 * startup.el (command-line): For now, activate tool-bar-mode only
667 if XPM images are supported.
669 * mouse.el (mouse-drag-header-line): Don't allow resizing a
670 window by dragging a header-line at the top of the frame; that's
671 confusing because the header-line doesn't move.
672 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
673 of treating the event as a list. Some cleanup.
675 2000-10-06 Miles Bader <miles@gnu.org>
677 * simple.el (display-message-or-buffer): New function.
678 (shell-command-on-region): Use `display-message-or-buffer'.
680 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
683 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
684 (smbclient-prompt-regexp): Add usage note to doc string.
685 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
686 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
687 Use add-hook for adding the comint filter function, and only do so
688 if it's not already in the global hook list.
689 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
690 to `make-local-variable'.
691 (nslookup-font-lock-keywords): Remove prompt entry.
692 (nslookup): Don't set the process-filter.
693 (finger): Exit the loop correctly when the regexps list runs out.
694 (ftp, smbclient, smbclient-list-shares):
695 Set the real major mode immediately, not after execing.
696 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
698 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
700 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
702 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
704 * which-func.el (which-func-format): Remove spurious space.
705 (which-func-mode): Don't make it permanent-local.
706 (which-func-ff-hook): Allow which-func-maxout to be nil.
707 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
708 (which-func-mode): Simplify.
709 Use post-command-idle-hook rather than post-command-hook.
710 Go through all buffers and update their state.
711 (which-function): Also try add-log-current-defun-function.
713 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
714 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
715 Update call to with-vc-properties accordingly.
716 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
717 (vc-revert-buffer): More careful about window selection and deletion.
718 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
720 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
721 (cvs-retrieve-revision): Reuse a pre-existing buffer.
722 (cvs-dired-action): Change the default to quickdir.
724 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
725 if comment-indent-function returns nil.
726 (comment-indent-default): New function.
727 (comment-indent-function): Use it and document the new semantics.
729 * image-file.el: Docstring fixes.
731 * help.el (help-xref-on-pp): Use match-string.
732 (describe-variable): New arg BUFFER.
733 Store the current buffer in the help-xref-stack.
734 (temp-buffer-resize-mode): Use define-minor-mode.
736 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
737 consistently with its docstring.
738 Set jit-lock-first-unfontify-pos in an idempotent way.
739 (jit-lock-register): Autoload and add arg CONTEXTUAL.
741 2000-10-05 Alex Schroeder <alex@gnu.org>
743 * sql.el (sql-mysql-options): New variable.
746 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
748 * image.el (image): New group.
750 * smerge-mode.el (smerge-mine-face, smerge-other-face)
751 (smerge-base-face, smerge-markers-face): Add dark-background variants.
753 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
755 * net/net-utils.el (nslookup-font-lock-keywords)
756 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
757 Ignore the value of wqindow-system; always define keywords
759 2000-10-05 Kenichi Handa <handa@etl.go.jp>
761 * startup.el (fancy-splash-screens): Remove the code for
762 debugging; `(trace-to-stderr "EXITTT\n")'.
764 2000-10-05 Miles Bader <miles@gnu.org>
766 * diff-mode.el (diff-goto-source): Update call to
767 `diff-hunk-status-msg' to reflect new REV variable.
769 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
771 * progmodes/icon.el (icon-mode):
772 Don't gratuitously override the default for comment-column.
774 * vc-hooks.el (vc-mode-line): Fix interactive spec.
776 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
777 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
778 (jit-lock-functions): New var.
779 (jit-lock-function-1): Use it if non-nil.
780 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
781 Set the `fontified' property before doing the fontification to avoid
782 repeatedly going through the same error.
783 Don't turn errors into messages.
784 (jit-lock-register, jit-lock-unregister): New functions.
786 * dired.el (dired-mark-pop-up): Turn comment into docstring.
787 Use with-current-buffer.
789 * dired-aux.el (dired-do-create-files, dired-kill-tree):
790 Turn comment into docstring.
792 * apropos.el (apropos-mode): Use define-derived-mode.
794 2000-10-04 Gerd Moellmann <gerd@gnu.org>
796 * startup.el (fancy-splash-pending-command): New variable.
797 (fancy-splash-pre-command): New function.
798 (fancy-splash-screens): Rewritten.
799 (command-line-1): If fancy-splash-pending-command is set, call it
802 2000-10-04 Dave Love <fx@gnu.org>
804 * toolbar/tool-bar.el (tool-bar-setup): New function.
805 (tool-bar-mode): Use it.
807 * subr.el (substitute-key-definition): Doc fix.
808 (play-sound-file): New command.
810 2000-10-04 Andre Spiegel <spiegel@gnu.org>
812 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
813 vc-version-backup-file-name): New functions.
815 * files.el (basic-save-buffer): Call vc-before-save before saving.
817 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
820 * vc.el (vc-revert-buffer): Handle empty diff properly.
821 (vc-version-backup-file): New function.
822 (vc-checkout): Create a version backup if necessary.
823 (vc-checkin): If a version backup file exists, delete it.
824 (vc-version-diff): Diff locally using version backups, if available.
825 (vc-revert-file): If there's a version backup, revert locally.
826 (vc-transfer-file): Use version backup for base version, if
827 available. If not, ask for confirmation whether to get it from the
828 server. Update mode line before check-in.
830 2000-10-04 Dave Love <fx@gnu.org>
832 * toolbar/tool-bar.el (tool-bar-setup): New function.
833 (tool-bar-mode): Use it.
835 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
837 * net/net-utils.el (nslookup-font-lock-keywords)
838 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
839 Only set if window-system is non-nil
840 (net-utils-run-program): Returns buffer.
841 (network-connection-reconnect): Added this function.
844 Incorporates extensive cleanup and docfixes by
845 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
846 Uses cl compile-time macros.
847 (generic-mode-name, generic-comment-list)
848 (generic-keywords-list, generic-font-lock-expressions)
849 (generic-mode-function-list, generic-mode-syntax-table):
851 (generic-mode-alist): Renamed to generic-mode-list.
852 (generic-find-file-regexp): Default changed to "^#".
853 (generic-read-type): Uses completing read on generic-mode-list.
854 (generic-mode-sanity-check): removed this function.
855 (generic-add-to-auto-mode): Removed this function
856 (generic-mode-internal): Bind mode-specific definitions
857 into function instead of putting them in alist.
858 (generic-mode-set-comments): Reworked extensively.
859 (generic-mode-find-file-hook): Simplified regexp searching
860 (generic-make-keywords-list): Omit extra pair of parens
862 * find-lisp.el (find-lisp-find-files-internal):
863 Make sure directory name ends with "/".
865 * generic-x.el (apache-conf-generic-mode):
866 Regexp now allows leading whitespace.
867 (rc-generic-mode): Added eval-when-compile
868 around generic-make-keywords-list.
869 Deleted duplicate regexp
870 (rul-generic-mode): Added eval-when-compile
871 around generic-make-keywords-list.
872 (etc-fstab-generic-mode): New generic mode.
873 (rul-generic-mode): Removed one eval-when-compile
874 which caused a max-specpdl-size exceeded error.
876 2000-10-04 Miles Bader <miles@gnu.org>
878 * simple.el (minibuffer-temporary-goal-position): New variable.
879 (next-history-element): Try to keep the position of point in the
880 input string constant.
882 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
883 (dired-do-create-files): If there's only one file, pass it in as
884 the DEFAULT arg to dired-mark-read-file-name.
886 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
888 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
889 (diff-goto-source): Be smarter when choosing REVERSE or not.
891 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
892 (texinfo-mode-menu): Add an explicit shortcut for update all.
894 2000-10-03 Andre Spiegel <spiegel@gnu.org>
896 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
897 factorize backend-specific code cleanly (this was essentially
898 conceived by Stefan Monnier).
899 (vc-unregister): Function removed.
900 (vc-revert-file): New function.
901 (vc-revert-buffer): Delegate some of the work to it.
903 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
904 default branch unconditionally.
905 (vc-rcs-set-default-branch): New function.
906 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
907 (vc-rcs-checkin): If an appropriate default branch has been set,
908 force creation of that branch.
909 (vc-rcs-receive-file): Rewritten to contain only backend-specific
910 code (as suggested by Stefan Monnier).
912 2000-10-02 Gerd Moellmann <gerd@gnu.org>
914 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
915 highlighting overlay with a different face over the overlay
916 isearch uses to highlight the current match because that can lead
917 to bad face combinations.
919 * loadup.el (toplevel): Load faces before isearch.
921 * isearch.el (isearch-faces): New custom group.
922 (isearch): New defface; was already tested for in the code.
923 (isearch-lazy-highlight-face): Changed to defface from defcustom.
924 (isearch-highlight): Always use face `isearch'.
926 2000-10-02 Dave Love <fx@gnu.org>
928 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
929 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
930 comparison of opcode with operand.
932 2000-10-03 Miles Bader <miles@gnu.org>
934 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
935 buffer, since the echo area will now grow to accommodate them.
937 2000-10-02 Andre Spiegel <spiegel@gnu.org>
939 * vc-hooks.el (vc-registered): If FILE used to be registered under
940 a certain backend, try that one first.
942 * vc.el (vc-responsible-backend): Undo the previous change in the
943 argument list. Handle multiple backends correctly.
944 (vc-find-new-backend): Function removed.
945 (vc-register): Use vc-responsible-backend, as before.
946 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
948 2000-10-02 Gerd Moellmann <gerd@gnu.org>
950 * startup.el (fancy-splash-head): Change message below the
953 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
955 * diff-mode.el (diff-goto-source): Emit a status message.
956 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
957 (diff-test-hunk): Fix doc string.
958 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
959 (diff-advance-after-apply-hunk): New variable.
960 (diff-apply-hunk): Don't return a value.
962 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
964 * vc.el (vc-editable-p): Minor optimization.
965 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
966 (vc-find-new-backend): New function split from vc-responsible-backend.
967 (vc-register): Use it.
968 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
969 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
970 (vc-default-unregister, vc-revert-buffer): Docstring fix.
971 (vc-clear-headers): Don't use find-file.
972 (vc-revert-buffer): Use `and' again (must have been a braino).
973 (vc-switch-backend): Only prompt if requested.
974 Short circuit if nothing is to be done.
975 Don't use vc-resynch-buffer which could lose unsaved editing.
976 (vc-default-receive-file): Update call to vc-unregister.
977 (with-vc-file, vc-next-action-on-file):
978 Use vc-backend rather than vc-registered.
979 (vc-next-action-on-file): Use intern-soft.
980 Deal with read-only *vc-diff* buffer.
981 (vc-transfer-file): Docstring fix.
983 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
984 (vc-rcs-receive-file): Avoid with-vc-properties.
985 Update call to vc-unregister.
986 Use constant `RCS' rather than (dynamically bound) var `backend'.
988 2000-10-01 Andre Spiegel <spiegel@gnu.org>
990 * vc.el (vc-next-action-on-file): Update mode line only if file
992 (vc-start-entry): New argument initial-contents. Don't visit the file
993 if it isn't already visited. Brought documentation up-to-date.
994 (vc-next-action, vc-register): Updated calls to vc-start-entry.
995 (vc-checkin): New optional arg initial-contents, which is passed to
997 (vc-finish-logentry): Make sure to bury log buffer only if there
998 really is one. Call `vc-resynch-buffer' on log-file, not
1000 (vc-default-comment-history, vc-default-wash-log): New functions.
1001 (vc-index-of): Removed.
1002 (vc-transfer-file): Make do without the above.
1003 (vc-default-receive-file): Call comment-history unconditionally. Pass
1004 the resulting string to vc-checkin, instead of inserting it into the
1007 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
1008 unconditionally. Use the comments as initial contents of the log
1009 entry buffer. Document the trick to force branch creation with no
1012 2000-10-01 Miles Bader <miles@gnu.org>
1014 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
1015 `recenter' with an arg to prevent redrawing the display.
1017 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
1019 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
1021 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
1023 * progmodes/c-mode.el (c-mode):
1024 Don't gratuitously override the default for comment-column.
1026 * textmodes/tex-mode.el (latex-metasection-list): New var.
1027 (latex-imenu-create-index): Use it.
1028 Move the regexp construction outside loops (and use push).
1029 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
1030 (tex-font-lock-keywords): Moved from font-lock.el.
1031 (tex-comment-indent): Remove.
1032 (tex-common-initialization): Don't set comment-indent-function.
1033 (latex-block-default): New var.
1034 (tex-latex-block): Use it to provide a default choice.
1035 Add any unknown choice to latex-block-names.
1036 Insert [...] after {...}.
1037 (tex-last-unended-begin): Simplify regexp.
1038 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
1039 (latex-forward-sexp-1, latex-forward-sexp): New functions.
1040 (latex-mode): Set forward-sexp-function.
1042 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
1043 Add regexp for @ignore ... @end ignore.
1044 (texinfo-heading-face): New face.
1045 (texinfo-font-lock-keywords): Use it.
1046 (texinfo-mode-menu): New menu.
1047 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
1049 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
1050 (texinfo-section-types-regexp, texinfo-section-level-regexp)
1051 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
1053 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
1055 * delsel.el (delete-selection-mode): Use define-minor-mode.
1057 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
1059 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1061 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
1063 2000-09-30 Gerd Moellmann <gerd@gnu.org>
1065 * replace.el (keep-lines-read-args): New function.
1066 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
1067 read arguments interactively. Add parameters RSTART and REND.
1068 Operate on the active region in Transient Mark mode.
1070 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
1072 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
1073 (authors-obsolete-files-regexps): New variable.
1074 (authors-add): Don't record changes in obsolete files.
1076 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1078 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
1080 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
1081 (comment-indent): Make sure there's a space between code and comment.
1082 Shift comments left to avoid going past fill-column.
1084 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1086 * startup.el (startup-echo-area-message): New function.
1087 (display-startup-echo-area-message): Use it.
1088 (fancy-splash-screens): Rewritten to use keymaps and a timer.
1089 (fancy-splash-default-action): New function.
1090 (fancy-splash-screens-1): New function.
1091 (fancy-splash-head): Put a help-echo and a keymap under the image.
1093 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
1095 * diff-mode.el (diff-add-log-file-name): Remove.
1096 (diff-mode): Use add-log-buffer-file-name-function.
1098 * add-log.el (find-change-log): New arg BUFFER-FILE.
1099 (add-log-file-name): Obey add-log-file-name-function.
1100 (add-log-buffer-file-name-function): New var.
1101 (add-change-log-entry): Use it.
1103 2000-09-29 Miles Bader <miles@gnu.org>
1105 * image-file.el (image-file-name-extensions): New variable.
1106 (image-file-name-regexps): Renamed from `image-file-regexps'.
1107 New default value is nil. Call `auto-image-file-mode'.
1108 (image-file-name-regexp): New function.
1109 (auto-image-file-mode): New minor mode.
1110 (insert-image-file): Don't make conditional on the image-file
1111 handler being enabled.
1112 (image-file-handler): Make the call here conditional instead.
1113 (set-image-file-handler-enabled, enable-image-file-handler)
1114 (disable-image-file-handler): Functions removed.
1116 * emacs-lisp/authors.el (authors-print): Rephrase many-files
1119 2000-09-29 Gerd Moellmann <gerd@gnu.org>
1121 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
1122 it's a function from CL.
1123 (latex-imenu-create-index): Replace eval-when-compile with progn
1124 because latex-section-alist is not bound while compiling.
1126 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1128 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
1129 (outline-mode): Use define-derived-mode.
1131 * progmodes/perl-mode.el (perl-mode):
1132 * progmodes/awk-mode.el (awk-mode):
1133 * progmodes/asm-mode.el (asm-mode):
1134 Don't gratuitously override the default for comment-column.
1136 * emacs-lisp/lisp.el (lisp-complete-symbol):
1137 Distinguish the let-binding case from the funcall case.
1138 (forward-sexp-function): New variable.
1139 (forward-sexp): Use it.
1141 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
1142 (easy-mmode-defmap): Remove the now useless autoload.
1144 * time.el (display-time-mode): Use define-minor-mode.
1146 * subr.el (add-minor-mode): Don't eval NAME.
1147 Don't depend on the presence of TOGGLE-FUN for any special behavior.
1148 Use if rather than cond.
1150 * simple.el (read-expression-map): Define more properly.
1151 (comment-indent-hook): Remove.
1152 (string-to-syntax): Bug fix.
1154 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
1155 (cvs-ediff-diff): Fix typo.
1156 (cvs-revert-if-needed): Don't bother preserving read-only.
1158 * paren.el (show-paren-mode): Use define-minor-mode.
1160 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
1161 (toggle-auto-compression): Remove.
1162 (jka-compr-build-file-regexp): Remove useless grouping.
1164 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
1165 Avoid user-reserved bindings.
1166 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
1167 (diff-header-face): Revert to grey85.
1169 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
1171 * complete.el (partial-completion-mode) <defcustom>: Remove.
1172 (partial-completion-mode): Use define-minor-mode.
1173 (PC-do-completion): Understand `completion-auto-help = delay'
1174 to mean to popup the completion buffer only the second time.
1175 (PC-include-file-all-completions, PC-include-file-all-completions)
1176 (PC-include-file-all-completions): Don't quote lambda.
1178 * comint.el (comint-mode-hook): Docstring fix.
1179 (comint-mode): Use define-derived-mode.
1180 (comint-mode-map): Remove obsolete comment.
1181 (make-comint): Minor stylistic change.
1182 (comint-insert-clicked-input): Be more careful to find the overlay.
1183 Use this-command-keys rather than hardcoding mouse-2.
1185 * font-lock.el: Replace confusing (,@ with ,
1186 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
1187 Don't use regexp-opt-depth. Spice up the regexp for args.
1188 Don't distinguish between cmds that can take an opt arg or not.
1189 Use `append' and `prepend' rather than `keep'.
1191 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
1192 (latex-outline-regexp): New var.
1193 (latex-outline-level): New fun.
1194 (latex-section-alist): New var.
1195 (latex-imenu-create-index): Use it. Use `push' as well.
1196 (tex-shell-map): Initialize it properly.
1197 (tex-mode): Minor stylistic change.
1198 (plain-tex-mode): Use define-derived-mode.
1199 (latex-mode): Use define-derived-mode.
1200 Construct the paragraph regexps in a more readable way.
1201 Set the buffer-local outline-{level,regexp} vars.
1202 (slitex-mode): Derive from latex-mode.
1203 (tex-common-initialization): Don't kill-all-vars anymore.
1204 Add setting for comment-add and font-lock-defaults.
1205 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
1206 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
1207 (tex-start-tex): New arg DIR (and send a chdir command for it).
1208 Also display the shell buffer and save it in tex-last-buffer-texed.
1209 (tex-region): Use expand-file-name rather than concat.
1210 Remove code made useless by changes in tex-start-tex.
1211 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
1213 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
1215 2000-09-28 Dave Love <fx@gnu.org>
1217 * eshell/eshell.el (eshell) <defgroup>: Add :version.
1219 2000-09-28 Gerd Moellmann <gerd@gnu.org>
1221 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
1224 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
1226 * info.el (Info-extract-pointer): Undo last change.
1227 Instead, fix the position of the `bound' arg to re-search-backward.
1229 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
1231 * info.el (Info-extract-pointer):
1232 Widen more carefully, to avoid finding pointers in other nodes.
1233 (Info-index): Use push.
1235 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1237 * frame.el (set-frame-font): Remove call to obsolete function
1239 (set-foreground-color, set-background-color): Likewise for
1240 frame-update-face-colors.
1242 2000-09-27 Miles Bader <miles@gnu.org>
1244 * image-file.el: New file.
1246 2000-09-27 Gerd Moellmann <gerd@gnu.org>
1248 * frame.el (frame-notice-user-settings): Don't call
1249 frame-update-faces, which is a no-op now.
1251 * ediff-wind.el (ediff-control-frame-parameters): Add zero
1254 2000-09-27 Dave Love <fx@gnu.org>
1256 * mouse.el: Fix last change.
1258 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
1260 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
1262 2000-09-22 Kenichi Handa <handa@etl.go.jp>
1264 * international/quail.el (quail-help): The output message is
1267 2000-09-26 Dave Love <fx@gnu.org>
1269 * mouse.el (popup-menu): If POSITION is nil, set it using
1272 2000-09-25 Sam Steingold <sds@gnu.org>
1274 * net/browse-url.el (browse-url-file-url): Check for null maps.
1276 2000-09-26 Gerd Moellmann <gerd@gnu.org>
1278 * frame.el (frame-notice-user-settings): Don't add a
1279 tool-bar-lines frame parameter to default-frame-alist in batch mode.
1281 * frame.el (frame-notice-user-settings):
1282 Make tool-bar-mode and default-frame-alist consistent.
1284 * toolbar/tool-bar.el (tool-bar-help): New function.
1286 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1288 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
1289 current-load-list in top-level forms. Else this leaks a cons cell
1290 every time a defun is called.
1292 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
1294 2000-09-25 Dave Love <fx@gnu.org>
1296 * startup.el (fancy-splash-head): Check XPM is available.
1298 * autoinsert.el (auto-insert): Doc fix.
1299 (auto-insert-alist): Following GNU notices, don't say `copyright
1300 _by_'. Use line-beginning-position.
1301 (auto-insert): Check buffer-file-name is non-nil before use.
1303 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1305 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
1306 starting with `@def' or `@multitable', in addition to ones
1307 specified by the user in auto-fill-inhibit-regexp.
1309 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
1311 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
1312 rmail-dont-reply-to-names matches the empty string.
1314 2000-09-25 Gerd Moellmann <gerd@gnu.org>
1316 * startup.el (command-line-1, fancy-splash-text): Change the
1317 text to sound more friendly.
1319 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
1321 * progmodes/hideshow.el: Update author email address.
1322 Generally, sync w/ maintainer version 5.22.
1323 (hs-hide-all-non-comment-function): New var.
1324 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
1325 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
1326 (hs-show-region): Delete this command.
1327 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
1329 2000-09-22 Dave Love <fx@gnu.org>
1331 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
1332 (hl-line-highlight): Specify buffer when moving overlay.
1334 * progmodes/fortran.el (fortran-mode): Locally set
1335 normal-auto-fill-function.
1336 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
1337 (fortran-mode-map): Adjust auto-fill menu entry.
1339 2000-09-22 Gerd Moellmann <gerd@gnu.org>
1341 * vc-rcs.el (toplevel): Require `vc' when compiling.
1343 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
1345 2000-09-22 Andre Spiegel <spiegel@gnu.org>
1347 * vc.el (vc-switch-backend): Signal an error if the file is not
1348 registered under the new backend.
1350 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
1351 without explicit revision number.
1353 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
1355 * diff-mode.el (diff-file-header-face): Reset to its previous value.
1356 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
1357 (diff-xor): New function.
1358 (diff-find-source-location): Use it. Fix a stupid name clash.
1359 (diff-hunk-status-msg): New function.
1360 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
1361 (diff-test-hunk): Use diff-find-source-location.
1362 (diff-goto-source): Favor the `reverse'.
1363 (diff-hunk-text): Properly handle one-sided context diffs.
1364 (diff-apply-hunk): When done, advance to the next hunk.
1366 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1368 * startup.el (command-line): If frame was created with a non-zero
1369 tool-bar-lines parameter, switch tool-bar-mode on.
1371 * add-log.el (change-log-date-face, change-log-name-face)
1372 (change-log-email-face, change-log-file-face)
1373 (change-log-list-face, change-log-conditionals-face)
1374 (change-log-function-face, change-log-acknowledgement-face):
1375 New faces, inheriting from font-lock faces.
1376 (change-log-font-lock-keywords): Use them.
1378 2000-09-21 Dave Love <fx@gnu.org>
1380 * progmodes/cperl-mode.el (top-level): Clean up
1381 `eval-when-compile's and assorted defvars.
1382 (cperl-invalid-face): Don't double-quote value. Change custom
1384 (cperl-mode): Set normal-auto-fill-function and don't zap
1386 (cperl-imenu--function-name-regexp-perl): Renamed from
1387 imenu-example--function-name-regexp-perl.
1388 (cperl-imenu--create-perl-index): Renamed from
1389 imenu-example--create-perl-index.
1390 (cperl-xsub-scan): Don't require cl.
1392 * msb.el (msb-mode-map): Use substitute-key-definition.
1393 (msb-mode): Use msb-mode-map.
1395 2000-09-21 Andre Spiegel <spiegel@gnu.org>
1397 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
1399 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
1400 (vc-switch-backend): New function.
1401 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
1402 (vc-register): Fix prompt.
1403 (vc-unregister, vc-default-unregister): New functions.
1404 (vc-version-diff): Handle empty buffer in sentinel.
1406 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
1407 (vc-rcs-state-heuristic): Use it to guess the state of files with
1409 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
1410 been set with -b, but not created yet.
1411 (vc-rcs-fetch-master-state): With non-strict locking, compare file
1412 contents in order to find the state.
1413 (vc-rcs-checkin): Allow creation of branches with no changes.
1414 (vc-rcs-unregister, vc-rcs-receive-file)
1415 (vc-rcs-set-non-strict-locking): New functions.
1417 * vc-hooks.el (vc-name): Force correct computation of the value
1418 in case it is missing.
1420 2000-09-21 Gerd Moellmann <gerd@gnu.org>
1422 * startup.el (fancy-splash-tail): Use a different foreground
1423 color on a dark frame background.
1425 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
1427 * info.el: Use the correct capitalization when making Info-mode
1428 and Info-edit-mode `special' modes.
1430 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
1432 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
1433 (diff-mode): Add support for add-log.el.
1434 (diff-hunk-text): Use char offsets rather than line offsets.
1435 (diff-find-source-location): Replace LINE with line-offset (nil
1436 if not found) and always set POS to a meaningful position.
1437 Adapt to the new char-offsets.
1438 (diff-apply-hunk): Drop support for the unused `select' POPUP.
1439 Adapt to the new diff-find-source-location.
1440 (diff-goto-source): Adapt to the new diff-find-source-location.
1442 * add-log.el (add-log-file-name): New function (split out of
1443 add-change-log-entry).
1444 (add-change-log-entry): Use it.
1445 Call add-log-file-name-function with the changelog file name if
1446 the current buffer is not associated with any file.
1447 Avoid find-file if the selected window is dedicated.
1449 * diff-mode.el (diff-find-source-location):
1450 Move code from diff-apply-hunk. Return buffer rather than file.
1451 (diff-apply-hunk): Use the new result from diff-find-source-location.
1452 (diff-goto-source): Use the new diff-find-source-location.
1454 2000-09-20 Dave Love <fx@gnu.org>
1456 * iswitchb.el: Some doc fixes.
1457 (iswitchb-mode-map): Define completely initially. Inherit
1458 minibuffer-local-map.
1459 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
1461 (iswitchb-global-map): New variable.
1462 (iswitchb-summaries-to-end): Amalgamate regexps.
1463 (iswitchb-mode): New.
1464 (iswitchb-mode-hook): New variable.
1465 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
1468 2000-09-20 Gerd Moellmann <gerd@gnu.org>
1470 * ehelp.el (electric-help): New defgroup.
1471 (electric-help-shrink-window): New user-option.
1472 (with-electric-help): Use it.
1474 * window.el (shrink-window-if-larger-than-buffer): If face
1475 `mode-line' has a :box, and we're on a graphical frame, add 1
1476 to the needed window height.
1478 * frame.el (frame-notice-user-settings): Add a last parameter nil
1479 to a call to `append', because the last list passed to `append' is
1480 not copied, and so subsequent calls to assq-delete-all will modify
1481 default-frame-alist.
1483 * startup.el (fancy-splash-image): Change :type.
1484 (fancy-splash-head): Use an XBM image if appropriate.
1485 (command-line-1): Show splash screens in more cases.
1487 * startup.el (fancy-splash-text): Don't quote faces.
1489 * dired.el (dired-font-lock-keywords): Undo last change.
1490 (dired-readin): Bind indent-tabs-mode to nil.
1492 * startup.el (fancy-splash-head): If frame's background mode
1493 is `dark', change the black background of the image to gray.
1494 (fancy-splash-screens): Display startup echo area message.
1495 (display-startup-echo-area-message): New function.
1497 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
1499 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
1501 * info.el (info-header-node): Tweak for color ttys.
1503 * faces.el (face-valid-attribute-values): Make sure directories we
1504 search for stipples both exist and are readable before trying to
1507 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
1508 in the dry-run case.
1510 * jka-compr.el (with-auto-compression-mode): New macro.
1512 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
1513 (custom-group-tag-face, custom-variable-tag-face): Use relative
1514 :height and inherit from `variable-pitch' face instead of
1516 * hi-lock.el (hi-black-hb): Likewise.
1518 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
1519 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
1520 toolbar-add-item, if image doesn't have a mask add a `:mask
1523 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
1525 * diff-mode.el: Docstring fixes.
1526 (diff-header-face, diff-comment-face): New faces.
1527 (diff-font-lock-keywords): Highlight a bit differently.
1528 (diff-find-source-location): Don't return SPAN any more.
1529 (diff-hunk-text): Don't bother erasing the temp buffer.
1530 (diff-find-text): Drop argument LINE.
1531 (diff-apply-hunk): Update calls to diff-find-text.
1532 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
1534 * calendar/calendar.el: Docstring fixes.
1535 (calendar-make-alist): Don't quote lambda.
1536 (calendar-star-date): Use make-local-variable.
1538 2000-09-19 Dave Love <fx@gnu.org>
1540 * toolbar/tool-bar.el: Renamed from toolbar.el.
1541 Change `toolbar' to `tool-bar' generally in symbols.
1542 Make some items invisible in `special' major modes.
1543 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
1546 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
1548 (fancy-splash-delay, fancy-splash-image): Remove :version here.
1550 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1552 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
1554 * files.el (find-file-suppress-same-file-warnings): New user-option.
1555 (find-file-noselect): Use it.
1557 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
1558 (fancy-splash-screen): Defgroup.
1560 * add-log.el (change-log-font-lock-keywords): Match names
1561 more exactly for the case that font-lock-constant-face is
1564 2000-09-19 Richard M. Stallman <rms@gnu.org>
1566 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
1568 2000-09-19 Andre Spiegel <spiegel@gnu.org>
1570 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
1572 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1574 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
1575 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
1576 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
1577 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
1578 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
1579 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
1580 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
1581 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
1582 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
1583 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
1584 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
1585 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
1587 * startup.el (fancy-splash-text): New variable.
1588 (fancy-splash-delay, fancy-splash-image): New user-options.
1589 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
1590 (fancy-splash-screens): New functions.
1591 (command-line-1): If display has a `display' frame parameter, has
1592 colors, and we have XPM support, show more fancy splash screens.
1594 2000-09-19 Dave Love <fx@gnu.org>
1596 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
1597 with null `help'. Use modern backquote syntax.
1599 2000-09-19 Gerd Moellmann <gerd@gnu.org>
1601 * font-lock.el (font-lock-mode): Change message telling the user
1602 that ``the buffer is too big''.
1604 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
1605 for instance for the case that tab-width is 2.
1607 2000-09-18 Gerd Moellmann <gerd@gnu.org>
1609 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
1610 toolbar-add-item, if image doesn't have a mask add a `:mask
1613 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
1615 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
1616 and return a cons if it's non-nil.
1617 (diff-apply-hunk): Try to jump to the line in the source text
1618 corresponding to the position of point in the in the hunk.
1620 * info.el (Info-title-3-face, Info-title-2-face)
1621 (Info-title-1-face): Use face inheritance and relative sizes
1622 instead of hard-wiring things.
1624 * faces.el (secondary-selection): Make dark-background variant sane.
1626 2000-09-16 Andrew Innes <andrewi@gnu.org>
1628 * makefile.w32-in (compile-files-CMD): No need to make .elc files
1629 read-only, since they aren't under VC now.
1631 2000-09-17 Dave Love <fx@gnu.org>
1633 * tmm.el: Replace mapcar with mapc in several places.
1635 * loadhist.el (unload-feature): Maybe call elp-restore-list and
1638 * international/latin1-disp.el: New file.
1640 * calendar/cal-move.el (scroll-calendar-left)
1641 (scroll-calendar-right): Make arg optional (for active mode line).
1643 * calendar/calendar.el (calendar-mode-line-format): Make fields
1645 (calendar-read-date, calendar-read-date, calendar-window-list):
1647 (calendar-month-name): Use aref, not sref.
1649 * view.el (minor-mode-alist): Propertize the string.
1651 * international/characters.el (standard-case-table): Add entries
1654 2000-09-18 Miles Bader <miles@gnu.org>
1656 * info.el (info-node, info-xref): Add dark-background variants.
1658 * faces.el (header-line): Change defaults to be less confusing
1659 when mixed with mode-lines.
1661 * info.el (Info-fontify-node): Make a few cleanups.
1662 Add extra `help-echo' and `local-map' props to node xrefs.
1663 Use header-specific faces for node-names & xrefs.
1664 (Info-use-header-line): New variable.
1665 (info-header-xref, info-header-node): New faces.
1666 (Info-setup-header-line): New function.
1667 (Info-select-node): Call Info-setup-header-line when enabled.
1668 (Info-extract-pointer): Work even if the header line is hidden.
1669 (Info-header-line): New variable.
1671 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
1673 * vms-patch.el (print-region-function): Don't quote lambda.
1675 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
1677 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
1678 (lm-get-header-re): Allow spaces between the header and the colon.
1679 (lm-header): Allow $ in non-RCS headers.
1680 (lm-header-multiline): Put the strings back into order.
1681 Stop at an empty line. Don't require two space chars if the
1682 line is clearly not another header line.
1684 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
1685 (popup-menu-popup): Remove.
1687 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1689 * toolbar/toolbar.el (toolbar-add-item): Use the same image
1690 specification if or if not tool-bar item contains an `:enabled'
1693 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
1694 current buffer has no file name.
1696 2000-09-15 Dave Love <fx@gnu.org>
1698 * strokes.el: Sync with maintainer's current version with changes
1699 for Emacs, but avoid runtime cl and levents.
1700 (toplevel): Change autoloads and compilation requires.
1701 (strokes-version, strokes-bug-address, strokes-lift): Values
1703 (strokes-xpm-header, strokes-insinuated): New variable.
1704 (strokes): Add :link.
1705 (strokes-mode): Customized.
1706 (strokes-while-inhibiting-garbage-collector): New macro.
1707 (strokes-remassoc): Avoid remove-if.
1708 (strokes-fix-button2-command): Don't use ad-do-it.
1709 (strokes-insinuate): New function.
1710 (strokes-button-press-event-p, strokes-button-release-event-p):
1711 New functions, used instead of non-`strokes-' versions..
1712 (strokes-mouse-event-p): Rewritten.
1713 (strokes-event-closest-point): Avoid event-point.
1714 (strokes-get-grid-position): Avoid cdadr, caadr
1715 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
1717 (strokes-help): Use with-output-to-temp-buffer.
1718 (strokes-window-configuration-changed-p): New function.
1719 (strokes-update-window-configuration): Use buffer-live-p,
1720 strokes-window-configuration-changed-p.
1721 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
1722 (strokes-char-face): New face.
1723 (strokes-char-table, strokes-base64-chars): New variable.
1724 (strokes-xpm-for-stroke, strokes-list-strokes)
1725 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
1726 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
1727 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1728 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
1729 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
1732 2000-09-15 Gerd Moellmann <gerd@gnu.org>
1734 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
1736 * image.el (create-image): Doc fix.
1738 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
1739 instead of `:heuristic-mask t'.
1741 2000-09-14 Andrew Innes <andrewi@gnu.org>
1743 * makefile.w32-in: Revert to Unix line endings.
1745 2000-09-14 Andrew Innes <andrewi@gnu.org>
1747 * makefile.w32-in: Add bootstrap support. Also copy lisp source
1750 * makefile.nt (DONTCOMPILE): Fix typo.
1752 * shell.el (shell-write-history-on-exit): New function.
1753 (shell-dumb-shell-regexp): New custom variable.
1754 (shell-mode): Make shell-write-history-on-exit the process
1755 sentinel if shell name matches shell-dumb-shell-regexp.
1757 * w32-fns.el: Comment out before-init-hook function which resets
1758 source-directory based; this breaks bootstrap.
1760 2000-09-14 Dave Love <fx@gnu.org>
1762 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
1763 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
1764 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
1765 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
1766 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
1767 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
1768 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
1769 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
1770 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
1772 * toolbar/toolbar.el: New.
1774 * subdirs.el: Add toolbar.
1776 2000-09-14 Gerd Moellmann <gerd@gnu.org>
1778 * indent.el (indent-for-tab-command): Doc fix.
1780 2000-09-14 Alex Schroeder <alex@gnu.org>
1782 * ansi-color.el (ansi-colors): Doc change.
1783 (ansi-color-get-face): Simplified regexp.
1784 (ansi-color-faces-vector): Added more faces, doc change.
1785 (ansi-color-names-vector): Doc change.
1786 (ansi-color-regexp): Simplified regexp.
1787 (ansi-color-parameter-regexp): New regexp.
1788 (ansi-color-filter-apply): Doc change.
1789 (ansi-color-filter-region): Doc change.
1790 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
1791 deal with zero length parameters.
1792 (ansi-color-apply-on-region): Doc change.
1793 (ansi-color-map): Doc change.
1794 (ansi-color-map-update): Removed debugging message.
1795 (ansi-color-get-face-1): Added condition-case to trap
1796 args-out-of-range errors.
1797 (ansi-color-get-face): Doc change.
1798 (ansi-color-make-face): Removed.
1799 (ansi-color-for-shell-mode): New option.
1801 2000-09-13 Kenichi Handa <handa@etl.go.jp>
1803 * international/quail.el (quail-start-translation): Translate KEY
1804 if necessary even if it doesn't have any mapping in the current
1806 (quail-start-conversion): Likewise.
1807 (quail-help): The output message is improved.
1809 2000-09-13 Miles Bader <miles@gnu.org>
1811 * comint.el (comint-output-filter): Revert to using
1812 `insert-before-markers'. Add bletcherous hack to undo damage
1813 caused by `insert-before-markers'. Put `front-sticky' property on
1814 overlays created here so that the field code understands how the
1815 overlay works. Use a let when making comint-last-prompt-overlay,
1816 so that the code is easier to read.
1818 2000-09-13 Dave Love <fx@gnu.org>
1820 * wid-edit.el (widget-default-format-handler): DTRT when
1821 doc-property is a function.
1823 2000-09-12 Francesco Potorti` <pot@gnu.org>
1825 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
1826 filed name if it's not there.
1828 2000-09-12 Dave Love <fx@gnu.org>
1830 * simple.el (read-mail-command): Doc fix.
1831 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
1833 * vc.el (vc-dired-listing-switches): Fix :version.
1835 * vc-hooks.el: Doc fixes.
1837 * subr.el (add-minor-mode): Use toggle-fun arg.
1839 * speedbar.el: Add :version to several defcustoms.
1841 * imenu.el (imenu--truncate-items, imenu--cleanup)
1842 (imenu--generic-function): Avoid mapcar.
1843 (imenu--replace-spaces): Function removed.
1844 (imenu--completion-buffer): Use subst-char-in-string.
1845 (imenu-add-to-menubar): Use keymap inheritance.
1847 2000-09-12 Miles Bader <miles@gnu.org>
1849 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
1850 (diff-mode-map): Bind `diff-test-hunk'.
1851 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
1853 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1855 * bytecomp.el (byte-compile-defvar): Undo last change
1856 because it breaks '(make-variable-buffer-local (defvar ...)'
1857 which is used at least in dired.
1859 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1861 * international/quail.el (quail-define-package): Docstring
1864 2000-09-12 Kenichi Handa <handa@etl.go.jp>
1866 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
1867 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
1868 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
1869 docstring of "chinese-py".
1871 * international/quail.el (quail-translation-docstring): New
1873 (quail-show-keyboard-layout): Docstring modified.
1874 (quail-select-current): Likewise.
1875 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
1876 infinite recursive call.
1877 (quail-help): Check quail-translation-docstring. Format of the
1879 (quail-help-insert-keymap-description): Adjusted for the above
1882 2000-09-11 Gerd Moellmann <gerd@gnu.org>
1884 * bytecomp.el (byte-compile-defvar): Only cons onto
1885 current-load-list in top-level forms. Else this leaks a cons cell
1886 every time a defun is called.
1888 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
1890 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
1891 Now understands non-unified diffs. Some functionality moved into
1892 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
1893 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
1894 modify anything. Only reposition point in the patched file if the
1895 patch succeeds. Only pop up another window if POPUP is true.
1896 Emit a message describing what happened if successful, and at what
1897 line-offset. Automatically detect reversed hunks and do something
1899 (diff-hunk-text, diff-find-text): New functions.
1900 (diff-filter-lines): Function removed.
1901 (diff-test-hunk): New function.
1902 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
1904 2000-09-10 Dave Love <fx@gnu.org>
1906 * textmodes/tildify.el: Minor doc/commentary fixes.
1907 (tildify) <defgroup>: Add :version.
1909 * faces.el (face-x-resources): Make custom type more specific.
1910 (frame-background-mode): Use mapc.
1911 (region) <defcustom>: Add :version.
1913 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
1915 * vc-sccs.el (vc-sccs-register):
1916 * vc-rcs.el (vc-rcs-register):
1917 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
1918 * vc.el (vc-register): Clear file's properties.
1920 2000-09-08 Gerd Moellmann <gerd@gnu.org>
1922 * faces.el (face-spec-set): Only face-spec-reset-face when
1925 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
1927 * help.el (help-insert-xref-button): Fix a typo in doc string.
1929 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
1931 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1932 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
1935 * menu-bar.el (read-mail-item-name): New function.
1936 (menu-bar-tools-menu): Use it to compute and display the package
1938 (menu-bar-tools-menu): Fix typo in GUD's help string.
1940 2000-09-07 Dave Love <fx@gnu.org>
1942 * diff-mode.el (diff-mouse-goto-source): New function.
1944 * vc-sccs.el: Doc fixes.
1945 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
1947 * vc-rcs.el: Doc fixes.
1948 (vc-rcs-register-switches, vc-rcs-checkin-switches)
1949 (vc-rcs-checkout-switches, vc-rcs-header)
1950 (vc-rcs-master-templates): Add or change :version.
1952 * vc-cvs.el: Doc fixes.
1953 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
1954 (vc-cvs-stay-local): Add :version.
1956 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
1958 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1960 * international/quail.el (quail-help): Fix previous change.
1962 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1964 * faces.el (color-values): Doc fix.
1966 * faces.el (frame-set-background-mode): Use frame-parameter
1967 instead of frame-parameters.
1969 * frame.el (filtered-frame-list): Reduce consing.
1970 (frames-on-display-list): Call frame-parameter instead of
1973 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1975 * language/devan-util.el (devanagari-to-indian-region): In the
1976 loop, change the following char, not preceding char.
1978 2000-09-07 Gerd Moellmann <gerd@gnu.org>
1980 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
1981 instead of frame-parameters.
1983 * faces.el (set-face-attribute): Simplify by calling
1984 internal-set-lisp-face-attribute with FRAME being 0.
1986 * vc.el: Remove `Id' version control keyword.
1988 2000-09-07 Kenichi Handa <handa@etl.go.jp>
1990 * help.el (help-make-xrefs): Adjusted for the change of
1991 help-xref-mule-regexp.
1992 (help-insert-xref-button): New function.
1994 * international/mule-cmds.el (help-xref-mule-regexp-template):
1995 Include the pattern for character set.
1998 * international/quail.el: Don't require face.
2000 (quail-other-command): Dummy command to make quail-help work better.
2001 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
2002 (quail-keyboard-layout-substitution): New variable.
2003 (quail-update-keyboard-layout): New function.
2004 (quail-keyboard-layout-type): New customizable variable.
2005 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
2006 (quail-keyboard-translate): Pay attention to
2007 quail-keyboard-layout-substitution.
2008 (quail-insert-kbd-layout): New function.
2009 (quail-show-keyboard-layout): New function.
2010 (quail-get-translation): If the definition is a vector of length
2011 1, and the element is a string of length 1, return the character
2013 (quail-update-current-translations): Fix the case of
2014 relative-index out of range.
2015 (quail-build-decode-map, quail-insert-decode-map): New Functions.
2016 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
2017 Show key sequences for all available characters.
2018 (quail-help-insert-keymap-description): Don't show such verbose
2019 key bindings as quail-self-insert-command.
2021 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2022 Format changed, and each element now have extra documentations.
2023 (tit-process-header): Delete invalid characters from TIT-PROMPT.
2024 Adjusted for the change of quail-cxterm-package-ext-info.
2026 2000-09-06 Gerd Moellmann <gerd@gnu.org>
2028 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
2029 requiring it leads to a recursive loading of vc.el and vc-hooks.el
2032 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2034 * vc.el: (toplevel): Don't require `dired' at run-time.
2035 (vc-dired-resynch-file): Remove autoload cookie.
2037 2000-09-05 Andre Spiegel <spiegel@gnu.org>
2039 * vc.el: Made several backend functions optional.
2040 (vc-default-responsible-p): New function.
2041 (vc-merge): Use RET for first version to trigger merge-news, not
2043 (vc-annotate): Handle backends that do not support annotation.
2044 (vc-default-merge-news): Removed. The existence of a merge-news
2045 implementation is now checked on caller sites.
2047 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
2050 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
2051 special case that has been removed from the default in vc-hooks.el.
2053 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2055 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
2057 2000-09-05 Andre Spiegel <spiegel@gnu.org>
2059 * vc-hooks.el: Require vc during compilation.
2060 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
2061 macro `with-vc-properties' in vc.el.
2062 (vc-file-getprop): Doc fix.
2063 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
2065 * vc.el: Require dired-aux during compilation.
2066 (vc-name-assoc-file): Moved to vc-sccs.el.
2067 (with-vc-properties): New macro.
2068 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
2069 vc-finish-steal): Use it.
2070 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
2071 to the backend-specific function is now supposed to do the checkout,
2073 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
2075 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
2076 set file properties; that gets done in the generic code now.
2078 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
2079 Changed parameter list, added code from vc.el that does the
2080 checkout, possibly with a double-take.
2082 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
2083 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
2084 the above under the new name.
2085 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
2086 parameter list, added checkout command.
2087 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
2088 properties; that gets done in the generic code now.
2090 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2092 * vc.el: Docstring fixes (courtesy of checkdoc).
2094 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
2096 * vc.el (vc-checkout-writable-buffer-hook)
2097 (vc-checkout-writable-buffer): Remove.
2098 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
2099 (vc-log-mode): Make it into a clean derived major mode.
2100 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
2101 vc-log-mode if log-edit is not available.
2102 (vc-dired-mode-map): Don't set-keymap-parent yet.
2103 (vc-dired-mode): Do set-keymap-parent here.
2104 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
2106 2000-09-05 Gerd Moellmann <gerd@gnu.org>
2108 * faces.el (set-face-attribute, face-spec-reset-face)
2109 (face-spec-set): Avoid consing by removing calls to `apply'.
2111 * frame.el (frame-parameter): Move to C code.
2113 2000-09-05 Dave Love <fx@gnu.org>
2115 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
2116 insert-before-markers-and-inherit. Now checked systematically!
2118 2000-09-05 Alex Schroeder <alex@gnu.org>
2120 * sql.el (sql-postgres): Use sql-postgres-options.
2121 (sql-postgres-options): New variable.
2123 2000-09-05 Alex Schroeder <alex@gnu.org>
2125 * sql.el (sql-mode-menu): Work around missing variable mark-active
2127 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
2128 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
2131 2000-09-04 Gerd Moellmann <gerd@gnu.org>
2133 * vc.el (vc-dired-resynch-file): Add autoload cookie.
2135 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
2137 * Makefile.in (DONTCOMPILE): Fix typo in file name.
2139 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2141 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
2142 don't support anything else under SCCS yet.
2144 * vc-hooks.el: Minor doc fixes.
2146 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2148 * vc.el (vc-next-action-on-file): Do not visit the file if it's
2149 not necessary. If verbose in state `needs-patch', do the same as
2150 under `up-to-date'. When NOT verbose and `needs-patch', check out
2151 latest version instead of `merge-news'.
2152 (vc-next-action-dired): Don't mess with default-directory here; it
2153 breaks other parts of dired. It is the job of the
2154 backend-specific functions to adjust it temporarily if they need it.
2155 (vc-next-action): Remove a special CVS case.
2156 (vc-clear-headers): New optional arg FILE.
2157 (vc-checkin, vc-checkout): Set properties vc-state and
2158 vc-checkout-time properly.
2159 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
2160 (vc-print-log): Use new backend function `show-log-entry'.
2161 (vc-cancel-version): Do the checks in a different order. Added a
2162 FIXME concerning RCS-only code.
2164 * vc-rcs.el (vc-rcs-show-log-entry): New function.
2165 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
2167 * vc-cvs.el (vc-cvs-show-log-entry): New function.
2169 * vc-hooks.el (vc-default-mode-line-string): Show state
2170 `needs-patch' as a `-' too.
2172 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2174 * vc.el (vc-responsible-backend): New optional arg REGISTER.
2175 (vc-default-could-register): New function.
2176 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
2177 (vc-resynch-buffer): Call vc-dired-resynch-file.
2178 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
2179 vc-resynch-buffer instead of vc-resynch-window.
2180 (vc-next-action-dired): Don't redisplay here, that gets done as a
2181 result of the individual file operations.
2182 (vc-retrieve-snapshot): Corrected prompt order.
2184 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
2186 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
2188 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
2189 hostname regexps. Updated all callers.
2190 (vc-cvs-responsible-p): Handle directories as well.
2191 (vc-cvs-could-register): New function.
2192 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
2193 properties up-to-date.
2195 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
2196 user whether to create one.
2198 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2200 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
2201 check out a non-existing file.
2203 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
2204 workfile does not exist.
2206 * vc.el (vc-version-diff): Use `require' to check for existence of
2209 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2211 * vc-cvs.el (vc-cvs-registered): Use new function
2212 vc-cvs-parse-entry to do the actual work.
2214 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2216 * vc-hooks.el (vc-find-backend-function): If function doesn't
2217 exist, return nil instead of error.
2218 (vc-call-backend): Doc fix.
2220 * vc.el (vc-do-command): Doc fix.
2221 (vc-finish-logentry): When checking in from vc-dired, choose the
2222 right backend for logentry check.
2223 (vc-dired-mode-map): Inherit from dired-mode-map.
2224 (vc-dired-mode): Local value of dired-move-to-filename-regexp
2226 (vc-dired-state-info): Removed, updated caller.
2227 (vc-default-dired-state-info): Use parentheses instead of hyphens.
2228 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
2229 (vc-dired-listing-switches): New variable.
2230 (vc-directory): Use it, instead of dired-listing-switches.
2232 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
2233 (vc-cvs-dir-state): New function.
2234 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
2235 (vc-cvs-parse-entry): New function, also to be used in
2238 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2240 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
2241 *or* single-window-frames.
2243 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2245 * vc.el (vc-update-changelog): Split into generic part and default
2246 implementation. Doc string adapted.
2247 (vc-default-update-changelog): New function. Call the `rcs2log'
2248 script in exec-directory, to fix a long-standing nuisance.
2250 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
2251 simply signals an error.
2253 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2255 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
2256 control-flow more clear and to avoid running `cvs' twice.
2258 * vc.el (vc-next-action-on-file): Doc fix.
2259 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
2260 (vc-print-log): Eval `file' before constructing the continuation.
2262 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2264 * vc.el (vc-next-action-on-file): Corrected several messages.
2265 (vc-merge): Add prefix arg `merge-news'; handle it.
2267 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
2268 is not reached. It is.
2269 (vc-cvs-merge): Set state to 'edited after merge.
2270 (vc-cvs-merge-news): Set workfile version to nil if not known.
2271 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
2273 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
2274 via stdout. (Merge from main line.)
2276 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2278 * vc.el (vc-finish-logentry): Thinko in the "same comment"
2281 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2283 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
2284 against kill-all-local-variables.
2285 (vc-log-edit): Don't save vc-parent-buffer any more.
2286 (vc-last-comment-match): Initialize to an empty string.
2287 (vc-post-command-functions): New hook.
2288 (vc-do-command): Run it.
2289 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
2290 (vc-finish-logentry): Only add the comment to the ring if it's
2291 different from the last comment entered.
2292 (vc-new-comment-index): New function.
2293 (vc-previous-comment): Use it. Make the minibuffer message
2294 slightly less terse.
2295 (vc-comment-search-reverse): Make it work forward as well. Don't
2296 set vc-comment-ring-index if no match is found. Use
2297 vc-new-comment-index.
2298 (vc-comment-search-forward): Use vc-comment-search-reverse.
2299 (vc-dired-mode-map): Don't inherit from dired-mode-map since
2300 define-derived-mode will do it for us. Bind `v' to a keymap that
2301 inherits from vc-prefix-map so that we can bind `vt' without
2303 (vc-retrieve-snapshot): Parenthesis typo.
2305 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
2306 to 1. Make sure to switch to *vc* before looking for an error
2307 message. Use vc-parse-buffer.
2309 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2311 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
2313 (vc-retrieve-snapshot): Split into two parts.
2314 (vc-default-retrieve-snapshot): New function.
2316 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
2317 (vc-cvs-retrieve-snapshot): New function (untested).
2318 (vc-cvs-stay-local): Default to t.
2319 (vc-cvs-remote-p): New function and property.
2320 (vc-cvs-state): Stay local only if the above is t.
2321 (vc-handle-cvs): Removed.
2322 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
2323 done via vc-handled-backends now.
2324 (vc-cvs-header): Escape Id.
2326 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2328 * vc.el (vc-do-command): Remove unused commands.
2329 (vc-version-diff): Make sure default-directory ends with a slash.
2330 Move the window commands into a vc-exec-after.
2331 (vc-print-log): Move more of the code into the `vc-exec-after'.
2333 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2335 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
2336 (vc-print-log): Search current revision from beginning of buffer.
2337 (vc-revert-buffer): Clear echo area after the diff is finished.
2338 (vc-prefix-map): Removed definition of "t" for terse display in vc
2340 (vc-dired-mode-map): Inherit from dired-mode-map. Added
2341 definition of "vt" for terse display.
2342 (vc-dired-mode): Fix dired-move-to-filename-regexp.
2344 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2346 * vc.el (vc-exec-after): Avoid caddr.
2348 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2350 * vc.el (vc-exec-after): New function.
2351 (vc-do-command): Use it to add a termination message for async
2353 (vc-checkout): Try to handle a missing-backend situation.
2354 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
2355 of a directory with a backend using async diffs.
2356 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
2359 * vc-sccs.el (vc-sccs-state-heuristic): Use
2360 file-ownership-preserved-p.
2362 * vc-rcs.el (vc-rcs-state-heuristic): Use
2363 file-ownership-preserved-p.
2364 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
2366 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2368 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
2371 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
2372 when there are no changes.
2374 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2376 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
2378 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
2380 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2382 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
2384 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
2385 the `fset' outside of the defvar so that it works even if
2386 vc-prefix-map was already defined.
2387 (vc-setup-buffer): New function, split out of vc-do-command.
2388 (vc-do-command): Allow BUFFER to be t to mean `just use the
2389 current buffer without any fuss'.
2390 (vc-version-diff): Change the `diff' backend operation to just put
2391 the diff in the current buffer without erasing it. Always use
2392 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
2393 shrink-window-if-larger-than-buffer.
2394 (vc-print-log): Change the `print-log' backend operation to just
2395 put the log in the current buffer without erasing it. Protect
2396 shrink-window-if-larger-than-buffer.
2397 (vc-update-change-log): Fix setd typo.
2399 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
2400 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
2402 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
2403 (vc-rcs-diff): Insert in the current buffer and remove unused arg
2406 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
2407 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
2408 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
2410 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2412 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
2413 not possible, use vc-BACKEND-workfile-unchanged-p.
2414 (vc-default-workfile-unchanged-p): New function. Delegates to a
2415 full vc-BACKEND-diff.
2417 * vc-hooks.el (vc-simple-command): Removed.
2419 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
2420 instead of vc-simple-command.
2421 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
2422 avoid doing a diff when opening a file.
2423 (vc-rcs-state): Added check for unlocked-changes.
2424 (vc-rcs-header): Escape Id.
2425 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
2426 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
2429 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
2430 (vc-sccs-diff): Remove optional arg CMP.
2431 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
2432 SCCS-specific function.
2434 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
2437 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2439 * vc.el (vc-editable-p): Renamed from vc-writable-p.
2440 (with-vc-file, vc-merge): Use vc-editable-p.
2441 (vc-do-command): Remove unused var vc-file and fix the
2442 doubly-defined `status' var. Add a user message when starting an
2444 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
2445 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
2446 Use with-current-buffer.
2447 (vc-buffer-sync): Use unless.
2448 (vc-next-action-on-file): If the file is 'edited by read-only,
2449 make it read-write instead of trying to commit.
2450 (vc-version-diff, vc-update-change-log): Use `setq
2451 default-directory' rather than `cd'.
2452 (vc-log-edit): Don't forget to set default-directory in the
2455 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
2456 (vc-sccs-state-heuristic): Use file-writable-p instead of
2458 (vc-sccs-checkout): Use `unless'.
2460 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
2461 of comparing userids.
2462 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
2463 Simplify the logic by eliminating unreachable code.
2464 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
2465 just do a recursive call if we need to retry.
2466 (vc-rcs-checkout): Handle the case where rcs is missing by making
2467 the buffer read-write if requested and re-signalling the error.
2469 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
2471 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2473 * vc-hooks.el (vc-handled-backends): Docstring change.
2474 (vc-ignore-vc-files): Mark obsolete.
2475 (vc-registered): Check vc-ignore-vc-files.
2476 (vc-find-file-hook, vc-file-not-found-hook): Don't check
2479 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
2481 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2483 * vc.el (vc-checkout): Don't do anything special for ange-ftp
2484 files since ange-ftp already has vc-registered return nil.
2486 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
2487 (vc-sccs-workfile-version): Use with-temp-buffer and new
2488 vc-parse-buffer and don't bother setting the property.
2489 (vc-sccs-add-triple): Use with-current-buffer and
2491 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
2493 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
2494 derives from the old vc-parse-buffer but uses the revision number
2495 rather than the date (much easier to compare robustly).
2496 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
2497 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
2498 locking-user more directly. Check strict locking and set
2499 checkout-model appropriately.
2500 (vc-rcs-parse-locks): Remove.
2501 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
2502 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
2503 (vc-rcs-system-release): Use with-current-buffer and
2505 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
2507 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
2508 (vc-simple-command): Docstring fix.
2509 (vc-registered): Align the way the file-handler is called with the
2510 way the function itself works.
2511 (vc-file-owner): Remove.
2513 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
2514 extraction of fields and call to file-attributes because of a
2515 temporary bug in rcp.el.
2516 (vc-cvs-fetch-status): Use with-current-buffer.
2518 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2520 * vc.el (vc-do-command): Use file-relative-name.
2521 (vc-responsible-backend): Use vc-backend if possible.
2522 (vc-create-snapshot): Improve the `interactive' spec. Add support
2523 for branches and dispatch to backend-specific `create-snapshot'.
2524 (vc-default-create-snapshot): New function, containing the bulk of
2525 the old vc-create-snapshot.
2526 (vc-retrieve-snapshot): Improve the interactive spec.
2528 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
2529 (vc-backend-hook-functions): Remove.
2530 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
2531 (vc-backend): Reintroduce the test for `file = nil' now that I
2532 know why it was there (and added a comment to better remember).
2534 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
2535 code from vc-sccs-hooks.el.
2536 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
2538 (vc-sccs-responsible-p): Use expand-file-name instead of concat
2539 and file-directory-p instead of file-exists-p.
2540 (vc-sccs-check-headers): Simplify the regexp.
2542 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
2543 from vc-rcs-hooks.el. Don't require 'vc anymore.
2544 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
2545 file-directory-p instead of file-exists-p.
2547 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
2548 from vc-cvs-hooks.el.
2549 (proto vc-cvs-registered): Require 'vc-cvs instead of
2550 'vc-cvs-hooks. Don't require 'vc anymore.
2551 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
2552 file-directory-p instead of file-exists-p.
2553 (vc-cvs-create-snapshot): New function, replacing
2555 (vc-cvs-assign-name): Remove.
2557 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2559 * vc-cvs.el (vc-cvs-header): New var.
2561 * vc-rcs.el (vc-rcs-exists): Remove.
2562 (vc-rcs-header): New var.
2564 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
2565 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
2566 (vc-sccs-header): New var.
2568 * vc.el (vc-do-command): Get rid of the `last' argument.
2569 (vc-header-alist): Remove, replaced by vc-X-header.
2570 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
2571 (vc-dired-hook): Use expand-file-name instead of concat.
2572 (vc-directory): Use file-name-as-directory.
2573 (vc-snapshot-precondition, vc-create-snapshot)
2574 (vc-retrieve-snapshot): Allow the command to operate on any
2577 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
2578 just removing the 'WORKFILE argument or by removing the 'MASTER
2579 argument and replacing `file' with (vc-name file).
2581 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2583 * vc.el: Update Copyright and add a crude list of backend funs.
2584 (vc-writable-p): New function.
2585 (with-vc-file): Use vc-writable-p.
2586 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
2587 (vc-register): Avoid vc-name.
2588 (vc-locking-user): Remove.
2589 (vc-steal-lock): Make the `owner' arg non-optional.
2590 (vc-merge): Use vc-writable-p instead of vc-locking-user and
2592 (vc-default-dired-state-info): Use vc-state instead of
2593 vc-locking-user and return special strings for special states.
2594 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
2595 and get rid of one of the special CVS cases.
2596 (vc-cancel-version): prettify error message with \\[...].
2597 (vc-rename-master): New function.
2598 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
2599 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
2600 the CVS special case generic.
2601 (vc-default-record-rename): Remove.
2602 (vc-file-tree-walk-internal): Only call FUNC for files that are
2603 under control of some VC backend and replace `concat' with
2605 (vc-file-tree-walk): Update docstring.
2606 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
2607 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
2609 * vc-sccs.el (vc-sccs-rename-file): Renamed from
2610 vc-sccs-record-rename. Use `find-file-noselect' rather than
2611 `find-file' and call `vc-rename-master' to do the actual move.
2612 (vc-sccs-diff): Remove unused `backend' variable.
2614 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
2615 to delay loading of vc-sccs until it is really used.
2616 (vc-sccs-master-templates): Preload.
2617 (vc-sccs-state): Update call to vc-sccs-parse-locks.
2618 (vc-sccs-project-dir): Remove (merged into
2619 vc-sccs-search-project-dir).
2620 (vc-sccs-search-project-dir): Rewrite using file name handling ops
2621 rather than `concat', make sure it is preloaded and don't bother
2622 to check that the file actually exists.
2623 (vc-sccs-parse-locks): Remove unused `file' argument, remove
2624 `locks' argument (use buffer's content instead) and eliminate n^2
2627 * vc-rcs.el: Update Copyright.
2628 (vc-rcs-rename-file): New function.
2629 (vc-rcs-diff): Remove unused `backend' variable.
2631 * vc-hooks.el: Update Copyright.
2632 (vc-backend): Don't accept a nil argument any more.
2633 (vc-up-to-date-p): Turn into a defsubst.
2634 (vc-possible-master): New function.
2635 (vc-check-master-templates): Use `vc-possible-master' and allow
2636 funs in vc-X-master-templates to return a non-existent file.
2638 * vc-cvs.el: Update Copyright.
2639 (vc-cvs-diff): Remove unused `backend' variable.
2640 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
2642 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
2644 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2646 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
2647 since it can be called from vc-rcs.el.
2648 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
2650 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2652 * vc.el (vc-version-diff): Expand file name read from the
2653 minibuffer. Handle the case when a previous version number can't
2654 be guessed. Give suitable messages when there were no differences
2656 (vc-clear-headers): Call backend-specific implementation, if one
2658 (vc-cancel-version): Made error checks generic. When done, clear
2659 headers generically, too.
2661 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
2662 from vc-clear-headers in vc.el.
2664 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
2666 (vc-rcs-latest-on-branch-p): Made second argument VERSION
2667 optional. Handle the case when it's not there.
2669 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2671 * vc.el (vc-locking-user): Moved from vc-hooks.el.
2673 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2675 * vc-hooks.el (vc-loadup): Remove.
2676 (vc-find-backend-function): Use `require'. Also, handle the case
2677 where vc-BACKEND-hooks.el doesn't exist.
2678 (vc-call-backend): Cleanup.
2680 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2682 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
2683 vc-rcs-grab-templates)
2684 (vc-rcs-registered): Remove. The default function works as well.
2685 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
2686 vc-sccs-grab-templates)
2687 (vc-sccs-registered): Remove. The default function works as well.
2689 * vc.el (vc-version-diff): Left out a vc- in call to
2691 (vc-default-dired-state-info, vc-default-record-rename)
2692 (vc-default-merge-news): Update for the new backend argument.
2694 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
2695 using the default function.
2696 (vc-call-backend): If calling the default function, pass it the
2697 backend as first argument. Update the docstring accordingly.
2698 (vc-default-state-heuristic, vc-default-mode-line-string): Update
2699 for the new backend argument.
2700 (vc-make-backend-sym): Renamed from vc-make-backend-function.
2701 (vc-find-backend-function): Use the new name.
2702 (vc-default-registered): New function.
2704 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2706 * vc.el (vc-merge): Use vc-find-backend-function.
2708 * vc-hooks.el (vc-backend-functions): Remove.
2709 (vc-loadup): Don't setup 'vc-functions.
2710 (vc-find-backend-function): New function.
2711 (vc-call-backend): Use above fun and populate 'vc-functions
2713 (vc-backend-defines): Remove.
2715 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2717 * vc.el (vc-register): Put a FIXME note for a newly found bug.
2718 Call vc-call-backend without the leading vc-.
2719 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
2720 (vc-check-headers): Call vc-call-backend without the leading vc-.
2721 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
2722 (vc-annotate-display): Replace confusing use of `cond' with `or'.
2723 Call vc-call-backend without the leading vc-.
2725 * vc-cvs.el (tail): Provide vc-cvs.
2726 * vc-sccs.el (tail): Provide vc-sccs.
2727 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
2729 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
2730 (vc-make-backend-function, vc-call): Pass names without leading
2731 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
2732 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
2733 (vc-call-backend): Always try to load vc-X-hooks.
2734 (vc-registered): Remove vc- in call to vc-call-backend.
2736 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2738 * vc.el (vc-process-filter): New function.
2739 (vc-do-command): Setup `vc-process-filter' for the async process.
2740 (vc-maybe-resolve-conflicts): New function to reduce
2741 code-duplication. Additionally, it puts the buffer in
2742 `smerge-mode' if applicable.
2743 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
2744 calling `merge-news'.
2745 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
2746 (vc-log-edit): New function. Replacement for `vc-log-mode' by
2747 interfacing to log-edit.el.
2748 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
2749 log-edit is available.
2750 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
2752 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2754 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
2755 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
2756 defvar and the initialization.
2757 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
2759 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
2760 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
2762 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
2764 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2766 * vc.el (vc-file-clear-masterprops): Removed.
2767 (vc-checkin, vc-revert-buffer): Removed calls to the above.
2768 (vc-version-diff): Use buffer-size without argument.
2769 (vc-register): Heed vc-initial-comment.
2771 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
2774 * vc-rcs.el (vc-rcs-register): Parse command output to find master
2775 file name and workfile version.
2776 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
2778 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
2779 vc-file-clear-masterprops.
2781 * vc-sccs.el (vc-sccs-checkout): Removed call to
2782 vc-file-clear-masterprops. If writable, set vc-state to 'edited
2783 rather than user login name.
2786 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2788 * vc.el (vc-workfile-unchanged-p): Remove unused argument
2789 `want-differences-if-changed' and simplify.
2790 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
2791 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
2792 output (which is invalid for async vc-diff) to decide whether to
2793 do the revert silently or not.
2795 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2797 * vc-hooks.el (vc-loadup): Load files quietly.
2798 (vc-call-backend): Oops, brain fart.
2800 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2802 * vc-cvs.el (vc-cvs-state): Typo.
2803 (vc-cvs-merge-news): Return the status code rather than the error msg.
2805 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2807 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
2808 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
2809 vc-state or vc-up-to-date-p.
2810 (vc-merge): Use vc-backend-defines to check whether merging is
2811 possible. Set state to 'edited after successful merge.
2813 * vc-hooks.el (vc-locking-user): If locked by the calling user,
2814 return that name. Redocumented.
2816 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2818 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
2819 new `vc-state' semantics.
2820 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
2821 'vc-locking-user to the current user.
2822 (vc-merge): Inline vc-backend-merge. Comment out code that I
2823 don't understand and hence can't adapt to the new `vc-state' and
2824 `vc-locking-user' semantics.
2825 (vc-backend-merge): Remove.
2827 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
2828 rather than 'vc-locking-user.
2830 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
2832 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
2833 (vc-state): Don't use 'reserved any more. Just use the same
2834 convention as the one used for vc-<backend>-state where the
2835 locking user (as a string) is returned.
2836 (vc-locking-user): Update, based on the above convention. The
2837 'vc-locking-user property has disappeared.
2838 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
2840 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
2841 with a heuristic one.
2842 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
2843 (vc-cvs-checkin): Do a trivial parse to set the state in case of
2844 error. That allows us to get to 'needs-merge even in the
2845 stay-local case. There's still no way to detect 'needs-patch in
2846 such a setup (or to force an update for that matter).
2847 (vc-cvs-logentry-check): Remove, the default works as well.
2849 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2851 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
2853 * vc.el (vc-do-command): kill-all-local-variables, to reset any
2854 major-mode in which the buffer might have been put earlier. Use
2855 `remove' and `when'. Allow `okstatus' to be `async' and use
2856 `start-process' in this case.
2857 (vc-version-diff): Handle the case where the diff looks empty
2858 because of the use of an async process.
2860 2000-09-04 Andre Spiegel <spiegel@gnu.org>
2862 * vc.el (vc-next-action-on-file): Removed optional parameter
2863 `simple'. Recompute state unconditionally.
2864 (vc-default-toggle-read-only): Removed.
2866 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
2867 (vc-toggle-read-only): Undid prev change.
2869 * vc-cvs.el (vc-cvs-stay-local): Renamed from
2870 vc-cvs-simple-toggle. Redocumented.
2871 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
2872 (vc-cvs-toggle-read-only): Removed.
2874 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2876 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
2877 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
2878 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
2879 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
2880 still is. So maybe it should be removed.
2881 (vc-head-version, vc-find-binary): Remove.
2882 (vc-recompute-state): Move from vc-hooks.el.
2883 (vc-next-action-on-file): Add a `simple' argument to allow
2884 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
2885 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
2886 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
2887 (vc-dired-mode-map): Properly defvar it.
2888 (vc-print-log): Call log-view-mode if available.
2889 (small-temporary-file-directory): defvar instead of use boundp.
2890 (vc-merge-news): Moved to vc-cvs.el.
2891 (vc-default-merge-news): New function.
2893 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
2894 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
2895 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
2896 unknown `vc-latest-version' function. It should probably refer to
2897 vc-workfile-version or somesuch, but it's very unclear to me and I
2898 don't have SCCS to test things.
2900 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
2901 (vc-sccs-state-heuristic): Fix typo.
2902 (vc-sccs-workfile-unchanged-p): Add missing argument.
2904 * vc-rcs.el: Require vc and vc-rcs-hooks.
2905 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
2906 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
2907 (vc-release-greater-or-equal-p): Move from vc.
2908 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
2909 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
2910 (vc-rcs-checkout): Add a missing `new-version' argument in the
2911 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
2913 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
2914 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
2915 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
2916 than the apparently unbound `workfile-version'.
2918 * vc-hooks.el (vc-master-templates): Def the obsolete var.
2919 (vc-file-prop-obarray): Use `make-vector'.
2920 (vc-backend-functions): Add new hookable functions
2921 vc-toggle-read-only, vc-record-rename and vc-merge-news.
2922 (vc-loadup): If neither backend nor default functions exist, use
2923 the backend function rather than nil.
2924 (vc-call-backend): If the function if not bound yet, try to load
2925 the non-hook file to see if it provides it.
2926 (vc-call): New macro plus use it wherever possible.
2927 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
2928 nor `vc-find-binary' since it's only called from
2929 vc-mistrust-permission which is only used once the backend is known.
2930 (vc-checkout-model): Fix parenthesis.
2931 (vc-recompute-state, vc-prefix-map): Move to vc.el.
2933 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
2934 (vc-cvs-release, vc-cvs-system-release): Remove.
2935 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
2936 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
2938 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
2939 (vc-cvs-toggle-read-only): First cut at a function to allow a
2940 cvs-status-free vc-toggle-read-only.
2941 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
2942 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
2943 vc-cvs-status. Also set vc-state rather than vc-locking-user.
2944 (vc-cvs-checkout): Modify access rights directly if the user
2945 requested not to use `cvs edit'. And refresh the mode line.
2947 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
2948 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
2950 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
2952 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
2953 workfile' that got lost when the code was extracted from vc.el.
2954 And merged the tail with the rest of the code (not possible in the
2955 old vc.el where the tail was shared among all backends). And
2956 explicitly set the state to 'edited if `writable' is set.
2958 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
2959 (vc-cvs-state): Be careful to return the value from
2961 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
2962 property but return it instead. Also be careful to handle a nil
2963 or "" `rev' when workfile is non-nil (it was handled properly when
2966 * vc.el: Removed those pesky unnecessary `(function' quotes.
2967 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
2968 directly in the defvar.
2969 (vc-do-command): Bind inhibit-read-only so as to properly handle
2970 the case where the destination buffer has been made read-only.
2971 (vc-diff): Delegate to vc-version-diff in all cases.
2972 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
2973 (vc-annotate-mode-variables): Removed (code moved partly to
2974 defvars and partly to vc-annotate-add-menu).
2975 (vc-annotate-mode): Turned into a derived-mode.
2976 (vc-annotate-add-menu): Moved in code in
2977 vc-annotate-mode-variables.
2978 (vc-update-change-log): Use make-temp-file if available.
2980 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
2982 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
2983 `vc-checkout-model' updated to `vc-cvs-update-model'.
2985 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
2987 * vc.el (vc-next-action-on-file): Added handling of state
2989 (vc-checkout-carefully): Is now practically obsolete, unless the
2990 above is too slow to be enabled unconditionally.
2991 (vc-update-change-log): Fixed typo.
2993 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
2995 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
2996 Now handles state `unlocked-changes'.
2997 (vc-sccs-workfile-unchanged-p): New function, to support the above.
2999 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
3001 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
3002 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
3004 (vc-rcs-workfile-unchanged-p): Renamed from
3005 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
3006 function yet, but supposed to become one soon.
3008 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
3010 (vc-call-backend): Changed error message.
3011 (vc-state): Added description of state `unlocked-changes'.
3013 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3015 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
3016 always return t in CVS-controlled directories.
3018 * vc.el (vc-responsible-backend): New function.
3019 (vc-register): Largely rewritten.
3020 (vc-admin): Removed (implementation moved into vc-register).
3021 (vc-checkin): Redocumented.
3022 (vc-finish-logentry): If no backend defined yet (because we are in
3023 the process of registering), use the responsible backend.
3025 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
3026 Updated function lists.
3027 (vc-call-backend): Fixed typo.
3029 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
3031 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
3032 Removed query option. Redocumented.
3034 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3036 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
3038 * vc.el: Updated callers of `vc-checkout-required' to use
3039 `vc-checkout-model'.
3041 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3043 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
3044 stuff updated to reference this function instead of the old
3045 `vc-backend-release-p'.
3047 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3049 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
3050 vc-checkout-model. Return appropriate values. Updated callers.
3052 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3054 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
3055 (vc-backend-revert): Function moved into `vc-revert';
3056 `vc-next-action' must be updated to accomodate this change.
3057 (vc-backend-steal): Function moved into `vc-finish-steal'.
3058 (vc-backend-logentry-check): Function moved into
3059 `vc-finish-logentry'.
3060 (vc-backend-printlog): Function moved into `vc-print-log'.
3061 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
3062 (vc-backend-assign-name): Function moved into
3063 `vc-create-snapshot'.
3065 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3067 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
3068 Rename to vc-checkout-model. Return appropriate values.
3071 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
3072 to vc-checkout-model.
3073 (vc-checkout-required): Rename to vc-checkout-model.
3074 Re-implement and re-comment.
3075 (vc-after-save): Use vc-checkout-model.
3077 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3079 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
3080 Update to use the vc-BACKEND-diff functions instead.
3081 `vc-diff' is now working.
3083 * vc-rcs.el (vc-rcs-logentry-check): New function.
3085 * vc-cvs.el (vc-cvs-logentry-check): New function.
3087 * vc-sccs.el (vc-sccs-diff): Function changed name from
3088 `vc-backend-diff'. This makes `vc-diff' work.
3090 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
3091 of functions possibly implemented in a vc-BACKEND library.
3092 (vc-checkout-required): Fix bug that caused an error to be
3093 signaled during `vc-after-save'.
3096 This checkin is made with our new VC code base for the very first time.
3097 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
3099 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
3100 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
3102 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
3103 updated to `vc-uses-locking'.
3104 (vc-checkout-required): Call to backend function.
3105 `vc-checkout-required' updated to `vc-uses-locking' instead.
3107 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
3108 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
3110 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
3111 to match the split into various backends.
3112 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
3113 (vc-retrieve-snapshot): Bug fix.
3115 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3117 * vc-sccs.el (vc-sccs-release): Doc fix.
3119 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3121 * vc.el (vc-next-action-on-file): Bug found and fixed.
3122 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
3123 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
3125 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
3126 (vc-rcs-checkout): Name space cleaned up. No more revision number
3127 crunching function names that are not prefixed with vc-rcs.
3128 (vc-rcs-checkout-model): Function added. References to
3129 `vc-checkout-model' replaced.
3131 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3133 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
3134 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
3135 still need to be split, and implemented for RCS).
3137 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3139 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
3141 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
3142 required by the vc.el file.
3144 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
3145 required by the vc.el file.
3146 (vc-rcs-exists): Function added.
3148 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
3149 required by the vc.el file.
3151 * vc.el (vc-admin): Updated to handle selection of appropriate
3152 backend. Current implementation is crufty and need re-thinking.
3154 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
3156 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3158 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
3159 beginning of annotate buffers correctly.
3161 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
3162 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
3163 functionality updated quite a lot to support multiple backends.
3164 Variables `vc-annotate-mode', `vc-annotate-buffers',
3165 `vc-annotate-backend' added.
3167 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
3168 `vc-annotate-difference' added to supported backend functions.
3170 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3172 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
3173 Use with-temp-file instead of /bin/sh. Merged from mainline
3175 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3177 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
3179 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
3181 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
3183 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3185 * vc-hooks.el: vc-state-heuristic added to
3186 vc-backend-hook-functions.
3188 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
3190 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
3192 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
3193 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
3194 state to `reserved'.
3196 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
3197 `vc-checkout-required'. Rename the `locked' state to `reserved'.
3199 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3201 * vc-rcs-hooks.el: Implement new state model. Hardly anything
3204 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
3206 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
3207 if defined. (Merged from main line, slightly adapted.)
3209 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
3210 millenium problem (merged from mainline).
3212 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3214 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
3215 part and moved the non-BACKEND stuff to vc.el.
3217 * vc.el: Split the annotate feature into a BACKEND specific part
3218 and moved it from the vc-cvs.el file to this one.
3220 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3222 * vc-hooks.el: Implement new state model.
3223 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
3224 (vc-locking-user): Simplify. Now only needed if the file is
3225 locked by somebody else.
3226 (vc-lock-from-permissions): Remove. Functionality is in
3227 vc-sccs-hooks.el and vc-rcs-hooks.el now.
3228 (vc-mode-line-string): New name for former vc-status. Adapted.
3229 (vc-mode-line): Adapt to use the above. Remove optional parameter.
3231 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
3232 Various simplifications and adaptations all over the place.
3234 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
3235 Simplify and adapt the rest.
3237 * vc.el (vc-resynch-window): Add TODO comment: check for
3238 interaction with view mode according to recent RCS change.
3239 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
3241 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3243 * vc.el: Convert the remaining function comments to docstrings.
3245 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3247 * vc.el (vc-backend-release, vc-release-greater-or-equal)
3248 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
3249 (vc-minor-part, vc-previous-version): Functions that operate and
3250 compare revision numbers got proper documentation. Comments added
3251 about their possible removal.
3253 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3255 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
3256 the vc-backend.el files.
3258 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
3260 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
3261 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
3262 (vc-rcs-previous-version): Functions added.
3264 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
3266 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
3268 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3270 * vc-hooks.el (vc-master-templates): Is really obsolete.
3271 Comment out the definition for now. What is the right procedure
3273 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
3275 (vc-default-registered): Remove.
3276 (vc-check-master-templates): New function; does mostly what the
3278 (vc-locking-user): Don't rely on the backend to set the property.
3280 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
3281 Rewrite documentation.
3282 (vc-rcs-templates-grabbed): New variable.
3283 (vc-rcs-grab-templates): New function.
3284 (vc-rcs-registered): Rewrite to use above mechanism.
3286 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
3287 Rewrite documentation.
3288 (vc-sccs-templates-grabbed): New variable.
3289 (vc-sccs-grab-templates): New function.
3290 (vc-sccs-registered): Rewrite to use above mechanism.
3291 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
3292 Don't throw the result, simply return it.
3294 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
3295 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
3296 (vc-cvs-registered): Does the check itself now. Simplify.
3298 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
3301 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3303 * vc-cvs.el (vc-cvs-diff): New function.
3305 * vc-sccs.el (vc-sccs-diff): New function.
3307 * vc-rcs.el (vc-rcs-diff): New function.
3308 (vc-rcs-checkout): Bug (typo) found and fixed.
3309 (vc-rcs-register-switches): New variable.
3311 * vc.el (vc-backend-diff): Function removed and placed in the
3314 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3316 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
3318 * vc.el (vc-backend-checkout): Function removed and replaced in
3319 the vc-backend.el files.
3321 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
3323 * vc.el (vc-backend-admin): Removed and replaced in the
3324 vc-backend.el files.
3326 * vc.el (Martin): Removed all the annotate functionality since it
3327 is CVS backend specific.
3329 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3331 * spec.txt: Added specification of vc-state.
3333 * vc-sccs-hooks.el (vc-sccs-master-properties):
3334 Remove handling of vc-latest-version and
3335 vc-your-latest-version. What used to be vc-latest-version, is now
3336 returned as vc-workfile-version.
3337 (vc-sccs-workfile-version): Adapt.
3339 2000-09-04 Dave Love <fx@gnu.org>
3341 * vc.el: [Merged from mainline.]
3342 (vc-dired-mode): Make the dired-move-to-filename-regexp
3343 regexp match the date, to avoid treating date as file size.
3344 Add YYYY S option to WESTERN/
3346 2000-09-04 Dave Love <fx@gnu.org>
3348 * vc.el: Require `compile' when compiling.
3349 (vc-logentry-check-hook): New option.
3350 (vc-steal-lock): Use compose-mail.
3351 (vc-dired-mode-map): Defvar when compiling.
3352 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
3353 vc-sccs.el and renamed. Callers changed.
3354 (vc-backend-checkout, vc-backend-logentry-check)
3355 (vc-backend-merge-news): Doc fix.
3356 (vc-default-logentry-check): New function.
3357 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
3358 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
3359 (vc-backend-merge): Doc fix. Use backend functions.
3360 (vc-check-headers): Use backend functions.
3362 * vc-cvs.el: Require vc when compiling.
3363 (vc-cvs-register-switches): Doc fix.
3364 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
3365 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
3366 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
3367 New functions (code from vc.el).
3368 (vc-annotate-display-default): Fix interactive spec.
3369 (vc-annotate-time-span): Doc fix.
3371 * vc-rcs.el: Require vc when compiling.
3372 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
3373 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
3374 (vc-rcs-checkin): New functions (code from vc.el).
3375 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
3377 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
3379 * vc-sccs.el: Require vc when compiling.
3380 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
3381 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
3383 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
3385 (vc-sccs-add-triple, vc-sccs-record-rename)
3386 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
3387 (vc-sccs-admin): Doc fix.
3389 2000-09-04 Martin Lorentzson <martinl@gnu.org>
3391 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
3392 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
3393 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
3396 * vc-sccs.el (vc-admin-sccs): Added from vc.el
3398 * vc-cvs.el: Moved the annotate functionality from vc.el.
3399 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
3401 2000-09-04 Dave Love <fx@gnu.org>
3403 * vc.el (vc-backend-release): Call vc-system-release.
3405 * vc-sccs.el (vc-sccs-system-release):
3406 Renamed from vc-sccs-backend-release.
3408 * vc-rcs.el (vc-rcs-system-release):
3409 Renamed from vc-rcs-backend-release.
3411 * vc-cvs.el (vc-cvs-system-release):
3412 Renamed from vc-cvs-backend-release.
3414 2000-09-04 Dave Love <fx@gnu.org>
3416 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
3418 (vc-backend-release): Dispatch to backend functions.
3419 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
3420 probably needs attention.]
3422 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
3423 (vc-sccs-backend-release): New function.
3425 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
3426 (vc-cvs-backend-release): New function.
3428 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
3430 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
3431 (vc-default-dired-state-info): New function.
3432 (vc-dired-state-info): Dispatch to backends.
3433 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
3435 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
3436 from vc.el and renamed.
3438 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3440 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
3441 (vc-version-other-window, vc-backend-assign-name): Removed
3442 references to vc-latest-version; sometimes changed into
3443 vc-workfile-version.
3445 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
3446 vc-rcs-master-workfile-version.
3447 (vc-rcs-workfile-version): Use the above. Don't call
3448 vc-latest-version (that was unreachable code, anyway).
3449 (vc-rcs-fetch-master-properties): Doc fix.
3451 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
3452 (vc-backend-hook-functions): Removed them from this list, too.
3453 (vc-fetch-properties): Removed.
3454 (vc-workfile-version): Doc fix.
3456 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
3457 (vc-rcs-workfile-version, vc-rcs-locking-user)
3458 (vc-rcs-uses-locking): Use it.
3460 * vc-hooks.el (vc-consult-rcs-headers):
3461 Moved into vc-rcs-hooks.el, under the name
3462 vc-rcs-consult-headers.
3464 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
3466 (vc-cvs-find-master): Use this name only; correct different
3467 versions of the name.
3469 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
3471 (vc-sccs-locking-user): Use the latter.
3473 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
3476 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
3478 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
3479 functions are implementation details of those two backends.
3481 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3483 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
3484 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
3486 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
3487 (vc-sccs-parse-locks): SCCS-specific code moved here from
3490 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
3491 code moved here from vc-hooks.
3493 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
3494 into back-end specific parts and removed. Callers not updated
3495 yet; because I guess these callers will disappear into back-end
3496 specific files anyway.
3498 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3500 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
3501 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
3504 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
3505 Store yes/no in the property, and return t/nil. Updated all
3508 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
3509 vc-sccs-uses-locking. Don't set property.
3510 (vc-sccs-locking-user): Don't set property.
3512 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
3513 vc-cvs-uses-locking. Don't set property here; leave that to
3515 (vc-cvs-locking-user): Reflect above change. Streamlined.
3517 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
3518 vc-rcs-uses-locking.
3519 (vc-rcs-locking-user): Reflect above change.
3521 2000-09-04 Dave Love <fx@gnu.org>
3523 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
3525 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
3527 * vc-hooks.el (vc-checkout-model): Punt to backends.
3529 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
3531 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
3533 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
3536 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
3539 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
3540 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
3542 * vc-hooks.el (vc-default-locking-user): New function.
3543 (vc-locking-user, vc-workfile-version): Punt to backends.
3545 2000-09-04 Dave Love <fx@gnu.org>
3547 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
3548 (vc-master-workfile-version): Moved from vc-hooks.
3550 * vc-rcs-hooks.el: Fix duplicate code in last change.
3552 * vc-rcs-hooks.el: Require vc-hooks when compiling.
3553 (vc-rcs-master-templates): Improve :type.
3554 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
3555 vc-master-workfile-version): Moved from vc-hooks.
3557 * vc-sccs-hooks.el: Require vc-hooks when compiling.
3558 (vc-sccs-master-templates): Improve :type.
3559 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
3561 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
3563 * vc-cvs-hooks.el: Require vc-hooks when compiling.
3564 (vc-cvs-master-templates): Improve :type. Use
3565 vc-cvs-find-cvs-master.
3566 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
3568 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
3570 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
3571 Moved to vc-cvs-hooks.
3573 * vc-hooks.el: Add doc strings in various places. Simplify the
3575 (vc-handled-backends): New user variable.
3576 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
3579 2000-09-04 Dave Love <fx@gnu.org>
3581 * vc.el: Some doc fixes for autoloaded and interactive functions.
3582 Fix compilation warnings from ediff stuff.
3583 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
3585 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
3587 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
3589 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
3591 2000-09-04 Dave Love <fx@gnu.org>
3593 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
3595 (vc-make-backend-function, vc-loadup, vc-call-backend)
3596 (vc-backend-defines): New functions.
3598 * vc-hooks.el: Various doc fixes.
3599 (vc-default-back-end, vc-follow-symlinks): Custom fix.
3600 (vc-match-substring): Function removed. Callers changed to use
3602 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
3605 2000-09-04 Dave Love <fx@gnu.org>
3607 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
3609 (vc-sccs-project-dir, vc-search-sccs-project-dir)
3610 (vc-sccs-registered): Doc fix.
3612 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
3613 (vc-cvs-registered): Doc fix.
3615 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
3616 (vc-rcs-registered): Doc fix.
3618 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3620 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
3622 * vc-hooks.el: vc-registered has been renamed
3623 vc-default-registered. Some functions have been moved to the
3624 backend specific files. they all support the
3625 vc-BACKEND-registered functions.
3627 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
3629 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
3631 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
3633 2000-09-04 Dave Love <fx@gnu.org>
3635 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
3636 menu-bar-update-hook.
3638 * help.el (help-manyarg-func-alist): Add
3639 find-operation-coding-system.
3641 * wid-edit.el (widget-sexp-validate): Fix garbled code.
3643 * custom.el (custom-set-variables): Print message about errors in
3646 2000-09-03 Andrew Innes <andrewi@gnu.org>
3648 * makefile.w32-in: Change to DOS line endings.
3650 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3652 * mouse.el (mouse-popup-menubar): Supply the prompt string for
3653 minor-mode keymaps, if they don't have one.
3655 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3657 * eshell/esh-module.el (eval-when-compile): Don't lose if
3658 esh-module.el's file name is truncated to DOS 8+3 limits.
3660 2000-09-01 John Wiegley <johnw@gnu.org>
3662 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
3663 predicate, which caused entries in the completion list to be
3666 2000-08-30 John Wiegley <johnw@gnu.org>
3668 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
3669 sending to subprocesses. Also, hook pre-command-hook if
3670 `eshell-send-direct-to-subprocesses' is non-nil.
3671 (eshell-send-direct-to-subprocesses): New config variable. If t,
3672 subprocess input is send immediately.
3673 (eshell-toggle-direct-send): New function.
3674 (eshell-self-insert-command): New function.
3675 (eshell-intercept-commands): New function.
3676 (eshell-send-input): If direct subprocess sending is enabled,
3677 don't echo any input to the Eshell buffer. Let the subprocess
3678 handle that. This requires "stty echo" in bash, for example.
3680 2000-08-28 John Wiegley <johnw@gnu.org>
3682 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
3683 completion function for Eshell's implementation of `unset'.
3685 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3687 * info.el (Info-directory-list): Doc fix.
3689 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
3691 * filecache.el (file-cache-add-directory-using-find): Don't quote
3692 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
3694 2000-08-31 Kenichi Handa <handa@etl.go.jp>
3696 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
3699 2000-08-30 Andrew Innes <andrewi@gnu.org>
3701 * timer.el (run-with-idle-timer): Undo last change, so that timer
3702 is not activated immediately if Emacs is already idle. Some
3703 existing code relies on this behaviour.
3705 2000-08-30 Miles Bader <miles@gnu.org>
3707 * frame.el (set-frame-font): Do completion of font-name for
3710 2000-08-30 Kenichi Handa <handa@etl.go.jp>
3712 * international/quail.el (quail-start-translation): Bind locally
3713 last-command-event, last-command, and this-command.
3714 (quail-start-conversion): Likewise.
3715 (quail-self-insert-command): Fix docstring.
3717 2000-08-29 Gerd Moellmann <gerd@gnu.org>
3719 * progmodes/executable.el
3720 (executable-make-buffer-file-executable-if-script-p): Check that
3721 buffer contains at least 2 characters.
3723 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
3725 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
3727 2000-08-29 Dave Love <fx@gnu.org>
3729 * diff-mode.el (diff-mode) <defgroup>: Add :version.
3730 (diff-mode-shared-map): Bind mouse-2.
3731 (diff-imenu-generic-expression): New variable.
3732 (diff-mode): Use it.
3734 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
3735 (mouse-popup-menubar): Add minor mode menus.
3736 (popup-menu): Check for lookup-key returning number.
3738 2000-08-29 Miles Bader <miles@gnu.org>
3740 * comint.el (comint-send-input): Create overlays using the proper
3741 front/read-advance arguments.
3743 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
3745 * ps-print.el: Even/odd pages printing. Doc fix.
3746 (ps-print-version): New version number (6.0).
3747 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
3748 (ps-background, ps-begin-file, ps-begin-job): Code fix.
3749 (ps-print-duplex-feature): Variable eliminated.
3750 (ps-even-or-odd-pages): New variable.
3752 * progmodes/ebnf2ps.el: Doc fix.
3753 (ebnf-version): New version (3.3).
3754 (ebnf-user-arrow): Change variable customization to sexp.
3755 (ebnf-user-arrow): Function eliminated.
3756 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
3758 2000-08-29 Kenichi Handa <handa@etl.go.jp>
3760 * help.el (help-xref-mule-regexp): New variable.
3761 (help-make-xrefs): Handle help-xref-mule-regexp.
3763 * international/mule-cmds.el (help-xref-mule-regexp-template): New
3765 (describe-input-method): Temporarily activate the specfied input
3766 method to display the information.
3767 (describe-language-environment): Hyperlinks to mule related items.
3769 * international/mule-diag.el (charset-multibyte-form-string): New
3771 (list-character-sets-1): Use charset-multibyte-form-string.
3772 (describe-character-set): New function.
3773 (describe-coding-system): Hyperlinks to safe character sets.
3775 * international/quail.el (quail-help): New arg PACKAGE.
3776 Hyperlinks to mule related items.
3777 (quail-help-insert-keymap-description): Use
3778 substitute-command-keys instead of describe-bindings.
3779 (quail-translation-help): Hyperlinks to mule related items.
3781 2000-08-28 John Wiegley <johnw@gnu.org>
3783 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
3784 have a defsubst call itself. Made `eshell-flatten-list' back into
3787 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
3788 catch, in case re-centering point at bottom messes up the display.
3789 This happens frequently in Emacs 21, due I believe to variable
3792 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
3793 to call `find-tag-interactive'.
3795 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
3796 the list of remember directories.
3798 2000-08-28 John Wiegley <johnw@gnu.org>
3800 * align.el: Test align-region-separate to see if it's a symbol.
3802 2000-08-28 John Wiegley <johnw@gnu.org>
3804 * eshell/esh-util.el (eshell-flatten-list): Made this function
3805 into a defsubst form. It gets used very frequently, although
3806 calls don't occur all that often.
3808 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
3811 * eshell/esh-cmd.el (eshell-rewrite-while-command):
3812 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
3814 (eshell-copy-handles): Created a new macro for duplicating the
3815 current set of open handles. This is needed by the looping
3817 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
3818 is not incorrectly stomped on.
3820 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
3821 declaration for pcomplete-use-paring.
3822 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
3823 value of eshell-cmpl-use-paring.
3824 * pcomplete.el (pcomplete-use-paring): New config variable, to
3825 indicate whether paring should be used.
3826 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
3827 completion alternatives that have already been used.
3829 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
3830 bound to C-c C-y, which will repeat the previous N arguments
3831 (based on prefix argument).
3832 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
3834 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
3835 if there is no *Help* buffer. This is for XEmacs, which renames
3836 its help buffers uniquely. TODO: Find out what the current buffer
3839 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
3840 first entry that correlates to a passwd/group number. Later
3841 entries (used for group/user name aliasing to multiple IDs) are
3844 * eshell/em-xtra.el (eshell/expr):
3845 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
3846 (eshell-grep, eshell/diff, eshell/locate):
3847 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
3848 argument list, before passing it to the system command.
3850 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
3851 `find-tag' for use at final position in Eshell buffers (which
3852 otherwise triggers an error on Emacs 21).
3853 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
3854 buffer, if it is currently bound to `find-tag'.
3856 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
3857 in the list of matched Makefile names.
3858 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
3859 directory, prefer its contents to Makefile.
3861 * eshell/em-dirs.el (eshell/cd): cd commands that look up
3862 directory parts (like "cd old new", or "cd =regexp"), are now case
3863 sensitive on non-Windows/DOS platforms.
3865 * eshell/esh-mode.el (eshell-parse-command-input): When a user
3866 types RET after an open delimiter (like "), display a message
3867 indicating that Eshell is waiting for the closing delimiter.
3869 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
3870 environment variables.
3872 * eshell/em-unix.el (eshell/diff): Added logic to fail more
3873 gracefully if the user enters incorrect arguments.
3875 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
3878 * eshell/esh-var.el (eshell-interpolate-variable):
3879 * eshell/esh-mode.el (eshell-move-argument):
3880 * eshell/em-unix.el (eshell-du-sum-directory):
3881 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
3882 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
3885 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
3886 to ensure the `preserve' flag gets propagated when doing recursive
3889 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
3891 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
3892 Don't convert \n into \0177 in memory.
3893 (eshell-read-history, eshell-write-history): Convert \n to \0177,
3894 and back again, when reading and writing.
3896 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
3898 * eshell/esh-util.el (eshell-processp): Added to relieve constant
3899 testing of `fboundp' on `processp'.
3901 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
3902 (eshell/jobs): Don't call process-list if it is not bound.
3903 (eshell-gather-process-output): Support systems where async
3904 subprocesses aren't supported.
3905 (eshell-scratch-buffer, eshell-last-sync-output-start): New
3908 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
3909 eshell-do-eval returns t.
3910 (eshell-do-pipelines-synchronously): New defmacro.
3911 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
3912 when async subprocesses aren't supported.
3913 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
3914 if async subprocesses aren't supported.
3915 (eshell-resume-command): Don't assume STATUS is a string.
3917 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
3919 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
3920 (eshell-close-target, eshell-get-target): Use eshell-processp.
3921 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
3923 (eshell-get-target, eshell-create-handles): Doc fix.
3925 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
3927 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
3928 criterion to include commands that output something, as long as it
3929 leaves both the command and the end-of-buffer visible when the
3931 (eshell-review-quick-commands): Adjust the help doc string
3934 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
3936 * locate.el (locate): Cleaned up locate command's interactive prompting
3937 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
3939 * filecache.el (file-cache-case-fold-search): New variable
3940 (file-cache-assoc-function): New variable
3941 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
3942 Use file-cache-case-fold-search variable
3943 (file-cache-add-file): Use file-cache-assoc-function
3944 (file-cache-delete-file): likewise
3945 (file-cache-directory-name): likewise
3946 (file-cache-debug-read-from-minibuffer): likewise
3948 2000-08-28 Gerd Moellmann <gerd@gnu.org>
3950 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
3951 (abbrev-table-name): New function.
3952 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
3953 If non-nil list local abbrev, only.
3955 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
3957 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
3958 from Gnus support code, and use special article copy buffer
3959 `(gnus-original-article-buffer)' instead. This allows to get rid
3960 of article-hide-headers usage (which breaks in the latest Gnus
3961 version). Thanks to Detlev Zundel.
3963 2000-08-28 Kenichi Handa <handa@etl.go.jp>
3965 * international/quail.el (quail-use-package): Hide "... loaded"
3967 (quail-start-translation, quail-start-conversion): Likewise.
3969 * international/kkc.el (kkc-region): Hide "... loaded" message.
3971 2000-08-27 Dave Love <fx@gnu.org>
3973 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
3975 2000-08-27 Miles Bader <miles@gnu.org>
3977 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
3979 2000-08-27 Kenichi Handa <handa@etl.go.jp>
3981 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
3982 'ja-dic-cnv), not (require 'skkdic-cnv).
3984 2000-08-26 Miles Bader <miles@gnu.org>
3986 * faces.el (face-x-resources): Add entry for :inherit.
3987 * cus-face.el (custom-face-attributes): Add support for :inherit
3988 attribute. Add support for relative face heights.
3989 (custom-face-attributes-get): Treat `nil' as being a default value
3990 for :inherit (as well as `unspecified').
3992 * faces.el (set-face-attribute): Update doc string.
3993 (face-attribute-name-alist): Add :inherit.
3994 (face-valid-attribute-values): Handle :inherit.
3995 (face-read-string): Rephrase prompt to be less confusing.
3996 Assume that DEFAULT is a string, since we must return a string.
3997 (face-read-integer): Use `format' to turn DEFAULT into an
3998 acceptable default for face-read-string. Match NEW-VALUE against
3999 the string "unspecified", not the symbol `unspecified', since
4000 that's what face-read-string returns.
4001 (read-face-attribute): Lookup a name for old-value in valid, and
4002 use it as a default if we find one. Treat all values from
4003 face-read-string as strings. If the default is used, don't do any
4004 more processing on the value, just use the old value directly.
4005 (read-face-and-attribute, modify-face): Tweak prompt.
4006 (read-face-name): Don't assume prompt ends with a space.
4008 * faces.el (describe-face): Add support for :inherit attribute.
4010 2000-08-25 Kenichi Handa <handa@etl.go.jp>
4012 * terminal.el (terminal-emulator): Fix args to `concat'. Now
4013 concat doesn't accept interger.
4015 * international/kkc.el: Remove SKK from Keywords. Require
4016 ja-dic-utl instead of skkdic-utl.
4018 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
4019 Provide ja-dic-cnv instead of skkdic-cnv.
4020 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
4021 (iso-2022-7bit-short): Add safe-charsets property.
4022 (skkdic-convert-postfix): Search Japanese chou-on character in
4023 addition to Hiragana character.
4024 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
4025 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
4026 (batch-skkdic-convert): Likewise.
4028 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
4029 Provide ja-dic-utl instead of skkdic-utl.
4030 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
4032 2000-08-24 Dave Love <fx@gnu.org>
4034 * disp-table.el (standard-display-default): Make the test of `l'
4037 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
4040 * international/iso-ascii.el: Make pilcrow convenient string
4041 consistent with section.
4042 (iso-ascii-display): Set up multibyte characters as well as
4045 2000-08-24 Kenichi Handa <handa@etl.go.jp>
4047 * international/mule-cmds.el (reset-language-environment): Set
4048 default-process-coding-system to '(undecided . iso-latin-1), which
4049 makes process I/O almost consistent with file I/O. Call this
4050 function when mule-cmds.el[c] is loaded.
4052 2000-08-22 Andrew Innes <andrewi@gnu.org>
4054 * makefile.w32-in: New file.
4056 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
4058 * comint.el (comint-output-filter): Compare end of
4059 comint-last-output-overlay with the start of the newly inserted
4060 text, not the end, when deciding whether to extend it.
4061 Set saved-point's insertion type to advance after insertion.
4063 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
4064 since this is now done independently of font-lock mode.
4066 2000-08-21 Gerd Moellmann <gerd@gnu.org>
4068 * server.el (server-kill-new-buffers): New user option.
4069 (server-existing-buffer): New buffer-local variable.
4070 (server-visit-files): When using an existing buffer, set
4071 server-existing-buffer to t.
4072 (server-buffer-done): If server-kill-new-buffers is t, kill the
4073 buffer, unless it was already present before visiting it with
4076 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
4078 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
4079 even if the display doesn't support colors: some displays will
4080 support bold/underline faces.
4082 2000-08-21 Gerd Moellmann <gerd@gnu.org>
4084 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
4086 * startup.el (command-line): If user's init file had an error,
4087 add explanatory text to *Messages*.
4089 2000-08-21 Kenichi Handa <handa@etl.go.jp>
4091 * man.el (Man-getpage-in-background): Decode the process output by
4092 the system locale coding system.
4094 2000-08-20 Dave Love <fx@gnu.org>
4096 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
4097 Don't test x-popup-menu.
4098 (function) <complete-function>: Complete only fbound symbols.
4099 <validate, value>: New.
4100 (variable) <complete-function>: Complete only bound symbols.
4101 (coding-system): Add :base-only, :complete-function, :validate,
4102 :value, :prompt-match.
4103 (widget-coding-system-prompt-value): Use read-coding-system and
4105 (editable-field): Add :help-echo.
4106 (widget-push-button-gui, widget-push-button-cache)
4107 (widget-gui-action, widget-editable-list-gui): COmment out, along
4109 (widget-at): Make arg optional.
4110 (widget-echo-help): Adjust for current help-echo calling sequence.
4111 (widget-specify-field, widget-specify-button)
4112 (widget-specify-insert, widget-get-sibling, widget-image-find)
4113 (widget-convert, widget-insert, widget-leave-text)
4114 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
4115 (widget-setup, widget-field-find, widget-before-change)
4116 (widget-after-change, widget-default-complete)
4117 (widget-default-create, widget-default-delete)
4118 (widget-push-button-value-create, editable-field)
4119 (widget-field-prompt-value, widget-field-validate)
4120 (widget-choice-value-create, widget-choice-action)
4121 (widget-choice-validate, widget-checklist-add-item)
4122 (widget-radio-add-item, widget-radio-chosen)
4123 (widget-radio-value-inline, widget-editable-list-value-create)
4124 (widget-editable-list-entry-create)
4125 (widget-documentation-link-add)
4126 (widget-documentation-string-value-create)
4127 (widget-regexp-validate, widget-file-complete)
4128 (widget-sexp-validate, widget-plist-convert-widget)
4129 (widget-plist-convert-widget, widget-alist-convert-widget)
4130 (widget-alist-convert-widget, widget-color-complete): Simplify,
4131 particularly to avoid bindings which aren't optimized out.
4133 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
4135 (down-list, backward-up-list, up-list, kill-sexp)
4136 (backward-kill-sexp, mark-sexp): Make arg optional.
4137 (lisp-complete-symbol): Add optional arg PREDICATE.
4139 * cus-start.el: Add display-buffer-reuse-frames,
4140 file-coding-system-alist.
4142 2000-08-20 Gerd Moellmann <gerd@gnu.org>
4144 * startup.el (command-line): Clear realized faces after
4145 modifying TTY color mappings.
4147 2000-08-20 Miles Bader <miles@gnu.org>
4149 * faces.el (face-attr-match-p): Don't return true if ATTRS are
4150 merely a subset of FACE's attributes.
4152 2000-08-19 Miles Bader <miles@gnu.org>
4154 * comint.el (comint-output-filter): Save the point with a marker,
4155 not just a buffer position.
4157 * international/mule.el (set-buffer-process-coding-system): Make
4158 interactive prompt less confusing.
4160 2000-08-19 Gerd Moellmann <gerd@gnu.org>
4162 * hilit-chg.el: General cleanup of doc strings, comments and
4165 2000-08-19 Miles Bader <miles@gnu.org>
4167 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
4168 Compiler macro removed; beginning-of-line is no longer always
4169 equivalent to forward-line, in the presence of fields.
4171 * comint.el (comint-output-filter): Remove ad-hoc saving of
4172 restriction, and just use save-restriction, now that it works
4173 correctly. Don't adjust comint-last-input-start to account for
4174 our insertion; it shouldn't have moved because we don't use
4175 insert-before-markers anymore. Comment out call to
4176 `force-mode-line-update'; why is it here?
4178 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
4179 while checking for prompt to delete. Use `forward-line 0'
4180 instead of beginning-of-line.
4181 (gud-filter): Temporarily widen gud comint buffer while
4184 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
4186 * progmodes/sh-script.el: Big bag of typos.
4188 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
4189 check since ispell-process is not bound when ispell is not yet loaded.
4191 2000-08-18 Dave Love <fx@gnu.org>
4193 * image.el (find-image): Copy `spec' before using plist-put.
4195 2000-08-18 Gerd Moellmann <gerd@gnu.org>
4197 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
4200 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
4201 backward-kill-sexp, analogous to kill-sexp.
4203 * progmodes/icon.el (icon-indent-line)
4204 (icon-is-continuation-line): Handle comments specially.
4206 2000-08-17 Ken Stevens <k.stevens@ieee.org>
4208 * ispell.el: Set to standard author/maintainer/keyword fields.
4209 Fine tuning to menu map appearance and operation, and added help.
4210 Remove `start' and `end' error messages when compiling.
4211 (ispell-choices-win-default-height): Fixed comment string.
4212 (ispell-dictionary-alist-1): Fixed regexp in castellano and
4213 castellano8 dictionaries.
4214 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
4215 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
4216 dictionary, added italiano dictionary.
4217 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
4219 (ispell-tex-skip-alists): Added psfig support.
4220 (ispell-skip-html): Renamed from ispell-skip-sgml.
4221 (ispell-begin-skip-region-regexp, ispell-skip-region)
4222 (ispell-minor-check): Improved html skipping support to skip across
4223 code, and recognize `&' commands without propper `;' syntax;
4224 (ispell-process-line): Fix alignment error when manually
4225 correcting spelling.
4226 (ispell): Fix comment string.
4227 (ispell-add-per-file-word-list): Always put word list on new line.
4229 2000-08-17 Gerd Moellmann <gerd@gnu.org>
4231 * format.el (format-encode-run-method): Fix error message to say
4232 `encode' instead of `decode'. Use save-window-excursion around
4233 shell-command-on-region as in format-decode-run-method because
4234 shell-command-on-region can display a buffer with error output.
4235 (format-decode): Don't record undo information for the decoding.
4236 (format-annotate-function): Add parameter FORMAT-COUNT. Make
4237 that number part of the temporary buffer name so that more than
4238 one decoding using a temporary buffer can happen safely.
4240 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
4241 of `A-z' in the regexp.
4243 * hilit-chg.el: Fix typos in commentary.
4245 * help.el (view-emacs-news): Rewritten for new naming scheme
4248 * startup.el (command-line): Pop to *Messages* in case an error
4249 is signaled while loading user-init-file.
4251 2000-08-17 Andreas Schwab <schwab@suse.de>
4253 * files.el (insert-directory): Don't lose original file name,
4254 undoing an undocumented change.
4256 2000-08-17 Alex Schroeder <alex@gnu.org>
4258 * sql.el (sql-magic-go): Use comint-bol.
4259 (sql-copy-column): Use comint-line-beginning-position.
4260 (comint-line-beginning-position): Define a replacement for
4261 comint-line-beginning-position if it is not fboundp.
4263 2000-08-17 Alex Schroeder <alex@gnu.org>
4265 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
4266 it didn't have any effect anyway.
4268 2000-08-17 Alex Schroeder <alex@gnu.org>
4270 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
4271 --pset and pager=off instead of sending \\o|cat at the beginning
4274 2000-08-17 Miles Bader <miles@gnu.org>
4276 * progmodes/octave-inf.el: Add compatibility definition of
4277 comint-line-beginning-position.
4279 2000-08-17 Kenichi Handa <handa@etl.go.jp>
4281 * startup.el (normal-top-level): Look in each dir in load-path for
4282 a leim-list.el file too. This assures of loading leim-list.el
4283 that is created at Emacs installation time even if a user have his
4286 2000-08-17 Miles Bader <miles@gnu.org>
4288 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
4289 foreground color to black if the background is dark.
4291 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
4293 * loadhist.el (unload-feature): Typo.
4295 * finder.el (finder-compile-keywords):
4296 * cus-dep.el (custom-make-dependencies): Add local-variable settings
4297 to the generated file.
4299 * mail/mh-e.el (mh-make-local-vars):
4300 Replace make-variable-buffer-local with make-local-variable.
4303 * options.el (Edit-options-{set,toggle,t,nil}):
4304 * mail/mailabbrev.el (mail-abbrevs-mode):
4305 * textmodes/tex-mode.el (tex-expand-files):
4306 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
4308 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
4310 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
4311 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
4312 Allow going past the last element.
4313 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
4314 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
4315 (cvs-mouse-toggle-mark): Don't move point.
4316 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
4318 * progmodes/compile.el (grep): Provide a default set of files.
4319 (next-error): Docstring fix.
4320 (compilation-find-file): Avoid find-file (fails in a dedicated window).
4322 * emacs-lisp/easy-mmode.el (define-minor-mode):
4323 Use `symbol-value' to keep the byte-compiler quiet.
4325 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
4326 (diff-find-source-location): New fun, extracted from diff-goto-source.
4327 (diff-goto-source): Use it.
4328 (diff-next-complex-hunk, diff-filter-lines): New function.
4329 (diff-apply-hunk): New command.
4331 * smerge-mode.el (smerge-mode-menu): Doc fix.
4333 * msb.el (msb-mode): Define it in terms of define-minor-mode.
4335 2000-08-16 Dave Love <fx@gnu.org>
4337 * windmove.el (windmove) <defgroup>: Add :version.
4339 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
4340 (goto-address-fontify-p, goto-address-highlight-p)
4341 (goto-address-url-face, goto-address-url-mouse-face)
4342 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
4343 (goto-address-url-regexp): Use thing-at-point-url-regexp.
4344 (goto-address-fontify, goto-address-at-mouse): Simplify,
4345 (goto-address-at-point): browse-url-url-at-point,
4346 goto-address-find-address-at-point can return nil.
4347 (goto-address-find-address-at-point): Return nil on failure.
4349 * align.el (align) <defgroup>: Add :version.
4351 * calculator.el (calculator): Add :version.
4352 (calculator): Use two lines for calculator window if `modeline'
4355 * play/5x5.el: Doc fixes.
4356 (5x5) <defgroup>: Add :version.
4358 * play/fortune.el (fortune) <defgroup>: Add :version.
4359 (fortune-append): Fix error message.
4360 (fortune-from-region): Doc fix.
4362 * play/pong.el (pong): Doc fix.
4364 * play/morse.el: Keywords, commentary, autoloads.
4366 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
4368 * desktop.el (desktop-save): Don't look at symbol-value of a
4369 member of minor-mode-alist, unless it is boundp.
4371 2000-08-16 Sam Steingold <sds@gnu.org>
4373 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
4374 `while'; use `with-current-buffer' instead of `save-excursion'.
4375 Removed unnecessary kludges now that "*Buffer List*" is excluded.
4377 2000-08-16 Kenichi Handa <handa@etl.go.jp>
4379 * international/ccl.el (declare-ccl-program): Docstring modified.
4380 (ccl-execute-with-args): Likewise.
4382 2000-08-16 Miles Bader <miles@gnu.org>
4384 * progmodes/sql.el: Add compatibility definition of
4385 comint-line-beginning-position.
4387 2000-08-15 Gerd Moellmann <gerd@gnu.org>
4389 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
4390 'buffer-menu' property.
4391 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
4393 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
4394 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
4397 * buff-menu.el (list-buffers-noselect): Don't display the
4398 *Buffer List* buffer.
4400 * font-lock.el: Require jit-lock to prevent a very late
4401 `Loading jit-lock' message.
4403 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
4404 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
4407 2000-08-15 Miles Bader <miles@gnu.org>
4409 * textmodes/ispell.el (ispell-graphic-p): New constant.
4410 (ispell-choices-win-default-height, ispell-help): Use
4411 `ispell-graphic-p' instead of `xemacsp'.
4413 2000-08-15 Dave Love <fx@gnu.org>
4415 * simple.el: Autoload widget-convert when compiling.
4416 (mail-user-agent): Doc fix.
4418 * help.el (function-called-at-point, variable-at-point): Use
4420 (help-manyarg-func-alist): Add insert-and-inherit.
4422 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
4424 * delsel.el (delsel-unload-hook): New function.
4426 * find-file.el: Doc fixes. Move provide to end.
4427 (ff) <defgroup>: Add :link.
4428 (ff-goto-click): Deleted.
4429 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
4430 Use mouse-set-point.
4432 * textmodes/tildify.el: Doc fixes.
4433 (tildify) <defgroup>: Add:version.
4435 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
4436 (glasses-custom-set): Use set-default, not set.
4437 (minor-mode-alist): Propertize the lighter.
4438 (glasses-mode): Provide optional arg.
4440 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
4441 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
4442 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
4443 option. Provide :type.
4444 (cwarn-configuration): Provide :type.
4445 (cwarn-mode): Doc fix.
4447 * add-log.el (change-log-merge): Doc fix.
4448 (change-log-redate): New command.
4450 * net/browse-url.el (browse-url-filename-alist): Add a clause for
4452 (browse-url): Use dolist, not mapcar.
4453 (browse-url-at-point): Check for null url.
4454 (browse-url-event-buffer, browse-url-event-point): Functions
4456 (browse-url-at-mouse, browse-url-netscape): Simplify.
4458 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
4460 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
4461 Fix previous change to mapcan.
4462 (msb--init-file-alist, msb--add-separators)
4463 (msb--make-keymap-menu): Simplify.
4464 (msb--choose-file-menu): Use copy-sequence.
4465 (msb-mode-map): Add title to keymap.
4466 (msb-unload-hook): New function.
4468 * bs.el: Fix indentation.
4469 (bs) <defgroup>: Add :links.
4471 (bs-apply-sort-faces): Don't use window-system.
4472 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
4474 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
4476 * calendar/timeclock.el (timeclock-file): Run .timelog through
4477 convert-standard-filename.
4479 2000-08-14 Gerd Moellmann <gerd@gnu.org>
4481 * emacs-lisp/authors.el: New file.
4483 * paren.el (show-paren-priority): New user option.
4484 (show-paren-function): Set overlay priorities to
4485 show-paren-priority.
4487 2000-08-14 Miles Bader <miles@gnu.org>
4489 * comint.el (comint-bol): Use `forward-line 0' instead of calling
4490 beginning-of-line with inhibit-field-text-motion bound.
4492 2000-08-14 Gerd Moellmann <gerd@gnu.org>
4494 * calendar/timeclock.el: New file.
4496 2000-08-14 David Ponce <david@dponce.com>
4498 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
4499 `widget-button-click'. so that one can use left mouse button to
4500 click on dialog buttons.
4502 2000-08-14 Emmanuel Briot <briot@gnat.com>
4504 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
4505 identifiers, since XML is case sensitive
4507 2000-08-12 Miles Bader <miles@gnu.org>
4509 * comint.el (comint-output-filter): Don't bother frobbing
4510 window-start, it doesn't seem to be necessary.
4512 * comint.el (comint-send-string, comint-send-region): Make into
4513 real functions. Snapshot the prompt before sending.
4515 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4517 * info.el (Info-find-emacs-command-nodes): Rewrite to use
4518 technique similar to Info-index, instead of relying on specific
4519 names of relevant Index nodes.
4520 (Info-goto-emacs-command-node): Bind Info-history to nil when
4521 going to the first node found by Info-find-emacs-command-nodes.
4523 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
4525 * menu-bar.el (menu-bar-help-menu): Add a :help string.
4527 2000-08-10 Miles Bader <miles@gnu.org>
4529 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
4531 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
4533 * info.el (Info-file-list-for-emacs): More elements for the
4534 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
4537 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
4539 * comint.el (comint-send-input): Make the newline boundary overlay
4540 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
4541 (comint-output-filter): Use `insert' instead of
4542 `insert-before-markers'. Extend comint-last-output-overlay when
4543 necessary since we can't rely on insert-before-markers to do it.
4544 * gud.el (gud-filter): Use `with-current-buffer' instead of
4545 save-excursion when inserting the output, so that point gets
4546 updated correctly; the old method relied on a rather dodgy
4547 side-effect of comint-output-filter to avoid the effect of
4550 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
4552 * files.el (recover-file): Call insert-directory instead of
4553 invoking `ls' directly.
4555 2000-08-10 Miles Bader <miles@gnu.org>
4557 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
4558 (comint-last-prompt-overlay): New variables.
4559 (comint-output-filter): Implement prompt highlighting.
4560 (comint-snapshot-last-prompt): New function.
4561 (comint-send-input): Snapshot the last prompt.
4562 Use comint-highlight-input-face.
4563 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
4564 Use defface instead of defcustom.
4565 (send-invisible, comint-send-eof): Snapshot the last prompt.
4566 (comint-delchar-or-maybe-eof): Use comint-send-eof.
4567 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
4569 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
4571 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
4572 (regexp-opt-group): Use a list of chars for `letters'.
4573 (regexp-opt-charset): `chars' is now a list of chars.
4574 Use a char-table rather than a vector so it works for multibyte chars.
4576 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
4577 Set cvs-minor-current-files to the selected fileinfo.
4578 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
4579 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
4581 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
4583 * files.el (insert-directory): Don't call access-file on
4584 directories on DOS and Windows.
4586 2000-08-09 Kenichi Handa <handa@etl.go.jp>
4588 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
4589 longer if necessary.
4590 (ccl-embed-code): Call ccl-embed-data to store CODE in
4593 2000-08-09 Miles Bader <miles@gnu.org>
4595 * comint.el (comint-output-filter): Properly handle the case where
4596 the text surrounded by comint-last-output-overlay was deleted.
4598 2000-08-08 Gerd Moellmann <gerd@gnu.org>
4600 * info.el (Info-insert-dir): Use Info-additional-directory-list if
4602 (Info-file-list-for-emacs): Remove "info" from the list because
4603 that leads to trying to use the documentation from file `info'
4604 in various situations where it isn't appropriate, for instance
4607 * ffap.el (ffap-read-file-or-url-internal): Handle case that
4608 DIR and/or STRING are nil.
4610 * progmodes/compile.el (compilation-setup): Make variable
4611 compilation-error-screen-columns buffer-local, as some comment
4612 in the code suggests it should be.
4614 * files.el (auto-mode-interpreter-regexp): New variable.
4615 (set-auto-mode): Use it.
4617 * indent.el (indent-for-tab-command): Doc fix.
4619 * mouse-sel.el (mouse-sel-mode): Doc fix.
4621 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
4624 * help.el (print-help-return-message): When
4625 display-buffer-reuse-frames is set, let the help window been quit,
4626 instead of deleting it, which might delete a reused frame.
4628 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
4630 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
4631 rename a directory to a name that differs only by its letter case.
4633 2000-08-08 Kenichi Handa <handa@etl.go.jp>
4635 * international/quail.el (quail-define-rules): Handle Quail decode
4636 map correctly. Add code for supporting annotations.
4637 (quail-install-decode-map): New function.
4638 (quail-defrule-internal): New optional arguments decode-map and
4640 (quail-advice): New function.
4642 2000-08-07 Sam Steingold <sds@gnu.org>
4644 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
4645 `defconst', `define-condition', `with-slots'.
4646 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
4648 2000-08-03 Miles Bader <miles@gnu.org>
4650 * comint.el (comint-use-prompt-regexp-instead-of-fields):
4652 (comint-prompt-regexp, comint-get-old-input): Document dependence on
4653 comint-use-prompt-regexp-instead-of-fields.
4654 (comint-send-input): Add `input' field property to stuff we send to
4655 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
4656 (comint-output-filter): Add `output' field property to process
4657 output, if comint-use-prompt-regexp-instead-of-fields is nil.
4658 (comint-replace-by-expanded-history)
4659 (comint-get-old-input-default, comint-show-output)
4660 (comint-backward-matching-input, comint-forward-matching-input)
4661 (comint-next-prompt, comint-previous-prompt): Use field
4662 properties if comint-use-prompt-regexp-instead-of-fields is nil.
4663 (comint-line-beginning-position): New function.
4664 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
4665 (comint-replace-by-expanded-history-before-point): Use
4666 comint-line-beginning-position and line-end-position.
4667 (comint-last-output-overlay): New variable.
4668 (comint-mode): Make `comint-last-output-overlay' buffer-local.
4670 * shell.el (shell-prompt-pattern): Doc change.
4671 (shell-backward-command): Use line-beginning-position.
4673 * gud.el (gud-gdb-complete-command): Use
4674 comint-line-beginning-position.
4676 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
4677 comint-bol doesn't actually go to the beginning of the line.
4679 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
4680 if comint-use-prompt-regexp-instead-of-fields is non-nil.
4681 (try-expand-line-all-buffers): Likewise.
4683 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
4684 explicitly matching comint-prompt-regexp.
4685 (sql-copy-column): Use comint-line-beginning-position instead of
4686 explicitly matching comint-prompt-regexp.
4688 * progmodes/octave-inf.el (inferior-octave-complete): Use
4689 comint-line-beginning-position.
4691 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
4693 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
4694 looking for a prompt, use `forward-line 0' instead of
4695 `beginning-of-line', to avoid getting caught by an input field.
4697 2000-08-07 Gerd Moellmann <gerd@gnu.org>
4699 * files.el (shell-quote-wildcard-pattern): Make sure to return
4700 PATTERN, in the Unix case.
4702 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
4704 * play/zone.el (zone): Discard any pending input before running
4705 the randomly-chosen pgm.
4707 2000-08-07 Kenichi Handa <handa@etl.go.jp>
4709 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
4710 checking the existence of any multibyte characters.
4712 2000-08-06 Gerd Moellmann <gerd@gnu.org>
4714 * help.el (describe-mode): Test minor-mode symbol for being
4715 bound before testing its value for being nil.
4717 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
4718 `first', `second', and `third'.
4720 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
4721 (second): Make it an alias for `cadr'.
4723 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
4725 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
4726 types of display support faces now.
4728 2000-08-05 Gerd Moellmann <gerd@gnu.org>
4730 * pcvs.el (require): Require `cl' during compilation, only.
4732 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
4733 (toplevel): Remove `remq' and `remove' from autoloads.
4734 (cl-fake-autoloads): New variable. If set, arrange for an error
4735 when CL functions etc. are autoloaded.
4737 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
4739 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
4741 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
4742 popped up, but the user clicks outside the menu, return an empty
4743 regexp (that causes unhighlight-regexp to have no effect).
4745 * menu-bar.el (menu-bar-games-menu): Add Zone.
4747 * hi-lock.el (toplevel): Require font-lock.
4749 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4751 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
4752 (ebnf-8-bit-chars): New var for bug fix.
4753 (ebnf-string): Bug fix.
4755 2000-08-03 Sam Steingold <sds@gnu.org>
4757 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
4758 instead of `buffer-string'.
4759 (require 'cl): Always, not just when compiling.
4760 `ignore-errors' in `interactive', `list*', `defun*' &c make this
4763 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
4765 * international/mule-cmds.el (select-safe-coding-system): Make
4766 the message text about selecting a safe coding system more clear.
4768 2000-08-02 Gerd Moellmann <gerd@gnu.org>
4770 * hi-lock.el: New file.
4772 * play/zone.el: New file.
4774 * replace.el (occur): Set tab-width in the *Occur* buffer to the
4775 value of tab-width in the original buffer. Choose a line number
4776 format that's a multiple of the original buffer's tab width, so
4777 that lines appear right.
4779 * textmodes/ispell.el (ispell): New function, replacing an alias.
4780 Spell-check active region if in transient-mark-mode and mark
4781 is active; otherwise spell-check buffer.
4783 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4785 * ps-mule.el: Fix a customization problem on
4786 ps-mule-font-info-database-default.
4788 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
4790 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
4791 display-mouse-p instead of window-system.
4792 (ebrowse-member-mode-map): Ditto.
4794 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4796 * progmodes/ebnf2ps.el: Update ps-print functions call.
4797 Indentation fix. Doc fix.
4798 (ebnf-version): New version number (3.2).
4799 (ebnf-format-color, ebnf-begin-job): Code fix.
4801 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
4803 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
4804 font lock support on window-system.
4805 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
4807 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
4808 display-color-p, if fboundp, instead of window-system.
4810 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
4812 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
4813 instead of window-system.
4815 * wid-edit.el (widget-choose): Use display-mouse-p instead of
4817 (widget-choice-mouse-down-action): Use display-popup-menus-p
4818 instead of window-system.
4820 * strokes.el (strokes-file): Run the file name through
4821 convert-standard-filename.
4822 (strokes-mode): Call display-mouse-p instead of looking at
4823 window-system. Change the error message accordingly.
4825 * progmodes/cpp.el (toplevel): Support faces on tty's.
4827 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
4828 (lm-plot-square, lm-init-display): Don't use window-system.
4830 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
4831 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
4833 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
4834 instead of looking at window-system.
4836 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4838 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
4839 of testing if iswitchb-prepost-hooks is bound, because the
4840 latter will always be true when invoking a recursive minibuffer
4841 from an active Iswitchb buffer.
4843 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
4845 * files.el (shell-quote-wildcard-pattern): New function.
4846 (insert-directory): Call it. Only prepend "\" to command on Unix
4847 and GNU/Linux systems.
4849 2000-07-30 Gerd Moellmann <gerd@gnu.org>
4851 * eshell/esh-groups.el: Change custom :link file names
4852 from `eshell.info' to `eshell'.
4854 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
4856 * dired.el (dired-build-subdir-alist): Expand subdirectory names
4857 correctly in recursive ange-ftp listings.
4859 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
4861 * ps-print.el: Fix bug 1: if ps-font-size-internal,
4862 ps-header-font-size-internal and
4863 ps-header-title-font-size-internal variables are not set,
4864 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
4865 face text property is (foreground-color . COLOR) or
4866 `(background-color . COLOR)', ps-print crashes. Doc fix.
4867 (ps-print-version): New version number (5.2.4).
4868 (ps-plot-region): Code fix.
4869 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
4870 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
4873 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
4875 * glasses.el (glasses-make-readable): Fix uncapitalization of
4876 identifiers like `myXMLDocument'.
4878 2000-07-28 Karl Fogel <kfogel@red-bean.com>
4880 * mail/mail-hist.el (mail-hist-previous-input)
4881 (mail-hist-next-input): Do the obvious code factorization.
4882 (mail-hist-retrieve-and-insert): New func, contains common
4884 If inserting a message body, leave point at top.
4886 2000-07-28 Sam Steingold <sds@gnu.org>
4888 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
4889 Use `<=', not `<' to compare times!
4890 (ange-ftp-ls): Remove.
4892 2000-07-27 Gerd Moellmann <gerd@gnu.org>
4894 * play/cookie1.el: Add explanation of how to make cookie.el
4895 compatible with strfile(1) to comment.
4897 * subr.el (remove, remq): New functions.
4899 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
4900 escape `*' in regexps.
4901 (midnight-find): Reverse order of arguments in the funcall of
4904 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
4907 * play/meese.el: Add Commentary section.
4909 2000-07-27 Alex Schroeder <alex@gnu.org>
4911 * sql.el (sql-ms): Added autoload cookie.
4912 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
4913 (sql-oracle): Ditto.
4914 (sql-help): Doc change.
4916 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
4917 types and exceptions.
4919 2000-07-27 Alex Schroeder <alex@gnu.org>
4921 * sql.el (sql-placeholder-history): New variable.
4922 (sql-query-placeholders-and-send): New function that will query
4923 the user and replace placeholders with user input.
4924 (sql-oracle): If running on NT, set comint-input-sender to
4925 sql-query-placeholders-and-send.
4927 (sql-stop): If in the SQLi buffer, insert stop notification, else
4928 present it as a message.
4930 2000-07-27 Alex Schroeder <alex@gnu.org>
4932 * sql.el (sql-input-ring-separator): Doc change.
4933 (sql-input-ring-file-name): Doc change.
4934 (sql-interactive-mode): Use `sql-input-ring-separator' and
4935 `sql-input-ring-file-name' to set the comint-mode equivalents
4936 without making them local variables.
4937 (sql-stop): Don't bind `sql-input-ring-separator' and
4938 `sql-input-ring-file-name' dynamically to their comint-mode
4941 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4943 * international/mule.el (register-char-codings): New function.
4944 (make-coding-system): Handle `safe-chars' specification in the arg
4947 * international/mule-cmds.el
4948 (find-coding-systems-region-subset-p): This function deleted.
4949 (sort-coding-systems-predicate): New variable.
4950 (sort-coding-systems): New function.
4951 (find-coding-systems-region): Use
4952 find-coding-systems-region-internal.
4953 (find-coding-systems-string): Use find-coding-systems-region.
4954 (find-coding-systems-for-charsets): Check
4955 char-coding-system-table.
4956 (select-safe-coding-system-accept-default-p): New variable.
4957 (select-safe-coding-system): Mostly rewritten. New argument
4959 (select-message-coding-system): Call select-safe-coding-system
4960 with ACCEPT-DEFAULT-P arg.
4961 (reset-language-environment): Reset default-sendmail-coding-system
4962 to the default value iso-latin-1.
4963 (set-language-environment): Don't set the obsolete variable
4964 charset-origin-alist.
4966 * international/codepage.el (cp-coding-system-for-codepage-1):
4967 Give `safe-chars' property to make-coding-system.
4969 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
4970 calling select-message-coding-system twice.
4972 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
4973 instead of `safe-charsets'.
4974 (cyrillic-alternativnyj): Likewise.
4975 (ccl-encode-alternativnyj): Don't check the charset
4978 2000-07-27 Kenichi Handa <handa@etl.go.jp>
4980 * composite.el (compose-chars-after): Preserve match data.
4982 2000-07-26 Sam Steingold <sds@gnu.org>
4984 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
4985 (ange-ftp-real-file-newer-than-file-p): New function.
4986 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
4987 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
4989 * tooltip.el (tooltip-float-time): Removed (use `float-time').
4990 * midnight.el (midnight-float-time): Ditto.
4992 2000-07-26 Andreas Schwab <schwab@suse.de>
4994 * files.el (normal-backup-enable-predicate): Correct
4995 interpretation of the return value of compare-strings.
4997 2000-07-26 Gerd Moellmann <gerd@gnu.org>
4999 * isearch.el (isearch-resume): New function.
5000 (isearch-done): Add something to command-history to resume
5002 (isearch-yank-line, isearch-yank-word): Use
5003 buffer-substring-no-properties instead of buffer-substring.
5005 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
5006 of flyspell-mouse-map.
5008 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
5009 duplicate definition.
5010 (makefile-mode): Remove duplicate setting of local-abbrev-table.
5012 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
5013 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
5015 2000-07-25 Sam Steingold <sds@gnu.org>
5017 * net/ange-ftp.el: Get modtime over the net.
5018 (ange-ftp-file-modtime): New function.
5019 (ange-ftp-write-region, ange-ftp-insert-file-contents)
5020 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
5022 (ange-ftp-dot-to-slash): New function.
5023 (ange-ftp-fix-name-for-vms): Use it.
5025 * midnight.el (midnight-buffer-display-time): Use
5026 `with-current-buffer'.
5028 2000-07-25 Gerd Moellmann <gerd@gnu.org>
5030 * find-dired.el: Update copyright notice.
5031 (find-dired): Offer to kill a running `find'.
5033 * enriched.el (enriched-face-ans): For a `foreground-color'
5034 property, return '(("x-color" COLOR))' so that COLOR will be
5035 output as a parameter of the x-color annotation. Likewise for the
5036 `background-color' property. In the case of normal face
5037 properties, don't return annotations for unspecified foreground
5038 and background face attributes.
5040 2000-07-25 Kenichi Handa <handa@etl.go.jp>
5042 * language/japan-util.el (japanese-katakana-region): Fix handling
5045 2000-07-25 Miles Bader <miles@gnu.org>
5047 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
5048 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
5051 2000-07-24 Andrew Innes <andrewi@gnu.org>
5053 * timer.el (timer-activate-when-idle): Add optional parameter
5054 DONT-WAIT. Update docstring.
5055 (run-with-idle-timer): Specify extra parameter to
5056 timer-activate-when-idle, so that timer will be activated
5057 immediately if Emacs is already idle.
5059 * w32-fns.el (w32-using-nt): Fix docstring.
5061 2000-07-24 Dave Love <fx@gnu.org>
5063 * mouse.el (popup-menu): Set last-command-event.
5064 (mouse-major-mode-menu-prefix): Declare.
5066 2000-07-24 Gerd Moellmann <gerd@gnu.org>
5068 * textmodes/flyspell.el: Update to author's version 1.5d.
5070 * progmodes/hideshow.el: Update copyright notice.
5072 * vcursor.el: Set maintainer to FSF, since author cannot
5075 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
5077 * info.el (Info-goto-emacs-key-command-node): Leave a space after
5080 * mouse.el (popup-menu): Run the keymap through indirect-function,
5081 in case it was defined with define-prefix-key. If the menu is a
5082 list of keymaps, look up the binding of user's choice in each one
5084 (mouse-popup-menubar): If the global and local menu-bar keymaps
5085 don't have a prompt string, create one and insert it into the
5086 keymap. Don't barf if current-local-map returns nil.
5088 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
5090 * dired.el (dired-sort-R-check): Added to allow recursive listing
5092 (dired-sort-other): Use it.
5094 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5096 * Release of cc-mode 5.27
5098 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5100 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
5101 c-beginning-of-statement-1 that caused a bad case of recursion
5102 which could consume a lot of CPU in large classes in languages
5103 that have in-expression classes (i.e. Java and Pike).
5105 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
5106 statements before top level constructs (i.e. case 6 is moved
5107 before case 5 and is now case 4) to catch in-expression
5108 classes in top level expressions correctly.
5110 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5112 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
5113 objc-method-intro. Case 4 removed and case 5I added.
5115 * cc-langs.el (c-append-paragraph-start): New variable used by
5116 c-common-init to get paragraph-start correct.
5117 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
5118 initialize paragraph-start to make it correct both with and
5119 without the javadoc special case.
5121 * cc-mode.el (java-mode): Use c-append-paragraph-start to
5122 initialize paragraph-start for javadoc markup.
5124 * cc-vars.el (c-style-variables-are-local-p): Incompatible
5125 change by defaulting this to t. It's motivated by the
5126 confusing behavior that otherwise arise from the style system
5127 when editing both java and non-java files at the same time
5128 (see the comments about style setting in c-common-init).
5130 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5132 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
5133 similar to the one in c-fill-paragraph to check the fill
5134 prefix from the adaptive fill function for sanity.
5136 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5138 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
5141 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5143 * cc-mode.texi Documented the change of cpp-macro.
5145 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5147 * cc-align.el (c-lineup-multi-inher): Handle lines with
5148 leading comma nicely. Extended to handle member initializers
5151 * cc-engine.el: (c-beginning-of-inheritance-list,
5152 c-guess-basic-syntax): Fixed recognition of inheritance lists
5153 when the lines begins with a comma.
5155 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
5157 * cc-vars.el (c-offsets-alist): Changed default for
5158 member-init-cont to c-lineup-multi-inher since it now handles
5159 member initializers and indents better for leading commas.
5161 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5163 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
5164 handling that caused class open lines to be recognized as
5165 statement-conts in some cases.
5167 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
5168 guessed by the adaptive fill function unless point is on the
5169 first line of a block comment.
5171 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
5172 when the buffer ends with a macro continuation char.
5174 * cc-engine.el (c-guess-basic-syntax): Added support for
5175 function definitions as statements in Pike. The first
5176 statement in a lambda block is now labeled defun-block-intro
5177 instead of statement-block-intro.
5179 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
5180 so that the class surrounding point is selected, not the one
5181 innermost in the state.
5183 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
5184 recognition of switch labels having hanging multiline
5187 * cc-engine.el (c-beginning-of-member-init-list): Broke out
5188 some code in c-guess-basic-syntax to a separate function.
5189 * cc-engine.el (c-just-after-func-arglist-p): Fixed
5190 recognition of member inits with multiple line arglists.
5191 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
5192 member-init-cont when the commas are in funny places.
5194 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5196 * cc-defs.el (c-auto-newline): Removed this macro since it's
5199 * cc-engine.el (c-looking-at-bos): New helper function.
5200 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
5201 inexpr and toplevel classes apart in Pike.
5203 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
5206 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
5207 constant, since "class" can introduce an in-expression class
5210 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5212 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
5213 indentation on cpp-macro lines.
5215 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
5216 a syntax modifier like comment-intro, to make it possible to
5217 get syntactic indentation for preprocessor directives. It's
5218 incompatible wrt to lineup functions on cpp-macro, but it has
5219 no observable effect in the 99.9% common case where cpp-macro
5222 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5224 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
5225 member-init-cont when the preceding arglist is several lines.
5227 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5229 * cc-styles.el (c-style-alist): The basic offset for the BSD
5230 style corrected to 8.
5232 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5234 * cc-styles.el (c-style-alist): Adjusted the indentation of
5235 brace list openers in the gnu style.
5237 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5239 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
5241 * cc-cmds.el (c-electric-brace, c-electric-slash,
5242 c-electric-star, c-electric-semi&comma, c-electric-colon,
5243 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
5244 when c-syntactic-indentation is nil.
5246 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
5247 we were left at comments preceding the first statement when
5248 reaching the beginning of the buffer.
5250 * cc-vars.el (c-syntactic-indentation): New variable to turn
5251 off all syntactic indentation.
5253 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5255 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
5256 between the text and the block comment ender when it hangs,
5257 depending on how many there are before the fill.
5259 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5261 * cc-engine.el (c-beginning-of-closest-statement): New helper
5262 function to go back to the closest preceding statement start,
5263 which could be inside a conditional statement.
5264 * cc-engine.el (c-guess-basic-syntax): Use
5265 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
5267 * cc-engine.el (c-guess-basic-syntax): Better handling of
5268 arglist-intro, arglist-cont-nonempty and arglist-close when
5269 the arglist is nested inside parens. Cases 7A, 7C and 7F
5272 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
5273 up-to-date with javadoc 1.2.
5275 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5277 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
5278 multiline Pike type decls.
5280 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5282 * cc-cmds.el (c-indent-new-comment-line): Always break
5283 multiline comments in multiline mode, regardless of
5286 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5288 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
5289 fully::qualified::names in C++ member init lists. Preamble in
5292 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5294 * cc-langs.el (c-common-init): Handling of obsolete variables
5295 moved to c-initialize-cc-mode. More compatible style override
5296 when using global style variables.
5297 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
5298 variables moved here.
5300 * cc-mode.texi: Documented the special behavior of
5301 c-special-indent-hook as a style variable. Don't talk about
5302 doing (c-make-styles-buffer-local t) in a mode hook, since
5303 that's already too late to work right.
5305 * cc-styles.el (c-make-styles-buffer-local): Flag style
5306 variable localness in c-style-variables-are-local-p to make
5307 the compatibility measure in c-common-init work well.
5309 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
5310 longer contain set-from-style.
5311 * cc-styles.el (c-initialize-builtin-style): Don't check for
5312 set-from-style on c-special-indent-hook.
5313 * cc-styles.el (c-copy-tree): Obsolete. The standard function
5314 copy-alist is sufficient now.
5316 * cc-styles.el (c-set-style, c-set-style-1,
5317 c-get-style-variables): Fixes to variable initialization so
5318 that duplicate entries in styles have the same effect
5319 regardless of DONT-OVERRIDE.
5321 * cc-styles.el (c-set-style-2): Fixed bug where the
5322 initialization of inheriting styles failed when the
5323 dont-override flag is set.
5325 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
5328 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
5330 * cc-defs.el (c-forward-comment): Removed the workaround
5331 introduced in 5.38 since it had worse side-effects. If a line
5332 contains the string "//\"", it regarded the // as a comment
5333 start since the \ temporarily doesn't have escape syntax.
5335 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
5337 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
5338 ada-xref.el before ada-prj.el, so that the Project menu is created
5339 when ada-prj tries to add to it.
5340 (ada-activate-keys-for-case): Suppress the characters that are not
5341 part of the Ada syntax. Better compatibility with else-mode
5342 (ada-adjust-case-interactive): When auto-casing is not active,
5343 correctly insert newlines (used to insert only ^M). Prevent the
5344 syntax table from being changed in case of an error
5345 (or '_' becomes part of a word and some commands are confused).
5346 Do nothing if ada-auto-case is nil.
5347 (ada-after-keyword-p): Ignore keywords that are also attributes
5348 (ada-batch-reformat): Update usage comment
5349 (ada-call-from-contextual-menu): New function
5350 (ada-case-read-exceptions): Reinitialize the casing exception list
5351 first to nil first, so that the casing exception file can be
5353 (ada-check-defun-name): Handles "configure" keyword for gnatdist
5355 (ada-compile-goto-error): Fix regexp used to detect a file:line
5356 anywhere in the error message
5357 (ada-contextual-menu-last-point): New variable
5358 (ada-create-keymap): If the variable delete-key-deletes-forward is
5359 t on XEmacs, it means that DEL should delete one character
5361 (ada-create-menu): Use :included instead of :visible for XEmacs.
5362 New submenu "Options".
5363 (ada-end-stmt-re): Correctly indent "select ... then abort"
5365 (ada-fill-comment-paragraph): Correctly delete all leading '--'
5366 even if they don't match ada-fill-comment-prefix Fix handling of
5367 paragraphs on the first or last line of a file.
5368 (ada-format-paramlist): Fix handling of default parameter values.
5369 (ada-get-body-name): New function.
5370 (ada-get-current-indent): Optimized by searchling directly for an
5371 existing generic part or a statement outside of it. Handle
5372 ada-indent-align-comments when indenting comments Replaced some
5373 regexps by testing directly the next character. This results in a
5374 huge speedup on some files. New indentation scheme for renames
5375 statements. Stop looking for the 'while' or 'for' associated with
5376 a 'loop' at the first semicolon encountered. A "return" can also
5377 match an anonymous access subprogram declaration.
5378 (ada-get-indent-noindent): Ignore strings and comments when
5379 looking for the keywords "record" and "private".
5380 (ada-goto-matching-decl-start): When matching "if", make sure we
5381 are not in fact seeing "end if". Ignore "when" statements except
5382 when initial keyword was "begin". Fix handling of nested
5383 procedures. Add a recursive call to this function to skip over
5384 other 'end' statmts. Fix indentation for "when .. => begin"
5385 (ada-in-open-paren-p): Fix indentation for complex boolean
5386 expressions, where 'and then', 'or else' and parenthesis
5387 statements are mixed up.
5388 (ada-in-paramlist-p): Skip comments while searching for the
5389 beginning Fix handling of operator declarations.
5390 (ada-indent-align-comments): New variable
5391 (ada-indent-current): Change the syntax table only in the
5392 protected section, so that we are sure it is restored correctly.
5393 (ada-indent-on-previous-lines): Use ada-use-indent and
5394 ada-with-indent Correctly indent "select ... then"
5395 (ada-indent-region): Slight speedup.
5396 (ada-indent-renames): New variable.
5397 (ada-last-which-function-subprog, ada-last-which-function-line):
5399 (ada-looking-at-semi-private): Correctly indent the 'private'
5400 keyword when it is the first word in a package declaration.
5401 (ada-loose-case-word): Stop searching if at the end of the buffer.
5402 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
5403 even if point is not initially at the end of the word.
5404 (ada-matching-decl-start-re): Add "when".
5405 (ada-mode): Add support for abbrev-mode, outline-mode and
5406 which-func-mode Override the old find-file.el entry in
5407 ff-special-constructs since it is using the obsolete
5408 ada-spec-suffix variable
5409 (ada-no-auto-case): New function
5410 (ada-scan-paramlist): When parsing the argument type, accept
5411 spaces (as in "X 'Class", generated by Rational Rose).
5412 (ada-other-file-name): No longer loads the other file.
5413 (ada-popup-menu): Save and restore the current buffer and cursor
5414 position before and after displaying the menu.
5415 (ada-search-ignore-complex-boolean): New function.
5416 (ada-uncomment-region): Emacs21 already knows how to delete
5417 comments not starting in the first column.
5418 (ada-use-indent): New variable
5419 (ada-which-function): New function.
5420 (ada-with-indent): New variable
5421 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
5422 can be batch-compiled from the command line.
5424 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
5425 Add to the menu when the file is loaded, not in ada-mode-hook.
5426 Add -toolbar to the default ddd command Switches moved from
5427 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
5428 ada-prj-default-comp-opt
5429 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
5430 Reference Manual to the menu
5431 (ada-check-current): rewritten as a call to ada-compile-current
5432 (ada-compile): Removed.
5433 (ada-compile-application, ada-compile-current, ada-check-current):
5434 Set the compilation-search-path so that compile.el automatically
5435 finds the sources in src_dir. Automatic scrollong of the
5436 compilation buffer. C-uC-cC-c asks for confirmation before
5438 (ada-compile-current): New parameter, prj-field
5439 (ada-complete-identifier): Load the .ali file before doing
5441 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
5442 conform to gnatmake's behavior.
5443 (ada-find-file-in-dir): New function
5444 (ada-find-references): Set the environment variables for gnatfind
5445 (ada-find-src-file-in-dir): New function.
5446 (ada-first-non-nil): Removed
5447 (ada-gdb-application): Add support for jdb, the java debugger.
5448 (ada-get-ada-file-name): Load the original-file first if not done
5450 (ada-get-all-references): Handles the new ali syntax (parent types
5451 are found between <>).
5452 (ada-initialize-runtime-library): New function
5453 (ada-mode-hook): Always load a project file when a file is opened,
5454 so that the casing exceptions are correctly read.
5455 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
5456 (ada-parse-prj-file): Use find-file-noselect instead of find-file
5457 to open the project file, since the latter does not work with
5458 speedbar Get default values before loading the prj file, or the
5459 default executable file name is wrong. Use the absolute value of
5460 src_dir to initialize ada-search-directories and
5461 compilation-search-path,... Add the standard runtime library to
5462 the search path for find-file.
5463 (ada-prj-default-debugger): Was missing an opening '{'
5464 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
5466 (ada-prj-default-gnatmake-opt): New variable
5467 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
5468 buffers, the project file is the default one Save the windows
5469 configuration before displaying the menu.
5470 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
5471 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
5472 ...) regexp-quote identifiers names to support operators +,
5474 (ada-remote): New function.
5475 (ada-run-application): Erase the output buffer before starting the
5476 run Support remote execution of the application. Use
5477 call-process, or the arguments are incorrectly parsed
5478 (ada-set-default-project-file): Reread the content of the active
5479 project file, not the one from the current buffer When a project
5480 file is set as the default project, all directories are
5481 automatically associated with it.
5482 (ada-set-environment): New function
5483 (ada-treat-cmd-string): New special variable ${current}
5484 (ada-treat-cmd-string): Revised. The substitution is now done for
5485 any ${...} substring
5486 (ada-xref-current): If no body was found, compiles the spec
5487 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
5488 compiler to get rid of command line length limitations.
5489 (ada-xref-get-project-field): New function
5490 (ada-xref-project-files): New variable
5491 (ada-xref-runtime-library-specs-path)
5492 (ada-xref-runtime-library-ali-path): New variables
5493 (ada-xref-set-default-prj-values): Default run command now does a
5494 cd to the build directory. New field: main_unit Provide a default
5495 file name even if the current buffer has no prj file.
5498 Rewritten to show a tabbed-dialog.
5499 (ada-prj-add-ada-menu): Remove the map and name parameters.
5500 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
5502 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
5503 (ada-prj-load-from-file): New function
5504 (ada-prj-save): Always save fields that depend on the current buffer
5505 (ada-prj-show-value): New function
5507 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
5508 Ada mode. This will allow us to display the Ada menu in any buffer
5509 we want (for project items).
5510 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
5511 number of spaces in the header.
5513 2000-07-24 Dave Love <fx@gnu.org>
5515 * ediff-init.el (ediff-region-help-echo): Bind face-help.
5517 2000-07-23 Noah Friedman <friedman@splode.com>
5519 * type-break.el (type-break): perform autosave.
5520 Suggested by Stephen Gildea <gildea@intouchsys.com>.
5521 (type-break-do-query): Cancel query schedule while performing
5522 actual query, to avoid possibility of a second query being made
5523 while first one is already in progress.
5524 (type-break-time-stamp-format): New variable.
5525 (type-break-time-stamp): New function.
5526 (type-break-time-warning): Use it.
5527 (type-break-keystroke-warning): Use it.
5528 (type-break-noninteractive-query): Use it.
5530 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
5532 Use add-minor-mode to set minor-mode-alist, if available.
5533 (eldoc-echo-area-use-multiline-p): New user option.
5534 (eldoc-echo-area-multiline-supported-p): New variable.
5535 (eldoc-docstring-format-sym-doc): Use them.
5536 (eldoc-mode): If not using idle timers, append to local post and
5537 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
5538 (eldoc-display-message-no-interference-p): Don't interfere with
5540 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
5541 (eldoc-function-arglist): New function.
5542 (eldoc-function-argstring): Use it.
5544 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
5545 auto save directory exists before calling directory-files.
5547 2000-07-23 Dave Love <fx@gnu.org>
5549 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
5552 2000-07-21 Dave Love <fx@gnu.org>
5554 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
5555 now passed to the function. It now works properly.
5557 * smerge-mode.el (smerge-mode-menu): Fill it out.
5559 2000-07-20 Gerd Moellmann <gerd@gnu.org>
5561 * info-look.el (info-lookup): If *info* is shown in another frame
5562 on the same display, select that frame, instead of switching to
5563 the Info buffer in another window of the selected frame.
5565 * simple.el (universal-argument-map): Bind numeric keypad keys
5566 kp-0 to kp-9 and kp-subtract.
5567 (digit-argument): Handle these keys.
5569 2000-07-20 Dave Love <fx@gnu.org>
5571 * net/goto-addr.el (goto-address-fontify): Don't bother with
5572 buffer-modified and read-only stuff -- irrelevant with overlays.
5573 Put an extra property on the overlays and use it to clean up in
5574 case goto-address is re-run.
5576 2000-07-19 Richard M. Stallman <rms@gnu.org>
5578 * timer.el (run-with-idle-timer): Doc fix.
5580 * mail/mail-utils.el (mail-strip-quoted-names):
5581 Handle case where <...> appears inside "...".
5582 Use replace-match to edit the string more simply.
5583 (rmail-dont-reply-to): Cope with an unmatched ".
5585 2000-07-19 Dave Love <fx@gnu.org>
5587 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
5590 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
5591 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
5592 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
5594 2000-07-19 Gerd Moellmann <gerd@gnu.org>
5596 * textmodes/refer.el: Correct maintainer's email address.
5598 * progmodes/hideif.el: Correct author's email address.
5599 Fix typo in comment.
5603 * mail/mailheader.el: Correct author's mail address.
5605 * gnus/parse-time.el: Correct author's mail address.
5607 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
5609 * comint.el (comint-highlight-input, comint-highlight-face):
5611 (comint-input-ring-file-name): Change custom type.
5612 (comint-mode-map): Bind mouse-2.
5613 (comint-insert-clicked-input): New function.
5614 (comint-send-input): Handle input highlighting.
5616 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
5618 * mouse.el (popup-menu): New function.
5619 (mouse-major-mode-menu): Use it.
5621 2000-07-18 Dave Love <fx@gnu.org>
5623 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
5626 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5628 * faces.el (face-font-selection-order)
5629 (face-font-family-alternatives): Add custom type.
5631 2000-07-18 Dave Love <fx@gnu.org>
5633 * cus-edit.el (custom-variable-reset-saved)
5634 (custom-variable-reset-standard): Remove unused bindings.
5636 * rect.el (open-rectangle-line): Remove unused let.
5638 * hl-line.el (hl-line-highlight): Check hl-line-mode.
5640 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5642 * cdl.el: Fix `Maintainer' keyword.
5644 * play/pong.el: Add author's email address.
5646 2000-07-17 Sam Steingold <sds@gnu.org>
5648 * files.el (insert-directory): Call `split-string' instead of
5651 2000-07-18 Gerd Moellmann <gerd@gnu.org>
5653 * mail/vms-pmail.el: Change maintainer to FSF.
5655 * net/goto-addr.el: Change maintainer to FSF.
5657 * recentf.el: Update from author.
5659 * info.el (Info-title-face-alist): Removed.
5661 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
5663 * eshell/eshell.el (eshell): Replace links to eshell.info with
5664 links to eshell, to avoid problems on systems where the manual is
5665 installed as `eshell'.
5666 * eshell/esh-cmd.el (eshell-cmd): Ditto.
5667 * eshell/em-smart.el (eshell-smart): Ditto.
5668 * eshell/em-banner.el (eshell-banner): Ditto.
5669 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
5671 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
5672 same-file check in the MS-DOS version (it does support inodes).
5674 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
5676 * eshell/eshell.el (eshell-directory-name):
5677 Run default directory name through convert-standard-filename.
5679 2000-07-18 Kenichi Handa <handa@etl.go.jp>
5681 * international/mule-cmds.el (select-safe-coding-system):
5682 Fix typo in the comment.
5684 * language/european.el (compound-text):
5685 Force katakana-jisx0201 to be designated to G1.
5687 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
5688 Don't translate some national variant characters of latin-jisx0201.
5689 (x-ctext): Force katakana-jisx0201 to be designated to G1.
5691 * international/kkc.el (kkc-after-update-conversion-functions):
5693 (kkc-update-conversion): Run functions in it at the tail.
5695 2000-07-16 John Wiegley <johnw@gnu.org>
5697 * lisp/align.el (align-newline-and-indent):
5698 Adding new function. for auto-aligning blocks of code on RET.
5699 (align-region): Fixed badly formatted minibuffer message.
5701 2000-07-17 Kenichi Handa <handa@etl.go.jp>
5703 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
5704 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
5705 the conversion list at first if appropriate.
5706 (kkc-next): Don't update kkc-next-count here.
5707 (kkc-prev): Don't update kkc-prev-count here.
5708 (kkc-show-conversion-list-update): Fix setting up of conversion
5711 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
5713 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
5715 2000-07-16 Dave Love <fx@gnu.org>
5717 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
5718 function to be more specific.
5720 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
5721 non-string help-echo.
5722 (widget-types-convert-widget): Defsubst it.
5723 (widget-echo-help): Try to cope with a help-echo function of two
5726 2000-07-15 Jason Rumney <jasonr@gnu.org>
5728 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
5729 Declare as obsolete.
5731 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
5733 2000-07-14 Gerd Moellmann <gerd@gnu.org>
5735 * hilit-chg.el: Fix typo.
5737 2000-07-14 Dave Love <fx@gnu.org>
5739 * info.el (Info-mode-menu): Fix use of :help, :enable.
5741 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
5743 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
5745 2000-07-13 Dave Love <fx@gnu.org>
5747 * emacs-lisp/easymenu.el: Doc fixes.
5748 (easy-menu-remove): Defalias to ignore.
5750 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
5751 Call throw correctly.
5753 2000-07-13 Gerd Moellmann <gerd@gnu.org>
5755 * faces.el (frame-background-mode): Doc fix.
5757 * simple.el (eval-expression-print-length): Change custom type to
5758 allow entering nil as value.
5760 2000-07-13 Dave Love <fx@gnu.org>
5762 * progmodes/fortran.el (fortran-imenu-generic-expression):
5763 Change definition layout.
5764 (fortran-mode-menu): Reinstate customize entries.
5766 * cus-edit.el (custom-group-menu-create, customize-menu-create):
5767 Use :filter, per old XEmacs code.
5769 2000-07-12 Gerd Moellmann <gerd@gnu.org>
5771 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
5772 event when deciding what to send to the terminal.
5774 2000-07-12 Dave Love <fx@gnu.org>
5776 * cus-start.el: Add optional version as 4th element of specs and
5777 use it for several things new in v21. Remove load-path. Fix type
5778 of line-number-display-limit.
5780 2000-07-11 Dave Love <fx@gnu.org>
5782 * progmodes/fortran.el: Don't require easymenu.
5783 Use repeat counts in various regexps.
5784 (fortran-mode-syntax-table): Defvar directly.
5785 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
5786 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
5787 Use defvar, not defconst.
5788 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
5789 (fortran-mode): Set fortran-comment-line-start-skip,
5790 fortran-comment-line-start-skip, dabbrev-case-fold-search.
5791 (fortran-comment-indent): Use defsubst.
5792 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
5793 Use fortran-comment-indent, not fortran-comment-indent-function.
5794 (fortran-comment-region, fortran-electric-line-number): Simplify.
5795 (fortran-auto-fill): New function.
5796 (fortran-do-auto-fill): Deleted.
5797 (fortran-find-comment-start-skip):
5798 Check for non-null comment-start-skip.
5799 (fortran-auto-fill-mode, fortran-fill-statement):
5800 Use fortran-auto-fill.
5801 (fortran-fill): Use fortran-auto-fill. Check for null
5802 comment-start-skip. Simplify final clause and use end-of-line finally.
5804 * widget.el (widget-plist-member): New alias.
5806 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
5808 * eshell/esh-module.el (toplevel): Reference
5809 byte-compile-current-file only if it is bound.
5811 2000-07-10 Gerd Moellmann <gerd@gnu.org>
5813 * dired.el: Don't require `dired-aux'.
5815 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
5817 * dired-aux.el (dired-show-file-type): New function.
5818 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
5819 (dired-show-file-type): Add autoload.
5821 2000-07-10 Kenichi Handa <handa@etl.go.jp>
5823 * international/mule-diag.el (describe-font): Adjusted for the
5824 change of fontset-info.
5825 (print-fontset): Likewise.
5827 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
5829 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
5831 2000-07-07 Gerd Moellmann <gerd@gnu.org>
5833 * bindings.el: Bind `[delete]' to delete-char.
5835 * dired.el (dired-find-alternate-file): New function.
5836 (dired-mode-map): Bind `a' to dired-find-alternate-file.
5837 (toplevel): Require dired-aux when compiling.
5838 (dired-buffers): Move defvar within file to avoid compiler warning.
5840 * info.el (Info-last-search): Variable removed.
5841 (Info-search-history): New variable.
5842 (Info-search): New Info-search-history.
5844 * battery.el, info-look.el: Change author's mail address.
5846 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
5848 * mail/rmail.el (rmail-clear-headers): Don't throw an error
5849 if rmail-ignored-headers is nil.
5850 (rmail-retry-failure): Bind rmail-ignored-headers and
5851 rmail-displayed-headers to nil.
5853 2000-07-06 Gerd Moellmann <gerd@gnu.org>
5855 * lpr.el (lpr-page-header-switches): Add `-h' switch.
5856 (print-region-1): Don't hard code `-h' here.
5858 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
5860 2000-07-01 Francesco Potorti` <pot@gnu.org>
5862 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
5863 exim can use "your message" instead of "the message".
5865 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
5867 * facemenu.el: Docstrings fixes.
5868 (facemenu-get-face): Don't use internal-find-face.
5869 (facemenu-iterate): Rename arg to match the docstring.
5871 * newcomment.el (uncomment-region): Be more careful when skipping
5872 backwards over `=' not to bump into BOBP.
5874 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
5876 * ediff-diff.el (ediff-wordify): Use syntax table.
5877 * ediff-init.el (ediff-has-face-support-p): Use
5878 ediff-color-display-p.
5879 (ediff-color-display-p): Use display-color-p, changed to defun
5881 Got rid of special cases for NeXT and OS/2.
5882 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
5885 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5887 * emacs-lisp/lucid.el: Require CL.
5888 (copy-tree, remprop): Remove, it's provided by CL.
5889 (map-keymap): Define in terms of cl-map-keymap.
5890 (extent-property, set-extent-end-glyph): New functions.
5892 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
5894 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5896 * Makefile.in (DONTCOMPILE): Add comment that the name may
5897 not be changed without changing the make-dist script.
5899 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
5900 (cl-mapc): Use mapc instead of cl-old-mapc.
5902 2000-07-05 Andrew Innes <andrewi@gnu.org>
5904 * makefile.nt: Add support for `bootstrap' and related targets.
5906 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
5908 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
5909 (easy-menu-do-define): Use `menu-item' format.
5910 Handle case where easy-menu-create-menu returns a symbol.
5911 Manually call the potential top-level filter in the function binding.
5912 (easy-menu-filter-return): New arg NAME.
5913 Convert to a keymap if MENU is an XEmacs menu.
5914 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
5915 (easy-menu-converted-items-table, easy-menu-convert-item):
5916 New var and fun to memoize easy-menu-convert-item-1.
5917 (easy-menu-do-add-item): Use it.
5918 (easy-menu-create-menu): Use easy-menu-convert-item.
5919 Wrap easy-menu-filter-return around any :filter specification.
5920 Don't convert the menu if a filter was specified.
5921 Tell easy-menu-make-symbol not to check for MENU being an expression.
5922 (easy-menu-make-symbol): New arg NOEXP.
5924 2000-07-05 Gerd Moellmann <gerd@gnu.org>
5926 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
5927 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
5928 (eval-defun): If called with prefix arg, instrument code for
5931 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
5932 similar to that of eval-defun.
5934 2000-07-04 Dave Love <fx@gnu.org>
5936 * hl-line.el (hl-line-overlay): Make it permanent-local.
5938 * calendar/todo-mode.el: Replaced with a working version, based on
5939 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
5941 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
5943 * paths.el (prune-directory-list): New function.
5944 (Info-default-directory-list): Rewritten to more methodically
5945 enumerate a big list of possible info directories (based on the
5946 list used by the standalone info reader).
5948 * info.el (info-initialize): Use prune-directory-list to remove
5949 non-existent directories from Info-directory-list.
5951 * paths.el (Info-default-directory-list): Try a list of possible
5952 info-directories instead of a single one. Add the possible
5953 info directory "/usr/share/info".
5955 * woman.el (woman-man.conf-path): Explicitly include the debian
5956 man-db config file "/etc/manpath.config".
5957 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
5958 are present in `manpath.config'.
5959 (woman-manpath): Include "/usr/share/man".
5961 2000-07-03 Gerd Moellmann <gerd@gnu.org>
5963 * frame.el (blink-cursor-mode): Don't hide cursor initially.
5965 * startup.el (command-line): Initialize blink-cursor based
5968 * frame.el (blink-cursor): Default to nil if not running under
5971 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
5972 (face-x-resources): Remove duplicate entry for :font.
5974 * textmodes/refer.el (refer-find-entry-internal): Use some-window
5975 instead of cycling through windows with next-window.
5977 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
5978 of cycling through windows with next-window.
5980 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
5981 of cycling through windows with next-window.
5983 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
5984 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
5985 instead of cycling through windows with next-window.
5987 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
5988 instead of cycling through windows with next-window.
5990 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
5991 of cycling through windows with next-window.
5993 * terminal.el (te-process-output): Use walk-windows instead of
5994 cycling through windows with next-window.
5996 * server.el (server-switch-buffer): Use some-window instead of
5997 cycling through windows with next-window.
5999 * window.el (some-window): New function.
6000 (walk-windows): Remove reference to walk-windows-start.
6002 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
6004 2000-07-03 Richard Stallman <rms@gnu.org>
6006 * window.el (walk-windows): Guarantee termination by keeping a list
6007 of all the windows already handled.
6009 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
6011 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
6014 * man.el (Man-notify-when-ready): Don't use window-system. If
6015 Man-notify-method is newframe, and the display is not
6016 multi-frame, select the frame created for the man page.
6017 (Man-init-defvars): Doc fix.
6019 2000-06-28 Gerd Moellmann <gerd@gnu.org>
6021 * faces.el (region): Change background color for light background.
6023 * ediff-wind.el (ediff-setup-control-frame): Remove :box
6024 attribute from mode-line face of Ediff control frame.
6026 * replace.el (query-replace-map): Bind `e' like `E'.
6028 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
6030 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
6031 Change name to "Select All".
6033 * dos-fns.el (convert-standard-filename): Fix last change.
6035 2000-06-27 Gerd Moellmann <gerd@gnu.org>
6037 * help.el (describe-variable): Don't insert a second `'s' in front
6038 of the string `value is shown below'. Since the syntax-table is
6039 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
6040 an existing `'s', so that this won't be deleted.
6042 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
6043 * pcmpl-unix.el: New files.
6045 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
6047 * wid-edit.el (widget-member): Use the new plist-member.
6049 2000-06-26 Gerd Moellmann <gerd@gnu.org>
6051 * replace.el (perform-replace): Undo change of 2000-04-04.
6052 Instead, move backward 1 character at the end of the loop when
6055 * faces.el (fringe): Change face for different backgrounds.
6057 * eshell/esh-module.el (toplevel): Load defgroup's differently;
6060 * eshell/*.el: Change spelling of the Free Software Foundation.
6062 * eshell/esh-toggle.el: Removed.
6064 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
6066 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
6069 2000-06-26 Alex Schroeder <alex@gnu.org>
6071 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
6072 `define-key'; instead of checking `(emacs-version)' check for
6073 `set-keymap-parent' and `set-keymap-name' directly. Add entries
6074 for `;' and `o' which might be electric.
6076 (sql-electric-stuff): New user option.
6077 (sql-magic-go): New function which uses `sql-electric-stuff'.
6078 (sql-magic-semicolon): New function which uses
6079 `sql-electric-stuff'.
6081 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
6084 (sql-oracle-options): New variable.
6085 (sql-oracle): Use it.
6087 (sql-imenu-generic-expression): Doc change.
6088 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
6091 (sql-informix): Added command line parameter "-" to force
6092 sql-informix-program to use stdout.
6094 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
6096 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
6097 (cp864-decode-table): Doc fix.
6098 (cp720-decode-table): New variable, supports the Arabic OEM
6099 codepage used by Windows.
6100 (cp737-decode-table): New, Greek OEM codepage used by Windows.
6102 2000-06-23 Dave Love <fx@gnu.org>
6104 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
6105 (font-lock-fontify-anchored-keywords): Use
6106 line-beginning-position.
6107 (global-font-lock-mode): Use mapc.
6109 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
6111 * eshell/esh-module.el: Require CL when compiling.
6113 2000-06-23 Gerd Moellmann <gerd@gnu.org>
6115 * comint.el (comint-substitute-in-file-name): Call replace-match
6116 with second and third arg t.
6118 * cus-edit.el (custom-button-face, custom-button-pressed-face):
6119 Specify foreground color.
6121 * faces.el (tool-bar, mode-line, header-line): Specify foreground
6124 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
6126 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
6127 cddr instead of cdddr.
6129 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
6130 instead of copy-list.
6132 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
6135 * subdirs.el: Add eshell subdirectory.
6137 * eshell: New subdirectory containing the Eshell package.
6139 * pcomplete.el: New file.
6141 2000-06-23 Paul Eggert <eggert@twinsun.com>
6143 * mail/mailpost.el (post-mail-send-it): Make sure file has
6144 proper permissions from birth.
6146 * files.el (basic-save-buffer-2): When temporarily setting
6147 file modes, set them to current modes plus 0200, not to 0777.
6149 * emerge.el (emerge-make-temp-file): Make sure file has proper
6150 permissions from birth.
6152 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
6154 * files.el (make-backup-file-name-1): On DOS/Windows, run the
6155 backup file name through convert-standard-filename.
6157 * dos-fns.el (convert-standard-filename): Convert leading
6158 directories as well. When long file names are supported, convert
6159 characters that are invalid in Windows file names.
6161 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6163 * ps-print.el: Fix bug: if ^L is the very first buffer character,
6164 ps-print crashes. New feature: page selection for printing. Create
6165 raw-text-unix coding system for XEmacs. Doc fix.
6166 (ps-print-version): New version number (5.2.3).
6167 (ps-plot-region): Bug fix.
6168 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
6169 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
6170 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
6172 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
6173 (ps-last-page): New vars.
6175 2000-06-21 Gerd Moellmann <gerd@gnu.org>
6177 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
6178 empty option string.
6180 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
6182 * man.el (man): Doc fix.
6184 2000-06-21 Kenichi Handa <handa@etl.go.jp>
6186 * international/mule-cmds.el (set-language-info-alist): Docstring
6189 2000-06-20 Gerd Moellmann <gerd@gnu.org>
6191 * version.el (emacs-version): Use ISO date format.
6193 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
6194 instead of `M-backspace'.
6196 * simple.el (turn-off-auto-fill): New function.
6198 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
6200 * jit-lock.el (with-buffer-prepared-for-jit-lock):
6201 Renamed from with-buffer-prepared-for-font-lock and use
6202 inhibit-modification-hooks rather than setting *-change-functions.
6203 Update all functions to use the new name.
6204 (jit-lock-first-unfontify-pos): New semantics (and doc).
6205 (jit-lock-mode): Make non-interactive.
6206 Don't automatically turn on font-lock.
6207 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
6208 Always use jit-lock-after-change.
6209 Remove and restore font-lock-after-change-function.
6210 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
6211 (jit-lock-after-unfontify-buffer): Remove.
6212 (jit-lock-stealth-fontify):
6213 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
6214 (jit-lock-after-change): Set the `fontified' text-prop to nil.
6216 2000-06-20 Sam Steingold <sds@gnu.org>
6218 * emacs-lisp/cl-indent.el (toplevel): Indent
6219 `print-unreadable-object' properly. Untabify.
6221 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6223 * textmodes/reftex.el (reftex-find-citation-regexp-format):
6224 Support for bibentry.
6225 (reftex-compile-variables): Fixed problem with end of section-re.
6227 * texmodes/reftex-dcr.el (reftex-view-crossref,
6228 reftex-view-crossref-from-bibtex):
6229 Deal with changed `reftex-find-citation-regexp-format'.
6230 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
6231 Replaced `remprop' with `put'.
6232 (reftex-view-crossref, reftex-view-crossref-when-idle):
6233 Support for bibentry.
6235 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
6236 New entry for bibentry package.
6238 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
6239 Regexp also matches "\nobibliography".
6241 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
6242 Call `reftex-ensure-write-access' before doing anything.
6243 (reftex-ensure-write-access): New function.
6245 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
6247 * progmodes/idlwave.el: File re-installed (update to version 4.2)
6249 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
6251 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
6253 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
6256 2000-06-20 Dave Love <fx@gnu.org>
6258 * faces.el (frame-background-mode): Use set-default, not set, in
6260 (frame-update-faces, frame-update-face-colors): Define with
6263 * enriched.el (enriched-decode-foreground)
6264 (enriched-decode-background): Don't use internal-find-face.
6266 * apropos.el: Doc fixes.
6268 * cus-edit.el (customize-changed-options): Check arg.
6269 (customize-version-lessp): Don't require decimal point.
6271 * custom.el (defcustom, defgroup): Doc fix.
6273 * newcomment.el (comment) <defgroup>: Add :version.
6274 (comment-multi-line): Doc fix.
6276 * emulation/mlsupport.el (define-hooked-local-abbrev,
6277 define-hooked-global-abbrev): Fix, using define-abbrev.
6279 2000-06-19 Gerd Moellmann <gerd@gnu.org>
6281 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
6284 2000-06-19 Dave Love <fx@gnu.org>
6286 * menu-bar.el (menu-bar-options-save): New function.
6287 (menu-bar-options-menu): Use it.
6288 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
6291 2000-06-19 Andreas Schwab <schwab@suse.de>
6293 * progmodes/etags.el (tags-query-replace): Put new parameters
6294 START and END at the end, for backward compatibility.
6296 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6298 * international/codepage.el:
6299 (cp-coding-system-for-codepage-1): Delete special codes for
6300 generating xxx-dos coding system because now a CCL based coding
6301 system can handle EOL conversion by default.
6303 * international/mule.el (make-coding-system): Generate subsidiary
6304 coding systems for EOL handling variants even for a CCL based
6307 2000-06-19 Kenichi Handa <handa@etl.go.jp>
6309 * international/isearch-x.el (isearch-minibuffer-input-method)
6310 (isearch-minibuffer-input-method-function): These variables
6312 (isearch-with-input-method): Don't use the above variables.
6313 (isearch-process-search-multibyte-characters): Likewise. Call
6314 read-string with the arg INHERIT-INPUT-METHOD t.
6316 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
6318 * font-lock.el (font-lock-after-fontify-buffer)
6319 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
6321 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
6322 Use consistent make-local-variable style for font-lock-fontified.
6323 (jit-lock-fontify-buffer):
6324 Don't bother checking for font-lock-mode and jit-lock-mode.
6326 * time.el: Remove trailing ^M that prevent CVS-merging.
6328 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6330 * Makefile.in (distclean): New target.
6332 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
6334 * Makefile.in (srcdir): Define for update-subdirs.
6336 2000-06-16 Gerd Moellmann <gerd@gnu.org>
6338 * find-lisp.el: New file.
6340 2000-06-16 Andrew Innes <andrewi@gnu.org>
6342 * time.el (display-time-mail-function): New variable, to allow
6343 external packages to indicate when new mail is available.
6344 (display-time-update): Use it.
6346 2000-06-16 Kenichi Handa <handa@etl.go.jp>
6348 * international/mule.el (mule-version): Change version name to
6349 SAKAKI. AOI has already been used by Meadow.
6351 * international/quail.el (quail-show-guidance-buf): To find the
6352 bottom window (but minibuffer), pay attention to the height of
6355 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
6357 * arc-mode.el (archive-mode-map): Use the new menu-item format for
6358 menu-bar menus. Add help strings. Don't remove the Edit menu
6359 from the menu bar, as the menu bar has enough space now.
6361 * Makefile.in (SHELL): Make sure /bin/sh is used.
6363 * woman.el (woman-man-buffer): Fix bold and underlined CJK
6364 characters, which use series of two ^H characters instead of one.
6366 2000-06-15 Gerd Moellmann <gerd@gnu.org>
6368 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
6369 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
6371 (Info-find-node-2): Try a case-sensitive search first, then
6372 do a case-insensitive search.
6374 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
6377 * complete.el (PC-env-vars-alist): New variable.
6378 (PC-complete-as-file-name): New function.
6379 (partial-completion-mode): Initialize PC-env-vars-alist from
6380 process-environment.
6381 (PC-do-completion): Handle completion of env vars.
6383 * info.el (Info-set-mode-line): Show file name in mode line,
6384 use `*Info*' instead of `Info:'.
6386 * startup.el (command-line-1): Change copyright messages to year
6389 2000-06-15 Dave Love <fx@gnu.org>
6391 * net/goto-addr.el (goto-address-fontify): Use keymap property,
6394 2000-06-15 Kenichi Handa <handa@etl.go.jp>
6396 * international/mule.el (set-buffer-file-coding-system): Almost
6397 rewritten to handle `undecided' as no-op.
6399 2000-06-14 Gerd Moellmann <gerd@gnu.org>
6401 * Makefile.in: New file.
6403 * Makefile: Removed.
6405 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
6406 (goto-address-highlight-keymap): Bind C-c RET.
6408 2000-06-14 Kenichi Handa <handa@etl.go.jp>
6410 * mail/sendmail.el (sendmail-send-it): The temporary buffer
6411 inherits buffer-file-coding-system of the current buffer.
6413 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
6414 0. Give correct argument to set-auto-coding-function.
6415 (tar-expunge): For goto-char, use (point-min), not 0.
6416 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
6417 (tar-subfile-save-buffer): Likewize.
6419 * international/mule.el
6420 (after-insert-file-set-buffer-file-coding-system): Call
6421 set-buffer-file-coding-system with the arg FORCE t.
6423 2000-06-13 Gerd Moellmann <gerd@gnu.org>
6425 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
6426 nil. Contemporary sendmails issue an X-Authentication-Warning if
6427 the sender is set with `-f'.
6429 2000-06-13 Dave Love <fx@gnu.org>
6431 * help.el (describe-function-1): Kluge around cases of functions
6432 fset to subrs whose doc doesn't match their symbol-name.
6434 * image.el (insert-image): Default STRING to a space.
6436 * info.el Doc fixes.
6437 (Info-build-node-completions): Match Ref tags.
6439 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
6441 * frame.el (display-multi-frame-p, display-multi-font-p): New
6442 defaliases for display-graphic-p.
6444 * hl-line.el: Fixed a typo in commentary.
6446 2000-06-13 Kenichi Handa <handa@etl.go.jp>
6448 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
6451 2000-06-12 Dave Love <fx@gnu.org>
6453 * image.el (insert-image): Save a little consing.
6455 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6457 * language/tibet-util.el: Convert all tibetan-1-column characters
6458 to the corresponding tibetan characters.
6459 (tibetan-add-components): Delete code for the special treatment of
6462 * language/tibetan.el (tibetan-composable-pattern): Fix previous
6464 (tibetan-vowel-transcription-alist): More rules added.
6465 (tibetan-composite-vowel-alist): New variable.
6466 (tibetan-precomposition-rule-alist): More rules added.
6468 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
6470 * startup.el (command-line): Only call menu-bar-mode if interactive.
6472 * thingatpt.el (toplevel symbol-properties):
6473 * textmodes/makeinfo.el (makeinfo-compile):
6474 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
6475 * progmodes/hideif.el (hif-compress-define-list)
6476 (hide-ifdef-use-define-alist):
6477 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
6478 (ange-ftp-vms-add-file-entry):
6479 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
6480 * man.el (Man-build-man-command):
6481 * mail/rnewspost.el (news-reply-header-hook):
6482 * info.el (Info-insert-dir):
6483 * emulation/mlconvert.el (backward-word, forward-word, setq):
6484 * emacs-lisp/gulp.el (gulp-send-requests):
6485 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
6486 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
6487 (byte-optimize-apply, end of file):
6488 * emacs-lisp/advice.el (ad-advice-class-completion-table)
6489 (ad-make-freeze-definition):
6490 * startup.el (command-line, command-line-1): Don't quote lambdas.
6492 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
6493 (cvs-cleanup-removed): New function.
6494 (cvs-cleanup-functions): New var.
6495 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
6496 some flexibility in specifying additional entries to auto-cleanup.
6497 (cvs-quickdir): New function.
6498 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
6499 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
6500 (cvs-mode-find-file): Check that we are on a filename or dirname
6501 when invoked through a mouse-click.
6502 (cvs-full-path): Remove.
6503 (cvs-dired-action): Re-introduced.
6504 (cvs-dired-noselect): Use it.
6505 (vc-post-command-functions): use this new hook if available.
6507 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
6508 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
6509 (cvs-filename-map, cvs-dirname-map): Remove.
6510 (cvs-default-action): Remove.
6511 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
6512 if the arg is really a keymap.
6513 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
6514 Don't hardcode the mapping from state (aka type) to face, but check
6515 the var cvs-fi-<type>-face instead.
6516 (cvs-fileinfo-from-entries): New function.
6518 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
6520 (cvs-find-file-and-jump): Change default to be safer.
6521 (cvs-mode-diff-map): Define it as a function as well.
6522 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
6523 Bind mouse-2 in this global map rather than with text-properties.
6525 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
6526 file to resolve the ambiguity between C(conflict) and C(need-merge).
6528 2000-06-12 Kenichi Handa <handa@etl.go.jp>
6530 * international/mule.el (set-buffer-file-coding-system): If
6531 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
6534 2000-06-12 Dave Love <fx@gnu.org>
6536 * wid-edit.el (widget-specify-button): Really suppress the face if
6539 2000-06-11 Gerd Moellmann <gerd@gnu.org>
6541 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
6543 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
6545 * imenu.el (imenu-generic-expression): Docstring fix.
6547 * composite.el (composition-function-table): Move the `put'
6548 below the autoload cookie so we can load the file before loaddefs.
6550 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
6552 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
6553 Handle easy-mmode-define-global-mode.
6554 For complex macros like define-minor-mode that can generate
6555 several autoload entries, try to autoload entries in the
6558 * emacs-lisp/easy-mmode.el (define-minor-mode):
6559 If KEYMAP is a symbol, just use it.
6560 Use byte-compile-current-file and load-file-name to infer the
6561 proper :require to pass to defcustom.
6562 Wrap the hook var into `progn' so as not to autoload it.
6563 Add a :autoload-end cookie.
6564 Be more careful about the evaluation of KEYMAP.
6565 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
6566 (define-derived-mode): Move define-abbrev-table outside of defvar.
6568 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
6570 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
6571 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
6572 (backup-compiled-files): Ignore errors during `tar'.
6573 (bootstrap): Make autoloads before elc files.
6575 2000-06-10 Kenichi Handa <handa@etl.go.jp>
6577 * international/mule.el (set-buffer-file-coding-system): If one of
6578 undecided-XXX is specified, change only EOL conversion.
6580 * international/mule-conf.el (unix): New alias for the coding
6581 system undecided-unix.
6583 2000-06-09 Dave Love <fx@gnu.org>
6585 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
6587 * progmodes/executable.el: Byte compile dynamic.
6588 (executable-insert): Change custom type.
6589 (executable-find): Add autoload cookie.
6590 (executable-make-buffer-file-executable-if-script-p): New
6591 function. After Noah Friedman.
6593 * files.el (after-save-hook): Customize, with
6594 executable-make-buffer-file-executable-if-script-p as an option.
6596 2000-06-09 Kenichi Handa <handa@etl.go.jp>
6598 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
6599 "tib24p-mule.bdf" for Tibetan.
6601 * composite.el (decompose-composite-char): Declare it as obsolete.
6603 * man.el (Man-fontify-manpage): Pay attention to underline and
6604 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
6606 2000-06-08 Gerd Moellmann <gerd@gnu.org>
6608 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
6609 Set maintainer to FSF since author isn't reachable.
6611 2000-06-08 Dave Love <fx@gnu.org>
6613 * international/mule-cmds.el (select-safe-coding-system): If
6614 DEFAULT-CODING-SYSTEM is not specified, also check the most
6615 preferred coding-system if buffer-file-coding-system is
6616 `undecided'. From Handa.
6618 2000-06-08 Kenichi Handa <handa@etl.go.jp>
6620 * international/mule.el
6621 (after-insert-file-set-buffer-file-coding-system): If the buffer
6622 size is greater than INSERTED, judget that we are not visiting.
6624 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
6626 * whitespace.el (defgroup whitespace): Comment out `:version'.
6627 XEmacs 20.4 has problems defining the group with this present.
6628 We'll have this commented out till get resolve the problem.
6630 2000-06-07 Gerd Moellmann <gerd@gnu.org>
6632 * align.el: Update from author.
6634 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
6636 * apropos.el (apropos-mode-hook): New user variable.
6637 (apropos-mode): Run apropos-mode-hook.
6639 2000-06-07 David Ponce <david@dponce.com>
6641 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
6642 commands. Require `wid-edit' at run-time.
6644 2000-06-07 David Ponce <david@dponce.com>
6646 * recentf.el: Added some "Commentary".
6647 (recentf-open-more-files, recentf-edit-list): Minor changes to
6648 move the point at the top of the file list. This behaviour is
6649 consistent with the menu one when the list contains a lot of
6651 (recentf-cleanup): Now displays the number of items removed from
6653 (recentf-relative-filter) New menu filter to show filenames
6654 relative to `default-directory'.
6656 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6658 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
6659 with/without giving an error if PostScript printer doesn't have this
6660 kind of page size. Zebra Stripe continues or restarts on next page.
6661 Manual/automatic paper feeding. Switch or not the header.
6662 (ps-print-version): New version number (5.2.2).
6663 (ps-windows-system): Include emx as a Windows system.
6664 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
6665 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
6666 (ps-background-text): Code fix.
6667 (ps-error-handler-message, ps-user-defined-prologue)
6668 (ps-print-prologue-header, ps-printer-name)
6669 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
6670 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
6671 (ps-use-face-background): Customization fix.
6672 (ps-n-up-database): Data fix.
6673 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
6674 (ps-switch-header): New vars.
6675 (ps-xemacs-color-name, ps-face-foreground-name)
6676 (ps-face-background-name, ps-boolean-constant): New funs.
6678 2000-06-07 Dave Love <fx@gnu.org>
6680 * allout.el: New version from Manheimer.
6682 2000-06-07 Kenichi Handa <handa@etl.go.jp>
6684 * textmodes/fill.el (fill-find-break-point): Check the validity of
6687 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
6689 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
6690 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
6691 Call display-color-p and display-mouse-p instead of looking at
6694 2000-06-06 Dave Love <fx@gnu.org>
6696 * image.el (find-image): Doc fix. Return nil if image not found.
6697 (put-image, insert-image): Make STRING arg optional.
6699 2000-06-06 Kenichi Handa <handa@etl.go.jp>
6701 * language/vietnamese.el: Remove eval-when-compile.
6702 (viet-viscii-nonascii-translation-table): Define it as a
6703 translation table made from viet-viscii-decode-table.
6704 (viet-viscii-encode-table): Define it as a translation table made
6705 from the reverse map of above.
6706 (viet-vscii-nonascii-translation-table): Define it as a
6707 translation table made from viet-vscii-decode-table.
6708 (viet-vscii-encode-table): Define it as a translation table made
6709 from the reverse map of above.
6710 (ccl-decode-viscii): Use translate-character.
6711 (ccl-encode-viscii, ccl-encode-viscii-font)
6712 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
6715 * language/cyrillic.el: Remove eval-when-compile.
6716 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
6717 translation table made from cyrillic-koi8-r-decode-table.
6718 (cyrillic-koi8-r-encode-table): Define it as a translation table
6719 made from the reverse map of above.
6720 (ccl-decode-koi8): Use translate-character.
6721 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
6722 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
6723 a translation table made from cyrillic-alternativnyj-decode-table.
6724 (cyrillic-alternativnyj-encode-table): Define it as a translation
6725 table made from the reverse map of above.
6726 (ccl-decode-alternativnyj): Use translate-character.
6727 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
6730 * international/mule-diag.el (non-iso-charset-alist): Specify
6731 translation table symbol instead of translation table itself.
6732 (list-block-of-chars): CHARSET may be a translation table symbol.
6734 * international/mule.el (make-coding-system): If CODING-SYSTEM
6735 already exists, override it.
6737 * international/fontset.el: Use family `proportional' for Tibetan
6740 * international/ccl.el (ccl-compile-translate-character): Don't
6741 check if Rrr has property translation-table.
6742 (ccl-compile-map-multiple): Modified to avoid compiler warning.
6744 2000-06-05 Gerd Moellmann <gerd@gnu.org>
6746 * info.el: Bind case-fold-search to t when searching in case
6747 a user sets it to nil in a hook.
6749 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
6751 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6752 * hl-line.el (hl-line-mode): Use the new :global key argument.
6754 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
6755 (tar-clip-time-string): Prepend a space.
6756 (tar-grind-file-mode): Construct a string rather than modifying one.
6757 (tar-header-block-summarize): Fix docstring.
6758 Use `format' rather than an error-prone set of copy-loops.
6760 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
6761 (diff-goto-source, diff-unified->context, diff-context->unified)
6762 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
6763 understand the format output by the `-p' argument to diff.
6765 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
6766 (sh-re-done): Use defconst.
6767 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
6768 (sh-help-string-for-variable, sh-guess-basic-offset):
6769 Don't quote lambdas.
6770 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
6771 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
6773 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
6774 (mh-letter-mode): Derive from text-mode.
6775 This implicitly means that it now calls kill-all-local-variables.
6776 Also remove the Emacs-18 compatibility code.
6778 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
6779 Make use of symbol-property doc-string-elt.
6780 Use memq rather than a sequence of eq.
6781 (doc-string-elt): Fix the wrong or missing previously unused values.
6782 (autoload-print-form): New function extracted from
6783 generate-file-autoloads to allow recursion when handling progn
6784 so that defvar's and defun's docstrings are properly printed.
6785 (generate-file-autoloads): Use it.
6787 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
6788 Use find-file-hooks in the minor-mode function.
6789 Be careful not to loop indefinitely in the post-command-hook function.
6791 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
6793 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
6795 * ediff-diff.el (ediff-exec-process): Use --binary for fine
6796 differences whenever appropriate.
6797 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
6798 * viper.el (find-file, find-file-other-window): Get viper to do
6801 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
6803 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
6804 (jit-lock-fontify-buffer): New function for JIT refontification.
6805 (jit-lock-mode): Fix docstring.
6806 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
6807 Remove jit-lock-after-change from the _local_ hook.
6808 (jit-lock-function-1): Fix docstring.
6810 * info.el (Info-on-current-buffer): Initialize info.
6812 * newcomment.el (comment-indent): Ignore comment-indent-hook.
6814 * progmodes/tcl.el (tcl-indent-for-comment):
6815 Ignore comment-indent-hook.
6817 * emacs-lisp/easy-mmode.el: Require CL during compilation.
6818 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
6819 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
6820 and improve to use the lighter to guess the capitalization.
6821 (define-minor-mode): Inline code from easy-mmode-define-toggle.
6822 Add keyword arguments to specify global-ness or the custom group.
6823 Add local-map and help-echo properties to the lighter.
6824 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
6825 (easy-mmode-define-global-mode): New macro.
6827 2000-06-02 Dave Love <fx@gnu.org>
6829 * wid-edit.el: byte-compile-dynamic since we typically don't use
6830 all the widgets. Don't require cl or widget. Remove
6831 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
6832 (widget-read-event): Removed. Callers changed to use read-event.
6833 (widget-button-release-event-p): Renamed from
6834 button-release-event-p.
6835 (widget-field-add-space, widget-field-use-before-change):
6837 (widget-specify-field): Use keymap property, not local-map.
6838 (widget-specify-button): Obey :suppress-face.
6839 (widget-specify-insert): Use modern backquote syntax.
6840 (widget-image-directory): Renamed from widget-glyph-directory.
6841 (widget-image-enable): Renamed from widget-glyph-enable.
6842 (widget-image-find): Replaces widget-glyph-find.
6843 (widget-button-pressed-face): Move defvar.
6844 (widget-image-insert): Replaces widget-glyph-insert.
6845 (widget-convert): Use keywordp.
6846 (widget-leave-text, widget-children-value-delete): Use mapc.
6847 (widget-keymap): Remove XEmacs stuff.
6848 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
6849 (widget-button-click): Don't set point at the click, but re-centre
6850 if we scroll out of window. Rewritten for images v. glyphs &c.
6851 (widget-tabable-at): Use POS arg, not point.
6852 (widget-beginning-of-line, widget-end-of-line)
6853 (widget-item-value-create, widget-sublist, widget-princ-to-string)
6854 (widget-sexp-prompt-value, widget-echo-help): Simplify.
6855 (widget-default-create): Use widget-image-insert; some rewriting.
6856 (widget-visibility-value-create)
6857 (widget-push-button-value-create, widget-toggle-value-create): Use
6858 widget-image-insert.
6859 (checkbox): Create on and off images dynamically.
6860 (documentation-link): Change :help-echo.
6861 (widget-documentation-link-echo-help): Remove.
6863 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
6865 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
6867 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
6868 (easy-mmode-define-toggle, define-minor-mode): Use it.
6869 (easy-mmode-define-keymap): Docstring fix.
6870 (define-derived-mode): Default PARENT to fundamental-mode.
6871 Add the derived-mode-parent symbol-property.
6872 (easy-mmode-derived-mode-p): New function.
6874 2000-06-02 Dave Love <fx@gnu.org>
6876 * files.el (convert-standard-filename): Doc fix.
6877 (normal-backup-enable-predicate): New function.
6878 (backup-enable-predicate): Use it to replace the lambda form.
6880 * calendar/todo-mode.el: [This needs more work on the outline
6882 (todo) <defgroup>: Add :version.
6883 (todo-add-category): Don't use pushnew.
6884 (todo-cmd-raise): Fix typo.
6885 (todo-top-priorities): Change temp buffer name.
6886 (todo-category-alist): Avoid redundant lambda.
6887 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
6888 Use outline-next-heading.
6890 * autoarg.el: Rewritten to use define-minor-mode.
6891 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
6892 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
6894 2000-06-02 Kenichi Handa <handa@etl.go.jp>
6896 * isearch.el (isearch-other-meta-char): Fix previous change.
6898 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6900 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
6901 (log-edit-done): Only add the comment to the ring if it's different
6902 from the last comment entered.
6904 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
6906 2000-06-01 Dave Love <fx@gnu.org>
6908 * hl-line.el: Rewritten using define-minor-mode.
6910 * help.el (describe-function-1): Distinguish special form from
6911 builtin function. Sanity-check presence of arglist for builtins.
6913 2000-06-01 Kenichi Handa <handa@etl.go.jp>
6915 * international/characters.el: Fix syntax/category setting of
6918 * language/tibet-util.el (tibetan-add-components): Fixes for new
6919 encoding of Tibetan characters.
6920 (tibetan-decompose-precomposition-alist): New variable.
6921 (tibetan-decompose-region): Convert precomposed characters to
6922 non-precomposed characters.
6923 (tibetan-decompose-string): Likewise.
6924 (tibetan-composition-function): Fix args to
6925 thibetan-compose-string.
6927 * language/tibetan.el (tibetan-composable-pattern): More
6928 characters included.
6929 (tibetan-consonant-transcription-alist): Rule for "R" added.
6930 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
6932 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
6934 * language/lao-util.el (lao-composition-function): Fix args to
6937 * language/thai-util.el (thai-composition-function): Fix args to
6940 * isearch.el (isearch-update): Set disable-point-adjustment to t
6941 to prevent the point moving to the end of a composition when a
6942 part of a composition is searched.
6943 (isearch-other-meta-char): If the key invoking this command can be
6944 mapped by function-key-map to a printing char, call
6945 isearch-process-search-char directly.
6947 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
6949 * emacs-lisp/bytecomp.el:
6951 * international/mule-cmds.el:
6952 * international/mule-util.el:
6953 * international/mule.el:
6956 * faces.el: Update calls to make-obsolete with a WHEN argument.
6958 * byte-run.el (make-obsolete, make-obsolete-variable):
6959 Add an optional WHEN argument and change the format of the
6960 symbol-property information.
6961 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
6962 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
6963 new obsolete-symbol-property format and print WHEN if it is provided.
6965 2000-05-31 Dave Love <fx@gnu.org>
6967 * loadhist.el (loadhist-hook-functions): Remove
6968 before-change-function, after-change-function.
6969 (unload-feature): Deal with symbols which are both bound and
6972 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
6973 before-change-function, after-change-function.
6975 * simple.el (newline): Don't bind before-change-function,
6976 after-change-function.
6978 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
6980 * whitespace.el (whitespace-rescan-timer-time): Update interval
6981 set to 600 seconds (10 minutes) instead of 60 seconds since
6982 a large number of whitespace buffers causes emacs to `freeze'
6983 for a considerable amount of time.
6985 * whitespace.el: Updated email address
6987 2000-05-31 Dave Love <fx@gnu.org>
6989 * add-log.el (change-log-font-lock-keywords) <function>: Add
6990 pattern for function of change.
6991 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
6992 acknowledgements patterns.
6994 2000-05-31 Kenichi Handa <handa@etl.go.jp>
6996 * isearch.el (isearch-printing-char): If keyboard coding system is
6997 being used, call isearch-process-search-multibyte-characters.
6999 * international/isearch-x.el: Mostly rewritten.
7001 * international/quail.el (quail-start-conversion): Don't include
7002 unhandled events in the returned events, but set them in
7003 unread-command-events. Exit if all inputs are deleted.
7005 2000-05-30 Jason Rumney <jasonr@gnu.org>
7007 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
7009 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
7010 Reenable code to create initial fontsets.
7011 Use set-fontset-font in place of put-charset-property.
7013 2000-05-30 Gerd Moellmann <gerd@gnu.org>
7015 * progmodes/perl-mode.el (perl-indent-line): When looking for a
7016 label, ensure that the first colon isn't followed by another.
7018 * paths.el (Info-default-directory-list): Doc fix.
7020 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
7021 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
7022 send a query containing USER only, not USER@HOST.
7024 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
7025 and rmail-msgend to compute the restriction at the end, instead of
7028 2000-05-29 Gerd Moellmann <gerd@gnu.org>
7030 * dabbrev.el (dabbrev-expand): Don't display messages in the
7031 echo area if the minibuffer window is active.
7033 * jit-lock.el (jit-lock-mode): Add after change function to
7036 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
7038 * antlr-mode.el: New commands: hide/unhide actions,
7039 upcase/downcase literals.
7040 (antlr-tiny-action-length): New user option.
7041 (antlr-hide-actions): New command. Suggested by
7042 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
7043 (antlr-mode-map): New binding [C-c C-v].
7044 (antlr-mode-menu): New entries.
7045 (antlr-downcase-literals): New command.
7046 (antlr-upcase-literals): Ditto.
7048 * antlr-mode.el: Minor changes: indendation, mode-name.
7049 (antlr-indent-line): Indent cpp directive at column 0.
7050 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
7052 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
7053 (antlr-font-lock-additional-keywords): Workaround for intentional
7054 bug in XEmacs version of font-lock.
7055 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
7056 be used by a smarter version of `buffers-menu-grouping-function'.
7058 2000-05-29 Gerd Moellmann <gerd@gnu.org>
7060 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
7061 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
7063 2000-05-29 Kenichi Handa <handa@etl.go.jp>
7065 * international/encoded-kb.el
7066 (encoded-kbd-iso2022-designation-map): Pay attention to that
7067 charset-iso-final-char return -1 for eight-bit-control and
7070 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
7072 * speedbar.el (speedbar-use-images, speedbar-update-flag)
7073 (speedbar-easymenu-definition-base): Use display-graphic-p where
7074 available, instead of window-system.
7076 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
7078 * international/codepage.el (cp-coding-system-for-codepage-1): Add
7079 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
7082 2000-05-26 Dave Love <fx@gnu.org>
7084 * disp-table.el (standard-display-underline): Don't use
7087 * mail/reporter.el: Maintainer change. Doc fixes.
7088 (reporter-version): Deleted.
7090 * emacs-lisp/elp.el: Maintainer change.
7091 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
7093 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
7095 * add-log.el (add-change-log-entry): Merge the current entry with the
7096 previous one if the previous one is empty.
7098 2000-05-26 Dave Love <fx@gnu.org>
7100 * loadhist.el (unload-feature): Fix interactive spec [from
7101 lijnzaad@ebi.ac.uk].
7103 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
7104 subr-arity to check primitives.
7105 (byte-compile-flush-pending, byte-compile-file-form-progn)
7106 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
7107 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
7110 2000-05-26 Kenichi Handa <handa@etl.go.jp>
7112 * international/fontset.el: Set family names of non-latin charsets
7113 in default fontset to "*".
7115 * international/mule-diag.el (print-fontset): Combine family part
7116 and registry part of the fontname by "-*-" instead of "-".
7118 * international/mule-cmds.el (encode-coding-char): Make strings
7119 multibyte before calling encode-coding-string.
7121 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
7123 * derived.el: Fix keywords.
7124 (define-derived-mode): Only define if needed.
7126 * simple.el (fill-comment, comment-column, comment-start)
7127 (comment-start-skip, comment-end, comment-indent-function)
7128 (block-comment-start, block-comment-end, indent-for-comment)
7129 (set-comment-column, kill-comment, comment-padding, comment-region)
7130 (comment-multi-line, indent-new-comment-line): Remove.
7132 * bindings.el (esc-map): Change ; to comment-dwim and use the new
7133 function names for comment operations.
7135 * newcomment.el: Add abundant autoload cookies.
7136 (comment-style): Don't depend on runtime data at compile-time.
7137 (comment-indent-hook): Remove.
7138 (comment-indent): Check if comment-indent-hook is bound.
7139 (comment-region): Docstring fix.
7141 2000-05-25 Dave Love <fx@gnu.org>
7143 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
7144 byte-code-function-p.
7146 * mail/rmailsum.el: Add provide.
7148 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
7150 * smerge-mode.el (smerge-diff-switches): Don't use list* in
7153 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
7155 * ediff-diff.el (ediff-exec-process): delete --binary option from
7156 non-buffer ediff jobs.
7158 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7160 * hilit-chg.el (highlight-changes-mode): Ask about color or
7161 grayscale support, not about window-system.
7163 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
7165 (ffap-highlight): Always default to t.
7167 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
7168 display-popup-menus-p instead of looking at window-system.
7170 * disp-table.el (standard-display-g1, standard-display-graphic):
7171 Only refuse to use string glyphs on X and MS-Windows.
7173 * avoid.el: Remove window-system from commentary, suggest to use
7174 display-*-p instead.
7176 * apropos.el (apropos-print): Use display-mouse-p instead of
7179 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7181 * international/codepage.el (cp-decoding-vector-for-codepage):
7182 Fill up unsupported characters with their own codes. From Kenichi
7185 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7187 * international/mule-diag.el (describe-char-after): Use
7188 display-graphic-p instead of window-system, so that this function
7191 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
7193 * international/codepage.el (cp-make-coding-systems-for-codepage):
7194 Remove the eight-bit-graphic and eight-bit-control charsets from
7195 the list of charsets which we convert into `?'.
7197 2000-05-25 Kenichi Handa <handa@etl.go.jp>
7199 * international/mule-conf.el: Specify CHARSET-ID explicitely for
7201 (mule-unicode-0100-24ff, japanese-jisx0213-1,
7202 japanese-jisx0213-2): New charsets.
7204 * international/fontset.el: Setup default fontset for new charsets.
7206 2000-05-24 Dave Love <fx@gnu.org>
7208 * info.el (Info-find-node-2): Restructure [following "Vadim
7209 S. Solomin" <sovs@uic.nnov.ru>].
7211 * icomplete.el: Fix header for Finder.
7213 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
7215 * rmailout.el (rmail-output-to-rmail-file): Added optional param
7218 * rmail.el (rmail-automatic-folder-directives): New user variable.
7219 (rmail-show-message): Add call to `rmail-auto-file' during
7221 (rmail-auto-file): New function.
7223 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7225 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
7227 (ediff-test-utility,ediff-diff-mandatory-option)
7228 (ediff-reset-diff-options): Utilities for proper initialization of
7229 ediff-diff-options and ediff-diff3-options on Windows.
7231 * ediff-init.el (ediff-merge-filename-prefix): New customizable
7234 * ediff-mult.el (ediff-filegroup-action): Use
7235 ediff-merge-filename-prefix.
7237 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
7239 * viper-ex.el (ex-write): Set selective display to nil.
7241 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7243 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
7244 aliases for hebrew-iso-8bit.
7246 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
7248 * woman.el: New version from Francis J. Wright
7249 <F.J.Wright@Maths.QMW.ac.uk>.
7250 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
7251 names in environment variables regardless of the path separator.
7252 (woman-topic-all-completions-1): Don't call file-name-directory-p
7253 on all files, since woman-file-regexp already filters out any
7256 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7258 * international/quail.el (quail-start-translation): Don't change
7259 modified-p of the current buffer.
7260 (quail-start-conversion): Likewise.
7262 * international/kkc.el (kkc-region): Don't change modified-p of
7265 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
7267 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
7269 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
7271 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
7272 (speedbar-insert-button): Invisible text property fix.
7273 (speedbar-directory-plus): Renamed from speedbar-directory-+
7274 (speedbar-directory-minus): Renamed from speedbar-directory--
7275 (speedbar-page-plus): Renamed from speedbar-file-+
7276 (speedbar-page-minus): Renamed from speedbar-file--
7277 (speedbar-page): Renamed from speedbar-file-
7278 (speedbar-tag): Renamed from speedbar-tag-
7279 (speedbar-tag-plus): Renamed from speedbar-tag-+
7280 (speedbar-tag-minus): Renamed from speedbar-tag--
7281 (speedbar-expand-image-button-alist): Use above renames.
7283 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
7284 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
7285 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
7286 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
7287 * sb-pg.xpm: Renamed from sb-file.xpm
7288 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
7289 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
7291 2000-05-24 Kenichi Handa <handa@etl.go.jp>
7293 * international/quail.el (quail-show-guidance-buf): Set
7294 current-input-method of the guidance buffer to the name of the
7295 curren input method.
7297 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
7299 * progmodes/compile.el (compile-internal): Style typo.
7301 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
7302 quote vars and functions in the docstring.
7304 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
7306 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
7307 Don't quote lambdas.
7309 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
7311 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7313 * startup.el (command-line): Determine source file of compiled
7314 user init file differently. Warn if compiled user init file
7315 is older than its source file.
7317 * ffap.el (ffap-url-regexp): Add `https'.
7319 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
7321 * files.el (make-backup-file-name-1): Replace slashes with `!'
7322 rather than `|' (which is not allowed on Windows). Replace the
7323 drive letters with a string "drive_X".
7325 2000-05-23 Gerd Moellmann <gerd@gnu.org>
7327 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
7329 * files.el (interpreter-mode-alist): Add `bash2'.
7331 2000-05-22 Dave Love <fx@gnu.org>
7333 * loadhist.el (feature-symbols, file-provides, file-requires): Use
7335 (feature-file): Avoid calling symbol-name. Doc fix.
7336 (file-set-intersect, file-dependents): Use dolist, not mapcar.
7337 (loadhist-hook-functions): Add mouse-position-function.
7338 (unload-feature): Change uses of mapcar.
7340 * files.el (parse-colon-path): Doc fix.
7341 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
7342 (set-auto-mode): Use mapc.
7344 * complete.el (PC-look-for-include-file): Use :alnum: character
7346 (partial-completion-mode): Add autoload cookie.
7348 2000-05-22 Sam Steingold <sds@gnu.org>
7350 * info.el (Info-fontify-node): Fixed the call to
7351 `add-text-properties' (bug introduced on 2000-05-18).
7353 2000-05-22 Dave Love <fx@gnu.org>
7355 * bindings.el: Remove debug-ignored-errors set in other files.
7357 * progmodes/etags.el: Add to debug-ignored-errors.
7358 (visit-tags-table-buffer): Clear out buffers holding old tables
7359 when making a new list.
7360 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
7363 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
7365 (cmpl-string-case-type): Use character classes.
7368 * textmodes/ispell.el:
7371 * progmodes/compile.el: Add to debug-ignored-errors.
7373 * dabbrev.el: Add to debug-ignored-errors.
7374 (dabbrev-completion): Use mapc.
7376 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
7378 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
7379 (woman-mapcan, woman-parse-man.conf)
7380 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
7381 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
7382 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
7384 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
7385 (woman-manpath): Call woman-parse-man.conf.
7386 (woman-emulation): New defcustom, defaults to nroff.
7387 (woman-font-support): New defconst.
7388 (woman-use-symbol-font): New defcustom.
7389 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
7391 Many functions: Doc fix.
7393 2000-05-22 Kenichi Handa <handa@etl.go.jp>
7395 * international/quail.el (quail-simple-translation-keymap): Map
7396 128..255 to quail-self-insert-command.
7397 (quail-keyboard-layout-alist): Add definition for "pc102-de".
7399 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
7401 * help.el (help-manyarg-func-alist): Typo.
7403 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
7404 intervals which makes it heaps simpler.
7406 * newcomment.el (comment-region-internal): Go back to BEG after quoting
7407 the nested comment markers.
7409 * subr.el (remove-hook): Don't turn the hook's value into a list.
7411 2000-05-21 Dave Love <fx@gnu.org>
7413 * edmacro.el (edmacro-parse-keys): Return vector if any elements
7414 are invalid characters.
7416 * international/mule-util.el (detect-coding-with-priority): Use
7417 mapc. Remove redundant lambda.
7419 * international/mule-diag.el (list-non-iso-charset-chars)
7420 (describe-fontset): Remove redundant lambda.
7422 * emulation/crisp.el (brief-mode): New alias.
7424 * emacs-lisp/ring.el (ring-elements): New function.
7426 * emacs-lisp/easymenu.el (easy-menu-create-menu)
7427 (easy-menu-do-add-item): Use keywordp.
7429 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
7431 * replace.el: Doc and error message fixes.
7432 (replace-highlight): Use facep, not internal-find-face.
7434 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
7436 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
7438 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
7439 (log-edit-insert-changelog): Drop `:' as well.
7441 * log-view.el: Fix file description.
7442 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
7444 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
7445 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
7447 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
7448 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
7449 Print a status message if the toggle is called interactively.
7450 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
7451 for global minor modes and use `defcustom' for them.
7453 (easy-mmode-define-derived-mode): Remove.
7454 (define-derived-mode): Fancier default docstring.
7455 (easy-mmode-define-navigation): Signal an error rather than (ding).
7457 * newcomment.el (comment-styles): New `box-multi'.
7458 (comment-normalize-vars): Better default for comment-continue to
7459 avoid whitespace-only continuations.
7460 (comment-search-forward): Always move even in the no-syntax case.
7461 (comment-padright): Only obey N if it's only obeyed for padleft.
7462 (comment-make-extra-lines): Better handling of empty continuations.
7463 Use `=' for the filler if comment-start has only one character.
7464 (uncomment-region): Try handling the special `=' filler.
7465 (comment-region): Allow LINES even if MULTI is nil.
7466 (comment-box): Choose box style based on comment-style.
7468 2000-05-20 Kenichi Handa <handa@etl.go.jp>
7470 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
7471 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
7473 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
7475 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
7476 and insert, not subst-char-in-region.
7478 * international/mule-diag.el (list-character-sets-1): Handle
7479 charsets eight-bit-control and eight-bit-graphic.
7480 (list-iso-charset-chars): Likewise.
7481 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
7482 charactes as is. Use indent-to to align characters.
7484 * international/mule-cmds.el (find-multibyte-characters): Never
7485 exclude charsets eight-bit-control and eight-bit-graphic.
7487 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
7489 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
7490 Don't quote lambdas.
7492 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
7494 2000-05-19 Gerd Moellmann <gerd@gnu.org>
7496 * gud.el (gud-jdb-directories): Doc fix.
7498 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
7500 * newcomment.el: New file.
7502 2000-05-19 Gerd Moellmann <gerd@gnu.org>
7504 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
7506 2000-05-18 Andreas Schwab <schwab@suse.de>
7508 * dired.el (dired-between-files): Also skip lines beginning with
7511 2000-05-18 Gerd Moellmann <gerd@gnu.org>
7513 * msb.el (msb-menu-cond): Add choice `user'.
7515 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7517 * ps-print.el: Compatibility, customization and doc fix.
7518 (ps-printer-name-option): Replace defconst by defvar.
7519 (ps-postscript-code-directory): XEmacs compatibility.
7520 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
7522 (ps-user-defined-prologue, ps-print-prologue-header)
7523 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
7524 compatibility and code fix.
7525 (ps-print-background-image, ps-print-background-text):
7527 (ps-line-number-start, ps-n-up-on): New vars.
7529 2000-05-18 Espen Skoglund <esk@ira.uka.de>
7531 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
7532 the indent-comment function to just return the appropriate indent.
7534 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
7536 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
7537 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
7538 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
7540 2000-05-18 Dave Love <fx@gnu.org>
7542 * info.el (Info-fontify-node): Add intangible property as well as
7545 * calendar/appt.el (appt-make-list): Match all lines of entry.
7546 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
7548 2000-05-18 Kenichi Handa <handa@etl.go.jp>
7550 * international/mule-diag.el (describe-char-after): Call
7551 internal-char-font, not char-font. If internal-char-font returns
7552 nil, display "-- none --".
7554 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
7556 * image.el (image-type-available-p): Don't reference image-types
7559 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
7561 * autoarg.el (autoarg-mode): Typo in the :set argument.
7563 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
7565 * startup.el (command-line-1): Don't signal an error if the
7566 directory for auto-save-list files does not yet exist.
7568 2000-05-17 Kenichi Handa <handa@etl.go.jp>
7570 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
7572 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
7574 * subr.el (remove-hook): `setq' hook-value, not `set'.
7576 2000-05-16 Sam Steingold <sds@gnu.org>
7578 * info.el (debug-ignored-errors): More errors to ignore.
7580 2000-05-16 Dave Love <fx@gnu.org>
7582 * cus-edit.el: Don't require cl or easymenu.
7583 (custom-variable-prompt): Test standard-value property, not
7586 2000-05-16 Sam Steingold <sds@gnu.org>
7588 * subr.el (add-hook): `setq' hook-value, not `set'.
7590 2000-05-16 Gerd Moellmann <gerd@gnu.org>
7592 * startup.el (command-line-1): Mention the FAQ in the startup
7595 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
7597 * progmodes/compile.el (compilation-parse-errors): Collect
7598 `nomessage' regexps last.
7600 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
7602 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
7603 to the function name.
7605 2000-05-15 Dave Love <fx@gnu.org>
7607 * speedbar.el (speedbar-recenter): Typo.
7608 (speedbar-expand-line): Make arg optional.
7609 (speedbar-mode): Avoid a compiler warning.
7611 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7613 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
7614 user-specified option string is empty.
7616 * mouse.el (mouse-yank-at-click): Doc fix.
7618 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
7620 * term/internal.el (IT-character-translations): More updates of
7621 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
7624 2000-05-15 Gerd Moellmann <gerd@gnu.org>
7626 * env.el (getenv): New function, interactively callable.
7627 (setenv, getenv): Remove autoload cookies.
7629 * loadup.el: Load `env'.
7631 * progmodes/f90.el: Change author's mail address.
7633 2000-05-14 Dave Love <fx@gnu.org>
7635 * mail/rmail.el (rmail-show-message-hook): Customize and offer
7636 goto-addr as an option.
7638 * help.el (help-xref-stack): Doc fix.
7639 (help-xref-following): New variable.
7640 (help-make-xrefs): Use it.
7641 (help-xref-go-back): Use position information from stack element.
7642 (help-follow): Make position in stack element a pair. Use
7643 help-xref-following.
7645 * autoarg.el: New file.
7647 * faces.el: Declare more functions obsolete.
7649 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
7650 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
7651 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
7652 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
7653 Remove all the setup-...-environment functions.
7655 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
7657 * speedbar.el: Updated the commentary section. xemacs20p now uses
7658 >= when detecting. Require `defimage' safely.
7659 (speedbar-easymenu-definition-base): Add toggle for images.
7660 (speedbar-easymenu-definition-special): Add flush cache & expand.
7661 (speedbar-visiting-tag-hook): Set new defaults. Added options.
7662 (speedbar-reconfigure-keymaps-hook): New variable.
7663 (speedbar-frame-parameters): Updated documentation.
7664 (speedbar-use-imenu-flag): Updated custom tag
7665 (speedbar-dynamic-tags-function-list): New variable.
7666 (speedbar-tag-hierarchy-method): Updated doc & custom.
7667 (speedbar-indentation-width, speedbar-indentation-width) New
7669 (speedbar-hide-button-brackets-flag): Customizable.
7670 (speedbar-vc-indicator): Doc update.
7671 (speedbar-ignored-path-expressions): Updated default value.
7672 (speedbar-supported-extension-expressions): Updated default value.
7673 (speedbar-syntax-table): Remove {} paren status.
7674 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
7675 as "+". Added overlay aliases.
7676 (speedbar-mode): Use `speedbar-mode-line-update' instead of
7677 `force-mode-line-update'.
7678 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
7679 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
7681 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
7682 (speedbar-item-info-tag-helper): Revamped to handle a wider range
7683 of arbitrary text, and new helper functions.
7684 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
7686 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
7687 (speedbar-directory-buttons): Update path search/expansion.
7688 (speedbar-make-tag-line): Pay attention to
7689 `speedbar-indentation-width'. Use more care w/ invisible
7691 (speedbar-change-expand-button-char): Call
7692 `speedbar-insert-image-button-maybe'.
7693 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
7694 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
7695 (speedbar-trim-words-tag-hierarchy)
7696 (speedbar-simple-group-tag-hierarchy): New functions
7697 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
7698 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
7700 (speedbar-mouse-set-point): New function
7701 (speedbar-power-click): Updated documentation.
7702 (speedbar-line-token, speedbar-goto-this-file): Handle more types
7704 (speedbar-expand-line, speedbar-contract-line): Make more robust
7706 (speedbar-expand-line): Takes universal argument to flush the
7708 (speedbar-flush-expand-line): New function.
7709 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
7710 Use new generator insertion method.
7711 (speedbar-fetch-dynamic-tags): New function.
7712 (speedbar-fetch-dynamic-imenu): Removed code now handled in
7713 `speedbar-fetch-dynamic-imenu'.
7714 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
7715 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
7716 "Revert Buffer" menu items.
7717 (speedbar-buffer-buttons-engine): Be smarter when creating a
7718 filename tag (for expansion purposes.).
7719 (speedbar-highlight-one-tag-line,
7720 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
7721 (speedbar-recenter): New functions.
7722 (defimage-speedbar): Image loading abstraction.
7723 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
7724 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
7725 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
7726 (speedbar-tag-type, speedbar-tag-mail): New images.
7727 (speedbar-expand-image-button-alist): New variable.
7728 (speedbar-insert-image-button-maybe): Insert an image over some
7731 2000-05-13 Kenichi Handa <handa@etl.go.jp>
7733 * international/mule-cmds.el (encode-coding-char): An ASCII
7734 character is always encodable.
7736 * international/mule-conf.el: Add more information in descriptions
7739 * international/mule-diag.el (describe-char-after): New function.
7740 (describe-font-internal): Adjusted for the change of font-info.
7741 (describe-font): Likewise.
7742 (print-fontset): Rewritten for the new fontset implementation.
7743 (describe-fontset): Include fontset alias names in completion.
7744 (list-fontsets): Adjusted for the change of print-fontset.
7746 * simple.el (what-cursor-position): If DETAIL is non-nil, call
7747 describe-char-after instead of displaying the detail in the echo
7749 (syntax-code-table): Format changed.
7750 (string-to-syntax): Adjusted for the above change.
7752 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
7754 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
7756 2000-05-12 Dave Love <fx@gnu.org>
7758 * calendar/todo-mode.el: Remove some compatibility stuff and CL
7759 dependence. Use line-{beginning,end}-position, not
7760 point-at{b,e}ol. Some doc fixes.
7761 (todo-position): New function. Fix callers of position to use it.
7762 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
7764 2000-05-12 Gerd Moellmann <gerd@gnu.org>
7766 * time.el (display-time-mail-icon): Use `:ascent center'.
7768 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
7769 handling FTP security extensions.
7771 2000-05-11 Dave Love <fx@gnu.org>
7773 * calendar/todo-mode.el: New file.
7775 2000-05-11 Gerd Moellmann <gerd@gnu.org>
7777 * comint.el (comint-read-input-ring): Move reference to
7778 comint-input-ring-size outside of the save-excursion. It was
7779 causing the default value to be the only one ever seen.
7781 * font-lock.el: Update copyright. Remove Simon Marshall's email
7782 address on request from him.
7784 * subr.el (substitute-key-definition): Add comment describing
7785 the meaning of PREFIX.
7787 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
7789 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
7791 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
7792 (add-minor-mode): Don't make the variable buffer-local and add a
7793 reference to define-minor-mode in the docstring.
7795 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
7796 HEADER/FOOTER and fix bug with trailing empty directory.
7797 (cvs-append-to-ignore): Use vc-editable-p if available.
7798 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
7799 (vc-do-command): Tweak advice to handle the new VC.
7801 * log-view.el (log-view-goto-rev): New function for the new VC.
7802 (log-view-minor-wrap): Use mark-active.
7804 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
7805 (log-edit-changelog-full-paragraphs): New var.
7806 (log-edit-insert-changelog): Remove a lonely leading `* file'.
7807 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
7808 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
7809 (log-edit-changelog-ours-p, log-edit-changelog-entries)
7810 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
7811 Replace the `cvs' prefix with `log-edit'.
7813 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
7815 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
7816 (diff-font-lock-defaults): Explicitly turn off multiline.
7817 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
7818 (diff-ediff-patch): Fix call to ediff-patch-file.
7819 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
7822 * frame.el (automatic-hscrolling): Typo.
7824 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
7826 2000-05-09 Sam Steingold <sds@goems.com>
7828 * apropos.el (apropos-print): use `describe-face' instead of
7829 `customize-face-other-window'.
7831 2000-05-09 Dave Love <fx@gnu.org>
7833 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
7835 * help.el (describe-variable): Have customize button pop the
7836 help-xref stack when invoked.
7837 (help-xref-symbol-regexp): Add `face'.
7838 (help-make-xrefs): Check for quoted face names and adapt regexp
7839 submatch numbers to cope.
7840 (help-xref-interned): Maybe insert face doc too. Separate
7841 sections with a line of hyphens.
7843 * faces.el: Some doc fixes. Declare some functions obsolete.
7844 (describe-face): Add customize button. Return the help
7847 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
7849 * term/internal.el (IT-character-translations): Fix last change.
7851 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7853 * woman.el: New file
7854 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
7856 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
7858 * term/internal.el (IT-character-translations): Update ASCII
7859 simulations for greek-iso8859-7, add latin-iso8859-14 and
7862 * international/mule-cmds.el (set-language-info-alist): Call
7863 define-prefix-command with 3 arguments, to make the map suitable
7866 2000-05-07 Dave Love <fx@gnu.org>
7868 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
7870 2000-05-05 Dave Love <fx@gnu.org>
7872 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
7873 list in doc string. Don't quote keyword symbols.
7874 * emacs-lisp/cl.el: Likewise
7875 * emacs-lisp/cl-seq.el: Likewise
7877 2000-05-05 Gerd Moellmann <gerd@gnu.org>
7879 * abbrev.el (abbrev-mode): Make ARG optional.
7881 2000-05-04 Gerd Moellmann <gerd@gnu.org>
7883 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
7885 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
7887 * subr.el (substitute-key-definition): Clarify documentation.
7889 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
7891 * glasses.el (glasses-convert-to-unreadable): Use
7892 `glasses-separator' instead of the hard-wired "_".
7893 (glasses-mode): Call `glasses-make-unreadable' only in a single
7896 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
7898 * term/internal.el (cjk-codepages-alist): Add associations for
7899 Chinese and Korean codepages. Remove FIXME comment.
7901 2000-05-03 Dave Love <fx@gnu.org>
7903 * time.el (display-time-mail-face, display-time-use-mail-icon):
7905 (display-time-mail-icon): New variable.
7906 (display-time-string-forms): Use the above. Fix the local-map.
7908 2000-05-03 Gerd Moellmann <gerd@gnu.org>
7910 * replace.el (query-replace-map): Add binding for `E'.
7911 (query-replace-help): Extend help text.
7912 (perform-replace): Allow editing the replacement string.
7914 * make-mode.el (makefile-mode-abbrev-table): New variable.
7915 (makefile-mode): Set local abbrev table to
7916 makefile-mode-abbrev-table.
7917 (makefile-font-lock-keywords): Fontify includes and conditionals.
7919 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
7922 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
7923 mail-interactive-insert-alias.
7924 (mail-abbrev-complete-alias): New command.
7925 (mail-mode-map): Bind it to `M-TAB'.
7927 2000-05-03 Kenichi Handa <handa@etl.go.jp>
7929 * language/lao-util.el (lao-compose-region): New function.
7931 2000-05-02 Gerd Moellmann <gerd@gnu.org>
7933 * files.el (recover-session): Make directories as necessary
7934 if they don't exist yet.
7936 * calendar/cal-french.el
7937 (french-calendar-multibyte-special-days-array)
7938 (french-calendar-special-days-array): Change French text.
7939 (calendar-french-date-string): Change output.
7940 (calendar-goto-french-date): Likewise.
7942 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
7944 * wid-edit.el (widget-default-active): Obey `:always-active'.
7945 (widget-documentation-string-value-create): Set `:always-active'.
7947 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7949 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
7950 default prefix to `~/_emacs.d/auto-save.list/_s'.
7951 (normal-top-level): Create the directory for auto-save files, if
7952 it doesn't already exist (in the ms-dos case only).
7954 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
7956 * international/mule-cmds.el (set-language-environment): Don't
7957 concat an integer (dos-codepage), use format instead.
7959 2000-05-02 Dave Love <fx@gnu.org>
7961 * help.el (help-xref-on-pp): Check for constant symbols.
7963 2000-04-29 Gerd Moellmann <gerd@gnu.org>
7965 * startup.el (normal-top-level): Put a condition-case around
7966 the code loading subdirs.el.
7968 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7970 * ps-print.el: Upside-down and face background color printing,
7971 line number step, doc fix.
7972 (ps-print-version): New version number (5.2).
7973 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
7974 (ps-face-attribute-list, ps-plot-with-face): Code fix.
7975 (ps-spool-config): Var fix.
7976 (ps-printer-name-option): Const fix.
7977 (ps-print-upside-down, ps-use-face-background)
7978 (ps-line-number-step): New vars.
7979 (ps-window-system, ps-lp-system): New consts.
7980 (ps-face-background): New fun.
7982 2000-04-28 Richard Stallman <rms@gnu.org>
7984 * files.el (make-auto-save-file-name):
7985 Apply auto-save-file-name-transforms to visited file name
7986 before generating auto save file name.
7987 (auto-save-file-name-transforms): New variable.
7989 * files.el (backup-enable-predicate):
7990 Correctly test for a file under a temporary directory.
7992 2000-04-28 Gerd Moellmann <gerd@gnu.org>
7994 * subr.el (add-minor-mode): Rewritten.
7996 2000-04-28 Kenichi Handa <handa@etl.go.jp>
7998 * mail/sendmail.el (sendmail-send-it): Set
7999 buffer-file-coding-system to the selected coding system for MIME
8002 2000-04-27 Gerd Moellmann <gerd@gnu.org>
8004 * dired.el (dired-move-to-filename-regexp): Allow format where
8005 YYYY is followed by two spaces.
8007 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
8008 in the second character class of the regexp.
8010 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
8013 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
8016 * subr.el (add-minor-mode): Use `set' instead of `setq'.
8018 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
8021 2000-04-27 Sen Nagata <sen@eccosys.com>
8023 * emacs-lisp/crm.el (crm-completion-table): New variable.
8024 (crm-collection-fn, crm-test-completion)
8025 (completing-read-multiple): Use it.
8027 2000-04-27 Dave Love <fx@gnu.org>
8029 * help.el (locate-library): Use mapc.
8030 (help-manyarg-func-alist): Add call-process-region.
8032 2000-04-26 Gerd Moellmann <gerd@gnu.org>
8034 * subr.el (add-minor-mode): Make argument MAP optional.
8036 * desktop.el (desktop-save): Save list of minor modes.
8037 (desktop-create-buffer): Restore minor modes.
8038 (desktop-minor-mode-table): New user-option.
8040 * subr.el (add-minor-mode): New function.
8042 * image.el (find-image): New function.
8043 (defimage): Rewritten to find image at load time.
8045 * startup.el (normal-top-level-add-to-load-path): Handle
8046 case that the default directory is not in load-path.
8048 * help.el: Old patch from Stefan Monnier.
8049 (help-xref-on-pp): New function.
8050 (describe-variable): Use it to display xrefs in a symbol's value.
8052 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
8054 * cus-edit.el (custom-face): Fix parenthesis.
8056 2000-04-26 Kenichi Handa <handa@etl.go.jp>
8058 * mail/rmail.el (rmail-expunge): When there are no deleted
8059 messages, do nothing.
8061 2000-04-26 Dave Love <fx@gnu.org>
8063 * international/mule-cmds.el (locale-translation-file-name):
8065 (set-locale-environment): Set it here (at runtime).
8067 2000-04-25 Gerd Moellmann <gerd@gnu.org>
8069 * replace.el (perform-replace): Add parameters START and END. Use
8070 them instead of the check for a region in Transient Mark mode.
8071 (query-replace-read-args): Return two more list elements for the
8072 start and end of the region in Transient Mark mode.
8073 (query-replace, query-replace-regexp, query-replace-regexp-eval)
8074 (map-query-replace-regexp, replace-string, replace-regexp): Add
8075 optional last arguments START and END and pass them to
8078 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
8079 form with additional arguments for perform-replace.
8081 * progmodes/etags.el (tags-query-replace): Add parameters START
8082 and END. Construct a form with additional arguments for
8085 * simple.el (shell-command): Set default directory for "*Shell
8086 Command Output" buffer.
8088 * language/european.el (iso-latin-4): Fix typo.
8090 * emacs-lisp/crm.el: New file.
8092 2000-04-24 Dave Love <fx@gnu.org>
8094 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
8095 (Custom-reset-saved, Custom-reset-standard)
8096 (custom-group-value-create, custom-group-set, custom-group-save)
8097 (custom-group-reset-current, custom-group-reset-saved)
8098 (custom-group-reset-standard): Use mapc.
8099 (custom-buffer-create-internal): Disable undo when creating items.
8101 (custom-face): Avoid redundant lambda.
8103 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8105 * startup.el (auto-save-list-file-prefix): Set default to
8106 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
8108 2000-04-24 Sam Steingold <sds@gnu.org>
8110 * time-stamp.el (time-stamp-string-preprocess): Always convert
8111 `field-result' to a string.
8113 2000-04-24 Gerd Moellmann <gerd@gnu.org>
8115 * frame.el (scrolling): New group.
8116 (automatic-hscrolling): New user-option.
8118 * startup.el (command-line-x-option-alist): Add `-lsp' and
8121 2000-04-19 Dave Love <fx@gnu.org>
8123 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
8124 (cl-mapc): Rename from mapc. Fix the funcall.
8126 2000-04-19 Gerd Moellmann <gerd@gnu.org>
8128 * simple.el (clone-indirect-buffer-other-window): New command.
8129 (clone-indirect-buffer): Add optional arg NORECROD.
8130 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
8132 * help.el (resize-temp-buffer-window): Use count-screen-lines.
8134 * window.el (count-screen-lines): New function.
8135 (shrink-window-if-larger-than-buffer): Use count-screen-lines
8136 instead of window-buffer-height.
8138 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
8139 non-existing variable comint-input-sentinel.
8140 (inferior-lisp-args-to-list): Removed.
8141 (inferior-lisp): Use split-string instead of
8142 inferior-lisp-args-to-list.
8144 * hexl.el (hexl-insert-hex-string): New command.
8146 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
8149 2000-04-18 Gerd Moellmann <gerd@gnu.org>
8151 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
8152 at the start of an existing but empty folder.
8154 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8156 * ps-mule.el: Customization fix, doc fix.
8157 (ps-multibyte-buffer): Customization fix.
8159 2000-04-17 Richard M. Stallman <rms@gnu.org>
8161 * subr.el (read-passwd): Use read-char-exclusive.
8163 2000-04-17 Gerd Moellmann <gerd@gnu.org>
8165 * textmodes/texinfo.el (texinfo-insert-@email)
8166 (texinfo-insert-@emph, texinfo-insert-@quotation)
8167 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
8168 (texinfo-mode-map): Add key bindings for them.
8170 * files.el (basic-save-buffer-2): Use a template with `$'
8171 instead of `#' for VMS.
8173 * simple.el (clone-indirect-buffer): New function.
8175 2000-04-16 Stephen Eglen <stephen@gnu.org>
8177 * iswitchb.el (iswitchb-case): New function. If the user input
8178 contains any upper-case characters, the search is made
8181 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
8183 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
8185 (texinfo-font-lock-syntactic-keywords): New var.
8186 (texinfo-font-lock-keywords): Remove comment regexp.
8187 (texinfo-insert-block): New function.
8188 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
8189 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
8190 and font-lock-defaults. Use regexp-opt for outline-regexp.
8191 (texinfo-environments): New var.
8192 (texinfo-environment-regexp): Use regexp-opt and
8193 texinfo-environments.
8195 * textmodes/ispell.el (ispell-menu-map-needed): Check that
8196 ispell-process is bound since this might be eval'd before ispell
8198 (ispell-message): Use a tiny bit less magic and a bit more hard
8199 data to figure out what kind of sc-cite-regexp to use.
8201 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
8203 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
8204 (insert-cyclic-diary-entry): Unquote the lambda.
8206 * gud.el (gud-jdb-build-source-files-list): Fix typo.
8208 * files.el (backup-enable-predicate): Unquote the lambda.
8210 * cus-edit.el (custom-face, face): Unquote the lambda.
8212 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8214 * ps-print.el: Check for line-beginning-position definition.
8216 * ps-print.el: Fix counting lines in a region.
8217 (ps-print-version): New version number (5.1.5).
8218 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
8219 (ps-printing-region): Fun code fix.
8221 2000-04-15 Gerd Moellmann <gerd@gnu.org>
8223 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
8224 to file-directory-p.
8226 2000-04-14 Gerd Moellmann <gerd@gnu.org>
8228 * gud.el (gud-jdb-build-source-files-list): Check that directory
8229 exists before calling directory-files.
8231 2000-04-13 Dave Love <fx@gnu.org>
8233 * emacs-lisp/trace.el: Change maintainer. Use new backquote
8236 * emacs-lisp/cl-specs.el: Remove when, unless.
8238 * emacs-lisp/cl-extra.el: Don't quote keywords.
8239 (cl-old-mapc): New variable.
8241 (cl-map-intervals): Use with-current-buffer. Don't check for
8242 next-property-change.
8243 (cl-map-overlays): Use with-current-buffer.
8245 (copy-tree, remprop): Define unconditionally.
8247 * emacs-lisp/cl-compat.el (keywordp): Remove.
8249 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
8251 (edebug-spec): Enable keywordp.
8253 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
8256 * cus-start.el: Use keywordp.
8258 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
8260 * diary-lib.el (include-other-diary-files): Fix the fix of
8261 2000-02-18 by doing a save-excursion.
8263 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8265 * ps-print.el: Customization fix, doc fix.
8266 (ps-print-version): New version number (5.1.4).
8267 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
8268 (ps-print-preprint): Adjust code.
8269 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
8270 (ps-print-prologue-header, ps-print-control-characters)
8271 (ps-spool-config): Customization fix.
8273 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
8275 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
8276 converted to the new menu-item format, names silightly changed,
8279 Support for spelling without async subprocesses:
8281 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
8282 (ispell-session-buffer): New variables.
8283 (ispell-start-process, ispell-process-status,
8284 ispell-accept-output, ispell-send-string): New functions, for
8285 Ispell invocation when async subprocesses aren't supported.
8286 (ispell-word, ispell-pdict-save, ispell-command-loop,
8287 ispell-process-line, ispell-buffer-local-parsing): Replace calls
8288 to process-send-string with calls to ispell-send-string, and
8289 accept-process-output with ispell-accept-output.
8290 (ispell-init-process): Call ispell-process-status instead of
8291 process-status with.
8292 (ispell-init-process): Call ispell-start-process. Call
8293 ispell-accept-output and ispell-send-string. Don't call
8294 process-kill-without-query and kill-process if they are unbound.
8295 (ispell-async-processp): New function.
8297 2000-04-12 Dave Love <fx@gnu.org>
8299 * info.el: Add debug-ignored-errors.
8300 (Info-mode-menu): Add some items.
8301 (Info-directory): Add autoload cookie.
8303 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
8304 Modify `truncate-lines'. Make `describe-language-environment'
8305 always visible and add help. Modify `describe-key' help. Invoke
8306 Info-directory from `info'. New entry `emacs-manual'.
8308 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8310 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
8311 propertized-buffer-identification.
8312 (ebrowse-update-member-buffer-mode-line): Likewise.
8313 (ebrowse--mode-strings): Removed.
8314 (ebrowse--mode-line-props): Removed.
8316 * files.el (auto-mode-alist): Add `EBROWSE'.
8318 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
8319 space before testing for end of buffer.
8320 (ebrowse-load): Removed.
8321 (ebrowse-revert-tree-buffer-from-file): Rewritten.
8322 (ebrowse-create-tree-buffer): Rewritten.
8323 (ebrowse-tree-mode): Read tree from buffer.
8325 * progmodes/ebrowse-ffh.el: Removed.
8327 2000-04-10 Kenichi Handa <handa@etl.go.jp>
8329 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
8331 2000-04-10 Gerd Moellmann <gerd@gnu.org>
8333 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
8336 2000-04-09 Dave Love <fx@gnu.org>
8338 * files.el (backup-enable-predicate): Use
8339 temporary-file-directory, small-temporary-file-directory.
8340 (make-backup-file-name-function, backup-directory-alist): New
8342 (make-backup-file-name-1): New function.
8343 (make-backup-file-name): Use it.
8344 (find-backup-file-name): Likewise. Use format for clarity, not
8346 (file-newest-backup): Use make-backup-file-name.
8348 2000-04-09 Gerd Moellmann <gerd@gnu.org>
8350 * progmodes/ebrowse-ffh.el: New file.
8352 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
8354 (ebrowse-load): Add autoload.
8356 * finder.el (finder-commentary): Add autoload cookie.
8358 * mail/rfc2368.el: Correct author's email address.
8360 * progmodes/ebrowse.el: New file.
8362 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
8364 (easy-menu-do-add-item): Ditto.
8365 (easy-menu-define): Extend doc string.
8367 * jit-lock.el (with-buffer-unmodified): Use
8368 restore-buffer-modified-p.
8369 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
8370 (jit-lock-function, jit-lock-stealth-fontify): Don't use
8371 with-buffer-unmodified.
8373 2000-04-08 Dave Love <fx@gnu.org>
8375 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
8378 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
8380 * viper-util.el (viper-put-on-search-overlay): New subroutine.
8381 (viper-flash-search-pattern): No operation when using Emacs
8382 doesn't support face.
8383 Use `viper-put-on-search-overlay'.
8385 2000-04-04 Gerd Moellmann <gerd@gnu.org>
8387 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
8390 * progmodes/make-mode.el: Some doc fixes.
8391 (makefile-mode-abbrev-table): New variable.
8392 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
8393 (makefile-font-lock-keywords): Fontify includes and conditionals.
8394 (toplevel): Require `dabbrev' and `add-log' when compiling.
8396 * replace.el (perform-replace): Don't move forward one char
8397 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
8398 to do that because it leaves point 1 position after the last
8399 replacement, after everything has been replaced.
8401 * jit-lock.el (with-buffer-unmodified): New macro.
8402 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
8404 (jit-lock-function-1): Extracted from jit-lock-function; not
8405 preserving buffer's modified state.
8406 (jit-lock-function, jit-lock-stealth-fontify): Call
8407 jit-lock-function-1.
8409 * mail/rfc2368.el: Remove supernumerary copyright line.
8411 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
8413 * glasses.el: Provide facilities for inserting space before left
8414 parentheses and uncapitalization of identifiers.
8415 (glasses-mode): Try to remove old overlays in all cases.
8417 2000-04-03 Gerd Moellmann <gerd@gnu.org>
8419 * progmodes/compile.el (compile-internal): Display the compilation
8420 buffer in a different frame, if it's already displayed there.
8422 * mail/rfc2368.el: New file.
8424 * simple.el (sendmail-user-agent-compose): Recognize a `body'
8425 header and insert its value as mail body.
8427 * subr.el (member-ignore-case): New function.
8429 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
8430 (dabbrev--find-expansion): Ignore buffers matching a regexp
8431 from dabbrev-ignored-regexps.
8433 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
8434 to extensions handled by gzip.
8436 2000-04-03 Richard M. Stallman <rms@gnu.org>
8438 * files.el (insert-directory): List the total free space
8439 along with the used space.
8441 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
8442 line is followed by one that matches CITATION-REGEXP, end the
8445 2000-04-03 Markus Rost <rost@delysid.gnu.org>
8447 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
8448 (rmail-make-basic-summary-line): Use that option.
8450 2000-04-03 Kenichi Handa <handa@etl.go.jp>
8452 * international/mule-cmds.el (encoded-string-description):
8453 Rewritten. Try pretty description for ISO 2022 escape sequences
8454 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
8455 for hexadecimal format.
8457 2000-04-01 Dave Love <fx@gnu.org>
8459 * cpp.el: Change customization group to `c' from `C'.
8461 * vcursor.el (vcursor-move): Use display-color-p.
8463 * international/mule-util.el: Provide mule-utils.
8464 (string-to-sequence): Simplify and speed up.
8466 * international/mule.el (make-coding-system): Purecopy doc-string.
8468 * international/mule-cmds.el: Various menu changes.
8469 (describe-specified-language-support): Handle `Default'.
8470 (set-language-info): Purecopy `info'.
8472 2000-03-31 Andrew Innes <andrewi@gnu.org>
8474 * vc.el (vc-backend-diff): Return the correct status if we had to
8475 retry the rcsdiff command without the --brief option.
8477 2000-03-31 Dave Love <fx@gnu.org>
8479 * help.el (help-manyarg-func-alist): Correct several omissions.
8481 * add-log.el: Don't require cl, fortran.
8482 (add-log-current-defun-function): Doc fix.
8483 (change-log-version-number-regexp-list): Remove SCCS part. Doc
8485 (change-log-version-rcs): Function deleted.
8486 (change-log-version-number-search): Doc fix. Use
8487 vc-workfile-version. Avoid CL dolist.
8488 (add-change-log-entry): Just call add-log-current-defun to get
8489 defun. Simplify somewhat.
8490 (change-log-get-method-definition-1): Likewise.
8491 (add-log-current-defun): Return nil if calling
8492 add-log-current-defun-function does so. Move Fortran stuff to
8493 fortran.el. Return string without properties.
8495 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
8496 and :alpha: char classes.
8498 * mail/supercite.el: Defvar curline when compiling.
8499 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
8500 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
8501 rather than a-zA-Z0-9 to allow non-ASCII characters.
8503 2000-03-31 Gerd Moellmann <gerd@gnu.org>
8505 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
8507 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8510 * lpr.el (print-region-1): Use -d to specify printer name for
8511 systems `usg-unix-v*, `dgux', `hpux', `irix'.
8513 2000-03-31 Dave Love <fx@gnu.org>
8515 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
8516 for function definition in symbol's function value slot first
8517 instead of first consulting byte-compile-function-environment.
8519 2000-03-31 Kenichi Handa <handa@etl.go.jp>
8521 * language/european.el ("Polish"): New language environment.
8522 (setup-polish-environment): New function.
8524 2000-03-30 Gerd Moellmann <gerd@gnu.org>
8526 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8529 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
8530 trying to `load' the symbol of an autoload instead of the file
8531 recorded in the autoload. Fix error messages.
8533 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8535 * ps-print.el: PostScript programming fix for ghostview, doc fix.
8536 (ps-print-version): New version number (5.1.3).
8537 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
8538 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
8539 (ps-generate-postscript-with-faces): Code fix.
8540 (ps-color-values): XEmacs compatibility.
8541 (ps-print-background-image, ps-print-background-text, ps-printer-name)
8542 (ps-default-fg, ps-default-bg): Adjust customization.
8543 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
8544 (ps-color-scale): Renaming old ps-color-value fun.
8545 (ps-print-headers): Replace ps-print-header group to avoid conflict
8546 with ps-print-header variable.
8547 (ps-print-miscellany): New group.
8548 (ps-format-color, ps-rgb-color): New funs.
8549 (ps-default-foreground): New var.
8550 (ps-printer-name-option): New const.
8552 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
8555 (network-connection-host, network-connection-service): New variables
8556 (network-connection-mode): New mode, derived from comint-mode
8557 (network-connection-mode-setup): New function, saves host and
8558 service information in local variables.
8561 (locate-word-at-point): Added this function
8562 (locate): Default to using locate-word-at-point as input
8565 2000-03-29 Dave Love <fx@gnu.org>
8567 * calendar/appt.el: Doc fixes.
8568 (appt-check): Convert min-to-app to a string before passing to
8569 appt-disp-window-function or concat.
8570 (appt-delete-window): Remove test for frame-root-window.
8571 (appt-select-lowest-window, appt-convert-time): Simplify.
8573 * emacs-lisp/bytecomp.el: Doc fixes.
8574 (byte-compile-file-form-autoload): Update
8575 byte-compile-function-environment.
8577 2000-03-29 Andreas Schwab <schwab@suse.de>
8579 * emacs-lisp/autoload.el: Also print defsubst doc string
8582 * dired.el (dired-insert-directory): If dired-free-space-program
8583 failed just delete its output.
8585 2000-03-29 Dave Love <fx@gnu.org>
8587 * international/iso-cvt.el: Move provide to end. Doc fixes.
8588 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
8589 (iso-iso2sgml, iso-sgml2iso): New functions.
8590 (iso-cvt-define-menu): Fix some entries and use backquote for
8593 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
8595 2000-03-28 Gerd Moellmann <gerd@gnu.org>
8597 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
8598 ISO-DATE. If non-nil, return date in ISO 8601 format.
8600 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
8602 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
8603 if it ever becomes used.
8604 (log-edit-mode-hook): Default to vc-log-mode-hook.
8605 (log-edit-mode): Fix the docstring.
8607 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
8610 2000-03-26 Dave Love <fx@gnu.org>
8612 * net/browse-url.el (browse-url): Re-fix case of
8613 browse-url-browser-function being an alist.
8614 (browse-url): Add :link to defgroup.
8616 * files.el: Doc fixes.
8617 (file-truename): Include `[' in wildcard characters.
8618 (automount-dir-prefix): Customize.
8619 (find-file-wildcards): Add :version.
8620 (find-file-noselect): Simplify a mapcar call.
8622 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
8623 compatible with inf-lisp version.
8624 (eval-defun-1): Fix custom-declare-variable case.
8626 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
8628 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
8630 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8632 * Makefile (COMPILE_FIRST): New macro.
8633 (compile-files): Compile files from COMPILE_FIRST first.
8635 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
8638 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
8639 matching open parenthesis in column 0 to defun-prompt-regexp
8640 only if open-paren-in-column-0-is-defun-start is set.
8642 * sun-curs.el: Require CL at compile-time only.
8644 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
8645 instead of copy-list which is a function from CL.
8646 (msb--choose-menu, msb--mode-menu-cond)
8647 (msb--create-buffer-menu-2): Use dolist instead of mapc.
8648 (msb--init-file-alist): Use mapcar instead of mapcan.
8649 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
8650 `(' in column 0 in doc string.
8651 (msb--add-separators): Use mapcar instead of mapcan.
8653 * cus-dep.el: Require CL at compile-time only.
8655 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
8657 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
8658 (byte-compile-warnings): New warning `noruntime'.
8659 (byte-compile-constants, byte-compile-variables): Fix docstring.
8660 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
8661 execute `eval-whenc-compile's body.
8662 (byte-compile-unresolved-functions): Fix docstring.
8663 (byte-compile-eval): New function.
8664 (byte-compile-callargs-warn): Check if the function will be available
8665 at runtime (via property `byte-compile-noruntime').
8666 (byte-compile-print-syms): New function.
8667 (byte-compile-warn-about-unresolved-functions): Also warn about
8668 `noruntime' functions (and use `byte-compile-print-syms').
8669 (byte-compile-file): Capitalize the message.
8671 2000-03-24 Gerd Moellmann <gerd@gnu.org>
8673 * mail/rmail.el (rmail-confirm-expunge): New user-option.
8674 (rmail-expunge): Ask for confirmation depending on the setting
8675 of rmail-confirm-expunge.
8677 2000-03-23 Gerd Moellmann <gerd@gnu.org>
8679 * Makefile (bootstrap-clean): If $(emacs) exists, build
8680 loaddefs.el first. A loaddefs.el that's not up-to-date might
8681 cause a bootstrap failure because things don't autoload as
8684 2000-03-23 Dave Love <fx@gnu.org>
8686 * net/browse-url.el: Restore previous use of
8687 browse-url-maybe-new-window.
8689 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8691 * ps-print.el: Skip banner page fix.
8692 (ps-print-version): New version number (5.1.2).
8693 (ps-begin-file, ps-end-file, ps-generate): Code fix.
8695 2000-03-23 Dave Pearson <davep@davep.org>
8697 * net/quickurl.el Changed the type of parameter passed to the
8698 function defined by `quickurl-format-function'. Before only the
8699 text of the URL was passed. Now the whole URL structure is passed
8700 and the function is responsible for extracting the parts it
8701 requires. Changed the default of `quickurl-format-function'
8703 (quickurl-insert): Changed the `funcall' of
8704 `quickurl-format-function' to match the above change.
8705 (quickurl-list-insert): Changed the `url' case so that it makes
8706 use of `quickurl-format-function', previous to this the format was
8709 2000-03-22 Gerd Moellmann <gerd@gnu.org>
8711 * startup.el: Change some spellings for the X Window System.
8713 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
8715 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
8716 up the code and the regexp and make sure the cursor is temporarily
8717 moved to the suspicious line while querying the user.
8719 2000-03-22 Jason Rumney <jasonr@gnu.org>
8721 * w32-fns.el (w32-charset-info-alist): Initialize.
8723 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8725 * ps-print.el: N-up last page fix.
8726 (ps-print-version): New version number (5.1.1).
8727 (ps-end-file, ps-end-job, ps-generate): Code fix.
8729 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8731 * files.el (find-file-run-dired): Update docstring.
8732 (find-directory-functions): New hook.
8733 (find-file-noselect): Run find-directory-functions rather than
8734 calling dired directly.
8736 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
8738 * pcvs.el: Add a minimal leading commentary.
8739 (cvs-make-cvs-buffer): Change the header part by removing the startup
8740 message and adding a `Module' entry. Also replace the FOOTER and
8741 HEADER special fileinfos with the new support in ewoc for updating
8742 its own footer and header.
8743 (cvs-update-header): Update to use the header/footer of the ewoc.
8744 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
8745 (cvs-is-within-p): New function.
8746 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
8747 to only examine some subset of the buffers.
8749 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
8750 `format' instead of our own ad-hoc functions.
8751 Remove HEADER and FOOTER cases, now handled in the EWOC.
8752 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
8754 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
8755 output to avoid scaring the user.
8756 (cvs-parse-table): Catch message for non-up-to-date commits.
8758 * pcvs-defs.el (cvs-startup-message): Remove.
8759 (cvs-global-menu): New autoloaded menu.
8761 * pcvs-util.el (cvs-string-fill): Remove.
8763 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
8764 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
8765 PP part of it and also make it work for footers and headers.
8766 (ewoc-create): Drop POS and BUFFER arguments.
8767 Use the DLL's dummy node to store the end-of-footer position.
8768 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
8769 (ewoc-refresh): Remove unused `header' variable.
8770 (ewoc-(get|set)-hf): New functions.
8772 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
8773 log-view-*-(message|file) and use easy-mmode-define-navigation.
8774 (log-view-message-re): Match SCCS format as well.
8775 And match the revision line rather than the dashed separator line.
8776 (log-view-mode): Use the new define-derived-mode.
8777 (log-view-current-tag): Fill in with an actual implementation.
8779 * cvs-status.el (cvs-status-(prev|next)): Rename from
8780 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
8781 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
8782 to let the output "breathe" a little more (more readable).
8783 (cvs-status-mode): Use the new define-derived-mode.
8785 * smerge-mode.el (smerge-auto-leave): New function and variable.
8786 (smerge-basic-map): Rename from smerge-basic-keymap.
8787 Change the bindings for smerge-diff-*.
8788 (smerge-*-map): Use easy-mmode-defmap.
8789 (smerge-(next|prev)): Use easy-mmode-define-navigation.
8790 (smerge-keep-*): Use smerge-auto-leave.
8792 2000-03-21 Jason Rumney <jasonr@gnu.org>
8794 * cus-edit.el (custom-button-face): Use 3D look for w32.
8795 (custom-button-pressed-face): Likewise.
8797 2000-03-21 Gerd Moellmann <gerd@gnu.org>
8799 * progmodes/etags.el (tags-case-fold-search): New user-option.
8800 (tags-loop-eval): New function. Bind case-fold-search around eval
8801 depending on the value of tags-case-fold-search.
8802 (tags-loop-continue): Use tags-loop-eval.
8803 (find-tag-in-order): Bind case-fold-search depending on the value
8804 of tags-case-fold-search.
8806 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
8808 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
8809 (diff-end-of-hunk): Return the end position for use in
8810 `easy-mmode-define-navigation'.
8811 (diff-recenter): Remove.
8812 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
8813 of `easy-mmode-define-navigation'.
8814 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
8815 previous renaming) and fix to use new names.
8816 (diff-merge-strings): Use \n as separator: simpler, faster.
8817 (diff-mode): Use `define-derived-mode'.
8819 * derived.el (define-derived-mode): Don't autoload anymore.
8820 Prefer the macro-only version provided by easy-mmode.el.
8822 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
8823 `easy-mmode-define-derived-mode'.
8824 Use `combine-run-hooks'.
8825 (easy-mmode-define-navigation): New macro.
8827 * subr.el (combine-run-hooks): New function.
8829 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
8831 * term/x-win.el: Fontsets related initialization is simplified.
8833 * international/mule-diag.el (describe-font): Don't refer to
8834 global-fontset-alist, instead call font-list.
8835 (describe-fontset, list-fontsets, mule-diag): Likewise.
8836 (print-fontset): Adjusted for the change of fontset
8839 * international/fontset.el (x-charset-registries): Variable
8840 removed, instead the corresponding data is stored in the default
8842 (register-alternate-fontnames): Function removed.
8843 (resolved-ascii-font): Variable removed.
8844 (x-compose-font-name): Ignore the second argument REDOCE.
8845 (x-complement-fontset-spec): Complement only an ASCII font and
8846 element for those charsets than can use that ASCII font.
8847 (generate-fontset-menu): Don't refer to global-fontset-alist,
8848 instead call fontset-list.
8849 (uninstantiated-fontset-alist): Variable removed.
8850 (x-style-funcs-alist): Likewise.
8851 (fontset-default-styles): Likewise.
8852 (x-modify-font-name): Function removed.
8853 (create-fontset-from-fontset-spec): Ignore the argument
8855 (create-fontset-from-ascii-font): Docsting adjusted for the above
8857 (instantiate-fontset, resolve-fontset-name): Functions removed.
8858 (fontset-list): Now implemented by C code.
8860 * faces.el (read-face-font): Fix TABLE arg to completing-read.
8861 (describe-face): Include `font' attribute in the description.
8863 2000-03-21 Kenichi Handa <handa@etl.go.jp>
8865 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
8867 2000-03-20 Gerd Moellmann <gerd@gnu.org>
8869 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
8870 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
8871 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
8873 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
8874 about behavior of set-buffer-modified-p wrt redisplay.
8876 2000-03-19 Richard M. Stallman <rms@gnu.org>
8878 * view.el (view-mode-disable): Kill local binding of view-read-only.
8880 2000-03-18 Gerd Moellmann <gerd@gnu.org>
8882 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
8883 is a string, convert it to a syntax cell using string-to-syntax.
8885 * simple.el (syntax-code-table, syntax-flag-table): New variables.
8886 (string-to-syntax): New function.
8888 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
8889 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
8890 try to use passive ftp mode.
8892 2000-03-17 Gerd Moellmann <gerd@gnu.org>
8894 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
8896 * simple.el (append-to-buffer): Update point of windows after
8899 * abbrev.el (inverse-add-abbrev): Identify word by first moving
8900 forward then moving backward. Reindent.
8902 * frame.el (other-frame): Call x-focus-frame only if
8903 focus-follows-mouse is off.
8905 2000-03-17 Dave Love <fx@gnu.org>
8907 * pcvs-util.el (cvs-strings->string): Rename
8908 replace-regexps-in-string.
8910 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
8912 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
8913 regexp for labels cannot span several lines.
8915 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
8916 `(setq :<key> ':<key>)' to the macro expansion.
8918 2000-03-16 Dave Love <fx@gnu.org>
8920 * progmodes/f90.el (f90): Put custom group under `languages', not
8922 (f90-mode-hook): Customize.
8923 (f90-mode): Set add-log-current-defun-function.
8924 (f90-current-defun): New function.
8926 2000-03-16 Gerd Moellmann <gerd@gnu.org>
8928 * cus-edit.el (custom-variable-tag-face): Handle case that
8929 default face's height is not a number.
8930 (custom-face-tag-face, custom-group-tag-face-1)
8931 (custom-group-tag-face): Ditto.
8932 (custom-group-tag-face-1): Add :group.
8934 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
8936 2000-03-15 Gerd Moellmann <gerd@gnu.org>
8938 * pcvs-defs.el (toplevel): Remove autoload cookie for form
8941 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8943 * ps-print.el: PostScript user-defined prologue, PostScript error
8945 (ps-print-version): New version number (5.1).
8946 (ps-user-defined-prologue, ps-error-handler-message)
8947 (ps-print-prologue-0, ps-error-handler-alist): New vars.
8948 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
8949 (ps-insert-string): New function.
8951 2000-03-15 Kenichi Handa <handa@etl.go.jp>
8953 * international/ccl.el (ccl-compile-expression): Don't generate
8954 invalid self-assignment code.
8956 2000-03-14 Dave Love <fx@gnu.org>
8958 * subr.el (replace-regexp-in-string): Renamed from
8959 replace-regexps-in-string. Doc fix.
8961 2000-03-12 Dave Love <fx@gnu.org>
8963 * cus-edit.el: Doc fixes.
8964 (customize-set-variable, customize-save-variable): Rename args for
8966 (custom-variable-tag-face, custom-face-tag-face)
8967 (custom-group-tag-face-1, custom-group-tag-face): Modify from
8968 style which user identify as hyperlink.
8969 (hook): Don't add undefined functions to the hook.
8970 (debug-ignored-errors): Transfer message from bindings.el.
8972 2000-03-12 Gerd Moellmann <gerd@gnu.org>
8974 * recentf.el (recentf-keep-non-readable-files-p): Remove
8975 double/nested definition.
8977 2000-03-12 Dave Love <fx@gnu.org>
8979 * facemenu.el (facemenu-get-face): Use display-color-p.
8980 * enriched.el (enriched-decode-foreground): Likewise.
8981 (enriched-decode-background): Likewise.
8982 * isearch.el (isearch-highlight): Likewise.
8983 * info-look.el (info-lookup): Likewise.
8984 * simple.el (completion-setup-function): Likewise.
8986 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
8989 * bindings.el (mode-line-format): Fix line-number and
8990 column-number items. Add help-echo for the background.
8991 (mode-line-mule-info): Modify help-echo.
8993 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
8996 * files.el (load-file): Allow completion to .elc.
8998 * man.el: Doc fixes.
8999 (Man-init-defvars): Use display-color-p to set fontification.
9001 * play/hanoi.el (hanoi-internal): Don't use oddp.
9003 2000-03-12 Gerd Moellmann <gerd@gnu.org>
9005 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
9007 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
9009 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
9011 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
9014 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
9016 * font-lock.el (font-lock-keywords): Fix the doc now that
9017 regexp-opt-depth is unnecessary.
9018 (save-buffer-state): Set an edebug spec.
9019 (font-lock-fontify-anchored-keywords): Properly handle the case when
9020 the matcher goes past the limit.
9022 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
9023 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
9025 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
9026 dll.el and cookie.el (from Elib) with heavy renaming and other
9029 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
9030 Autoload the functions used.
9031 (easy-mmode-define-syntax): Fix CL typo.
9032 (easy-mmode-define-derived-mode): Improve the docstring generation.
9034 2000-03-10 Gerd Moellmann <gerd@gnu.org>
9036 * textmodes/texinfo.el (texinfo-version): Variable and function
9039 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
9041 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
9042 allow more flexibility.
9043 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
9045 (easy-mmode-defmap, easy-mmode-defsyntax)
9046 (easy-mmode-define-derived-mode): New macros.
9048 2000-03-09 Didier Verna <didier@xemacs.org>
9050 * rect.el (replace-rectangle): New function.
9052 2000-03-09 Dave Love <fx@gnu.org>
9054 * progmodes/fortran.el (fortran-comment-line-start): Define as
9056 (fortran-comment-line-start-skip): Don't match cpp stuff.
9057 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
9058 (fortran-mode-map): Remove over-eager custom-menu-create for now.
9059 (fortran-mode): Don't set fortran-comment-line-start-skip,
9060 fortran-comment-line-start here. Set comment-start,
9061 add-log-current-defun.
9062 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
9063 (fortran-current-defun): New function.
9065 2000-03-09 Gerd Moellmann <gerd@gnu.org>
9067 * emacs-lisp/re-builder.el: New file.
9069 * mouse.el (mouse-drag-region): Don't run up-event handler
9070 if hscroll has changed.
9072 * octave-mod.el (octave-font-lock-keywords): To font-lock the
9073 builtin operators, use `font-lock-builtin-face' for Emacs and
9074 `font-lock-preprocessor-face' otherwise.
9076 * font-lock.el (lisp-font-lock-keywords-1): Highlight
9077 `(defun (setf foo)' differently.
9079 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
9081 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
9082 (regexp-opt): Update comment and adapt the code the new meaning of
9083 the `paren' argument of regex-opt-group for shy-groups.
9084 (regexp-opt-depth): Handle shy groups as well as backslashed
9086 (regexp-opt-group): Turn the leading comment into a docstring.
9087 Allow `paren' to be a string (the string to use to open a group).
9088 Remove open-presuf and close-presuf. Instead of checking for `all
9089 one-char' and then later on check for `several one-char', handle
9090 both cases close together. Also apply a more generic algorithm
9091 for suffixes (the mirror image of the algorithm used for
9092 prefixes). Use shy-groups. Use nreverse rather than reverse.
9093 (regexp-opt-try-suffix): Removed.
9095 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
9096 from comint-mode-map, so we can just inherit from it. Also, move
9097 the initialization into the `defvar' since there's no docstring
9098 anyway and it's fairly short.
9099 (inferior-scheme-mode): Define it as derived-mode: the code is
9100 shorter and this way we inherit from comint-mode-map rather than
9103 * subr.el (replace-regexps-in-string): Properly handle the case
9104 where we match an empty string.
9106 * comint.el (comint-exec-1): Add the current-dir to the exec-path
9107 when the command has a directory component (such as "./testml").
9108 Also fix a typo in the comment.
9110 2000-03-08 Gerd Moellmann <gerd@gnu.org>
9112 * Makefile (compile-files): Compile files one by one because
9113 that's the only way to ensure a clean compilation environment for
9114 each individual file.
9116 * frame.el (other-frame): Call x-focus-frame.
9118 2000-03-07 Dave Love <fx@gnu.org>
9120 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
9121 :require to defcustom.
9123 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
9126 * files.el (auto-mode-alist): Add configure.in.
9128 * progmodes/autoconf.el: New file.
9130 2000-03-07 Gerd Moellmann <gerd@gnu.org>
9132 * mail/mh-e.el: Change maintainer to `none'.
9134 * recentf.el (recentf-keep-non-readable-files-p): Quote args
9135 to remove-hook and add-hook.
9137 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9139 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
9141 (mail-send): Test mail-send-nonascii also for the new `mime' value.
9142 (sendmail-send-it): Conditionally add MIME headers specifying the
9145 2000-03-07 Dave Love <fx@gnu.org>
9147 * winner.el: Fix keywords, autoload cookies. Split
9148 eval-when-compile form to avoid compilation failure.
9150 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
9152 * international/mule.el: Modify comment about coding system
9153 property `coding-category'.
9154 (make-coding-system): New argument EOL-TYPE. Pay attention to
9155 coding-category property of PROPERTIES.
9157 * international/mule-conf.el (coding-category-utf-8,
9158 coding-category-utf-16-be, coding-category-utf-16-le): New coding
9159 categories. Include them in the argument for set-coding-priority.
9161 * international/mule-cmds.el (reset-language-environment): Include
9162 coding-category-utf-8, coding-category-utf-16-be, and
9163 coding-category-utf-16-le in the argument for set-coding-priority.
9164 (reset-language-environment): Initialize coding-category-utf-8,
9165 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
9167 2000-03-06 Karl Fogel <kfogel@red-bean.com>
9169 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
9170 code abstracted out of `bookmark-jump-noselect'. Now tries info
9171 extensions as well as compression extensions.
9172 (bookmark-jump-noselect): Use above new func.
9174 2000-03-03 Gerd Moellmann <gerd@gnu.org>
9176 * strokes.el: Change maintainer's mail address.
9178 2000-03-03 Kenichi Handa <handa@etl.go.jp>
9180 * international/mule-diag.el (list-character-sets): Make help-echo
9181 string by substitute-command-keys.
9182 (list-character-sets): Likewise.
9183 (sort-listed-character-sets): Call help-setup-xref.
9185 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9187 * time.el (display-time-mail-file): Add `none' to the list of
9190 2000-03-01 Dave Love <fx@gnu.org>
9192 * help.el (help-xref-go-back): Don't try to set position.
9194 * international/mule-diag.el (list-character-sets): Call
9195 help-setup-xref. Add help-echo to xrefs.
9196 (list-character-sets-1): Add help-echo to xrefs.
9198 2000-03-02 Gerd Moellmann <gerd@gnu.org>
9200 * frame.el (blink-cursor-mode): Switch cursor on when turning
9203 * add-log.el (add-log-current-defun): Add support for
9206 * mail/rmail.el (rmail-quit-hook): New variable.
9208 2000-03-01 Dave Love <fx@gnu.org>
9210 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
9212 * help.el (help-xref-button): Add help-echo arg.
9213 (describe-function-1, describe-variable, help-make-xrefs): Use it.
9215 * faces.el (list-faces-display): Supply help-echo with
9218 * facemenu.el (list-text-properties-at): Set help-xref-stack to
9221 2000-03-01 Gerd Moellmann <gerd@gnu.org>
9223 * image.el (defimage): Look for image files in load-path.
9225 * frame.el (busy-cursor-delay-seconds): Change type to
9228 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9230 * recentf.el (recentf): Added version tag to the defgroup of
9233 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9235 * recentf.el (recentf-cleanup): Changed to remove excluded file
9237 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
9238 action to select/unselect a file.
9239 (recentf-edit-list): Code cleanup and improvement.
9240 (recentf-open-more-files-action): `recentf-open-more-files' button
9241 widget action to open a file.
9242 (recentf-open-more-files): No more use standard completion but
9244 (recentf-more-collection): Deleted.
9245 (recentf-more-history): Deleted.
9246 (recentf-setup-more-completion): Deleted.
9248 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
9250 * recentf.el (recentf-mode): No more needs that Emacs is running
9251 under a window-system.
9253 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9255 * recentf.el (recentf-edit-list): New command to edit the recent
9256 list which allow the user to remove files.
9257 (recentf-edit-selected-items): New global variable, used by
9258 `recentf-edit-list' to hold the list of files to be removed from
9260 (recentf-make-menu-items): Updated to display a "Edit list..."
9261 menu item. Minor code cleanup.
9263 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9265 * recentf.el (recentf-open-more-files): New command to open files
9266 that are not displayed in the menu.
9267 (recentf-more-collection): New global variable holding the set of
9268 permissible completions used by `recentf-open-more-files'.
9269 (recentf-more-history): New global variable holding the history list
9270 used by `recentf-open-more-files' completion.
9271 (recentf-setup-more-completion): New function to setup completion for
9272 `recentf-open-more-files'.
9273 (recentf-make-menu-items): Updated to display a "More..." menu item.
9275 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9277 * recentf.el (recentf-menu-action): Doc fixed.
9279 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
9281 * recentf.el (recentf-menu-filter): Doc updated.
9282 (recentf-update-menu-hook): Allow menu filters to force menu update.
9283 (recentf-make-menu-items): New menu filter handling.
9284 (recentf-make-menu-item): New helper function.
9285 (recentf-menu-elements): New menu handling function.
9286 (recentf-sort-ascending): Updated to new menu filter handling.
9287 (recentf-sort-descending): Updated to new menu filter handling.
9288 (recentf-sort-basenames-ascending): New menu filter function.
9289 (recentf-sort-basenames-descending): New menu filter function.
9290 (recentf-show-basenames): New menu filter function.
9291 (recentf-show-basenames-ascending): New menu filter function.
9292 (recentf-show-basenames-descending): New menu filter function.
9294 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9296 * diary-lib.el (list-diary-entries): Don't try to go forward at
9297 the end of the buffer.
9299 2000-02-29 Kenichi Handa <handa@etl.go.jp>
9301 * international/mule-diag.el (list-character-sets): Completely
9303 (sort-listed-character-sets): New function.
9304 (list-character-sets-1): Completely rewritten.
9305 (list-character-sets-2): New function.
9306 (non-iso-charset-alist): New variable.
9307 (decode-codepage-char): New function.
9308 (charset-history): New variable.
9309 (read-charset) (list-block-of-chars)
9310 (list-iso-charset-chars)
9311 (list-non-iso-charset-chars)
9312 (list-charset-chars): New functions.
9313 (mule-diag): Call list-character-sets-2, not
9314 list-character-sets-2.
9315 (dump-charsets): Likewise.
9317 2000-02-29 Gerd Moellmann <gerd@gnu.org>
9319 * dired-x.el (dired-filename-at-point): Add `@' to valid
9320 file name characters.
9321 (dired-filename-at-point): Handle ange-ftp file names.
9323 * frame.el (frame-notice-user-settings): Use assq-delete-all
9324 instead of assoc-delete-all.
9325 (frame-notice-user-settings): Ditto.
9327 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
9330 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
9332 * calculator.el (calculator-use-menu): New option.
9333 (calculator-initial-bindings): Changed some bindings to work as
9335 (calculator-forced-input): Removed.
9336 (calculator-restart-other-mode): New variable.
9337 (calculator-mode-map): Set up menu.
9339 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
9341 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
9344 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
9346 * viper-cmd.el (viper-envelop-ESC-key): added the option to
9347 translate all ESC key sequences.
9348 (viper-goto-mark-subr): restore markers for files for which
9350 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
9351 * viper-util.el (viper-set-replace-overlay-glyphs,
9352 viper-set-replace-overlay): always check if the replacement
9354 * viper.el (viper-vi-state-mode-list): added major modes.
9355 * ediff-wind.el: minor comment changes.
9356 * ediff.el: copyright notice date fix.
9358 2000-02-27 Jason Rumney <jasonr@gnu.org>
9360 * faces.el (face-font-family-alternatives): Add arial to helv.
9361 (mode-line, header-line, tool-bar): Same default as x for w32.
9362 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
9363 face-font-family-alternatives from working.
9364 * term/w32-win.el (mouse-set-font): Do not build fontset from
9367 2000-02-25 Sam Steingold <sds@goems.com>
9369 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
9372 2000-02-25 Richard M. Stallman <rms@gnu.org>
9374 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
9376 2000-02-25 Gerd Moellmann <gerd@gnu.org>
9378 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
9381 * frame.el (busy-cursor-delay-seconds): New option.
9383 2000-02-24 Gerd Moellmann <gerd@gnu.org>
9385 * frame.el (show-cursor-in-non-selected-windows): New option.
9387 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9389 * diary-lib.el (include-other-diary-files): Undo the selective
9390 display in any included file and don't kill it.
9392 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
9394 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
9395 bar. Menu items converted to (menu-item format, help strings
9397 [downcase, upcase]: Don't enable on MS-DOS.
9398 [symlink, symlinks]: Don't show if make-symbolic-link is not
9400 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
9402 2000-02-23 Dave Love <fx@gnu.org>
9404 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
9405 (backward-kill-word): Revert addition of * to interactive spec --
9408 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
9409 (backward-kill-sentence, kill-sentence): Likewise.
9411 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
9412 scratch buffer name.
9413 (gud-format-command): Use int-to-string in ?l case. Simplify
9416 * term/w32-win.el (internal-face-interactive): Update prompt for
9419 * mail/footnote.el (footnote): Add :version to defgroup.
9420 (footnote-section-tag-regexp): Customize.
9421 (footnote-start-tag, footnote-end-tag): New option.
9422 (footnote-latin-regexp): New variable.
9423 (Footnote-latin): New function.
9424 (footnote-style-alist): Add element for latin style.
9425 (footnote-style): Moved.
9426 (Footnote-goto-footnote): Use eq to test arg.
9428 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
9430 * emacs-lisp/byte-opt.el: Change old backquote syntax.
9431 (byte-compile-trueconstp): Include keywords.
9432 (byte-optimize-quote, byte-optimize-lapcode): Use
9433 byte-compile-const-symbol-p.
9434 (byte-optimize-char-before): New optimization.
9436 * emacs-lisp/bytecomp.el: Change old backquote syntax.
9437 (byte-compile-const-symbol-p): New function.
9438 (byte-compile-constp, byte-compile-out-toplevel)
9439 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
9442 * subr.el (define-key-after): Default AFTER to t. Doc fix.
9444 2000-02-23 Kenichi Handa <handa@etl.go.jp>
9446 * international/encoded-kb.el: Be sure to update minor-mode-alist
9447 and minor-mode-map-alist.
9448 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
9449 codes SS2 and SS3 correctly.
9450 (encoded-kbd-self-insert-ccl): New function.
9451 (encoded-kbd-setup-keymap): New function.
9452 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
9453 by calling encoded-kbd-setup-keymap.
9455 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
9457 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
9460 2000-02-22 Dave Love <fx@gnu.org>
9462 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
9463 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
9465 (lisp-mode-syntax-table): Set up for #|...|# comments.
9466 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
9467 classes. Match `defface'.
9468 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
9469 (eval-defun-1): Fix for defcustom.
9470 (lisp-indent-region): Doc fix.
9472 * subr.el (when, unless, split-string): Doc fix.
9473 (read-passwd): Move call of clear-this-command-keys to the right
9475 (replace-regexps-in-string): New function.
9477 2000-02-22 Gerd Moellmann <gerd@gnu.org>
9479 * help.el (describe-variable): Set syntax table to
9480 emacs-lisp-mode-syntax-table when moving forward over the
9483 2000-02-22 Dave Love <fx@gnu.org>
9485 * xt-mouse.el: Doc fixes.
9486 (xterm-mouse-position-function): New function, replacing advice of
9488 (xterm-mouse-mode): Use it. Don't turn on under a window system.
9490 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
9492 2000-02-21 Gerd Moellmann <gerd@gnu.org>
9494 * format.el (format-annotate-single-property-change): Handle
9495 properties.with dotted-list values.
9496 (format-proper-list-p): New function.
9498 * enriched.el (enriched-face-ans): Handle '(foreground-color
9499 . COLOR) and (background-color . COLOR).
9501 2000-02-20 Dave Love <fx@gnu.org>
9503 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
9504 and assignments to it.
9505 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
9507 (make-flyspell-overlay): Use it.
9508 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
9510 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
9511 (lm-get-header-re): Defun, not defsubst.
9512 (lm-get-package-name): Defun, not defsubst. Simplify.
9513 (lm-version): Doc fix. Simplify.
9514 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
9515 (lm-crack-address, lm-last-modified-date, lm-commentary)
9516 (lm-verify, lm-synopsis): Simplify.
9517 (lm-report-bug): Require emacsbug. Use compose-mail.
9519 2000-02-20 Gerd Moellmann <gerd@gnu.org>
9521 * dired.el (dired-mode): Call propertized-buffer-identification
9522 to set mode-line-buffer-identification to something having
9523 the right text properties.
9525 * bindings.el (propertized-buffer-identification): New function.
9527 2000-02-20 Dave Love <fx@gnu.org>
9529 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
9530 check for t-mouse too.
9532 * cus-start.el: Make echo-keystrokes `number'.
9534 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
9536 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
9537 Don't call ring-empty-p unless tags-location-ring is bound.
9538 From Noah Friedman <friedman@splode.com>.
9540 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
9542 * progmodes/hideshow.el (hs-flag-region): No longer use
9543 `intangible' overlay property.
9545 (hs-toggle-hiding): New command.
9546 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
9548 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
9549 Fix omission bug: Run `hs-minor-mode-hook' for both activation
9552 2000-02-18 Gerd Moellmann <gerd@gnu.org>
9554 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
9556 2000-02-17 Gerd Moellmann <gerd@gnu.org>
9558 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
9560 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
9561 of `*' to handle `(* ... *)' comments.
9563 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
9565 * faces.el (list-faces-display): Use display-mouse-p instead of
9568 * menu-bar.el (global-map): Menu-bar items converted to the new
9569 format (menu-item..., rearranged for better CUA compliance, and
9570 their names changed for better clarity. Help strings added.
9572 * international/mule-cmds.el (mule-menu-keymap)
9573 (describe-language-environment-map, set-coding-system-map)
9574 (setup-language-environment-map): Convert to new (menu-item...
9575 form, add help strings. Change names of menu items for better
9576 clarity. "Mule" menu-bar item removed (it's now in the "Options"
9579 2000-02-17 Gerd Moellmann <gerd@gnu.org>
9581 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
9584 2000-02-16 Dave Love <fx@gnu.org>
9586 * faces.el: Don't require custom. Add more specific :groups to
9588 (set-face-attribute): Purecopy args.
9589 (read-face-name): Default to name at point and use it in prompt.
9590 Remove colon from arg in all callers.
9591 (list-faces-display): Hyperlink to face descriptions and customize
9594 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
9596 * wid-edit.el (widget-match-inline): An atom never matches a
9599 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9601 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9602 at ':' characters by call to split-string.
9604 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9606 * textmodes/bibtex.el: Added RCS version identification.
9608 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9610 * textmodes/bibtex.el: Some temporary comments removed.
9611 (bibtex-field-name, bibtex-entry-type): Made the relationship
9613 (bibtex-field-const): Allow capital letters.
9614 (bibtex-start-of-string): Deleted because unused.
9616 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9617 use the term 'reference' to describe a bibtex entry as a whole.
9618 Further, reference keys are no longer called 'labels'.
9619 (bibtex-keys): Renamed to bibtex-reference-keys.
9620 (bibtex-reformat-previous-labels): Renamed to
9621 bibtex-reformat-previous-reference-keys.
9622 (bibtex-reference-type): Renamed to bibtex-entry-type.
9623 (bibtex-reference-head): Renamed to bibtex-entry-head.
9624 (bibtex-reference-maybe-empty-head): Renamed to
9625 bibtex-entry-maybe-empty-head.
9626 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9627 (bibtex-search-reference): Renamed to bibtex-search-entry.
9628 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9629 bibtex-enclosing-entry-maybe-empty-head.
9630 (bibtex-entry-field-alist, bibtex-entry-head,
9631 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9632 bibtex-map-entries, bibtex-search-entry,
9633 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9634 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9635 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9636 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9637 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9638 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9639 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9641 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9643 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9645 (bibtex-format-field-delimiters): New function, functionality
9646 extracted from bibtex-format-entry.
9647 (bibtex-autokey-get-yearfield-digits): New function, functionality
9648 extracted from bibtex-autokey-get-yearfield.
9650 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9651 entries in order to avoid stack overflow in the regexp matcher if
9652 field contents become large.
9653 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9654 bibtex-field-string-part-not-braced,
9655 bibtex-field-string-part-no-inner-braces,
9656 bibtex-field-string-part-1-inner-brace,
9657 bibtex-field-string-part-2-inner-braces,
9658 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9659 bibtex-field-string-quoted, bibtex-field-string,
9660 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9661 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9662 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9663 as parsing is now performed by the following functions.
9664 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9665 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9666 bibtex-parse-field-string, bibtex-search-forward-field-string,
9667 bibtex-parse-association, bibtex-field-name-for-parsing,
9668 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9669 bibtex-search-forward-field, bibtex-search-backward-field,
9670 bibtex-start-of-field, bibtex-end-of-field,
9671 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9672 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9673 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9674 bibtex-parse-string, bibtex-search-forward-string,
9675 bibtex-search-backward-string, bibtex-start-of-string,
9676 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9677 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9678 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9679 entries. Instead of reporting the results of the parsing by
9680 match-beginning or match-end, these functions return data structures
9681 that hold the corresponding positions.
9682 (bibtex-enclosing-field): Changed to also report field boundaries by
9683 return values rather than by match-beginning or match-end. The
9684 following functions have been adapted to use the new parsing
9686 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9687 bibtex-enclosing-field, bibtex-format-entry,
9688 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9689 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9690 bibtex-print-help-message, bibtex-end-of-entry,
9691 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9692 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9693 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9695 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9696 bibtex-map-entries, bibtex-flash-head,
9697 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9698 bibtex-autokey-change, bibtex-autokey-get-namefield,
9699 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9700 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9701 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9702 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9703 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9704 order to make the new binding of case-fold-search immediately
9707 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9709 * textmodes/bibtex.el: Copyright notice is up to date.
9710 Added constant 'bibtex-maintainer-salutation.
9712 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9713 than make-temp-name, use match-string-no-properties and eliminate
9714 a quadratic behavior when building bibtex-strings.
9716 * bibtex.el (bibtex-reference-key): Accept string entries whose
9717 reference key contains upper case letters.
9719 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9721 * bibtex.el (bibtex-reference-head): Allow entries to start with
9724 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9726 * bibtex.el: Hiding of entry bodies is not longer provided by
9727 bibtex.el directly. Instead the hideshow package can be used.
9728 Added a special bibtex entry to hs-special-modes-alist.
9729 (bibtex-hs-forward-sexp): Added for hideshow.el.
9731 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9733 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
9734 at ':' characters by call to split-string.
9736 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9738 * textmodes/bibtex.el: Added RCS version identification.
9740 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9742 * textmodes/bibtex.el: Some temporary comments removed.
9743 (bibtex-field-name, bibtex-entry-type): Made the relationship
9745 (bibtex-field-const): Allow capital letters.
9746 (bibtex-start-of-string): Deleted because unused.
9748 * textmodes/bibtex.el: Unified some nomenclature. We no longer
9749 use the term 'reference' to describe a bibtex entry as a whole.
9750 Further, reference keys are no longer called 'labels'.
9751 (bibtex-keys): Renamed to bibtex-reference-keys.
9752 (bibtex-reformat-previous-labels): Renamed to
9753 bibtex-reformat-previous-reference-keys.
9754 (bibtex-reference-type): Renamed to bibtex-entry-type.
9755 (bibtex-reference-head): Renamed to bibtex-entry-head.
9756 (bibtex-reference-maybe-empty-head): Renamed to
9757 bibtex-entry-maybe-empty-head.
9758 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
9759 (bibtex-search-reference): Renamed to bibtex-search-entry.
9760 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
9761 bibtex-enclosing-entry-maybe-empty-head.
9762 (bibtex-entry-field-alist, bibtex-entry-head,
9763 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
9764 bibtex-map-entries, bibtex-search-entry,
9765 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
9766 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9767 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
9768 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
9769 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
9770 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
9771 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
9773 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9775 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
9777 (bibtex-format-field-delimiters): New function, functionality
9778 extracted from bibtex-format-entry.
9779 (bibtex-autokey-get-yearfield-digits): New function, functionality
9780 extracted from bibtex-autokey-get-yearfield.
9782 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
9783 entries in order to avoid stack overflow in the regexp matcher if
9784 field contents become large.
9785 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
9786 bibtex-field-string-part-not-braced,
9787 bibtex-field-string-part-no-inner-braces,
9788 bibtex-field-string-part-1-inner-brace,
9789 bibtex-field-string-part-2-inner-braces,
9790 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
9791 bibtex-field-string-quoted, bibtex-field-string,
9792 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
9793 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
9794 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
9795 as parsing is now performed by the following functions.
9796 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
9797 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
9798 bibtex-parse-field-string, bibtex-search-forward-field-string,
9799 bibtex-parse-association, bibtex-field-name-for-parsing,
9800 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
9801 bibtex-search-forward-field, bibtex-search-backward-field,
9802 bibtex-start-of-field, bibtex-end-of-field,
9803 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
9804 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
9805 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
9806 bibtex-parse-string, bibtex-search-forward-string,
9807 bibtex-search-backward-string, bibtex-start-of-string,
9808 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
9809 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
9810 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
9811 entries. Instead of reporting the results of the parsing by
9812 match-beginning or match-end, these functions return data structures
9813 that hold the corresponding positions.
9814 (bibtex-enclosing-field): Changed to also report field boundaries by
9815 return values rather than by match-beginning or match-end. The
9816 following functions have been adapted to use the new parsing
9818 (bibtex-skip-to-valid-entry, bibtex-search-reference,
9819 bibtex-enclosing-field, bibtex-format-entry,
9820 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
9821 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
9822 bibtex-print-help-message, bibtex-end-of-entry,
9823 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
9824 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9825 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
9827 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
9828 bibtex-map-entries, bibtex-flash-head,
9829 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
9830 bibtex-autokey-change, bibtex-autokey-get-namefield,
9831 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
9832 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
9833 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
9834 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
9835 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
9836 order to make the new binding of case-fold-search immediately
9839 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9841 * textmodes/bibtex.el: Copyright notice is up to date.
9842 Added constant 'bibtex-maintainer-salutation.
9844 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
9845 than make-temp-name, use match-string-no-properties and eliminate
9846 a quadratic behavior when building bibtex-strings.
9848 * bibtex.el (bibtex-reference-key): Accept string entries whose
9849 reference key contains upper case letters.
9851 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9853 * bibtex.el (bibtex-reference-head): Allow entries to start with
9856 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9858 * bibtex.el: Hiding of entry bodies is not longer provided by
9859 bibtex.el directly. Instead the hideshow package can be used.
9860 Added a special bibtex entry to hs-special-modes-alist.
9861 (bibtex-hs-forward-sexp): Added for hideshow.el.
9863 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
9865 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
9866 proceedings entry type (for cross referencing). Thanks to Wagner
9867 Toledo Correa for the suggestion.
9869 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
9871 2000-02-14 Kenichi Handa <handa@etl.go.jp>
9873 * international/characters.el: Setup case table for Vietnamese.
9875 2000-02-12 Gerd Moellmann <gerd@gnu.org>
9877 * uniquify.el (toplevel): Require CL at compile time.
9878 (uniquify-push): Removed.
9880 * shadowfile.el (shadow-when): Removed.
9882 * tempo.el (tempo-dolist, tempo-mapc): Removed.
9883 (tempo-process-and-insert-string): Use dolist instead of
9886 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
9887 regexp for paragraph-start.
9889 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
9892 2000-02-10 Dave Love <fx@gnu.org>
9894 * wid-edit.el: (widgets) [defgroup]: Remove url link.
9895 (widget-color-choice-list, widget-color-history, widget-mouse-help):
9897 (widget-specify-field, widget-specify-button): Don't use
9898 widget-mouse-help as help-echo property.
9899 (default): Use #'ignore for :validate and :mouse-down-action.
9900 (checkbox): Add help-echo.
9901 (widget-sexp-validate): Rewritten to clarify error messages.
9902 (character): Use char-valid-p in :match function.
9903 (widget-color-complete): Use facemenu-color-alist.
9904 (widget-color-action): Use facemenu-read-color.
9906 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
9907 set up `caar' &c that we now have.
9909 2000-02-09 Ray Blaak <blaak@gnu.org>
9911 * delphi.el: Make resourcestring a declaration region, like const
9914 2000-02-09 Dave Love <fx@gnu.org>
9916 * bindings.el (mode-line-input-method-map): New variable.
9917 (mode-line-mule-info): Use it; fix last change.
9918 (mode-line-mode-menu): Move definition.
9919 (mode-line-mouse-sensitive-p): Deleted.
9920 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
9921 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
9924 * startup.el (command-line-1): Don't call
9925 make-mode-line-mouse-sensitive.
9927 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
9929 * mail/rmail.el (rmail-retry-failure): Use
9930 rmail-beginning-of-message before rmail-toggle-header, because the
9931 former toggles headers.
9933 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
9935 * diff-mode.el (diff-kill-junk): New interactive function.
9936 (diff-reverse-direction): Use delete-and-extract-region.
9937 (diff-post-command-hook): Restrict the area so that the hook also works
9938 outside of any diff hunk. This is necessary for the minor-mode.
9939 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
9940 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
9942 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
9943 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
9944 so that it can be used more easily in <foo>-mode-hook. Also make sure
9945 to avoid duplicate entries.
9946 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
9947 (font-lock-remove-keywords): Just as was done for `add', allow it to
9948 work even if font-lock-mode is nil. Also make sure we don't modify
9949 any pre-existing list by forcing a copy-sequence. Finally rename
9950 `major-mode' to `mode'.
9951 (font-lock-fontify-syntactic-anchored-keywords)
9952 (font-lock-fontify-anchored-keywords)
9953 (font-lock-fontify-keywords-region): Use line-end-position.
9954 Don't make `font-lock-multiline' local (it's now done in
9955 font-lock-set-defaults).
9956 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
9957 move the `font-lock-fontified' creation to inside the `unless'.
9959 2000-02-06 Andrew Innes <andrewi@gnu.org>
9961 * term/w32-win.el (x-handle-args): Comment out call to message,
9962 which occurs before window system is initialized.
9964 * makefile.nt: Add support for recompiling lisp code.
9966 2000-02-04 Dave Love <fx@gnu.org>
9968 * bindings.el (mode-line-mule-info): Fix/extend last change.
9970 * completion.el: Replace completion-dolist with dolist.
9972 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
9975 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
9977 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
9978 environment names before they go into the section regexp.
9980 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
9981 char class in regexp.
9983 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
9984 `case-fold-search' to nil.
9986 * progmodes/idlwave.el (idlwave-template): Respect
9987 `idlwave-abbrev-change-case'.
9988 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
9989 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
9990 idlwave-while): respect `idlwave-reserved-word-upcase'.
9991 (idlwave-rw-case): New function.
9992 (idlwave-statement-match): Fixed problem with assignment regexp.
9993 (idlwave-font-lock-keywords): Improved regexp for keyword
9995 (idlwave-surround): New argument LENGTH to support padding of
9996 operators longer than 1 char.
9998 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
9999 idlwave-shell-expression-overlay. Implemented printing of
10000 expressions on higher levels of the calling stack.
10001 (idlwave-shell-display-level-in-calling-stack): Restore stack
10003 (idlwave-retrieve-expression-from-level): New function.
10004 (idlwave-shell-last-calling-stack): Variable removed.
10005 (idlwave-shell-reset): Argument action reversed (`visible' to
10006 `hidden'). Also remove stop-line overlay.
10007 (idlwave-shell-calling-stack-routine): New variable.
10008 (idlwave-shell-parse-stack-and-display): Messages now display
10009 negative level numbers.
10010 (idlwave-shell-mode): Set `modeline-format'.
10011 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
10012 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
10014 (idlwave-shell-print-expression-function): New option.
10016 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
10017 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
10018 `tool-bar' instead of `toolbar'.
10020 2000-02-02 Dave Love <fx@gnu.org>
10022 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
10023 emacs-lisp-mode-hook. Don't check for defalias being defined.
10025 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
10026 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
10027 the new builtins directly.
10029 * whitespace.el (whitespace): Add :version to defgroup.
10031 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
10034 * thingatpt.el (sexp-at-point, symbol-at-point)
10035 (number-at-point, list-at-point): Add autoload cookie.
10037 * recentf.el (recentf): Add :version to defgroup.
10039 * quickurl.el (quickurl): Add :version to defgroup.
10041 * elide-head.el (elide-head): Use point-marker more.
10043 * bs.el (bs): Add :version to defgroup.
10045 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
10047 * progmodes/delphi.el (delphi): Add :version to defgroup.
10049 2000-02-02 Gerd Moellmann <gerd@gnu.org>
10051 * ange-ftp.el (ange-ftp-write-region): Handle case that
10052 succeeding process operation sets a different coding system.
10054 * calculator.el: New file.
10056 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
10058 * frame.el (frames-on-display-list, framep-on-display): New
10060 (display-mouse-p, display-popup-menus-p, display-graphic-p)
10061 (display-selections-p, display-screens, display-pixel-width)
10062 (display-pixel-height, display-mm-width, display-mm-height)
10063 (display-backing-store, display-save-under, display-planes)
10064 (display-color-cells, display-visual-class): New functions.
10066 * term/tty-colors.el (tty-color-gray-shades): New function.
10068 * faces.el (display-color-p): Use framep-on-display.
10069 (display-grayscale-p): New function.
10071 2000-01-31 Dave Love <fx@gnu.org>
10073 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
10074 (create-fontset-from-x-resource): Don't concat integers.
10076 2000-01-31 Inge Frick <inge@nada.kth.se>
10078 * view.el: Some changes in documentation. Removed some trailing
10079 whitespace. Changed some parameter names to agree with
10081 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
10082 window is not deleted. Modifies change 1998-04-26.
10084 2000-01-31 Gerd Moellmann <gerd@gnu.org>
10086 * windmove.el: New file.
10088 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10089 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10090 progmodes/ebnf-yac.el: Update copyright and license info.
10092 * jit-lock.el (jit-lock-function): Widen before calculating end
10094 (jit-lock-stealth-chunk-start): Rewritten.
10096 * info.el (Info-title-face-alist): Removed.
10097 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
10099 (Info-fontify-node): Use these faces.
10101 2000-01-30 Gerd Moellmann <gerd@gnu.org>
10103 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
10104 (cl-macro-list1): Recognize `&allow-other-keys' instead of
10105 `&allow-other-keywords'.
10107 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
10108 the list of directories scanned heuristically.
10110 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
10113 2000-01-30 Jason Rumney <jasonr@gnu.org>
10115 * w32-fns.el: Define w32-tty-standard-colors.
10117 * startup.el (command-line): Use w32-tty-standard-colors when in
10120 2000-01-30 Dave Love <fx@gnu.org>
10122 * jka-compr.el (jka-compr-load): Fix up load-history.
10124 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
10126 * emacs-lisp/cl-macs.el: Revert previous change.
10128 2000-01-29 Dave Love <fx@gnu.org>
10130 * facemenu.el: Purecopy various strings.
10132 * timezone.el (timezone-fix-time): Window against 69 for two-digit
10133 years. Deal with three-digit years.
10135 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
10136 defconst, purecopy.
10137 (help-back-label): Purecopy it.
10139 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10141 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
10142 variable. If non-nil, order the buffer list according to the
10143 currently selected frame.
10144 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
10145 non-nil, pass the selected frame to function buffer-list.
10147 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10149 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
10151 2000-01-28 Dave Love <fx@gnu.org>
10153 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
10155 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
10156 Don't use lisp-indent-hook property.
10159 * subr.el: Move out indent and edebug specs for when and unless.
10161 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
10164 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
10167 2000-01-28 Gerd Moellmann <gerd@gnu.org>
10169 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
10170 `collecting' as synonym for `collect'.
10172 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
10173 for the case it contains spaces.
10175 * simple.el (what-cursor-position): Change formatting of
10178 * frame.el (delete-other-frames): New function.
10179 (toplevel): Bind it to C-x 5 1.
10181 * sort.el (sort-numeric-base): New option.
10182 (sort-numeric-fields): If number starts with `0' or `0[xX[',
10183 interpret it as octal or hexadecimal. Use sort-numeric-base
10186 * progmodes/glasses.el: New file.
10188 2000-01-27 Gerd Moellmann <gerd@gnu.org>
10190 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
10191 userids differently.
10193 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
10194 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
10195 progmodes/ebnf-yac.el: New files.
10197 2000-01-26 Dave Love <fx@gnu.org>
10199 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
10200 on a function with an empty body. [From Eric Ludlam.]
10202 2000-01-25 Andre Spiegel <spiegel@gnu.org>
10204 * vc.el (vc-version-diff): Make sure file name is expanded.
10206 2000-01-25 Gerd Moellmann <gerd@gnu.org>
10208 * scroll-bar.el (scroll-bar-timer): Variable removed.
10209 (scroll-bar-toolkit-scroll): Don't use a timer.
10211 2000-01-25 Kenichi Handa <handa@etl.go.jp>
10213 * language/thai-util.el (thai-composition-function): Delete
10216 2000-01-24 Dave Love <fx@gnu.org>
10218 * fortran.el (fortran-mode): Use beginning-of-defun-function,
10219 end-of-defun-function.
10221 * font-lock.el (turn-on-font-lock): Don't depend on window-system
10224 2000-01-22 Jason Rumney <jasonr@gnu.org>
10226 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
10227 conflicts with new face support.
10229 2000-01-22 Richard M. Stallman <rms@gnu.org>
10231 * replace.el (query-replace): Rename last arg to DELIMITED.
10232 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
10233 (query-replace-regexp): Likewise.
10235 2000-01-20 Richard M. Stallman <rms@gnu.org>
10237 * subr.el (with-syntax-table): Use make-symbol, not gensym.
10239 * emacs-lisp/lisp.el (beginning-of-defun-function):
10240 Variable renamed from beginning-of-defun.
10241 Do not call make-variable-buffer-local.
10242 (beginning-of-defun-raw): Use new variable name; doc fix.
10243 (beginning-of-defun): Doc fix.
10244 (end-of-defun-function): Variable renamed from end-of-defun.
10245 Do not call make-variable-buffer-local.
10246 (end-of-defun): Use new variable name; doc fix.
10248 * subr.el (dolist, dotimes): Copied from cl-macs.el
10251 * mail/undigest.el (rmail-digest-end-regexps):
10252 Variable replaces rmail-digest-end-regexp.
10253 Allows multiple regexps for detecting the end line.
10254 (undigestify-rmail-message): Corresponding changes.
10256 2000-01-19 Dave Love <fx@gnu.org>
10258 * files.el (user-init-file): Don't declare here -- is primitive.
10260 * startup.el (command-line): Check for compiled user-init-file and
10261 set to uncompiled version if necessary.
10263 2000-01-18 Gerd Moellmann <gerd@gnu.org>
10265 * mail/undigest.el (rmail-digest-end-regexp): New user option.
10266 (undigestify-rmail-message): Use it.
10268 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
10270 2000-01-17 Gerd Moellmann <gerd@gnu.org>
10272 * tmm.el (tmm-goto-completions): Adapt to prompt being part
10275 2000-01-14 Gerd Moellmann <gerd@gnu.org>
10277 * emacs-lisp/copyright.el (copyright-update): Removed the
10278 requirement for a trailing space from `copyright-regexp', to
10279 support copyrights with owner specified on a separate line..
10281 * align.el: New file.
10283 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
10285 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
10287 2000-01-13 Dave Love <fx@gnu.org>
10289 * ph.el: Removed. (Obsoleted by EUDC.)
10291 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10293 * net/eudc.el (toplevel): Remove autoloaded code installing
10294 menu with easymenu, because that causes build problems.
10296 * frame.el (frame-notice-user-settings): New variable.
10297 (frame-notice-user-settings): Don't modify frame parameters
10298 if called a second time.
10300 2000-01-13 Richard M. Stallman <rms@gnu.org>
10302 * frame.el (frame-notice-user-settings):
10303 Notice default-frame-parameters even for non-window frames.
10305 2000-01-13 Gerd Moellmann <gerd@gnu.org>
10307 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
10309 (eudc-bob-can-display-inline-images): Extend for Emacs.
10310 (eudc-bob-toggle-inline-display): Ditto.
10311 (eudc-bob-display-jpeg): Ditto.
10313 2000-01-12 Gerd Moellmann <gerd@gnu.org>
10315 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
10316 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
10317 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
10319 * add-log.el (add-change-log-entry): Fix error trying an `(insert
10322 * subdirs.el: Add `net' directory.
10324 * net: New directory.
10326 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
10327 eval-last-sexp. Don't bind debug-on-error here.
10328 (eval-last-sexp): New function. Bind debug-on-error if
10329 eval-expression-debug-on-error is non-nil.
10330 (eval-defun-2, eval-defun): Likewise.
10332 * simple.el (eval-expression): Don't bind debug-on-error if
10333 eval-expression-debug-on-error is nil. Detect changed
10334 debug-on-error, and propagate new value to global binding, if
10335 eval-expression-debug-on-error is non-nil,
10336 (eval-expression-debug-on-error): Change doc string.
10338 2000-01-11 Richard M. Stallman <rms@gnu.org>
10340 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
10342 * emacs-lisp/lisp-mode.el (with-syntax-table):
10343 Set up lisp-indent-function property.
10345 * subr.el (with-syntax-table): Moved from simple.el.
10347 * simple.el (with-syntax-table): Moved to subr.el.
10349 2000-01-11 Gerd Moellmann <gerd@gnu.org>
10351 * tmm.el (tmm-shortcut): Delete region after prompt instead
10354 * textmodes/fill.el (fill-common-string-prefix): New function.
10355 (fill-context-prefix): Use the longest common prefix of first
10356 and second line fill prefix, if there is one.
10358 2000-01-11 Richard M. Stallman <rms@gnu.org>
10360 * array.el (array-mode): Don't use make-variable-buffer-local.
10361 Use make-local-variable for `truncate-lines'.
10363 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
10365 * add-log.el (add-log-current-defun): Handle user-defined
10366 add-log-current-function returning nil,
10368 * add-log.el (add-change-log-entry): Insert version number
10369 if having found a current function
10371 * add-log.el (add-log-current-defun): Call
10372 `add-log-current-defun-function'. Try matches at level 0 and
10373 level 1. Strip whitespace from defun found.
10375 2000-01-10 John Wiegley <johnw@gnu.org>
10377 * allout.el (isearch-done/outline-provisions): Added `edit'
10378 argument to correspond with the current definition of
10381 2000-01-10 Dave Love <fx@gnu.org>
10383 * elide-head.el (elide-head): Use point-marker, not point.
10385 2000-01-10 Gerd Moellmann <gerd@gnu.org>
10387 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
10388 before and after the year 2000.
10390 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
10391 Add ispell- prefix.
10393 2000-01-10 Ken Stevens <k.stevens@ieee.org>
10395 * ispell.el: Only define dictionaries in menus when they exist.
10396 (version18p): New variable.
10397 (version20p): New variable.
10398 (xemacsp): New variable.
10399 (ispell-choices-win-default-height): Fix for XEmacs visibility.
10400 (ispell-dictionary-alist1): Added Brasileiro dictionary.
10401 (ispell-dictionary-alist6): Russian command lines no longer accept
10402 run-together words.
10403 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
10404 (ispell-dictionary-alist): Add koi8-r to customize definition.
10405 (check-ispell-version): Added documentation string. Returns
10406 library path when called non-interactively.
10407 (ispell-menu-map-needed): Uses new variables.
10408 (ispell-library-path): New variable.
10409 (ispell-decode-string): XEmacs fix for bogus variable bindings.
10410 (ispell-word): Improved documentation string. Test for valid
10411 character mappings. Correctly check typed in word changes that can
10412 result in single words split into multiple words. Returns
10414 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
10415 replace in recursive query replace mode. Help message for
10416 recursive edit mode.
10417 (ispell-show-choices): Protect against bad framepop bindings.
10418 (ispell-help): Fix to work with XEmacs.
10419 (ispell-highlight-spelling-error): Use new variables.
10420 (ispell-overlay-window): Fix to work with XEmacs.
10421 (ispell-parse-output): Passed and returns location information
10422 tracking spelling corrections. Doesn't recheck same word on
10424 (ispell-init-process): Protect against bogus XEmacs variable binding.
10425 Fix call to single argument in sleep-for. Use new variables.
10426 (ispell-region): Passed and returns location information tracking
10427 spelling corrections. Doesn't check same word on current line.
10428 Improved documentation string. Doesn't resend a line already
10429 checked to the ispell process - fixes bug in LaTeX parsing.
10430 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
10431 (ispell-skip-region): No longer skips <TT> in SGML.
10432 (ispell-process-line): Tracks location information with spelling
10433 corrections. Added documentation string. Accounts for words
10434 already accepted on this line. Don't allow query-replace on line
10435 starting with math characters. Doesn't resend a line already sent
10436 to ispell process. Fixes alignment error bug.
10438 2000-01-10 Richard M. Stallman <rms@gnu.org>
10440 * dired-x.el (dired-guess-shell-alist-default):
10441 Suggest xloadimage, which is free, not xv, which isn't.
10443 * ange-ftp.el (ange-ftp-file-name-nondirectory):
10444 Don't ever include the host name or user name in the value.
10446 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10448 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
10451 2000-01-09 Stephen Eglen <stephen@gnu.org>
10453 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
10456 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
10458 * cus-edit.el (custom-hook-convert-widget): Fix comment.
10460 2000-01-09 Gerd Moellmann <gerd@gnu.org>
10462 * progmodes/cperl-mode.el: Replace ^F with ^L.
10464 * sendmail.el (toplevel): Provide `sendmail' when compiling
10465 before `require'ing rmail and mailalias to prevent infinite
10468 2000-01-08 Dave Love <fx@gnu.org>
10470 * emacs-lisp/backquote.el: Remove inappropriate customization
10471 (allowing custom.el to use backquote).
10473 2000-01-07 Dave Love <fx@gnu.org>
10475 * add-log.el (add-log-debugging): Deleted.
10476 (add-change-log-entry): Treat a backup FILE-NAME as its parent
10477 file. Remove debugging code.
10478 (change-log-get-method-definition, change-log-name): Add doc.
10479 (change-log-sortable-date-at): New function.
10480 (change-log-merge): New command.
10482 * time.el (display-time-string-forms): Make the Mail string active.
10483 (display-time-update): Provide help-echo for load average.
10485 * bindings.el (make-mode-line-mouse2-map): New function.
10486 (mode-line-modified): Use it and simplify.
10487 (mode-line-mule-info): Provide help-echo info.
10488 (minor-mode-alist): Activate the strings.
10489 (make-mode-line-mouse-sensitive): Simplify for
10490 mode-line-buffer-identification.
10492 2000-01-07 Gerd Moellmann <gerd@gnu.org>
10494 * play/pong.el: New file.
10496 2000-01-06 Dave Love <fx@gnu.org>
10498 * array.el: Assorted cleanups for compiler warnings, doc strings,
10499 `array-' prefix for symbols.
10501 2000-01-05 Dave Love <fx@gnu.org>
10503 * textmodes/outline.el (outline-mode-menu-bar-map): Add
10504 outline-headers-as-kill.
10505 (outline-mode): Define imenu-generic-expression.
10506 (outline-headers-as-kill): New command.
10508 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
10509 from paragraph-start.
10510 (paragraph-indent-minor-mode): New command.
10512 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
10513 M-C-e, M-C-h, C-j, C-xnd, TAB.
10514 (fortran-mode): Set beginning-of-defun, end-of-defun.
10515 (fortran-column-ruler): Simplify.
10516 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
10517 (fortran-with-subprogram-narrowing): Likewise.
10518 (fortran-indent-subprogram): Call mark-defun.
10519 (fortran-check-for-matching-do): Change narrowing.
10521 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
10522 (cl-lucid-hash-tag): Delete.
10523 (cl-hash-table-p): Correct test for native table.
10524 (cl-hash-table-count): Use hash-table-count.
10526 * browse-url.el (browse-url): Fix case of
10527 browse-url-browser-function being an alist.
10529 2000-01-05 Carsten Dominik <cd@gnu.org>
10531 * textmodes/reftex-vars.el (reftex-parse-file-extension)
10532 (reftex-index-phrase-file-extension): New options.
10534 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
10535 Use new option `reftex-index-phrase-file-extension'.
10537 * textmodes/reftex.el (reftex-access-parse-file): Use new option
10538 `reftex-parse-file-extension'.
10540 2000-01-05 Dave Love <fx@gnu.org>
10542 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
10543 (beginning-of-defun-raw): Use it.
10544 (end-of-defun): New variable.
10545 (end-of-defun): Use it.
10546 (check-parens): New command.
10548 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
10550 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
10551 (hs-show-block): Don't use `mapcar' when not accumulating.
10553 Fix buglet in local variables initialization.
10555 2000-01-05 Andreas Schwab <schwab@suse.de>
10557 * hscroll.el (hscroll): Doc fix.
10559 2000-01-05 Carsten Dominik <cd@gnu.org>
10561 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
10564 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
10565 file idlw-rinfo.el.
10566 (idlwave-customize): load must read file idlw-shell.el.
10567 (idlwave-create-customize-menu): load must read file idlw-shell.el.
10569 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
10571 * progmodes/idlw-shell.el: Also provide idlwave-shell
10572 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
10573 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
10575 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
10576 both reftex-dcr and reftex-vcr.
10578 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
10580 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10582 * ps-print.el: PostScript code now is in separate files, doc fix.
10583 (ps-print-version): New version number (5.0.3).
10584 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
10586 (ps-spool-config): Initialization fix.
10587 (ps-print-prologue-1, ps-print-prologue-2)
10588 (ps-print-duplex-feature): PostScript code moved to separated file.
10589 (ps-background-image): Little code reformating.
10590 (ps-begin-file, ps-begin-job): Fix code.
10591 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
10592 (ps-prologue-file): New fun.
10594 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10596 * ps-vars.el: Eliminated.
10598 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
10601 * ps-print.el: ps-vars eliminated, doc fix.
10602 (ps-print-version): New version number (5.0.2).
10603 (ps-spool-config): Initialization fix.
10604 (ps-print-customize): New fun.
10606 2000-01-04 Gerd Moellmann <gerd@gnu.org>
10608 * autorevert.el (auto-revert-mode): Return value of
10611 2000-01-04 Dave Love <fx@gnu.org>
10613 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
10616 2000-01-03 Dave Love <fx@gnu.org>
10618 * elide-head.el (elide-head) [defgroup]: Add :version.
10620 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
10621 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
10622 `cl-hash-table-p', not `hash-table-p'.
10623 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
10625 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10627 * faces.el (face-read-integer, read-face-attribute)
10628 (color-defined-p, color-values): unspecified-{f,b}g are now
10631 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
10633 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
10634 at comment end, and re-insert them after filling.
10636 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10638 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
10639 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
10640 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
10642 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10644 * term/x-win.el (xw-defined-colors): Call color-supported-p,
10645 the new name of face-color-supported-p.
10647 * term/w32-win.el (xw-defined-colors): Likewise.
10649 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
10651 * simple.el (completion-setup-function): Count completion-size
10652 from minibuffer-prompt-end, not from point-min.
10654 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
10656 * faces.el (read-face-attribute, defined-colors, color-defined-p):
10657 Pass the frame to tty-color-* functions.
10658 (display-color-p, frame-set-background-mode): Pass the frame to
10659 tty-display-color-p.
10661 * term/tty-colors.el (tty-defined-color-alist): Renamed from
10663 (tty-color-alist, tty-modify-color-alist): New functions.
10664 (tty-color-define, tty-color-clear, tty-color-approximate)
10665 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
10666 an optional parameter FRAME.
10668 2000-01-01 Gerd Moellmann <gerd@gnu.org>
10670 * image.el (create-image, defimage): Don't assume image data is a
10673 * image.el (defimage): Handle specifications containing :data
10675 (image-type-from-data): New function.
10676 (image-type-from-file-header): Use it.
10677 (create-image): Add parameter DATA-P.
10679 See ChangeLog.8 for earlier changes.
10681 ;; Local Variables:
10682 ;; coding: iso-2022-7bit-unix