1 2000-11-16 Kenichi Handa <handa@etl.go.jp>
3 * window.el (fit-window-to-buffer): Be sure to acquire at least
4 one text line even if the buffer is empty.
6 2000-11-16 Gerd Moellmann <gerd@gnu.org>
8 * net/ange-ftp.el (ange-ftp-file-writable-p)
9 (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind
10 ange-ftp-process-verbose to nil.
12 2000-11-15 Dave Love <fx@gnu.org>
14 * wid-edit.el (widget-specify-field, widget-specify-button): If
15 :help-echo is a function, set help-echo of overlay to
17 (widget-mouse-help): New function.
18 (widget-echo-help): Rewritten for :help-echo functions only taking
21 * net/eudc-bob.el (eudc-bob-can-display-inline-images): Use
23 (eudc-bob-display-jpeg) <!eudc-xemacs-p>: Test create-image bound
24 and that JPEG is available.
25 (eudc-bob-toggle-inline-display): Avoid non-existent `imagep'.
27 * international/mule-cmds.el (locale-charset-language-names):
30 2000-11-15 Gerd Moellmann <gerd@gnu.org>
32 * faces.el (face-set-after-frame-default): If
33 `inhibit-default-face-x-resources' is bound, don't intialize the
34 default face from X resources.
36 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
38 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
39 Don't set EMACSLOADPATH.
41 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
43 * textmodes/texinfo.el (texinfo-insert-@uref): Renamed from
45 (texinfo-insert-@url): A defalias for texinfo-insert-@uref.
46 (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
48 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
50 * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
51 (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
52 (checkdoc-minor-keymap): Backward compatibility.
53 (checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
54 (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
55 (checkdoc-this-string-valid-engine): Be a bit more strict
56 to avoid matching substrings of `...' quoted vars/funs.
57 (checkdoc-defun-info): Only look for `interactive' if alone.
58 (debug-ignored-errors): Add "arg doesn't appear in docstring".
60 * progmodes/compile.el (grep): `tag-default' can be nil.
62 * newcomment.el (comment-indent): Paren typo.
64 2000-11-14 Dave Love <fx@gnu.org>
66 * calculator.el: New maintainer version.
68 * diff-mode.el (diff-imenu-generic-expression): Modify unidiff
71 * cmuscheme.el: Doc fixes.
72 (cmuscheme) <defgroup>: Use `scheme' as parent.
73 (cmuscheme-program-name): Remove. Change uses to
76 * xscheme.el (scheme-program-name): Don't define here.
78 * progmodes/scheme.el (scheme-program-name): New variable
79 (originally in cmuscheme).
81 2000-11-14 Miles Bader <miles@gnu.org>
83 * window.el (fit-window-to-buffer): Handle windows without mode-lines.
84 Handle header-lines. Don't loop forever if we can't enlarge the
85 window anymore. Simplify a bit.
87 2000-11-14 Kenichi Handa <handa@etl.go.jp>
89 * window.el (fit-window-to-buffer): Don't check
90 window-text-height. Assure that the last line is fully visible.
92 * international/quail.el (quail-show-guidance-buf): Call
93 fit-window-to-buffer to assure the enough height of the guidance
95 (quail-update-guidance): Avoid making the guidance buffer shorter.
97 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
99 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
100 rather than `prepend' and add an interesting comment.
101 (tex-math-face, tex-font-lock-syntactic-face-function):
102 New face and function to use it.
103 (tex-define-common-keys, tex-mode-map): Use menu-item rather
104 than `menu-enable' symbol property.
105 (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
106 (tex-mode): Add some latex-mode commands for auto-selection.
107 Use tex-font-lock-syntactic-face-function.
108 (tex-insert-quote): Simplify.
109 (tex-shell): New mode.
110 (tex-start-shell): Use it.
111 (tex-shell-proc, tex-shell-buf): New functions.
112 (tex-send-command): Use it.
113 (tex-main-file): Fix the meaning of the new arg REALFILE.
114 (tex-send-tex-command): New function split from `tex-start-tex'.
115 Set compilation-last-buffer and compilation-parsing-end.
117 * newcomment.el (comment-indent-default): Stick \s<\s< to the left
118 when it follows non-comment text on the line.
120 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
121 Set font-lock-defaults.
122 (lisp-mode-shared-map): Init inside the defvar.
123 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
124 Use define-derived-mode.
126 2000-11-14 Miles Bader <miles@lsi.nec.co.jp>
128 * faces.el (header-line): Use `:box nil' for color/gs displays too.
130 2000-11-14 Gerd Moellmann <gerd@gnu.org>
132 * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
133 recursively optimize body because that can lead to infinite
134 recursion; see comment there.
136 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
138 * faces.el (face-spec-set-match-display): Revert the change from
139 2000-10-24. Add a FIXME for after v21.1.
141 2000-11-13 Miles Bader <miles@gnu.org>
143 * textmodes/fill.el (skip-line-prefix): New function.
144 (fill-region-as-paragraph, fill-region): Return the fill-prefix.
145 (fill-paragraph): Don't leave point inside the fill-prefix.
146 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
147 point inside the fill-prefix.
149 2000-11-13 Miles Bader <miles@lsi.nec.co.jp>
151 * calendar/calendar.el (generate-calendar-window): Use
152 `fit-window-to-buffer'.
154 2000-11-12 Stefan Monnier <monnier@cs.yale.edu>
156 * gud.el (gud-minor-mode): New var.
157 (gud-symbol, gud-val): New functions.
158 (gud-find-file): Copy gud-minor-mode to the new buffer.
159 (gud-menu-map): Include entries for commands that are not always
160 available, using :enable to (de)activate them.
161 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
162 (gud-mode-map): New map.
163 (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
164 (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
165 Don't set up gud's menu (it's done by the minor-mode).
166 (gud-minibuffer-local-map): New.
167 Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
168 (gud-query-cmdline): New function.
169 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
170 (gud-mode): Use define-derived-mode.
171 Don't set up gud's menu (it's done by the minor-mode).
172 (gud-chop-words): Remove.
173 (gud-common-init): Use split-string instead.
174 (gud-new-keymap, gud-make-debug-menu): Eradicate.
176 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
177 Add keyword arg :name.
179 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
180 (diff-count-matches, diff-split-hunk): New functions.
181 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
183 * pcvs-info.el (cvs-fi-conflict-face): New var.
185 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
186 Make it into a simple syntax-table, shared among all submodes.
187 (sh-heredoc-face): Re-introduce.
188 (sh-font-lock-syntactic-face-function): New function.
189 (sh-mode): Use it. Also use define-derived-mode.
190 Remove old bogus setting of indent-region-function.
191 (sh-set-shell): Don't set the syntax-table any more.
192 (sh-mode-syntax-table) <defun>: Remove.
194 2000-11-12 Miles Bader <miles@gnu.org>
196 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
197 message if interactive.
199 2000-11-12 Dave Love <fx@gnu.org>
201 * mail/feedmail.el: Fix header,
202 (feedmail) <defgroup>: Add :link.
204 * view.el: Use local-map property, not keymap on mode-line string.
206 * scroll-all.el (scroll-all-mode): Customize variable. Add
207 autoload cookie to function.
209 * lazy-lock.el: Remove compatibility code.
211 * finder.el (finder-known-keywords): Add `files', remove `vms'.
212 (finder-help-echo): New variable.
213 (finder-mouse-face-on-line): Add help-echo stuff.
214 (finder-list-keywords, finder-list-matches): Use mapc.
216 * faces.el (face-font-registry-alternatives): Add :version.
218 * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
221 * net/browse-url.el (browse-url-browser-function): Update :version.
223 * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
224 (mail-mode): Use [:alnum:] in some regexps.
226 2000-11-10 Dave Love <fx@gnu.org>
228 * ediff.el (ediff-regions-internal, ediff-documentation):
229 * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
232 * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
233 buffer into fundamental mode.
234 (ediff-set-difference): Use copy-sequence if available.
236 * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
237 ediff-patch-map non-nil.
238 (ediff-fixup-patch-map, ediff-fixup-patch-map)
239 (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
240 buffer into fundamental mode.
242 * ediff-merg.el (state-or-merge): Defvar when compiling.
244 2000-11-10 Jason Rumney <jasonr@gnu.org>
246 * w32-fns.el (w32-add-charset-info): New function.
247 (w32-charset-info-alist): Use it.
249 2000-11-10 Gerd Moellmann <gerd@gnu.org>
251 * faces.el (face-font-registry-alternatives): New user-option.
253 2000-11-10 Stefan Monnier <monnier@cs.yale.edu>
255 * textmodes/texinfo.el (texinfo-block-default): New var.
256 (texinfo-insert-block): Use it. Insert a newline if needed.
258 * textmodes/fill.el (fill-indent-according-to-mode): New var.
259 (fill-region-as-paragraph): Use it.
261 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
262 (latex-mode): Tweak tex-*-(head|trail)er regexps.
263 Tweak paragraph regexps to allow a leading [ \t]*.
264 (tex-latex-block): Insert a newline if necessary.
265 (latex-insert-item): Only insert a newline if necessary.
266 (tex-guess-main-file): New function.
267 (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
268 Set tex-main-file if TeX-master is provided.
269 (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
271 2000-11-10 Gerd Moellmann <gerd@gnu.org>
273 * startup.el (command-line): Set the default tooltip-mode
274 to t for graphical displays which implement x-show-tip.
276 * tooltip.el (tooltip-mode): Add a comment about startup.el
277 setting the default value of this user-option.
279 2000-11-09 Stefan Monnier <monnier@cs.yale.edu>
281 * font-lock.el (font-lock-*-face) <defvar>: Move.
282 (font-lock-defaults-alist): Mark obsolete.
283 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
284 (font-lock-mode): Use define-minor-mode.
285 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
286 (font-lock-turn-off-thing-lock): Be more explicit.
287 (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
288 (font-lock-syntactic-face-function): New var.
289 (font-lock-fontify-syntactically-region): Use it.
290 (font-lock-doc-face): New.
292 * pcvs.el (cvs-enabledp): Ignore errors.
293 (cvs-commit-filelist): Never query.
294 (cvs-mode-insert): Always add a terminating / in the initial prompt.
295 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
296 (cvs-do-removal): Use cvs-partition rather than delete-if.
297 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
300 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
301 Allow `next' to jump to after the end of the last match.
303 2000-11-09 Gerd Moellmann <gerd@gnu.org>
305 * simple.el (byte-compiling-files-p): New function.
307 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
310 * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
313 * textmodes/ispell.el (ispell-library-path): Don't call
314 check-ispell-version when byte-compiling because that starts
315 an ispell process, and ispell might not be installed.
316 (toplevel): Don't set up a menu when byte-compiling.
318 * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
319 it, so that a boundp test can be used to determine if we're
320 currently byte-compiling.
322 2000-11-09 Dave Love <fx@gnu.org>
324 * pcvs.el (uniquify-buffer-file-name): Wrap advice in
327 2000-11-09 Vinicius Jose Latorre <vinicius@cpqd.com.br>
329 * ps-print.el: Patch for variable initialization when spooling. Doc
331 (ps-output-list): Fun eliminated.
332 (ps-begin-file, ps-begin-job): Code fix.
334 2000-11-08 Dave Love <fx@gnu.org>
336 * ediff-wind.el (ediff-control-frame-parameters): Zero
339 2000-11-08 Gerd Moellmann <gerd@gnu.org>
341 * simple.el (shell-command, display-message-or-buffer)
342 (shell-command-on-region): Mention resize-mini-windows in the doc
344 (display-message-or-buffer): Take the value of resize-mini-windows
347 2000-11-07 Gerd Moellmann <gerd@gnu.org>
349 * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
351 * dired.el (dired-between-files): Add `^. find' as an alternative
352 to the regular expression, for find-dired.
354 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
356 * textmodes/texnfo-upd.el: Require texinfo.
357 (defmacro, defgroup): Remove.
358 (texinfo-section-to-generic-alist): Remove.
359 Use texinfo-section-list instead (i.e. level is changed string->int).
360 (texinfo-filter): New function.
361 (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
362 (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
363 Use it. And use regexp-opt.
364 (texinfo-find-higher-level-node, texinfo-hierarchic-level)
365 (texinfo-update-menu-region-beginning)
366 (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
367 (texinfo-update-the-node, texinfo-sequentially-update-the-node)
368 (texinfo-update-menu-same-level-regexps): Update.
369 (texinfo-update-node, texinfo-every-node-update)
370 (texinfo-sequential-node-update): Remove autoload cookie.
372 * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
373 (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
374 (texinfo-chapter-level-regexp): Remove.
375 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
377 2000-11-06 Dave Love <fx@gnu.org>
379 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
381 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
384 2000-11-06 Kenichi Handa <handa@etl.go.jp>
386 * composite.el (composition-function-table): Variable declaration
387 moved to src/composite.c.
388 (compose-chars-after): New optional arg object.
390 2000-11-06 Gerd Moellmann <gerd@gnu.org>
392 * bindings.el (mode-line-toggle-read-only)
393 (mode-line-toggle-modified, mode-line-widen)
394 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
395 (make-mode-line-mouse2-map): Rewritten.
396 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
397 functions so that C-h k can show something with a doc string.
399 * startup.el (fancy-splash-delay): Set to 10 seconds.
400 (fancy-splash-max-time): New user-option.
401 (fancy-splash-stop-time): New variable.
402 (fancy-splash-screens): Set it. Catch `stop-splashing'.
403 (fancy-splash-screens-1): Throw `stop-splashing' when current
404 time is greater than fancy-splash-stop-time.
406 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
408 * vc-hooks.el (vc-insert-file): Don't assume byte==char.
410 * pcvs.el (cvs-mode-marked): New arg `noquery'.
411 Prompt user for a file rather than raising an error.
412 (cvs-enabledp): Fix call to cvs-mode-marked.
413 (cvs-insert-file): New function (extracted from cvs-mode-insert).
414 (cvs-mode-insert): Use it. Change the init prompt' value.
415 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
417 * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
418 Don't pass default arg to ewoc-locate.
419 (ewoc-collect): Return result in the right order.
421 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
423 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
424 (cvs-status-get-tags): Fix regexp.
425 (cvs-status-trees, cvs-status-cvstrees):
426 Combine after change hooks and don't sit-for.
427 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
428 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
429 Use make-char rather than hard-coded cryptic data.
430 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
432 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
434 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
435 (cvs-insert-strings): New function.
437 2000-11-06 Miles Bader <miles@lsi.nec.co.jp>
439 * mwheel.el (mouse-wheel-scroll-amount): Renamed from
440 `mwheel-scroll-amount'.
441 (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
442 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
443 string-matching against the version string.
445 2000-11-06 Kenichi Handa <handa@etl.go.jp>
447 * language/thai.el ("Thai"): Set a lisp form that produces
448 composed string in `sample-text' language info.
450 * language/tibetan.el ("Tibetan"): Set a lisp form that produces
451 composed string in `sample-text' language info.
453 * international/mule-cmds.el (describe-language-environment): Eval
454 `sample-text' data and insert the result.
456 * international/mule-conf.el (compound-text): Define this coding
457 system here. Make x-ctext and ctext aliases of it.
459 * language/european.el (compound-text, ctext): Moved to
460 international/mule-conf.el.
462 2000-11-05 Andrew Innes <andrewi@gnu.org>
464 * w32-fns.el (w32-version): New function.
466 2000-11-05 Stefan Monnier <monnier@cs.yale.edu>
468 * progmodes/awk-mode.el: Update copyright.
469 (awk-mode-abbrev-table): Remove.
470 (awk-font-lock-keywords): Use regexp-opt.
471 (awk-mode): Use define-derived-mode.
473 * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
474 when extracting a suffix.
476 2000-11-04 Andre Spiegel <spiegel@gnu.org>
478 * vc-hooks.el (vc-insert-file): Rewritten. Don't bother about
481 2000-11-04 Jason Rumney <jasonr@gnu.org>
483 * language/european.el (decode-mac-roman): Test against r1 not r0.
485 2000-11-03 Stefan Monnier <monnier@cs.yale.edu>
487 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
488 (icon-mode): Define indent-line-function.
489 (icon-comment-indent): Simplify.
490 (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
492 * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
494 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
495 Bind change-log-default-mode to defeat the caching done on it.
496 Don't bother saving excursion any more.
498 * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
500 * frame.el (after-setting-font-hook): Rename hooks -> hook.
501 (set-frame-font): Use the new name (and the old for compatibility).
503 * toolbar/tool-bar.el (tool-bar-mode):
504 * time.el (display-time-mode):
505 * recentf.el (recentf-mode):
506 * paren.el (show-paren-mode):
507 * mwheel.el (mouse-wheel-mode):
509 * jka-compr.el (auto-compression-mode):
510 * image-file.el (auto-image-file-mode):
511 * hl-line.el (hl-line-mode):
512 * delsel.el (delete-selection-mode):
513 * autoinsert.el (auto-insert-mode):
514 * complete.el (partial-completion-mode): Drop unneeded positional args.
516 * info.el (Info-mode):
517 * comint.el (comint-mode): Don't both with make-local-hook.
519 * log-edit.el (log-edit-menu): New menu.
521 2000-11-03 Miles Bader <miles@gnu.org>
523 * wid-edit.el (widget-end-of-line): Reinstate, with a new
524 definition, so that trailing spaces are handled properly.
525 (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
527 2000-11-03 Gerd Moellmann <gerd@gnu.org>
529 * startup.el (fancy-splash-text, fancy-splash-text): Use a single
531 (fancy-splash-screens): Set tab-width to 20.
533 2000-11-03 Dave Love <fx@gnu.org>
535 * comint.el (comint-completion-addsuffix): Fix custom type.
537 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
539 * font-lock.el (font-lock-buffers): Remove.
540 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
541 (font-lock-change-major-mode): Remove.
542 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
543 (font-lock-default-fontify-region): Extend the multiline
544 fontification to whole lines.
545 (font-lock-fontify-anchored-keywords)
546 (font-lock-fontify-keywords-region): If matching just one
547 line (with \n) only mark the \n as multiline.
549 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
550 Correctly handle the case where several :group args are supplied.
552 (easy-mmode-define-global-mode): Allow :extra-args.
553 Correctly handle the case where several :group args are supplied.
555 2000-11-02 Miles Bader <miles@gnu.org>
557 * calendar/calendar.el (diary-face, calendar-today-face)
558 (holiday-face): Remove dependency on `window-system'.
560 2000-11-02 Ken Raeburn <raeburn@gnu.org>
562 * Makefile.in (emacs): Set EMACSLOADPATH always.
563 (update-authors, .el.elc, compile-files): Don't do it explicitly
565 (compile-files): Bomb out if compilation of a file fails.
567 2000-11-02 Dave Love <fx@gnu.org>
569 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
571 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
573 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
574 punctuation in the warning inserted into the *mail* buffer.
576 2000-11-02 Gerd Moellmann <gerd@gnu.org>
578 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
579 (authors-public-domain-p): New function.
580 (authors-print): Use it.
582 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
584 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
586 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
588 * ps-print.el: Extension for even/odd printing. Doc fix.
589 (ps-print-version): New version number (6.3.1).
590 (ps-even-or-odd-pages): Customization fix.
591 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
592 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
593 (ps-page-count): Var replaced by `ps-page-column'.
594 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
595 (ps-print-sheet-p): New fun.
597 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
599 * tooltip.el (tooltip-gud-tips-setup): New function.
600 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
601 (tooltip-mode): Call tooltip-gud-tips-setup.
602 (tooltip-gud-tips): Use `gud-basic-call' instead of
603 process-send-string, so the prompt gets frobbed appropriately.
604 Handle nil return value from `tooltip-gud-print-command'.
606 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
608 * comint.el (comint-add-to-input-history): New function.
609 (comint-send-input): Use `comint-add-to-input-history'.
611 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
613 * info.el (info-menu-header): New face.
614 (Info-fontify-menu-headers): New function.
615 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
617 * info.el (Info-insert-dir): Don't include blank lines at
618 beginning of additional dir files (one is added automatically).
620 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
622 * emacs-lisp/easy-mmode.el (define-minor-mode):
623 Revert the latest changes.
624 Allow the three positional arguments to be skipped and replaced
625 by keyword arguments.
626 Add a :toggle argument to determine whether a nil arg means toggle
627 or means turn-on. The default is unchanged.
628 Add a call to force-mode-line-update.
630 2000-11-01 Dave Love <fx@gnu.org>
632 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
635 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
637 * calendar/calendar.el (diary-face, holiday-face): Add
638 dark-background variants.
640 2000-10-31 Sam Steingold <sds@gnu.org>
642 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
643 `tex-main-file' does not have directory in it.
645 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
647 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
649 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
651 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
654 2000-10-31 Gerd Moellmann <gerd@gnu.org>
656 * files.el (find-file-noselect): When we expand a wildcard, return
657 a list of buffers, as we should do according to the doc string.
659 2000-10-31 Ken Raeburn <raeburn@gnu.org>
661 * loadup.el (top level): Adjust load path if program name is
662 "../src/bootstrap-emacs", in case it's not dumped and thus the
663 load path adjustment hasn't already been done.
665 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
667 * ps-print.el: Fix bug on selected pages for printing. Use
668 `color-values' for Emacs 21. Ensure fontification when jit-lock
669 is on. Try to avoid warning messages when compiling. Doc Fix.
670 (ps-print-version): New version number (6.3).
671 (ps-color-device): Use `color-values' to determine if device
673 (ps-color-values): Try to use `x-color-values' when using XEmacs.
674 (ps-print-page-p): Changed from defsubst to defun.
675 (ps-page-number): Changed from defmacro to defun.
676 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
678 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
679 (ps-end-file, ps-dummy-page): Funs eliminated.
680 (ps-print-color-scale): Changed default value.
681 (ps-page-n-up, ps-print-page-p): New internal vars.
682 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
683 (ps-plot-region, ps-generate, ps-end-job): Code fix.
685 * delim-col.el: Little programming improvement.
686 (delimit-columns-str): New macro.
687 (delimit-columns-region, delimit-columns-rectangle): Code fix.
689 2000-10-31 Kenichi Handa <handa@etl.go.jp>
691 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
692 Moved to european.el.
693 (ccl-encode-mac-roman-font, fontset-mac): Modified for
694 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
695 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
696 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
698 2000-10-30 Dave Love <fx@gnu.org>
700 * progmodes/cc-menus.el (imenu-generic-expression)
701 (imenu-progress-message): Only defvar when compiling.
703 * emacs-lisp/elp.el (elp-unload-hook): New function.
705 * loadhist.el (unload-feature): Call elp-restore-function,
706 checking for symbols; don't use elp-restore-all.
707 (loadhist-hook-functions): Doc fix.
709 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
711 * log-edit.el (log-edit-confirm): Fix the default.
713 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
715 * delim-col.el: Little fix: replace delimit-columns-align-columns by
716 delimit-columns-format.
717 (delimit-columns-region, delimit-columns-rectangle): Code fix.
719 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
721 * comint.el (comint-replace-by-expanded-history): Don't use
722 comint-get-old-input (we're not looking at *old* input).
723 (comint-get-old-input-default): If using fields, signal an error
724 when the point is not in an input field.
726 2000-10-30 Kenichi Handa <handa@etl.go.jp>
728 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
729 and mule-unicode-e000-ffff.
731 * international/mule.el (decode-char, encode-char): New functions.
732 (make-coding-system): Accept a symbol of translation table as a
733 value of property `safe-chars'.
735 * international/mule-cmds.el (encode-coding-char): Check property
736 safe-chars instead of safe-charsets.
738 * international/fontset.el (fontset-default): Modified for
739 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
740 (x-font-name-charset-alist): Likewise.
741 (ccl-encode-unicode-font): New CCL program. Record it in
742 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
744 * language/european.el (mac-roman-decoder, mac-roman-encoder):
745 New translation tables.
746 (decode-mac-roman, encode-mac-roman): Definition of these CCL
747 programs are modified and moved from mac-win.el.
748 (mac-roman): Definition of this coding system is modified and
749 moved from mac-win.el.
751 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
753 * ediff-wind.el (ediff-setup-control-frame): Enclose
754 face-attribute in condition-case to avoid errors in older emacsen.
756 2000-10-29 Miles Bader <miles@gnu.org>
758 * custom.el (custom-add-to-group): Allow multiple entries for a
759 given value OPTION, as long as their widget types are different.
760 * cus-edit.el (custom-face-value-create): If face name doesn't end
761 with "face", add such here (similar to custom group widgets).
763 * comint.el (comint-highlight-prompt): Add :type.
765 2000-10-28 John Wiegley <johnw@gnu.org>
767 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
768 Changed this function to operate on a temporary buffer instead of
769 the main buffer. This not only keeps flyspell from marking a
770 buffer as changed that wasn't, but it solves the jumpy cursor
771 problem when attempts are made to edit incorrect words.
772 (flyspell-maybe-correct-doubling): Same change as for
773 `flyspell-maybe-correct-transposition'.
775 * calendar/timeclock.el (timeclock-log): Doc fix.
776 (timeclock-last-event): Doc fix.
777 (timeclock-log): Kill the timelog buffer after appending a new
779 (timeclock-find-discrep): Use a temp buffer to read in the
780 timelog, instead of visiting the file.
781 (timeclock-log-data): A new function, along with a host of helper
782 functions, for the purpose of making timelog data accessible to
785 * eshell/esh-mode.el (window-height test): Make certain that
786 `eshell-stringify-t' is non-nil.
787 (eshell-password-prompt-regexp): Changed to a much simpler
789 (eshell-send-input): If `eshell-invoke-directly' returns t,
790 directly invoke the parsed command using `eval'. This improves
791 turn-around time on simple commands by a factor of three or
792 greater, such as cd, ls, pwd, etc. -- which get used very often.
793 It also conserves thousands of cons cells per call (since
794 `eshell-do-eval' consumes memory like a Cookie Monster set loose
795 in the Pacific Cookie Company).
797 * eshell/esh-test.el (eshell-test): Whitespace fix.
799 * eshell/em-ls.el (eshell-ls-insert-directory): Make
800 `eshell-ls-initial-args' nil when inserting directory contents.
802 * eshell/em-script.el (eshell-script-initialize): Add names to
803 `eshell-complex-commands, since `source' and `.' are complex.
805 * eshell/esh-cmd.el (eshell-rewrite-for-command)
806 (eshell-rewrite-while-command): Use `eshell-protect' instead of
807 `eshell-copy-handles'.
808 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
810 (eshell-separate-commands): Whitespace fix.
811 (eshell-complex-commands): Added a new list of names, for
812 determining whether a given command is as simple as it looks.
813 (eshell-invoke-directly): New function. Returns t if a command
814 should be invoked directly (using `eval'), rather than indirectly
815 using `eshell-do-eval'.
816 (eshell-do-eval): Whitespace fix.
818 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
819 which provides an emulation of the DOS shell behavior of assuming
820 that cp/mv/ln should copy/move/link to the current directory.
821 (eshell-remove-entries): Added a doc string.
822 (eshell-shuffle-files): Removed the check for `target' being null.
823 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
824 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
825 it to do a smarter check of whether a destination was provided.
826 (eshell/mv, eshell/cp): Enable `:preserve-args'.
827 (eshell/ln): Enable `:preserve-args', and use
828 `eshell-mvcpln-template' to implement the body of the function.
829 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
830 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
831 list after flattening it. This makes it possible to cat files
832 with numerical names.
833 (eshell-unix-initialize): Added several names to
834 `eshell-complex-commands.
835 (eshell-unix-command-complex-p): Return t if a given command name
836 may result in external processes being invoked.
838 * eshell/em-glob.el (eshell-glob-show-progress): Make this
839 variable nil by default, since it slows down glob processing by a
840 factor of two or more, and increases memory consumption.
842 * eshell/em-smart.el: Added a note about how memory consumptive
843 smart display mode can be (at least this is true in Emacs 21).
844 (eshell-smart-initialize): Whitespace fix.
845 (eshell-refresh-windows): Use `if' instead of `when'.
846 (eshell-smart-scroll-window): Calling `save-current-buffer' was
848 (eshell-currently-handling-window): Added a missing global
851 * eshell/em-ls.el (eshell-do-ls): Code simplification.
852 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
854 (eshell-ls-exclude-hidden): Added this variable in addition to
855 `eshell-ls-exclude-regexp'. This one prevents files beginning
856 with . from even being read, which can improve memory consumption
858 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
859 read file entries beginning with a dot. In home directories with
860 lots of hidden files, fully two-thirds of the time spent in ls is
861 used to read directory entries that are immediately thrown away.
862 (eshell-ls-initial-args): Added back this configuration variable,
863 for specifying default initial arguments to every call to ls.
864 Much faster than using an alias to do the same thing.
865 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
866 (eshell-ls-dir): Whitespace change.
868 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
870 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
872 (eshell-stringify-t): Added a customization variable, to indicate
873 whether `t' should be rendered as a string at all. If not, one
874 can still determine if the result of an expression is true using
875 "file-exists-p FILE && echo true".
876 (eshell-stringify): If `eshell-stringify-t' is nil, don't
879 * eshell/esh-module.el: Whitespace fix.
881 * eshell/em-alias.el (eshell-alias-initialize): Added
882 `eshell-command-aliased-p' to `eshell-complex-commands'.
883 (eshell-command-aliased-p): New function that returns t if a
884 command name names an aliased.
886 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
888 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
889 redrawing the screen when changing cursor color.
890 (viper-insert-state-pre-command-sentinel)
891 (viper-replace-state-pre-command-sentinel)
892 (viper-replace-state-post-command-sentinel):
893 Use viper-preserve-cursor-color.
894 Many functions changed to use viper= instead of = when comparing
896 * viper-util.el (viper-memq-char,viper=): New functions for
897 working with characters.
898 (viper-change-cursor-color): Fixed buglet.
899 Many functions changed to use viper= instead of = when comparing
901 * viper.el (viper-insert-state-mode-list): Added eshell.
903 * ediff-init.el (ediff-before-setup-hook): New hook.
904 Several typos fixed in various docstrings.
905 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
906 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
908 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
909 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
910 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
911 (ediff-get-selected-buffers): New function.
912 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
913 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
914 save-window-excursion.
915 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
916 termination check in while loop.
917 * ediff.el (ediff-get-default-file-name): Better defaults when in
919 (ediff-files,ediff-merge-files,ediff-files3)
920 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
922 2000-10-28 Dave Love <fx@gnu.org>
924 * info.el (Info-fontify-node): Add help-echo for menu items.
926 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
928 * startup.el (normal-top-level): If the value of $TERM indicates
929 we are running from xterm or one of its work-alikes, default to a
930 light background mode.
932 Support for -fg, -bg, and -rv command-line arguments for TTYs:
933 * faces.el (tty-handle-reverse-video): New function.
934 (tty-create-frame-with-faces): Call it.
936 * frame.el (frame-notice-user-settings): Don't apply
937 default-frame-alist and initial-frame-alist to MS-DOS frames.
938 Call tty-handle-reverse-video, frame-set-background-mode, and
939 face-set-after-frame-default for non-MS-DOS frames.
941 * startup.el (tty-long-option-alist): New variable.
942 (tty-handle-args): New function.
943 (command-line): Call tty-handle-args.
945 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
946 startup.el now does that for all character-terminal frames.
948 2000-10-28 Miles Bader <miles@gnu.org>
950 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
951 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
952 global. If :global is followed by a non-nil but non-t value,
953 make the mode buffer-local, but also generate a `global-MODE'
954 version using `easy-mmode-define-global-mode'. Add
955 :conditional-turn-on keyword argument.
957 2000-10-28 Dave Love <fx@gnu.org>
959 * international/latin1-disp.el (latin1-char-displayable-p): Don't
962 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
964 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
965 Don't call find-buffer-file-type-coding-system. Instead, just
966 set eol-type to -unix if inhibit-eol-conversion is in effect, or
967 if the file is on an untranslated filesystem.
968 (add-untranslated-filesystem): Use "D" instead of "f" inside
971 2000-10-27 Dave Love <fx@gnu.org>
973 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
974 (refill-mode): Use it.
976 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
978 * international/quail.el (quail-activate): Don't make-local-hook.
980 2000-10-27 Andre Spiegel <spiegel@gnu.org>
982 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
983 manual backups and file.~<rev>.~ for automatic ones.
984 (vc-make-version-backup): Don't do it on MS-DOS without long file
987 * vc.el (vc-version-other-window): If an automatic backup of the
988 desired version exists, rename it instead of copying it.
990 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
991 after command. If there's an unexpected error, signal it instead
993 (vc-cvs-merge-news): Be prepared for no news at all.
995 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
997 * shell.el (shell): Add BUFFER argument.
998 * comint.el (make-comint-in-buffer): New function.
999 (make-comint): Use it.
1001 * faces.el (face-spec-choose): Change syntax so that the list of
1002 attribute-value pairs is now the cdr of each clause, not the cadr.
1003 Detect old-style entries, and handle them. Use pop.
1005 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
1007 * cus-edit.el (custom-mode-map): Use a sparse map.
1008 (custom-mode): Don't bother with make-local-hook.
1010 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
1012 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
1014 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1016 * ps-print.el: Avoid compilation gripes.
1017 (ps-print-version): New version number (6.2.1).
1019 2000-10-26 Dave Love <fx@gnu.org>
1021 * menu-bar.el: Modify some menu item help strings.
1022 (menu-bar-help-menu): Add link to MORE.STUFF.
1024 * cus-edit.el (custom-mode): Add `special' mode-class property.
1026 * wid-browse.el (widget-browse-mode): Likewise.
1028 * wid-edit.el (widget-specify-field): Revert to using local-map
1029 property, not keymap.
1031 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
1033 * wid-edit.el (widget-field-end): When checking for a `boundary'
1034 field, do so in the correct buffer.
1036 * simple.el (undo): Correctly distinguish between numeric and
1037 non-numeric prefix args in non-transient-mark-mode, as per the doc
1038 string. When in transient-mark-mode, treat all prefix-args as
1041 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
1042 Position point on match. Handle N == 0 correctly.
1044 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
1045 (comint-mode-map): Reverse order of `comint-write-output' and
1046 `comint-append-output-to-file'.
1047 (comint-append-output-to-file): Reinstate this function, for the
1048 benefit of the menu.
1050 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
1052 * vc.el (vc-version-other-window): Bind `file'.
1054 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1056 * Makefile.in (update-authors): New target for maintenance purposes.
1058 * emacs-lisp/authors.el (batch-update-authors): New function.
1059 (authors-fixed-entries): New defconst.
1060 (authors-add-fixed-entries): New function.
1061 (authors): Call it.: Don't process lispref/.
1063 2000-10-25 Jason Rumney <jasonr@gnu.org>
1065 * cus-edit.el (custom-button-face, custom-button-pressed-face):
1066 Merge x w32 and mac definitions.
1068 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1070 * menu-bar.el (menu-bar-options-menu): Add a help string for
1073 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
1075 * time-stamp.el (time-stamp-string-preprocess):
1076 Fix a wrong type argument error.
1078 2000-10-25 Miles Bader <miles@gnu.org>
1080 * recentf.el (recentf-mode): Variable removed.
1081 (recentf-mode): Use `define-minor-mode'.
1083 * mwheel.el (mouse-wheel-mode): New global minor mode.
1084 (mwheel-install): Use `mouse-wheel-mode'.
1086 2000-10-25 Dave Love <fx@gnu.org>
1088 * progmodes/cperl-mode.el (cperl-mode):
1089 Set normal-auto-fill-function correctly.
1091 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
1092 inherit from global-map and don't nullify menu-bar and tool-bar
1095 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
1097 * wid-edit.el (widget-field-at): New function.
1098 (widget-at, widget-field-activate): Use it.
1099 (widget-tabable-at): Use `widget-at'.
1100 (widget-specify-field): If the terminating character of the widget
1101 field (which is read-only) is a newline, put it into a special
1102 `boundary' field so that C-n/C-p act more naturally.
1103 (widget-field-end): Also don't subtract one if a special
1104 `boundary' field has been added after the widget field.
1106 * comint.el (comint-output-filter, comint-send-input): Don't
1107 bother adding stickiness fields to overlays to fool the field
1108 code, since it should notice the overlay insertion-types now.
1110 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
1111 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
1112 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
1114 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1116 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
1117 (authors): Set file coding system to iso-2022-7bit. Add
1118 file-local variables to output buffer.
1120 * files.el (after-find-file): Don't print any warnings if
1123 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1125 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
1127 * delim-col.el: Now there is a column formatting mechanism.
1128 Modified to customization mechanisms convention. Doc fix.
1129 (columns): New group for delim-col.
1130 (delimit-columns-before, delimit-columns-after)
1131 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
1132 (delimit-columns-end): New vars.
1133 (delimit-columns-customize, delimit-columns-format): New funs.
1134 (delimit-columns-region, delimit-columns-rectangle)
1135 (delimit-columns-rectangle-line): Modified to support column
1138 2000-10-24 Dave Love <fx@gnu.org>
1140 * log-edit.el (log-edit): Add :version and a :group for vc.
1142 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1144 * files.el (after-find-file): Don't print a message ``New file''
1147 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
1148 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
1149 get duplicate tool-bar entries because we'll see the global ones
1150 on more than one path through keymaps.
1152 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
1154 * progmodes/cmacexp.el: Change Francesco's email address.
1156 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1158 * window.el (fit-window-to-buffer): Adjust point of the window
1159 buffer, not that of the current buffer.
1161 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
1163 * progmodes/cmacexp.el: Update the euthor's email address.
1165 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1167 * faces.el (face-spec-set-match-display): Add `graphic' display
1168 type (the inverse of `tty'). Use `display-graphic-p' instead of
1169 the window-system variable.
1171 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1173 * international/isearch-x.el (isearch-with-input-method): Call
1174 input-method-function with the first event in
1175 unread-command-events.
1177 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1179 * faces.el (face-default-spec, face-user-default-spec): Make
1182 2000-10-24 Andrew Choi <akochoi@i-cable.com>
1184 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
1187 * term/mac-win.el: Remove definitions of mac-roman-lower and
1188 mac-roman-upper, require dired, and define instead of set
1189 mac-ready-for-drag-n-drop to avoid compilation error.
1191 2000-10-23 Andrew Innes <andrewi@gnu.org>
1193 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
1194 superfluous calls to subst-char-in-string; instead apply
1195 expand-file-name after convert-standard-filename to ensure
1196 expected directory separators are used.
1198 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
1200 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
1202 2000-10-23 Dave Love <fx@gnu.org>
1204 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
1205 (tool-bar-add-item): Set foreground and background for XBM icons.
1207 * international/latin1-disp.el (latin1-char-displayable-p): New
1208 function (from Handa).
1209 (latin1-display-check-font): Use it.
1211 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
1212 using :key-sequence, making it much more usable. Use nconc, not
1214 (imenu--create-keymap-1): Avoid append.
1216 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
1218 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1220 [the following changes fix a bug where `define-minor-mode' didn't
1221 correctly generate :require clauses for defcustoms in compiled files]
1222 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
1223 (byte-compile-log-file, byte-compile-log-1): Don't set
1224 `byte-compile-current-file' to nil. Instead set
1225 `byte-compile-last-logged-file' to it. Test whether
1226 byte-compile-current-file equals byte-compile-last-logged-file
1227 instead of whether its nil.
1228 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
1230 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
1232 * textmodes/refill.el: Fix var names in doc.
1233 (refill-mode): Don't bother with make-local-hook anymore.
1235 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1237 * faces.el (face-user-default-spec, face-default-spec): New functions.
1238 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
1239 (frame-set-background-mode, face-set-after-frame-default):
1240 Use `face-user-default-spec'. Simplify code slightly.
1242 * woman.el (woman-italic-face, woman-bold-face)
1243 (woman-unknown-face): Add dark-background variants.
1244 (woman-default-faces): Renamed from `woman-colour-faces'.
1245 Set using the stored defaults, rather than using hard-wired colors.
1246 (woman-monochrome-faces): Renamed from `woman-black-faces'.
1247 Just make the foreground `unspecified' rather than "black".
1248 (woman-menu): Rename menu entries accordingly.
1250 * faces.el (header-line): Make more reasonable on mono/grayscale
1253 2000-10-23 Andrew Choi <akochoi@i-cable.com>
1255 * cus-edit.el (custom-button-face): Use 3D look for mac.
1256 (custom-button-pressed-face): Likewise.
1258 * faces.el (set-face-attributes-from-resources): Handle mac frames
1259 in the same way as x and w32 frames.
1260 (face-valid-attribute-values): Likewise.
1261 (read-face-attribute): Likewise.
1262 (defined-colors): Likewise.
1263 (color-defined-p): Likewise.
1264 (color-values): Likewise.
1265 (display-grayscale-p): Likewise.
1266 (face-set-after-frame-default): Likewise.
1267 (mode-line): Same default face as for x and w32.
1268 (tool-bar): Likewise.
1270 * frame.el: Remove call to frame-notice-user-settings at end of
1273 * info.el (Info-fontify-node): make underlines invisible for mac
1274 as for x, pc, and w32 frame types.
1276 * term/mac-win.el: New file.
1278 2000-10-22 Dave Love <fx@gnu.org>
1280 * textmodes/refill.el: New file.
1282 2000-10-22 Andre Spiegel <spiegel@gnu.org>
1284 * vc-hooks.el (vc-version-backup-file-name): New optional args
1286 (vc-delete-automatic-version-backups, vc-make-version-backup):
1288 (vc-before-save): Use the latter.
1289 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
1292 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
1293 expected by vc[-hooks].el.
1295 * vc.el (vc-checkout): Added `-p' suffix in call to
1296 vc-make-version-backups-p; use vc-make-version-backup to actually
1298 (vc-version-other-window, vc-version-backup-file): Handle both
1299 automatic and manual backups.
1300 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
1303 2000-10-22 Miles Bader <miles@gnu.org>
1305 * comint.el (comint-highlight-input, comint-highlight-prompt):
1306 Renamed, `-face' at end removed.
1307 (comint-send-input, comint-output-filter): Use renamed faces.
1309 * window.el (fit-window-to-buffer): Change defaulting of
1310 MAX-HEIGHT slightly.
1312 * faces.el (color-values, color-defined-p): Use `member', not
1313 `memq', because it works correctly for strings.
1314 (frame-set-background-mode): Actually, "unspecified-fg" and
1315 "unspecified-bg" *are* strings. Use `member', not `memq', and
1316 `equal', not `eq', when a string value is possible.
1318 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
1320 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
1322 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
1324 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
1325 sh-electric-rparen, sh-electric-less and sh-electric-hash.
1326 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
1327 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
1328 (sh-font-lock-syntactic-keywords): Use them.
1329 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
1330 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
1331 (sh-mode): Don't override font-lock-unfontify-region-function.
1332 Use a copy of sh-font-lock-syntactic-keywords.
1333 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
1334 Don't call sh-scan-buffer since font-lock does it on the fly.
1335 (sh-get-indent-info): Use `face' rather than `syntax-table'
1336 text-property to detect here-documents.
1337 Replace sh-special-syntax with sh-st-punc.
1338 (sh-prev-line): Use `face' rather than `syntax-table'
1339 text-property to skip over here-documents.
1340 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
1341 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
1342 (sh-electric-less, sh-set-here-doc-region)
1343 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
1344 (sh-scan-buffer, sh-rescan-buffer): Remove.
1346 2000-10-21 Andrew Innes <andrewi@gnu.org>
1348 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
1349 remote (ange-ftp) file names.
1351 2000-10-21 Miles Bader <miles@gnu.org>
1353 * window.el (fit-window-to-buffer): New function.
1354 (shrink-window-if-larger-than-buffer): Use it.
1355 (window-text-height): Don't expect minibuffers to have mode-lines.
1357 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1358 * international/quail.el (quail-update-guidance): Use
1359 `fit-window-to-buffer' instead of `set-window-text-height'.
1361 * international/quail.el (quail-show-guidance-buf): Make sure
1362 guidance window really has enough room.
1363 (quail-update-guidance): If quail-guidance-win is already shown,
1364 make sure its height is OK.
1366 * window.el (window-text-height, set-window-text-height):
1368 (shrink-window-if-larger-than-buffer): Use `window-text-height'
1369 instead of `window-height' & `mode-line-window-height-fudge'.
1370 (mode-line-window-height-fudge): Add FACE parameter.
1371 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1372 instead of `enlarge-window' & `mode-line-window-height-fudge'.
1374 2000-10-20 Miles Bader <miles@gnu.org>
1376 * window.el (height-affecting-face-attributes): Use `defconst'.
1378 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1379 New function, conditionally aliased to `mode-line-window-height-fudge'.
1380 (ispell-help): Use it.
1381 (ispell-choices-win-default-height): Don't include mode-line fudge.
1382 (ispell-choices-win-default-height): New function.
1383 (ispell-show-choices, ispell-command-loop): Use function
1384 `ispell-choices-win-default-height' instead of variable.
1386 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
1388 * window.el (mode-line-window-height-fudge): New variable.
1389 (height-affecting-face-attributes): New variable.
1390 (mode-line-window-height-fudge): New function.
1391 (shrink-window-if-larger-than-buffer): Use it.
1392 * help.el (resize-temp-buffer-window): Likewise.
1394 * info.el (Info-fontify-node): Add support for @subsubsection
1395 titles, which use `Info-title-4-face'.
1396 (Info-title-4-face): New face.
1397 (Info-title-3-face): Inherit from Info-title-4-face instead of
1400 2000-10-19 Jason Rumney <jasonr@gnu.org>
1402 * dired.el (dired-insert-directory): Do not let errors signalled by
1403 attempt to run dired-free-space-program prevent dired from working.
1405 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
1407 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1409 2000-10-19 Gerd Moellmann <gerd@gnu.org>
1411 * dirtrack.el (dirtrack): Fix call to run-hooks.
1413 * cmuscheme.el (cmuscheme-program-name): Renamed from
1414 scheme-program-name because xscheme.el contains a defcustom with
1415 the same name. As a consequence, customizing group `cmuscheme'
1416 loaded `xscheme' which redefined run-scheme.
1417 (run-scheme): Use cmuscheme-program-name.
1419 * ps-print.el (ps-print-emacs-type): Move into the
1422 * play/doctor.el (doctor-death): Update the Samaritans'
1423 anonymous address, and add a website for Befrienders International.
1425 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1427 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
1428 Avoid compilation gripes. Doc fix.
1429 (ps-print-version): New version number (6.2).
1430 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1431 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1432 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1433 (ps-x-extent-priority, ps-x-extent-start-position)
1434 (ps-x-face-font-instance, ps-x-find-coding-system)
1435 (ps-x-font-instance-properties, ps-x-make-color-instance)
1436 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1437 avoid compilation gripes without defining functions.
1438 (ps-e-find-composition): Alias for function find-composition, to have a
1439 suitable function depending on Emacs version.
1440 (ps-color-device, ps-color-values, ps-face-foreground-name)
1441 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1442 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1443 (ps-print-ensure-fontified): Function definitions surrounded by
1444 `eval-and-compile' to avoid compilation gripes.
1445 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1446 by symbol-value to avoid compilation gripes.
1447 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1448 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1450 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1452 * startup.el (normal-top-level): Call `frame-set-background-mode'
1453 after `frame-notice-user-settings' because the latter doesn't call
1454 the former on a tty.
1456 * faces.el (frame-set-background-mode): `unspecified' &c are
1457 symbols, not strings.
1459 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1461 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1462 why some "light*" colors are deliberately absent from the alist.
1464 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1465 Change colors for tty's, as suggested by Miles Bader.
1467 2000-10-19 Kenichi Handa <handa@etl.go.jp>
1469 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1470 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
1471 for ISO10646-1 fonts.
1472 (x-font-name-charset-alist): Add an entry for "iso10646-1".
1474 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1476 * faces.el (frame-set-background-mode): If a tty frame defines a
1477 background color, use that to compute the background mode, instead
1478 of always defaulting to "dark".
1480 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1482 * comint.el (comint-write-output): New function.
1483 (comint-mode-map): Add it to the menu.
1484 Bind `C-c C-s' to comint-write-output.
1486 2000-10-18 Gerd Moellmann <gerd@gnu.org>
1488 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1489 Use fancy-splash-delay.
1491 2000-10-18 Alex Schroeder <alex@gnu.org>
1493 * progmodes/sql.el (sql-sybase-options): New option.
1494 (sql-sybase): Use it. Add sql-database to the list of parameters
1495 provided for login. The options -w 2048 -n are not used any more.
1497 * comint.el (comint-read-input-ring): Bugfix such that the first
1498 and the last entry of the input ring file are not lost.
1500 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1502 * ps-print.el: Internal variable changes to defcustom,
1503 make-local-hook changes to defvar. Doc fix.
1504 (ps-print-version): New version number (6.1).
1505 (ps-setup, ps-do-despool): Code fix.
1506 (ps-printer-name): Customization fix.
1507 (ps-printer-name-option): Now is a defcustom instead of an
1509 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1510 (ps-print-begin-column-hook): Now are defvar instead of
1513 2000-10-18 Miles Bader <miles@gnu.org>
1515 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1516 (comint-kill-output): Changed into an alias for `comint-delete-output',
1518 (comint-mode-map): Rename references to comint-kill-output.
1520 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
1522 * diff-mode.el (diff-header-face, diff-file-header-face)
1523 (diff-changed-face): Add bold and italic attributes to tty faces.
1524 (diff-function-face): New face.
1525 (diff-font-lock-keywords): Use it.
1527 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
1529 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1530 Remove commented-out call to force-mode-line-update.
1531 (comint-kill-output): Use `forward-line 0' instead of
1532 beginning-of-line to make sure we get past the prompt.
1534 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
1536 * diff-mode.el (diff-header-face, diff-file-header-face):
1537 Add specific setting for dark background.
1538 (diff-context-face): Renamed from diff-comment-face.
1539 Set explicitly rather than inheriting from font-lock-comment-face.
1541 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1543 * startup.el (command-line): Move the code which sets the default
1544 TTY colors to before before-init-hook.
1546 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1548 * jit-lock.el (jit-lock-stealth-time): Doc fix.
1550 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1552 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1553 extensions, for MS-DOS.
1555 * diff-mode.el (diff-header-face, diff-file-header-face)
1556 (diff-changed-face): Define tty-specific colors.
1558 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1560 * startup.el (fancy-splash-text): Realign the text.
1562 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1564 * font-lock.el (font-lock-comment-face): Define a separate default
1565 for dark-background tty's.
1567 2000-10-17 Miles Bader <miles@gnu.org>
1569 * help.el (resize-temp-buffer-window): Add hack to avoid last line
1570 being obscured by whizzy mode-lines on graphics displays.
1572 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1574 * info.el (Info-title-1-face, Info-title-2-face)
1575 (Info-title-3-face): Define colors for tty's.
1576 (info-header-node): Remove unneeded tty-specific definition.
1578 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
1580 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1581 reverse from the frame parameters, and don't invert foreground and
1584 2000-10-16 Miles Bader <miles@gnu.org>
1586 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1587 string "*Info*". Call propertized-buffer-identification to spruce
1590 2000-10-16 Gerd Moellmann <gerd@gnu.org>
1592 * help.el: Provide `help' for the sake of define-minor-mode
1593 which generates defcustoms with requires.
1595 * jit-lock.el (jit-lock-after-change): If we're in text that
1596 matches a multi-line font-lock pattern, make sure the whole text
1597 will be redisplayed.
1599 * emacs-lisp/authors.el (authors-add): Don't add an entry if
1600 author's name is unknown.
1602 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1603 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1604 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1605 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1606 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1607 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1608 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1609 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1610 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1611 Add author information.
1613 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
1615 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1616 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1617 full-color version (using the Gimp) to eliminate dithering artifacts.
1619 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1621 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1623 * simple.el (syntax-flag-table, string-to-syntax): Remove.
1625 2000-10-15 Dave Love <fx@gnu.org>
1627 * progmodes/sh-script.el: Require skeleton and comint when
1630 * pcomplete.el (pcomplete) <defgroup>: Add :version.
1632 * whitespace.el: Doc fixes.
1633 (top-level): Don't add hooks here.
1634 (whitespace-running-emacs): Deleted.
1635 (timer): Don't require.
1636 (whitespace): Add back :version conditional on xemacs test.
1637 (whitespace-spacetab-regexp, whitespace-indent-regexp)
1638 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1639 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1640 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1641 Avoid specific xemacs test.
1642 (whitespace-global-mode): New option.
1643 (whitespace-global-mode): New command.
1644 (whitespace-unload-hook): New function.
1646 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1647 (Info-fontify-node, Info-goto-node, Info-mode-menu)
1648 (Info-fontify-node): `Goto' goes to `Go to'.
1649 (Info-fontify-node): Add help-echo to xref links.
1651 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
1653 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1655 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1657 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1658 Use plist-get and allow :inherit.
1660 * emacs-lisp/cl-macs.el (cl-do-arglist):
1661 Use plist-get and plist-member instead of memq.
1663 * emacs-lisp/ewoc.el (ewoc-location): New function.
1664 (ewoc-enter-after, ewoc-enter-before): Document return value.
1665 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1666 Don't need make-local-hook any more.
1667 (cvs-addto-collection): Return the new tin.
1668 (cvs-mode-insert): Jump to the new line.
1670 * jit-lock.el (jit-lock-fontify-buffer): Remove.
1672 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1674 * font-lock.el (font-lock-syntactically-fontified): New var.
1675 (font-lock-fontify-syntactic-keywords-region): Use it.
1676 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
1678 * diff-mode.el (diff-find-file-name): Fix regexp.
1680 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1681 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1683 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1684 (sh-mode-syntax-table): Add punctuation syntax for < and >.
1685 (sh-mode): Don't make all vars local here.
1687 (sh-set-shell): Use dolist. Don't set indent-region-function.
1688 (sh-mode-syntax-table): Use pop.
1689 (sh-remember-variable): Use push.
1690 (sh-help-string-for-variable): Use memq.
1691 (sh-safe-backward-sexp): Remove.
1692 (sh-safe-forward-sexp): Add ARG.
1693 (sh-get-indent-info, sh-prev-stmt): Use it.
1694 (sh-prev-line): Simplify by using forward-comment.
1695 (sh-this-is-a-continuation): Simplify.
1696 (sh-learn-buffer-indent): Use dolist.
1697 (sh-do-nothing): Remove.
1698 (sh-set-char-syntax, sh-set-here-doc-region):
1699 Use inhibit-modification-hooks.
1700 (sh-name-style): Use mapcar and push.
1701 (sh-load-style): Use dolist.
1702 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1703 (sh-case, sh-while-getopts): Use propertize directly rather
1704 than sh-electric-rparen.
1706 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
1708 * textmodes/tex-mode.el: Require CL when compiling.
1709 (tex-mode-syntax-table): Init immediately.
1710 (tex-mode-map): Bind M-RET to latex-insert-item.
1711 (latex-mode): Set indent-line-function to latex-indent.
1712 (tex-common-initialization): Don't setup the syntax-table any more.
1713 (latex-insert-item): New skeleton.
1714 (tex-next-unmatched-end): Fix copy/paste braino.
1715 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
1716 (latex-indent, latex-find-indent): New functions.
1717 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
1718 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
1719 (tex-compilation-parse-errors): Use with-syntax-table.
1721 2000-10-15 Miles Bader <miles@gnu.org>
1723 * font-lock.el (font-lock-comment-face): Change dark-background,
1724 color, non-tty, default to `chocolate1'.
1726 2000-10-13 John Wiegley <johnw@gnu.org>
1728 * eshell/esh-util.el (require): Added a missing `require' form,
1729 needed when compiling (for an ange-ftp macro definition).
1731 2000-10-13 Dave Love <fx@gnu.org>
1733 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
1735 2000-10-13 Gerd Moellmann <gerd@gnu.org>
1737 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
1740 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
1741 transparent -colors 8).
1743 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
1745 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
1746 that breaks with old list format timestamps.
1747 (time-stamp-warn-inactive, time-stamp-old-format-warn)
1748 (time-stamp-count, time-stamp-conversion-warn): Improved doc
1751 2000-10-13 John Wiegley <johnw@gnu.org>
1753 * align.el, pcomplete.el, calendar/timeclock.el,
1754 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
1756 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
1757 faulty math, where holiday hours were being computing as seconds.
1759 2000-10-13 John Wiegley <johnw@gnu.org>
1761 * desktop.el (desktop-buffer-modes-to-save): Added a global for
1762 specifying what "other" kinds of buffers should be saved. This
1763 used to be hard-coded.
1764 (desktop-buffer-misc-functions): A global for specifying how
1765 auxiliary data should be determined for special buffer types.
1766 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
1767 instead of hard-coding the special buffer types.
1768 (desktop-save): Run `desktop-buffer-misc-functions' to gather
1769 auxiliary data, instead of hard-coding for Info buffers and dired.
1770 (desktop-buffer-info-misc-data): Aux function for determining Info
1771 buffer auxiliary info.
1772 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
1773 (desktop-buffer-info): Changed this function to use the info
1775 (desktop-create-buffer): Be a little more careful about what
1776 `minor-mode' means before calling it. This is important for some
1779 2000-10-13 John Wiegley <johnw@gnu.org>
1781 * eshell/esh-util.el: Added a global form which declares an
1782 autoload for `parse-time-string', if that function is not already
1783 defined, and if parse-time.el is available on the user's system.
1785 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
1786 to be aware of ange-ftp user info.
1787 (eshell-do-ls): Bind `ange-cache'. Also, use
1788 `eshell-file-attributes'.
1789 (eshell-ls-annotate): Use `eshell-file-attributes'.
1790 (eshell-ls-file): Made the user-id printing code a bit smarter.
1792 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
1793 allow identification of alias user ids in remote directories.
1794 It's manual, but there's no other way to know when the current
1795 user on the local machine, is also the owning user on the remote
1797 (fboundp): Bind `ange-cache'.
1798 (eshell-directory-files-and-attributes): Re-organized the logic a
1799 bit to use `eshell-file-attributes' instead of `file-attributes'.
1800 The former is more sensitive to directories that are read via FTP,
1801 and knows how to use ange-ftp to determine full attribute
1802 information, instead of just the name and last modtime.
1803 (eshell-current-ange-uids): Return the current user id when in a
1805 (eshell-parse-ange-ls): Parse a full directory listing that has
1806 been returned by ange-ftp.
1807 (eshell-file-attributes): This beefed up version of
1808 `file-attributes' is only special if the user is currently in a
1809 remote directory, in which case it does a lot of work to find out
1810 what the real attributes of a file are, as they appear on the
1811 remote machine. This makes usage of remote directories (i.e.,
1812 ange-ftp pathnames) much more useful. You can now use Eshell as a
1813 full-fledged FTP client, with much more manipulation ability than
1816 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
1817 variable, which means that Eshell's du should always be preferred
1818 in remote directories.
1819 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
1820 just `file-attributes'.
1821 (eshell-mvcp-template): Bind `ange-cache', to improve performance
1822 when reading remote directories. This is an Eshell-specific
1823 variable (not part of ange-ftp).
1824 (eshell/ln): Bind `ange-cache'.
1825 (eshell/du): Added some extra logic for determining when to use
1826 Eshell's du (which is slow), and when to use the external version
1827 (which may or may not exist).
1829 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
1830 `eshell-interactive-process', rather than using
1831 `get-buffer-process', since backgrounded processes don't count in
1832 the context of this function's logic.
1834 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
1835 `forward-char', so that null strings are parsed correctly.
1837 2000-09-13 John Wiegley <johnw@gnu.org>
1839 * eshell/em-pred.el (eshell-pred-file-type,
1840 eshell-pred-file-links, eshell-pred-file-size): Use
1841 `eshell-file-attributes'. This is more correct over ange-ftp.
1843 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
1844 that remote file globbing is more efficient.
1846 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
1847 gathering the files and attributes within a directory.
1849 * eshell/em-unix.el (eshell/cat): If any of the files passed on
1850 the command line is a special file (not a regular file, directory
1851 or symlink), always attempt to call the external version of cat.
1853 2000-09-13 John Wiegley <johnw@gnu.org>
1855 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
1856 Eshell-friendly version of find-tag.
1858 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
1860 * image-file.el (image-file-name-extensions)
1861 (image-file-name-regexps): Add autoload cookies.
1863 2000-10-13 Kenichi Handa <handa@etl.go.jp>
1865 * international/mule-cmds.el (select-safe-coding-system): If FROM
1866 is string, show it in *Warning* buffer.
1868 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
1870 * startup.el (normal-top-level): Use display-popup-menus-p instead
1872 (command-line): Use display-graphic-p instead of window-system.
1873 (command-line-1): Use display-popup-menus-p and display-mouse-p
1874 instead of window-system.
1876 2000-10-12 Sam Steingold <sds@gnu.org>
1878 * tooltip.el (tooltip-use-echo-area): New user variable.
1879 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
1881 2000-10-12 Dave Love <fx@gnu.org>
1883 * recentf.el: Maintainer's checkdoc fixes.
1885 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
1886 character class, not ASCII when matching file names.
1887 (fancy-splash-head): Add trailing slash to URL.
1888 (command-line): Don't require XPM support for toolbar.
1890 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
1891 (cperl-invalid-face): Revert last change.
1892 (cperl-init-faces): Quote cperl-invalid-face.
1894 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1896 * startup.el (fancy-splash-text): Remove superfluous quote.
1898 2000-10-12 Gerd Moellmann <gerd@gnu.org>
1900 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
1901 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
1902 (command-line-1): Don't use fancy-splash-pending-command.
1903 (fancy-splash-screens-1): Goto point-min after inserting text.
1905 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
1907 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
1908 instead of shared-lisp-mode-map.
1910 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
1912 * faces.el (header-line): Change tty-variant to use underlining.
1914 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
1915 (isearch-highlight): Restore lazy-isearch face properties at old
1916 position, and suppress them at new position.
1917 (isearch-dehighlight): Restore lazy-isearch face properties.
1918 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
1919 over the real isearch overlay, but in that case, don't give it a
1920 face property. Use `push'.
1922 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1924 * man.el (Man-getpage-in-background): Fix previous change.
1925 Decode the process output only when we are in multibyte mode.
1927 2000-10-11 Dave Love <fx@gnu.org>
1929 * info.el (Info-mode-menu): Fix some help.
1930 (info-tool-bar-map): Add entry for Info-last.
1932 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
1933 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
1934 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
1935 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
1936 * toolbar/search-replace.xpm, toolbar/exit.xpm:
1937 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
1938 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
1939 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
1940 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
1941 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
1942 Reduce colour requirements to 25 overall. (Probably wants
1943 revisiting from the originals to reduce further.)
1945 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
1947 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
1948 buffer-file-coding-system, instead of raw-text.
1949 (dehexlify-buffer): Bind coding-system-for-read to
1950 buffer-file-coding-system, instead of raw-text.
1952 2000-10-11 Sam Steingold <sds@gnu.org>
1954 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
1955 `underline' - fixes the bug introduced on 2000-09-21.
1957 2000-10-11 Dave Love <fx@gnu.org>
1959 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
1961 (scheme-mode): Doc fix.
1962 (scheme-font-lock-keywords-1): Match `define-syntax'.
1964 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
1966 * faces.el (frame-set-background-mode): Pay attention to saved
1967 face specs as well as default ones. Only do anything if the
1968 bg-mode or display-type has actually changed. Use `dolist'.
1969 (region): Make dark-background `region' face less in-your-face.
1971 2000-10-10 Sam Steingold <sds@gnu.org>
1973 * chistory.el, ielm.el, ledit.el:
1974 * progmodes/inf-lisp.el, progmodes/scheme.el:
1975 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
1977 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
1979 * textmodes/texinfo.el: Update copyright and fix typo.
1981 * desktop.el (desktop-modes-not-to-save): New var.
1982 (desktop-save-buffer-p): Use it.
1983 Also, obey desktop-buffers-not-to-save even for non-file buffers.
1984 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
1986 2000-10-10 Dave Love <fx@gnu.org>
1988 * toolbar/tool-bar.el (tool-bar-add-item)
1989 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
1992 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
1993 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
1994 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
1995 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
1996 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
1997 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
1998 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
1999 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
2000 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
2001 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
2002 the .xpms; probably need retouching.
2004 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
2006 * subr.el (add-to-list): Add optional argument APPEND.
2007 * battery.el (display-battery): Use `add-to-list'.
2009 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
2011 * play/zone.el (zone-timer, zone-wc-tbl): Rework
2012 these vars as symbol properties.
2013 (zone, zone-when-idle, zone-leave-me-alone)
2014 (zone-pgm-whack-chars): Use new symbol properties.
2016 * battery.el (display-battery): Doc spelling fix.
2018 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
2021 2000-10-09 Dave Love <fx@gnu.org>
2023 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
2024 has been initialized before calling tool-bar-setup.
2025 (tool-bar-add-item-from-menu): Add autoload cookie.
2027 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
2029 * menu-bar.el (send-mail-item-name): New function.
2030 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
2031 of mail-user-agent in the menu. Don't display the "Send Mail"
2032 item if mail-user-agent is nil or its value is ignore.
2033 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
2034 if read-mail-command is nil or its value is ignore.
2036 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
2038 2000-10-09 Miles Bader <miles@gnu.org>
2040 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
2042 * toolbar/left_arrow.xpm: Correct image size.
2044 * jka-compr.el: Don't call `jka-compr-install' when loading (it
2045 will be done by the definition of `auto-compression-mode' if
2046 necessary. Move code to uninstall existing file-name handler
2047 before definition of `auto-compression-mode'.
2049 * image-file.el (auto-image-file-mode): Move to the end of the
2050 file, because `define-minor-mode' actually calls the mode-function
2051 if the associated variable is non-nil, which requires that all
2052 needed functions be already defined.
2054 * mouse.el (popup-menu): Balance parens.
2056 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
2058 * mouse.el (popup-menu): Move the command call outside the loop
2059 so that popup-menu returns whatever the command returns.
2061 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
2062 (initialize-new-tags-table): Use run-hook-with-args-until-success.
2063 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
2064 (tags-table-format-functions): Renamed from tags-table-format-hooks.
2066 * vc.el (vc-version-diff): diff-switches can be a list.
2067 Use relative filenames for prettier output.
2069 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
2070 (vc-post-command-functions): Remove old-VC compatibility code.
2072 * newcomment.el (comment-indent-default): Autoload.
2074 * font-lock.el (font-lock-defaults): Make buffer-local.
2075 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
2076 (font-lock-choose-keywords):
2077 Ignore LEVEL unless KEYWORDS is a list of syms.
2078 (c-keywords, c++-keywords, objc-keywords, java-keywords):
2079 Don't wrap regexp-opt things in \(...\) unnecessarily.
2081 * jit-lock.el: Don't require font-lock any more.
2082 (jit-lock-functions): Make buffer-local.
2083 (jit-lock-saved-fontify-buffer-function): Remove.
2084 (jit-lock-mode): Remove autoload cookie.
2085 Remove font-lock specific code.
2086 (jit-lock-unregister): Don't bother handling complex hooks any more.
2087 (jit-lock-refontify): New function.
2088 (jit-lock-fontify-buffer): Use it.
2089 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
2090 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
2091 Add optional args START and END.
2092 Never call font-lock-fontify-region directly.
2093 (jit-lock-function, jit-lock-stealth-fontify): Use it.
2095 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
2097 2000-10-08 Dave Love <fx@gnu.org>
2099 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
2101 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
2103 * play/studly.el (studlify-region, studlify-word): Add autoload
2106 * play/morse.el (morse-region, unmorse-region): Add autoload
2109 * play/spook.el (spook-phrases-file): Use expand-file-name, not
2112 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
2113 insist on symbols starting with word syntax.
2114 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
2115 (eval-defun-1): Doc fix.
2116 (indent-sexp): Use nconc to build up indent-stack.
2118 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
2119 Gnus with little use.
2120 (mail-setup-hook): Add mail-abbrevs-setup to options.
2122 * recentf.el: Doc fixes.
2124 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
2127 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
2128 without timezone and (8) with timezone to enforce some whitespace.
2129 Simplify code somewhat.
2131 * options.el (list-options): Doc that you should use customize.
2133 * iswitchb.el (iswitchb-mode): Add :require.
2135 * info.el (Info-goto-node, Info-menu): Doc fix.
2136 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
2137 (info-tool-bar-map): New variable.
2138 (Info-mode): Use it.
2139 (Info-edit-map): Define all in defvar.
2140 (speedbar-attached-frame): Avoid compiler warning.
2142 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
2143 (global-map): Bind [tool-bar] to a filtered map.
2144 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
2145 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
2147 (tool-bar-setup): Adjust calls of tool-bar-add-item.
2149 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
2150 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
2151 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
2152 icons, except up_arrow, which is left-arrow rotated.
2154 * imenu.el (imenu-add-to-menubar): Fix last change.
2156 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
2158 * generic-x.el (rul-generic-mode): Remove eval-when-compile
2159 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
2161 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2163 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
2164 typos in doc strings.
2166 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
2167 the doc strings how to customize Font Lock faces.
2169 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
2170 computing growth when dragging the header line.
2172 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2174 * simple.el (kill-line): Doc fix.
2176 2000-10-08 Miles Bader <miles@gnu.org>
2178 * faces.el (secondary-selection): Make foreground visible on tty.
2180 * jka-compr.el (auto-compression-mode): Move to the end of the
2181 file, because `define-minor-mode' actually calls the mode-function
2182 if the associated variable is non-nil, which requires that all
2183 needed functions be already defined.
2184 (with-auto-compression-mode): Add autoload cookie.
2186 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
2188 * files.el (find-backup-file-name) [ms-dos]: If support for long
2189 file names is not available, behave as if version-control were set
2192 2000-10-07 Dave Love <fx@gnu.org>
2194 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
2195 (browse-url-gnome-moz): New function.
2196 (browse-url-browser-function): Use it.
2197 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
2199 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
2201 * indent.el (tab-always-indent): New var.
2202 (indent-for-tab-command): Use it.
2204 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
2205 raise an error. This way it can still default to a sane value.
2207 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2209 * startup.el (fancy-splash-screens): Use local rather than global map.
2210 Don't use `update-menu-bindings' any more.
2211 Get rid of assumptions about keymap representation.
2213 2000-10-06 Dave Love <fx@gnu.org>
2215 * textmodes/fill.el (sentence-end-double-space)
2216 (sentence-end-without-period): Doc fix.
2217 (adaptive-fill-regexp): Purecopy.
2218 (unjustify-current-line): Use line-end-position.
2219 (fill-individual-paragraphs-prefix): Use line-beginning-position.
2221 * net/eudc-vars.el (eudc): Add :version, :link.
2223 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
2225 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
2226 Fix for define-minor-mode.
2227 (function-at-point): Alias to function-called-at-point.
2229 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
2231 * simple.el (backward-word): Doc fix.
2233 * image-file.el (image-file-name-regexp): image-file-regexps ->
2234 image-file-name-regexps.
2235 (image-file-name-extensions): Add pbm.
2237 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2239 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
2240 and add filename to the names so that diff-mode can jump to source.
2242 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
2243 (tex-font-lock-keywords, tex-font-lock-keywords-2)
2244 (tex-font-lock-keywords-1): Remove.
2245 (font-lock-turn-on-thing-lock): Use jit-lock-register.
2246 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
2247 (font-lock-default-fontify-region):
2248 Expand beg..end correctly when just following a multiline region.
2249 (font-lock-fontify-anchored-keywords):
2250 Include the anchor text as part of the multiline.
2252 2000-10-06 Gerd Moellmann <gerd@gnu.org>
2254 * loadup.el (toplevel): Load `loaddefs' before `help' because the
2255 latter needs the autoloaded define-minor-mode macro during the
2258 * startup.el (command-line): For now, activate tool-bar-mode only
2259 if XPM images are supported.
2261 * mouse.el (mouse-drag-header-line): Don't allow resizing a
2262 window by dragging a header-line at the top of the frame; that's
2263 confusing because the header-line doesn't move.
2264 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
2265 of treating the event as a list. Some cleanup.
2267 2000-10-06 Miles Bader <miles@gnu.org>
2269 * simple.el (display-message-or-buffer): New function.
2270 (shell-command-on-region): Use `display-message-or-buffer'.
2272 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
2275 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
2276 (smbclient-prompt-regexp): Add usage note to doc string.
2277 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
2278 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
2279 Use add-hook for adding the comint filter function, and only do so
2280 if it's not already in the global hook list.
2281 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
2282 to `make-local-variable'.
2283 (nslookup-font-lock-keywords): Remove prompt entry.
2284 (nslookup): Don't set the process-filter.
2285 (finger): Exit the loop correctly when the regexps list runs out.
2286 (ftp, smbclient, smbclient-list-shares):
2287 Set the real major mode immediately, not after execing.
2288 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
2290 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
2292 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
2294 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
2296 * which-func.el (which-func-format): Remove spurious space.
2297 (which-func-mode): Don't make it permanent-local.
2298 (which-func-ff-hook): Allow which-func-maxout to be nil.
2299 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
2300 (which-func-mode): Simplify.
2301 Use post-command-idle-hook rather than post-command-hook.
2302 Go through all buffers and update their state.
2303 (which-function): Also try add-log-current-defun-function.
2305 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
2306 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
2307 Update call to with-vc-properties accordingly.
2308 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
2309 (vc-revert-buffer): More careful about window selection and deletion.
2310 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
2312 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
2313 (cvs-retrieve-revision): Reuse a pre-existing buffer.
2314 (cvs-dired-action): Change the default to quickdir.
2316 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
2317 if comment-indent-function returns nil.
2318 (comment-indent-default): New function.
2319 (comment-indent-function): Use it and document the new semantics.
2321 * image-file.el: Docstring fixes.
2323 * help.el (help-xref-on-pp): Use match-string.
2324 (describe-variable): New arg BUFFER.
2325 Store the current buffer in the help-xref-stack.
2326 (temp-buffer-resize-mode): Use define-minor-mode.
2328 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
2329 consistently with its docstring.
2330 Set jit-lock-first-unfontify-pos in an idempotent way.
2331 (jit-lock-register): Autoload and add arg CONTEXTUAL.
2333 2000-10-05 Alex Schroeder <alex@gnu.org>
2335 * sql.el (sql-mysql-options): New variable.
2336 (sql-mysql): Use it.
2338 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
2340 * image.el (image): New group.
2342 * smerge-mode.el (smerge-mine-face, smerge-other-face)
2343 (smerge-base-face, smerge-markers-face): Add dark-background variants.
2345 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2347 * net/net-utils.el (nslookup-font-lock-keywords)
2348 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2349 Ignore the value of wqindow-system; always define keywords
2351 2000-10-05 Kenichi Handa <handa@etl.go.jp>
2353 * startup.el (fancy-splash-screens): Remove the code for
2354 debugging; `(trace-to-stderr "EXITTT\n")'.
2356 2000-10-05 Miles Bader <miles@gnu.org>
2358 * diff-mode.el (diff-goto-source): Update call to
2359 `diff-hunk-status-msg' to reflect new REV variable.
2361 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
2363 * progmodes/icon.el (icon-mode):
2364 Don't gratuitously override the default for comment-column.
2366 * vc-hooks.el (vc-mode-line): Fix interactive spec.
2368 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2369 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2370 (jit-lock-functions): New var.
2371 (jit-lock-function-1): Use it if non-nil.
2372 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
2373 Set the `fontified' property before doing the fontification to avoid
2374 repeatedly going through the same error.
2375 Don't turn errors into messages.
2376 (jit-lock-register, jit-lock-unregister): New functions.
2378 * dired.el (dired-mark-pop-up): Turn comment into docstring.
2379 Use with-current-buffer.
2381 * dired-aux.el (dired-do-create-files, dired-kill-tree):
2382 Turn comment into docstring.
2384 * apropos.el (apropos-mode): Use define-derived-mode.
2386 2000-10-04 Gerd Moellmann <gerd@gnu.org>
2388 * startup.el (fancy-splash-pending-command): New variable.
2389 (fancy-splash-pre-command): New function.
2390 (fancy-splash-screens): Rewritten.
2391 (command-line-1): If fancy-splash-pending-command is set, call it
2394 2000-10-04 Dave Love <fx@gnu.org>
2396 * toolbar/tool-bar.el (tool-bar-setup): New function.
2397 (tool-bar-mode): Use it.
2399 * subr.el (substitute-key-definition): Doc fix.
2400 (play-sound-file): New command.
2402 2000-10-04 Andre Spiegel <spiegel@gnu.org>
2404 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2405 vc-version-backup-file-name): New functions.
2407 * files.el (basic-save-buffer): Call vc-before-save before saving.
2409 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2410 vc-cvs-stay-local-p.
2412 * vc.el (vc-revert-buffer): Handle empty diff properly.
2413 (vc-version-backup-file): New function.
2414 (vc-checkout): Create a version backup if necessary.
2415 (vc-checkin): If a version backup file exists, delete it.
2416 (vc-version-diff): Diff locally using version backups, if available.
2417 (vc-revert-file): If there's a version backup, revert locally.
2418 (vc-transfer-file): Use version backup for base version, if
2419 available. If not, ask for confirmation whether to get it from the
2420 server. Update mode line before check-in.
2422 2000-10-04 Dave Love <fx@gnu.org>
2424 * toolbar/tool-bar.el (tool-bar-setup): New function.
2425 (tool-bar-mode): Use it.
2427 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2429 * net/net-utils.el (nslookup-font-lock-keywords)
2430 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2431 Only set if window-system is non-nil
2432 (net-utils-run-program): Returns buffer.
2433 (network-connection-reconnect): Added this function.
2436 Incorporates extensive cleanup and docfixes by
2437 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2438 Uses cl compile-time macros.
2439 (generic-mode-name, generic-comment-list)
2440 (generic-keywords-list, generic-font-lock-expressions)
2441 (generic-mode-function-list, generic-mode-syntax-table):
2443 (generic-mode-alist): Renamed to generic-mode-list.
2444 (generic-find-file-regexp): Default changed to "^#".
2445 (generic-read-type): Uses completing read on generic-mode-list.
2446 (generic-mode-sanity-check): removed this function.
2447 (generic-add-to-auto-mode): Removed this function
2448 (generic-mode-internal): Bind mode-specific definitions
2449 into function instead of putting them in alist.
2450 (generic-mode-set-comments): Reworked extensively.
2451 (generic-mode-find-file-hook): Simplified regexp searching
2452 (generic-make-keywords-list): Omit extra pair of parens
2454 * find-lisp.el (find-lisp-find-files-internal):
2455 Make sure directory name ends with "/".
2457 * generic-x.el (apache-conf-generic-mode):
2458 Regexp now allows leading whitespace.
2459 (rc-generic-mode): Added eval-when-compile
2460 around generic-make-keywords-list.
2461 Deleted duplicate regexp
2462 (rul-generic-mode): Added eval-when-compile
2463 around generic-make-keywords-list.
2464 (etc-fstab-generic-mode): New generic mode.
2465 (rul-generic-mode): Removed one eval-when-compile
2466 which caused a max-specpdl-size exceeded error.
2468 2000-10-04 Miles Bader <miles@gnu.org>
2470 * simple.el (minibuffer-temporary-goal-position): New variable.
2471 (next-history-element): Try to keep the position of point in the
2472 input string constant.
2474 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2475 (dired-do-create-files): If there's only one file, pass it in as
2476 the DEFAULT arg to dired-mark-read-file-name.
2478 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
2480 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2481 (diff-goto-source): Be smarter when choosing REVERSE or not.
2483 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2484 (texinfo-mode-menu): Add an explicit shortcut for update all.
2486 2000-10-03 Andre Spiegel <spiegel@gnu.org>
2488 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2489 factorize backend-specific code cleanly (this was essentially
2490 conceived by Stefan Monnier).
2491 (vc-unregister): Function removed.
2492 (vc-revert-file): New function.
2493 (vc-revert-buffer): Delegate some of the work to it.
2495 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2496 default branch unconditionally.
2497 (vc-rcs-set-default-branch): New function.
2498 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2499 (vc-rcs-checkin): If an appropriate default branch has been set,
2500 force creation of that branch.
2501 (vc-rcs-receive-file): Rewritten to contain only backend-specific
2502 code (as suggested by Stefan Monnier).
2504 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2506 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2507 highlighting overlay with a different face over the overlay
2508 isearch uses to highlight the current match because that can lead
2509 to bad face combinations.
2511 * loadup.el (toplevel): Load faces before isearch.
2513 * isearch.el (isearch-faces): New custom group.
2514 (isearch): New defface; was already tested for in the code.
2515 (isearch-lazy-highlight-face): Changed to defface from defcustom.
2516 (isearch-highlight): Always use face `isearch'.
2518 2000-10-02 Dave Love <fx@gnu.org>
2520 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2521 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
2522 comparison of opcode with operand.
2524 2000-10-03 Miles Bader <miles@gnu.org>
2526 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2527 buffer, since the echo area will now grow to accommodate them.
2529 2000-10-02 Andre Spiegel <spiegel@gnu.org>
2531 * vc-hooks.el (vc-registered): If FILE used to be registered under
2532 a certain backend, try that one first.
2534 * vc.el (vc-responsible-backend): Undo the previous change in the
2535 argument list. Handle multiple backends correctly.
2536 (vc-find-new-backend): Function removed.
2537 (vc-register): Use vc-responsible-backend, as before.
2538 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2540 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2542 * startup.el (fancy-splash-head): Change message below the
2545 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
2547 * diff-mode.el (diff-goto-source): Emit a status message.
2548 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2549 (diff-test-hunk): Fix doc string.
2550 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2551 (diff-advance-after-apply-hunk): New variable.
2552 (diff-apply-hunk): Don't return a value.
2554 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
2556 * vc.el (vc-editable-p): Minor optimization.
2557 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2558 (vc-find-new-backend): New function split from vc-responsible-backend.
2559 (vc-register): Use it.
2560 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2561 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2562 (vc-default-unregister, vc-revert-buffer): Docstring fix.
2563 (vc-clear-headers): Don't use find-file.
2564 (vc-revert-buffer): Use `and' again (must have been a braino).
2565 (vc-switch-backend): Only prompt if requested.
2566 Short circuit if nothing is to be done.
2567 Don't use vc-resynch-buffer which could lose unsaved editing.
2568 (vc-default-receive-file): Update call to vc-unregister.
2569 (with-vc-file, vc-next-action-on-file):
2570 Use vc-backend rather than vc-registered.
2571 (vc-next-action-on-file): Use intern-soft.
2572 Deal with read-only *vc-diff* buffer.
2573 (vc-transfer-file): Docstring fix.
2575 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2576 (vc-rcs-receive-file): Avoid with-vc-properties.
2577 Update call to vc-unregister.
2578 Use constant `RCS' rather than (dynamically bound) var `backend'.
2580 2000-10-01 Andre Spiegel <spiegel@gnu.org>
2582 * vc.el (vc-next-action-on-file): Update mode line only if file
2584 (vc-start-entry): New argument initial-contents. Don't visit the file
2585 if it isn't already visited. Brought documentation up-to-date.
2586 (vc-next-action, vc-register): Updated calls to vc-start-entry.
2587 (vc-checkin): New optional arg initial-contents, which is passed to
2589 (vc-finish-logentry): Make sure to bury log buffer only if there
2590 really is one. Call `vc-resynch-buffer' on log-file, not
2592 (vc-default-comment-history, vc-default-wash-log): New functions.
2593 (vc-index-of): Removed.
2594 (vc-transfer-file): Make do without the above.
2595 (vc-default-receive-file): Call comment-history unconditionally. Pass
2596 the resulting string to vc-checkin, instead of inserting it into the
2599 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2600 unconditionally. Use the comments as initial contents of the log
2601 entry buffer. Document the trick to force branch creation with no
2604 2000-10-01 Miles Bader <miles@gnu.org>
2606 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2607 `recenter' with an arg to prevent redrawing the display.
2609 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
2611 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2613 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2615 * progmodes/c-mode.el (c-mode):
2616 Don't gratuitously override the default for comment-column.
2618 * textmodes/tex-mode.el (latex-metasection-list): New var.
2619 (latex-imenu-create-index): Use it.
2620 Move the regexp construction outside loops (and use push).
2621 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2622 (tex-font-lock-keywords): Moved from font-lock.el.
2623 (tex-comment-indent): Remove.
2624 (tex-common-initialization): Don't set comment-indent-function.
2625 (latex-block-default): New var.
2626 (tex-latex-block): Use it to provide a default choice.
2627 Add any unknown choice to latex-block-names.
2628 Insert [...] after {...}.
2629 (tex-last-unended-begin): Simplify regexp.
2630 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2631 (latex-forward-sexp-1, latex-forward-sexp): New functions.
2632 (latex-mode): Set forward-sexp-function.
2634 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2635 Add regexp for @ignore ... @end ignore.
2636 (texinfo-heading-face): New face.
2637 (texinfo-font-lock-keywords): Use it.
2638 (texinfo-mode-menu): New menu.
2639 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2641 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2642 (texinfo-section-types-regexp, texinfo-section-level-regexp)
2643 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2645 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2647 * delsel.el (delete-selection-mode): Use define-minor-mode.
2649 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2651 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2653 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2655 2000-09-30 Gerd Moellmann <gerd@gnu.org>
2657 * replace.el (keep-lines-read-args): New function.
2658 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2659 read arguments interactively. Add parameters RSTART and REND.
2660 Operate on the active region in Transient Mark mode.
2662 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2664 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2665 (authors-obsolete-files-regexps): New variable.
2666 (authors-add): Don't record changes in obsolete files.
2668 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2670 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2672 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2673 (comment-indent): Make sure there's a space between code and comment.
2674 Shift comments left to avoid going past fill-column.
2676 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2678 * startup.el (startup-echo-area-message): New function.
2679 (display-startup-echo-area-message): Use it.
2680 (fancy-splash-screens): Rewritten to use keymaps and a timer.
2681 (fancy-splash-default-action): New function.
2682 (fancy-splash-screens-1): New function.
2683 (fancy-splash-head): Put a help-echo and a keymap under the image.
2685 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2687 * diff-mode.el (diff-add-log-file-name): Remove.
2688 (diff-mode): Use add-log-buffer-file-name-function.
2690 * add-log.el (find-change-log): New arg BUFFER-FILE.
2691 (add-log-file-name): Obey add-log-file-name-function.
2692 (add-log-buffer-file-name-function): New var.
2693 (add-change-log-entry): Use it.
2695 2000-09-29 Miles Bader <miles@gnu.org>
2697 * image-file.el (image-file-name-extensions): New variable.
2698 (image-file-name-regexps): Renamed from `image-file-regexps'.
2699 New default value is nil. Call `auto-image-file-mode'.
2700 (image-file-name-regexp): New function.
2701 (auto-image-file-mode): New minor mode.
2702 (insert-image-file): Don't make conditional on the image-file
2703 handler being enabled.
2704 (image-file-handler): Make the call here conditional instead.
2705 (set-image-file-handler-enabled, enable-image-file-handler)
2706 (disable-image-file-handler): Functions removed.
2708 * emacs-lisp/authors.el (authors-print): Rephrase many-files
2711 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2713 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2714 it's a function from CL.
2715 (latex-imenu-create-index): Replace eval-when-compile with progn
2716 because latex-section-alist is not bound while compiling.
2718 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2720 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
2721 (outline-mode): Use define-derived-mode.
2723 * progmodes/perl-mode.el (perl-mode):
2724 * progmodes/awk-mode.el (awk-mode):
2725 * progmodes/asm-mode.el (asm-mode):
2726 Don't gratuitously override the default for comment-column.
2728 * emacs-lisp/lisp.el (lisp-complete-symbol):
2729 Distinguish the let-binding case from the funcall case.
2730 (forward-sexp-function): New variable.
2731 (forward-sexp): Use it.
2733 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
2734 (easy-mmode-defmap): Remove the now useless autoload.
2736 * time.el (display-time-mode): Use define-minor-mode.
2738 * subr.el (add-minor-mode): Don't eval NAME.
2739 Don't depend on the presence of TOGGLE-FUN for any special behavior.
2740 Use if rather than cond.
2742 * simple.el (read-expression-map): Define more properly.
2743 (comment-indent-hook): Remove.
2744 (string-to-syntax): Bug fix.
2746 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
2747 (cvs-ediff-diff): Fix typo.
2748 (cvs-revert-if-needed): Don't bother preserving read-only.
2750 * paren.el (show-paren-mode): Use define-minor-mode.
2752 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
2753 (toggle-auto-compression): Remove.
2754 (jka-compr-build-file-regexp): Remove useless grouping.
2756 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
2757 Avoid user-reserved bindings.
2758 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
2759 (diff-header-face): Revert to grey85.
2761 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
2763 * complete.el (partial-completion-mode) <defcustom>: Remove.
2764 (partial-completion-mode): Use define-minor-mode.
2765 (PC-do-completion): Understand `completion-auto-help = delay'
2766 to mean to popup the completion buffer only the second time.
2767 (PC-include-file-all-completions, PC-include-file-all-completions)
2768 (PC-include-file-all-completions): Don't quote lambda.
2770 * comint.el (comint-mode-hook): Docstring fix.
2771 (comint-mode): Use define-derived-mode.
2772 (comint-mode-map): Remove obsolete comment.
2773 (make-comint): Minor stylistic change.
2774 (comint-insert-clicked-input): Be more careful to find the overlay.
2775 Use this-command-keys rather than hardcoding mouse-2.
2777 * font-lock.el: Replace confusing (,@ with ,
2778 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
2779 Don't use regexp-opt-depth. Spice up the regexp for args.
2780 Don't distinguish between cmds that can take an opt arg or not.
2781 Use `append' and `prepend' rather than `keep'.
2783 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
2784 (latex-outline-regexp): New var.
2785 (latex-outline-level): New fun.
2786 (latex-section-alist): New var.
2787 (latex-imenu-create-index): Use it. Use `push' as well.
2788 (tex-shell-map): Initialize it properly.
2789 (tex-mode): Minor stylistic change.
2790 (plain-tex-mode): Use define-derived-mode.
2791 (latex-mode): Use define-derived-mode.
2792 Construct the paragraph regexps in a more readable way.
2793 Set the buffer-local outline-{level,regexp} vars.
2794 (slitex-mode): Derive from latex-mode.
2795 (tex-common-initialization): Don't kill-all-vars anymore.
2796 Add setting for comment-add and font-lock-defaults.
2797 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
2798 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
2799 (tex-start-tex): New arg DIR (and send a chdir command for it).
2800 Also display the shell buffer and save it in tex-last-buffer-texed.
2801 (tex-region): Use expand-file-name rather than concat.
2802 Remove code made useless by changes in tex-start-tex.
2803 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
2805 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
2807 2000-09-28 Dave Love <fx@gnu.org>
2809 * eshell/eshell.el (eshell) <defgroup>: Add :version.
2811 2000-09-28 Gerd Moellmann <gerd@gnu.org>
2813 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
2816 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2818 * info.el (Info-extract-pointer): Undo last change.
2819 Instead, fix the position of the `bound' arg to re-search-backward.
2821 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
2823 * info.el (Info-extract-pointer):
2824 Widen more carefully, to avoid finding pointers in other nodes.
2825 (Info-index): Use push.
2827 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2829 * frame.el (set-frame-font): Remove call to obsolete function
2831 (set-foreground-color, set-background-color): Likewise for
2832 frame-update-face-colors.
2834 2000-09-27 Miles Bader <miles@gnu.org>
2836 * image-file.el: New file.
2838 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2840 * frame.el (frame-notice-user-settings): Don't call
2841 frame-update-faces, which is a no-op now.
2843 * ediff-wind.el (ediff-control-frame-parameters): Add zero
2846 2000-09-27 Dave Love <fx@gnu.org>
2848 * mouse.el: Fix last change.
2850 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
2852 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
2854 2000-09-22 Kenichi Handa <handa@etl.go.jp>
2856 * international/quail.el (quail-help): The output message is
2859 2000-09-26 Dave Love <fx@gnu.org>
2861 * mouse.el (popup-menu): If POSITION is nil, set it using
2864 2000-09-25 Sam Steingold <sds@gnu.org>
2866 * net/browse-url.el (browse-url-file-url): Check for null maps.
2868 2000-09-26 Gerd Moellmann <gerd@gnu.org>
2870 * frame.el (frame-notice-user-settings): Don't add a
2871 tool-bar-lines frame parameter to default-frame-alist in batch mode.
2873 * frame.el (frame-notice-user-settings):
2874 Make tool-bar-mode and default-frame-alist consistent.
2876 * toolbar/tool-bar.el (tool-bar-help): New function.
2878 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2880 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
2881 current-load-list in top-level forms. Else this leaks a cons cell
2882 every time a defun is called.
2884 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
2886 2000-09-25 Dave Love <fx@gnu.org>
2888 * startup.el (fancy-splash-head): Check XPM is available.
2890 * autoinsert.el (auto-insert): Doc fix.
2891 (auto-insert-alist): Following GNU notices, don't say `copyright
2892 _by_'. Use line-beginning-position.
2893 (auto-insert): Check buffer-file-name is non-nil before use.
2895 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2897 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
2898 starting with `@def' or `@multitable', in addition to ones
2899 specified by the user in auto-fill-inhibit-regexp.
2901 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
2903 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
2904 rmail-dont-reply-to-names matches the empty string.
2906 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2908 * startup.el (command-line-1, fancy-splash-text): Change the
2909 text to sound more friendly.
2911 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
2913 * progmodes/hideshow.el: Update author email address.
2914 Generally, sync w/ maintainer version 5.22.
2915 (hs-hide-all-non-comment-function): New var.
2916 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
2917 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
2918 (hs-show-region): Delete this command.
2919 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
2921 2000-09-22 Dave Love <fx@gnu.org>
2923 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
2924 (hl-line-highlight): Specify buffer when moving overlay.
2926 * progmodes/fortran.el (fortran-mode): Locally set
2927 normal-auto-fill-function.
2928 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
2929 (fortran-mode-map): Adjust auto-fill menu entry.
2931 2000-09-22 Gerd Moellmann <gerd@gnu.org>
2933 * vc-rcs.el (toplevel): Require `vc' when compiling.
2935 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
2937 2000-09-22 Andre Spiegel <spiegel@gnu.org>
2939 * vc.el (vc-switch-backend): Signal an error if the file is not
2940 registered under the new backend.
2942 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
2943 without explicit revision number.
2945 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
2947 * diff-mode.el (diff-file-header-face): Reset to its previous value.
2948 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
2949 (diff-xor): New function.
2950 (diff-find-source-location): Use it. Fix a stupid name clash.
2951 (diff-hunk-status-msg): New function.
2952 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
2953 (diff-test-hunk): Use diff-find-source-location.
2954 (diff-goto-source): Favor the `reverse'.
2955 (diff-hunk-text): Properly handle one-sided context diffs.
2956 (diff-apply-hunk): When done, advance to the next hunk.
2958 2000-09-21 Gerd Moellmann <gerd@gnu.org>
2960 * startup.el (command-line): If frame was created with a non-zero
2961 tool-bar-lines parameter, switch tool-bar-mode on.
2963 * add-log.el (change-log-date-face, change-log-name-face)
2964 (change-log-email-face, change-log-file-face)
2965 (change-log-list-face, change-log-conditionals-face)
2966 (change-log-function-face, change-log-acknowledgement-face):
2967 New faces, inheriting from font-lock faces.
2968 (change-log-font-lock-keywords): Use them.
2970 2000-09-21 Dave Love <fx@gnu.org>
2972 * progmodes/cperl-mode.el (top-level): Clean up
2973 `eval-when-compile's and assorted defvars.
2974 (cperl-invalid-face): Don't double-quote value. Change custom
2976 (cperl-mode): Set normal-auto-fill-function and don't zap
2978 (cperl-imenu--function-name-regexp-perl): Renamed from
2979 imenu-example--function-name-regexp-perl.
2980 (cperl-imenu--create-perl-index): Renamed from
2981 imenu-example--create-perl-index.
2982 (cperl-xsub-scan): Don't require cl.
2984 * msb.el (msb-mode-map): Use substitute-key-definition.
2985 (msb-mode): Use msb-mode-map.
2987 2000-09-21 Andre Spiegel <spiegel@gnu.org>
2989 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
2991 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
2992 (vc-switch-backend): New function.
2993 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
2994 (vc-register): Fix prompt.
2995 (vc-unregister, vc-default-unregister): New functions.
2996 (vc-version-diff): Handle empty buffer in sentinel.
2998 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
2999 (vc-rcs-state-heuristic): Use it to guess the state of files with
3001 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
3002 been set with -b, but not created yet.
3003 (vc-rcs-fetch-master-state): With non-strict locking, compare file
3004 contents in order to find the state.
3005 (vc-rcs-checkin): Allow creation of branches with no changes.
3006 (vc-rcs-unregister, vc-rcs-receive-file)
3007 (vc-rcs-set-non-strict-locking): New functions.
3009 * vc-hooks.el (vc-name): Force correct computation of the value
3010 in case it is missing.
3012 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3014 * startup.el (fancy-splash-tail): Use a different foreground
3015 color on a dark frame background.
3017 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
3019 * info.el: Use the correct capitalization when making Info-mode
3020 and Info-edit-mode `special' modes.
3022 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
3024 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
3025 (diff-mode): Add support for add-log.el.
3026 (diff-hunk-text): Use char offsets rather than line offsets.
3027 (diff-find-source-location): Replace LINE with line-offset (nil
3028 if not found) and always set POS to a meaningful position.
3029 Adapt to the new char-offsets.
3030 (diff-apply-hunk): Drop support for the unused `select' POPUP.
3031 Adapt to the new diff-find-source-location.
3032 (diff-goto-source): Adapt to the new diff-find-source-location.
3034 * add-log.el (add-log-file-name): New function (split out of
3035 add-change-log-entry).
3036 (add-change-log-entry): Use it.
3037 Call add-log-file-name-function with the changelog file name if
3038 the current buffer is not associated with any file.
3039 Avoid find-file if the selected window is dedicated.
3041 * diff-mode.el (diff-find-source-location):
3042 Move code from diff-apply-hunk. Return buffer rather than file.
3043 (diff-apply-hunk): Use the new result from diff-find-source-location.
3044 (diff-goto-source): Use the new diff-find-source-location.
3046 2000-09-20 Dave Love <fx@gnu.org>
3048 * iswitchb.el: Some doc fixes.
3049 (iswitchb-mode-map): Define completely initially. Inherit
3050 minibuffer-local-map.
3051 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
3053 (iswitchb-global-map): New variable.
3054 (iswitchb-summaries-to-end): Amalgamate regexps.
3055 (iswitchb-mode): New.
3056 (iswitchb-mode-hook): New variable.
3057 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
3060 2000-09-20 Gerd Moellmann <gerd@gnu.org>
3062 * ehelp.el (electric-help): New defgroup.
3063 (electric-help-shrink-window): New user-option.
3064 (with-electric-help): Use it.
3066 * window.el (shrink-window-if-larger-than-buffer): If face
3067 `mode-line' has a :box, and we're on a graphical frame, add 1
3068 to the needed window height.
3070 * frame.el (frame-notice-user-settings): Add a last parameter nil
3071 to a call to `append', because the last list passed to `append' is
3072 not copied, and so subsequent calls to assq-delete-all will modify
3073 default-frame-alist.
3075 * startup.el (fancy-splash-image): Change :type.
3076 (fancy-splash-head): Use an XBM image if appropriate.
3077 (command-line-1): Show splash screens in more cases.
3079 * startup.el (fancy-splash-text): Don't quote faces.
3081 * dired.el (dired-font-lock-keywords): Undo last change.
3082 (dired-readin): Bind indent-tabs-mode to nil.
3084 * startup.el (fancy-splash-head): If frame's background mode
3085 is `dark', change the black background of the image to gray.
3086 (fancy-splash-screens): Display startup echo area message.
3087 (display-startup-echo-area-message): New function.
3089 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
3091 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
3093 * info.el (info-header-node): Tweak for color ttys.
3095 * faces.el (face-valid-attribute-values): Make sure directories we
3096 search for stipples both exist and are readable before trying to
3099 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
3100 in the dry-run case.
3102 * jka-compr.el (with-auto-compression-mode): New macro.
3104 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
3105 (custom-group-tag-face, custom-variable-tag-face): Use relative
3106 :height and inherit from `variable-pitch' face instead of
3108 * hi-lock.el (hi-black-hb): Likewise.
3110 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
3111 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
3112 toolbar-add-item, if image doesn't have a mask add a `:mask
3115 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
3117 * diff-mode.el: Docstring fixes.
3118 (diff-header-face, diff-comment-face): New faces.
3119 (diff-font-lock-keywords): Highlight a bit differently.
3120 (diff-find-source-location): Don't return SPAN any more.
3121 (diff-hunk-text): Don't bother erasing the temp buffer.
3122 (diff-find-text): Drop argument LINE.
3123 (diff-apply-hunk): Update calls to diff-find-text.
3124 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
3126 * calendar/calendar.el: Docstring fixes.
3127 (calendar-make-alist): Don't quote lambda.
3128 (calendar-star-date): Use make-local-variable.
3130 2000-09-19 Dave Love <fx@gnu.org>
3132 * toolbar/tool-bar.el: Renamed from toolbar.el.
3133 Change `toolbar' to `tool-bar' generally in symbols.
3134 Make some items invisible in `special' major modes.
3135 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
3138 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
3140 (fancy-splash-delay, fancy-splash-image): Remove :version here.
3142 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3144 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
3146 * files.el (find-file-suppress-same-file-warnings): New user-option.
3147 (find-file-noselect): Use it.
3149 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
3150 (fancy-splash-screen): Defgroup.
3152 * add-log.el (change-log-font-lock-keywords): Match names
3153 more exactly for the case that font-lock-constant-face is
3156 2000-09-19 Richard M. Stallman <rms@gnu.org>
3158 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
3160 2000-09-19 Andre Spiegel <spiegel@gnu.org>
3162 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
3164 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3166 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
3167 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
3168 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
3169 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
3170 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
3171 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
3172 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
3173 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
3174 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
3175 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
3176 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
3177 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
3179 * startup.el (fancy-splash-text): New variable.
3180 (fancy-splash-delay, fancy-splash-image): New user-options.
3181 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
3182 (fancy-splash-screens): New functions.
3183 (command-line-1): If display has a `display' frame parameter, has
3184 colors, and we have XPM support, show more fancy splash screens.
3186 2000-09-19 Dave Love <fx@gnu.org>
3188 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
3189 with null `help'. Use modern backquote syntax.
3191 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3193 * font-lock.el (font-lock-mode): Change message telling the user
3194 that ``the buffer is too big''.
3196 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
3197 for instance for the case that tab-width is 2.
3199 2000-09-18 Gerd Moellmann <gerd@gnu.org>
3201 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
3202 toolbar-add-item, if image doesn't have a mask add a `:mask
3205 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
3207 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
3208 and return a cons if it's non-nil.
3209 (diff-apply-hunk): Try to jump to the line in the source text
3210 corresponding to the position of point in the in the hunk.
3212 * info.el (Info-title-3-face, Info-title-2-face)
3213 (Info-title-1-face): Use face inheritance and relative sizes
3214 instead of hard-wiring things.
3216 * faces.el (secondary-selection): Make dark-background variant sane.
3218 2000-09-16 Andrew Innes <andrewi@gnu.org>
3220 * makefile.w32-in (compile-files-CMD): No need to make .elc files
3221 read-only, since they aren't under VC now.
3223 2000-09-17 Dave Love <fx@gnu.org>
3225 * tmm.el: Replace mapcar with mapc in several places.
3227 * loadhist.el (unload-feature): Maybe call elp-restore-list and
3230 * international/latin1-disp.el: New file.
3232 * calendar/cal-move.el (scroll-calendar-left)
3233 (scroll-calendar-right): Make arg optional (for active mode line).
3235 * calendar/calendar.el (calendar-mode-line-format): Make fields
3237 (calendar-read-date, calendar-read-date, calendar-window-list):
3239 (calendar-month-name): Use aref, not sref.
3241 * view.el (minor-mode-alist): Propertize the string.
3243 * international/characters.el (standard-case-table): Add entries
3246 2000-09-18 Miles Bader <miles@gnu.org>
3248 * info.el (info-node, info-xref): Add dark-background variants.
3250 * faces.el (header-line): Change defaults to be less confusing
3251 when mixed with mode-lines.
3253 * info.el (Info-fontify-node): Make a few cleanups.
3254 Add extra `help-echo' and `local-map' props to node xrefs.
3255 Use header-specific faces for node-names & xrefs.
3256 (Info-use-header-line): New variable.
3257 (info-header-xref, info-header-node): New faces.
3258 (Info-setup-header-line): New function.
3259 (Info-select-node): Call Info-setup-header-line when enabled.
3260 (Info-extract-pointer): Work even if the header line is hidden.
3261 (Info-header-line): New variable.
3263 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
3265 * vms-patch.el (print-region-function): Don't quote lambda.
3267 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
3269 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
3270 (lm-get-header-re): Allow spaces between the header and the colon.
3271 (lm-header): Allow $ in non-RCS headers.
3272 (lm-header-multiline): Put the strings back into order.
3273 Stop at an empty line. Don't require two space chars if the
3274 line is clearly not another header line.
3276 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
3277 (popup-menu-popup): Remove.
3279 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3281 * toolbar/toolbar.el (toolbar-add-item): Use the same image
3282 specification if or if not tool-bar item contains an `:enabled'
3285 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
3286 current buffer has no file name.
3288 2000-09-15 Dave Love <fx@gnu.org>
3290 * strokes.el: Sync with maintainer's current version with changes
3291 for Emacs, but avoid runtime cl and levents.
3292 (toplevel): Change autoloads and compilation requires.
3293 (strokes-version, strokes-bug-address, strokes-lift): Values
3295 (strokes-xpm-header, strokes-insinuated): New variable.
3296 (strokes): Add :link.
3297 (strokes-mode): Customized.
3298 (strokes-while-inhibiting-garbage-collector): New macro.
3299 (strokes-remassoc): Avoid remove-if.
3300 (strokes-fix-button2-command): Don't use ad-do-it.
3301 (strokes-insinuate): New function.
3302 (strokes-button-press-event-p, strokes-button-release-event-p):
3303 New functions, used instead of non-`strokes-' versions..
3304 (strokes-mouse-event-p): Rewritten.
3305 (strokes-event-closest-point): Avoid event-point.
3306 (strokes-get-grid-position): Avoid cdadr, caadr
3307 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
3309 (strokes-help): Use with-output-to-temp-buffer.
3310 (strokes-window-configuration-changed-p): New function.
3311 (strokes-update-window-configuration): Use buffer-live-p,
3312 strokes-window-configuration-changed-p.
3313 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
3314 (strokes-char-face): New face.
3315 (strokes-char-table, strokes-base64-chars): New variable.
3316 (strokes-xpm-for-stroke, strokes-list-strokes)
3317 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
3318 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
3319 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
3320 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
3321 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
3324 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3326 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
3328 * image.el (create-image): Doc fix.
3330 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
3331 instead of `:heuristic-mask t'.
3333 2000-09-14 Andrew Innes <andrewi@gnu.org>
3335 * makefile.w32-in: Revert to Unix line endings.
3337 2000-09-14 Andrew Innes <andrewi@gnu.org>
3339 * makefile.w32-in: Add bootstrap support. Also copy lisp source
3342 * makefile.nt (DONTCOMPILE): Fix typo.
3344 * shell.el (shell-write-history-on-exit): New function.
3345 (shell-dumb-shell-regexp): New custom variable.
3346 (shell-mode): Make shell-write-history-on-exit the process
3347 sentinel if shell name matches shell-dumb-shell-regexp.
3349 * w32-fns.el: Comment out before-init-hook function which resets
3350 source-directory based; this breaks bootstrap.
3352 2000-09-14 Dave Love <fx@gnu.org>
3354 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3355 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3356 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3357 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3358 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3359 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3360 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
3361 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
3362 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3364 * toolbar/toolbar.el: New.
3366 * subdirs.el: Add toolbar.
3368 2000-09-14 Gerd Moellmann <gerd@gnu.org>
3370 * indent.el (indent-for-tab-command): Doc fix.
3372 2000-09-14 Alex Schroeder <alex@gnu.org>
3374 * ansi-color.el (ansi-colors): Doc change.
3375 (ansi-color-get-face): Simplified regexp.
3376 (ansi-color-faces-vector): Added more faces, doc change.
3377 (ansi-color-names-vector): Doc change.
3378 (ansi-color-regexp): Simplified regexp.
3379 (ansi-color-parameter-regexp): New regexp.
3380 (ansi-color-filter-apply): Doc change.
3381 (ansi-color-filter-region): Doc change.
3382 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3383 deal with zero length parameters.
3384 (ansi-color-apply-on-region): Doc change.
3385 (ansi-color-map): Doc change.
3386 (ansi-color-map-update): Removed debugging message.
3387 (ansi-color-get-face-1): Added condition-case to trap
3388 args-out-of-range errors.
3389 (ansi-color-get-face): Doc change.
3390 (ansi-color-make-face): Removed.
3391 (ansi-color-for-shell-mode): New option.
3393 2000-09-13 Kenichi Handa <handa@etl.go.jp>
3395 * international/quail.el (quail-start-translation): Translate KEY
3396 if necessary even if it doesn't have any mapping in the current
3398 (quail-start-conversion): Likewise.
3399 (quail-help): The output message is improved.
3401 2000-09-13 Miles Bader <miles@gnu.org>
3403 * comint.el (comint-output-filter): Revert to using
3404 `insert-before-markers'. Add bletcherous hack to undo damage
3405 caused by `insert-before-markers'. Put `front-sticky' property on
3406 overlays created here so that the field code understands how the
3407 overlay works. Use a let when making comint-last-prompt-overlay,
3408 so that the code is easier to read.
3410 2000-09-13 Dave Love <fx@gnu.org>
3412 * wid-edit.el (widget-default-format-handler): DTRT when
3413 doc-property is a function.
3415 2000-09-12 Francesco Potorti` <pot@gnu.org>
3417 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3418 filed name if it's not there.
3420 2000-09-12 Dave Love <fx@gnu.org>
3422 * simple.el (read-mail-command): Doc fix.
3423 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3425 * vc.el (vc-dired-listing-switches): Fix :version.
3427 * vc-hooks.el: Doc fixes.
3429 * subr.el (add-minor-mode): Use toggle-fun arg.
3431 * speedbar.el: Add :version to several defcustoms.
3433 * imenu.el (imenu--truncate-items, imenu--cleanup)
3434 (imenu--generic-function): Avoid mapcar.
3435 (imenu--replace-spaces): Function removed.
3436 (imenu--completion-buffer): Use subst-char-in-string.
3437 (imenu-add-to-menubar): Use keymap inheritance.
3439 2000-09-12 Miles Bader <miles@gnu.org>
3441 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3442 (diff-mode-map): Bind `diff-test-hunk'.
3443 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3445 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3447 * bytecomp.el (byte-compile-defvar): Undo last change
3448 because it breaks '(make-variable-buffer-local (defvar ...)'
3449 which is used at least in dired.
3451 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3453 * international/quail.el (quail-define-package): Docstring
3456 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3458 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3459 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3460 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
3461 docstring of "chinese-py".
3463 * international/quail.el (quail-translation-docstring): New
3465 (quail-show-keyboard-layout): Docstring modified.
3466 (quail-select-current): Likewise.
3467 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3468 infinite recursive call.
3469 (quail-help): Check quail-translation-docstring. Format of the
3471 (quail-help-insert-keymap-description): Adjusted for the above
3474 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3476 * bytecomp.el (byte-compile-defvar): Only cons onto
3477 current-load-list in top-level forms. Else this leaks a cons cell
3478 every time a defun is called.
3480 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
3482 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3483 Now understands non-unified diffs. Some functionality moved into
3484 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
3485 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
3486 modify anything. Only reposition point in the patched file if the
3487 patch succeeds. Only pop up another window if POPUP is true.
3488 Emit a message describing what happened if successful, and at what
3489 line-offset. Automatically detect reversed hunks and do something
3491 (diff-hunk-text, diff-find-text): New functions.
3492 (diff-filter-lines): Function removed.
3493 (diff-test-hunk): New function.
3494 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3496 2000-09-10 Dave Love <fx@gnu.org>
3498 * textmodes/tildify.el: Minor doc/commentary fixes.
3499 (tildify) <defgroup>: Add :version.
3501 * faces.el (face-x-resources): Make custom type more specific.
3502 (frame-background-mode): Use mapc.
3503 (region) <defcustom>: Add :version.
3505 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
3507 * vc-sccs.el (vc-sccs-register):
3508 * vc-rcs.el (vc-rcs-register):
3509 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3510 * vc.el (vc-register): Clear file's properties.
3512 2000-09-08 Gerd Moellmann <gerd@gnu.org>
3514 * faces.el (face-spec-set): Only face-spec-reset-face when
3517 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3519 * help.el (help-insert-xref-button): Fix a typo in doc string.
3521 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
3523 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3524 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3527 * menu-bar.el (read-mail-item-name): New function.
3528 (menu-bar-tools-menu): Use it to compute and display the package
3530 (menu-bar-tools-menu): Fix typo in GUD's help string.
3532 2000-09-07 Dave Love <fx@gnu.org>
3534 * diff-mode.el (diff-mouse-goto-source): New function.
3536 * vc-sccs.el: Doc fixes.
3537 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3539 * vc-rcs.el: Doc fixes.
3540 (vc-rcs-register-switches, vc-rcs-checkin-switches)
3541 (vc-rcs-checkout-switches, vc-rcs-header)
3542 (vc-rcs-master-templates): Add or change :version.
3544 * vc-cvs.el: Doc fixes.
3545 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3546 (vc-cvs-stay-local): Add :version.
3548 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3550 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3552 * international/quail.el (quail-help): Fix previous change.
3554 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3556 * faces.el (color-values): Doc fix.
3558 * faces.el (frame-set-background-mode): Use frame-parameter
3559 instead of frame-parameters.
3561 * frame.el (filtered-frame-list): Reduce consing.
3562 (frames-on-display-list): Call frame-parameter instead of
3565 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3567 * language/devan-util.el (devanagari-to-indian-region): In the
3568 loop, change the following char, not preceding char.
3570 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3572 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3573 instead of frame-parameters.
3575 * faces.el (set-face-attribute): Simplify by calling
3576 internal-set-lisp-face-attribute with FRAME being 0.
3578 * vc.el: Remove `Id' version control keyword.
3580 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3582 * help.el (help-make-xrefs): Adjusted for the change of
3583 help-xref-mule-regexp.
3584 (help-insert-xref-button): New function.
3586 * international/mule-cmds.el (help-xref-mule-regexp-template):
3587 Include the pattern for character set.
3590 * international/quail.el: Don't require face.
3592 (quail-other-command): Dummy command to make quail-help work better.
3593 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3594 (quail-keyboard-layout-substitution): New variable.
3595 (quail-update-keyboard-layout): New function.
3596 (quail-keyboard-layout-type): New customizable variable.
3597 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3598 (quail-keyboard-translate): Pay attention to
3599 quail-keyboard-layout-substitution.
3600 (quail-insert-kbd-layout): New function.
3601 (quail-show-keyboard-layout): New function.
3602 (quail-get-translation): If the definition is a vector of length
3603 1, and the element is a string of length 1, return the character
3605 (quail-update-current-translations): Fix the case of
3606 relative-index out of range.
3607 (quail-build-decode-map, quail-insert-decode-map): New Functions.
3608 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3609 Show key sequences for all available characters.
3610 (quail-help-insert-keymap-description): Don't show such verbose
3611 key bindings as quail-self-insert-command.
3613 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3614 Format changed, and each element now have extra documentations.
3615 (tit-process-header): Delete invalid characters from TIT-PROMPT.
3616 Adjusted for the change of quail-cxterm-package-ext-info.
3618 2000-09-06 Gerd Moellmann <gerd@gnu.org>
3620 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3621 requiring it leads to a recursive loading of vc.el and vc-hooks.el
3624 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3626 * vc.el: (toplevel): Don't require `dired' at run-time.
3627 (vc-dired-resynch-file): Remove autoload cookie.
3629 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3631 * vc.el: Made several backend functions optional.
3632 (vc-default-responsible-p): New function.
3633 (vc-merge): Use RET for first version to trigger merge-news, not
3635 (vc-annotate): Handle backends that do not support annotation.
3636 (vc-default-merge-news): Removed. The existence of a merge-news
3637 implementation is now checked on caller sites.
3639 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3642 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3643 special case that has been removed from the default in vc-hooks.el.
3645 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3647 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3649 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3651 * vc-hooks.el: Require vc during compilation.
3652 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3653 macro `with-vc-properties' in vc.el.
3654 (vc-file-getprop): Doc fix.
3655 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3657 * vc.el: Require dired-aux during compilation.
3658 (vc-name-assoc-file): Moved to vc-sccs.el.
3659 (with-vc-properties): New macro.
3660 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3661 vc-finish-steal): Use it.
3662 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
3663 to the backend-specific function is now supposed to do the checkout,
3665 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3667 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3668 set file properties; that gets done in the generic code now.
3670 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3671 Changed parameter list, added code from vc.el that does the
3672 checkout, possibly with a double-take.
3674 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3675 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3676 the above under the new name.
3677 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
3678 parameter list, added checkout command.
3679 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3680 properties; that gets done in the generic code now.
3682 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3684 * vc.el: Docstring fixes (courtesy of checkdoc).
3686 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3688 * vc.el (vc-checkout-writable-buffer-hook)
3689 (vc-checkout-writable-buffer): Remove.
3690 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3691 (vc-log-mode): Make it into a clean derived major mode.
3692 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3693 vc-log-mode if log-edit is not available.
3694 (vc-dired-mode-map): Don't set-keymap-parent yet.
3695 (vc-dired-mode): Do set-keymap-parent here.
3696 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3698 2000-09-05 Gerd Moellmann <gerd@gnu.org>
3700 * faces.el (set-face-attribute, face-spec-reset-face)
3701 (face-spec-set): Avoid consing by removing calls to `apply'.
3703 * frame.el (frame-parameter): Move to C code.
3705 2000-09-05 Dave Love <fx@gnu.org>
3707 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3708 insert-before-markers-and-inherit. Now checked systematically!
3710 2000-09-05 Alex Schroeder <alex@gnu.org>
3712 * sql.el (sql-postgres): Use sql-postgres-options.
3713 (sql-postgres-options): New variable.
3715 2000-09-05 Alex Schroeder <alex@gnu.org>
3717 * sql.el (sql-mode-menu): Work around missing variable mark-active
3719 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
3720 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
3723 2000-09-04 Gerd Moellmann <gerd@gnu.org>
3725 * vc.el (vc-dired-resynch-file): Add autoload cookie.
3727 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
3729 * Makefile.in (DONTCOMPILE): Fix typo in file name.
3731 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3733 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
3734 don't support anything else under SCCS yet.
3736 * vc-hooks.el: Minor doc fixes.
3738 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3740 * vc.el (vc-next-action-on-file): Do not visit the file if it's
3741 not necessary. If verbose in state `needs-patch', do the same as
3742 under `up-to-date'. When NOT verbose and `needs-patch', check out
3743 latest version instead of `merge-news'.
3744 (vc-next-action-dired): Don't mess with default-directory here; it
3745 breaks other parts of dired. It is the job of the
3746 backend-specific functions to adjust it temporarily if they need it.
3747 (vc-next-action): Remove a special CVS case.
3748 (vc-clear-headers): New optional arg FILE.
3749 (vc-checkin, vc-checkout): Set properties vc-state and
3750 vc-checkout-time properly.
3751 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
3752 (vc-print-log): Use new backend function `show-log-entry'.
3753 (vc-cancel-version): Do the checks in a different order. Added a
3754 FIXME concerning RCS-only code.
3756 * vc-rcs.el (vc-rcs-show-log-entry): New function.
3757 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
3759 * vc-cvs.el (vc-cvs-show-log-entry): New function.
3761 * vc-hooks.el (vc-default-mode-line-string): Show state
3762 `needs-patch' as a `-' too.
3764 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3766 * vc.el (vc-responsible-backend): New optional arg REGISTER.
3767 (vc-default-could-register): New function.
3768 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
3769 (vc-resynch-buffer): Call vc-dired-resynch-file.
3770 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
3771 vc-resynch-buffer instead of vc-resynch-window.
3772 (vc-next-action-dired): Don't redisplay here, that gets done as a
3773 result of the individual file operations.
3774 (vc-retrieve-snapshot): Corrected prompt order.
3776 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
3778 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
3780 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
3781 hostname regexps. Updated all callers.
3782 (vc-cvs-responsible-p): Handle directories as well.
3783 (vc-cvs-could-register): New function.
3784 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
3785 properties up-to-date.
3787 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
3788 user whether to create one.
3790 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3792 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
3793 check out a non-existing file.
3795 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
3796 workfile does not exist.
3798 * vc.el (vc-version-diff): Use `require' to check for existence of
3801 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3803 * vc-cvs.el (vc-cvs-registered): Use new function
3804 vc-cvs-parse-entry to do the actual work.
3806 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3808 * vc-hooks.el (vc-find-backend-function): If function doesn't
3809 exist, return nil instead of error.
3810 (vc-call-backend): Doc fix.
3812 * vc.el (vc-do-command): Doc fix.
3813 (vc-finish-logentry): When checking in from vc-dired, choose the
3814 right backend for logentry check.
3815 (vc-dired-mode-map): Inherit from dired-mode-map.
3816 (vc-dired-mode): Local value of dired-move-to-filename-regexp
3818 (vc-dired-state-info): Removed, updated caller.
3819 (vc-default-dired-state-info): Use parentheses instead of hyphens.
3820 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
3821 (vc-dired-listing-switches): New variable.
3822 (vc-directory): Use it, instead of dired-listing-switches.
3824 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
3825 (vc-cvs-dir-state): New function.
3826 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
3827 (vc-cvs-parse-entry): New function, also to be used in
3830 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3832 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
3833 *or* single-window-frames.
3835 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3837 * vc.el (vc-update-changelog): Split into generic part and default
3838 implementation. Doc string adapted.
3839 (vc-default-update-changelog): New function. Call the `rcs2log'
3840 script in exec-directory, to fix a long-standing nuisance.
3842 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
3843 simply signals an error.
3845 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3847 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
3848 control-flow more clear and to avoid running `cvs' twice.
3850 * vc.el (vc-next-action-on-file): Doc fix.
3851 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
3852 (vc-print-log): Eval `file' before constructing the continuation.
3854 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3856 * vc.el (vc-next-action-on-file): Corrected several messages.
3857 (vc-merge): Add prefix arg `merge-news'; handle it.
3859 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
3860 is not reached. It is.
3861 (vc-cvs-merge): Set state to 'edited after merge.
3862 (vc-cvs-merge-news): Set workfile version to nil if not known.
3863 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
3865 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
3866 via stdout. (Merge from main line.)
3868 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3870 * vc.el (vc-finish-logentry): Thinko in the "same comment"
3873 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3875 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
3876 against kill-all-local-variables.
3877 (vc-log-edit): Don't save vc-parent-buffer any more.
3878 (vc-last-comment-match): Initialize to an empty string.
3879 (vc-post-command-functions): New hook.
3880 (vc-do-command): Run it.
3881 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
3882 (vc-finish-logentry): Only add the comment to the ring if it's
3883 different from the last comment entered.
3884 (vc-new-comment-index): New function.
3885 (vc-previous-comment): Use it. Make the minibuffer message
3886 slightly less terse.
3887 (vc-comment-search-reverse): Make it work forward as well. Don't
3888 set vc-comment-ring-index if no match is found. Use
3889 vc-new-comment-index.
3890 (vc-comment-search-forward): Use vc-comment-search-reverse.
3891 (vc-dired-mode-map): Don't inherit from dired-mode-map since
3892 define-derived-mode will do it for us. Bind `v' to a keymap that
3893 inherits from vc-prefix-map so that we can bind `vt' without
3895 (vc-retrieve-snapshot): Parenthesis typo.
3897 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
3898 to 1. Make sure to switch to *vc* before looking for an error
3899 message. Use vc-parse-buffer.
3901 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3903 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
3905 (vc-retrieve-snapshot): Split into two parts.
3906 (vc-default-retrieve-snapshot): New function.
3908 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
3909 (vc-cvs-retrieve-snapshot): New function (untested).
3910 (vc-cvs-stay-local): Default to t.
3911 (vc-cvs-remote-p): New function and property.
3912 (vc-cvs-state): Stay local only if the above is t.
3913 (vc-handle-cvs): Removed.
3914 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
3915 done via vc-handled-backends now.
3916 (vc-cvs-header): Escape Id.
3918 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3920 * vc.el (vc-do-command): Remove unused commands.
3921 (vc-version-diff): Make sure default-directory ends with a slash.
3922 Move the window commands into a vc-exec-after.
3923 (vc-print-log): Move more of the code into the `vc-exec-after'.
3925 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3927 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
3928 (vc-print-log): Search current revision from beginning of buffer.
3929 (vc-revert-buffer): Clear echo area after the diff is finished.
3930 (vc-prefix-map): Removed definition of "t" for terse display in vc
3932 (vc-dired-mode-map): Inherit from dired-mode-map. Added
3933 definition of "vt" for terse display.
3934 (vc-dired-mode): Fix dired-move-to-filename-regexp.
3936 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3938 * vc.el (vc-exec-after): Avoid caddr.
3940 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3942 * vc.el (vc-exec-after): New function.
3943 (vc-do-command): Use it to add a termination message for async
3945 (vc-checkout): Try to handle a missing-backend situation.
3946 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
3947 of a directory with a backend using async diffs.
3948 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
3951 * vc-sccs.el (vc-sccs-state-heuristic): Use
3952 file-ownership-preserved-p.
3954 * vc-rcs.el (vc-rcs-state-heuristic): Use
3955 file-ownership-preserved-p.
3956 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
3958 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3960 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
3963 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
3964 when there are no changes.
3966 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3968 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
3970 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
3972 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3974 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
3976 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
3977 the `fset' outside of the defvar so that it works even if
3978 vc-prefix-map was already defined.
3979 (vc-setup-buffer): New function, split out of vc-do-command.
3980 (vc-do-command): Allow BUFFER to be t to mean `just use the
3981 current buffer without any fuss'.
3982 (vc-version-diff): Change the `diff' backend operation to just put
3983 the diff in the current buffer without erasing it. Always use
3984 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
3985 shrink-window-if-larger-than-buffer.
3986 (vc-print-log): Change the `print-log' backend operation to just
3987 put the log in the current buffer without erasing it. Protect
3988 shrink-window-if-larger-than-buffer.
3989 (vc-update-change-log): Fix setd typo.
3991 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
3992 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
3994 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
3995 (vc-rcs-diff): Insert in the current buffer and remove unused arg
3998 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
3999 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
4000 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
4002 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4004 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
4005 not possible, use vc-BACKEND-workfile-unchanged-p.
4006 (vc-default-workfile-unchanged-p): New function. Delegates to a
4007 full vc-BACKEND-diff.
4009 * vc-hooks.el (vc-simple-command): Removed.
4011 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
4012 instead of vc-simple-command.
4013 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
4014 avoid doing a diff when opening a file.
4015 (vc-rcs-state): Added check for unlocked-changes.
4016 (vc-rcs-header): Escape Id.
4017 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
4018 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
4021 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
4022 (vc-sccs-diff): Remove optional arg CMP.
4023 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
4024 SCCS-specific function.
4026 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
4029 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4031 * vc.el (vc-editable-p): Renamed from vc-writable-p.
4032 (with-vc-file, vc-merge): Use vc-editable-p.
4033 (vc-do-command): Remove unused var vc-file and fix the
4034 doubly-defined `status' var. Add a user message when starting an
4036 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
4037 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
4038 Use with-current-buffer.
4039 (vc-buffer-sync): Use unless.
4040 (vc-next-action-on-file): If the file is 'edited by read-only,
4041 make it read-write instead of trying to commit.
4042 (vc-version-diff, vc-update-change-log): Use `setq
4043 default-directory' rather than `cd'.
4044 (vc-log-edit): Don't forget to set default-directory in the
4047 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
4048 (vc-sccs-state-heuristic): Use file-writable-p instead of
4050 (vc-sccs-checkout): Use `unless'.
4052 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
4053 of comparing userids.
4054 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
4055 Simplify the logic by eliminating unreachable code.
4056 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
4057 just do a recursive call if we need to retry.
4058 (vc-rcs-checkout): Handle the case where rcs is missing by making
4059 the buffer read-write if requested and re-signalling the error.
4061 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
4063 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4065 * vc-hooks.el (vc-handled-backends): Docstring change.
4066 (vc-ignore-vc-files): Mark obsolete.
4067 (vc-registered): Check vc-ignore-vc-files.
4068 (vc-find-file-hook, vc-file-not-found-hook): Don't check
4071 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
4073 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4075 * vc.el (vc-checkout): Don't do anything special for ange-ftp
4076 files since ange-ftp already has vc-registered return nil.
4078 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
4079 (vc-sccs-workfile-version): Use with-temp-buffer and new
4080 vc-parse-buffer and don't bother setting the property.
4081 (vc-sccs-add-triple): Use with-current-buffer and
4083 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
4085 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
4086 derives from the old vc-parse-buffer but uses the revision number
4087 rather than the date (much easier to compare robustly).
4088 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
4089 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
4090 locking-user more directly. Check strict locking and set
4091 checkout-model appropriately.
4092 (vc-rcs-parse-locks): Remove.
4093 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
4094 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
4095 (vc-rcs-system-release): Use with-current-buffer and
4097 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
4099 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
4100 (vc-simple-command): Docstring fix.
4101 (vc-registered): Align the way the file-handler is called with the
4102 way the function itself works.
4103 (vc-file-owner): Remove.
4105 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
4106 extraction of fields and call to file-attributes because of a
4107 temporary bug in rcp.el.
4108 (vc-cvs-fetch-status): Use with-current-buffer.
4110 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4112 * vc.el (vc-do-command): Use file-relative-name.
4113 (vc-responsible-backend): Use vc-backend if possible.
4114 (vc-create-snapshot): Improve the `interactive' spec. Add support
4115 for branches and dispatch to backend-specific `create-snapshot'.
4116 (vc-default-create-snapshot): New function, containing the bulk of
4117 the old vc-create-snapshot.
4118 (vc-retrieve-snapshot): Improve the interactive spec.
4120 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
4121 (vc-backend-hook-functions): Remove.
4122 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
4123 (vc-backend): Reintroduce the test for `file = nil' now that I
4124 know why it was there (and added a comment to better remember).
4126 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
4127 code from vc-sccs-hooks.el.
4128 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
4130 (vc-sccs-responsible-p): Use expand-file-name instead of concat
4131 and file-directory-p instead of file-exists-p.
4132 (vc-sccs-check-headers): Simplify the regexp.
4134 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
4135 from vc-rcs-hooks.el. Don't require 'vc anymore.
4136 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
4137 file-directory-p instead of file-exists-p.
4139 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
4140 from vc-cvs-hooks.el.
4141 (proto vc-cvs-registered): Require 'vc-cvs instead of
4142 'vc-cvs-hooks. Don't require 'vc anymore.
4143 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
4144 file-directory-p instead of file-exists-p.
4145 (vc-cvs-create-snapshot): New function, replacing
4147 (vc-cvs-assign-name): Remove.
4149 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4151 * vc-cvs.el (vc-cvs-header): New var.
4153 * vc-rcs.el (vc-rcs-exists): Remove.
4154 (vc-rcs-header): New var.
4156 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
4157 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
4158 (vc-sccs-header): New var.
4160 * vc.el (vc-do-command): Get rid of the `last' argument.
4161 (vc-header-alist): Remove, replaced by vc-X-header.
4162 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
4163 (vc-dired-hook): Use expand-file-name instead of concat.
4164 (vc-directory): Use file-name-as-directory.
4165 (vc-snapshot-precondition, vc-create-snapshot)
4166 (vc-retrieve-snapshot): Allow the command to operate on any
4169 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
4170 just removing the 'WORKFILE argument or by removing the 'MASTER
4171 argument and replacing `file' with (vc-name file).
4173 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4175 * vc.el: Update Copyright and add a crude list of backend funs.
4176 (vc-writable-p): New function.
4177 (with-vc-file): Use vc-writable-p.
4178 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
4179 (vc-register): Avoid vc-name.
4180 (vc-locking-user): Remove.
4181 (vc-steal-lock): Make the `owner' arg non-optional.
4182 (vc-merge): Use vc-writable-p instead of vc-locking-user and
4184 (vc-default-dired-state-info): Use vc-state instead of
4185 vc-locking-user and return special strings for special states.
4186 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
4187 and get rid of one of the special CVS cases.
4188 (vc-cancel-version): prettify error message with \\[...].
4189 (vc-rename-master): New function.
4190 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
4191 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
4192 the CVS special case generic.
4193 (vc-default-record-rename): Remove.
4194 (vc-file-tree-walk-internal): Only call FUNC for files that are
4195 under control of some VC backend and replace `concat' with
4197 (vc-file-tree-walk): Update docstring.
4198 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
4199 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
4201 * vc-sccs.el (vc-sccs-rename-file): Renamed from
4202 vc-sccs-record-rename. Use `find-file-noselect' rather than
4203 `find-file' and call `vc-rename-master' to do the actual move.
4204 (vc-sccs-diff): Remove unused `backend' variable.
4206 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
4207 to delay loading of vc-sccs until it is really used.
4208 (vc-sccs-master-templates): Preload.
4209 (vc-sccs-state): Update call to vc-sccs-parse-locks.
4210 (vc-sccs-project-dir): Remove (merged into
4211 vc-sccs-search-project-dir).
4212 (vc-sccs-search-project-dir): Rewrite using file name handling ops
4213 rather than `concat', make sure it is preloaded and don't bother
4214 to check that the file actually exists.
4215 (vc-sccs-parse-locks): Remove unused `file' argument, remove
4216 `locks' argument (use buffer's content instead) and eliminate n^2
4219 * vc-rcs.el: Update Copyright.
4220 (vc-rcs-rename-file): New function.
4221 (vc-rcs-diff): Remove unused `backend' variable.
4223 * vc-hooks.el: Update Copyright.
4224 (vc-backend): Don't accept a nil argument any more.
4225 (vc-up-to-date-p): Turn into a defsubst.
4226 (vc-possible-master): New function.
4227 (vc-check-master-templates): Use `vc-possible-master' and allow
4228 funs in vc-X-master-templates to return a non-existent file.
4230 * vc-cvs.el: Update Copyright.
4231 (vc-cvs-diff): Remove unused `backend' variable.
4232 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
4234 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
4236 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4238 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
4239 since it can be called from vc-rcs.el.
4240 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
4242 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4244 * vc.el (vc-version-diff): Expand file name read from the
4245 minibuffer. Handle the case when a previous version number can't
4246 be guessed. Give suitable messages when there were no differences
4248 (vc-clear-headers): Call backend-specific implementation, if one
4250 (vc-cancel-version): Made error checks generic. When done, clear
4251 headers generically, too.
4253 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
4254 from vc-clear-headers in vc.el.
4256 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
4258 (vc-rcs-latest-on-branch-p): Made second argument VERSION
4259 optional. Handle the case when it's not there.
4261 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4263 * vc.el (vc-locking-user): Moved from vc-hooks.el.
4265 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4267 * vc-hooks.el (vc-loadup): Remove.
4268 (vc-find-backend-function): Use `require'. Also, handle the case
4269 where vc-BACKEND-hooks.el doesn't exist.
4270 (vc-call-backend): Cleanup.
4272 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4274 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
4275 vc-rcs-grab-templates)
4276 (vc-rcs-registered): Remove. The default function works as well.
4277 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
4278 vc-sccs-grab-templates)
4279 (vc-sccs-registered): Remove. The default function works as well.
4281 * vc.el (vc-version-diff): Left out a vc- in call to
4283 (vc-default-dired-state-info, vc-default-record-rename)
4284 (vc-default-merge-news): Update for the new backend argument.
4286 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
4287 using the default function.
4288 (vc-call-backend): If calling the default function, pass it the
4289 backend as first argument. Update the docstring accordingly.
4290 (vc-default-state-heuristic, vc-default-mode-line-string): Update
4291 for the new backend argument.
4292 (vc-make-backend-sym): Renamed from vc-make-backend-function.
4293 (vc-find-backend-function): Use the new name.
4294 (vc-default-registered): New function.
4296 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4298 * vc.el (vc-merge): Use vc-find-backend-function.
4300 * vc-hooks.el (vc-backend-functions): Remove.
4301 (vc-loadup): Don't setup 'vc-functions.
4302 (vc-find-backend-function): New function.
4303 (vc-call-backend): Use above fun and populate 'vc-functions
4305 (vc-backend-defines): Remove.
4307 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4309 * vc.el (vc-register): Put a FIXME note for a newly found bug.
4310 Call vc-call-backend without the leading vc-.
4311 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
4312 (vc-check-headers): Call vc-call-backend without the leading vc-.
4313 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
4314 (vc-annotate-display): Replace confusing use of `cond' with `or'.
4315 Call vc-call-backend without the leading vc-.
4317 * vc-cvs.el (tail): Provide vc-cvs.
4318 * vc-sccs.el (tail): Provide vc-sccs.
4319 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
4321 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
4322 (vc-make-backend-function, vc-call): Pass names without leading
4323 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
4324 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
4325 (vc-call-backend): Always try to load vc-X-hooks.
4326 (vc-registered): Remove vc- in call to vc-call-backend.
4328 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4330 * vc.el (vc-process-filter): New function.
4331 (vc-do-command): Setup `vc-process-filter' for the async process.
4332 (vc-maybe-resolve-conflicts): New function to reduce
4333 code-duplication. Additionally, it puts the buffer in
4334 `smerge-mode' if applicable.
4335 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
4336 calling `merge-news'.
4337 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
4338 (vc-log-edit): New function. Replacement for `vc-log-mode' by
4339 interfacing to log-edit.el.
4340 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
4341 log-edit is available.
4342 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
4344 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4346 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
4347 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
4348 defvar and the initialization.
4349 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
4351 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
4352 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4354 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4356 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4358 * vc.el (vc-file-clear-masterprops): Removed.
4359 (vc-checkin, vc-revert-buffer): Removed calls to the above.
4360 (vc-version-diff): Use buffer-size without argument.
4361 (vc-register): Heed vc-initial-comment.
4363 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4366 * vc-rcs.el (vc-rcs-register): Parse command output to find master
4367 file name and workfile version.
4368 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4370 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4371 vc-file-clear-masterprops.
4373 * vc-sccs.el (vc-sccs-checkout): Removed call to
4374 vc-file-clear-masterprops. If writable, set vc-state to 'edited
4375 rather than user login name.
4378 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4380 * vc.el (vc-workfile-unchanged-p): Remove unused argument
4381 `want-differences-if-changed' and simplify.
4382 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4383 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4384 output (which is invalid for async vc-diff) to decide whether to
4385 do the revert silently or not.
4387 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4389 * vc-hooks.el (vc-loadup): Load files quietly.
4390 (vc-call-backend): Oops, brain fart.
4392 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4394 * vc-cvs.el (vc-cvs-state): Typo.
4395 (vc-cvs-merge-news): Return the status code rather than the error msg.
4397 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4399 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4400 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4401 vc-state or vc-up-to-date-p.
4402 (vc-merge): Use vc-backend-defines to check whether merging is
4403 possible. Set state to 'edited after successful merge.
4405 * vc-hooks.el (vc-locking-user): If locked by the calling user,
4406 return that name. Redocumented.
4408 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4410 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4411 new `vc-state' semantics.
4412 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4413 'vc-locking-user to the current user.
4414 (vc-merge): Inline vc-backend-merge. Comment out code that I
4415 don't understand and hence can't adapt to the new `vc-state' and
4416 `vc-locking-user' semantics.
4417 (vc-backend-merge): Remove.
4419 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4420 rather than 'vc-locking-user.
4422 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4424 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4425 (vc-state): Don't use 'reserved any more. Just use the same
4426 convention as the one used for vc-<backend>-state where the
4427 locking user (as a string) is returned.
4428 (vc-locking-user): Update, based on the above convention. The
4429 'vc-locking-user property has disappeared.
4430 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4432 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4433 with a heuristic one.
4434 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4435 (vc-cvs-checkin): Do a trivial parse to set the state in case of
4436 error. That allows us to get to 'needs-merge even in the
4437 stay-local case. There's still no way to detect 'needs-patch in
4438 such a setup (or to force an update for that matter).
4439 (vc-cvs-logentry-check): Remove, the default works as well.
4441 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4443 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4445 * vc.el (vc-do-command): kill-all-local-variables, to reset any
4446 major-mode in which the buffer might have been put earlier. Use
4447 `remove' and `when'. Allow `okstatus' to be `async' and use
4448 `start-process' in this case.
4449 (vc-version-diff): Handle the case where the diff looks empty
4450 because of the use of an async process.
4452 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4454 * vc.el (vc-next-action-on-file): Removed optional parameter
4455 `simple'. Recompute state unconditionally.
4456 (vc-default-toggle-read-only): Removed.
4458 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4459 (vc-toggle-read-only): Undid prev change.
4461 * vc-cvs.el (vc-cvs-stay-local): Renamed from
4462 vc-cvs-simple-toggle. Redocumented.
4463 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4464 (vc-cvs-toggle-read-only): Removed.
4466 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4468 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4469 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4470 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4471 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
4472 still is. So maybe it should be removed.
4473 (vc-head-version, vc-find-binary): Remove.
4474 (vc-recompute-state): Move from vc-hooks.el.
4475 (vc-next-action-on-file): Add a `simple' argument to allow
4476 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4477 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4478 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4479 (vc-dired-mode-map): Properly defvar it.
4480 (vc-print-log): Call log-view-mode if available.
4481 (small-temporary-file-directory): defvar instead of use boundp.
4482 (vc-merge-news): Moved to vc-cvs.el.
4483 (vc-default-merge-news): New function.
4485 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4486 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4487 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4488 unknown `vc-latest-version' function. It should probably refer to
4489 vc-workfile-version or somesuch, but it's very unclear to me and I
4490 don't have SCCS to test things.
4492 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4493 (vc-sccs-state-heuristic): Fix typo.
4494 (vc-sccs-workfile-unchanged-p): Add missing argument.
4496 * vc-rcs.el: Require vc and vc-rcs-hooks.
4497 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4498 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4499 (vc-release-greater-or-equal-p): Move from vc.
4500 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4501 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4502 (vc-rcs-checkout): Add a missing `new-version' argument in the
4503 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
4505 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4506 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4507 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4508 than the apparently unbound `workfile-version'.
4510 * vc-hooks.el (vc-master-templates): Def the obsolete var.
4511 (vc-file-prop-obarray): Use `make-vector'.
4512 (vc-backend-functions): Add new hookable functions
4513 vc-toggle-read-only, vc-record-rename and vc-merge-news.
4514 (vc-loadup): If neither backend nor default functions exist, use
4515 the backend function rather than nil.
4516 (vc-call-backend): If the function if not bound yet, try to load
4517 the non-hook file to see if it provides it.
4518 (vc-call): New macro plus use it wherever possible.
4519 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4520 nor `vc-find-binary' since it's only called from
4521 vc-mistrust-permission which is only used once the backend is known.
4522 (vc-checkout-model): Fix parenthesis.
4523 (vc-recompute-state, vc-prefix-map): Move to vc.el.
4525 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4526 (vc-cvs-release, vc-cvs-system-release): Remove.
4527 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4528 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4530 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4531 (vc-cvs-toggle-read-only): First cut at a function to allow a
4532 cvs-status-free vc-toggle-read-only.
4533 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4534 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4535 vc-cvs-status. Also set vc-state rather than vc-locking-user.
4536 (vc-cvs-checkout): Modify access rights directly if the user
4537 requested not to use `cvs edit'. And refresh the mode line.
4539 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4540 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4542 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4544 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
4545 workfile' that got lost when the code was extracted from vc.el.
4546 And merged the tail with the rest of the code (not possible in the
4547 old vc.el where the tail was shared among all backends). And
4548 explicitly set the state to 'edited if `writable' is set.
4550 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4551 (vc-cvs-state): Be careful to return the value from
4553 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
4554 property but return it instead. Also be careful to handle a nil
4555 or "" `rev' when workfile is non-nil (it was handled properly when
4558 * vc.el: Removed those pesky unnecessary `(function' quotes.
4559 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4560 directly in the defvar.
4561 (vc-do-command): Bind inhibit-read-only so as to properly handle
4562 the case where the destination buffer has been made read-only.
4563 (vc-diff): Delegate to vc-version-diff in all cases.
4564 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4565 (vc-annotate-mode-variables): Removed (code moved partly to
4566 defvars and partly to vc-annotate-add-menu).
4567 (vc-annotate-mode): Turned into a derived-mode.
4568 (vc-annotate-add-menu): Moved in code in
4569 vc-annotate-mode-variables.
4570 (vc-update-change-log): Use make-temp-file if available.
4572 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
4574 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4575 `vc-checkout-model' updated to `vc-cvs-update-model'.
4577 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4579 * vc.el (vc-next-action-on-file): Added handling of state
4581 (vc-checkout-carefully): Is now practically obsolete, unless the
4582 above is too slow to be enabled unconditionally.
4583 (vc-update-change-log): Fixed typo.
4585 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4587 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4588 Now handles state `unlocked-changes'.
4589 (vc-sccs-workfile-unchanged-p): New function, to support the above.
4591 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4593 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4594 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
4596 (vc-rcs-workfile-unchanged-p): Renamed from
4597 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
4598 function yet, but supposed to become one soon.
4600 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4602 (vc-call-backend): Changed error message.
4603 (vc-state): Added description of state `unlocked-changes'.
4605 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4607 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4608 always return t in CVS-controlled directories.
4610 * vc.el (vc-responsible-backend): New function.
4611 (vc-register): Largely rewritten.
4612 (vc-admin): Removed (implementation moved into vc-register).
4613 (vc-checkin): Redocumented.
4614 (vc-finish-logentry): If no backend defined yet (because we are in
4615 the process of registering), use the responsible backend.
4617 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4618 Updated function lists.
4619 (vc-call-backend): Fixed typo.
4621 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4623 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4624 Removed query option. Redocumented.
4626 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4628 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4630 * vc.el: Updated callers of `vc-checkout-required' to use
4631 `vc-checkout-model'.
4633 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4635 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
4636 stuff updated to reference this function instead of the old
4637 `vc-backend-release-p'.
4639 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4641 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4642 vc-checkout-model. Return appropriate values. Updated callers.
4644 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4646 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4647 (vc-backend-revert): Function moved into `vc-revert';
4648 `vc-next-action' must be updated to accomodate this change.
4649 (vc-backend-steal): Function moved into `vc-finish-steal'.
4650 (vc-backend-logentry-check): Function moved into
4651 `vc-finish-logentry'.
4652 (vc-backend-printlog): Function moved into `vc-print-log'.
4653 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4654 (vc-backend-assign-name): Function moved into
4655 `vc-create-snapshot'.
4657 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4659 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4660 Rename to vc-checkout-model. Return appropriate values.
4663 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4664 to vc-checkout-model.
4665 (vc-checkout-required): Rename to vc-checkout-model.
4666 Re-implement and re-comment.
4667 (vc-after-save): Use vc-checkout-model.
4669 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4671 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4672 Update to use the vc-BACKEND-diff functions instead.
4673 `vc-diff' is now working.
4675 * vc-rcs.el (vc-rcs-logentry-check): New function.
4677 * vc-cvs.el (vc-cvs-logentry-check): New function.
4679 * vc-sccs.el (vc-sccs-diff): Function changed name from
4680 `vc-backend-diff'. This makes `vc-diff' work.
4682 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4683 of functions possibly implemented in a vc-BACKEND library.
4684 (vc-checkout-required): Fix bug that caused an error to be
4685 signaled during `vc-after-save'.
4688 This checkin is made with our new VC code base for the very first time.
4689 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4691 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4692 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4694 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4695 updated to `vc-uses-locking'.
4696 (vc-checkout-required): Call to backend function.
4697 `vc-checkout-required' updated to `vc-uses-locking' instead.
4699 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4700 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4702 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4703 to match the split into various backends.
4704 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
4705 (vc-retrieve-snapshot): Bug fix.
4707 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4709 * vc-sccs.el (vc-sccs-release): Doc fix.
4711 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4713 * vc.el (vc-next-action-on-file): Bug found and fixed.
4714 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
4715 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
4717 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
4718 (vc-rcs-checkout): Name space cleaned up. No more revision number
4719 crunching function names that are not prefixed with vc-rcs.
4720 (vc-rcs-checkout-model): Function added. References to
4721 `vc-checkout-model' replaced.
4723 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4725 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
4726 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
4727 still need to be split, and implemented for RCS).
4729 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4731 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
4733 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
4734 required by the vc.el file.
4736 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
4737 required by the vc.el file.
4738 (vc-rcs-exists): Function added.
4740 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
4741 required by the vc.el file.
4743 * vc.el (vc-admin): Updated to handle selection of appropriate
4744 backend. Current implementation is crufty and need re-thinking.
4746 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
4748 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4750 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
4751 beginning of annotate buffers correctly.
4753 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
4754 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
4755 functionality updated quite a lot to support multiple backends.
4756 Variables `vc-annotate-mode', `vc-annotate-buffers',
4757 `vc-annotate-backend' added.
4759 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
4760 `vc-annotate-difference' added to supported backend functions.
4762 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4764 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
4765 Use with-temp-file instead of /bin/sh. Merged from mainline
4767 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4769 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
4771 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
4773 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
4775 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4777 * vc-hooks.el: vc-state-heuristic added to
4778 vc-backend-hook-functions.
4780 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
4782 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
4784 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
4785 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
4786 state to `reserved'.
4788 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
4789 `vc-checkout-required'. Rename the `locked' state to `reserved'.
4791 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4793 * vc-rcs-hooks.el: Implement new state model. Hardly anything
4796 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
4798 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
4799 if defined. (Merged from main line, slightly adapted.)
4801 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
4802 millenium problem (merged from mainline).
4804 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4806 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
4807 part and moved the non-BACKEND stuff to vc.el.
4809 * vc.el: Split the annotate feature into a BACKEND specific part
4810 and moved it from the vc-cvs.el file to this one.
4812 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4814 * vc-hooks.el: Implement new state model.
4815 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
4816 (vc-locking-user): Simplify. Now only needed if the file is
4817 locked by somebody else.
4818 (vc-lock-from-permissions): Remove. Functionality is in
4819 vc-sccs-hooks.el and vc-rcs-hooks.el now.
4820 (vc-mode-line-string): New name for former vc-status. Adapted.
4821 (vc-mode-line): Adapt to use the above. Remove optional parameter.
4823 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
4824 Various simplifications and adaptations all over the place.
4826 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
4827 Simplify and adapt the rest.
4829 * vc.el (vc-resynch-window): Add TODO comment: check for
4830 interaction with view mode according to recent RCS change.
4831 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
4833 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4835 * vc.el: Convert the remaining function comments to docstrings.
4837 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4839 * vc.el (vc-backend-release, vc-release-greater-or-equal)
4840 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
4841 (vc-minor-part, vc-previous-version): Functions that operate and
4842 compare revision numbers got proper documentation. Comments added
4843 about their possible removal.
4845 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4847 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
4848 the vc-backend.el files.
4850 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
4852 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
4853 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
4854 (vc-rcs-previous-version): Functions added.
4856 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
4858 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
4860 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4862 * vc-hooks.el (vc-master-templates): Is really obsolete.
4863 Comment out the definition for now. What is the right procedure
4865 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
4867 (vc-default-registered): Remove.
4868 (vc-check-master-templates): New function; does mostly what the
4870 (vc-locking-user): Don't rely on the backend to set the property.
4872 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
4873 Rewrite documentation.
4874 (vc-rcs-templates-grabbed): New variable.
4875 (vc-rcs-grab-templates): New function.
4876 (vc-rcs-registered): Rewrite to use above mechanism.
4878 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
4879 Rewrite documentation.
4880 (vc-sccs-templates-grabbed): New variable.
4881 (vc-sccs-grab-templates): New function.
4882 (vc-sccs-registered): Rewrite to use above mechanism.
4883 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
4884 Don't throw the result, simply return it.
4886 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
4887 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
4888 (vc-cvs-registered): Does the check itself now. Simplify.
4890 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
4893 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4895 * vc-cvs.el (vc-cvs-diff): New function.
4897 * vc-sccs.el (vc-sccs-diff): New function.
4899 * vc-rcs.el (vc-rcs-diff): New function.
4900 (vc-rcs-checkout): Bug (typo) found and fixed.
4901 (vc-rcs-register-switches): New variable.
4903 * vc.el (vc-backend-diff): Function removed and placed in the
4906 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4908 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
4910 * vc.el (vc-backend-checkout): Function removed and replaced in
4911 the vc-backend.el files.
4913 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
4915 * vc.el (vc-backend-admin): Removed and replaced in the
4916 vc-backend.el files.
4918 * vc.el (Martin): Removed all the annotate functionality since it
4919 is CVS backend specific.
4921 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4923 * spec.txt: Added specification of vc-state.
4925 * vc-sccs-hooks.el (vc-sccs-master-properties):
4926 Remove handling of vc-latest-version and
4927 vc-your-latest-version. What used to be vc-latest-version, is now
4928 returned as vc-workfile-version.
4929 (vc-sccs-workfile-version): Adapt.
4931 2000-09-04 Dave Love <fx@gnu.org>
4933 * vc.el: [Merged from mainline.]
4934 (vc-dired-mode): Make the dired-move-to-filename-regexp
4935 regexp match the date, to avoid treating date as file size.
4936 Add YYYY S option to WESTERN/
4938 2000-09-04 Dave Love <fx@gnu.org>
4940 * vc.el: Require `compile' when compiling.
4941 (vc-logentry-check-hook): New option.
4942 (vc-steal-lock): Use compose-mail.
4943 (vc-dired-mode-map): Defvar when compiling.
4944 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
4945 vc-sccs.el and renamed. Callers changed.
4946 (vc-backend-checkout, vc-backend-logentry-check)
4947 (vc-backend-merge-news): Doc fix.
4948 (vc-default-logentry-check): New function.
4949 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
4950 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
4951 (vc-backend-merge): Doc fix. Use backend functions.
4952 (vc-check-headers): Use backend functions.
4954 * vc-cvs.el: Require vc when compiling.
4955 (vc-cvs-register-switches): Doc fix.
4956 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
4957 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
4958 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
4959 New functions (code from vc.el).
4960 (vc-annotate-display-default): Fix interactive spec.
4961 (vc-annotate-time-span): Doc fix.
4963 * vc-rcs.el: Require vc when compiling.
4964 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
4965 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
4966 (vc-rcs-checkin): New functions (code from vc.el).
4967 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
4969 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
4971 * vc-sccs.el: Require vc when compiling.
4972 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
4973 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
4975 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
4977 (vc-sccs-add-triple, vc-sccs-record-rename)
4978 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
4979 (vc-sccs-admin): Doc fix.
4981 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4983 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
4984 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
4985 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
4988 * vc-sccs.el (vc-admin-sccs): Added from vc.el
4990 * vc-cvs.el: Moved the annotate functionality from vc.el.
4991 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
4993 2000-09-04 Dave Love <fx@gnu.org>
4995 * vc.el (vc-backend-release): Call vc-system-release.
4997 * vc-sccs.el (vc-sccs-system-release):
4998 Renamed from vc-sccs-backend-release.
5000 * vc-rcs.el (vc-rcs-system-release):
5001 Renamed from vc-rcs-backend-release.
5003 * vc-cvs.el (vc-cvs-system-release):
5004 Renamed from vc-cvs-backend-release.
5006 2000-09-04 Dave Love <fx@gnu.org>
5008 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
5010 (vc-backend-release): Dispatch to backend functions.
5011 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
5012 probably needs attention.]
5014 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
5015 (vc-sccs-backend-release): New function.
5017 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
5018 (vc-cvs-backend-release): New function.
5020 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
5022 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
5023 (vc-default-dired-state-info): New function.
5024 (vc-dired-state-info): Dispatch to backends.
5025 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
5027 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
5028 from vc.el and renamed.
5030 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5032 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
5033 (vc-version-other-window, vc-backend-assign-name): Removed
5034 references to vc-latest-version; sometimes changed into
5035 vc-workfile-version.
5037 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
5038 vc-rcs-master-workfile-version.
5039 (vc-rcs-workfile-version): Use the above. Don't call
5040 vc-latest-version (that was unreachable code, anyway).
5041 (vc-rcs-fetch-master-properties): Doc fix.
5043 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
5044 (vc-backend-hook-functions): Removed them from this list, too.
5045 (vc-fetch-properties): Removed.
5046 (vc-workfile-version): Doc fix.
5048 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
5049 (vc-rcs-workfile-version, vc-rcs-locking-user)
5050 (vc-rcs-uses-locking): Use it.
5052 * vc-hooks.el (vc-consult-rcs-headers):
5053 Moved into vc-rcs-hooks.el, under the name
5054 vc-rcs-consult-headers.
5056 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
5058 (vc-cvs-find-master): Use this name only; correct different
5059 versions of the name.
5061 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
5063 (vc-sccs-locking-user): Use the latter.
5065 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
5068 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
5070 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
5071 functions are implementation details of those two backends.
5073 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5075 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
5076 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
5078 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
5079 (vc-sccs-parse-locks): SCCS-specific code moved here from
5082 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
5083 code moved here from vc-hooks.
5085 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
5086 into back-end specific parts and removed. Callers not updated
5087 yet; because I guess these callers will disappear into back-end
5088 specific files anyway.
5090 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5092 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
5093 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
5096 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
5097 Store yes/no in the property, and return t/nil. Updated all
5100 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
5101 vc-sccs-uses-locking. Don't set property.
5102 (vc-sccs-locking-user): Don't set property.
5104 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
5105 vc-cvs-uses-locking. Don't set property here; leave that to
5107 (vc-cvs-locking-user): Reflect above change. Streamlined.
5109 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
5110 vc-rcs-uses-locking.
5111 (vc-rcs-locking-user): Reflect above change.
5113 2000-09-04 Dave Love <fx@gnu.org>
5115 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
5117 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
5119 * vc-hooks.el (vc-checkout-model): Punt to backends.
5121 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
5123 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
5125 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
5128 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
5131 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
5132 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
5134 * vc-hooks.el (vc-default-locking-user): New function.
5135 (vc-locking-user, vc-workfile-version): Punt to backends.
5137 2000-09-04 Dave Love <fx@gnu.org>
5139 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
5140 (vc-master-workfile-version): Moved from vc-hooks.
5142 * vc-rcs-hooks.el: Fix duplicate code in last change.
5144 * vc-rcs-hooks.el: Require vc-hooks when compiling.
5145 (vc-rcs-master-templates): Improve :type.
5146 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
5147 vc-master-workfile-version): Moved from vc-hooks.
5149 * vc-sccs-hooks.el: Require vc-hooks when compiling.
5150 (vc-sccs-master-templates): Improve :type.
5151 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
5153 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
5155 * vc-cvs-hooks.el: Require vc-hooks when compiling.
5156 (vc-cvs-master-templates): Improve :type. Use
5157 vc-cvs-find-cvs-master.
5158 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
5160 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
5162 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
5163 Moved to vc-cvs-hooks.
5165 * vc-hooks.el: Add doc strings in various places. Simplify the
5167 (vc-handled-backends): New user variable.
5168 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
5171 2000-09-04 Dave Love <fx@gnu.org>
5173 * vc.el: Some doc fixes for autoloaded and interactive functions.
5174 Fix compilation warnings from ediff stuff.
5175 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
5177 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
5179 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
5181 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
5183 2000-09-04 Dave Love <fx@gnu.org>
5185 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5187 (vc-make-backend-function, vc-loadup, vc-call-backend)
5188 (vc-backend-defines): New functions.
5190 * vc-hooks.el: Various doc fixes.
5191 (vc-default-back-end, vc-follow-symlinks): Custom fix.
5192 (vc-match-substring): Function removed. Callers changed to use
5194 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
5197 2000-09-04 Dave Love <fx@gnu.org>
5199 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
5201 (vc-sccs-project-dir, vc-search-sccs-project-dir)
5202 (vc-sccs-registered): Doc fix.
5204 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
5205 (vc-cvs-registered): Doc fix.
5207 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
5208 (vc-rcs-registered): Doc fix.
5210 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5212 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
5214 * vc-hooks.el: vc-registered has been renamed
5215 vc-default-registered. Some functions have been moved to the
5216 backend specific files. they all support the
5217 vc-BACKEND-registered functions.
5219 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5221 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
5223 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
5225 2000-09-04 Dave Love <fx@gnu.org>
5227 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
5228 menu-bar-update-hook.
5230 * help.el (help-manyarg-func-alist): Add
5231 find-operation-coding-system.
5233 * wid-edit.el (widget-sexp-validate): Fix garbled code.
5235 * custom.el (custom-set-variables): Print message about errors in
5238 2000-09-03 Andrew Innes <andrewi@gnu.org>
5240 * makefile.w32-in: Change to DOS line endings.
5242 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5244 * mouse.el (mouse-popup-menubar): Supply the prompt string for
5245 minor-mode keymaps, if they don't have one.
5247 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5249 * eshell/esh-module.el (eval-when-compile): Don't lose if
5250 esh-module.el's file name is truncated to DOS 8+3 limits.
5252 2000-09-01 John Wiegley <johnw@gnu.org>
5254 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
5255 predicate, which caused entries in the completion list to be
5258 2000-08-30 John Wiegley <johnw@gnu.org>
5260 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
5261 sending to subprocesses. Also, hook pre-command-hook if
5262 `eshell-send-direct-to-subprocesses' is non-nil.
5263 (eshell-send-direct-to-subprocesses): New config variable. If t,
5264 subprocess input is send immediately.
5265 (eshell-toggle-direct-send): New function.
5266 (eshell-self-insert-command): New function.
5267 (eshell-intercept-commands): New function.
5268 (eshell-send-input): If direct subprocess sending is enabled,
5269 don't echo any input to the Eshell buffer. Let the subprocess
5270 handle that. This requires "stty echo" in bash, for example.
5272 2000-08-28 John Wiegley <johnw@gnu.org>
5274 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
5275 completion function for Eshell's implementation of `unset'.
5277 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5279 * info.el (Info-directory-list): Doc fix.
5281 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
5283 * filecache.el (file-cache-add-directory-using-find): Don't quote
5284 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
5286 2000-08-31 Kenichi Handa <handa@etl.go.jp>
5288 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
5291 2000-08-30 Andrew Innes <andrewi@gnu.org>
5293 * timer.el (run-with-idle-timer): Undo last change, so that timer
5294 is not activated immediately if Emacs is already idle. Some
5295 existing code relies on this behaviour.
5297 2000-08-30 Miles Bader <miles@gnu.org>
5299 * frame.el (set-frame-font): Do completion of font-name for
5302 2000-08-30 Kenichi Handa <handa@etl.go.jp>
5304 * international/quail.el (quail-start-translation): Bind locally
5305 last-command-event, last-command, and this-command.
5306 (quail-start-conversion): Likewise.
5307 (quail-self-insert-command): Fix docstring.
5309 2000-08-29 Gerd Moellmann <gerd@gnu.org>
5311 * progmodes/executable.el
5312 (executable-make-buffer-file-executable-if-script-p): Check that
5313 buffer contains at least 2 characters.
5315 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
5317 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
5319 2000-08-29 Dave Love <fx@gnu.org>
5321 * diff-mode.el (diff-mode) <defgroup>: Add :version.
5322 (diff-mode-shared-map): Bind mouse-2.
5323 (diff-imenu-generic-expression): New variable.
5324 (diff-mode): Use it.
5326 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
5327 (mouse-popup-menubar): Add minor mode menus.
5328 (popup-menu): Check for lookup-key returning number.
5330 2000-08-29 Miles Bader <miles@gnu.org>
5332 * comint.el (comint-send-input): Create overlays using the proper
5333 front/read-advance arguments.
5335 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5337 * ps-print.el: Even/odd pages printing. Doc fix.
5338 (ps-print-version): New version number (6.0).
5339 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
5340 (ps-background, ps-begin-file, ps-begin-job): Code fix.
5341 (ps-print-duplex-feature): Variable eliminated.
5342 (ps-even-or-odd-pages): New variable.
5344 * progmodes/ebnf2ps.el: Doc fix.
5345 (ebnf-version): New version (3.3).
5346 (ebnf-user-arrow): Change variable customization to sexp.
5347 (ebnf-user-arrow): Function eliminated.
5348 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
5350 2000-08-29 Kenichi Handa <handa@etl.go.jp>
5352 * help.el (help-xref-mule-regexp): New variable.
5353 (help-make-xrefs): Handle help-xref-mule-regexp.
5355 * international/mule-cmds.el (help-xref-mule-regexp-template): New
5357 (describe-input-method): Temporarily activate the specfied input
5358 method to display the information.
5359 (describe-language-environment): Hyperlinks to mule related items.
5361 * international/mule-diag.el (charset-multibyte-form-string): New
5363 (list-character-sets-1): Use charset-multibyte-form-string.
5364 (describe-character-set): New function.
5365 (describe-coding-system): Hyperlinks to safe character sets.
5367 * international/quail.el (quail-help): New arg PACKAGE.
5368 Hyperlinks to mule related items.
5369 (quail-help-insert-keymap-description): Use
5370 substitute-command-keys instead of describe-bindings.
5371 (quail-translation-help): Hyperlinks to mule related items.
5373 2000-08-28 John Wiegley <johnw@gnu.org>
5375 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5376 have a defsubst call itself. Made `eshell-flatten-list' back into
5379 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5380 catch, in case re-centering point at bottom messes up the display.
5381 This happens frequently in Emacs 21, due I believe to variable
5384 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5385 to call `find-tag-interactive'.
5387 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5388 the list of remember directories.
5390 2000-08-28 John Wiegley <johnw@gnu.org>
5392 * align.el: Test align-region-separate to see if it's a symbol.
5394 2000-08-28 John Wiegley <johnw@gnu.org>
5396 * eshell/esh-util.el (eshell-flatten-list): Made this function
5397 into a defsubst form. It gets used very frequently, although
5398 calls don't occur all that often.
5400 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5403 * eshell/esh-cmd.el (eshell-rewrite-while-command):
5404 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5406 (eshell-copy-handles): Created a new macro for duplicating the
5407 current set of open handles. This is needed by the looping
5409 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5410 is not incorrectly stomped on.
5412 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5413 declaration for pcomplete-use-paring.
5414 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5415 value of eshell-cmpl-use-paring.
5416 * pcomplete.el (pcomplete-use-paring): New config variable, to
5417 indicate whether paring should be used.
5418 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5419 completion alternatives that have already been used.
5421 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5422 bound to C-c C-y, which will repeat the previous N arguments
5423 (based on prefix argument).
5424 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5426 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5427 if there is no *Help* buffer. This is for XEmacs, which renames
5428 its help buffers uniquely. TODO: Find out what the current buffer
5431 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5432 first entry that correlates to a passwd/group number. Later
5433 entries (used for group/user name aliasing to multiple IDs) are
5436 * eshell/em-xtra.el (eshell/expr):
5437 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5438 (eshell-grep, eshell/diff, eshell/locate):
5439 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5440 argument list, before passing it to the system command.
5442 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5443 `find-tag' for use at final position in Eshell buffers (which
5444 otherwise triggers an error on Emacs 21).
5445 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5446 buffer, if it is currently bound to `find-tag'.
5448 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5449 in the list of matched Makefile names.
5450 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5451 directory, prefer its contents to Makefile.
5453 * eshell/em-dirs.el (eshell/cd): cd commands that look up
5454 directory parts (like "cd old new", or "cd =regexp"), are now case
5455 sensitive on non-Windows/DOS platforms.
5457 * eshell/esh-mode.el (eshell-parse-command-input): When a user
5458 types RET after an open delimiter (like "), display a message
5459 indicating that Eshell is waiting for the closing delimiter.
5461 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5462 environment variables.
5464 * eshell/em-unix.el (eshell/diff): Added logic to fail more
5465 gracefully if the user enters incorrect arguments.
5467 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5470 * eshell/esh-var.el (eshell-interpolate-variable):
5471 * eshell/esh-mode.el (eshell-move-argument):
5472 * eshell/em-unix.el (eshell-du-sum-directory):
5473 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5474 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5477 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5478 to ensure the `preserve' flag gets propagated when doing recursive
5481 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
5483 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5484 Don't convert \n into \0177 in memory.
5485 (eshell-read-history, eshell-write-history): Convert \n to \0177,
5486 and back again, when reading and writing.
5488 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
5490 * eshell/esh-util.el (eshell-processp): Added to relieve constant
5491 testing of `fboundp' on `processp'.
5493 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5494 (eshell/jobs): Don't call process-list if it is not bound.
5495 (eshell-gather-process-output): Support systems where async
5496 subprocesses aren't supported.
5497 (eshell-scratch-buffer, eshell-last-sync-output-start): New
5500 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5501 eshell-do-eval returns t.
5502 (eshell-do-pipelines-synchronously): New defmacro.
5503 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5504 when async subprocesses aren't supported.
5505 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
5506 if async subprocesses aren't supported.
5507 (eshell-resume-command): Don't assume STATUS is a string.
5509 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5511 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5512 (eshell-close-target, eshell-get-target): Use eshell-processp.
5513 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5515 (eshell-get-target, eshell-create-handles): Doc fix.
5517 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
5519 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5520 criterion to include commands that output something, as long as it
5521 leaves both the command and the end-of-buffer visible when the
5523 (eshell-review-quick-commands): Adjust the help doc string
5526 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
5528 * locate.el (locate): Cleaned up locate command's interactive prompting
5529 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5531 * filecache.el (file-cache-case-fold-search): New variable
5532 (file-cache-assoc-function): New variable
5533 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5534 Use file-cache-case-fold-search variable
5535 (file-cache-add-file): Use file-cache-assoc-function
5536 (file-cache-delete-file): likewise
5537 (file-cache-directory-name): likewise
5538 (file-cache-debug-read-from-minibuffer): likewise
5540 2000-08-28 Gerd Moellmann <gerd@gnu.org>
5542 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5543 (abbrev-table-name): New function.
5544 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5545 If non-nil list local abbrev, only.
5547 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
5549 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5550 from Gnus support code, and use special article copy buffer
5551 `(gnus-original-article-buffer)' instead. This allows to get rid
5552 of article-hide-headers usage (which breaks in the latest Gnus
5553 version). Thanks to Detlev Zundel.
5555 2000-08-28 Kenichi Handa <handa@etl.go.jp>
5557 * international/quail.el (quail-use-package): Hide "... loaded"
5559 (quail-start-translation, quail-start-conversion): Likewise.
5561 * international/kkc.el (kkc-region): Hide "... loaded" message.
5563 2000-08-27 Dave Love <fx@gnu.org>
5565 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5567 2000-08-27 Miles Bader <miles@gnu.org>
5569 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5571 2000-08-27 Kenichi Handa <handa@etl.go.jp>
5573 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5574 'ja-dic-cnv), not (require 'skkdic-cnv).
5576 2000-08-26 Miles Bader <miles@gnu.org>
5578 * faces.el (face-x-resources): Add entry for :inherit.
5579 * cus-face.el (custom-face-attributes): Add support for :inherit
5580 attribute. Add support for relative face heights.
5581 (custom-face-attributes-get): Treat `nil' as being a default value
5582 for :inherit (as well as `unspecified').
5584 * faces.el (set-face-attribute): Update doc string.
5585 (face-attribute-name-alist): Add :inherit.
5586 (face-valid-attribute-values): Handle :inherit.
5587 (face-read-string): Rephrase prompt to be less confusing.
5588 Assume that DEFAULT is a string, since we must return a string.
5589 (face-read-integer): Use `format' to turn DEFAULT into an
5590 acceptable default for face-read-string. Match NEW-VALUE against
5591 the string "unspecified", not the symbol `unspecified', since
5592 that's what face-read-string returns.
5593 (read-face-attribute): Lookup a name for old-value in valid, and
5594 use it as a default if we find one. Treat all values from
5595 face-read-string as strings. If the default is used, don't do any
5596 more processing on the value, just use the old value directly.
5597 (read-face-and-attribute, modify-face): Tweak prompt.
5598 (read-face-name): Don't assume prompt ends with a space.
5600 * faces.el (describe-face): Add support for :inherit attribute.
5602 2000-08-25 Kenichi Handa <handa@etl.go.jp>
5604 * terminal.el (terminal-emulator): Fix args to `concat'. Now
5605 concat doesn't accept interger.
5607 * international/kkc.el: Remove SKK from Keywords. Require
5608 ja-dic-utl instead of skkdic-utl.
5610 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5611 Provide ja-dic-cnv instead of skkdic-cnv.
5612 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
5613 (iso-2022-7bit-short): Add safe-charsets property.
5614 (skkdic-convert-postfix): Search Japanese chou-on character in
5615 addition to Hiragana character.
5616 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5617 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5618 (batch-skkdic-convert): Likewise.
5620 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5621 Provide ja-dic-utl instead of skkdic-utl.
5622 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5624 2000-08-24 Dave Love <fx@gnu.org>
5626 * disp-table.el (standard-display-default): Make the test of `l'
5629 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5632 * international/iso-ascii.el: Make pilcrow convenient string
5633 consistent with section.
5634 (iso-ascii-display): Set up multibyte characters as well as
5637 2000-08-24 Kenichi Handa <handa@etl.go.jp>
5639 * international/mule-cmds.el (reset-language-environment): Set
5640 default-process-coding-system to '(undecided . iso-latin-1), which
5641 makes process I/O almost consistent with file I/O. Call this
5642 function when mule-cmds.el[c] is loaded.
5644 2000-08-22 Andrew Innes <andrewi@gnu.org>
5646 * makefile.w32-in: New file.
5648 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
5650 * comint.el (comint-output-filter): Compare end of
5651 comint-last-output-overlay with the start of the newly inserted
5652 text, not the end, when deciding whether to extend it.
5653 Set saved-point's insertion type to advance after insertion.
5655 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5656 since this is now done independently of font-lock mode.
5658 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5660 * server.el (server-kill-new-buffers): New user option.
5661 (server-existing-buffer): New buffer-local variable.
5662 (server-visit-files): When using an existing buffer, set
5663 server-existing-buffer to t.
5664 (server-buffer-done): If server-kill-new-buffers is t, kill the
5665 buffer, unless it was already present before visiting it with
5668 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
5670 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5671 even if the display doesn't support colors: some displays will
5672 support bold/underline faces.
5674 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5676 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5678 * startup.el (command-line): If user's init file had an error,
5679 add explanatory text to *Messages*.
5681 2000-08-21 Kenichi Handa <handa@etl.go.jp>
5683 * man.el (Man-getpage-in-background): Decode the process output by
5684 the system locale coding system.
5686 2000-08-20 Dave Love <fx@gnu.org>
5688 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5689 Don't test x-popup-menu.
5690 (function) <complete-function>: Complete only fbound symbols.
5691 <validate, value>: New.
5692 (variable) <complete-function>: Complete only bound symbols.
5693 (coding-system): Add :base-only, :complete-function, :validate,
5694 :value, :prompt-match.
5695 (widget-coding-system-prompt-value): Use read-coding-system and
5697 (editable-field): Add :help-echo.
5698 (widget-push-button-gui, widget-push-button-cache)
5699 (widget-gui-action, widget-editable-list-gui): COmment out, along
5701 (widget-at): Make arg optional.
5702 (widget-echo-help): Adjust for current help-echo calling sequence.
5703 (widget-specify-field, widget-specify-button)
5704 (widget-specify-insert, widget-get-sibling, widget-image-find)
5705 (widget-convert, widget-insert, widget-leave-text)
5706 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5707 (widget-setup, widget-field-find, widget-before-change)
5708 (widget-after-change, widget-default-complete)
5709 (widget-default-create, widget-default-delete)
5710 (widget-push-button-value-create, editable-field)
5711 (widget-field-prompt-value, widget-field-validate)
5712 (widget-choice-value-create, widget-choice-action)
5713 (widget-choice-validate, widget-checklist-add-item)
5714 (widget-radio-add-item, widget-radio-chosen)
5715 (widget-radio-value-inline, widget-editable-list-value-create)
5716 (widget-editable-list-entry-create)
5717 (widget-documentation-link-add)
5718 (widget-documentation-string-value-create)
5719 (widget-regexp-validate, widget-file-complete)
5720 (widget-sexp-validate, widget-plist-convert-widget)
5721 (widget-plist-convert-widget, widget-alist-convert-widget)
5722 (widget-alist-convert-widget, widget-color-complete): Simplify,
5723 particularly to avoid bindings which aren't optimized out.
5725 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
5727 (down-list, backward-up-list, up-list, kill-sexp)
5728 (backward-kill-sexp, mark-sexp): Make arg optional.
5729 (lisp-complete-symbol): Add optional arg PREDICATE.
5731 * cus-start.el: Add display-buffer-reuse-frames,
5732 file-coding-system-alist.
5734 2000-08-20 Gerd Moellmann <gerd@gnu.org>
5736 * startup.el (command-line): Clear realized faces after
5737 modifying TTY color mappings.
5739 2000-08-20 Miles Bader <miles@gnu.org>
5741 * faces.el (face-attr-match-p): Don't return true if ATTRS are
5742 merely a subset of FACE's attributes.
5744 2000-08-19 Miles Bader <miles@gnu.org>
5746 * comint.el (comint-output-filter): Save the point with a marker,
5747 not just a buffer position.
5749 * international/mule.el (set-buffer-process-coding-system): Make
5750 interactive prompt less confusing.
5752 2000-08-19 Gerd Moellmann <gerd@gnu.org>
5754 * hilit-chg.el: General cleanup of doc strings, comments and
5757 2000-08-19 Miles Bader <miles@gnu.org>
5759 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
5760 Compiler macro removed; beginning-of-line is no longer always
5761 equivalent to forward-line, in the presence of fields.
5763 * comint.el (comint-output-filter): Remove ad-hoc saving of
5764 restriction, and just use save-restriction, now that it works
5765 correctly. Don't adjust comint-last-input-start to account for
5766 our insertion; it shouldn't have moved because we don't use
5767 insert-before-markers anymore. Comment out call to
5768 `force-mode-line-update'; why is it here?
5770 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
5771 while checking for prompt to delete. Use `forward-line 0'
5772 instead of beginning-of-line.
5773 (gud-filter): Temporarily widen gud comint buffer while
5776 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
5778 * progmodes/sh-script.el: Big bag of typos.
5780 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
5781 check since ispell-process is not bound when ispell is not yet loaded.
5783 2000-08-18 Dave Love <fx@gnu.org>
5785 * image.el (find-image): Copy `spec' before using plist-put.
5787 2000-08-18 Gerd Moellmann <gerd@gnu.org>
5789 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
5792 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
5793 backward-kill-sexp, analogous to kill-sexp.
5795 * progmodes/icon.el (icon-indent-line)
5796 (icon-is-continuation-line): Handle comments specially.
5798 2000-08-17 Ken Stevens <k.stevens@ieee.org>
5800 * ispell.el: Set to standard author/maintainer/keyword fields.
5801 Fine tuning to menu map appearance and operation, and added help.
5802 Remove `start' and `end' error messages when compiling.
5803 (ispell-choices-win-default-height): Fixed comment string.
5804 (ispell-dictionary-alist-1): Fixed regexp in castellano and
5805 castellano8 dictionaries.
5806 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
5807 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
5808 dictionary, added italiano dictionary.
5809 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
5811 (ispell-tex-skip-alists): Added psfig support.
5812 (ispell-skip-html): Renamed from ispell-skip-sgml.
5813 (ispell-begin-skip-region-regexp, ispell-skip-region)
5814 (ispell-minor-check): Improved html skipping support to skip across
5815 code, and recognize `&' commands without propper `;' syntax;
5816 (ispell-process-line): Fix alignment error when manually
5817 correcting spelling.
5818 (ispell): Fix comment string.
5819 (ispell-add-per-file-word-list): Always put word list on new line.
5821 2000-08-17 Gerd Moellmann <gerd@gnu.org>
5823 * format.el (format-encode-run-method): Fix error message to say
5824 `encode' instead of `decode'. Use save-window-excursion around
5825 shell-command-on-region as in format-decode-run-method because
5826 shell-command-on-region can display a buffer with error output.
5827 (format-decode): Don't record undo information for the decoding.
5828 (format-annotate-function): Add parameter FORMAT-COUNT. Make
5829 that number part of the temporary buffer name so that more than
5830 one decoding using a temporary buffer can happen safely.
5832 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
5833 of `A-z' in the regexp.
5835 * hilit-chg.el: Fix typos in commentary.
5837 * help.el (view-emacs-news): Rewritten for new naming scheme
5840 * startup.el (command-line): Pop to *Messages* in case an error
5841 is signaled while loading user-init-file.
5843 2000-08-17 Andreas Schwab <schwab@suse.de>
5845 * files.el (insert-directory): Don't lose original file name,
5846 undoing an undocumented change.
5848 2000-08-17 Alex Schroeder <alex@gnu.org>
5850 * sql.el (sql-magic-go): Use comint-bol.
5851 (sql-copy-column): Use comint-line-beginning-position.
5852 (comint-line-beginning-position): Define a replacement for
5853 comint-line-beginning-position if it is not fboundp.
5855 2000-08-17 Alex Schroeder <alex@gnu.org>
5857 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
5858 it didn't have any effect anyway.
5860 2000-08-17 Alex Schroeder <alex@gnu.org>
5862 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
5863 --pset and pager=off instead of sending \\o|cat at the beginning
5866 2000-08-17 Miles Bader <miles@gnu.org>
5868 * progmodes/octave-inf.el: Add compatibility definition of
5869 comint-line-beginning-position.
5871 2000-08-17 Kenichi Handa <handa@etl.go.jp>
5873 * startup.el (normal-top-level): Look in each dir in load-path for
5874 a leim-list.el file too. This assures of loading leim-list.el
5875 that is created at Emacs installation time even if a user have his
5878 2000-08-17 Miles Bader <miles@gnu.org>
5880 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
5881 foreground color to black if the background is dark.
5883 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
5885 * loadhist.el (unload-feature): Typo.
5887 * finder.el (finder-compile-keywords):
5888 * cus-dep.el (custom-make-dependencies): Add local-variable settings
5889 to the generated file.
5891 * mail/mh-e.el (mh-make-local-vars):
5892 Replace make-variable-buffer-local with make-local-variable.
5895 * options.el (Edit-options-{set,toggle,t,nil}):
5896 * mail/mailabbrev.el (mail-abbrevs-mode):
5897 * textmodes/tex-mode.el (tex-expand-files):
5898 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
5900 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
5902 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
5903 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
5904 Allow going past the last element.
5905 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
5906 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
5907 (cvs-mouse-toggle-mark): Don't move point.
5908 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
5910 * progmodes/compile.el (grep): Provide a default set of files.
5911 (next-error): Docstring fix.
5912 (compilation-find-file): Avoid find-file (fails in a dedicated window).
5914 * emacs-lisp/easy-mmode.el (define-minor-mode):
5915 Use `symbol-value' to keep the byte-compiler quiet.
5917 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
5918 (diff-find-source-location): New fun, extracted from diff-goto-source.
5919 (diff-goto-source): Use it.
5920 (diff-next-complex-hunk, diff-filter-lines): New function.
5921 (diff-apply-hunk): New command.
5923 * smerge-mode.el (smerge-mode-menu): Doc fix.
5925 * msb.el (msb-mode): Define it in terms of define-minor-mode.
5927 2000-08-16 Dave Love <fx@gnu.org>
5929 * windmove.el (windmove) <defgroup>: Add :version.
5931 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
5932 (goto-address-fontify-p, goto-address-highlight-p)
5933 (goto-address-url-face, goto-address-url-mouse-face)
5934 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
5935 (goto-address-url-regexp): Use thing-at-point-url-regexp.
5936 (goto-address-fontify, goto-address-at-mouse): Simplify,
5937 (goto-address-at-point): browse-url-url-at-point,
5938 goto-address-find-address-at-point can return nil.
5939 (goto-address-find-address-at-point): Return nil on failure.
5941 * align.el (align) <defgroup>: Add :version.
5943 * calculator.el (calculator): Add :version.
5944 (calculator): Use two lines for calculator window if `modeline'
5947 * play/5x5.el: Doc fixes.
5948 (5x5) <defgroup>: Add :version.
5950 * play/fortune.el (fortune) <defgroup>: Add :version.
5951 (fortune-append): Fix error message.
5952 (fortune-from-region): Doc fix.
5954 * play/pong.el (pong): Doc fix.
5956 * play/morse.el: Keywords, commentary, autoloads.
5958 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
5960 * desktop.el (desktop-save): Don't look at symbol-value of a
5961 member of minor-mode-alist, unless it is boundp.
5963 2000-08-16 Sam Steingold <sds@gnu.org>
5965 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
5966 `while'; use `with-current-buffer' instead of `save-excursion'.
5967 Removed unnecessary kludges now that "*Buffer List*" is excluded.
5969 2000-08-16 Kenichi Handa <handa@etl.go.jp>
5971 * international/ccl.el (declare-ccl-program): Docstring modified.
5972 (ccl-execute-with-args): Likewise.
5974 2000-08-16 Miles Bader <miles@gnu.org>
5976 * progmodes/sql.el: Add compatibility definition of
5977 comint-line-beginning-position.
5979 2000-08-15 Gerd Moellmann <gerd@gnu.org>
5981 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
5982 'buffer-menu' property.
5983 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
5985 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
5986 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
5989 * buff-menu.el (list-buffers-noselect): Don't display the
5990 *Buffer List* buffer.
5992 * font-lock.el: Require jit-lock to prevent a very late
5993 `Loading jit-lock' message.
5995 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
5996 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
5999 2000-08-15 Miles Bader <miles@gnu.org>
6001 * textmodes/ispell.el (ispell-graphic-p): New constant.
6002 (ispell-choices-win-default-height, ispell-help): Use
6003 `ispell-graphic-p' instead of `xemacsp'.
6005 2000-08-15 Dave Love <fx@gnu.org>
6007 * simple.el: Autoload widget-convert when compiling.
6008 (mail-user-agent): Doc fix.
6010 * help.el (function-called-at-point, variable-at-point): Use
6012 (help-manyarg-func-alist): Add insert-and-inherit.
6014 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
6016 * delsel.el (delsel-unload-hook): New function.
6018 * find-file.el: Doc fixes. Move provide to end.
6019 (ff) <defgroup>: Add :link.
6020 (ff-goto-click): Deleted.
6021 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
6022 Use mouse-set-point.
6024 * textmodes/tildify.el: Doc fixes.
6025 (tildify) <defgroup>: Add:version.
6027 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
6028 (glasses-custom-set): Use set-default, not set.
6029 (minor-mode-alist): Propertize the lighter.
6030 (glasses-mode): Provide optional arg.
6032 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
6033 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
6034 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
6035 option. Provide :type.
6036 (cwarn-configuration): Provide :type.
6037 (cwarn-mode): Doc fix.
6039 * add-log.el (change-log-merge): Doc fix.
6040 (change-log-redate): New command.
6042 * net/browse-url.el (browse-url-filename-alist): Add a clause for
6044 (browse-url): Use dolist, not mapcar.
6045 (browse-url-at-point): Check for null url.
6046 (browse-url-event-buffer, browse-url-event-point): Functions
6048 (browse-url-at-mouse, browse-url-netscape): Simplify.
6050 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
6052 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
6053 Fix previous change to mapcan.
6054 (msb--init-file-alist, msb--add-separators)
6055 (msb--make-keymap-menu): Simplify.
6056 (msb--choose-file-menu): Use copy-sequence.
6057 (msb-mode-map): Add title to keymap.
6058 (msb-unload-hook): New function.
6060 * bs.el: Fix indentation.
6061 (bs) <defgroup>: Add :links.
6063 (bs-apply-sort-faces): Don't use window-system.
6064 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
6066 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
6068 * calendar/timeclock.el (timeclock-file): Run .timelog through
6069 convert-standard-filename.
6071 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6073 * emacs-lisp/authors.el: New file.
6075 * paren.el (show-paren-priority): New user option.
6076 (show-paren-function): Set overlay priorities to
6077 show-paren-priority.
6079 2000-08-14 Miles Bader <miles@gnu.org>
6081 * comint.el (comint-bol): Use `forward-line 0' instead of calling
6082 beginning-of-line with inhibit-field-text-motion bound.
6084 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6086 * calendar/timeclock.el: New file.
6088 2000-08-14 David Ponce <david@dponce.com>
6090 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
6091 `widget-button-click'. so that one can use left mouse button to
6092 click on dialog buttons.
6094 2000-08-14 Emmanuel Briot <briot@gnat.com>
6096 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
6097 identifiers, since XML is case sensitive
6099 2000-08-12 Miles Bader <miles@gnu.org>
6101 * comint.el (comint-output-filter): Don't bother frobbing
6102 window-start, it doesn't seem to be necessary.
6104 * comint.el (comint-send-string, comint-send-region): Make into
6105 real functions. Snapshot the prompt before sending.
6107 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6109 * info.el (Info-find-emacs-command-nodes): Rewrite to use
6110 technique similar to Info-index, instead of relying on specific
6111 names of relevant Index nodes.
6112 (Info-goto-emacs-command-node): Bind Info-history to nil when
6113 going to the first node found by Info-find-emacs-command-nodes.
6115 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6117 * menu-bar.el (menu-bar-help-menu): Add a :help string.
6119 2000-08-10 Miles Bader <miles@gnu.org>
6121 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
6123 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6125 * info.el (Info-file-list-for-emacs): More elements for the
6126 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
6129 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
6131 * comint.el (comint-send-input): Make the newline boundary overlay
6132 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
6133 (comint-output-filter): Use `insert' instead of
6134 `insert-before-markers'. Extend comint-last-output-overlay when
6135 necessary since we can't rely on insert-before-markers to do it.
6136 * gud.el (gud-filter): Use `with-current-buffer' instead of
6137 save-excursion when inserting the output, so that point gets
6138 updated correctly; the old method relied on a rather dodgy
6139 side-effect of comint-output-filter to avoid the effect of
6142 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6144 * files.el (recover-file): Call insert-directory instead of
6145 invoking `ls' directly.
6147 2000-08-10 Miles Bader <miles@gnu.org>
6149 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
6150 (comint-last-prompt-overlay): New variables.
6151 (comint-output-filter): Implement prompt highlighting.
6152 (comint-snapshot-last-prompt): New function.
6153 (comint-send-input): Snapshot the last prompt.
6154 Use comint-highlight-input-face.
6155 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
6156 Use defface instead of defcustom.
6157 (send-invisible, comint-send-eof): Snapshot the last prompt.
6158 (comint-delchar-or-maybe-eof): Use comint-send-eof.
6159 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
6161 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
6163 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
6164 (regexp-opt-group): Use a list of chars for `letters'.
6165 (regexp-opt-charset): `chars' is now a list of chars.
6166 Use a char-table rather than a vector so it works for multibyte chars.
6168 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
6169 Set cvs-minor-current-files to the selected fileinfo.
6170 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
6171 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
6173 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
6175 * files.el (insert-directory): Don't call access-file on
6176 directories on DOS and Windows.
6178 2000-08-09 Kenichi Handa <handa@etl.go.jp>
6180 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
6181 longer if necessary.
6182 (ccl-embed-code): Call ccl-embed-data to store CODE in
6185 2000-08-09 Miles Bader <miles@gnu.org>
6187 * comint.el (comint-output-filter): Properly handle the case where
6188 the text surrounded by comint-last-output-overlay was deleted.
6190 2000-08-08 Gerd Moellmann <gerd@gnu.org>
6192 * info.el (Info-insert-dir): Use Info-additional-directory-list if
6194 (Info-file-list-for-emacs): Remove "info" from the list because
6195 that leads to trying to use the documentation from file `info'
6196 in various situations where it isn't appropriate, for instance
6199 * ffap.el (ffap-read-file-or-url-internal): Handle case that
6200 DIR and/or STRING are nil.
6202 * progmodes/compile.el (compilation-setup): Make variable
6203 compilation-error-screen-columns buffer-local, as some comment
6204 in the code suggests it should be.
6206 * files.el (auto-mode-interpreter-regexp): New variable.
6207 (set-auto-mode): Use it.
6209 * indent.el (indent-for-tab-command): Doc fix.
6211 * mouse-sel.el (mouse-sel-mode): Doc fix.
6213 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
6216 * help.el (print-help-return-message): When
6217 display-buffer-reuse-frames is set, let the help window been quit,
6218 instead of deleting it, which might delete a reused frame.
6220 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
6222 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
6223 rename a directory to a name that differs only by its letter case.
6225 2000-08-08 Kenichi Handa <handa@etl.go.jp>
6227 * international/quail.el (quail-define-rules): Handle Quail decode
6228 map correctly. Add code for supporting annotations.
6229 (quail-install-decode-map): New function.
6230 (quail-defrule-internal): New optional arguments decode-map and
6232 (quail-advice): New function.
6234 2000-08-07 Sam Steingold <sds@gnu.org>
6236 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
6237 `defconst', `define-condition', `with-slots'.
6238 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
6240 2000-08-03 Miles Bader <miles@gnu.org>
6242 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6244 (comint-prompt-regexp, comint-get-old-input): Document dependence on
6245 comint-use-prompt-regexp-instead-of-fields.
6246 (comint-send-input): Add `input' field property to stuff we send to
6247 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
6248 (comint-output-filter): Add `output' field property to process
6249 output, if comint-use-prompt-regexp-instead-of-fields is nil.
6250 (comint-replace-by-expanded-history)
6251 (comint-get-old-input-default, comint-show-output)
6252 (comint-backward-matching-input, comint-forward-matching-input)
6253 (comint-next-prompt, comint-previous-prompt): Use field
6254 properties if comint-use-prompt-regexp-instead-of-fields is nil.
6255 (comint-line-beginning-position): New function.
6256 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
6257 (comint-replace-by-expanded-history-before-point): Use
6258 comint-line-beginning-position and line-end-position.
6259 (comint-last-output-overlay): New variable.
6260 (comint-mode): Make `comint-last-output-overlay' buffer-local.
6262 * shell.el (shell-prompt-pattern): Doc change.
6263 (shell-backward-command): Use line-beginning-position.
6265 * gud.el (gud-gdb-complete-command): Use
6266 comint-line-beginning-position.
6268 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
6269 comint-bol doesn't actually go to the beginning of the line.
6271 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
6272 if comint-use-prompt-regexp-instead-of-fields is non-nil.
6273 (try-expand-line-all-buffers): Likewise.
6275 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
6276 explicitly matching comint-prompt-regexp.
6277 (sql-copy-column): Use comint-line-beginning-position instead of
6278 explicitly matching comint-prompt-regexp.
6280 * progmodes/octave-inf.el (inferior-octave-complete): Use
6281 comint-line-beginning-position.
6283 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
6285 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
6286 looking for a prompt, use `forward-line 0' instead of
6287 `beginning-of-line', to avoid getting caught by an input field.
6289 2000-08-07 Gerd Moellmann <gerd@gnu.org>
6291 * files.el (shell-quote-wildcard-pattern): Make sure to return
6292 PATTERN, in the Unix case.
6294 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
6296 * play/zone.el (zone): Discard any pending input before running
6297 the randomly-chosen pgm.
6299 2000-08-07 Kenichi Handa <handa@etl.go.jp>
6301 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
6302 checking the existence of any multibyte characters.
6304 2000-08-06 Gerd Moellmann <gerd@gnu.org>
6306 * help.el (describe-mode): Test minor-mode symbol for being
6307 bound before testing its value for being nil.
6309 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
6310 `first', `second', and `third'.
6312 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
6313 (second): Make it an alias for `cadr'.
6315 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
6317 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
6318 types of display support faces now.
6320 2000-08-05 Gerd Moellmann <gerd@gnu.org>
6322 * pcvs.el (require): Require `cl' during compilation, only.
6324 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
6325 (toplevel): Remove `remq' and `remove' from autoloads.
6326 (cl-fake-autoloads): New variable. If set, arrange for an error
6327 when CL functions etc. are autoloaded.
6329 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
6331 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
6333 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
6334 popped up, but the user clicks outside the menu, return an empty
6335 regexp (that causes unhighlight-regexp to have no effect).
6337 * menu-bar.el (menu-bar-games-menu): Add Zone.
6339 * hi-lock.el (toplevel): Require font-lock.
6341 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6343 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
6344 (ebnf-8-bit-chars): New var for bug fix.
6345 (ebnf-string): Bug fix.
6347 2000-08-03 Sam Steingold <sds@gnu.org>
6349 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
6350 instead of `buffer-string'.
6351 (require 'cl): Always, not just when compiling.
6352 `ignore-errors' in `interactive', `list*', `defun*' &c make this
6355 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
6357 * international/mule-cmds.el (select-safe-coding-system): Make
6358 the message text about selecting a safe coding system more clear.
6360 2000-08-02 Gerd Moellmann <gerd@gnu.org>
6362 * hi-lock.el: New file.
6364 * play/zone.el: New file.
6366 * replace.el (occur): Set tab-width in the *Occur* buffer to the
6367 value of tab-width in the original buffer. Choose a line number
6368 format that's a multiple of the original buffer's tab width, so
6369 that lines appear right.
6371 * textmodes/ispell.el (ispell): New function, replacing an alias.
6372 Spell-check active region if in transient-mark-mode and mark
6373 is active; otherwise spell-check buffer.
6375 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6377 * ps-mule.el: Fix a customization problem on
6378 ps-mule-font-info-database-default.
6380 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
6382 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6383 display-mouse-p instead of window-system.
6384 (ebrowse-member-mode-map): Ditto.
6386 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6388 * progmodes/ebnf2ps.el: Update ps-print functions call.
6389 Indentation fix. Doc fix.
6390 (ebnf-version): New version number (3.2).
6391 (ebnf-format-color, ebnf-begin-job): Code fix.
6393 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
6395 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6396 font lock support on window-system.
6397 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6399 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6400 display-color-p, if fboundp, instead of window-system.
6402 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
6404 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6405 instead of window-system.
6407 * wid-edit.el (widget-choose): Use display-mouse-p instead of
6409 (widget-choice-mouse-down-action): Use display-popup-menus-p
6410 instead of window-system.
6412 * strokes.el (strokes-file): Run the file name through
6413 convert-standard-filename.
6414 (strokes-mode): Call display-mouse-p instead of looking at
6415 window-system. Change the error message accordingly.
6417 * progmodes/cpp.el (toplevel): Support faces on tty's.
6419 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6420 (lm-plot-square, lm-init-display): Don't use window-system.
6422 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6423 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6425 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6426 instead of looking at window-system.
6428 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6430 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6431 of testing if iswitchb-prepost-hooks is bound, because the
6432 latter will always be true when invoking a recursive minibuffer
6433 from an active Iswitchb buffer.
6435 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
6437 * files.el (shell-quote-wildcard-pattern): New function.
6438 (insert-directory): Call it. Only prepend "\" to command on Unix
6439 and GNU/Linux systems.
6441 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6443 * eshell/esh-groups.el: Change custom :link file names
6444 from `eshell.info' to `eshell'.
6446 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
6448 * dired.el (dired-build-subdir-alist): Expand subdirectory names
6449 correctly in recursive ange-ftp listings.
6451 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6453 * ps-print.el: Fix bug 1: if ps-font-size-internal,
6454 ps-header-font-size-internal and
6455 ps-header-title-font-size-internal variables are not set,
6456 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
6457 face text property is (foreground-color . COLOR) or
6458 `(background-color . COLOR)', ps-print crashes. Doc fix.
6459 (ps-print-version): New version number (5.2.4).
6460 (ps-plot-region): Code fix.
6461 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6462 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6465 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
6467 * glasses.el (glasses-make-readable): Fix uncapitalization of
6468 identifiers like `myXMLDocument'.
6470 2000-07-28 Karl Fogel <kfogel@red-bean.com>
6472 * mail/mail-hist.el (mail-hist-previous-input)
6473 (mail-hist-next-input): Do the obvious code factorization.
6474 (mail-hist-retrieve-and-insert): New func, contains common
6476 If inserting a message body, leave point at top.
6478 2000-07-28 Sam Steingold <sds@gnu.org>
6480 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6481 Use `<=', not `<' to compare times!
6482 (ange-ftp-ls): Remove.
6484 2000-07-27 Gerd Moellmann <gerd@gnu.org>
6486 * play/cookie1.el: Add explanation of how to make cookie.el
6487 compatible with strfile(1) to comment.
6489 * subr.el (remove, remq): New functions.
6491 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6492 escape `*' in regexps.
6493 (midnight-find): Reverse order of arguments in the funcall of
6496 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6499 * play/meese.el: Add Commentary section.
6501 2000-07-27 Alex Schroeder <alex@gnu.org>
6503 * sql.el (sql-ms): Added autoload cookie.
6504 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6505 (sql-oracle): Ditto.
6506 (sql-help): Doc change.
6508 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6509 types and exceptions.
6511 2000-07-27 Alex Schroeder <alex@gnu.org>
6513 * sql.el (sql-placeholder-history): New variable.
6514 (sql-query-placeholders-and-send): New function that will query
6515 the user and replace placeholders with user input.
6516 (sql-oracle): If running on NT, set comint-input-sender to
6517 sql-query-placeholders-and-send.
6519 (sql-stop): If in the SQLi buffer, insert stop notification, else
6520 present it as a message.
6522 2000-07-27 Alex Schroeder <alex@gnu.org>
6524 * sql.el (sql-input-ring-separator): Doc change.
6525 (sql-input-ring-file-name): Doc change.
6526 (sql-interactive-mode): Use `sql-input-ring-separator' and
6527 `sql-input-ring-file-name' to set the comint-mode equivalents
6528 without making them local variables.
6529 (sql-stop): Don't bind `sql-input-ring-separator' and
6530 `sql-input-ring-file-name' dynamically to their comint-mode
6533 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6535 * international/mule.el (register-char-codings): New function.
6536 (make-coding-system): Handle `safe-chars' specification in the arg
6539 * international/mule-cmds.el
6540 (find-coding-systems-region-subset-p): This function deleted.
6541 (sort-coding-systems-predicate): New variable.
6542 (sort-coding-systems): New function.
6543 (find-coding-systems-region): Use
6544 find-coding-systems-region-internal.
6545 (find-coding-systems-string): Use find-coding-systems-region.
6546 (find-coding-systems-for-charsets): Check
6547 char-coding-system-table.
6548 (select-safe-coding-system-accept-default-p): New variable.
6549 (select-safe-coding-system): Mostly rewritten. New argument
6551 (select-message-coding-system): Call select-safe-coding-system
6552 with ACCEPT-DEFAULT-P arg.
6553 (reset-language-environment): Reset default-sendmail-coding-system
6554 to the default value iso-latin-1.
6555 (set-language-environment): Don't set the obsolete variable
6556 charset-origin-alist.
6558 * international/codepage.el (cp-coding-system-for-codepage-1):
6559 Give `safe-chars' property to make-coding-system.
6561 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6562 calling select-message-coding-system twice.
6564 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6565 instead of `safe-charsets'.
6566 (cyrillic-alternativnyj): Likewise.
6567 (ccl-encode-alternativnyj): Don't check the charset
6570 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6572 * composite.el (compose-chars-after): Preserve match data.
6574 2000-07-26 Sam Steingold <sds@gnu.org>
6576 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6577 (ange-ftp-real-file-newer-than-file-p): New function.
6578 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6579 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6581 * tooltip.el (tooltip-float-time): Removed (use `float-time').
6582 * midnight.el (midnight-float-time): Ditto.
6584 2000-07-26 Andreas Schwab <schwab@suse.de>
6586 * files.el (normal-backup-enable-predicate): Correct
6587 interpretation of the return value of compare-strings.
6589 2000-07-26 Gerd Moellmann <gerd@gnu.org>
6591 * isearch.el (isearch-resume): New function.
6592 (isearch-done): Add something to command-history to resume
6594 (isearch-yank-line, isearch-yank-word): Use
6595 buffer-substring-no-properties instead of buffer-substring.
6597 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6598 of flyspell-mouse-map.
6600 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6601 duplicate definition.
6602 (makefile-mode): Remove duplicate setting of local-abbrev-table.
6604 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6605 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6607 2000-07-25 Sam Steingold <sds@gnu.org>
6609 * net/ange-ftp.el: Get modtime over the net.
6610 (ange-ftp-file-modtime): New function.
6611 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6612 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6614 (ange-ftp-dot-to-slash): New function.
6615 (ange-ftp-fix-name-for-vms): Use it.
6617 * midnight.el (midnight-buffer-display-time): Use
6618 `with-current-buffer'.
6620 2000-07-25 Gerd Moellmann <gerd@gnu.org>
6622 * find-dired.el: Update copyright notice.
6623 (find-dired): Offer to kill a running `find'.
6625 * enriched.el (enriched-face-ans): For a `foreground-color'
6626 property, return '(("x-color" COLOR))' so that COLOR will be
6627 output as a parameter of the x-color annotation. Likewise for the
6628 `background-color' property. In the case of normal face
6629 properties, don't return annotations for unspecified foreground
6630 and background face attributes.
6632 2000-07-25 Kenichi Handa <handa@etl.go.jp>
6634 * language/japan-util.el (japanese-katakana-region): Fix handling
6637 2000-07-25 Miles Bader <miles@gnu.org>
6639 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6640 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
6643 2000-07-24 Andrew Innes <andrewi@gnu.org>
6645 * timer.el (timer-activate-when-idle): Add optional parameter
6646 DONT-WAIT. Update docstring.
6647 (run-with-idle-timer): Specify extra parameter to
6648 timer-activate-when-idle, so that timer will be activated
6649 immediately if Emacs is already idle.
6651 * w32-fns.el (w32-using-nt): Fix docstring.
6653 2000-07-24 Dave Love <fx@gnu.org>
6655 * mouse.el (popup-menu): Set last-command-event.
6656 (mouse-major-mode-menu-prefix): Declare.
6658 2000-07-24 Gerd Moellmann <gerd@gnu.org>
6660 * textmodes/flyspell.el: Update to author's version 1.5d.
6662 * progmodes/hideshow.el: Update copyright notice.
6664 * vcursor.el: Set maintainer to FSF, since author cannot
6667 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
6669 * info.el (Info-goto-emacs-key-command-node): Leave a space after
6672 * mouse.el (popup-menu): Run the keymap through indirect-function,
6673 in case it was defined with define-prefix-key. If the menu is a
6674 list of keymaps, look up the binding of user's choice in each one
6676 (mouse-popup-menubar): If the global and local menu-bar keymaps
6677 don't have a prompt string, create one and insert it into the
6678 keymap. Don't barf if current-local-map returns nil.
6680 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
6682 * dired.el (dired-sort-R-check): Added to allow recursive listing
6684 (dired-sort-other): Use it.
6686 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6688 * Release of cc-mode 5.27
6690 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6692 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6693 c-beginning-of-statement-1 that caused a bad case of recursion
6694 which could consume a lot of CPU in large classes in languages
6695 that have in-expression classes (i.e. Java and Pike).
6697 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6698 statements before top level constructs (i.e. case 6 is moved
6699 before case 5 and is now case 4) to catch in-expression
6700 classes in top level expressions correctly.
6702 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6704 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6705 objc-method-intro. Case 4 removed and case 5I added.
6707 * cc-langs.el (c-append-paragraph-start): New variable used by
6708 c-common-init to get paragraph-start correct.
6709 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6710 initialize paragraph-start to make it correct both with and
6711 without the javadoc special case.
6713 * cc-mode.el (java-mode): Use c-append-paragraph-start to
6714 initialize paragraph-start for javadoc markup.
6716 * cc-vars.el (c-style-variables-are-local-p): Incompatible
6717 change by defaulting this to t. It's motivated by the
6718 confusing behavior that otherwise arise from the style system
6719 when editing both java and non-java files at the same time
6720 (see the comments about style setting in c-common-init).
6722 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6724 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
6725 similar to the one in c-fill-paragraph to check the fill
6726 prefix from the adaptive fill function for sanity.
6728 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6730 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
6733 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6735 * cc-mode.texi Documented the change of cpp-macro.
6737 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6739 * cc-align.el (c-lineup-multi-inher): Handle lines with
6740 leading comma nicely. Extended to handle member initializers
6743 * cc-engine.el: (c-beginning-of-inheritance-list,
6744 c-guess-basic-syntax): Fixed recognition of inheritance lists
6745 when the lines begins with a comma.
6747 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
6749 * cc-vars.el (c-offsets-alist): Changed default for
6750 member-init-cont to c-lineup-multi-inher since it now handles
6751 member initializers and indents better for leading commas.
6753 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6755 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
6756 handling that caused class open lines to be recognized as
6757 statement-conts in some cases.
6759 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
6760 guessed by the adaptive fill function unless point is on the
6761 first line of a block comment.
6763 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
6764 when the buffer ends with a macro continuation char.
6766 * cc-engine.el (c-guess-basic-syntax): Added support for
6767 function definitions as statements in Pike. The first
6768 statement in a lambda block is now labeled defun-block-intro
6769 instead of statement-block-intro.
6771 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
6772 so that the class surrounding point is selected, not the one
6773 innermost in the state.
6775 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
6776 recognition of switch labels having hanging multiline
6779 * cc-engine.el (c-beginning-of-member-init-list): Broke out
6780 some code in c-guess-basic-syntax to a separate function.
6781 * cc-engine.el (c-just-after-func-arglist-p): Fixed
6782 recognition of member inits with multiple line arglists.
6783 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
6784 member-init-cont when the commas are in funny places.
6786 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6788 * cc-defs.el (c-auto-newline): Removed this macro since it's
6791 * cc-engine.el (c-looking-at-bos): New helper function.
6792 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
6793 inexpr and toplevel classes apart in Pike.
6795 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
6798 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
6799 constant, since "class" can introduce an in-expression class
6802 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6804 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
6805 indentation on cpp-macro lines.
6807 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
6808 a syntax modifier like comment-intro, to make it possible to
6809 get syntactic indentation for preprocessor directives. It's
6810 incompatible wrt to lineup functions on cpp-macro, but it has
6811 no observable effect in the 99.9% common case where cpp-macro
6814 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6816 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
6817 member-init-cont when the preceding arglist is several lines.
6819 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6821 * cc-styles.el (c-style-alist): The basic offset for the BSD
6822 style corrected to 8.
6824 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6826 * cc-styles.el (c-style-alist): Adjusted the indentation of
6827 brace list openers in the gnu style.
6829 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6831 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
6833 * cc-cmds.el (c-electric-brace, c-electric-slash,
6834 c-electric-star, c-electric-semi&comma, c-electric-colon,
6835 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
6836 when c-syntactic-indentation is nil.
6838 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
6839 we were left at comments preceding the first statement when
6840 reaching the beginning of the buffer.
6842 * cc-vars.el (c-syntactic-indentation): New variable to turn
6843 off all syntactic indentation.
6845 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6847 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
6848 between the text and the block comment ender when it hangs,
6849 depending on how many there are before the fill.
6851 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6853 * cc-engine.el (c-beginning-of-closest-statement): New helper
6854 function to go back to the closest preceding statement start,
6855 which could be inside a conditional statement.
6856 * cc-engine.el (c-guess-basic-syntax): Use
6857 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
6859 * cc-engine.el (c-guess-basic-syntax): Better handling of
6860 arglist-intro, arglist-cont-nonempty and arglist-close when
6861 the arglist is nested inside parens. Cases 7A, 7C and 7F
6864 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
6865 up-to-date with javadoc 1.2.
6867 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6869 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
6870 multiline Pike type decls.
6872 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6874 * cc-cmds.el (c-indent-new-comment-line): Always break
6875 multiline comments in multiline mode, regardless of
6878 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6880 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
6881 fully::qualified::names in C++ member init lists. Preamble in
6884 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6886 * cc-langs.el (c-common-init): Handling of obsolete variables
6887 moved to c-initialize-cc-mode. More compatible style override
6888 when using global style variables.
6889 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
6890 variables moved here.
6892 * cc-mode.texi: Documented the special behavior of
6893 c-special-indent-hook as a style variable. Don't talk about
6894 doing (c-make-styles-buffer-local t) in a mode hook, since
6895 that's already too late to work right.
6897 * cc-styles.el (c-make-styles-buffer-local): Flag style
6898 variable localness in c-style-variables-are-local-p to make
6899 the compatibility measure in c-common-init work well.
6901 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
6902 longer contain set-from-style.
6903 * cc-styles.el (c-initialize-builtin-style): Don't check for
6904 set-from-style on c-special-indent-hook.
6905 * cc-styles.el (c-copy-tree): Obsolete. The standard function
6906 copy-alist is sufficient now.
6908 * cc-styles.el (c-set-style, c-set-style-1,
6909 c-get-style-variables): Fixes to variable initialization so
6910 that duplicate entries in styles have the same effect
6911 regardless of DONT-OVERRIDE.
6913 * cc-styles.el (c-set-style-2): Fixed bug where the
6914 initialization of inheriting styles failed when the
6915 dont-override flag is set.
6917 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
6920 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6922 * cc-defs.el (c-forward-comment): Removed the workaround
6923 introduced in 5.38 since it had worse side-effects. If a line
6924 contains the string "//\"", it regarded the // as a comment
6925 start since the \ temporarily doesn't have escape syntax.
6927 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
6929 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
6930 ada-xref.el before ada-prj.el, so that the Project menu is created
6931 when ada-prj tries to add to it.
6932 (ada-activate-keys-for-case): Suppress the characters that are not
6933 part of the Ada syntax. Better compatibility with else-mode
6934 (ada-adjust-case-interactive): When auto-casing is not active,
6935 correctly insert newlines (used to insert only ^M). Prevent the
6936 syntax table from being changed in case of an error
6937 (or '_' becomes part of a word and some commands are confused).
6938 Do nothing if ada-auto-case is nil.
6939 (ada-after-keyword-p): Ignore keywords that are also attributes
6940 (ada-batch-reformat): Update usage comment
6941 (ada-call-from-contextual-menu): New function
6942 (ada-case-read-exceptions): Reinitialize the casing exception list
6943 first to nil first, so that the casing exception file can be
6945 (ada-check-defun-name): Handles "configure" keyword for gnatdist
6947 (ada-compile-goto-error): Fix regexp used to detect a file:line
6948 anywhere in the error message
6949 (ada-contextual-menu-last-point): New variable
6950 (ada-create-keymap): If the variable delete-key-deletes-forward is
6951 t on XEmacs, it means that DEL should delete one character
6953 (ada-create-menu): Use :included instead of :visible for XEmacs.
6954 New submenu "Options".
6955 (ada-end-stmt-re): Correctly indent "select ... then abort"
6957 (ada-fill-comment-paragraph): Correctly delete all leading '--'
6958 even if they don't match ada-fill-comment-prefix Fix handling of
6959 paragraphs on the first or last line of a file.
6960 (ada-format-paramlist): Fix handling of default parameter values.
6961 (ada-get-body-name): New function.
6962 (ada-get-current-indent): Optimized by searchling directly for an
6963 existing generic part or a statement outside of it. Handle
6964 ada-indent-align-comments when indenting comments Replaced some
6965 regexps by testing directly the next character. This results in a
6966 huge speedup on some files. New indentation scheme for renames
6967 statements. Stop looking for the 'while' or 'for' associated with
6968 a 'loop' at the first semicolon encountered. A "return" can also
6969 match an anonymous access subprogram declaration.
6970 (ada-get-indent-noindent): Ignore strings and comments when
6971 looking for the keywords "record" and "private".
6972 (ada-goto-matching-decl-start): When matching "if", make sure we
6973 are not in fact seeing "end if". Ignore "when" statements except
6974 when initial keyword was "begin". Fix handling of nested
6975 procedures. Add a recursive call to this function to skip over
6976 other 'end' statmts. Fix indentation for "when .. => begin"
6977 (ada-in-open-paren-p): Fix indentation for complex boolean
6978 expressions, where 'and then', 'or else' and parenthesis
6979 statements are mixed up.
6980 (ada-in-paramlist-p): Skip comments while searching for the
6981 beginning Fix handling of operator declarations.
6982 (ada-indent-align-comments): New variable
6983 (ada-indent-current): Change the syntax table only in the
6984 protected section, so that we are sure it is restored correctly.
6985 (ada-indent-on-previous-lines): Use ada-use-indent and
6986 ada-with-indent Correctly indent "select ... then"
6987 (ada-indent-region): Slight speedup.
6988 (ada-indent-renames): New variable.
6989 (ada-last-which-function-subprog, ada-last-which-function-line):
6991 (ada-looking-at-semi-private): Correctly indent the 'private'
6992 keyword when it is the first word in a package declaration.
6993 (ada-loose-case-word): Stop searching if at the end of the buffer.
6994 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
6995 even if point is not initially at the end of the word.
6996 (ada-matching-decl-start-re): Add "when".
6997 (ada-mode): Add support for abbrev-mode, outline-mode and
6998 which-func-mode Override the old find-file.el entry in
6999 ff-special-constructs since it is using the obsolete
7000 ada-spec-suffix variable
7001 (ada-no-auto-case): New function
7002 (ada-scan-paramlist): When parsing the argument type, accept
7003 spaces (as in "X 'Class", generated by Rational Rose).
7004 (ada-other-file-name): No longer loads the other file.
7005 (ada-popup-menu): Save and restore the current buffer and cursor
7006 position before and after displaying the menu.
7007 (ada-search-ignore-complex-boolean): New function.
7008 (ada-uncomment-region): Emacs21 already knows how to delete
7009 comments not starting in the first column.
7010 (ada-use-indent): New variable
7011 (ada-which-function): New function.
7012 (ada-with-indent): New variable
7013 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
7014 can be batch-compiled from the command line.
7016 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
7017 Add to the menu when the file is loaded, not in ada-mode-hook.
7018 Add -toolbar to the default ddd command Switches moved from
7019 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
7020 ada-prj-default-comp-opt
7021 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
7022 Reference Manual to the menu
7023 (ada-check-current): rewritten as a call to ada-compile-current
7024 (ada-compile): Removed.
7025 (ada-compile-application, ada-compile-current, ada-check-current):
7026 Set the compilation-search-path so that compile.el automatically
7027 finds the sources in src_dir. Automatic scrollong of the
7028 compilation buffer. C-uC-cC-c asks for confirmation before
7030 (ada-compile-current): New parameter, prj-field
7031 (ada-complete-identifier): Load the .ali file before doing
7033 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
7034 conform to gnatmake's behavior.
7035 (ada-find-file-in-dir): New function
7036 (ada-find-references): Set the environment variables for gnatfind
7037 (ada-find-src-file-in-dir): New function.
7038 (ada-first-non-nil): Removed
7039 (ada-gdb-application): Add support for jdb, the java debugger.
7040 (ada-get-ada-file-name): Load the original-file first if not done
7042 (ada-get-all-references): Handles the new ali syntax (parent types
7043 are found between <>).
7044 (ada-initialize-runtime-library): New function
7045 (ada-mode-hook): Always load a project file when a file is opened,
7046 so that the casing exceptions are correctly read.
7047 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
7048 (ada-parse-prj-file): Use find-file-noselect instead of find-file
7049 to open the project file, since the latter does not work with
7050 speedbar Get default values before loading the prj file, or the
7051 default executable file name is wrong. Use the absolute value of
7052 src_dir to initialize ada-search-directories and
7053 compilation-search-path,... Add the standard runtime library to
7054 the search path for find-file.
7055 (ada-prj-default-debugger): Was missing an opening '{'
7056 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
7058 (ada-prj-default-gnatmake-opt): New variable
7059 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
7060 buffers, the project file is the default one Save the windows
7061 configuration before displaying the menu.
7062 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
7063 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
7064 ...) regexp-quote identifiers names to support operators +,
7066 (ada-remote): New function.
7067 (ada-run-application): Erase the output buffer before starting the
7068 run Support remote execution of the application. Use
7069 call-process, or the arguments are incorrectly parsed
7070 (ada-set-default-project-file): Reread the content of the active
7071 project file, not the one from the current buffer When a project
7072 file is set as the default project, all directories are
7073 automatically associated with it.
7074 (ada-set-environment): New function
7075 (ada-treat-cmd-string): New special variable ${current}
7076 (ada-treat-cmd-string): Revised. The substitution is now done for
7077 any ${...} substring
7078 (ada-xref-current): If no body was found, compiles the spec
7079 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
7080 compiler to get rid of command line length limitations.
7081 (ada-xref-get-project-field): New function
7082 (ada-xref-project-files): New variable
7083 (ada-xref-runtime-library-specs-path)
7084 (ada-xref-runtime-library-ali-path): New variables
7085 (ada-xref-set-default-prj-values): Default run command now does a
7086 cd to the build directory. New field: main_unit Provide a default
7087 file name even if the current buffer has no prj file.
7090 Rewritten to show a tabbed-dialog.
7091 (ada-prj-add-ada-menu): Remove the map and name parameters.
7092 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
7094 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
7095 (ada-prj-load-from-file): New function
7096 (ada-prj-save): Always save fields that depend on the current buffer
7097 (ada-prj-show-value): New function
7099 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
7100 Ada mode. This will allow us to display the Ada menu in any buffer
7101 we want (for project items).
7102 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
7103 number of spaces in the header.
7105 2000-07-24 Dave Love <fx@gnu.org>
7107 * ediff-init.el (ediff-region-help-echo): Bind face-help.
7109 2000-07-23 Noah Friedman <friedman@splode.com>
7111 * type-break.el (type-break): perform autosave.
7112 Suggested by Stephen Gildea <gildea@intouchsys.com>.
7113 (type-break-do-query): Cancel query schedule while performing
7114 actual query, to avoid possibility of a second query being made
7115 while first one is already in progress.
7116 (type-break-time-stamp-format): New variable.
7117 (type-break-time-stamp): New function.
7118 (type-break-time-warning): Use it.
7119 (type-break-keystroke-warning): Use it.
7120 (type-break-noninteractive-query): Use it.
7122 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
7124 Use add-minor-mode to set minor-mode-alist, if available.
7125 (eldoc-echo-area-use-multiline-p): New user option.
7126 (eldoc-echo-area-multiline-supported-p): New variable.
7127 (eldoc-docstring-format-sym-doc): Use them.
7128 (eldoc-mode): If not using idle timers, append to local post and
7129 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
7130 (eldoc-display-message-no-interference-p): Don't interfere with
7132 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
7133 (eldoc-function-arglist): New function.
7134 (eldoc-function-argstring): Use it.
7136 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
7137 auto save directory exists before calling directory-files.
7139 2000-07-23 Dave Love <fx@gnu.org>
7141 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
7144 2000-07-21 Dave Love <fx@gnu.org>
7146 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
7147 now passed to the function. It now works properly.
7149 * smerge-mode.el (smerge-mode-menu): Fill it out.
7151 2000-07-20 Gerd Moellmann <gerd@gnu.org>
7153 * info-look.el (info-lookup): If *info* is shown in another frame
7154 on the same display, select that frame, instead of switching to
7155 the Info buffer in another window of the selected frame.
7157 * simple.el (universal-argument-map): Bind numeric keypad keys
7158 kp-0 to kp-9 and kp-subtract.
7159 (digit-argument): Handle these keys.
7161 2000-07-20 Dave Love <fx@gnu.org>
7163 * net/goto-addr.el (goto-address-fontify): Don't bother with
7164 buffer-modified and read-only stuff -- irrelevant with overlays.
7165 Put an extra property on the overlays and use it to clean up in
7166 case goto-address is re-run.
7168 2000-07-19 Richard M. Stallman <rms@gnu.org>
7170 * timer.el (run-with-idle-timer): Doc fix.
7172 * mail/mail-utils.el (mail-strip-quoted-names):
7173 Handle case where <...> appears inside "...".
7174 Use replace-match to edit the string more simply.
7175 (rmail-dont-reply-to): Cope with an unmatched ".
7177 2000-07-19 Dave Love <fx@gnu.org>
7179 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
7182 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
7183 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
7184 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
7186 2000-07-19 Gerd Moellmann <gerd@gnu.org>
7188 * textmodes/refer.el: Correct maintainer's email address.
7190 * progmodes/hideif.el: Correct author's email address.
7191 Fix typo in comment.
7195 * mail/mailheader.el: Correct author's mail address.
7197 * gnus/parse-time.el: Correct author's mail address.
7199 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
7201 * comint.el (comint-highlight-input, comint-highlight-face):
7203 (comint-input-ring-file-name): Change custom type.
7204 (comint-mode-map): Bind mouse-2.
7205 (comint-insert-clicked-input): New function.
7206 (comint-send-input): Handle input highlighting.
7208 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
7210 * mouse.el (popup-menu): New function.
7211 (mouse-major-mode-menu): Use it.
7213 2000-07-18 Dave Love <fx@gnu.org>
7215 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
7218 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7220 * faces.el (face-font-selection-order)
7221 (face-font-family-alternatives): Add custom type.
7223 2000-07-18 Dave Love <fx@gnu.org>
7225 * cus-edit.el (custom-variable-reset-saved)
7226 (custom-variable-reset-standard): Remove unused bindings.
7228 * rect.el (open-rectangle-line): Remove unused let.
7230 * hl-line.el (hl-line-highlight): Check hl-line-mode.
7232 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7234 * cdl.el: Fix `Maintainer' keyword.
7236 * play/pong.el: Add author's email address.
7238 2000-07-17 Sam Steingold <sds@gnu.org>
7240 * files.el (insert-directory): Call `split-string' instead of
7243 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7245 * mail/vms-pmail.el: Change maintainer to FSF.
7247 * net/goto-addr.el: Change maintainer to FSF.
7249 * recentf.el: Update from author.
7251 * info.el (Info-title-face-alist): Removed.
7253 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
7255 * eshell/eshell.el (eshell): Replace links to eshell.info with
7256 links to eshell, to avoid problems on systems where the manual is
7257 installed as `eshell'.
7258 * eshell/esh-cmd.el (eshell-cmd): Ditto.
7259 * eshell/em-smart.el (eshell-smart): Ditto.
7260 * eshell/em-banner.el (eshell-banner): Ditto.
7261 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
7263 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
7264 same-file check in the MS-DOS version (it does support inodes).
7266 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
7268 * eshell/eshell.el (eshell-directory-name):
7269 Run default directory name through convert-standard-filename.
7271 2000-07-18 Kenichi Handa <handa@etl.go.jp>
7273 * international/mule-cmds.el (select-safe-coding-system):
7274 Fix typo in the comment.
7276 * language/european.el (compound-text):
7277 Force katakana-jisx0201 to be designated to G1.
7279 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
7280 Don't translate some national variant characters of latin-jisx0201.
7281 (x-ctext): Force katakana-jisx0201 to be designated to G1.
7283 * international/kkc.el (kkc-after-update-conversion-functions):
7285 (kkc-update-conversion): Run functions in it at the tail.
7287 2000-07-16 John Wiegley <johnw@gnu.org>
7289 * lisp/align.el (align-newline-and-indent):
7290 Adding new function. for auto-aligning blocks of code on RET.
7291 (align-region): Fixed badly formatted minibuffer message.
7293 2000-07-17 Kenichi Handa <handa@etl.go.jp>
7295 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
7296 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
7297 the conversion list at first if appropriate.
7298 (kkc-next): Don't update kkc-next-count here.
7299 (kkc-prev): Don't update kkc-prev-count here.
7300 (kkc-show-conversion-list-update): Fix setting up of conversion
7303 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
7305 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
7307 2000-07-16 Dave Love <fx@gnu.org>
7309 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
7310 function to be more specific.
7312 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
7313 non-string help-echo.
7314 (widget-types-convert-widget): Defsubst it.
7315 (widget-echo-help): Try to cope with a help-echo function of two
7318 2000-07-15 Jason Rumney <jasonr@gnu.org>
7320 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7321 Declare as obsolete.
7323 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
7325 2000-07-14 Gerd Moellmann <gerd@gnu.org>
7327 * hilit-chg.el: Fix typo.
7329 2000-07-14 Dave Love <fx@gnu.org>
7331 * info.el (Info-mode-menu): Fix use of :help, :enable.
7333 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
7335 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
7337 2000-07-13 Dave Love <fx@gnu.org>
7339 * emacs-lisp/easymenu.el: Doc fixes.
7340 (easy-menu-remove): Defalias to ignore.
7342 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
7343 Call throw correctly.
7345 2000-07-13 Gerd Moellmann <gerd@gnu.org>
7347 * faces.el (frame-background-mode): Doc fix.
7349 * simple.el (eval-expression-print-length): Change custom type to
7350 allow entering nil as value.
7352 2000-07-13 Dave Love <fx@gnu.org>
7354 * progmodes/fortran.el (fortran-imenu-generic-expression):
7355 Change definition layout.
7356 (fortran-mode-menu): Reinstate customize entries.
7358 * cus-edit.el (custom-group-menu-create, customize-menu-create):
7359 Use :filter, per old XEmacs code.
7361 2000-07-12 Gerd Moellmann <gerd@gnu.org>
7363 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7364 event when deciding what to send to the terminal.
7366 2000-07-12 Dave Love <fx@gnu.org>
7368 * cus-start.el: Add optional version as 4th element of specs and
7369 use it for several things new in v21. Remove load-path. Fix type
7370 of line-number-display-limit.
7372 2000-07-11 Dave Love <fx@gnu.org>
7374 * progmodes/fortran.el: Don't require easymenu.
7375 Use repeat counts in various regexps.
7376 (fortran-mode-syntax-table): Defvar directly.
7377 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7378 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7379 Use defvar, not defconst.
7380 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
7381 (fortran-mode): Set fortran-comment-line-start-skip,
7382 fortran-comment-line-start-skip, dabbrev-case-fold-search.
7383 (fortran-comment-indent): Use defsubst.
7384 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7385 Use fortran-comment-indent, not fortran-comment-indent-function.
7386 (fortran-comment-region, fortran-electric-line-number): Simplify.
7387 (fortran-auto-fill): New function.
7388 (fortran-do-auto-fill): Deleted.
7389 (fortran-find-comment-start-skip):
7390 Check for non-null comment-start-skip.
7391 (fortran-auto-fill-mode, fortran-fill-statement):
7392 Use fortran-auto-fill.
7393 (fortran-fill): Use fortran-auto-fill. Check for null
7394 comment-start-skip. Simplify final clause and use end-of-line finally.
7396 * widget.el (widget-plist-member): New alias.
7398 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
7400 * eshell/esh-module.el (toplevel): Reference
7401 byte-compile-current-file only if it is bound.
7403 2000-07-10 Gerd Moellmann <gerd@gnu.org>
7405 * dired.el: Don't require `dired-aux'.
7407 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
7409 * dired-aux.el (dired-show-file-type): New function.
7410 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7411 (dired-show-file-type): Add autoload.
7413 2000-07-10 Kenichi Handa <handa@etl.go.jp>
7415 * international/mule-diag.el (describe-font): Adjusted for the
7416 change of fontset-info.
7417 (print-fontset): Likewise.
7419 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
7421 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7423 2000-07-07 Gerd Moellmann <gerd@gnu.org>
7425 * bindings.el: Bind `[delete]' to delete-char.
7427 * dired.el (dired-find-alternate-file): New function.
7428 (dired-mode-map): Bind `a' to dired-find-alternate-file.
7429 (toplevel): Require dired-aux when compiling.
7430 (dired-buffers): Move defvar within file to avoid compiler warning.
7432 * info.el (Info-last-search): Variable removed.
7433 (Info-search-history): New variable.
7434 (Info-search): New Info-search-history.
7436 * battery.el, info-look.el: Change author's mail address.
7438 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
7440 * mail/rmail.el (rmail-clear-headers): Don't throw an error
7441 if rmail-ignored-headers is nil.
7442 (rmail-retry-failure): Bind rmail-ignored-headers and
7443 rmail-displayed-headers to nil.
7445 2000-07-06 Gerd Moellmann <gerd@gnu.org>
7447 * lpr.el (lpr-page-header-switches): Add `-h' switch.
7448 (print-region-1): Don't hard code `-h' here.
7450 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7452 2000-07-01 Francesco Potorti` <pot@gnu.org>
7454 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7455 exim can use "your message" instead of "the message".
7457 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
7459 * facemenu.el: Docstrings fixes.
7460 (facemenu-get-face): Don't use internal-find-face.
7461 (facemenu-iterate): Rename arg to match the docstring.
7463 * newcomment.el (uncomment-region): Be more careful when skipping
7464 backwards over `=' not to bump into BOBP.
7466 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
7468 * ediff-diff.el (ediff-wordify): Use syntax table.
7469 * ediff-init.el (ediff-has-face-support-p): Use
7470 ediff-color-display-p.
7471 (ediff-color-display-p): Use display-color-p, changed to defun
7473 Got rid of special cases for NeXT and OS/2.
7474 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7477 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7479 * emacs-lisp/lucid.el: Require CL.
7480 (copy-tree, remprop): Remove, it's provided by CL.
7481 (map-keymap): Define in terms of cl-map-keymap.
7482 (extent-property, set-extent-end-glyph): New functions.
7484 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7486 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7488 * Makefile.in (DONTCOMPILE): Add comment that the name may
7489 not be changed without changing the make-dist script.
7491 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7492 (cl-mapc): Use mapc instead of cl-old-mapc.
7494 2000-07-05 Andrew Innes <andrewi@gnu.org>
7496 * makefile.nt: Add support for `bootstrap' and related targets.
7498 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7500 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7501 (easy-menu-do-define): Use `menu-item' format.
7502 Handle case where easy-menu-create-menu returns a symbol.
7503 Manually call the potential top-level filter in the function binding.
7504 (easy-menu-filter-return): New arg NAME.
7505 Convert to a keymap if MENU is an XEmacs menu.
7506 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
7507 (easy-menu-converted-items-table, easy-menu-convert-item):
7508 New var and fun to memoize easy-menu-convert-item-1.
7509 (easy-menu-do-add-item): Use it.
7510 (easy-menu-create-menu): Use easy-menu-convert-item.
7511 Wrap easy-menu-filter-return around any :filter specification.
7512 Don't convert the menu if a filter was specified.
7513 Tell easy-menu-make-symbol not to check for MENU being an expression.
7514 (easy-menu-make-symbol): New arg NOEXP.
7516 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7518 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7519 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7520 (eval-defun): If called with prefix arg, instrument code for
7523 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7524 similar to that of eval-defun.
7526 2000-07-04 Dave Love <fx@gnu.org>
7528 * hl-line.el (hl-line-overlay): Make it permanent-local.
7530 * calendar/todo-mode.el: Replaced with a working version, based on
7531 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
7533 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
7535 * paths.el (prune-directory-list): New function.
7536 (Info-default-directory-list): Rewritten to more methodically
7537 enumerate a big list of possible info directories (based on the
7538 list used by the standalone info reader).
7540 * info.el (info-initialize): Use prune-directory-list to remove
7541 non-existent directories from Info-directory-list.
7543 * paths.el (Info-default-directory-list): Try a list of possible
7544 info-directories instead of a single one. Add the possible
7545 info directory "/usr/share/info".
7547 * woman.el (woman-man.conf-path): Explicitly include the debian
7548 man-db config file "/etc/manpath.config".
7549 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7550 are present in `manpath.config'.
7551 (woman-manpath): Include "/usr/share/man".
7553 2000-07-03 Gerd Moellmann <gerd@gnu.org>
7555 * frame.el (blink-cursor-mode): Don't hide cursor initially.
7557 * startup.el (command-line): Initialize blink-cursor based
7560 * frame.el (blink-cursor): Default to nil if not running under
7563 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7564 (face-x-resources): Remove duplicate entry for :font.
7566 * textmodes/refer.el (refer-find-entry-internal): Use some-window
7567 instead of cycling through windows with next-window.
7569 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7570 of cycling through windows with next-window.
7572 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7573 of cycling through windows with next-window.
7575 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7576 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7577 instead of cycling through windows with next-window.
7579 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7580 instead of cycling through windows with next-window.
7582 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7583 of cycling through windows with next-window.
7585 * terminal.el (te-process-output): Use walk-windows instead of
7586 cycling through windows with next-window.
7588 * server.el (server-switch-buffer): Use some-window instead of
7589 cycling through windows with next-window.
7591 * window.el (some-window): New function.
7592 (walk-windows): Remove reference to walk-windows-start.
7594 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7596 2000-07-03 Richard Stallman <rms@gnu.org>
7598 * window.el (walk-windows): Guarantee termination by keeping a list
7599 of all the windows already handled.
7601 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7603 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7606 * man.el (Man-notify-when-ready): Don't use window-system. If
7607 Man-notify-method is newframe, and the display is not
7608 multi-frame, select the frame created for the man page.
7609 (Man-init-defvars): Doc fix.
7611 2000-06-28 Gerd Moellmann <gerd@gnu.org>
7613 * faces.el (region): Change background color for light background.
7615 * ediff-wind.el (ediff-setup-control-frame): Remove :box
7616 attribute from mode-line face of Ediff control frame.
7618 * replace.el (query-replace-map): Bind `e' like `E'.
7620 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7622 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7623 Change name to "Select All".
7625 * dos-fns.el (convert-standard-filename): Fix last change.
7627 2000-06-27 Gerd Moellmann <gerd@gnu.org>
7629 * help.el (describe-variable): Don't insert a second `'s' in front
7630 of the string `value is shown below'. Since the syntax-table is
7631 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7632 an existing `'s', so that this won't be deleted.
7634 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7635 * pcmpl-unix.el: New files.
7637 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
7639 * wid-edit.el (widget-member): Use the new plist-member.
7641 2000-06-26 Gerd Moellmann <gerd@gnu.org>
7643 * replace.el (perform-replace): Undo change of 2000-04-04.
7644 Instead, move backward 1 character at the end of the loop when
7647 * faces.el (fringe): Change face for different backgrounds.
7649 * eshell/esh-module.el (toplevel): Load defgroup's differently;
7652 * eshell/*.el: Change spelling of the Free Software Foundation.
7654 * eshell/esh-toggle.el: Removed.
7656 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7658 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7661 2000-06-26 Alex Schroeder <alex@gnu.org>
7663 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7664 `define-key'; instead of checking `(emacs-version)' check for
7665 `set-keymap-parent' and `set-keymap-name' directly. Add entries
7666 for `;' and `o' which might be electric.
7668 (sql-electric-stuff): New user option.
7669 (sql-magic-go): New function which uses `sql-electric-stuff'.
7670 (sql-magic-semicolon): New function which uses
7671 `sql-electric-stuff'.
7673 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7676 (sql-oracle-options): New variable.
7677 (sql-oracle): Use it.
7679 (sql-imenu-generic-expression): Doc change.
7680 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7683 (sql-informix): Added command line parameter "-" to force
7684 sql-informix-program to use stdout.
7686 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
7688 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7689 (cp864-decode-table): Doc fix.
7690 (cp720-decode-table): New variable, supports the Arabic OEM
7691 codepage used by Windows.
7692 (cp737-decode-table): New, Greek OEM codepage used by Windows.
7694 2000-06-23 Dave Love <fx@gnu.org>
7696 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7697 (font-lock-fontify-anchored-keywords): Use
7698 line-beginning-position.
7699 (global-font-lock-mode): Use mapc.
7701 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
7703 * eshell/esh-module.el: Require CL when compiling.
7705 2000-06-23 Gerd Moellmann <gerd@gnu.org>
7707 * comint.el (comint-substitute-in-file-name): Call replace-match
7708 with second and third arg t.
7710 * cus-edit.el (custom-button-face, custom-button-pressed-face):
7711 Specify foreground color.
7713 * faces.el (tool-bar, mode-line, header-line): Specify foreground
7716 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
7718 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
7719 cddr instead of cdddr.
7721 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
7722 instead of copy-list.
7724 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
7727 * subdirs.el: Add eshell subdirectory.
7729 * eshell: New subdirectory containing the Eshell package.
7731 * pcomplete.el: New file.
7733 2000-06-23 Paul Eggert <eggert@twinsun.com>
7735 * mail/mailpost.el (post-mail-send-it): Make sure file has
7736 proper permissions from birth.
7738 * files.el (basic-save-buffer-2): When temporarily setting
7739 file modes, set them to current modes plus 0200, not to 0777.
7741 * emerge.el (emerge-make-temp-file): Make sure file has proper
7742 permissions from birth.
7744 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
7746 * files.el (make-backup-file-name-1): On DOS/Windows, run the
7747 backup file name through convert-standard-filename.
7749 * dos-fns.el (convert-standard-filename): Convert leading
7750 directories as well. When long file names are supported, convert
7751 characters that are invalid in Windows file names.
7753 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7755 * ps-print.el: Fix bug: if ^L is the very first buffer character,
7756 ps-print crashes. New feature: page selection for printing. Create
7757 raw-text-unix coding system for XEmacs. Doc fix.
7758 (ps-print-version): New version number (5.2.3).
7759 (ps-plot-region): Bug fix.
7760 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
7761 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
7762 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
7764 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
7765 (ps-last-page): New vars.
7767 2000-06-21 Gerd Moellmann <gerd@gnu.org>
7769 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
7770 empty option string.
7772 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
7774 * man.el (man): Doc fix.
7776 2000-06-21 Kenichi Handa <handa@etl.go.jp>
7778 * international/mule-cmds.el (set-language-info-alist): Docstring
7781 2000-06-20 Gerd Moellmann <gerd@gnu.org>
7783 * version.el (emacs-version): Use ISO date format.
7785 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
7786 instead of `M-backspace'.
7788 * simple.el (turn-off-auto-fill): New function.
7790 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
7792 * jit-lock.el (with-buffer-prepared-for-jit-lock):
7793 Renamed from with-buffer-prepared-for-font-lock and use
7794 inhibit-modification-hooks rather than setting *-change-functions.
7795 Update all functions to use the new name.
7796 (jit-lock-first-unfontify-pos): New semantics (and doc).
7797 (jit-lock-mode): Make non-interactive.
7798 Don't automatically turn on font-lock.
7799 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
7800 Always use jit-lock-after-change.
7801 Remove and restore font-lock-after-change-function.
7802 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
7803 (jit-lock-after-unfontify-buffer): Remove.
7804 (jit-lock-stealth-fontify):
7805 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
7806 (jit-lock-after-change): Set the `fontified' text-prop to nil.
7808 2000-06-20 Sam Steingold <sds@gnu.org>
7810 * emacs-lisp/cl-indent.el (toplevel): Indent
7811 `print-unreadable-object' properly. Untabify.
7813 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7815 * textmodes/reftex.el (reftex-find-citation-regexp-format):
7816 Support for bibentry.
7817 (reftex-compile-variables): Fixed problem with end of section-re.
7819 * texmodes/reftex-dcr.el (reftex-view-crossref,
7820 reftex-view-crossref-from-bibtex):
7821 Deal with changed `reftex-find-citation-regexp-format'.
7822 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
7823 Replaced `remprop' with `put'.
7824 (reftex-view-crossref, reftex-view-crossref-when-idle):
7825 Support for bibentry.
7827 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
7828 New entry for bibentry package.
7830 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
7831 Regexp also matches "\nobibliography".
7833 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
7834 Call `reftex-ensure-write-access' before doing anything.
7835 (reftex-ensure-write-access): New function.
7837 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7839 * progmodes/idlwave.el: File re-installed (update to version 4.2)
7841 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
7843 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
7845 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
7848 2000-06-20 Dave Love <fx@gnu.org>
7850 * faces.el (frame-background-mode): Use set-default, not set, in
7852 (frame-update-faces, frame-update-face-colors): Define with
7855 * enriched.el (enriched-decode-foreground)
7856 (enriched-decode-background): Don't use internal-find-face.
7858 * apropos.el: Doc fixes.
7860 * cus-edit.el (customize-changed-options): Check arg.
7861 (customize-version-lessp): Don't require decimal point.
7863 * custom.el (defcustom, defgroup): Doc fix.
7865 * newcomment.el (comment) <defgroup>: Add :version.
7866 (comment-multi-line): Doc fix.
7868 * emulation/mlsupport.el (define-hooked-local-abbrev,
7869 define-hooked-global-abbrev): Fix, using define-abbrev.
7871 2000-06-19 Gerd Moellmann <gerd@gnu.org>
7873 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
7876 2000-06-19 Dave Love <fx@gnu.org>
7878 * menu-bar.el (menu-bar-options-save): New function.
7879 (menu-bar-options-menu): Use it.
7880 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
7883 2000-06-19 Andreas Schwab <schwab@suse.de>
7885 * progmodes/etags.el (tags-query-replace): Put new parameters
7886 START and END at the end, for backward compatibility.
7888 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7890 * international/codepage.el:
7891 (cp-coding-system-for-codepage-1): Delete special codes for
7892 generating xxx-dos coding system because now a CCL based coding
7893 system can handle EOL conversion by default.
7895 * international/mule.el (make-coding-system): Generate subsidiary
7896 coding systems for EOL handling variants even for a CCL based
7899 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7901 * international/isearch-x.el (isearch-minibuffer-input-method)
7902 (isearch-minibuffer-input-method-function): These variables
7904 (isearch-with-input-method): Don't use the above variables.
7905 (isearch-process-search-multibyte-characters): Likewise. Call
7906 read-string with the arg INHERIT-INPUT-METHOD t.
7908 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
7910 * font-lock.el (font-lock-after-fontify-buffer)
7911 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
7913 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
7914 Use consistent make-local-variable style for font-lock-fontified.
7915 (jit-lock-fontify-buffer):
7916 Don't bother checking for font-lock-mode and jit-lock-mode.
7918 * time.el: Remove trailing ^M that prevent CVS-merging.
7920 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7922 * Makefile.in (distclean): New target.
7924 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
7926 * Makefile.in (srcdir): Define for update-subdirs.
7928 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7930 * find-lisp.el: New file.
7932 2000-06-16 Andrew Innes <andrewi@gnu.org>
7934 * time.el (display-time-mail-function): New variable, to allow
7935 external packages to indicate when new mail is available.
7936 (display-time-update): Use it.
7938 2000-06-16 Kenichi Handa <handa@etl.go.jp>
7940 * international/mule.el (mule-version): Change version name to
7941 SAKAKI. AOI has already been used by Meadow.
7943 * international/quail.el (quail-show-guidance-buf): To find the
7944 bottom window (but minibuffer), pay attention to the height of
7947 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
7949 * arc-mode.el (archive-mode-map): Use the new menu-item format for
7950 menu-bar menus. Add help strings. Don't remove the Edit menu
7951 from the menu bar, as the menu bar has enough space now.
7953 * Makefile.in (SHELL): Make sure /bin/sh is used.
7955 * woman.el (woman-man-buffer): Fix bold and underlined CJK
7956 characters, which use series of two ^H characters instead of one.
7958 2000-06-15 Gerd Moellmann <gerd@gnu.org>
7960 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
7961 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
7963 (Info-find-node-2): Try a case-sensitive search first, then
7964 do a case-insensitive search.
7966 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
7969 * complete.el (PC-env-vars-alist): New variable.
7970 (PC-complete-as-file-name): New function.
7971 (partial-completion-mode): Initialize PC-env-vars-alist from
7972 process-environment.
7973 (PC-do-completion): Handle completion of env vars.
7975 * info.el (Info-set-mode-line): Show file name in mode line,
7976 use `*Info*' instead of `Info:'.
7978 * startup.el (command-line-1): Change copyright messages to year
7981 2000-06-15 Dave Love <fx@gnu.org>
7983 * net/goto-addr.el (goto-address-fontify): Use keymap property,
7986 2000-06-15 Kenichi Handa <handa@etl.go.jp>
7988 * international/mule.el (set-buffer-file-coding-system): Almost
7989 rewritten to handle `undecided' as no-op.
7991 2000-06-14 Gerd Moellmann <gerd@gnu.org>
7993 * Makefile.in: New file.
7995 * Makefile: Removed.
7997 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
7998 (goto-address-highlight-keymap): Bind C-c RET.
8000 2000-06-14 Kenichi Handa <handa@etl.go.jp>
8002 * mail/sendmail.el (sendmail-send-it): The temporary buffer
8003 inherits buffer-file-coding-system of the current buffer.
8005 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
8006 0. Give correct argument to set-auto-coding-function.
8007 (tar-expunge): For goto-char, use (point-min), not 0.
8008 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
8009 (tar-subfile-save-buffer): Likewize.
8011 * international/mule.el
8012 (after-insert-file-set-buffer-file-coding-system): Call
8013 set-buffer-file-coding-system with the arg FORCE t.
8015 2000-06-13 Gerd Moellmann <gerd@gnu.org>
8017 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
8018 nil. Contemporary sendmails issue an X-Authentication-Warning if
8019 the sender is set with `-f'.
8021 2000-06-13 Dave Love <fx@gnu.org>
8023 * help.el (describe-function-1): Kluge around cases of functions
8024 fset to subrs whose doc doesn't match their symbol-name.
8026 * image.el (insert-image): Default STRING to a space.
8028 * info.el Doc fixes.
8029 (Info-build-node-completions): Match Ref tags.
8031 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
8033 * frame.el (display-multi-frame-p, display-multi-font-p): New
8034 defaliases for display-graphic-p.
8036 * hl-line.el: Fixed a typo in commentary.
8038 2000-06-13 Kenichi Handa <handa@etl.go.jp>
8040 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
8043 2000-06-12 Dave Love <fx@gnu.org>
8045 * image.el (insert-image): Save a little consing.
8047 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8049 * language/tibet-util.el: Convert all tibetan-1-column characters
8050 to the corresponding tibetan characters.
8051 (tibetan-add-components): Delete code for the special treatment of
8054 * language/tibetan.el (tibetan-composable-pattern): Fix previous
8056 (tibetan-vowel-transcription-alist): More rules added.
8057 (tibetan-composite-vowel-alist): New variable.
8058 (tibetan-precomposition-rule-alist): More rules added.
8060 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
8062 * startup.el (command-line): Only call menu-bar-mode if interactive.
8064 * thingatpt.el (toplevel symbol-properties):
8065 * textmodes/makeinfo.el (makeinfo-compile):
8066 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
8067 * progmodes/hideif.el (hif-compress-define-list)
8068 (hide-ifdef-use-define-alist):
8069 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
8070 (ange-ftp-vms-add-file-entry):
8071 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
8072 * man.el (Man-build-man-command):
8073 * mail/rnewspost.el (news-reply-header-hook):
8074 * info.el (Info-insert-dir):
8075 * emulation/mlconvert.el (backward-word, forward-word, setq):
8076 * emacs-lisp/gulp.el (gulp-send-requests):
8077 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
8078 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
8079 (byte-optimize-apply, end of file):
8080 * emacs-lisp/advice.el (ad-advice-class-completion-table)
8081 (ad-make-freeze-definition):
8082 * startup.el (command-line, command-line-1): Don't quote lambdas.
8084 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
8085 (cvs-cleanup-removed): New function.
8086 (cvs-cleanup-functions): New var.
8087 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
8088 some flexibility in specifying additional entries to auto-cleanup.
8089 (cvs-quickdir): New function.
8090 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
8091 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
8092 (cvs-mode-find-file): Check that we are on a filename or dirname
8093 when invoked through a mouse-click.
8094 (cvs-full-path): Remove.
8095 (cvs-dired-action): Re-introduced.
8096 (cvs-dired-noselect): Use it.
8097 (vc-post-command-functions): use this new hook if available.
8099 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
8100 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
8101 (cvs-filename-map, cvs-dirname-map): Remove.
8102 (cvs-default-action): Remove.
8103 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
8104 if the arg is really a keymap.
8105 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
8106 Don't hardcode the mapping from state (aka type) to face, but check
8107 the var cvs-fi-<type>-face instead.
8108 (cvs-fileinfo-from-entries): New function.
8110 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
8112 (cvs-find-file-and-jump): Change default to be safer.
8113 (cvs-mode-diff-map): Define it as a function as well.
8114 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
8115 Bind mouse-2 in this global map rather than with text-properties.
8117 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
8118 file to resolve the ambiguity between C(conflict) and C(need-merge).
8120 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8122 * international/mule.el (set-buffer-file-coding-system): If
8123 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
8126 2000-06-12 Dave Love <fx@gnu.org>
8128 * wid-edit.el (widget-specify-button): Really suppress the face if
8131 2000-06-11 Gerd Moellmann <gerd@gnu.org>
8133 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
8135 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
8137 * imenu.el (imenu-generic-expression): Docstring fix.
8139 * composite.el (composition-function-table): Move the `put'
8140 below the autoload cookie so we can load the file before loaddefs.
8142 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
8144 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
8145 Handle easy-mmode-define-global-mode.
8146 For complex macros like define-minor-mode that can generate
8147 several autoload entries, try to autoload entries in the
8150 * emacs-lisp/easy-mmode.el (define-minor-mode):
8151 If KEYMAP is a symbol, just use it.
8152 Use byte-compile-current-file and load-file-name to infer the
8153 proper :require to pass to defcustom.
8154 Wrap the hook var into `progn' so as not to autoload it.
8155 Add a :autoload-end cookie.
8156 Be more careful about the evaluation of KEYMAP.
8157 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
8158 (define-derived-mode): Move define-abbrev-table outside of defvar.
8160 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
8162 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
8163 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
8164 (backup-compiled-files): Ignore errors during `tar'.
8165 (bootstrap): Make autoloads before elc files.
8167 2000-06-10 Kenichi Handa <handa@etl.go.jp>
8169 * international/mule.el (set-buffer-file-coding-system): If one of
8170 undecided-XXX is specified, change only EOL conversion.
8172 * international/mule-conf.el (unix): New alias for the coding
8173 system undecided-unix.
8175 2000-06-09 Dave Love <fx@gnu.org>
8177 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
8179 * progmodes/executable.el: Byte compile dynamic.
8180 (executable-insert): Change custom type.
8181 (executable-find): Add autoload cookie.
8182 (executable-make-buffer-file-executable-if-script-p): New
8183 function. After Noah Friedman.
8185 * files.el (after-save-hook): Customize, with
8186 executable-make-buffer-file-executable-if-script-p as an option.
8188 2000-06-09 Kenichi Handa <handa@etl.go.jp>
8190 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
8191 "tib24p-mule.bdf" for Tibetan.
8193 * composite.el (decompose-composite-char): Declare it as obsolete.
8195 * man.el (Man-fontify-manpage): Pay attention to underline and
8196 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
8198 2000-06-08 Gerd Moellmann <gerd@gnu.org>
8200 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
8201 Set maintainer to FSF since author isn't reachable.
8203 2000-06-08 Dave Love <fx@gnu.org>
8205 * international/mule-cmds.el (select-safe-coding-system): If
8206 DEFAULT-CODING-SYSTEM is not specified, also check the most
8207 preferred coding-system if buffer-file-coding-system is
8208 `undecided'. From Handa.
8210 2000-06-08 Kenichi Handa <handa@etl.go.jp>
8212 * international/mule.el
8213 (after-insert-file-set-buffer-file-coding-system): If the buffer
8214 size is greater than INSERTED, judget that we are not visiting.
8216 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
8218 * whitespace.el (defgroup whitespace): Comment out `:version'.
8219 XEmacs 20.4 has problems defining the group with this present.
8220 We'll have this commented out till get resolve the problem.
8222 2000-06-07 Gerd Moellmann <gerd@gnu.org>
8224 * align.el: Update from author.
8226 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
8228 * apropos.el (apropos-mode-hook): New user variable.
8229 (apropos-mode): Run apropos-mode-hook.
8231 2000-06-07 David Ponce <david@dponce.com>
8233 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
8234 commands. Require `wid-edit' at run-time.
8236 2000-06-07 David Ponce <david@dponce.com>
8238 * recentf.el: Added some "Commentary".
8239 (recentf-open-more-files, recentf-edit-list): Minor changes to
8240 move the point at the top of the file list. This behaviour is
8241 consistent with the menu one when the list contains a lot of
8243 (recentf-cleanup): Now displays the number of items removed from
8245 (recentf-relative-filter) New menu filter to show filenames
8246 relative to `default-directory'.
8248 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8250 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
8251 with/without giving an error if PostScript printer doesn't have this
8252 kind of page size. Zebra Stripe continues or restarts on next page.
8253 Manual/automatic paper feeding. Switch or not the header.
8254 (ps-print-version): New version number (5.2.2).
8255 (ps-windows-system): Include emx as a Windows system.
8256 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
8257 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
8258 (ps-background-text): Code fix.
8259 (ps-error-handler-message, ps-user-defined-prologue)
8260 (ps-print-prologue-header, ps-printer-name)
8261 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
8262 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
8263 (ps-use-face-background): Customization fix.
8264 (ps-n-up-database): Data fix.
8265 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
8266 (ps-switch-header): New vars.
8267 (ps-xemacs-color-name, ps-face-foreground-name)
8268 (ps-face-background-name, ps-boolean-constant): New funs.
8270 2000-06-07 Dave Love <fx@gnu.org>
8272 * allout.el: New version from Manheimer.
8274 2000-06-07 Kenichi Handa <handa@etl.go.jp>
8276 * textmodes/fill.el (fill-find-break-point): Check the validity of
8279 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8281 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
8282 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
8283 Call display-color-p and display-mouse-p instead of looking at
8286 2000-06-06 Dave Love <fx@gnu.org>
8288 * image.el (find-image): Doc fix. Return nil if image not found.
8289 (put-image, insert-image): Make STRING arg optional.
8291 2000-06-06 Kenichi Handa <handa@etl.go.jp>
8293 * language/vietnamese.el: Remove eval-when-compile.
8294 (viet-viscii-nonascii-translation-table): Define it as a
8295 translation table made from viet-viscii-decode-table.
8296 (viet-viscii-encode-table): Define it as a translation table made
8297 from the reverse map of above.
8298 (viet-vscii-nonascii-translation-table): Define it as a
8299 translation table made from viet-vscii-decode-table.
8300 (viet-vscii-encode-table): Define it as a translation table made
8301 from the reverse map of above.
8302 (ccl-decode-viscii): Use translate-character.
8303 (ccl-encode-viscii, ccl-encode-viscii-font)
8304 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
8307 * language/cyrillic.el: Remove eval-when-compile.
8308 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
8309 translation table made from cyrillic-koi8-r-decode-table.
8310 (cyrillic-koi8-r-encode-table): Define it as a translation table
8311 made from the reverse map of above.
8312 (ccl-decode-koi8): Use translate-character.
8313 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
8314 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
8315 a translation table made from cyrillic-alternativnyj-decode-table.
8316 (cyrillic-alternativnyj-encode-table): Define it as a translation
8317 table made from the reverse map of above.
8318 (ccl-decode-alternativnyj): Use translate-character.
8319 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
8322 * international/mule-diag.el (non-iso-charset-alist): Specify
8323 translation table symbol instead of translation table itself.
8324 (list-block-of-chars): CHARSET may be a translation table symbol.
8326 * international/mule.el (make-coding-system): If CODING-SYSTEM
8327 already exists, override it.
8329 * international/fontset.el: Use family `proportional' for Tibetan
8332 * international/ccl.el (ccl-compile-translate-character): Don't
8333 check if Rrr has property translation-table.
8334 (ccl-compile-map-multiple): Modified to avoid compiler warning.
8336 2000-06-05 Gerd Moellmann <gerd@gnu.org>
8338 * info.el: Bind case-fold-search to t when searching in case
8339 a user sets it to nil in a hook.
8341 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
8343 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8344 * hl-line.el (hl-line-mode): Use the new :global key argument.
8346 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
8347 (tar-clip-time-string): Prepend a space.
8348 (tar-grind-file-mode): Construct a string rather than modifying one.
8349 (tar-header-block-summarize): Fix docstring.
8350 Use `format' rather than an error-prone set of copy-loops.
8352 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8353 (diff-goto-source, diff-unified->context, diff-context->unified)
8354 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8355 understand the format output by the `-p' argument to diff.
8357 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8358 (sh-re-done): Use defconst.
8359 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8360 (sh-help-string-for-variable, sh-guess-basic-offset):
8361 Don't quote lambdas.
8362 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8363 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8365 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8366 (mh-letter-mode): Derive from text-mode.
8367 This implicitly means that it now calls kill-all-local-variables.
8368 Also remove the Emacs-18 compatibility code.
8370 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8371 Make use of symbol-property doc-string-elt.
8372 Use memq rather than a sequence of eq.
8373 (doc-string-elt): Fix the wrong or missing previously unused values.
8374 (autoload-print-form): New function extracted from
8375 generate-file-autoloads to allow recursion when handling progn
8376 so that defvar's and defun's docstrings are properly printed.
8377 (generate-file-autoloads): Use it.
8379 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8380 Use find-file-hooks in the minor-mode function.
8381 Be careful not to loop indefinitely in the post-command-hook function.
8383 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
8385 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8387 * ediff-diff.el (ediff-exec-process): Use --binary for fine
8388 differences whenever appropriate.
8389 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8390 * viper.el (find-file, find-file-other-window): Get viper to do
8393 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
8395 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8396 (jit-lock-fontify-buffer): New function for JIT refontification.
8397 (jit-lock-mode): Fix docstring.
8398 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8399 Remove jit-lock-after-change from the _local_ hook.
8400 (jit-lock-function-1): Fix docstring.
8402 * info.el (Info-on-current-buffer): Initialize info.
8404 * newcomment.el (comment-indent): Ignore comment-indent-hook.
8406 * progmodes/tcl.el (tcl-indent-for-comment):
8407 Ignore comment-indent-hook.
8409 * emacs-lisp/easy-mmode.el: Require CL during compilation.
8410 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8411 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8412 and improve to use the lighter to guess the capitalization.
8413 (define-minor-mode): Inline code from easy-mmode-define-toggle.
8414 Add keyword arguments to specify global-ness or the custom group.
8415 Add local-map and help-echo properties to the lighter.
8416 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8417 (easy-mmode-define-global-mode): New macro.
8419 2000-06-02 Dave Love <fx@gnu.org>
8421 * wid-edit.el: byte-compile-dynamic since we typically don't use
8422 all the widgets. Don't require cl or widget. Remove
8423 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
8424 (widget-read-event): Removed. Callers changed to use read-event.
8425 (widget-button-release-event-p): Renamed from
8426 button-release-event-p.
8427 (widget-field-add-space, widget-field-use-before-change):
8429 (widget-specify-field): Use keymap property, not local-map.
8430 (widget-specify-button): Obey :suppress-face.
8431 (widget-specify-insert): Use modern backquote syntax.
8432 (widget-image-directory): Renamed from widget-glyph-directory.
8433 (widget-image-enable): Renamed from widget-glyph-enable.
8434 (widget-image-find): Replaces widget-glyph-find.
8435 (widget-button-pressed-face): Move defvar.
8436 (widget-image-insert): Replaces widget-glyph-insert.
8437 (widget-convert): Use keywordp.
8438 (widget-leave-text, widget-children-value-delete): Use mapc.
8439 (widget-keymap): Remove XEmacs stuff.
8440 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8441 (widget-button-click): Don't set point at the click, but re-centre
8442 if we scroll out of window. Rewritten for images v. glyphs &c.
8443 (widget-tabable-at): Use POS arg, not point.
8444 (widget-beginning-of-line, widget-end-of-line)
8445 (widget-item-value-create, widget-sublist, widget-princ-to-string)
8446 (widget-sexp-prompt-value, widget-echo-help): Simplify.
8447 (widget-default-create): Use widget-image-insert; some rewriting.
8448 (widget-visibility-value-create)
8449 (widget-push-button-value-create, widget-toggle-value-create): Use
8450 widget-image-insert.
8451 (checkbox): Create on and off images dynamically.
8452 (documentation-link): Change :help-echo.
8453 (widget-documentation-link-echo-help): Remove.
8455 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
8457 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8459 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8460 (easy-mmode-define-toggle, define-minor-mode): Use it.
8461 (easy-mmode-define-keymap): Docstring fix.
8462 (define-derived-mode): Default PARENT to fundamental-mode.
8463 Add the derived-mode-parent symbol-property.
8464 (easy-mmode-derived-mode-p): New function.
8466 2000-06-02 Dave Love <fx@gnu.org>
8468 * files.el (convert-standard-filename): Doc fix.
8469 (normal-backup-enable-predicate): New function.
8470 (backup-enable-predicate): Use it to replace the lambda form.
8472 * calendar/todo-mode.el: [This needs more work on the outline
8474 (todo) <defgroup>: Add :version.
8475 (todo-add-category): Don't use pushnew.
8476 (todo-cmd-raise): Fix typo.
8477 (todo-top-priorities): Change temp buffer name.
8478 (todo-category-alist): Avoid redundant lambda.
8479 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8480 Use outline-next-heading.
8482 * autoarg.el: Rewritten to use define-minor-mode.
8483 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8484 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8486 2000-06-02 Kenichi Handa <handa@etl.go.jp>
8488 * isearch.el (isearch-other-meta-char): Fix previous change.
8490 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8492 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8493 (log-edit-done): Only add the comment to the ring if it's different
8494 from the last comment entered.
8496 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8498 2000-06-01 Dave Love <fx@gnu.org>
8500 * hl-line.el: Rewritten using define-minor-mode.
8502 * help.el (describe-function-1): Distinguish special form from
8503 builtin function. Sanity-check presence of arglist for builtins.
8505 2000-06-01 Kenichi Handa <handa@etl.go.jp>
8507 * international/characters.el: Fix syntax/category setting of
8510 * language/tibet-util.el (tibetan-add-components): Fixes for new
8511 encoding of Tibetan characters.
8512 (tibetan-decompose-precomposition-alist): New variable.
8513 (tibetan-decompose-region): Convert precomposed characters to
8514 non-precomposed characters.
8515 (tibetan-decompose-string): Likewise.
8516 (tibetan-composition-function): Fix args to
8517 thibetan-compose-string.
8519 * language/tibetan.el (tibetan-composable-pattern): More
8520 characters included.
8521 (tibetan-consonant-transcription-alist): Rule for "R" added.
8522 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8524 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8526 * language/lao-util.el (lao-composition-function): Fix args to
8529 * language/thai-util.el (thai-composition-function): Fix args to
8532 * isearch.el (isearch-update): Set disable-point-adjustment to t
8533 to prevent the point moving to the end of a composition when a
8534 part of a composition is searched.
8535 (isearch-other-meta-char): If the key invoking this command can be
8536 mapped by function-key-map to a printing char, call
8537 isearch-process-search-char directly.
8539 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8541 * emacs-lisp/bytecomp.el:
8543 * international/mule-cmds.el:
8544 * international/mule-util.el:
8545 * international/mule.el:
8548 * faces.el: Update calls to make-obsolete with a WHEN argument.
8550 * byte-run.el (make-obsolete, make-obsolete-variable):
8551 Add an optional WHEN argument and change the format of the
8552 symbol-property information.
8553 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8554 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8555 new obsolete-symbol-property format and print WHEN if it is provided.
8557 2000-05-31 Dave Love <fx@gnu.org>
8559 * loadhist.el (loadhist-hook-functions): Remove
8560 before-change-function, after-change-function.
8561 (unload-feature): Deal with symbols which are both bound and
8564 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8565 before-change-function, after-change-function.
8567 * simple.el (newline): Don't bind before-change-function,
8568 after-change-function.
8570 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
8572 * whitespace.el (whitespace-rescan-timer-time): Update interval
8573 set to 600 seconds (10 minutes) instead of 60 seconds since
8574 a large number of whitespace buffers causes emacs to `freeze'
8575 for a considerable amount of time.
8577 * whitespace.el: Updated email address
8579 2000-05-31 Dave Love <fx@gnu.org>
8581 * add-log.el (change-log-font-lock-keywords) <function>: Add
8582 pattern for function of change.
8583 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8584 acknowledgements patterns.
8586 2000-05-31 Kenichi Handa <handa@etl.go.jp>
8588 * isearch.el (isearch-printing-char): If keyboard coding system is
8589 being used, call isearch-process-search-multibyte-characters.
8591 * international/isearch-x.el: Mostly rewritten.
8593 * international/quail.el (quail-start-conversion): Don't include
8594 unhandled events in the returned events, but set them in
8595 unread-command-events. Exit if all inputs are deleted.
8597 2000-05-30 Jason Rumney <jasonr@gnu.org>
8599 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8601 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8602 Reenable code to create initial fontsets.
8603 Use set-fontset-font in place of put-charset-property.
8605 2000-05-30 Gerd Moellmann <gerd@gnu.org>
8607 * progmodes/perl-mode.el (perl-indent-line): When looking for a
8608 label, ensure that the first colon isn't followed by another.
8610 * paths.el (Info-default-directory-list): Doc fix.
8612 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8613 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8614 send a query containing USER only, not USER@HOST.
8616 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8617 and rmail-msgend to compute the restriction at the end, instead of
8620 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8622 * dabbrev.el (dabbrev-expand): Don't display messages in the
8623 echo area if the minibuffer window is active.
8625 * jit-lock.el (jit-lock-mode): Add after change function to
8628 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
8630 * antlr-mode.el: New commands: hide/unhide actions,
8631 upcase/downcase literals.
8632 (antlr-tiny-action-length): New user option.
8633 (antlr-hide-actions): New command. Suggested by
8634 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8635 (antlr-mode-map): New binding [C-c C-v].
8636 (antlr-mode-menu): New entries.
8637 (antlr-downcase-literals): New command.
8638 (antlr-upcase-literals): Ditto.
8640 * antlr-mode.el: Minor changes: indendation, mode-name.
8641 (antlr-indent-line): Indent cpp directive at column 0.
8642 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8644 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8645 (antlr-font-lock-additional-keywords): Workaround for intentional
8646 bug in XEmacs version of font-lock.
8647 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
8648 be used by a smarter version of `buffers-menu-grouping-function'.
8650 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8652 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8653 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8655 2000-05-29 Kenichi Handa <handa@etl.go.jp>
8657 * international/encoded-kb.el
8658 (encoded-kbd-iso2022-designation-map): Pay attention to that
8659 charset-iso-final-char return -1 for eight-bit-control and
8662 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8664 * speedbar.el (speedbar-use-images, speedbar-update-flag)
8665 (speedbar-easymenu-definition-base): Use display-graphic-p where
8666 available, instead of window-system.
8668 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8670 * international/codepage.el (cp-coding-system-for-codepage-1): Add
8671 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8674 2000-05-26 Dave Love <fx@gnu.org>
8676 * disp-table.el (standard-display-underline): Don't use
8679 * mail/reporter.el: Maintainer change. Doc fixes.
8680 (reporter-version): Deleted.
8682 * emacs-lisp/elp.el: Maintainer change.
8683 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8685 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
8687 * add-log.el (add-change-log-entry): Merge the current entry with the
8688 previous one if the previous one is empty.
8690 2000-05-26 Dave Love <fx@gnu.org>
8692 * loadhist.el (unload-feature): Fix interactive spec [from
8693 lijnzaad@ebi.ac.uk].
8695 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8696 subr-arity to check primitives.
8697 (byte-compile-flush-pending, byte-compile-file-form-progn)
8698 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8699 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8702 2000-05-26 Kenichi Handa <handa@etl.go.jp>
8704 * international/fontset.el: Set family names of non-latin charsets
8705 in default fontset to "*".
8707 * international/mule-diag.el (print-fontset): Combine family part
8708 and registry part of the fontname by "-*-" instead of "-".
8710 * international/mule-cmds.el (encode-coding-char): Make strings
8711 multibyte before calling encode-coding-string.
8713 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
8715 * derived.el: Fix keywords.
8716 (define-derived-mode): Only define if needed.
8718 * simple.el (fill-comment, comment-column, comment-start)
8719 (comment-start-skip, comment-end, comment-indent-function)
8720 (block-comment-start, block-comment-end, indent-for-comment)
8721 (set-comment-column, kill-comment, comment-padding, comment-region)
8722 (comment-multi-line, indent-new-comment-line): Remove.
8724 * bindings.el (esc-map): Change ; to comment-dwim and use the new
8725 function names for comment operations.
8727 * newcomment.el: Add abundant autoload cookies.
8728 (comment-style): Don't depend on runtime data at compile-time.
8729 (comment-indent-hook): Remove.
8730 (comment-indent): Check if comment-indent-hook is bound.
8731 (comment-region): Docstring fix.
8733 2000-05-25 Dave Love <fx@gnu.org>
8735 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
8736 byte-code-function-p.
8738 * mail/rmailsum.el: Add provide.
8740 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
8742 * smerge-mode.el (smerge-diff-switches): Don't use list* in
8745 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
8747 * ediff-diff.el (ediff-exec-process): delete --binary option from
8748 non-buffer ediff jobs.
8750 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8752 * hilit-chg.el (highlight-changes-mode): Ask about color or
8753 grayscale support, not about window-system.
8755 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
8757 (ffap-highlight): Always default to t.
8759 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
8760 display-popup-menus-p instead of looking at window-system.
8762 * disp-table.el (standard-display-g1, standard-display-graphic):
8763 Only refuse to use string glyphs on X and MS-Windows.
8765 * avoid.el: Remove window-system from commentary, suggest to use
8766 display-*-p instead.
8768 * apropos.el (apropos-print): Use display-mouse-p instead of
8771 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8773 * international/codepage.el (cp-decoding-vector-for-codepage):
8774 Fill up unsupported characters with their own codes. From Kenichi
8777 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8779 * international/mule-diag.el (describe-char-after): Use
8780 display-graphic-p instead of window-system, so that this function
8783 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8785 * international/codepage.el (cp-make-coding-systems-for-codepage):
8786 Remove the eight-bit-graphic and eight-bit-control charsets from
8787 the list of charsets which we convert into `?'.
8789 2000-05-25 Kenichi Handa <handa@etl.go.jp>
8791 * international/mule-conf.el: Specify CHARSET-ID explicitely for
8793 (mule-unicode-0100-24ff, japanese-jisx0213-1,
8794 japanese-jisx0213-2): New charsets.
8796 * international/fontset.el: Setup default fontset for new charsets.
8798 2000-05-24 Dave Love <fx@gnu.org>
8800 * info.el (Info-find-node-2): Restructure [following "Vadim
8801 S. Solomin" <sovs@uic.nnov.ru>].
8803 * icomplete.el: Fix header for Finder.
8805 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
8807 * rmailout.el (rmail-output-to-rmail-file): Added optional param
8810 * rmail.el (rmail-automatic-folder-directives): New user variable.
8811 (rmail-show-message): Add call to `rmail-auto-file' during
8813 (rmail-auto-file): New function.
8815 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8817 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
8819 (ediff-test-utility,ediff-diff-mandatory-option)
8820 (ediff-reset-diff-options): Utilities for proper initialization of
8821 ediff-diff-options and ediff-diff3-options on Windows.
8823 * ediff-init.el (ediff-merge-filename-prefix): New customizable
8826 * ediff-mult.el (ediff-filegroup-action): Use
8827 ediff-merge-filename-prefix.
8829 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8831 * viper-ex.el (ex-write): Set selective display to nil.
8833 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8835 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
8836 aliases for hebrew-iso-8bit.
8838 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8840 * woman.el: New version from Francis J. Wright
8841 <F.J.Wright@Maths.QMW.ac.uk>.
8842 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
8843 names in environment variables regardless of the path separator.
8844 (woman-topic-all-completions-1): Don't call file-name-directory-p
8845 on all files, since woman-file-regexp already filters out any
8848 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8850 * international/quail.el (quail-start-translation): Don't change
8851 modified-p of the current buffer.
8852 (quail-start-conversion): Likewise.
8854 * international/kkc.el (kkc-region): Don't change modified-p of
8857 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
8859 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
8861 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
8863 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
8864 (speedbar-insert-button): Invisible text property fix.
8865 (speedbar-directory-plus): Renamed from speedbar-directory-+
8866 (speedbar-directory-minus): Renamed from speedbar-directory--
8867 (speedbar-page-plus): Renamed from speedbar-file-+
8868 (speedbar-page-minus): Renamed from speedbar-file--
8869 (speedbar-page): Renamed from speedbar-file-
8870 (speedbar-tag): Renamed from speedbar-tag-
8871 (speedbar-tag-plus): Renamed from speedbar-tag-+
8872 (speedbar-tag-minus): Renamed from speedbar-tag--
8873 (speedbar-expand-image-button-alist): Use above renames.
8875 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
8876 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
8877 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
8878 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
8879 * sb-pg.xpm: Renamed from sb-file.xpm
8880 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
8881 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
8883 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8885 * international/quail.el (quail-show-guidance-buf): Set
8886 current-input-method of the guidance buffer to the name of the
8887 curren input method.
8889 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
8891 * progmodes/compile.el (compile-internal): Style typo.
8893 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
8894 quote vars and functions in the docstring.
8896 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
8898 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
8899 Don't quote lambdas.
8901 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
8903 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8905 * startup.el (command-line): Determine source file of compiled
8906 user init file differently. Warn if compiled user init file
8907 is older than its source file.
8909 * ffap.el (ffap-url-regexp): Add `https'.
8911 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
8913 * files.el (make-backup-file-name-1): Replace slashes with `!'
8914 rather than `|' (which is not allowed on Windows). Replace the
8915 drive letters with a string "drive_X".
8917 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8919 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
8921 * files.el (interpreter-mode-alist): Add `bash2'.
8923 2000-05-22 Dave Love <fx@gnu.org>
8925 * loadhist.el (feature-symbols, file-provides, file-requires): Use
8927 (feature-file): Avoid calling symbol-name. Doc fix.
8928 (file-set-intersect, file-dependents): Use dolist, not mapcar.
8929 (loadhist-hook-functions): Add mouse-position-function.
8930 (unload-feature): Change uses of mapcar.
8932 * files.el (parse-colon-path): Doc fix.
8933 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
8934 (set-auto-mode): Use mapc.
8936 * complete.el (PC-look-for-include-file): Use :alnum: character
8938 (partial-completion-mode): Add autoload cookie.
8940 2000-05-22 Sam Steingold <sds@gnu.org>
8942 * info.el (Info-fontify-node): Fixed the call to
8943 `add-text-properties' (bug introduced on 2000-05-18).
8945 2000-05-22 Dave Love <fx@gnu.org>
8947 * bindings.el: Remove debug-ignored-errors set in other files.
8949 * progmodes/etags.el: Add to debug-ignored-errors.
8950 (visit-tags-table-buffer): Clear out buffers holding old tables
8951 when making a new list.
8952 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
8955 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
8957 (cmpl-string-case-type): Use character classes.
8960 * textmodes/ispell.el:
8963 * progmodes/compile.el: Add to debug-ignored-errors.
8965 * dabbrev.el: Add to debug-ignored-errors.
8966 (dabbrev-completion): Use mapc.
8968 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
8970 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
8971 (woman-mapcan, woman-parse-man.conf)
8972 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
8973 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
8974 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
8976 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
8977 (woman-manpath): Call woman-parse-man.conf.
8978 (woman-emulation): New defcustom, defaults to nroff.
8979 (woman-font-support): New defconst.
8980 (woman-use-symbol-font): New defcustom.
8981 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
8983 Many functions: Doc fix.
8985 2000-05-22 Kenichi Handa <handa@etl.go.jp>
8987 * international/quail.el (quail-simple-translation-keymap): Map
8988 128..255 to quail-self-insert-command.
8989 (quail-keyboard-layout-alist): Add definition for "pc102-de".
8991 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
8993 * help.el (help-manyarg-func-alist): Typo.
8995 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
8996 intervals which makes it heaps simpler.
8998 * newcomment.el (comment-region-internal): Go back to BEG after quoting
8999 the nested comment markers.
9001 * subr.el (remove-hook): Don't turn the hook's value into a list.
9003 2000-05-21 Dave Love <fx@gnu.org>
9005 * edmacro.el (edmacro-parse-keys): Return vector if any elements
9006 are invalid characters.
9008 * international/mule-util.el (detect-coding-with-priority): Use
9009 mapc. Remove redundant lambda.
9011 * international/mule-diag.el (list-non-iso-charset-chars)
9012 (describe-fontset): Remove redundant lambda.
9014 * emulation/crisp.el (brief-mode): New alias.
9016 * emacs-lisp/ring.el (ring-elements): New function.
9018 * emacs-lisp/easymenu.el (easy-menu-create-menu)
9019 (easy-menu-do-add-item): Use keywordp.
9021 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
9023 * replace.el: Doc and error message fixes.
9024 (replace-highlight): Use facep, not internal-find-face.
9026 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
9028 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
9030 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
9031 (log-edit-insert-changelog): Drop `:' as well.
9033 * log-view.el: Fix file description.
9034 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
9036 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
9037 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
9039 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
9040 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
9041 Print a status message if the toggle is called interactively.
9042 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
9043 for global minor modes and use `defcustom' for them.
9045 (easy-mmode-define-derived-mode): Remove.
9046 (define-derived-mode): Fancier default docstring.
9047 (easy-mmode-define-navigation): Signal an error rather than (ding).
9049 * newcomment.el (comment-styles): New `box-multi'.
9050 (comment-normalize-vars): Better default for comment-continue to
9051 avoid whitespace-only continuations.
9052 (comment-search-forward): Always move even in the no-syntax case.
9053 (comment-padright): Only obey N if it's only obeyed for padleft.
9054 (comment-make-extra-lines): Better handling of empty continuations.
9055 Use `=' for the filler if comment-start has only one character.
9056 (uncomment-region): Try handling the special `=' filler.
9057 (comment-region): Allow LINES even if MULTI is nil.
9058 (comment-box): Choose box style based on comment-style.
9060 2000-05-20 Kenichi Handa <handa@etl.go.jp>
9062 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
9063 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
9065 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
9067 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
9068 and insert, not subst-char-in-region.
9070 * international/mule-diag.el (list-character-sets-1): Handle
9071 charsets eight-bit-control and eight-bit-graphic.
9072 (list-iso-charset-chars): Likewise.
9073 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
9074 charactes as is. Use indent-to to align characters.
9076 * international/mule-cmds.el (find-multibyte-characters): Never
9077 exclude charsets eight-bit-control and eight-bit-graphic.
9079 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9081 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
9082 Don't quote lambdas.
9084 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
9086 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9088 * gud.el (gud-jdb-directories): Doc fix.
9090 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9092 * newcomment.el: New file.
9094 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9096 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
9098 2000-05-18 Andreas Schwab <schwab@suse.de>
9100 * dired.el (dired-between-files): Also skip lines beginning with
9103 2000-05-18 Gerd Moellmann <gerd@gnu.org>
9105 * msb.el (msb-menu-cond): Add choice `user'.
9107 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9109 * ps-print.el: Compatibility, customization and doc fix.
9110 (ps-printer-name-option): Replace defconst by defvar.
9111 (ps-postscript-code-directory): XEmacs compatibility.
9112 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
9114 (ps-user-defined-prologue, ps-print-prologue-header)
9115 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
9116 compatibility and code fix.
9117 (ps-print-background-image, ps-print-background-text):
9119 (ps-line-number-start, ps-n-up-on): New vars.
9121 2000-05-18 Espen Skoglund <esk@ira.uka.de>
9123 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
9124 the indent-comment function to just return the appropriate indent.
9126 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
9128 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
9129 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
9130 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
9132 2000-05-18 Dave Love <fx@gnu.org>
9134 * info.el (Info-fontify-node): Add intangible property as well as
9137 * calendar/appt.el (appt-make-list): Match all lines of entry.
9138 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
9140 2000-05-18 Kenichi Handa <handa@etl.go.jp>
9142 * international/mule-diag.el (describe-char-after): Call
9143 internal-char-font, not char-font. If internal-char-font returns
9144 nil, display "-- none --".
9146 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9148 * image.el (image-type-available-p): Don't reference image-types
9151 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
9153 * autoarg.el (autoarg-mode): Typo in the :set argument.
9155 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9157 * startup.el (command-line-1): Don't signal an error if the
9158 directory for auto-save-list files does not yet exist.
9160 2000-05-17 Kenichi Handa <handa@etl.go.jp>
9162 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
9164 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
9166 * subr.el (remove-hook): `setq' hook-value, not `set'.
9168 2000-05-16 Sam Steingold <sds@gnu.org>
9170 * info.el (debug-ignored-errors): More errors to ignore.
9172 2000-05-16 Dave Love <fx@gnu.org>
9174 * cus-edit.el: Don't require cl or easymenu.
9175 (custom-variable-prompt): Test standard-value property, not
9178 2000-05-16 Sam Steingold <sds@gnu.org>
9180 * subr.el (add-hook): `setq' hook-value, not `set'.
9182 2000-05-16 Gerd Moellmann <gerd@gnu.org>
9184 * startup.el (command-line-1): Mention the FAQ in the startup
9187 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
9189 * progmodes/compile.el (compilation-parse-errors): Collect
9190 `nomessage' regexps last.
9192 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
9194 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
9195 to the function name.
9197 2000-05-15 Dave Love <fx@gnu.org>
9199 * speedbar.el (speedbar-recenter): Typo.
9200 (speedbar-expand-line): Make arg optional.
9201 (speedbar-mode): Avoid a compiler warning.
9203 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9205 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
9206 user-specified option string is empty.
9208 * mouse.el (mouse-yank-at-click): Doc fix.
9210 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
9212 * term/internal.el (IT-character-translations): More updates of
9213 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
9216 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9218 * env.el (getenv): New function, interactively callable.
9219 (setenv, getenv): Remove autoload cookies.
9221 * loadup.el: Load `env'.
9223 * progmodes/f90.el: Change author's mail address.
9225 2000-05-14 Dave Love <fx@gnu.org>
9227 * mail/rmail.el (rmail-show-message-hook): Customize and offer
9228 goto-addr as an option.
9230 * help.el (help-xref-stack): Doc fix.
9231 (help-xref-following): New variable.
9232 (help-make-xrefs): Use it.
9233 (help-xref-go-back): Use position information from stack element.
9234 (help-follow): Make position in stack element a pair. Use
9235 help-xref-following.
9237 * autoarg.el: New file.
9239 * faces.el: Declare more functions obsolete.
9241 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
9242 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
9243 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
9244 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
9245 Remove all the setup-...-environment functions.
9247 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
9249 * speedbar.el: Updated the commentary section. xemacs20p now uses
9250 >= when detecting. Require `defimage' safely.
9251 (speedbar-easymenu-definition-base): Add toggle for images.
9252 (speedbar-easymenu-definition-special): Add flush cache & expand.
9253 (speedbar-visiting-tag-hook): Set new defaults. Added options.
9254 (speedbar-reconfigure-keymaps-hook): New variable.
9255 (speedbar-frame-parameters): Updated documentation.
9256 (speedbar-use-imenu-flag): Updated custom tag
9257 (speedbar-dynamic-tags-function-list): New variable.
9258 (speedbar-tag-hierarchy-method): Updated doc & custom.
9259 (speedbar-indentation-width, speedbar-indentation-width) New
9261 (speedbar-hide-button-brackets-flag): Customizable.
9262 (speedbar-vc-indicator): Doc update.
9263 (speedbar-ignored-path-expressions): Updated default value.
9264 (speedbar-supported-extension-expressions): Updated default value.
9265 (speedbar-syntax-table): Remove {} paren status.
9266 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
9267 as "+". Added overlay aliases.
9268 (speedbar-mode): Use `speedbar-mode-line-update' instead of
9269 `force-mode-line-update'.
9270 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
9271 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
9273 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
9274 (speedbar-item-info-tag-helper): Revamped to handle a wider range
9275 of arbitrary text, and new helper functions.
9276 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
9278 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
9279 (speedbar-directory-buttons): Update path search/expansion.
9280 (speedbar-make-tag-line): Pay attention to
9281 `speedbar-indentation-width'. Use more care w/ invisible
9283 (speedbar-change-expand-button-char): Call
9284 `speedbar-insert-image-button-maybe'.
9285 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
9286 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
9287 (speedbar-trim-words-tag-hierarchy)
9288 (speedbar-simple-group-tag-hierarchy): New functions
9289 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
9290 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
9292 (speedbar-mouse-set-point): New function
9293 (speedbar-power-click): Updated documentation.
9294 (speedbar-line-token, speedbar-goto-this-file): Handle more types
9296 (speedbar-expand-line, speedbar-contract-line): Make more robust
9298 (speedbar-expand-line): Takes universal argument to flush the
9300 (speedbar-flush-expand-line): New function.
9301 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
9302 Use new generator insertion method.
9303 (speedbar-fetch-dynamic-tags): New function.
9304 (speedbar-fetch-dynamic-imenu): Removed code now handled in
9305 `speedbar-fetch-dynamic-imenu'.
9306 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
9307 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
9308 "Revert Buffer" menu items.
9309 (speedbar-buffer-buttons-engine): Be smarter when creating a
9310 filename tag (for expansion purposes.).
9311 (speedbar-highlight-one-tag-line,
9312 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
9313 (speedbar-recenter): New functions.
9314 (defimage-speedbar): Image loading abstraction.
9315 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
9316 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
9317 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
9318 (speedbar-tag-type, speedbar-tag-mail): New images.
9319 (speedbar-expand-image-button-alist): New variable.
9320 (speedbar-insert-image-button-maybe): Insert an image over some
9323 2000-05-13 Kenichi Handa <handa@etl.go.jp>
9325 * international/mule-cmds.el (encode-coding-char): An ASCII
9326 character is always encodable.
9328 * international/mule-conf.el: Add more information in descriptions
9331 * international/mule-diag.el (describe-char-after): New function.
9332 (describe-font-internal): Adjusted for the change of font-info.
9333 (describe-font): Likewise.
9334 (print-fontset): Rewritten for the new fontset implementation.
9335 (describe-fontset): Include fontset alias names in completion.
9336 (list-fontsets): Adjusted for the change of print-fontset.
9338 * simple.el (what-cursor-position): If DETAIL is non-nil, call
9339 describe-char-after instead of displaying the detail in the echo
9341 (syntax-code-table): Format changed.
9342 (string-to-syntax): Adjusted for the above change.
9344 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
9346 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
9348 2000-05-12 Dave Love <fx@gnu.org>
9350 * calendar/todo-mode.el: Remove some compatibility stuff and CL
9351 dependence. Use line-{beginning,end}-position, not
9352 point-at{b,e}ol. Some doc fixes.
9353 (todo-position): New function. Fix callers of position to use it.
9354 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9356 2000-05-12 Gerd Moellmann <gerd@gnu.org>
9358 * time.el (display-time-mail-icon): Use `:ascent center'.
9360 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9361 handling FTP security extensions.
9363 2000-05-11 Dave Love <fx@gnu.org>
9365 * calendar/todo-mode.el: New file.
9367 2000-05-11 Gerd Moellmann <gerd@gnu.org>
9369 * comint.el (comint-read-input-ring): Move reference to
9370 comint-input-ring-size outside of the save-excursion. It was
9371 causing the default value to be the only one ever seen.
9373 * font-lock.el: Update copyright. Remove Simon Marshall's email
9374 address on request from him.
9376 * subr.el (substitute-key-definition): Add comment describing
9377 the meaning of PREFIX.
9379 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
9381 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9383 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9384 (add-minor-mode): Don't make the variable buffer-local and add a
9385 reference to define-minor-mode in the docstring.
9387 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9388 HEADER/FOOTER and fix bug with trailing empty directory.
9389 (cvs-append-to-ignore): Use vc-editable-p if available.
9390 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9391 (vc-do-command): Tweak advice to handle the new VC.
9393 * log-view.el (log-view-goto-rev): New function for the new VC.
9394 (log-view-minor-wrap): Use mark-active.
9396 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9397 (log-edit-changelog-full-paragraphs): New var.
9398 (log-edit-insert-changelog): Remove a lonely leading `* file'.
9399 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9400 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9401 (log-edit-changelog-ours-p, log-edit-changelog-entries)
9402 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9403 Replace the `cvs' prefix with `log-edit'.
9405 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9407 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9408 (diff-font-lock-defaults): Explicitly turn off multiline.
9409 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9410 (diff-ediff-patch): Fix call to ediff-patch-file.
9411 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9414 * frame.el (automatic-hscrolling): Typo.
9416 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9418 2000-05-09 Sam Steingold <sds@goems.com>
9420 * apropos.el (apropos-print): use `describe-face' instead of
9421 `customize-face-other-window'.
9423 2000-05-09 Dave Love <fx@gnu.org>
9425 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9427 * help.el (describe-variable): Have customize button pop the
9428 help-xref stack when invoked.
9429 (help-xref-symbol-regexp): Add `face'.
9430 (help-make-xrefs): Check for quoted face names and adapt regexp
9431 submatch numbers to cope.
9432 (help-xref-interned): Maybe insert face doc too. Separate
9433 sections with a line of hyphens.
9435 * faces.el: Some doc fixes. Declare some functions obsolete.
9436 (describe-face): Add customize button. Return the help
9439 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
9441 * term/internal.el (IT-character-translations): Fix last change.
9443 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9445 * woman.el: New file
9446 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9448 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9450 * term/internal.el (IT-character-translations): Update ASCII
9451 simulations for greek-iso8859-7, add latin-iso8859-14 and
9454 * international/mule-cmds.el (set-language-info-alist): Call
9455 define-prefix-command with 3 arguments, to make the map suitable
9458 2000-05-07 Dave Love <fx@gnu.org>
9460 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
9462 2000-05-05 Dave Love <fx@gnu.org>
9464 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9465 list in doc string. Don't quote keyword symbols.
9466 * emacs-lisp/cl.el: Likewise
9467 * emacs-lisp/cl-seq.el: Likewise
9469 2000-05-05 Gerd Moellmann <gerd@gnu.org>
9471 * abbrev.el (abbrev-mode): Make ARG optional.
9473 2000-05-04 Gerd Moellmann <gerd@gnu.org>
9475 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9477 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9479 * subr.el (substitute-key-definition): Clarify documentation.
9481 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
9483 * glasses.el (glasses-convert-to-unreadable): Use
9484 `glasses-separator' instead of the hard-wired "_".
9485 (glasses-mode): Call `glasses-make-unreadable' only in a single
9488 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
9490 * term/internal.el (cjk-codepages-alist): Add associations for
9491 Chinese and Korean codepages. Remove FIXME comment.
9493 2000-05-03 Dave Love <fx@gnu.org>
9495 * time.el (display-time-mail-face, display-time-use-mail-icon):
9497 (display-time-mail-icon): New variable.
9498 (display-time-string-forms): Use the above. Fix the local-map.
9500 2000-05-03 Gerd Moellmann <gerd@gnu.org>
9502 * replace.el (query-replace-map): Add binding for `E'.
9503 (query-replace-help): Extend help text.
9504 (perform-replace): Allow editing the replacement string.
9506 * make-mode.el (makefile-mode-abbrev-table): New variable.
9507 (makefile-mode): Set local abbrev table to
9508 makefile-mode-abbrev-table.
9509 (makefile-font-lock-keywords): Fontify includes and conditionals.
9511 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9514 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9515 mail-interactive-insert-alias.
9516 (mail-abbrev-complete-alias): New command.
9517 (mail-mode-map): Bind it to `M-TAB'.
9519 2000-05-03 Kenichi Handa <handa@etl.go.jp>
9521 * language/lao-util.el (lao-compose-region): New function.
9523 2000-05-02 Gerd Moellmann <gerd@gnu.org>
9525 * files.el (recover-session): Make directories as necessary
9526 if they don't exist yet.
9528 * calendar/cal-french.el
9529 (french-calendar-multibyte-special-days-array)
9530 (french-calendar-special-days-array): Change French text.
9531 (calendar-french-date-string): Change output.
9532 (calendar-goto-french-date): Likewise.
9534 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
9536 * wid-edit.el (widget-default-active): Obey `:always-active'.
9537 (widget-documentation-string-value-create): Set `:always-active'.
9539 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9541 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9542 default prefix to `~/_emacs.d/auto-save.list/_s'.
9543 (normal-top-level): Create the directory for auto-save files, if
9544 it doesn't already exist (in the ms-dos case only).
9546 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9548 * international/mule-cmds.el (set-language-environment): Don't
9549 concat an integer (dos-codepage), use format instead.
9551 2000-05-02 Dave Love <fx@gnu.org>
9553 * help.el (help-xref-on-pp): Check for constant symbols.
9555 2000-04-29 Gerd Moellmann <gerd@gnu.org>
9557 * startup.el (normal-top-level): Put a condition-case around
9558 the code loading subdirs.el.
9560 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9562 * ps-print.el: Upside-down and face background color printing,
9563 line number step, doc fix.
9564 (ps-print-version): New version number (5.2).
9565 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9566 (ps-face-attribute-list, ps-plot-with-face): Code fix.
9567 (ps-spool-config): Var fix.
9568 (ps-printer-name-option): Const fix.
9569 (ps-print-upside-down, ps-use-face-background)
9570 (ps-line-number-step): New vars.
9571 (ps-window-system, ps-lp-system): New consts.
9572 (ps-face-background): New fun.
9574 2000-04-28 Richard Stallman <rms@gnu.org>
9576 * files.el (make-auto-save-file-name):
9577 Apply auto-save-file-name-transforms to visited file name
9578 before generating auto save file name.
9579 (auto-save-file-name-transforms): New variable.
9581 * files.el (backup-enable-predicate):
9582 Correctly test for a file under a temporary directory.
9584 2000-04-28 Gerd Moellmann <gerd@gnu.org>
9586 * subr.el (add-minor-mode): Rewritten.
9588 2000-04-28 Kenichi Handa <handa@etl.go.jp>
9590 * mail/sendmail.el (sendmail-send-it): Set
9591 buffer-file-coding-system to the selected coding system for MIME
9594 2000-04-27 Gerd Moellmann <gerd@gnu.org>
9596 * dired.el (dired-move-to-filename-regexp): Allow format where
9597 YYYY is followed by two spaces.
9599 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9600 in the second character class of the regexp.
9602 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9605 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9608 * subr.el (add-minor-mode): Use `set' instead of `setq'.
9610 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9613 2000-04-27 Sen Nagata <sen@eccosys.com>
9615 * emacs-lisp/crm.el (crm-completion-table): New variable.
9616 (crm-collection-fn, crm-test-completion)
9617 (completing-read-multiple): Use it.
9619 2000-04-27 Dave Love <fx@gnu.org>
9621 * help.el (locate-library): Use mapc.
9622 (help-manyarg-func-alist): Add call-process-region.
9624 2000-04-26 Gerd Moellmann <gerd@gnu.org>
9626 * subr.el (add-minor-mode): Make argument MAP optional.
9628 * desktop.el (desktop-save): Save list of minor modes.
9629 (desktop-create-buffer): Restore minor modes.
9630 (desktop-minor-mode-table): New user-option.
9632 * subr.el (add-minor-mode): New function.
9634 * image.el (find-image): New function.
9635 (defimage): Rewritten to find image at load time.
9637 * startup.el (normal-top-level-add-to-load-path): Handle
9638 case that the default directory is not in load-path.
9640 * help.el: Old patch from Stefan Monnier.
9641 (help-xref-on-pp): New function.
9642 (describe-variable): Use it to display xrefs in a symbol's value.
9644 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
9646 * cus-edit.el (custom-face): Fix parenthesis.
9648 2000-04-26 Kenichi Handa <handa@etl.go.jp>
9650 * mail/rmail.el (rmail-expunge): When there are no deleted
9651 messages, do nothing.
9653 2000-04-26 Dave Love <fx@gnu.org>
9655 * international/mule-cmds.el (locale-translation-file-name):
9657 (set-locale-environment): Set it here (at runtime).
9659 2000-04-25 Gerd Moellmann <gerd@gnu.org>
9661 * replace.el (perform-replace): Add parameters START and END. Use
9662 them instead of the check for a region in Transient Mark mode.
9663 (query-replace-read-args): Return two more list elements for the
9664 start and end of the region in Transient Mark mode.
9665 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9666 (map-query-replace-regexp, replace-string, replace-regexp): Add
9667 optional last arguments START and END and pass them to
9670 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9671 form with additional arguments for perform-replace.
9673 * progmodes/etags.el (tags-query-replace): Add parameters START
9674 and END. Construct a form with additional arguments for
9677 * simple.el (shell-command): Set default directory for "*Shell
9678 Command Output" buffer.
9680 * language/european.el (iso-latin-4): Fix typo.
9682 * emacs-lisp/crm.el: New file.
9684 2000-04-24 Dave Love <fx@gnu.org>
9686 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9687 (Custom-reset-saved, Custom-reset-standard)
9688 (custom-group-value-create, custom-group-set, custom-group-save)
9689 (custom-group-reset-current, custom-group-reset-saved)
9690 (custom-group-reset-standard): Use mapc.
9691 (custom-buffer-create-internal): Disable undo when creating items.
9693 (custom-face): Avoid redundant lambda.
9695 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9697 * startup.el (auto-save-list-file-prefix): Set default to
9698 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9700 2000-04-24 Sam Steingold <sds@gnu.org>
9702 * time-stamp.el (time-stamp-string-preprocess): Always convert
9703 `field-result' to a string.
9705 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9707 * frame.el (scrolling): New group.
9708 (automatic-hscrolling): New user-option.
9710 * startup.el (command-line-x-option-alist): Add `-lsp' and
9713 2000-04-19 Dave Love <fx@gnu.org>
9715 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
9716 (cl-mapc): Rename from mapc. Fix the funcall.
9718 2000-04-19 Gerd Moellmann <gerd@gnu.org>
9720 * simple.el (clone-indirect-buffer-other-window): New command.
9721 (clone-indirect-buffer): Add optional arg NORECROD.
9722 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
9724 * help.el (resize-temp-buffer-window): Use count-screen-lines.
9726 * window.el (count-screen-lines): New function.
9727 (shrink-window-if-larger-than-buffer): Use count-screen-lines
9728 instead of window-buffer-height.
9730 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
9731 non-existing variable comint-input-sentinel.
9732 (inferior-lisp-args-to-list): Removed.
9733 (inferior-lisp): Use split-string instead of
9734 inferior-lisp-args-to-list.
9736 * hexl.el (hexl-insert-hex-string): New command.
9738 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
9741 2000-04-18 Gerd Moellmann <gerd@gnu.org>
9743 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
9744 at the start of an existing but empty folder.
9746 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9748 * ps-mule.el: Customization fix, doc fix.
9749 (ps-multibyte-buffer): Customization fix.
9751 2000-04-17 Richard M. Stallman <rms@gnu.org>
9753 * subr.el (read-passwd): Use read-char-exclusive.
9755 2000-04-17 Gerd Moellmann <gerd@gnu.org>
9757 * textmodes/texinfo.el (texinfo-insert-@email)
9758 (texinfo-insert-@emph, texinfo-insert-@quotation)
9759 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
9760 (texinfo-mode-map): Add key bindings for them.
9762 * files.el (basic-save-buffer-2): Use a template with `$'
9763 instead of `#' for VMS.
9765 * simple.el (clone-indirect-buffer): New function.
9767 2000-04-16 Stephen Eglen <stephen@gnu.org>
9769 * iswitchb.el (iswitchb-case): New function. If the user input
9770 contains any upper-case characters, the search is made
9773 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
9775 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
9777 (texinfo-font-lock-syntactic-keywords): New var.
9778 (texinfo-font-lock-keywords): Remove comment regexp.
9779 (texinfo-insert-block): New function.
9780 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
9781 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
9782 and font-lock-defaults. Use regexp-opt for outline-regexp.
9783 (texinfo-environments): New var.
9784 (texinfo-environment-regexp): Use regexp-opt and
9785 texinfo-environments.
9787 * textmodes/ispell.el (ispell-menu-map-needed): Check that
9788 ispell-process is bound since this might be eval'd before ispell
9790 (ispell-message): Use a tiny bit less magic and a bit more hard
9791 data to figure out what kind of sc-cite-regexp to use.
9793 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
9795 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
9796 (insert-cyclic-diary-entry): Unquote the lambda.
9798 * gud.el (gud-jdb-build-source-files-list): Fix typo.
9800 * files.el (backup-enable-predicate): Unquote the lambda.
9802 * cus-edit.el (custom-face, face): Unquote the lambda.
9804 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9806 * ps-print.el: Check for line-beginning-position definition.
9808 * ps-print.el: Fix counting lines in a region.
9809 (ps-print-version): New version number (5.1.5).
9810 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
9811 (ps-printing-region): Fun code fix.
9813 2000-04-15 Gerd Moellmann <gerd@gnu.org>
9815 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
9816 to file-directory-p.
9818 2000-04-14 Gerd Moellmann <gerd@gnu.org>
9820 * gud.el (gud-jdb-build-source-files-list): Check that directory
9821 exists before calling directory-files.
9823 2000-04-13 Dave Love <fx@gnu.org>
9825 * emacs-lisp/trace.el: Change maintainer. Use new backquote
9828 * emacs-lisp/cl-specs.el: Remove when, unless.
9830 * emacs-lisp/cl-extra.el: Don't quote keywords.
9831 (cl-old-mapc): New variable.
9833 (cl-map-intervals): Use with-current-buffer. Don't check for
9834 next-property-change.
9835 (cl-map-overlays): Use with-current-buffer.
9837 (copy-tree, remprop): Define unconditionally.
9839 * emacs-lisp/cl-compat.el (keywordp): Remove.
9841 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
9843 (edebug-spec): Enable keywordp.
9845 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
9848 * cus-start.el: Use keywordp.
9850 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9852 * diary-lib.el (include-other-diary-files): Fix the fix of
9853 2000-02-18 by doing a save-excursion.
9855 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9857 * ps-print.el: Customization fix, doc fix.
9858 (ps-print-version): New version number (5.1.4).
9859 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
9860 (ps-print-preprint): Adjust code.
9861 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
9862 (ps-print-prologue-header, ps-print-control-characters)
9863 (ps-spool-config): Customization fix.
9865 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
9867 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
9868 converted to the new menu-item format, names silightly changed,
9871 Support for spelling without async subprocesses:
9873 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
9874 (ispell-session-buffer): New variables.
9875 (ispell-start-process, ispell-process-status,
9876 ispell-accept-output, ispell-send-string): New functions, for
9877 Ispell invocation when async subprocesses aren't supported.
9878 (ispell-word, ispell-pdict-save, ispell-command-loop,
9879 ispell-process-line, ispell-buffer-local-parsing): Replace calls
9880 to process-send-string with calls to ispell-send-string, and
9881 accept-process-output with ispell-accept-output.
9882 (ispell-init-process): Call ispell-process-status instead of
9883 process-status with.
9884 (ispell-init-process): Call ispell-start-process. Call
9885 ispell-accept-output and ispell-send-string. Don't call
9886 process-kill-without-query and kill-process if they are unbound.
9887 (ispell-async-processp): New function.
9889 2000-04-12 Dave Love <fx@gnu.org>
9891 * info.el: Add debug-ignored-errors.
9892 (Info-mode-menu): Add some items.
9893 (Info-directory): Add autoload cookie.
9895 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
9896 Modify `truncate-lines'. Make `describe-language-environment'
9897 always visible and add help. Modify `describe-key' help. Invoke
9898 Info-directory from `info'. New entry `emacs-manual'.
9900 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9902 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
9903 propertized-buffer-identification.
9904 (ebrowse-update-member-buffer-mode-line): Likewise.
9905 (ebrowse--mode-strings): Removed.
9906 (ebrowse--mode-line-props): Removed.
9908 * files.el (auto-mode-alist): Add `EBROWSE'.
9910 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
9911 space before testing for end of buffer.
9912 (ebrowse-load): Removed.
9913 (ebrowse-revert-tree-buffer-from-file): Rewritten.
9914 (ebrowse-create-tree-buffer): Rewritten.
9915 (ebrowse-tree-mode): Read tree from buffer.
9917 * progmodes/ebrowse-ffh.el: Removed.
9919 2000-04-10 Kenichi Handa <handa@etl.go.jp>
9921 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
9923 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9925 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
9928 2000-04-09 Dave Love <fx@gnu.org>
9930 * files.el (backup-enable-predicate): Use
9931 temporary-file-directory, small-temporary-file-directory.
9932 (make-backup-file-name-function, backup-directory-alist): New
9934 (make-backup-file-name-1): New function.
9935 (make-backup-file-name): Use it.
9936 (find-backup-file-name): Likewise. Use format for clarity, not
9938 (file-newest-backup): Use make-backup-file-name.
9940 2000-04-09 Gerd Moellmann <gerd@gnu.org>
9942 * progmodes/ebrowse-ffh.el: New file.
9944 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
9946 (ebrowse-load): Add autoload.
9948 * finder.el (finder-commentary): Add autoload cookie.
9950 * mail/rfc2368.el: Correct author's email address.
9952 * progmodes/ebrowse.el: New file.
9954 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
9956 (easy-menu-do-add-item): Ditto.
9957 (easy-menu-define): Extend doc string.
9959 * jit-lock.el (with-buffer-unmodified): Use
9960 restore-buffer-modified-p.
9961 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
9962 (jit-lock-function, jit-lock-stealth-fontify): Don't use
9963 with-buffer-unmodified.
9965 2000-04-08 Dave Love <fx@gnu.org>
9967 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
9970 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
9972 * viper-util.el (viper-put-on-search-overlay): New subroutine.
9973 (viper-flash-search-pattern): No operation when using Emacs
9974 doesn't support face.
9975 Use `viper-put-on-search-overlay'.
9977 2000-04-04 Gerd Moellmann <gerd@gnu.org>
9979 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
9982 * progmodes/make-mode.el: Some doc fixes.
9983 (makefile-mode-abbrev-table): New variable.
9984 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
9985 (makefile-font-lock-keywords): Fontify includes and conditionals.
9986 (toplevel): Require `dabbrev' and `add-log' when compiling.
9988 * replace.el (perform-replace): Don't move forward one char
9989 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
9990 to do that because it leaves point 1 position after the last
9991 replacement, after everything has been replaced.
9993 * jit-lock.el (with-buffer-unmodified): New macro.
9994 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
9996 (jit-lock-function-1): Extracted from jit-lock-function; not
9997 preserving buffer's modified state.
9998 (jit-lock-function, jit-lock-stealth-fontify): Call
9999 jit-lock-function-1.
10001 * mail/rfc2368.el: Remove supernumerary copyright line.
10003 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
10005 * glasses.el: Provide facilities for inserting space before left
10006 parentheses and uncapitalization of identifiers.
10007 (glasses-mode): Try to remove old overlays in all cases.
10009 2000-04-03 Gerd Moellmann <gerd@gnu.org>
10011 * progmodes/compile.el (compile-internal): Display the compilation
10012 buffer in a different frame, if it's already displayed there.
10014 * mail/rfc2368.el: New file.
10016 * simple.el (sendmail-user-agent-compose): Recognize a `body'
10017 header and insert its value as mail body.
10019 * subr.el (member-ignore-case): New function.
10021 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
10022 (dabbrev--find-expansion): Ignore buffers matching a regexp
10023 from dabbrev-ignored-regexps.
10025 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
10026 to extensions handled by gzip.
10028 2000-04-03 Richard M. Stallman <rms@gnu.org>
10030 * files.el (insert-directory): List the total free space
10031 along with the used space.
10033 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
10034 line is followed by one that matches CITATION-REGEXP, end the
10037 2000-04-03 Markus Rost <rost@delysid.gnu.org>
10039 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
10040 (rmail-make-basic-summary-line): Use that option.
10042 2000-04-03 Kenichi Handa <handa@etl.go.jp>
10044 * international/mule-cmds.el (encoded-string-description):
10045 Rewritten. Try pretty description for ISO 2022 escape sequences
10046 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
10047 for hexadecimal format.
10049 2000-04-01 Dave Love <fx@gnu.org>
10051 * cpp.el: Change customization group to `c' from `C'.
10053 * vcursor.el (vcursor-move): Use display-color-p.
10055 * international/mule-util.el: Provide mule-utils.
10056 (string-to-sequence): Simplify and speed up.
10058 * international/mule.el (make-coding-system): Purecopy doc-string.
10060 * international/mule-cmds.el: Various menu changes.
10061 (describe-specified-language-support): Handle `Default'.
10062 (set-language-info): Purecopy `info'.
10064 2000-03-31 Andrew Innes <andrewi@gnu.org>
10066 * vc.el (vc-backend-diff): Return the correct status if we had to
10067 retry the rcsdiff command without the --brief option.
10069 2000-03-31 Dave Love <fx@gnu.org>
10071 * help.el (help-manyarg-func-alist): Correct several omissions.
10073 * add-log.el: Don't require cl, fortran.
10074 (add-log-current-defun-function): Doc fix.
10075 (change-log-version-number-regexp-list): Remove SCCS part. Doc
10077 (change-log-version-rcs): Function deleted.
10078 (change-log-version-number-search): Doc fix. Use
10079 vc-workfile-version. Avoid CL dolist.
10080 (add-change-log-entry): Just call add-log-current-defun to get
10081 defun. Simplify somewhat.
10082 (change-log-get-method-definition-1): Likewise.
10083 (add-log-current-defun): Return nil if calling
10084 add-log-current-defun-function does so. Move Fortran stuff to
10085 fortran.el. Return string without properties.
10087 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
10088 and :alpha: char classes.
10090 * mail/supercite.el: Defvar curline when compiling.
10091 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
10092 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
10093 rather than a-zA-Z0-9 to allow non-ASCII characters.
10095 2000-03-31 Gerd Moellmann <gerd@gnu.org>
10097 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
10099 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10100 Re-enable new code.
10102 * lpr.el (print-region-1): Use -d to specify printer name for
10103 systems `usg-unix-v*, `dgux', `hpux', `irix'.
10105 2000-03-31 Dave Love <fx@gnu.org>
10107 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
10108 for function definition in symbol's function value slot first
10109 instead of first consulting byte-compile-function-environment.
10111 2000-03-31 Kenichi Handa <handa@etl.go.jp>
10113 * language/european.el ("Polish"): New language environment.
10114 (setup-polish-environment): New function.
10116 2000-03-30 Gerd Moellmann <gerd@gnu.org>
10118 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10121 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
10122 trying to `load' the symbol of an autoload instead of the file
10123 recorded in the autoload. Fix error messages.
10125 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10127 * ps-print.el: PostScript programming fix for ghostview, doc fix.
10128 (ps-print-version): New version number (5.1.3).
10129 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
10130 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
10131 (ps-generate-postscript-with-faces): Code fix.
10132 (ps-color-values): XEmacs compatibility.
10133 (ps-print-background-image, ps-print-background-text, ps-printer-name)
10134 (ps-default-fg, ps-default-bg): Adjust customization.
10135 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
10136 (ps-color-scale): Renaming old ps-color-value fun.
10137 (ps-print-headers): Replace ps-print-header group to avoid conflict
10138 with ps-print-header variable.
10139 (ps-print-miscellany): New group.
10140 (ps-format-color, ps-rgb-color): New funs.
10141 (ps-default-foreground): New var.
10142 (ps-printer-name-option): New const.
10144 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
10146 * net/net-utils.el:
10147 (network-connection-host, network-connection-service): New variables
10148 (network-connection-mode): New mode, derived from comint-mode
10149 (network-connection-mode-setup): New function, saves host and
10150 service information in local variables.
10153 (locate-word-at-point): Added this function
10154 (locate): Default to using locate-word-at-point as input
10155 Run dired-mode-hook
10157 2000-03-29 Dave Love <fx@gnu.org>
10159 * calendar/appt.el: Doc fixes.
10160 (appt-check): Convert min-to-app to a string before passing to
10161 appt-disp-window-function or concat.
10162 (appt-delete-window): Remove test for frame-root-window.
10163 (appt-select-lowest-window, appt-convert-time): Simplify.
10165 * emacs-lisp/bytecomp.el: Doc fixes.
10166 (byte-compile-file-form-autoload): Update
10167 byte-compile-function-environment.
10169 2000-03-29 Andreas Schwab <schwab@suse.de>
10171 * emacs-lisp/autoload.el: Also print defsubst doc string
10174 * dired.el (dired-insert-directory): If dired-free-space-program
10175 failed just delete its output.
10177 2000-03-29 Dave Love <fx@gnu.org>
10179 * international/iso-cvt.el: Move provide to end. Doc fixes.
10180 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
10181 (iso-iso2sgml, iso-sgml2iso): New functions.
10182 (iso-cvt-define-menu): Fix some entries and use backquote for
10185 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
10187 2000-03-28 Gerd Moellmann <gerd@gnu.org>
10189 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
10190 ISO-DATE. If non-nil, return date in ISO 8601 format.
10192 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
10194 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
10195 if it ever becomes used.
10196 (log-edit-mode-hook): Default to vc-log-mode-hook.
10197 (log-edit-mode): Fix the docstring.
10199 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
10202 2000-03-26 Dave Love <fx@gnu.org>
10204 * net/browse-url.el (browse-url): Re-fix case of
10205 browse-url-browser-function being an alist.
10206 (browse-url): Add :link to defgroup.
10208 * files.el: Doc fixes.
10209 (file-truename): Include `[' in wildcard characters.
10210 (automount-dir-prefix): Customize.
10211 (find-file-wildcards): Add :version.
10212 (find-file-noselect): Simplify a mapcar call.
10214 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
10215 compatible with inf-lisp version.
10216 (eval-defun-1): Fix custom-declare-variable case.
10218 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
10220 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
10222 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10224 * Makefile (COMPILE_FIRST): New macro.
10225 (compile-files): Compile files from COMPILE_FIRST first.
10227 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
10230 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
10231 matching open parenthesis in column 0 to defun-prompt-regexp
10232 only if open-paren-in-column-0-is-defun-start is set.
10234 * sun-curs.el: Require CL at compile-time only.
10236 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
10237 instead of copy-list which is a function from CL.
10238 (msb--choose-menu, msb--mode-menu-cond)
10239 (msb--create-buffer-menu-2): Use dolist instead of mapc.
10240 (msb--init-file-alist): Use mapcar instead of mapcan.
10241 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
10242 `(' in column 0 in doc string.
10243 (msb--add-separators): Use mapcar instead of mapcan.
10245 * cus-dep.el: Require CL at compile-time only.
10247 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
10249 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10250 (byte-compile-warnings): New warning `noruntime'.
10251 (byte-compile-constants, byte-compile-variables): Fix docstring.
10252 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
10253 execute `eval-whenc-compile's body.
10254 (byte-compile-unresolved-functions): Fix docstring.
10255 (byte-compile-eval): New function.
10256 (byte-compile-callargs-warn): Check if the function will be available
10257 at runtime (via property `byte-compile-noruntime').
10258 (byte-compile-print-syms): New function.
10259 (byte-compile-warn-about-unresolved-functions): Also warn about
10260 `noruntime' functions (and use `byte-compile-print-syms').
10261 (byte-compile-file): Capitalize the message.
10263 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10265 * mail/rmail.el (rmail-confirm-expunge): New user-option.
10266 (rmail-expunge): Ask for confirmation depending on the setting
10267 of rmail-confirm-expunge.
10269 2000-03-23 Gerd Moellmann <gerd@gnu.org>
10271 * Makefile (bootstrap-clean): If $(emacs) exists, build
10272 loaddefs.el first. A loaddefs.el that's not up-to-date might
10273 cause a bootstrap failure because things don't autoload as
10276 2000-03-23 Dave Love <fx@gnu.org>
10278 * net/browse-url.el: Restore previous use of
10279 browse-url-maybe-new-window.
10281 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10283 * ps-print.el: Skip banner page fix.
10284 (ps-print-version): New version number (5.1.2).
10285 (ps-begin-file, ps-end-file, ps-generate): Code fix.
10287 2000-03-23 Dave Pearson <davep@davep.org>
10289 * net/quickurl.el Changed the type of parameter passed to the
10290 function defined by `quickurl-format-function'. Before only the
10291 text of the URL was passed. Now the whole URL structure is passed
10292 and the function is responsible for extracting the parts it
10293 requires. Changed the default of `quickurl-format-function'
10295 (quickurl-insert): Changed the `funcall' of
10296 `quickurl-format-function' to match the above change.
10297 (quickurl-list-insert): Changed the `url' case so that it makes
10298 use of `quickurl-format-function', previous to this the format was
10301 2000-03-22 Gerd Moellmann <gerd@gnu.org>
10303 * startup.el: Change some spellings for the X Window System.
10305 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
10307 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
10308 up the code and the regexp and make sure the cursor is temporarily
10309 moved to the suspicious line while querying the user.
10311 2000-03-22 Jason Rumney <jasonr@gnu.org>
10313 * w32-fns.el (w32-charset-info-alist): Initialize.
10315 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10317 * ps-print.el: N-up last page fix.
10318 (ps-print-version): New version number (5.1.1).
10319 (ps-end-file, ps-end-job, ps-generate): Code fix.
10321 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10323 * files.el (find-file-run-dired): Update docstring.
10324 (find-directory-functions): New hook.
10325 (find-file-noselect): Run find-directory-functions rather than
10326 calling dired directly.
10328 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
10330 * pcvs.el: Add a minimal leading commentary.
10331 (cvs-make-cvs-buffer): Change the header part by removing the startup
10332 message and adding a `Module' entry. Also replace the FOOTER and
10333 HEADER special fileinfos with the new support in ewoc for updating
10334 its own footer and header.
10335 (cvs-update-header): Update to use the header/footer of the ewoc.
10336 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
10337 (cvs-is-within-p): New function.
10338 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
10339 to only examine some subset of the buffers.
10341 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
10342 `format' instead of our own ad-hoc functions.
10343 Remove HEADER and FOOTER cases, now handled in the EWOC.
10344 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
10346 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
10347 output to avoid scaring the user.
10348 (cvs-parse-table): Catch message for non-up-to-date commits.
10350 * pcvs-defs.el (cvs-startup-message): Remove.
10351 (cvs-global-menu): New autoloaded menu.
10353 * pcvs-util.el (cvs-string-fill): Remove.
10355 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10356 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10357 PP part of it and also make it work for footers and headers.
10358 (ewoc-create): Drop POS and BUFFER arguments.
10359 Use the DLL's dummy node to store the end-of-footer position.
10360 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10361 (ewoc-refresh): Remove unused `header' variable.
10362 (ewoc-(get|set)-hf): New functions.
10364 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10365 log-view-*-(message|file) and use easy-mmode-define-navigation.
10366 (log-view-message-re): Match SCCS format as well.
10367 And match the revision line rather than the dashed separator line.
10368 (log-view-mode): Use the new define-derived-mode.
10369 (log-view-current-tag): Fill in with an actual implementation.
10371 * cvs-status.el (cvs-status-(prev|next)): Rename from
10372 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10373 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10374 to let the output "breathe" a little more (more readable).
10375 (cvs-status-mode): Use the new define-derived-mode.
10377 * smerge-mode.el (smerge-auto-leave): New function and variable.
10378 (smerge-basic-map): Rename from smerge-basic-keymap.
10379 Change the bindings for smerge-diff-*.
10380 (smerge-*-map): Use easy-mmode-defmap.
10381 (smerge-(next|prev)): Use easy-mmode-define-navigation.
10382 (smerge-keep-*): Use smerge-auto-leave.
10384 2000-03-21 Jason Rumney <jasonr@gnu.org>
10386 * cus-edit.el (custom-button-face): Use 3D look for w32.
10387 (custom-button-pressed-face): Likewise.
10389 2000-03-21 Gerd Moellmann <gerd@gnu.org>
10391 * progmodes/etags.el (tags-case-fold-search): New user-option.
10392 (tags-loop-eval): New function. Bind case-fold-search around eval
10393 depending on the value of tags-case-fold-search.
10394 (tags-loop-continue): Use tags-loop-eval.
10395 (find-tag-in-order): Bind case-fold-search depending on the value
10396 of tags-case-fold-search.
10398 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10400 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10401 (diff-end-of-hunk): Return the end position for use in
10402 `easy-mmode-define-navigation'.
10403 (diff-recenter): Remove.
10404 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10405 of `easy-mmode-define-navigation'.
10406 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10407 previous renaming) and fix to use new names.
10408 (diff-merge-strings): Use \n as separator: simpler, faster.
10409 (diff-mode): Use `define-derived-mode'.
10411 * derived.el (define-derived-mode): Don't autoload anymore.
10412 Prefer the macro-only version provided by easy-mmode.el.
10414 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10415 `easy-mmode-define-derived-mode'.
10416 Use `combine-run-hooks'.
10417 (easy-mmode-define-navigation): New macro.
10419 * subr.el (combine-run-hooks): New function.
10421 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
10423 * term/x-win.el: Fontsets related initialization is simplified.
10425 * international/mule-diag.el (describe-font): Don't refer to
10426 global-fontset-alist, instead call font-list.
10427 (describe-fontset, list-fontsets, mule-diag): Likewise.
10428 (print-fontset): Adjusted for the change of fontset
10431 * international/fontset.el (x-charset-registries): Variable
10432 removed, instead the corresponding data is stored in the default
10434 (register-alternate-fontnames): Function removed.
10435 (resolved-ascii-font): Variable removed.
10436 (x-compose-font-name): Ignore the second argument REDOCE.
10437 (x-complement-fontset-spec): Complement only an ASCII font and
10438 element for those charsets than can use that ASCII font.
10439 (generate-fontset-menu): Don't refer to global-fontset-alist,
10440 instead call fontset-list.
10441 (uninstantiated-fontset-alist): Variable removed.
10442 (x-style-funcs-alist): Likewise.
10443 (fontset-default-styles): Likewise.
10444 (x-modify-font-name): Function removed.
10445 (create-fontset-from-fontset-spec): Ignore the argument
10447 (create-fontset-from-ascii-font): Docsting adjusted for the above
10449 (instantiate-fontset, resolve-fontset-name): Functions removed.
10450 (fontset-list): Now implemented by C code.
10452 * faces.el (read-face-font): Fix TABLE arg to completing-read.
10453 (describe-face): Include `font' attribute in the description.
10455 2000-03-21 Kenichi Handa <handa@etl.go.jp>
10457 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10459 2000-03-20 Gerd Moellmann <gerd@gnu.org>
10461 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10462 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10463 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10465 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10466 about behavior of set-buffer-modified-p wrt redisplay.
10468 2000-03-19 Richard M. Stallman <rms@gnu.org>
10470 * view.el (view-mode-disable): Kill local binding of view-read-only.
10472 2000-03-18 Gerd Moellmann <gerd@gnu.org>
10474 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10475 is a string, convert it to a syntax cell using string-to-syntax.
10477 * simple.el (syntax-code-table, syntax-flag-table): New variables.
10478 (string-to-syntax): New function.
10480 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10481 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10482 try to use passive ftp mode.
10484 2000-03-17 Gerd Moellmann <gerd@gnu.org>
10486 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10488 * simple.el (append-to-buffer): Update point of windows after
10491 * abbrev.el (inverse-add-abbrev): Identify word by first moving
10492 forward then moving backward. Reindent.
10494 * frame.el (other-frame): Call x-focus-frame only if
10495 focus-follows-mouse is off.
10497 2000-03-17 Dave Love <fx@gnu.org>
10499 * pcvs-util.el (cvs-strings->string): Rename
10500 replace-regexps-in-string.
10502 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
10504 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10505 regexp for labels cannot span several lines.
10507 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10508 `(setq :<key> ':<key>)' to the macro expansion.
10510 2000-03-16 Dave Love <fx@gnu.org>
10512 * progmodes/f90.el (f90): Put custom group under `languages', not
10514 (f90-mode-hook): Customize.
10515 (f90-mode): Set add-log-current-defun-function.
10516 (f90-current-defun): New function.
10518 2000-03-16 Gerd Moellmann <gerd@gnu.org>
10520 * cus-edit.el (custom-variable-tag-face): Handle case that
10521 default face's height is not a number.
10522 (custom-face-tag-face, custom-group-tag-face-1)
10523 (custom-group-tag-face): Ditto.
10524 (custom-group-tag-face-1): Add :group.
10526 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10528 2000-03-15 Gerd Moellmann <gerd@gnu.org>
10530 * pcvs-defs.el (toplevel): Remove autoload cookie for form
10531 requiring easymenu.
10533 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10535 * ps-print.el: PostScript user-defined prologue, PostScript error
10537 (ps-print-version): New version number (5.1).
10538 (ps-user-defined-prologue, ps-error-handler-message)
10539 (ps-print-prologue-0, ps-error-handler-alist): New vars.
10540 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10541 (ps-insert-string): New function.
10543 2000-03-15 Kenichi Handa <handa@etl.go.jp>
10545 * international/ccl.el (ccl-compile-expression): Don't generate
10546 invalid self-assignment code.
10548 2000-03-14 Dave Love <fx@gnu.org>
10550 * subr.el (replace-regexp-in-string): Renamed from
10551 replace-regexps-in-string. Doc fix.
10553 2000-03-12 Dave Love <fx@gnu.org>
10555 * cus-edit.el: Doc fixes.
10556 (customize-set-variable, customize-save-variable): Rename args for
10558 (custom-variable-tag-face, custom-face-tag-face)
10559 (custom-group-tag-face-1, custom-group-tag-face): Modify from
10560 style which user identify as hyperlink.
10561 (hook): Don't add undefined functions to the hook.
10562 (debug-ignored-errors): Transfer message from bindings.el.
10564 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10566 * recentf.el (recentf-keep-non-readable-files-p): Remove
10567 double/nested definition.
10569 2000-03-12 Dave Love <fx@gnu.org>
10571 * facemenu.el (facemenu-get-face): Use display-color-p.
10572 * enriched.el (enriched-decode-foreground): Likewise.
10573 (enriched-decode-background): Likewise.
10574 * isearch.el (isearch-highlight): Likewise.
10575 * info-look.el (info-lookup): Likewise.
10576 * simple.el (completion-setup-function): Likewise.
10578 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10581 * bindings.el (mode-line-format): Fix line-number and
10582 column-number items. Add help-echo for the background.
10583 (mode-line-mule-info): Modify help-echo.
10585 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10588 * files.el (load-file): Allow completion to .elc.
10590 * man.el: Doc fixes.
10591 (Man-init-defvars): Use display-color-p to set fontification.
10593 * play/hanoi.el (hanoi-internal): Don't use oddp.
10595 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10597 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10599 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10601 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10603 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10606 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
10608 * font-lock.el (font-lock-keywords): Fix the doc now that
10609 regexp-opt-depth is unnecessary.
10610 (save-buffer-state): Set an edebug spec.
10611 (font-lock-fontify-anchored-keywords): Properly handle the case when
10612 the matcher goes past the limit.
10614 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10615 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10617 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
10618 dll.el and cookie.el (from Elib) with heavy renaming and other
10621 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10622 Autoload the functions used.
10623 (easy-mmode-define-syntax): Fix CL typo.
10624 (easy-mmode-define-derived-mode): Improve the docstring generation.
10626 2000-03-10 Gerd Moellmann <gerd@gnu.org>
10628 * textmodes/texinfo.el (texinfo-version): Variable and function
10631 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
10633 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10634 allow more flexibility.
10635 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10637 (easy-mmode-defmap, easy-mmode-defsyntax)
10638 (easy-mmode-define-derived-mode): New macros.
10640 2000-03-09 Didier Verna <didier@xemacs.org>
10642 * rect.el (replace-rectangle): New function.
10644 2000-03-09 Dave Love <fx@gnu.org>
10646 * progmodes/fortran.el (fortran-comment-line-start): Define as
10648 (fortran-comment-line-start-skip): Don't match cpp stuff.
10649 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
10650 (fortran-mode-map): Remove over-eager custom-menu-create for now.
10651 (fortran-mode): Don't set fortran-comment-line-start-skip,
10652 fortran-comment-line-start here. Set comment-start,
10653 add-log-current-defun.
10654 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10655 (fortran-current-defun): New function.
10657 2000-03-09 Gerd Moellmann <gerd@gnu.org>
10659 * emacs-lisp/re-builder.el: New file.
10661 * mouse.el (mouse-drag-region): Don't run up-event handler
10662 if hscroll has changed.
10664 * octave-mod.el (octave-font-lock-keywords): To font-lock the
10665 builtin operators, use `font-lock-builtin-face' for Emacs and
10666 `font-lock-preprocessor-face' otherwise.
10668 * font-lock.el (lisp-font-lock-keywords-1): Highlight
10669 `(defun (setf foo)' differently.
10671 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
10673 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10674 (regexp-opt): Update comment and adapt the code the new meaning of
10675 the `paren' argument of regex-opt-group for shy-groups.
10676 (regexp-opt-depth): Handle shy groups as well as backslashed
10678 (regexp-opt-group): Turn the leading comment into a docstring.
10679 Allow `paren' to be a string (the string to use to open a group).
10680 Remove open-presuf and close-presuf. Instead of checking for `all
10681 one-char' and then later on check for `several one-char', handle
10682 both cases close together. Also apply a more generic algorithm
10683 for suffixes (the mirror image of the algorithm used for
10684 prefixes). Use shy-groups. Use nreverse rather than reverse.
10685 (regexp-opt-try-suffix): Removed.
10687 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10688 from comint-mode-map, so we can just inherit from it. Also, move
10689 the initialization into the `defvar' since there's no docstring
10690 anyway and it's fairly short.
10691 (inferior-scheme-mode): Define it as derived-mode: the code is
10692 shorter and this way we inherit from comint-mode-map rather than
10695 * subr.el (replace-regexps-in-string): Properly handle the case
10696 where we match an empty string.
10698 * comint.el (comint-exec-1): Add the current-dir to the exec-path
10699 when the command has a directory component (such as "./testml").
10700 Also fix a typo in the comment.
10702 2000-03-08 Gerd Moellmann <gerd@gnu.org>
10704 * Makefile (compile-files): Compile files one by one because
10705 that's the only way to ensure a clean compilation environment for
10706 each individual file.
10708 * frame.el (other-frame): Call x-focus-frame.
10710 2000-03-07 Dave Love <fx@gnu.org>
10712 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10713 :require to defcustom.
10715 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
10718 * files.el (auto-mode-alist): Add configure.in.
10720 * progmodes/autoconf.el: New file.
10722 2000-03-07 Gerd Moellmann <gerd@gnu.org>
10724 * mail/mh-e.el: Change maintainer to `none'.
10726 * recentf.el (recentf-keep-non-readable-files-p): Quote args
10727 to remove-hook and add-hook.
10729 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10731 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
10733 (mail-send): Test mail-send-nonascii also for the new `mime' value.
10734 (sendmail-send-it): Conditionally add MIME headers specifying the
10735 used character set.
10737 2000-03-07 Dave Love <fx@gnu.org>
10739 * winner.el: Fix keywords, autoload cookies. Split
10740 eval-when-compile form to avoid compilation failure.
10742 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
10744 * international/mule.el: Modify comment about coding system
10745 property `coding-category'.
10746 (make-coding-system): New argument EOL-TYPE. Pay attention to
10747 coding-category property of PROPERTIES.
10749 * international/mule-conf.el (coding-category-utf-8,
10750 coding-category-utf-16-be, coding-category-utf-16-le): New coding
10751 categories. Include them in the argument for set-coding-priority.
10753 * international/mule-cmds.el (reset-language-environment): Include
10754 coding-category-utf-8, coding-category-utf-16-be, and
10755 coding-category-utf-16-le in the argument for set-coding-priority.
10756 (reset-language-environment): Initialize coding-category-utf-8,
10757 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
10759 2000-03-06 Karl Fogel <kfogel@red-bean.com>
10761 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
10762 code abstracted out of `bookmark-jump-noselect'. Now tries info
10763 extensions as well as compression extensions.
10764 (bookmark-jump-noselect): Use above new func.
10766 2000-03-03 Gerd Moellmann <gerd@gnu.org>
10768 * strokes.el: Change maintainer's mail address.
10770 2000-03-03 Kenichi Handa <handa@etl.go.jp>
10772 * international/mule-diag.el (list-character-sets): Make help-echo
10773 string by substitute-command-keys.
10774 (list-character-sets): Likewise.
10775 (sort-listed-character-sets): Call help-setup-xref.
10777 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10779 * time.el (display-time-mail-file): Add `none' to the list of
10782 2000-03-01 Dave Love <fx@gnu.org>
10784 * help.el (help-xref-go-back): Don't try to set position.
10786 * international/mule-diag.el (list-character-sets): Call
10787 help-setup-xref. Add help-echo to xrefs.
10788 (list-character-sets-1): Add help-echo to xrefs.
10790 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10792 * frame.el (blink-cursor-mode): Switch cursor on when turning
10795 * add-log.el (add-log-current-defun): Add support for
10798 * mail/rmail.el (rmail-quit-hook): New variable.
10800 2000-03-01 Dave Love <fx@gnu.org>
10802 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
10804 * help.el (help-xref-button): Add help-echo arg.
10805 (describe-function-1, describe-variable, help-make-xrefs): Use it.
10807 * faces.el (list-faces-display): Supply help-echo with
10810 * facemenu.el (list-text-properties-at): Set help-xref-stack to
10813 2000-03-01 Gerd Moellmann <gerd@gnu.org>
10815 * image.el (defimage): Look for image files in load-path.
10817 * frame.el (busy-cursor-delay-seconds): Change type to
10820 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10822 * recentf.el (recentf): Added version tag to the defgroup of
10825 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10827 * recentf.el (recentf-cleanup): Changed to remove excluded file
10829 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
10830 action to select/unselect a file.
10831 (recentf-edit-list): Code cleanup and improvement.
10832 (recentf-open-more-files-action): `recentf-open-more-files' button
10833 widget action to open a file.
10834 (recentf-open-more-files): No more use standard completion but
10836 (recentf-more-collection): Deleted.
10837 (recentf-more-history): Deleted.
10838 (recentf-setup-more-completion): Deleted.
10840 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10842 * recentf.el (recentf-mode): No more needs that Emacs is running
10843 under a window-system.
10845 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10847 * recentf.el (recentf-edit-list): New command to edit the recent
10848 list which allow the user to remove files.
10849 (recentf-edit-selected-items): New global variable, used by
10850 `recentf-edit-list' to hold the list of files to be removed from
10852 (recentf-make-menu-items): Updated to display a "Edit list..."
10853 menu item. Minor code cleanup.
10855 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10857 * recentf.el (recentf-open-more-files): New command to open files
10858 that are not displayed in the menu.
10859 (recentf-more-collection): New global variable holding the set of
10860 permissible completions used by `recentf-open-more-files'.
10861 (recentf-more-history): New global variable holding the history list
10862 used by `recentf-open-more-files' completion.
10863 (recentf-setup-more-completion): New function to setup completion for
10864 `recentf-open-more-files'.
10865 (recentf-make-menu-items): Updated to display a "More..." menu item.
10867 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10869 * recentf.el (recentf-menu-action): Doc fixed.
10871 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10873 * recentf.el (recentf-menu-filter): Doc updated.
10874 (recentf-update-menu-hook): Allow menu filters to force menu update.
10875 (recentf-make-menu-items): New menu filter handling.
10876 (recentf-make-menu-item): New helper function.
10877 (recentf-menu-elements): New menu handling function.
10878 (recentf-sort-ascending): Updated to new menu filter handling.
10879 (recentf-sort-descending): Updated to new menu filter handling.
10880 (recentf-sort-basenames-ascending): New menu filter function.
10881 (recentf-sort-basenames-descending): New menu filter function.
10882 (recentf-show-basenames): New menu filter function.
10883 (recentf-show-basenames-ascending): New menu filter function.
10884 (recentf-show-basenames-descending): New menu filter function.
10886 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10888 * diary-lib.el (list-diary-entries): Don't try to go forward at
10889 the end of the buffer.
10891 2000-02-29 Kenichi Handa <handa@etl.go.jp>
10893 * international/mule-diag.el (list-character-sets): Completely
10895 (sort-listed-character-sets): New function.
10896 (list-character-sets-1): Completely rewritten.
10897 (list-character-sets-2): New function.
10898 (non-iso-charset-alist): New variable.
10899 (decode-codepage-char): New function.
10900 (charset-history): New variable.
10901 (read-charset) (list-block-of-chars)
10902 (list-iso-charset-chars)
10903 (list-non-iso-charset-chars)
10904 (list-charset-chars): New functions.
10905 (mule-diag): Call list-character-sets-2, not
10906 list-character-sets-2.
10907 (dump-charsets): Likewise.
10909 2000-02-29 Gerd Moellmann <gerd@gnu.org>
10911 * dired-x.el (dired-filename-at-point): Add `@' to valid
10912 file name characters.
10913 (dired-filename-at-point): Handle ange-ftp file names.
10915 * frame.el (frame-notice-user-settings): Use assq-delete-all
10916 instead of assoc-delete-all.
10917 (frame-notice-user-settings): Ditto.
10919 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
10922 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
10924 * calculator.el (calculator-use-menu): New option.
10925 (calculator-initial-bindings): Changed some bindings to work as
10927 (calculator-forced-input): Removed.
10928 (calculator-restart-other-mode): New variable.
10929 (calculator-mode-map): Set up menu.
10931 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
10933 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
10936 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
10938 * viper-cmd.el (viper-envelop-ESC-key): added the option to
10939 translate all ESC key sequences.
10940 (viper-goto-mark-subr): restore markers for files for which
10942 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
10943 * viper-util.el (viper-set-replace-overlay-glyphs,
10944 viper-set-replace-overlay): always check if the replacement
10946 * viper.el (viper-vi-state-mode-list): added major modes.
10947 * ediff-wind.el: minor comment changes.
10948 * ediff.el: copyright notice date fix.
10950 2000-02-27 Jason Rumney <jasonr@gnu.org>
10952 * faces.el (face-font-family-alternatives): Add arial to helv.
10953 (mode-line, header-line, tool-bar): Same default as x for w32.
10954 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
10955 face-font-family-alternatives from working.
10956 * term/w32-win.el (mouse-set-font): Do not build fontset from
10959 2000-02-25 Sam Steingold <sds@goems.com>
10961 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
10964 2000-02-25 Richard M. Stallman <rms@gnu.org>
10966 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
10968 2000-02-25 Gerd Moellmann <gerd@gnu.org>
10970 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
10973 * frame.el (busy-cursor-delay-seconds): New option.
10975 2000-02-24 Gerd Moellmann <gerd@gnu.org>
10977 * frame.el (show-cursor-in-non-selected-windows): New option.
10979 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10981 * diary-lib.el (include-other-diary-files): Undo the selective
10982 display in any included file and don't kill it.
10984 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
10986 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
10987 bar. Menu items converted to (menu-item format, help strings
10989 [downcase, upcase]: Don't enable on MS-DOS.
10990 [symlink, symlinks]: Don't show if make-symbolic-link is not
10992 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
10994 2000-02-23 Dave Love <fx@gnu.org>
10996 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
10997 (backward-kill-word): Revert addition of * to interactive spec --
11000 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
11001 (backward-kill-sentence, kill-sentence): Likewise.
11003 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
11004 scratch buffer name.
11005 (gud-format-command): Use int-to-string in ?l case. Simplify
11008 * term/w32-win.el (internal-face-interactive): Update prompt for
11009 new read-face-name.
11011 * mail/footnote.el (footnote): Add :version to defgroup.
11012 (footnote-section-tag-regexp): Customize.
11013 (footnote-start-tag, footnote-end-tag): New option.
11014 (footnote-latin-regexp): New variable.
11015 (Footnote-latin): New function.
11016 (footnote-style-alist): Add element for latin style.
11017 (footnote-style): Moved.
11018 (Footnote-goto-footnote): Use eq to test arg.
11020 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
11022 * emacs-lisp/byte-opt.el: Change old backquote syntax.
11023 (byte-compile-trueconstp): Include keywords.
11024 (byte-optimize-quote, byte-optimize-lapcode): Use
11025 byte-compile-const-symbol-p.
11026 (byte-optimize-char-before): New optimization.
11028 * emacs-lisp/bytecomp.el: Change old backquote syntax.
11029 (byte-compile-const-symbol-p): New function.
11030 (byte-compile-constp, byte-compile-out-toplevel)
11031 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
11034 * subr.el (define-key-after): Default AFTER to t. Doc fix.
11036 2000-02-23 Kenichi Handa <handa@etl.go.jp>
11038 * international/encoded-kb.el: Be sure to update minor-mode-alist
11039 and minor-mode-map-alist.
11040 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
11041 codes SS2 and SS3 correctly.
11042 (encoded-kbd-self-insert-ccl): New function.
11043 (encoded-kbd-setup-keymap): New function.
11044 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
11045 by calling encoded-kbd-setup-keymap.
11047 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
11049 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
11052 2000-02-22 Dave Love <fx@gnu.org>
11054 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
11055 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
11057 (lisp-mode-syntax-table): Set up for #|...|# comments.
11058 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
11059 classes. Match `defface'.
11060 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
11061 (eval-defun-1): Fix for defcustom.
11062 (lisp-indent-region): Doc fix.
11064 * subr.el (when, unless, split-string): Doc fix.
11065 (read-passwd): Move call of clear-this-command-keys to the right
11067 (replace-regexps-in-string): New function.
11069 2000-02-22 Gerd Moellmann <gerd@gnu.org>
11071 * help.el (describe-variable): Set syntax table to
11072 emacs-lisp-mode-syntax-table when moving forward over the
11075 2000-02-22 Dave Love <fx@gnu.org>
11077 * xt-mouse.el: Doc fixes.
11078 (xterm-mouse-position-function): New function, replacing advice of
11080 (xterm-mouse-mode): Use it. Don't turn on under a window system.
11082 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
11084 2000-02-21 Gerd Moellmann <gerd@gnu.org>
11086 * format.el (format-annotate-single-property-change): Handle
11087 properties.with dotted-list values.
11088 (format-proper-list-p): New function.
11090 * enriched.el (enriched-face-ans): Handle '(foreground-color
11091 . COLOR) and (background-color . COLOR).
11093 2000-02-20 Dave Love <fx@gnu.org>
11095 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
11096 and assignments to it.
11097 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
11099 (make-flyspell-overlay): Use it.
11100 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
11102 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
11103 (lm-get-header-re): Defun, not defsubst.
11104 (lm-get-package-name): Defun, not defsubst. Simplify.
11105 (lm-version): Doc fix. Simplify.
11106 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
11107 (lm-crack-address, lm-last-modified-date, lm-commentary)
11108 (lm-verify, lm-synopsis): Simplify.
11109 (lm-report-bug): Require emacsbug. Use compose-mail.
11111 2000-02-20 Gerd Moellmann <gerd@gnu.org>
11113 * dired.el (dired-mode): Call propertized-buffer-identification
11114 to set mode-line-buffer-identification to something having
11115 the right text properties.
11117 * bindings.el (propertized-buffer-identification): New function.
11119 2000-02-20 Dave Love <fx@gnu.org>
11121 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
11122 check for t-mouse too.
11124 * cus-start.el: Make echo-keystrokes `number'.
11126 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
11128 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
11129 Don't call ring-empty-p unless tags-location-ring is bound.
11130 From Noah Friedman <friedman@splode.com>.
11132 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
11134 * progmodes/hideshow.el (hs-flag-region): No longer use
11135 `intangible' overlay property.
11137 (hs-toggle-hiding): New command.
11138 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
11140 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
11141 Fix omission bug: Run `hs-minor-mode-hook' for both activation
11144 2000-02-18 Gerd Moellmann <gerd@gnu.org>
11146 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
11148 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11150 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
11152 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
11153 of `*' to handle `(* ... *)' comments.
11155 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
11157 * faces.el (list-faces-display): Use display-mouse-p instead of
11160 * menu-bar.el (global-map): Menu-bar items converted to the new
11161 format (menu-item..., rearranged for better CUA compliance, and
11162 their names changed for better clarity. Help strings added.
11164 * international/mule-cmds.el (mule-menu-keymap)
11165 (describe-language-environment-map, set-coding-system-map)
11166 (setup-language-environment-map): Convert to new (menu-item...
11167 form, add help strings. Change names of menu items for better
11168 clarity. "Mule" menu-bar item removed (it's now in the "Options"
11171 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11173 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
11176 2000-02-16 Dave Love <fx@gnu.org>
11178 * faces.el: Don't require custom. Add more specific :groups to
11180 (set-face-attribute): Purecopy args.
11181 (read-face-name): Default to name at point and use it in prompt.
11182 Remove colon from arg in all callers.
11183 (list-faces-display): Hyperlink to face descriptions and customize
11186 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
11188 * wid-edit.el (widget-match-inline): An atom never matches a
11191 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11193 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11194 at ':' characters by call to split-string.
11196 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11198 * textmodes/bibtex.el: Added RCS version identification.
11200 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11202 * textmodes/bibtex.el: Some temporary comments removed.
11203 (bibtex-field-name, bibtex-entry-type): Made the relationship
11205 (bibtex-field-const): Allow capital letters.
11206 (bibtex-start-of-string): Deleted because unused.
11208 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11209 use the term 'reference' to describe a bibtex entry as a whole.
11210 Further, reference keys are no longer called 'labels'.
11211 (bibtex-keys): Renamed to bibtex-reference-keys.
11212 (bibtex-reformat-previous-labels): Renamed to
11213 bibtex-reformat-previous-reference-keys.
11214 (bibtex-reference-type): Renamed to bibtex-entry-type.
11215 (bibtex-reference-head): Renamed to bibtex-entry-head.
11216 (bibtex-reference-maybe-empty-head): Renamed to
11217 bibtex-entry-maybe-empty-head.
11218 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11219 (bibtex-search-reference): Renamed to bibtex-search-entry.
11220 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11221 bibtex-enclosing-entry-maybe-empty-head.
11222 (bibtex-entry-field-alist, bibtex-entry-head,
11223 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11224 bibtex-map-entries, bibtex-search-entry,
11225 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11226 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11227 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11228 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11229 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11230 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11231 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11233 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11235 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11237 (bibtex-format-field-delimiters): New function, functionality
11238 extracted from bibtex-format-entry.
11239 (bibtex-autokey-get-yearfield-digits): New function, functionality
11240 extracted from bibtex-autokey-get-yearfield.
11242 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11243 entries in order to avoid stack overflow in the regexp matcher if
11244 field contents become large.
11245 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11246 bibtex-field-string-part-not-braced,
11247 bibtex-field-string-part-no-inner-braces,
11248 bibtex-field-string-part-1-inner-brace,
11249 bibtex-field-string-part-2-inner-braces,
11250 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11251 bibtex-field-string-quoted, bibtex-field-string,
11252 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11253 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11254 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11255 as parsing is now performed by the following functions.
11256 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11257 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11258 bibtex-parse-field-string, bibtex-search-forward-field-string,
11259 bibtex-parse-association, bibtex-field-name-for-parsing,
11260 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11261 bibtex-search-forward-field, bibtex-search-backward-field,
11262 bibtex-start-of-field, bibtex-end-of-field,
11263 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11264 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11265 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11266 bibtex-parse-string, bibtex-search-forward-string,
11267 bibtex-search-backward-string, bibtex-start-of-string,
11268 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11269 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11270 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11271 entries. Instead of reporting the results of the parsing by
11272 match-beginning or match-end, these functions return data structures
11273 that hold the corresponding positions.
11274 (bibtex-enclosing-field): Changed to also report field boundaries by
11275 return values rather than by match-beginning or match-end. The
11276 following functions have been adapted to use the new parsing
11278 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11279 bibtex-enclosing-field, bibtex-format-entry,
11280 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11281 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11282 bibtex-print-help-message, bibtex-end-of-entry,
11283 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11284 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11285 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11286 method for parsing.
11287 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11288 bibtex-map-entries, bibtex-flash-head,
11289 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11290 bibtex-autokey-change, bibtex-autokey-get-namefield,
11291 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11292 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11293 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11294 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11295 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11296 order to make the new binding of case-fold-search immediately
11299 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11301 * textmodes/bibtex.el: Copyright notice is up to date.
11302 Added constant 'bibtex-maintainer-salutation.
11304 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11305 than make-temp-name, use match-string-no-properties and eliminate
11306 a quadratic behavior when building bibtex-strings.
11308 * bibtex.el (bibtex-reference-key): Accept string entries whose
11309 reference key contains upper case letters.
11311 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11313 * bibtex.el (bibtex-reference-head): Allow entries to start with
11316 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11318 * bibtex.el: Hiding of entry bodies is not longer provided by
11319 bibtex.el directly. Instead the hideshow package can be used.
11320 Added a special bibtex entry to hs-special-modes-alist.
11321 (bibtex-hs-forward-sexp): Added for hideshow.el.
11323 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11325 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11326 at ':' characters by call to split-string.
11328 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11330 * textmodes/bibtex.el: Added RCS version identification.
11332 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11334 * textmodes/bibtex.el: Some temporary comments removed.
11335 (bibtex-field-name, bibtex-entry-type): Made the relationship
11337 (bibtex-field-const): Allow capital letters.
11338 (bibtex-start-of-string): Deleted because unused.
11340 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11341 use the term 'reference' to describe a bibtex entry as a whole.
11342 Further, reference keys are no longer called 'labels'.
11343 (bibtex-keys): Renamed to bibtex-reference-keys.
11344 (bibtex-reformat-previous-labels): Renamed to
11345 bibtex-reformat-previous-reference-keys.
11346 (bibtex-reference-type): Renamed to bibtex-entry-type.
11347 (bibtex-reference-head): Renamed to bibtex-entry-head.
11348 (bibtex-reference-maybe-empty-head): Renamed to
11349 bibtex-entry-maybe-empty-head.
11350 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11351 (bibtex-search-reference): Renamed to bibtex-search-entry.
11352 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11353 bibtex-enclosing-entry-maybe-empty-head.
11354 (bibtex-entry-field-alist, bibtex-entry-head,
11355 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11356 bibtex-map-entries, bibtex-search-entry,
11357 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11358 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11359 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11360 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11361 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11362 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11363 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11365 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11367 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11369 (bibtex-format-field-delimiters): New function, functionality
11370 extracted from bibtex-format-entry.
11371 (bibtex-autokey-get-yearfield-digits): New function, functionality
11372 extracted from bibtex-autokey-get-yearfield.
11374 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11375 entries in order to avoid stack overflow in the regexp matcher if
11376 field contents become large.
11377 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11378 bibtex-field-string-part-not-braced,
11379 bibtex-field-string-part-no-inner-braces,
11380 bibtex-field-string-part-1-inner-brace,
11381 bibtex-field-string-part-2-inner-braces,
11382 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11383 bibtex-field-string-quoted, bibtex-field-string,
11384 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11385 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11386 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11387 as parsing is now performed by the following functions.
11388 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11389 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11390 bibtex-parse-field-string, bibtex-search-forward-field-string,
11391 bibtex-parse-association, bibtex-field-name-for-parsing,
11392 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11393 bibtex-search-forward-field, bibtex-search-backward-field,
11394 bibtex-start-of-field, bibtex-end-of-field,
11395 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11396 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11397 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11398 bibtex-parse-string, bibtex-search-forward-string,
11399 bibtex-search-backward-string, bibtex-start-of-string,
11400 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11401 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11402 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11403 entries. Instead of reporting the results of the parsing by
11404 match-beginning or match-end, these functions return data structures
11405 that hold the corresponding positions.
11406 (bibtex-enclosing-field): Changed to also report field boundaries by
11407 return values rather than by match-beginning or match-end. The
11408 following functions have been adapted to use the new parsing
11410 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11411 bibtex-enclosing-field, bibtex-format-entry,
11412 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11413 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11414 bibtex-print-help-message, bibtex-end-of-entry,
11415 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11416 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11417 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11418 method for parsing.
11419 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11420 bibtex-map-entries, bibtex-flash-head,
11421 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11422 bibtex-autokey-change, bibtex-autokey-get-namefield,
11423 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11424 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11425 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11426 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11427 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11428 order to make the new binding of case-fold-search immediately
11431 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11433 * textmodes/bibtex.el: Copyright notice is up to date.
11434 Added constant 'bibtex-maintainer-salutation.
11436 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11437 than make-temp-name, use match-string-no-properties and eliminate
11438 a quadratic behavior when building bibtex-strings.
11440 * bibtex.el (bibtex-reference-key): Accept string entries whose
11441 reference key contains upper case letters.
11443 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11445 * bibtex.el (bibtex-reference-head): Allow entries to start with
11448 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11450 * bibtex.el: Hiding of entry bodies is not longer provided by
11451 bibtex.el directly. Instead the hideshow package can be used.
11452 Added a special bibtex entry to hs-special-modes-alist.
11453 (bibtex-hs-forward-sexp): Added for hideshow.el.
11455 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11457 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11458 proceedings entry type (for cross referencing). Thanks to Wagner
11459 Toledo Correa for the suggestion.
11461 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11463 2000-02-14 Kenichi Handa <handa@etl.go.jp>
11465 * international/characters.el: Setup case table for Vietnamese.
11467 2000-02-12 Gerd Moellmann <gerd@gnu.org>
11469 * uniquify.el (toplevel): Require CL at compile time.
11470 (uniquify-push): Removed.
11472 * shadowfile.el (shadow-when): Removed.
11474 * tempo.el (tempo-dolist, tempo-mapc): Removed.
11475 (tempo-process-and-insert-string): Use dolist instead of
11478 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11479 regexp for paragraph-start.
11481 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11484 2000-02-10 Dave Love <fx@gnu.org>
11486 * wid-edit.el: (widgets) [defgroup]: Remove url link.
11487 (widget-color-choice-list, widget-color-history, widget-mouse-help):
11489 (widget-specify-field, widget-specify-button): Don't use
11490 widget-mouse-help as help-echo property.
11491 (default): Use #'ignore for :validate and :mouse-down-action.
11492 (checkbox): Add help-echo.
11493 (widget-sexp-validate): Rewritten to clarify error messages.
11494 (character): Use char-valid-p in :match function.
11495 (widget-color-complete): Use facemenu-color-alist.
11496 (widget-color-action): Use facemenu-read-color.
11498 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
11499 set up `caar' &c that we now have.
11501 2000-02-09 Ray Blaak <blaak@gnu.org>
11503 * delphi.el: Make resourcestring a declaration region, like const
11506 2000-02-09 Dave Love <fx@gnu.org>
11508 * bindings.el (mode-line-input-method-map): New variable.
11509 (mode-line-mule-info): Use it; fix last change.
11510 (mode-line-mode-menu): Move definition.
11511 (mode-line-mouse-sensitive-p): Deleted.
11512 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11513 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
11516 * startup.el (command-line-1): Don't call
11517 make-mode-line-mouse-sensitive.
11519 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11521 * mail/rmail.el (rmail-retry-failure): Use
11522 rmail-beginning-of-message before rmail-toggle-header, because the
11523 former toggles headers.
11525 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
11527 * diff-mode.el (diff-kill-junk): New interactive function.
11528 (diff-reverse-direction): Use delete-and-extract-region.
11529 (diff-post-command-hook): Restrict the area so that the hook also works
11530 outside of any diff hunk. This is necessary for the minor-mode.
11531 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11532 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11534 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11535 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11536 so that it can be used more easily in <foo>-mode-hook. Also make sure
11537 to avoid duplicate entries.
11538 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11539 (font-lock-remove-keywords): Just as was done for `add', allow it to
11540 work even if font-lock-mode is nil. Also make sure we don't modify
11541 any pre-existing list by forcing a copy-sequence. Finally rename
11542 `major-mode' to `mode'.
11543 (font-lock-fontify-syntactic-anchored-keywords)
11544 (font-lock-fontify-anchored-keywords)
11545 (font-lock-fontify-keywords-region): Use line-end-position.
11546 Don't make `font-lock-multiline' local (it's now done in
11547 font-lock-set-defaults).
11548 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
11549 move the `font-lock-fontified' creation to inside the `unless'.
11551 2000-02-06 Andrew Innes <andrewi@gnu.org>
11553 * term/w32-win.el (x-handle-args): Comment out call to message,
11554 which occurs before window system is initialized.
11556 * makefile.nt: Add support for recompiling lisp code.
11558 2000-02-04 Dave Love <fx@gnu.org>
11560 * bindings.el (mode-line-mule-info): Fix/extend last change.
11562 * completion.el: Replace completion-dolist with dolist.
11564 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11567 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
11569 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11570 environment names before they go into the section regexp.
11572 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11573 char class in regexp.
11575 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11576 `case-fold-search' to nil.
11578 * progmodes/idlwave.el (idlwave-template): Respect
11579 `idlwave-abbrev-change-case'.
11580 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11581 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11582 idlwave-while): respect `idlwave-reserved-word-upcase'.
11583 (idlwave-rw-case): New function.
11584 (idlwave-statement-match): Fixed problem with assignment regexp.
11585 (idlwave-font-lock-keywords): Improved regexp for keyword
11587 (idlwave-surround): New argument LENGTH to support padding of
11588 operators longer than 1 char.
11590 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11591 idlwave-shell-expression-overlay. Implemented printing of
11592 expressions on higher levels of the calling stack.
11593 (idlwave-shell-display-level-in-calling-stack): Restore stack
11595 (idlwave-retrieve-expression-from-level): New function.
11596 (idlwave-shell-last-calling-stack): Variable removed.
11597 (idlwave-shell-reset): Argument action reversed (`visible' to
11598 `hidden'). Also remove stop-line overlay.
11599 (idlwave-shell-calling-stack-routine): New variable.
11600 (idlwave-shell-parse-stack-and-display): Messages now display
11601 negative level numbers.
11602 (idlwave-shell-mode): Set `modeline-format'.
11603 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11604 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11606 (idlwave-shell-print-expression-function): New option.
11608 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11609 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11610 `tool-bar' instead of `toolbar'.
11612 2000-02-02 Dave Love <fx@gnu.org>
11614 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11615 emacs-lisp-mode-hook. Don't check for defalias being defined.
11617 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11618 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
11619 the new builtins directly.
11621 * whitespace.el (whitespace): Add :version to defgroup.
11623 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11626 * thingatpt.el (sexp-at-point, symbol-at-point)
11627 (number-at-point, list-at-point): Add autoload cookie.
11629 * recentf.el (recentf): Add :version to defgroup.
11631 * quickurl.el (quickurl): Add :version to defgroup.
11633 * elide-head.el (elide-head): Use point-marker more.
11635 * bs.el (bs): Add :version to defgroup.
11637 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11639 * progmodes/delphi.el (delphi): Add :version to defgroup.
11641 2000-02-02 Gerd Moellmann <gerd@gnu.org>
11643 * ange-ftp.el (ange-ftp-write-region): Handle case that
11644 succeeding process operation sets a different coding system.
11646 * calculator.el: New file.
11648 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
11650 * frame.el (frames-on-display-list, framep-on-display): New
11652 (display-mouse-p, display-popup-menus-p, display-graphic-p)
11653 (display-selections-p, display-screens, display-pixel-width)
11654 (display-pixel-height, display-mm-width, display-mm-height)
11655 (display-backing-store, display-save-under, display-planes)
11656 (display-color-cells, display-visual-class): New functions.
11658 * term/tty-colors.el (tty-color-gray-shades): New function.
11660 * faces.el (display-color-p): Use framep-on-display.
11661 (display-grayscale-p): New function.
11663 2000-01-31 Dave Love <fx@gnu.org>
11665 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11666 (create-fontset-from-x-resource): Don't concat integers.
11668 2000-01-31 Inge Frick <inge@nada.kth.se>
11670 * view.el: Some changes in documentation. Removed some trailing
11671 whitespace. Changed some parameter names to agree with
11673 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11674 window is not deleted. Modifies change 1998-04-26.
11676 2000-01-31 Gerd Moellmann <gerd@gnu.org>
11678 * windmove.el: New file.
11680 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11681 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11682 progmodes/ebnf-yac.el: Update copyright and license info.
11684 * jit-lock.el (jit-lock-function): Widen before calculating end
11686 (jit-lock-stealth-chunk-start): Rewritten.
11688 * info.el (Info-title-face-alist): Removed.
11689 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11691 (Info-fontify-node): Use these faces.
11693 2000-01-30 Gerd Moellmann <gerd@gnu.org>
11695 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11696 (cl-macro-list1): Recognize `&allow-other-keys' instead of
11697 `&allow-other-keywords'.
11699 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11700 the list of directories scanned heuristically.
11702 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11705 2000-01-30 Jason Rumney <jasonr@gnu.org>
11707 * w32-fns.el: Define w32-tty-standard-colors.
11709 * startup.el (command-line): Use w32-tty-standard-colors when in
11712 2000-01-30 Dave Love <fx@gnu.org>
11714 * jka-compr.el (jka-compr-load): Fix up load-history.
11716 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
11718 * emacs-lisp/cl-macs.el: Revert previous change.
11720 2000-01-29 Dave Love <fx@gnu.org>
11722 * facemenu.el: Purecopy various strings.
11724 * timezone.el (timezone-fix-time): Window against 69 for two-digit
11725 years. Deal with three-digit years.
11727 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
11728 defconst, purecopy.
11729 (help-back-label): Purecopy it.
11731 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11733 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
11734 variable. If non-nil, order the buffer list according to the
11735 currently selected frame.
11736 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
11737 non-nil, pass the selected frame to function buffer-list.
11739 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11741 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
11743 2000-01-28 Dave Love <fx@gnu.org>
11745 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
11747 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
11748 Don't use lisp-indent-hook property.
11751 * subr.el: Move out indent and edebug specs for when and unless.
11753 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
11756 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
11759 2000-01-28 Gerd Moellmann <gerd@gnu.org>
11761 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
11762 `collecting' as synonym for `collect'.
11764 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
11765 for the case it contains spaces.
11767 * simple.el (what-cursor-position): Change formatting of
11770 * frame.el (delete-other-frames): New function.
11771 (toplevel): Bind it to C-x 5 1.
11773 * sort.el (sort-numeric-base): New option.
11774 (sort-numeric-fields): If number starts with `0' or `0[xX[',
11775 interpret it as octal or hexadecimal. Use sort-numeric-base
11778 * progmodes/glasses.el: New file.
11780 2000-01-27 Gerd Moellmann <gerd@gnu.org>
11782 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
11783 userids differently.
11785 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11786 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11787 progmodes/ebnf-yac.el: New files.
11789 2000-01-26 Dave Love <fx@gnu.org>
11791 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
11792 on a function with an empty body. [From Eric Ludlam.]
11794 2000-01-25 Andre Spiegel <spiegel@gnu.org>
11796 * vc.el (vc-version-diff): Make sure file name is expanded.
11798 2000-01-25 Gerd Moellmann <gerd@gnu.org>
11800 * scroll-bar.el (scroll-bar-timer): Variable removed.
11801 (scroll-bar-toolkit-scroll): Don't use a timer.
11803 2000-01-25 Kenichi Handa <handa@etl.go.jp>
11805 * language/thai-util.el (thai-composition-function): Delete
11808 2000-01-24 Dave Love <fx@gnu.org>
11810 * fortran.el (fortran-mode): Use beginning-of-defun-function,
11811 end-of-defun-function.
11813 * font-lock.el (turn-on-font-lock): Don't depend on window-system
11816 2000-01-22 Jason Rumney <jasonr@gnu.org>
11818 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
11819 conflicts with new face support.
11821 2000-01-22 Richard M. Stallman <rms@gnu.org>
11823 * replace.el (query-replace): Rename last arg to DELIMITED.
11824 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
11825 (query-replace-regexp): Likewise.
11827 2000-01-20 Richard M. Stallman <rms@gnu.org>
11829 * subr.el (with-syntax-table): Use make-symbol, not gensym.
11831 * emacs-lisp/lisp.el (beginning-of-defun-function):
11832 Variable renamed from beginning-of-defun.
11833 Do not call make-variable-buffer-local.
11834 (beginning-of-defun-raw): Use new variable name; doc fix.
11835 (beginning-of-defun): Doc fix.
11836 (end-of-defun-function): Variable renamed from end-of-defun.
11837 Do not call make-variable-buffer-local.
11838 (end-of-defun): Use new variable name; doc fix.
11840 * subr.el (dolist, dotimes): Copied from cl-macs.el
11843 * mail/undigest.el (rmail-digest-end-regexps):
11844 Variable replaces rmail-digest-end-regexp.
11845 Allows multiple regexps for detecting the end line.
11846 (undigestify-rmail-message): Corresponding changes.
11848 2000-01-19 Dave Love <fx@gnu.org>
11850 * files.el (user-init-file): Don't declare here -- is primitive.
11852 * startup.el (command-line): Check for compiled user-init-file and
11853 set to uncompiled version if necessary.
11855 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11857 * mail/undigest.el (rmail-digest-end-regexp): New user option.
11858 (undigestify-rmail-message): Use it.
11860 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
11862 2000-01-17 Gerd Moellmann <gerd@gnu.org>
11864 * tmm.el (tmm-goto-completions): Adapt to prompt being part
11867 2000-01-14 Gerd Moellmann <gerd@gnu.org>
11869 * emacs-lisp/copyright.el (copyright-update): Removed the
11870 requirement for a trailing space from `copyright-regexp', to
11871 support copyrights with owner specified on a separate line..
11873 * align.el: New file.
11875 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
11877 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
11879 2000-01-13 Dave Love <fx@gnu.org>
11881 * ph.el: Removed. (Obsoleted by EUDC.)
11883 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11885 * net/eudc.el (toplevel): Remove autoloaded code installing
11886 menu with easymenu, because that causes build problems.
11888 * frame.el (frame-notice-user-settings): New variable.
11889 (frame-notice-user-settings): Don't modify frame parameters
11890 if called a second time.
11892 2000-01-13 Richard M. Stallman <rms@gnu.org>
11894 * frame.el (frame-notice-user-settings):
11895 Notice default-frame-parameters even for non-window frames.
11897 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11899 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
11901 (eudc-bob-can-display-inline-images): Extend for Emacs.
11902 (eudc-bob-toggle-inline-display): Ditto.
11903 (eudc-bob-display-jpeg): Ditto.
11905 2000-01-12 Gerd Moellmann <gerd@gnu.org>
11907 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
11908 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
11909 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
11911 * add-log.el (add-change-log-entry): Fix error trying an `(insert
11914 * subdirs.el: Add `net' directory.
11916 * net: New directory.
11918 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
11919 eval-last-sexp. Don't bind debug-on-error here.
11920 (eval-last-sexp): New function. Bind debug-on-error if
11921 eval-expression-debug-on-error is non-nil.
11922 (eval-defun-2, eval-defun): Likewise.
11924 * simple.el (eval-expression): Don't bind debug-on-error if
11925 eval-expression-debug-on-error is nil. Detect changed
11926 debug-on-error, and propagate new value to global binding, if
11927 eval-expression-debug-on-error is non-nil,
11928 (eval-expression-debug-on-error): Change doc string.
11930 2000-01-11 Richard M. Stallman <rms@gnu.org>
11932 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
11934 * emacs-lisp/lisp-mode.el (with-syntax-table):
11935 Set up lisp-indent-function property.
11937 * subr.el (with-syntax-table): Moved from simple.el.
11939 * simple.el (with-syntax-table): Moved to subr.el.
11941 2000-01-11 Gerd Moellmann <gerd@gnu.org>
11943 * tmm.el (tmm-shortcut): Delete region after prompt instead
11946 * textmodes/fill.el (fill-common-string-prefix): New function.
11947 (fill-context-prefix): Use the longest common prefix of first
11948 and second line fill prefix, if there is one.
11950 2000-01-11 Richard M. Stallman <rms@gnu.org>
11952 * array.el (array-mode): Don't use make-variable-buffer-local.
11953 Use make-local-variable for `truncate-lines'.
11955 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
11957 * add-log.el (add-log-current-defun): Handle user-defined
11958 add-log-current-function returning nil,
11960 * add-log.el (add-change-log-entry): Insert version number
11961 if having found a current function
11963 * add-log.el (add-log-current-defun): Call
11964 `add-log-current-defun-function'. Try matches at level 0 and
11965 level 1. Strip whitespace from defun found.
11967 2000-01-10 John Wiegley <johnw@gnu.org>
11969 * allout.el (isearch-done/outline-provisions): Added `edit'
11970 argument to correspond with the current definition of
11973 2000-01-10 Dave Love <fx@gnu.org>
11975 * elide-head.el (elide-head): Use point-marker, not point.
11977 2000-01-10 Gerd Moellmann <gerd@gnu.org>
11979 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
11980 before and after the year 2000.
11982 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
11983 Add ispell- prefix.
11985 2000-01-10 Ken Stevens <k.stevens@ieee.org>
11987 * ispell.el: Only define dictionaries in menus when they exist.
11988 (version18p): New variable.
11989 (version20p): New variable.
11990 (xemacsp): New variable.
11991 (ispell-choices-win-default-height): Fix for XEmacs visibility.
11992 (ispell-dictionary-alist1): Added Brasileiro dictionary.
11993 (ispell-dictionary-alist6): Russian command lines no longer accept
11994 run-together words.
11995 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
11996 (ispell-dictionary-alist): Add koi8-r to customize definition.
11997 (check-ispell-version): Added documentation string. Returns
11998 library path when called non-interactively.
11999 (ispell-menu-map-needed): Uses new variables.
12000 (ispell-library-path): New variable.
12001 (ispell-decode-string): XEmacs fix for bogus variable bindings.
12002 (ispell-word): Improved documentation string. Test for valid
12003 character mappings. Correctly check typed in word changes that can
12004 result in single words split into multiple words. Returns
12006 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
12007 replace in recursive query replace mode. Help message for
12008 recursive edit mode.
12009 (ispell-show-choices): Protect against bad framepop bindings.
12010 (ispell-help): Fix to work with XEmacs.
12011 (ispell-highlight-spelling-error): Use new variables.
12012 (ispell-overlay-window): Fix to work with XEmacs.
12013 (ispell-parse-output): Passed and returns location information
12014 tracking spelling corrections. Doesn't recheck same word on
12016 (ispell-init-process): Protect against bogus XEmacs variable binding.
12017 Fix call to single argument in sleep-for. Use new variables.
12018 (ispell-region): Passed and returns location information tracking
12019 spelling corrections. Doesn't check same word on current line.
12020 Improved documentation string. Doesn't resend a line already
12021 checked to the ispell process - fixes bug in LaTeX parsing.
12022 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
12023 (ispell-skip-region): No longer skips <TT> in SGML.
12024 (ispell-process-line): Tracks location information with spelling
12025 corrections. Added documentation string. Accounts for words
12026 already accepted on this line. Don't allow query-replace on line
12027 starting with math characters. Doesn't resend a line already sent
12028 to ispell process. Fixes alignment error bug.
12030 2000-01-10 Richard M. Stallman <rms@gnu.org>
12032 * dired-x.el (dired-guess-shell-alist-default):
12033 Suggest xloadimage, which is free, not xv, which isn't.
12035 * ange-ftp.el (ange-ftp-file-name-nondirectory):
12036 Don't ever include the host name or user name in the value.
12038 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12040 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
12043 2000-01-09 Stephen Eglen <stephen@gnu.org>
12045 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
12048 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
12050 * cus-edit.el (custom-hook-convert-widget): Fix comment.
12052 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12054 * progmodes/cperl-mode.el: Replace ^F with ^L.
12056 * sendmail.el (toplevel): Provide `sendmail' when compiling
12057 before `require'ing rmail and mailalias to prevent infinite
12060 2000-01-08 Dave Love <fx@gnu.org>
12062 * emacs-lisp/backquote.el: Remove inappropriate customization
12063 (allowing custom.el to use backquote).
12065 2000-01-07 Dave Love <fx@gnu.org>
12067 * add-log.el (add-log-debugging): Deleted.
12068 (add-change-log-entry): Treat a backup FILE-NAME as its parent
12069 file. Remove debugging code.
12070 (change-log-get-method-definition, change-log-name): Add doc.
12071 (change-log-sortable-date-at): New function.
12072 (change-log-merge): New command.
12074 * time.el (display-time-string-forms): Make the Mail string active.
12075 (display-time-update): Provide help-echo for load average.
12077 * bindings.el (make-mode-line-mouse2-map): New function.
12078 (mode-line-modified): Use it and simplify.
12079 (mode-line-mule-info): Provide help-echo info.
12080 (minor-mode-alist): Activate the strings.
12081 (make-mode-line-mouse-sensitive): Simplify for
12082 mode-line-buffer-identification.
12084 2000-01-07 Gerd Moellmann <gerd@gnu.org>
12086 * play/pong.el: New file.
12088 2000-01-06 Dave Love <fx@gnu.org>
12090 * array.el: Assorted cleanups for compiler warnings, doc strings,
12091 `array-' prefix for symbols.
12093 2000-01-05 Dave Love <fx@gnu.org>
12095 * textmodes/outline.el (outline-mode-menu-bar-map): Add
12096 outline-headers-as-kill.
12097 (outline-mode): Define imenu-generic-expression.
12098 (outline-headers-as-kill): New command.
12100 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
12101 from paragraph-start.
12102 (paragraph-indent-minor-mode): New command.
12104 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
12105 M-C-e, M-C-h, C-j, C-xnd, TAB.
12106 (fortran-mode): Set beginning-of-defun, end-of-defun.
12107 (fortran-column-ruler): Simplify.
12108 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
12109 (fortran-with-subprogram-narrowing): Likewise.
12110 (fortran-indent-subprogram): Call mark-defun.
12111 (fortran-check-for-matching-do): Change narrowing.
12113 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
12114 (cl-lucid-hash-tag): Delete.
12115 (cl-hash-table-p): Correct test for native table.
12116 (cl-hash-table-count): Use hash-table-count.
12118 * browse-url.el (browse-url): Fix case of
12119 browse-url-browser-function being an alist.
12121 2000-01-05 Carsten Dominik <cd@gnu.org>
12123 * textmodes/reftex-vars.el (reftex-parse-file-extension)
12124 (reftex-index-phrase-file-extension): New options.
12126 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
12127 Use new option `reftex-index-phrase-file-extension'.
12129 * textmodes/reftex.el (reftex-access-parse-file): Use new option
12130 `reftex-parse-file-extension'.
12132 2000-01-05 Dave Love <fx@gnu.org>
12134 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
12135 (beginning-of-defun-raw): Use it.
12136 (end-of-defun): New variable.
12137 (end-of-defun): Use it.
12138 (check-parens): New command.
12140 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
12142 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
12143 (hs-show-block): Don't use `mapcar' when not accumulating.
12145 Fix buglet in local variables initialization.
12147 2000-01-05 Andreas Schwab <schwab@suse.de>
12149 * hscroll.el (hscroll): Doc fix.
12151 2000-01-05 Carsten Dominik <cd@gnu.org>
12153 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
12156 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
12157 file idlw-rinfo.el.
12158 (idlwave-customize): load must read file idlw-shell.el.
12159 (idlwave-create-customize-menu): load must read file idlw-shell.el.
12161 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
12163 * progmodes/idlw-shell.el: Also provide idlwave-shell
12164 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
12165 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
12167 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
12168 both reftex-dcr and reftex-vcr.
12170 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
12172 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12174 * ps-print.el: PostScript code now is in separate files, doc fix.
12175 (ps-print-version): New version number (5.0.3).
12176 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
12178 (ps-spool-config): Initialization fix.
12179 (ps-print-prologue-1, ps-print-prologue-2)
12180 (ps-print-duplex-feature): PostScript code moved to separated file.
12181 (ps-background-image): Little code reformating.
12182 (ps-begin-file, ps-begin-job): Fix code.
12183 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
12184 (ps-prologue-file): New fun.
12186 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12188 * ps-vars.el: Eliminated.
12190 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
12193 * ps-print.el: ps-vars eliminated, doc fix.
12194 (ps-print-version): New version number (5.0.2).
12195 (ps-spool-config): Initialization fix.
12196 (ps-print-customize): New fun.
12198 2000-01-04 Gerd Moellmann <gerd@gnu.org>
12200 * autorevert.el (auto-revert-mode): Return value of
12203 2000-01-04 Dave Love <fx@gnu.org>
12205 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
12208 2000-01-03 Dave Love <fx@gnu.org>
12210 * elide-head.el (elide-head) [defgroup]: Add :version.
12212 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
12213 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
12214 `cl-hash-table-p', not `hash-table-p'.
12215 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
12217 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12219 * faces.el (face-read-integer, read-face-attribute)
12220 (color-defined-p, color-values): unspecified-{f,b}g are now
12223 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
12225 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
12226 at comment end, and re-insert them after filling.
12228 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12230 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
12231 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
12232 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
12234 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12236 * term/x-win.el (xw-defined-colors): Call color-supported-p,
12237 the new name of face-color-supported-p.
12239 * term/w32-win.el (xw-defined-colors): Likewise.
12241 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12243 * simple.el (completion-setup-function): Count completion-size
12244 from minibuffer-prompt-end, not from point-min.
12246 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
12248 * faces.el (read-face-attribute, defined-colors, color-defined-p):
12249 Pass the frame to tty-color-* functions.
12250 (display-color-p, frame-set-background-mode): Pass the frame to
12251 tty-display-color-p.
12253 * term/tty-colors.el (tty-defined-color-alist): Renamed from
12255 (tty-color-alist, tty-modify-color-alist): New functions.
12256 (tty-color-define, tty-color-clear, tty-color-approximate)
12257 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
12258 an optional parameter FRAME.
12260 2000-01-01 Gerd Moellmann <gerd@gnu.org>
12262 * image.el (create-image, defimage): Don't assume image data is a
12265 * image.el (defimage): Handle specifications containing :data
12267 (image-type-from-data): New function.
12268 (image-type-from-file-header): Use it.
12269 (create-image): Add parameter DATA-P.
12271 See ChangeLog.8 for earlier changes.
12273 ;; Local Variables:
12274 ;; coding: iso-2022-7bit