1 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
3 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
4 Don't set EMACSLOADPATH.
6 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
8 * textmodes/texinfo.el (texinfo-insert-@uref): Renamed from
10 (texinfo-insert-@url): A defalias for texinfo-insert-@uref.
11 (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
13 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
15 * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
16 (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
17 (checkdoc-minor-keymap): Backward compatibility.
18 (checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
19 (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
20 (checkdoc-this-string-valid-engine): Be a bit more strict
21 to avoid matching substrings of `...' quoted vars/funs.
22 (checkdoc-defun-info): Only look for `interactive' if alone.
23 (debug-ignored-errors): Add "arg doesn't appear in docstring".
25 * progmodes/compile.el (grep): `tag-default' can be nil.
27 * newcomment.el (comment-indent): Paren typo.
29 2000-11-14 Dave Love <fx@gnu.org>
31 * calculator.el: New maintainer version.
33 * diff-mode.el (diff-imenu-generic-expression): Modify unidiff
36 * cmuscheme.el: Doc fixes.
37 (cmuscheme) <defgroup>: Use `scheme' as parent.
38 (cmuscheme-program-name): Remove. Change uses to
41 * xscheme.el (scheme-program-name): Don't define here.
43 * progmodes/scheme.el (scheme-program-name): New variable
44 (originally in cmuscheme).
46 2000-11-14 Miles Bader <miles@gnu.org>
48 * window.el (fit-window-to-buffer): Handle windows without mode-lines.
49 Handle header-lines. Don't loop forever if we can't enlarge the
50 window anymore. Simplify a bit.
52 2000-11-14 Kenichi Handa <handa@etl.go.jp>
54 * window.el (fit-window-to-buffer): Don't check
55 window-text-height. Assure that the last line is fully visible.
57 * international/quail.el (quail-show-guidance-buf): Call
58 fit-window-to-buffer to assure the enough height of the guidance
60 (quail-update-guidance): Avoid making the guidance buffer shorter.
62 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
64 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
65 rather than `prepend' and add an interesting comment.
66 (tex-math-face, tex-font-lock-syntactic-face-function):
67 New face and function to use it.
68 (tex-define-common-keys, tex-mode-map): Use menu-item rather
69 than `menu-enable' symbol property.
70 (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
71 (tex-mode): Add some latex-mode commands for auto-selection.
72 Use tex-font-lock-syntactic-face-function.
73 (tex-insert-quote): Simplify.
74 (tex-shell): New mode.
75 (tex-start-shell): Use it.
76 (tex-shell-proc, tex-shell-buf): New functions.
77 (tex-send-command): Use it.
78 (tex-main-file): Fix the meaning of the new arg REALFILE.
79 (tex-send-tex-command): New function split from `tex-start-tex'.
80 Set compilation-last-buffer and compilation-parsing-end.
82 * newcomment.el (comment-indent-default): Stick \s<\s< to the left
83 when it follows non-comment text on the line.
85 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
86 Set font-lock-defaults.
87 (lisp-mode-shared-map): Init inside the defvar.
88 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
89 Use define-derived-mode.
91 2000-11-14 Miles Bader <miles@lsi.nec.co.jp>
93 * faces.el (header-line): Use `:box nil' for color/gs displays too.
95 2000-11-14 Gerd Moellmann <gerd@gnu.org>
97 * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
98 recursively optimize body because that can lead to infinite
99 recursion; see comment there.
101 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
103 * faces.el (face-spec-set-match-display): Revert the change from
104 2000-10-24. Add a FIXME for after v21.1.
106 2000-11-13 Miles Bader <miles@gnu.org>
108 * textmodes/fill.el (skip-line-prefix): New function.
109 (fill-region-as-paragraph, fill-region): Return the fill-prefix.
110 (fill-paragraph): Don't leave point inside the fill-prefix.
111 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
112 point inside the fill-prefix.
114 2000-11-13 Miles Bader <miles@lsi.nec.co.jp>
116 * calendar/calendar.el (generate-calendar-window): Use
117 `fit-window-to-buffer'.
119 2000-11-12 Stefan Monnier <monnier@cs.yale.edu>
121 * gud.el (gud-minor-mode): New var.
122 (gud-symbol, gud-val): New functions.
123 (gud-find-file): Copy gud-minor-mode to the new buffer.
124 (gud-menu-map): Include entries for commands that are not always
125 available, using :enable to (de)activate them.
126 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
127 (gud-mode-map): New map.
128 (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
129 (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
130 Don't set up gud's menu (it's done by the minor-mode).
131 (gud-minibuffer-local-map): New.
132 Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
133 (gud-query-cmdline): New function.
134 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
135 (gud-mode): Use define-derived-mode.
136 Don't set up gud's menu (it's done by the minor-mode).
137 (gud-chop-words): Remove.
138 (gud-common-init): Use split-string instead.
139 (gud-new-keymap, gud-make-debug-menu): Eradicate.
141 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
142 Add keyword arg :name.
144 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
145 (diff-count-matches, diff-split-hunk): New functions.
146 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
148 * pcvs-info.el (cvs-fi-conflict-face): New var.
150 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
151 Make it into a simple syntax-table, shared among all submodes.
152 (sh-heredoc-face): Re-introduce.
153 (sh-font-lock-syntactic-face-function): New function.
154 (sh-mode): Use it. Also use define-derived-mode.
155 Remove old bogus setting of indent-region-function.
156 (sh-set-shell): Don't set the syntax-table any more.
157 (sh-mode-syntax-table) <defun>: Remove.
159 2000-11-12 Miles Bader <miles@gnu.org>
161 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
162 message if interactive.
164 2000-11-12 Dave Love <fx@gnu.org>
166 * mail/feedmail.el: Fix header,
167 (feedmail) <defgroup>: Add :link.
169 * view.el: Use local-map property, not keymap on mode-line string.
171 * scroll-all.el (scroll-all-mode): Customize variable. Add
172 autoload cookie to function.
174 * lazy-lock.el: Remove compatibility code.
176 * finder.el (finder-known-keywords): Add `files', remove `vms'.
177 (finder-help-echo): New variable.
178 (finder-mouse-face-on-line): Add help-echo stuff.
179 (finder-list-keywords, finder-list-matches): Use mapc.
181 * faces.el (face-font-registry-alternatives): Add :version.
183 * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
186 * net/browse-url.el (browse-url-browser-function): Update :version.
188 * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
189 (mail-mode): Use [:alnum:] in some regexps.
191 2000-11-10 Dave Love <fx@gnu.org>
193 * ediff.el (ediff-regions-internal, ediff-documentation):
194 * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
197 * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
198 buffer into fundamental mode.
199 (ediff-set-difference): Use copy-sequence if available.
201 * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
202 ediff-patch-map non-nil.
203 (ediff-fixup-patch-map, ediff-fixup-patch-map)
204 (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
205 buffer into fundamental mode.
207 * ediff-merg.el (state-or-merge): Defvar when compiling.
209 2000-11-10 Jason Rumney <jasonr@gnu.org>
211 * w32-fns.el (w32-add-charset-info): New function.
212 (w32-charset-info-alist): Use it.
214 2000-11-10 Gerd Moellmann <gerd@gnu.org>
216 * faces.el (face-font-registry-alternatives): New user-option.
218 2000-11-10 Stefan Monnier <monnier@cs.yale.edu>
220 * textmodes/texinfo.el (texinfo-block-default): New var.
221 (texinfo-insert-block): Use it. Insert a newline if needed.
223 * textmodes/fill.el (fill-indent-according-to-mode): New var.
224 (fill-region-as-paragraph): Use it.
226 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
227 (latex-mode): Tweak tex-*-(head|trail)er regexps.
228 Tweak paragraph regexps to allow a leading [ \t]*.
229 (tex-latex-block): Insert a newline if necessary.
230 (latex-insert-item): Only insert a newline if necessary.
231 (tex-guess-main-file): New function.
232 (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
233 Set tex-main-file if TeX-master is provided.
234 (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
236 2000-11-10 Gerd Moellmann <gerd@gnu.org>
238 * startup.el (command-line): Set the default tooltip-mode
239 to t for graphical displays which implement x-show-tip.
241 * tooltip.el (tooltip-mode): Add a comment about startup.el
242 setting the default value of this user-option.
244 2000-11-09 Stefan Monnier <monnier@cs.yale.edu>
246 * font-lock.el (font-lock-*-face) <defvar>: Move.
247 (font-lock-defaults-alist): Mark obsolete.
248 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
249 (font-lock-mode): Use define-minor-mode.
250 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
251 (font-lock-turn-off-thing-lock): Be more explicit.
252 (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
253 (font-lock-syntactic-face-function): New var.
254 (font-lock-fontify-syntactically-region): Use it.
255 (font-lock-doc-face): New.
257 * pcvs.el (cvs-enabledp): Ignore errors.
258 (cvs-commit-filelist): Never query.
259 (cvs-mode-insert): Always add a terminating / in the initial prompt.
260 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
261 (cvs-do-removal): Use cvs-partition rather than delete-if.
262 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
265 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
266 Allow `next' to jump to after the end of the last match.
268 2000-11-09 Gerd Moellmann <gerd@gnu.org>
270 * simple.el (byte-compiling-files-p): New function.
272 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
275 * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
278 * textmodes/ispell.el (ispell-library-path): Don't call
279 check-ispell-version when byte-compiling because that starts
280 an ispell process, and ispell might not be installed.
281 (toplevel): Don't set up a menu when byte-compiling.
283 * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
284 it, so that a boundp test can be used to determine if we're
285 currently byte-compiling.
287 2000-11-09 Dave Love <fx@gnu.org>
289 * pcvs.el (uniquify-buffer-file-name): Wrap advice in
292 2000-11-09 Vinicius Jose Latorre <vinicius@cpqd.com.br>
294 * ps-print.el: Patch for variable initialization when spooling. Doc
296 (ps-output-list): Fun eliminated.
297 (ps-begin-file, ps-begin-job): Code fix.
299 2000-11-08 Dave Love <fx@gnu.org>
301 * ediff-wind.el (ediff-control-frame-parameters): Zero
304 2000-11-08 Gerd Moellmann <gerd@gnu.org>
306 * simple.el (shell-command, display-message-or-buffer)
307 (shell-command-on-region): Mention resize-mini-windows in the doc
309 (display-message-or-buffer): Take the value of resize-mini-windows
312 2000-11-07 Gerd Moellmann <gerd@gnu.org>
314 * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
316 * dired.el (dired-between-files): Add `^. find' as an alternative
317 to the regular expression, for find-dired.
319 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
321 * textmodes/texnfo-upd.el: Require texinfo.
322 (defmacro, defgroup): Remove.
323 (texinfo-section-to-generic-alist): Remove.
324 Use texinfo-section-list instead (i.e. level is changed string->int).
325 (texinfo-filter): New function.
326 (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
327 (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
328 Use it. And use regexp-opt.
329 (texinfo-find-higher-level-node, texinfo-hierarchic-level)
330 (texinfo-update-menu-region-beginning)
331 (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
332 (texinfo-update-the-node, texinfo-sequentially-update-the-node)
333 (texinfo-update-menu-same-level-regexps): Update.
334 (texinfo-update-node, texinfo-every-node-update)
335 (texinfo-sequential-node-update): Remove autoload cookie.
337 * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
338 (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
339 (texinfo-chapter-level-regexp): Remove.
340 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
342 2000-11-06 Dave Love <fx@gnu.org>
344 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
346 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
349 2000-11-06 Kenichi Handa <handa@etl.go.jp>
351 * composite.el (composition-function-table): Variable declaration
352 moved to src/composite.c.
353 (compose-chars-after): New optional arg object.
355 2000-11-06 Gerd Moellmann <gerd@gnu.org>
357 * bindings.el (mode-line-toggle-read-only)
358 (mode-line-toggle-modified, mode-line-widen)
359 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
360 (make-mode-line-mouse2-map): Rewritten.
361 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
362 functions so that C-h k can show something with a doc string.
364 * startup.el (fancy-splash-delay): Set to 10 seconds.
365 (fancy-splash-max-time): New user-option.
366 (fancy-splash-stop-time): New variable.
367 (fancy-splash-screens): Set it. Catch `stop-splashing'.
368 (fancy-splash-screens-1): Throw `stop-splashing' when current
369 time is greater than fancy-splash-stop-time.
371 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
373 * vc-hooks.el (vc-insert-file): Don't assume byte==char.
375 * pcvs.el (cvs-mode-marked): New arg `noquery'.
376 Prompt user for a file rather than raising an error.
377 (cvs-enabledp): Fix call to cvs-mode-marked.
378 (cvs-insert-file): New function (extracted from cvs-mode-insert).
379 (cvs-mode-insert): Use it. Change the init prompt' value.
380 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
382 * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
383 Don't pass default arg to ewoc-locate.
384 (ewoc-collect): Return result in the right order.
386 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
388 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
389 (cvs-status-get-tags): Fix regexp.
390 (cvs-status-trees, cvs-status-cvstrees):
391 Combine after change hooks and don't sit-for.
392 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
393 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
394 Use make-char rather than hard-coded cryptic data.
395 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
397 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
399 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
400 (cvs-insert-strings): New function.
402 2000-11-06 Miles Bader <miles@lsi.nec.co.jp>
404 * mwheel.el (mouse-wheel-scroll-amount): Renamed from
405 `mwheel-scroll-amount'.
406 (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
407 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
408 string-matching against the version string.
410 2000-11-06 Kenichi Handa <handa@etl.go.jp>
412 * language/thai.el ("Thai"): Set a lisp form that produces
413 composed string in `sample-text' language info.
415 * language/tibetan.el ("Tibetan"): Set a lisp form that produces
416 composed string in `sample-text' language info.
418 * international/mule-cmds.el (describe-language-environment): Eval
419 `sample-text' data and insert the result.
421 * international/mule-conf.el (compound-text): Define this coding
422 system here. Make x-ctext and ctext aliases of it.
424 * language/european.el (compound-text, ctext): Moved to
425 international/mule-conf.el.
427 2000-11-05 Andrew Innes <andrewi@gnu.org>
429 * w32-fns.el (w32-version): New function.
431 2000-11-05 Stefan Monnier <monnier@cs.yale.edu>
433 * progmodes/awk-mode.el: Update copyright.
434 (awk-mode-abbrev-table): Remove.
435 (awk-font-lock-keywords): Use regexp-opt.
436 (awk-mode): Use define-derived-mode.
438 * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
439 when extracting a suffix.
441 2000-11-04 Andre Spiegel <spiegel@gnu.org>
443 * vc-hooks.el (vc-insert-file): Rewritten. Don't bother about
446 2000-11-04 Jason Rumney <jasonr@gnu.org>
448 * language/european.el (decode-mac-roman): Test against r1 not r0.
450 2000-11-03 Stefan Monnier <monnier@cs.yale.edu>
452 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
453 (icon-mode): Define indent-line-function.
454 (icon-comment-indent): Simplify.
455 (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
457 * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
459 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
460 Bind change-log-default-mode to defeat the caching done on it.
461 Don't bother saving excursion any more.
463 * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
465 * frame.el (after-setting-font-hook): Rename hooks -> hook.
466 (set-frame-font): Use the new name (and the old for compatibility).
468 * toolbar/tool-bar.el (tool-bar-mode):
469 * time.el (display-time-mode):
470 * recentf.el (recentf-mode):
471 * paren.el (show-paren-mode):
472 * mwheel.el (mouse-wheel-mode):
474 * jka-compr.el (auto-compression-mode):
475 * image-file.el (auto-image-file-mode):
476 * hl-line.el (hl-line-mode):
477 * delsel.el (delete-selection-mode):
478 * autoinsert.el (auto-insert-mode):
479 * complete.el (partial-completion-mode): Drop unneeded positional args.
481 * info.el (Info-mode):
482 * comint.el (comint-mode): Don't both with make-local-hook.
484 * log-edit.el (log-edit-menu): New menu.
486 2000-11-03 Miles Bader <miles@gnu.org>
488 * wid-edit.el (widget-end-of-line): Reinstate, with a new
489 definition, so that trailing spaces are handled properly.
490 (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
492 2000-11-03 Gerd Moellmann <gerd@gnu.org>
494 * startup.el (fancy-splash-text, fancy-splash-text): Use a single
496 (fancy-splash-screens): Set tab-width to 20.
498 2000-11-03 Dave Love <fx@gnu.org>
500 * comint.el (comint-completion-addsuffix): Fix custom type.
502 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
504 * font-lock.el (font-lock-buffers): Remove.
505 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
506 (font-lock-change-major-mode): Remove.
507 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
508 (font-lock-default-fontify-region): Extend the multiline
509 fontification to whole lines.
510 (font-lock-fontify-anchored-keywords)
511 (font-lock-fontify-keywords-region): If matching just one
512 line (with \n) only mark the \n as multiline.
514 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
515 Correctly handle the case where several :group args are supplied.
517 (easy-mmode-define-global-mode): Allow :extra-args.
518 Correctly handle the case where several :group args are supplied.
520 2000-11-02 Miles Bader <miles@gnu.org>
522 * calendar/calendar.el (diary-face, calendar-today-face)
523 (holiday-face): Remove dependency on `window-system'.
525 2000-11-02 Ken Raeburn <raeburn@gnu.org>
527 * Makefile.in (emacs): Set EMACSLOADPATH always.
528 (update-authors, .el.elc, compile-files): Don't do it explicitly
530 (compile-files): Bomb out if compilation of a file fails.
532 2000-11-02 Dave Love <fx@gnu.org>
534 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
536 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
538 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
539 punctuation in the warning inserted into the *mail* buffer.
541 2000-11-02 Gerd Moellmann <gerd@gnu.org>
543 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
544 (authors-public-domain-p): New function.
545 (authors-print): Use it.
547 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
549 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
551 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
553 * ps-print.el: Extension for even/odd printing. Doc fix.
554 (ps-print-version): New version number (6.3.1).
555 (ps-even-or-odd-pages): Customization fix.
556 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
557 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
558 (ps-page-count): Var replaced by `ps-page-column'.
559 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
560 (ps-print-sheet-p): New fun.
562 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
564 * tooltip.el (tooltip-gud-tips-setup): New function.
565 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
566 (tooltip-mode): Call tooltip-gud-tips-setup.
567 (tooltip-gud-tips): Use `gud-basic-call' instead of
568 process-send-string, so the prompt gets frobbed appropriately.
569 Handle nil return value from `tooltip-gud-print-command'.
571 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
573 * comint.el (comint-add-to-input-history): New function.
574 (comint-send-input): Use `comint-add-to-input-history'.
576 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
578 * info.el (info-menu-header): New face.
579 (Info-fontify-menu-headers): New function.
580 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
582 * info.el (Info-insert-dir): Don't include blank lines at
583 beginning of additional dir files (one is added automatically).
585 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
587 * emacs-lisp/easy-mmode.el (define-minor-mode):
588 Revert the latest changes.
589 Allow the three positional arguments to be skipped and replaced
590 by keyword arguments.
591 Add a :toggle argument to determine whether a nil arg means toggle
592 or means turn-on. The default is unchanged.
593 Add a call to force-mode-line-update.
595 2000-11-01 Dave Love <fx@gnu.org>
597 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
600 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
602 * calendar/calendar.el (diary-face, holiday-face): Add
603 dark-background variants.
605 2000-10-31 Sam Steingold <sds@gnu.org>
607 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
608 `tex-main-file' does not have directory in it.
610 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
612 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
614 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
616 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
619 2000-10-31 Gerd Moellmann <gerd@gnu.org>
621 * files.el (find-file-noselect): When we expand a wildcard, return
622 a list of buffers, as we should do according to the doc string.
624 2000-10-31 Ken Raeburn <raeburn@gnu.org>
626 * loadup.el (top level): Adjust load path if program name is
627 "../src/bootstrap-emacs", in case it's not dumped and thus the
628 load path adjustment hasn't already been done.
630 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
632 * ps-print.el: Fix bug on selected pages for printing. Use
633 `color-values' for Emacs 21. Ensure fontification when jit-lock
634 is on. Try to avoid warning messages when compiling. Doc Fix.
635 (ps-print-version): New version number (6.3).
636 (ps-color-device): Use `color-values' to determine if device
638 (ps-color-values): Try to use `x-color-values' when using XEmacs.
639 (ps-print-page-p): Changed from defsubst to defun.
640 (ps-page-number): Changed from defmacro to defun.
641 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
643 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
644 (ps-end-file, ps-dummy-page): Funs eliminated.
645 (ps-print-color-scale): Changed default value.
646 (ps-page-n-up, ps-print-page-p): New internal vars.
647 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
648 (ps-plot-region, ps-generate, ps-end-job): Code fix.
650 * delim-col.el: Little programming improvement.
651 (delimit-columns-str): New macro.
652 (delimit-columns-region, delimit-columns-rectangle): Code fix.
654 2000-10-31 Kenichi Handa <handa@etl.go.jp>
656 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
657 Moved to european.el.
658 (ccl-encode-mac-roman-font, fontset-mac): Modified for
659 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
660 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
661 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
663 2000-10-30 Dave Love <fx@gnu.org>
665 * progmodes/cc-menus.el (imenu-generic-expression)
666 (imenu-progress-message): Only defvar when compiling.
668 * emacs-lisp/elp.el (elp-unload-hook): New function.
670 * loadhist.el (unload-feature): Call elp-restore-function,
671 checking for symbols; don't use elp-restore-all.
672 (loadhist-hook-functions): Doc fix.
674 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
676 * log-edit.el (log-edit-confirm): Fix the default.
678 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
680 * delim-col.el: Little fix: replace delimit-columns-align-columns by
681 delimit-columns-format.
682 (delimit-columns-region, delimit-columns-rectangle): Code fix.
684 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
686 * comint.el (comint-replace-by-expanded-history): Don't use
687 comint-get-old-input (we're not looking at *old* input).
688 (comint-get-old-input-default): If using fields, signal an error
689 when the point is not in an input field.
691 2000-10-30 Kenichi Handa <handa@etl.go.jp>
693 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
694 and mule-unicode-e000-ffff.
696 * international/mule.el (decode-char, encode-char): New functions.
697 (make-coding-system): Accept a symbol of translation table as a
698 value of property `safe-chars'.
700 * international/mule-cmds.el (encode-coding-char): Check property
701 safe-chars instead of safe-charsets.
703 * international/fontset.el (fontset-default): Modified for
704 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
705 (x-font-name-charset-alist): Likewise.
706 (ccl-encode-unicode-font): New CCL program. Record it in
707 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
709 * language/european.el (mac-roman-decoder, mac-roman-encoder):
710 New translation tables.
711 (decode-mac-roman, encode-mac-roman): Definition of these CCL
712 programs are modified and moved from mac-win.el.
713 (mac-roman): Definition of this coding system is modified and
714 moved from mac-win.el.
716 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
718 * ediff-wind.el (ediff-setup-control-frame): Enclose
719 face-attribute in condition-case to avoid errors in older emacsen.
721 2000-10-29 Miles Bader <miles@gnu.org>
723 * custom.el (custom-add-to-group): Allow multiple entries for a
724 given value OPTION, as long as their widget types are different.
725 * cus-edit.el (custom-face-value-create): If face name doesn't end
726 with "face", add such here (similar to custom group widgets).
728 * comint.el (comint-highlight-prompt): Add :type.
730 2000-10-28 John Wiegley <johnw@gnu.org>
732 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
733 Changed this function to operate on a temporary buffer instead of
734 the main buffer. This not only keeps flyspell from marking a
735 buffer as changed that wasn't, but it solves the jumpy cursor
736 problem when attempts are made to edit incorrect words.
737 (flyspell-maybe-correct-doubling): Same change as for
738 `flyspell-maybe-correct-transposition'.
740 * calendar/timeclock.el (timeclock-log): Doc fix.
741 (timeclock-last-event): Doc fix.
742 (timeclock-log): Kill the timelog buffer after appending a new
744 (timeclock-find-discrep): Use a temp buffer to read in the
745 timelog, instead of visiting the file.
746 (timeclock-log-data): A new function, along with a host of helper
747 functions, for the purpose of making timelog data accessible to
750 * eshell/esh-mode.el (window-height test): Make certain that
751 `eshell-stringify-t' is non-nil.
752 (eshell-password-prompt-regexp): Changed to a much simpler
754 (eshell-send-input): If `eshell-invoke-directly' returns t,
755 directly invoke the parsed command using `eval'. This improves
756 turn-around time on simple commands by a factor of three or
757 greater, such as cd, ls, pwd, etc. -- which get used very often.
758 It also conserves thousands of cons cells per call (since
759 `eshell-do-eval' consumes memory like a Cookie Monster set loose
760 in the Pacific Cookie Company).
762 * eshell/esh-test.el (eshell-test): Whitespace fix.
764 * eshell/em-ls.el (eshell-ls-insert-directory): Make
765 `eshell-ls-initial-args' nil when inserting directory contents.
767 * eshell/em-script.el (eshell-script-initialize): Add names to
768 `eshell-complex-commands, since `source' and `.' are complex.
770 * eshell/esh-cmd.el (eshell-rewrite-for-command)
771 (eshell-rewrite-while-command): Use `eshell-protect' instead of
772 `eshell-copy-handles'.
773 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
775 (eshell-separate-commands): Whitespace fix.
776 (eshell-complex-commands): Added a new list of names, for
777 determining whether a given command is as simple as it looks.
778 (eshell-invoke-directly): New function. Returns t if a command
779 should be invoked directly (using `eval'), rather than indirectly
780 using `eshell-do-eval'.
781 (eshell-do-eval): Whitespace fix.
783 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
784 which provides an emulation of the DOS shell behavior of assuming
785 that cp/mv/ln should copy/move/link to the current directory.
786 (eshell-remove-entries): Added a doc string.
787 (eshell-shuffle-files): Removed the check for `target' being null.
788 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
789 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
790 it to do a smarter check of whether a destination was provided.
791 (eshell/mv, eshell/cp): Enable `:preserve-args'.
792 (eshell/ln): Enable `:preserve-args', and use
793 `eshell-mvcpln-template' to implement the body of the function.
794 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
795 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
796 list after flattening it. This makes it possible to cat files
797 with numerical names.
798 (eshell-unix-initialize): Added several names to
799 `eshell-complex-commands.
800 (eshell-unix-command-complex-p): Return t if a given command name
801 may result in external processes being invoked.
803 * eshell/em-glob.el (eshell-glob-show-progress): Make this
804 variable nil by default, since it slows down glob processing by a
805 factor of two or more, and increases memory consumption.
807 * eshell/em-smart.el: Added a note about how memory consumptive
808 smart display mode can be (at least this is true in Emacs 21).
809 (eshell-smart-initialize): Whitespace fix.
810 (eshell-refresh-windows): Use `if' instead of `when'.
811 (eshell-smart-scroll-window): Calling `save-current-buffer' was
813 (eshell-currently-handling-window): Added a missing global
816 * eshell/em-ls.el (eshell-do-ls): Code simplification.
817 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
819 (eshell-ls-exclude-hidden): Added this variable in addition to
820 `eshell-ls-exclude-regexp'. This one prevents files beginning
821 with . from even being read, which can improve memory consumption
823 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
824 read file entries beginning with a dot. In home directories with
825 lots of hidden files, fully two-thirds of the time spent in ls is
826 used to read directory entries that are immediately thrown away.
827 (eshell-ls-initial-args): Added back this configuration variable,
828 for specifying default initial arguments to every call to ls.
829 Much faster than using an alias to do the same thing.
830 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
831 (eshell-ls-dir): Whitespace change.
833 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
835 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
837 (eshell-stringify-t): Added a customization variable, to indicate
838 whether `t' should be rendered as a string at all. If not, one
839 can still determine if the result of an expression is true using
840 "file-exists-p FILE && echo true".
841 (eshell-stringify): If `eshell-stringify-t' is nil, don't
844 * eshell/esh-module.el: Whitespace fix.
846 * eshell/em-alias.el (eshell-alias-initialize): Added
847 `eshell-command-aliased-p' to `eshell-complex-commands'.
848 (eshell-command-aliased-p): New function that returns t if a
849 command name names an aliased.
851 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
853 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
854 redrawing the screen when changing cursor color.
855 (viper-insert-state-pre-command-sentinel)
856 (viper-replace-state-pre-command-sentinel)
857 (viper-replace-state-post-command-sentinel):
858 Use viper-preserve-cursor-color.
859 Many functions changed to use viper= instead of = when comparing
861 * viper-util.el (viper-memq-char,viper=): New functions for
862 working with characters.
863 (viper-change-cursor-color): Fixed buglet.
864 Many functions changed to use viper= instead of = when comparing
866 * viper.el (viper-insert-state-mode-list): Added eshell.
868 * ediff-init.el (ediff-before-setup-hook): New hook.
869 Several typos fixed in various docstrings.
870 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
871 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
873 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
874 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
875 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
876 (ediff-get-selected-buffers): New function.
877 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
878 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
879 save-window-excursion.
880 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
881 termination check in while loop.
882 * ediff.el (ediff-get-default-file-name): Better defaults when in
884 (ediff-files,ediff-merge-files,ediff-files3)
885 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
887 2000-10-28 Dave Love <fx@gnu.org>
889 * info.el (Info-fontify-node): Add help-echo for menu items.
891 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
893 * startup.el (normal-top-level): If the value of $TERM indicates
894 we are running from xterm or one of its work-alikes, default to a
895 light background mode.
897 Support for -fg, -bg, and -rv command-line arguments for TTYs:
898 * faces.el (tty-handle-reverse-video): New function.
899 (tty-create-frame-with-faces): Call it.
901 * frame.el (frame-notice-user-settings): Don't apply
902 default-frame-alist and initial-frame-alist to MS-DOS frames.
903 Call tty-handle-reverse-video, frame-set-background-mode, and
904 face-set-after-frame-default for non-MS-DOS frames.
906 * startup.el (tty-long-option-alist): New variable.
907 (tty-handle-args): New function.
908 (command-line): Call tty-handle-args.
910 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
911 startup.el now does that for all character-terminal frames.
913 2000-10-28 Miles Bader <miles@gnu.org>
915 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
916 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
917 global. If :global is followed by a non-nil but non-t value,
918 make the mode buffer-local, but also generate a `global-MODE'
919 version using `easy-mmode-define-global-mode'. Add
920 :conditional-turn-on keyword argument.
922 2000-10-28 Dave Love <fx@gnu.org>
924 * international/latin1-disp.el (latin1-char-displayable-p): Don't
927 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
929 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
930 Don't call find-buffer-file-type-coding-system. Instead, just
931 set eol-type to -unix if inhibit-eol-conversion is in effect, or
932 if the file is on an untranslated filesystem.
933 (add-untranslated-filesystem): Use "D" instead of "f" inside
936 2000-10-27 Dave Love <fx@gnu.org>
938 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
939 (refill-mode): Use it.
941 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
943 * international/quail.el (quail-activate): Don't make-local-hook.
945 2000-10-27 Andre Spiegel <spiegel@gnu.org>
947 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
948 manual backups and file.~<rev>.~ for automatic ones.
949 (vc-make-version-backup): Don't do it on MS-DOS without long file
952 * vc.el (vc-version-other-window): If an automatic backup of the
953 desired version exists, rename it instead of copying it.
955 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
956 after command. If there's an unexpected error, signal it instead
958 (vc-cvs-merge-news): Be prepared for no news at all.
960 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
962 * shell.el (shell): Add BUFFER argument.
963 * comint.el (make-comint-in-buffer): New function.
964 (make-comint): Use it.
966 * faces.el (face-spec-choose): Change syntax so that the list of
967 attribute-value pairs is now the cdr of each clause, not the cadr.
968 Detect old-style entries, and handle them. Use pop.
970 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
972 * cus-edit.el (custom-mode-map): Use a sparse map.
973 (custom-mode): Don't bother with make-local-hook.
975 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
977 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
979 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
981 * ps-print.el: Avoid compilation gripes.
982 (ps-print-version): New version number (6.2.1).
984 2000-10-26 Dave Love <fx@gnu.org>
986 * menu-bar.el: Modify some menu item help strings.
987 (menu-bar-help-menu): Add link to MORE.STUFF.
989 * cus-edit.el (custom-mode): Add `special' mode-class property.
991 * wid-browse.el (widget-browse-mode): Likewise.
993 * wid-edit.el (widget-specify-field): Revert to using local-map
994 property, not keymap.
996 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
998 * wid-edit.el (widget-field-end): When checking for a `boundary'
999 field, do so in the correct buffer.
1001 * simple.el (undo): Correctly distinguish between numeric and
1002 non-numeric prefix args in non-transient-mark-mode, as per the doc
1003 string. When in transient-mark-mode, treat all prefix-args as
1006 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
1007 Position point on match. Handle N == 0 correctly.
1009 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
1010 (comint-mode-map): Reverse order of `comint-write-output' and
1011 `comint-append-output-to-file'.
1012 (comint-append-output-to-file): Reinstate this function, for the
1013 benefit of the menu.
1015 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
1017 * vc.el (vc-version-other-window): Bind `file'.
1019 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1021 * Makefile.in (update-authors): New target for maintenance purposes.
1023 * emacs-lisp/authors.el (batch-update-authors): New function.
1024 (authors-fixed-entries): New defconst.
1025 (authors-add-fixed-entries): New function.
1026 (authors): Call it.: Don't process lispref/.
1028 2000-10-25 Jason Rumney <jasonr@gnu.org>
1030 * cus-edit.el (custom-button-face, custom-button-pressed-face):
1031 Merge x w32 and mac definitions.
1033 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1035 * menu-bar.el (menu-bar-options-menu): Add a help string for
1038 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
1040 * time-stamp.el (time-stamp-string-preprocess):
1041 Fix a wrong type argument error.
1043 2000-10-25 Miles Bader <miles@gnu.org>
1045 * recentf.el (recentf-mode): Variable removed.
1046 (recentf-mode): Use `define-minor-mode'.
1048 * mwheel.el (mouse-wheel-mode): New global minor mode.
1049 (mwheel-install): Use `mouse-wheel-mode'.
1051 2000-10-25 Dave Love <fx@gnu.org>
1053 * progmodes/cperl-mode.el (cperl-mode):
1054 Set normal-auto-fill-function correctly.
1056 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
1057 inherit from global-map and don't nullify menu-bar and tool-bar
1060 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
1062 * wid-edit.el (widget-field-at): New function.
1063 (widget-at, widget-field-activate): Use it.
1064 (widget-tabable-at): Use `widget-at'.
1065 (widget-specify-field): If the terminating character of the widget
1066 field (which is read-only) is a newline, put it into a special
1067 `boundary' field so that C-n/C-p act more naturally.
1068 (widget-field-end): Also don't subtract one if a special
1069 `boundary' field has been added after the widget field.
1071 * comint.el (comint-output-filter, comint-send-input): Don't
1072 bother adding stickiness fields to overlays to fool the field
1073 code, since it should notice the overlay insertion-types now.
1075 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
1076 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
1077 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
1079 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1081 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
1082 (authors): Set file coding system to iso-2022-7bit. Add
1083 file-local variables to output buffer.
1085 * files.el (after-find-file): Don't print any warnings if
1088 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1090 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
1092 * delim-col.el: Now there is a column formatting mechanism.
1093 Modified to customization mechanisms convention. Doc fix.
1094 (columns): New group for delim-col.
1095 (delimit-columns-before, delimit-columns-after)
1096 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
1097 (delimit-columns-end): New vars.
1098 (delimit-columns-customize, delimit-columns-format): New funs.
1099 (delimit-columns-region, delimit-columns-rectangle)
1100 (delimit-columns-rectangle-line): Modified to support column
1103 2000-10-24 Dave Love <fx@gnu.org>
1105 * log-edit.el (log-edit): Add :version and a :group for vc.
1107 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1109 * files.el (after-find-file): Don't print a message ``New file''
1112 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
1113 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
1114 get duplicate tool-bar entries because we'll see the global ones
1115 on more than one path through keymaps.
1117 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
1119 * progmodes/cmacexp.el: Change Francesco's email address.
1121 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1123 * window.el (fit-window-to-buffer): Adjust point of the window
1124 buffer, not that of the current buffer.
1126 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
1128 * progmodes/cmacexp.el: Update the euthor's email address.
1130 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1132 * faces.el (face-spec-set-match-display): Add `graphic' display
1133 type (the inverse of `tty'). Use `display-graphic-p' instead of
1134 the window-system variable.
1136 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1138 * international/isearch-x.el (isearch-with-input-method): Call
1139 input-method-function with the first event in
1140 unread-command-events.
1142 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1144 * faces.el (face-default-spec, face-user-default-spec): Make
1147 2000-10-24 Andrew Choi <akochoi@i-cable.com>
1149 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
1152 * term/mac-win.el: Remove definitions of mac-roman-lower and
1153 mac-roman-upper, require dired, and define instead of set
1154 mac-ready-for-drag-n-drop to avoid compilation error.
1156 2000-10-23 Andrew Innes <andrewi@gnu.org>
1158 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
1159 superfluous calls to subst-char-in-string; instead apply
1160 expand-file-name after convert-standard-filename to ensure
1161 expected directory separators are used.
1163 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
1165 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
1167 2000-10-23 Dave Love <fx@gnu.org>
1169 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
1170 (tool-bar-add-item): Set foreground and background for XBM icons.
1172 * international/latin1-disp.el (latin1-char-displayable-p): New
1173 function (from Handa).
1174 (latin1-display-check-font): Use it.
1176 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
1177 using :key-sequence, making it much more usable. Use nconc, not
1179 (imenu--create-keymap-1): Avoid append.
1181 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
1183 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1185 [the following changes fix a bug where `define-minor-mode' didn't
1186 correctly generate :require clauses for defcustoms in compiled files]
1187 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
1188 (byte-compile-log-file, byte-compile-log-1): Don't set
1189 `byte-compile-current-file' to nil. Instead set
1190 `byte-compile-last-logged-file' to it. Test whether
1191 byte-compile-current-file equals byte-compile-last-logged-file
1192 instead of whether its nil.
1193 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
1195 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
1197 * textmodes/refill.el: Fix var names in doc.
1198 (refill-mode): Don't bother with make-local-hook anymore.
1200 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1202 * faces.el (face-user-default-spec, face-default-spec): New functions.
1203 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
1204 (frame-set-background-mode, face-set-after-frame-default):
1205 Use `face-user-default-spec'. Simplify code slightly.
1207 * woman.el (woman-italic-face, woman-bold-face)
1208 (woman-unknown-face): Add dark-background variants.
1209 (woman-default-faces): Renamed from `woman-colour-faces'.
1210 Set using the stored defaults, rather than using hard-wired colors.
1211 (woman-monochrome-faces): Renamed from `woman-black-faces'.
1212 Just make the foreground `unspecified' rather than "black".
1213 (woman-menu): Rename menu entries accordingly.
1215 * faces.el (header-line): Make more reasonable on mono/grayscale
1218 2000-10-23 Andrew Choi <akochoi@i-cable.com>
1220 * cus-edit.el (custom-button-face): Use 3D look for mac.
1221 (custom-button-pressed-face): Likewise.
1223 * faces.el (set-face-attributes-from-resources): Handle mac frames
1224 in the same way as x and w32 frames.
1225 (face-valid-attribute-values): Likewise.
1226 (read-face-attribute): Likewise.
1227 (defined-colors): Likewise.
1228 (color-defined-p): Likewise.
1229 (color-values): Likewise.
1230 (display-grayscale-p): Likewise.
1231 (face-set-after-frame-default): Likewise.
1232 (mode-line): Same default face as for x and w32.
1233 (tool-bar): Likewise.
1235 * frame.el: Remove call to frame-notice-user-settings at end of
1238 * info.el (Info-fontify-node): make underlines invisible for mac
1239 as for x, pc, and w32 frame types.
1241 * term/mac-win.el: New file.
1243 2000-10-22 Dave Love <fx@gnu.org>
1245 * textmodes/refill.el: New file.
1247 2000-10-22 Andre Spiegel <spiegel@gnu.org>
1249 * vc-hooks.el (vc-version-backup-file-name): New optional args
1251 (vc-delete-automatic-version-backups, vc-make-version-backup):
1253 (vc-before-save): Use the latter.
1254 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
1257 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
1258 expected by vc[-hooks].el.
1260 * vc.el (vc-checkout): Added `-p' suffix in call to
1261 vc-make-version-backups-p; use vc-make-version-backup to actually
1263 (vc-version-other-window, vc-version-backup-file): Handle both
1264 automatic and manual backups.
1265 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
1268 2000-10-22 Miles Bader <miles@gnu.org>
1270 * comint.el (comint-highlight-input, comint-highlight-prompt):
1271 Renamed, `-face' at end removed.
1272 (comint-send-input, comint-output-filter): Use renamed faces.
1274 * window.el (fit-window-to-buffer): Change defaulting of
1275 MAX-HEIGHT slightly.
1277 * faces.el (color-values, color-defined-p): Use `member', not
1278 `memq', because it works correctly for strings.
1279 (frame-set-background-mode): Actually, "unspecified-fg" and
1280 "unspecified-bg" *are* strings. Use `member', not `memq', and
1281 `equal', not `eq', when a string value is possible.
1283 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
1285 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
1287 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
1289 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
1290 sh-electric-rparen, sh-electric-less and sh-electric-hash.
1291 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
1292 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
1293 (sh-font-lock-syntactic-keywords): Use them.
1294 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
1295 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
1296 (sh-mode): Don't override font-lock-unfontify-region-function.
1297 Use a copy of sh-font-lock-syntactic-keywords.
1298 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
1299 Don't call sh-scan-buffer since font-lock does it on the fly.
1300 (sh-get-indent-info): Use `face' rather than `syntax-table'
1301 text-property to detect here-documents.
1302 Replace sh-special-syntax with sh-st-punc.
1303 (sh-prev-line): Use `face' rather than `syntax-table'
1304 text-property to skip over here-documents.
1305 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
1306 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
1307 (sh-electric-less, sh-set-here-doc-region)
1308 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
1309 (sh-scan-buffer, sh-rescan-buffer): Remove.
1311 2000-10-21 Andrew Innes <andrewi@gnu.org>
1313 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
1314 remote (ange-ftp) file names.
1316 2000-10-21 Miles Bader <miles@gnu.org>
1318 * window.el (fit-window-to-buffer): New function.
1319 (shrink-window-if-larger-than-buffer): Use it.
1320 (window-text-height): Don't expect minibuffers to have mode-lines.
1322 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1323 * international/quail.el (quail-update-guidance): Use
1324 `fit-window-to-buffer' instead of `set-window-text-height'.
1326 * international/quail.el (quail-show-guidance-buf): Make sure
1327 guidance window really has enough room.
1328 (quail-update-guidance): If quail-guidance-win is already shown,
1329 make sure its height is OK.
1331 * window.el (window-text-height, set-window-text-height):
1333 (shrink-window-if-larger-than-buffer): Use `window-text-height'
1334 instead of `window-height' & `mode-line-window-height-fudge'.
1335 (mode-line-window-height-fudge): Add FACE parameter.
1336 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1337 instead of `enlarge-window' & `mode-line-window-height-fudge'.
1339 2000-10-20 Miles Bader <miles@gnu.org>
1341 * window.el (height-affecting-face-attributes): Use `defconst'.
1343 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1344 New function, conditionally aliased to `mode-line-window-height-fudge'.
1345 (ispell-help): Use it.
1346 (ispell-choices-win-default-height): Don't include mode-line fudge.
1347 (ispell-choices-win-default-height): New function.
1348 (ispell-show-choices, ispell-command-loop): Use function
1349 `ispell-choices-win-default-height' instead of variable.
1351 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
1353 * window.el (mode-line-window-height-fudge): New variable.
1354 (height-affecting-face-attributes): New variable.
1355 (mode-line-window-height-fudge): New function.
1356 (shrink-window-if-larger-than-buffer): Use it.
1357 * help.el (resize-temp-buffer-window): Likewise.
1359 * info.el (Info-fontify-node): Add support for @subsubsection
1360 titles, which use `Info-title-4-face'.
1361 (Info-title-4-face): New face.
1362 (Info-title-3-face): Inherit from Info-title-4-face instead of
1365 2000-10-19 Jason Rumney <jasonr@gnu.org>
1367 * dired.el (dired-insert-directory): Do not let errors signalled by
1368 attempt to run dired-free-space-program prevent dired from working.
1370 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
1372 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1374 2000-10-19 Gerd Moellmann <gerd@gnu.org>
1376 * dirtrack.el (dirtrack): Fix call to run-hooks.
1378 * cmuscheme.el (cmuscheme-program-name): Renamed from
1379 scheme-program-name because xscheme.el contains a defcustom with
1380 the same name. As a consequence, customizing group `cmuscheme'
1381 loaded `xscheme' which redefined run-scheme.
1382 (run-scheme): Use cmuscheme-program-name.
1384 * ps-print.el (ps-print-emacs-type): Move into the
1387 * play/doctor.el (doctor-death): Update the Samaritans'
1388 anonymous address, and add a website for Befrienders International.
1390 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1392 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
1393 Avoid compilation gripes. Doc fix.
1394 (ps-print-version): New version number (6.2).
1395 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1396 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1397 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1398 (ps-x-extent-priority, ps-x-extent-start-position)
1399 (ps-x-face-font-instance, ps-x-find-coding-system)
1400 (ps-x-font-instance-properties, ps-x-make-color-instance)
1401 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1402 avoid compilation gripes without defining functions.
1403 (ps-e-find-composition): Alias for function find-composition, to have a
1404 suitable function depending on Emacs version.
1405 (ps-color-device, ps-color-values, ps-face-foreground-name)
1406 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1407 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1408 (ps-print-ensure-fontified): Function definitions surrounded by
1409 `eval-and-compile' to avoid compilation gripes.
1410 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1411 by symbol-value to avoid compilation gripes.
1412 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1413 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1415 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1417 * startup.el (normal-top-level): Call `frame-set-background-mode'
1418 after `frame-notice-user-settings' because the latter doesn't call
1419 the former on a tty.
1421 * faces.el (frame-set-background-mode): `unspecified' &c are
1422 symbols, not strings.
1424 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1426 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1427 why some "light*" colors are deliberately absent from the alist.
1429 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1430 Change colors for tty's, as suggested by Miles Bader.
1432 2000-10-19 Kenichi Handa <handa@etl.go.jp>
1434 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1435 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
1436 for ISO10646-1 fonts.
1437 (x-font-name-charset-alist): Add an entry for "iso10646-1".
1439 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1441 * faces.el (frame-set-background-mode): If a tty frame defines a
1442 background color, use that to compute the background mode, instead
1443 of always defaulting to "dark".
1445 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1447 * comint.el (comint-write-output): New function.
1448 (comint-mode-map): Add it to the menu.
1449 Bind `C-c C-s' to comint-write-output.
1451 2000-10-18 Gerd Moellmann <gerd@gnu.org>
1453 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1454 Use fancy-splash-delay.
1456 2000-10-18 Alex Schroeder <alex@gnu.org>
1458 * progmodes/sql.el (sql-sybase-options): New option.
1459 (sql-sybase): Use it. Add sql-database to the list of parameters
1460 provided for login. The options -w 2048 -n are not used any more.
1462 * comint.el (comint-read-input-ring): Bugfix such that the first
1463 and the last entry of the input ring file are not lost.
1465 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1467 * ps-print.el: Internal variable changes to defcustom,
1468 make-local-hook changes to defvar. Doc fix.
1469 (ps-print-version): New version number (6.1).
1470 (ps-setup, ps-do-despool): Code fix.
1471 (ps-printer-name): Customization fix.
1472 (ps-printer-name-option): Now is a defcustom instead of an
1474 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1475 (ps-print-begin-column-hook): Now are defvar instead of
1478 2000-10-18 Miles Bader <miles@gnu.org>
1480 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1481 (comint-kill-output): Changed into an alias for `comint-delete-output',
1483 (comint-mode-map): Rename references to comint-kill-output.
1485 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
1487 * diff-mode.el (diff-header-face, diff-file-header-face)
1488 (diff-changed-face): Add bold and italic attributes to tty faces.
1489 (diff-function-face): New face.
1490 (diff-font-lock-keywords): Use it.
1492 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
1494 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1495 Remove commented-out call to force-mode-line-update.
1496 (comint-kill-output): Use `forward-line 0' instead of
1497 beginning-of-line to make sure we get past the prompt.
1499 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
1501 * diff-mode.el (diff-header-face, diff-file-header-face):
1502 Add specific setting for dark background.
1503 (diff-context-face): Renamed from diff-comment-face.
1504 Set explicitly rather than inheriting from font-lock-comment-face.
1506 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1508 * startup.el (command-line): Move the code which sets the default
1509 TTY colors to before before-init-hook.
1511 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1513 * jit-lock.el (jit-lock-stealth-time): Doc fix.
1515 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1517 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1518 extensions, for MS-DOS.
1520 * diff-mode.el (diff-header-face, diff-file-header-face)
1521 (diff-changed-face): Define tty-specific colors.
1523 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1525 * startup.el (fancy-splash-text): Realign the text.
1527 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1529 * font-lock.el (font-lock-comment-face): Define a separate default
1530 for dark-background tty's.
1532 2000-10-17 Miles Bader <miles@gnu.org>
1534 * help.el (resize-temp-buffer-window): Add hack to avoid last line
1535 being obscured by whizzy mode-lines on graphics displays.
1537 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1539 * info.el (Info-title-1-face, Info-title-2-face)
1540 (Info-title-3-face): Define colors for tty's.
1541 (info-header-node): Remove unneeded tty-specific definition.
1543 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
1545 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1546 reverse from the frame parameters, and don't invert foreground and
1549 2000-10-16 Miles Bader <miles@gnu.org>
1551 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1552 string "*Info*". Call propertized-buffer-identification to spruce
1555 2000-10-16 Gerd Moellmann <gerd@gnu.org>
1557 * help.el: Provide `help' for the sake of define-minor-mode
1558 which generates defcustoms with requires.
1560 * jit-lock.el (jit-lock-after-change): If we're in text that
1561 matches a multi-line font-lock pattern, make sure the whole text
1562 will be redisplayed.
1564 * emacs-lisp/authors.el (authors-add): Don't add an entry if
1565 author's name is unknown.
1567 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1568 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1569 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1570 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1571 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1572 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1573 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1574 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1575 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1576 Add author information.
1578 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
1580 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1581 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1582 full-color version (using the Gimp) to eliminate dithering artifacts.
1584 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1586 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1588 * simple.el (syntax-flag-table, string-to-syntax): Remove.
1590 2000-10-15 Dave Love <fx@gnu.org>
1592 * progmodes/sh-script.el: Require skeleton and comint when
1595 * pcomplete.el (pcomplete) <defgroup>: Add :version.
1597 * whitespace.el: Doc fixes.
1598 (top-level): Don't add hooks here.
1599 (whitespace-running-emacs): Deleted.
1600 (timer): Don't require.
1601 (whitespace): Add back :version conditional on xemacs test.
1602 (whitespace-spacetab-regexp, whitespace-indent-regexp)
1603 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1604 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1605 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1606 Avoid specific xemacs test.
1607 (whitespace-global-mode): New option.
1608 (whitespace-global-mode): New command.
1609 (whitespace-unload-hook): New function.
1611 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1612 (Info-fontify-node, Info-goto-node, Info-mode-menu)
1613 (Info-fontify-node): `Goto' goes to `Go to'.
1614 (Info-fontify-node): Add help-echo to xref links.
1616 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
1618 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1620 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1622 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1623 Use plist-get and allow :inherit.
1625 * emacs-lisp/cl-macs.el (cl-do-arglist):
1626 Use plist-get and plist-member instead of memq.
1628 * emacs-lisp/ewoc.el (ewoc-location): New function.
1629 (ewoc-enter-after, ewoc-enter-before): Document return value.
1630 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1631 Don't need make-local-hook any more.
1632 (cvs-addto-collection): Return the new tin.
1633 (cvs-mode-insert): Jump to the new line.
1635 * jit-lock.el (jit-lock-fontify-buffer): Remove.
1637 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1639 * font-lock.el (font-lock-syntactically-fontified): New var.
1640 (font-lock-fontify-syntactic-keywords-region): Use it.
1641 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
1643 * diff-mode.el (diff-find-file-name): Fix regexp.
1645 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1646 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1648 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1649 (sh-mode-syntax-table): Add punctuation syntax for < and >.
1650 (sh-mode): Don't make all vars local here.
1652 (sh-set-shell): Use dolist. Don't set indent-region-function.
1653 (sh-mode-syntax-table): Use pop.
1654 (sh-remember-variable): Use push.
1655 (sh-help-string-for-variable): Use memq.
1656 (sh-safe-backward-sexp): Remove.
1657 (sh-safe-forward-sexp): Add ARG.
1658 (sh-get-indent-info, sh-prev-stmt): Use it.
1659 (sh-prev-line): Simplify by using forward-comment.
1660 (sh-this-is-a-continuation): Simplify.
1661 (sh-learn-buffer-indent): Use dolist.
1662 (sh-do-nothing): Remove.
1663 (sh-set-char-syntax, sh-set-here-doc-region):
1664 Use inhibit-modification-hooks.
1665 (sh-name-style): Use mapcar and push.
1666 (sh-load-style): Use dolist.
1667 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1668 (sh-case, sh-while-getopts): Use propertize directly rather
1669 than sh-electric-rparen.
1671 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
1673 * textmodes/tex-mode.el: Require CL when compiling.
1674 (tex-mode-syntax-table): Init immediately.
1675 (tex-mode-map): Bind M-RET to latex-insert-item.
1676 (latex-mode): Set indent-line-function to latex-indent.
1677 (tex-common-initialization): Don't setup the syntax-table any more.
1678 (latex-insert-item): New skeleton.
1679 (tex-next-unmatched-end): Fix copy/paste braino.
1680 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
1681 (latex-indent, latex-find-indent): New functions.
1682 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
1683 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
1684 (tex-compilation-parse-errors): Use with-syntax-table.
1686 2000-10-15 Miles Bader <miles@gnu.org>
1688 * font-lock.el (font-lock-comment-face): Change dark-background,
1689 color, non-tty, default to `chocolate1'.
1691 2000-10-13 John Wiegley <johnw@gnu.org>
1693 * eshell/esh-util.el (require): Added a missing `require' form,
1694 needed when compiling (for an ange-ftp macro definition).
1696 2000-10-13 Dave Love <fx@gnu.org>
1698 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
1700 2000-10-13 Gerd Moellmann <gerd@gnu.org>
1702 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
1705 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
1706 transparent -colors 8).
1708 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
1710 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
1711 that breaks with old list format timestamps.
1712 (time-stamp-warn-inactive, time-stamp-old-format-warn)
1713 (time-stamp-count, time-stamp-conversion-warn): Improved doc
1716 2000-10-13 John Wiegley <johnw@gnu.org>
1718 * align.el, pcomplete.el, calendar/timeclock.el,
1719 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
1721 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
1722 faulty math, where holiday hours were being computing as seconds.
1724 2000-10-13 John Wiegley <johnw@gnu.org>
1726 * desktop.el (desktop-buffer-modes-to-save): Added a global for
1727 specifying what "other" kinds of buffers should be saved. This
1728 used to be hard-coded.
1729 (desktop-buffer-misc-functions): A global for specifying how
1730 auxiliary data should be determined for special buffer types.
1731 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
1732 instead of hard-coding the special buffer types.
1733 (desktop-save): Run `desktop-buffer-misc-functions' to gather
1734 auxiliary data, instead of hard-coding for Info buffers and dired.
1735 (desktop-buffer-info-misc-data): Aux function for determining Info
1736 buffer auxiliary info.
1737 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
1738 (desktop-buffer-info): Changed this function to use the info
1740 (desktop-create-buffer): Be a little more careful about what
1741 `minor-mode' means before calling it. This is important for some
1744 2000-10-13 John Wiegley <johnw@gnu.org>
1746 * eshell/esh-util.el: Added a global form which declares an
1747 autoload for `parse-time-string', if that function is not already
1748 defined, and if parse-time.el is available on the user's system.
1750 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
1751 to be aware of ange-ftp user info.
1752 (eshell-do-ls): Bind `ange-cache'. Also, use
1753 `eshell-file-attributes'.
1754 (eshell-ls-annotate): Use `eshell-file-attributes'.
1755 (eshell-ls-file): Made the user-id printing code a bit smarter.
1757 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
1758 allow identification of alias user ids in remote directories.
1759 It's manual, but there's no other way to know when the current
1760 user on the local machine, is also the owning user on the remote
1762 (fboundp): Bind `ange-cache'.
1763 (eshell-directory-files-and-attributes): Re-organized the logic a
1764 bit to use `eshell-file-attributes' instead of `file-attributes'.
1765 The former is more sensitive to directories that are read via FTP,
1766 and knows how to use ange-ftp to determine full attribute
1767 information, instead of just the name and last modtime.
1768 (eshell-current-ange-uids): Return the current user id when in a
1770 (eshell-parse-ange-ls): Parse a full directory listing that has
1771 been returned by ange-ftp.
1772 (eshell-file-attributes): This beefed up version of
1773 `file-attributes' is only special if the user is currently in a
1774 remote directory, in which case it does a lot of work to find out
1775 what the real attributes of a file are, as they appear on the
1776 remote machine. This makes usage of remote directories (i.e.,
1777 ange-ftp pathnames) much more useful. You can now use Eshell as a
1778 full-fledged FTP client, with much more manipulation ability than
1781 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
1782 variable, which means that Eshell's du should always be preferred
1783 in remote directories.
1784 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
1785 just `file-attributes'.
1786 (eshell-mvcp-template): Bind `ange-cache', to improve performance
1787 when reading remote directories. This is an Eshell-specific
1788 variable (not part of ange-ftp).
1789 (eshell/ln): Bind `ange-cache'.
1790 (eshell/du): Added some extra logic for determining when to use
1791 Eshell's du (which is slow), and when to use the external version
1792 (which may or may not exist).
1794 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
1795 `eshell-interactive-process', rather than using
1796 `get-buffer-process', since backgrounded processes don't count in
1797 the context of this function's logic.
1799 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
1800 `forward-char', so that null strings are parsed correctly.
1802 2000-09-13 John Wiegley <johnw@gnu.org>
1804 * eshell/em-pred.el (eshell-pred-file-type,
1805 eshell-pred-file-links, eshell-pred-file-size): Use
1806 `eshell-file-attributes'. This is more correct over ange-ftp.
1808 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
1809 that remote file globbing is more efficient.
1811 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
1812 gathering the files and attributes within a directory.
1814 * eshell/em-unix.el (eshell/cat): If any of the files passed on
1815 the command line is a special file (not a regular file, directory
1816 or symlink), always attempt to call the external version of cat.
1818 2000-09-13 John Wiegley <johnw@gnu.org>
1820 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
1821 Eshell-friendly version of find-tag.
1823 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
1825 * image-file.el (image-file-name-extensions)
1826 (image-file-name-regexps): Add autoload cookies.
1828 2000-10-13 Kenichi Handa <handa@etl.go.jp>
1830 * international/mule-cmds.el (select-safe-coding-system): If FROM
1831 is string, show it in *Warning* buffer.
1833 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
1835 * startup.el (normal-top-level): Use display-popup-menus-p instead
1837 (command-line): Use display-graphic-p instead of window-system.
1838 (command-line-1): Use display-popup-menus-p and display-mouse-p
1839 instead of window-system.
1841 2000-10-12 Sam Steingold <sds@gnu.org>
1843 * tooltip.el (tooltip-use-echo-area): New user variable.
1844 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
1846 2000-10-12 Dave Love <fx@gnu.org>
1848 * recentf.el: Maintainer's checkdoc fixes.
1850 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
1851 character class, not ASCII when matching file names.
1852 (fancy-splash-head): Add trailing slash to URL.
1853 (command-line): Don't require XPM support for toolbar.
1855 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
1856 (cperl-invalid-face): Revert last change.
1857 (cperl-init-faces): Quote cperl-invalid-face.
1859 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1861 * startup.el (fancy-splash-text): Remove superfluous quote.
1863 2000-10-12 Gerd Moellmann <gerd@gnu.org>
1865 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
1866 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
1867 (command-line-1): Don't use fancy-splash-pending-command.
1868 (fancy-splash-screens-1): Goto point-min after inserting text.
1870 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
1872 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
1873 instead of shared-lisp-mode-map.
1875 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
1877 * faces.el (header-line): Change tty-variant to use underlining.
1879 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
1880 (isearch-highlight): Restore lazy-isearch face properties at old
1881 position, and suppress them at new position.
1882 (isearch-dehighlight): Restore lazy-isearch face properties.
1883 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
1884 over the real isearch overlay, but in that case, don't give it a
1885 face property. Use `push'.
1887 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1889 * man.el (Man-getpage-in-background): Fix previous change.
1890 Decode the process output only when we are in multibyte mode.
1892 2000-10-11 Dave Love <fx@gnu.org>
1894 * info.el (Info-mode-menu): Fix some help.
1895 (info-tool-bar-map): Add entry for Info-last.
1897 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
1898 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
1899 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
1900 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
1901 * toolbar/search-replace.xpm, toolbar/exit.xpm:
1902 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
1903 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
1904 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
1905 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
1906 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
1907 Reduce colour requirements to 25 overall. (Probably wants
1908 revisiting from the originals to reduce further.)
1910 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
1912 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
1913 buffer-file-coding-system, instead of raw-text.
1914 (dehexlify-buffer): Bind coding-system-for-read to
1915 buffer-file-coding-system, instead of raw-text.
1917 2000-10-11 Sam Steingold <sds@gnu.org>
1919 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
1920 `underline' - fixes the bug introduced on 2000-09-21.
1922 2000-10-11 Dave Love <fx@gnu.org>
1924 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
1926 (scheme-mode): Doc fix.
1927 (scheme-font-lock-keywords-1): Match `define-syntax'.
1929 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
1931 * faces.el (frame-set-background-mode): Pay attention to saved
1932 face specs as well as default ones. Only do anything if the
1933 bg-mode or display-type has actually changed. Use `dolist'.
1934 (region): Make dark-background `region' face less in-your-face.
1936 2000-10-10 Sam Steingold <sds@gnu.org>
1938 * chistory.el, ielm.el, ledit.el:
1939 * progmodes/inf-lisp.el, progmodes/scheme.el:
1940 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
1942 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
1944 * textmodes/texinfo.el: Update copyright and fix typo.
1946 * desktop.el (desktop-modes-not-to-save): New var.
1947 (desktop-save-buffer-p): Use it.
1948 Also, obey desktop-buffers-not-to-save even for non-file buffers.
1949 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
1951 2000-10-10 Dave Love <fx@gnu.org>
1953 * toolbar/tool-bar.el (tool-bar-add-item)
1954 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
1957 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
1958 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
1959 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
1960 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
1961 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
1962 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
1963 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
1964 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
1965 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
1966 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
1967 the .xpms; probably need retouching.
1969 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
1971 * subr.el (add-to-list): Add optional argument APPEND.
1972 * battery.el (display-battery): Use `add-to-list'.
1974 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
1976 * play/zone.el (zone-timer, zone-wc-tbl): Rework
1977 these vars as symbol properties.
1978 (zone, zone-when-idle, zone-leave-me-alone)
1979 (zone-pgm-whack-chars): Use new symbol properties.
1981 * battery.el (display-battery): Doc spelling fix.
1983 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
1986 2000-10-09 Dave Love <fx@gnu.org>
1988 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
1989 has been initialized before calling tool-bar-setup.
1990 (tool-bar-add-item-from-menu): Add autoload cookie.
1992 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
1994 * menu-bar.el (send-mail-item-name): New function.
1995 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
1996 of mail-user-agent in the menu. Don't display the "Send Mail"
1997 item if mail-user-agent is nil or its value is ignore.
1998 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
1999 if read-mail-command is nil or its value is ignore.
2001 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
2003 2000-10-09 Miles Bader <miles@gnu.org>
2005 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
2007 * toolbar/left_arrow.xpm: Correct image size.
2009 * jka-compr.el: Don't call `jka-compr-install' when loading (it
2010 will be done by the definition of `auto-compression-mode' if
2011 necessary. Move code to uninstall existing file-name handler
2012 before definition of `auto-compression-mode'.
2014 * image-file.el (auto-image-file-mode): Move to the end of the
2015 file, because `define-minor-mode' actually calls the mode-function
2016 if the associated variable is non-nil, which requires that all
2017 needed functions be already defined.
2019 * mouse.el (popup-menu): Balance parens.
2021 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
2023 * mouse.el (popup-menu): Move the command call outside the loop
2024 so that popup-menu returns whatever the command returns.
2026 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
2027 (initialize-new-tags-table): Use run-hook-with-args-until-success.
2028 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
2029 (tags-table-format-functions): Renamed from tags-table-format-hooks.
2031 * vc.el (vc-version-diff): diff-switches can be a list.
2032 Use relative filenames for prettier output.
2034 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
2035 (vc-post-command-functions): Remove old-VC compatibility code.
2037 * newcomment.el (comment-indent-default): Autoload.
2039 * font-lock.el (font-lock-defaults): Make buffer-local.
2040 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
2041 (font-lock-choose-keywords):
2042 Ignore LEVEL unless KEYWORDS is a list of syms.
2043 (c-keywords, c++-keywords, objc-keywords, java-keywords):
2044 Don't wrap regexp-opt things in \(...\) unnecessarily.
2046 * jit-lock.el: Don't require font-lock any more.
2047 (jit-lock-functions): Make buffer-local.
2048 (jit-lock-saved-fontify-buffer-function): Remove.
2049 (jit-lock-mode): Remove autoload cookie.
2050 Remove font-lock specific code.
2051 (jit-lock-unregister): Don't bother handling complex hooks any more.
2052 (jit-lock-refontify): New function.
2053 (jit-lock-fontify-buffer): Use it.
2054 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
2055 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
2056 Add optional args START and END.
2057 Never call font-lock-fontify-region directly.
2058 (jit-lock-function, jit-lock-stealth-fontify): Use it.
2060 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
2062 2000-10-08 Dave Love <fx@gnu.org>
2064 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
2066 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
2068 * play/studly.el (studlify-region, studlify-word): Add autoload
2071 * play/morse.el (morse-region, unmorse-region): Add autoload
2074 * play/spook.el (spook-phrases-file): Use expand-file-name, not
2077 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
2078 insist on symbols starting with word syntax.
2079 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
2080 (eval-defun-1): Doc fix.
2081 (indent-sexp): Use nconc to build up indent-stack.
2083 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
2084 Gnus with little use.
2085 (mail-setup-hook): Add mail-abbrevs-setup to options.
2087 * recentf.el: Doc fixes.
2089 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
2092 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
2093 without timezone and (8) with timezone to enforce some whitespace.
2094 Simplify code somewhat.
2096 * options.el (list-options): Doc that you should use customize.
2098 * iswitchb.el (iswitchb-mode): Add :require.
2100 * info.el (Info-goto-node, Info-menu): Doc fix.
2101 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
2102 (info-tool-bar-map): New variable.
2103 (Info-mode): Use it.
2104 (Info-edit-map): Define all in defvar.
2105 (speedbar-attached-frame): Avoid compiler warning.
2107 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
2108 (global-map): Bind [tool-bar] to a filtered map.
2109 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
2110 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
2112 (tool-bar-setup): Adjust calls of tool-bar-add-item.
2114 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
2115 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
2116 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
2117 icons, except up_arrow, which is left-arrow rotated.
2119 * imenu.el (imenu-add-to-menubar): Fix last change.
2121 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
2123 * generic-x.el (rul-generic-mode): Remove eval-when-compile
2124 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
2126 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2128 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
2129 typos in doc strings.
2131 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
2132 the doc strings how to customize Font Lock faces.
2134 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
2135 computing growth when dragging the header line.
2137 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2139 * simple.el (kill-line): Doc fix.
2141 2000-10-08 Miles Bader <miles@gnu.org>
2143 * faces.el (secondary-selection): Make foreground visible on tty.
2145 * jka-compr.el (auto-compression-mode): Move to the end of the
2146 file, because `define-minor-mode' actually calls the mode-function
2147 if the associated variable is non-nil, which requires that all
2148 needed functions be already defined.
2149 (with-auto-compression-mode): Add autoload cookie.
2151 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
2153 * files.el (find-backup-file-name) [ms-dos]: If support for long
2154 file names is not available, behave as if version-control were set
2157 2000-10-07 Dave Love <fx@gnu.org>
2159 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
2160 (browse-url-gnome-moz): New function.
2161 (browse-url-browser-function): Use it.
2162 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
2164 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
2166 * indent.el (tab-always-indent): New var.
2167 (indent-for-tab-command): Use it.
2169 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
2170 raise an error. This way it can still default to a sane value.
2172 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2174 * startup.el (fancy-splash-screens): Use local rather than global map.
2175 Don't use `update-menu-bindings' any more.
2176 Get rid of assumptions about keymap representation.
2178 2000-10-06 Dave Love <fx@gnu.org>
2180 * textmodes/fill.el (sentence-end-double-space)
2181 (sentence-end-without-period): Doc fix.
2182 (adaptive-fill-regexp): Purecopy.
2183 (unjustify-current-line): Use line-end-position.
2184 (fill-individual-paragraphs-prefix): Use line-beginning-position.
2186 * net/eudc-vars.el (eudc): Add :version, :link.
2188 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
2190 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
2191 Fix for define-minor-mode.
2192 (function-at-point): Alias to function-called-at-point.
2194 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
2196 * simple.el (backward-word): Doc fix.
2198 * image-file.el (image-file-name-regexp): image-file-regexps ->
2199 image-file-name-regexps.
2200 (image-file-name-extensions): Add pbm.
2202 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2204 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
2205 and add filename to the names so that diff-mode can jump to source.
2207 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
2208 (tex-font-lock-keywords, tex-font-lock-keywords-2)
2209 (tex-font-lock-keywords-1): Remove.
2210 (font-lock-turn-on-thing-lock): Use jit-lock-register.
2211 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
2212 (font-lock-default-fontify-region):
2213 Expand beg..end correctly when just following a multiline region.
2214 (font-lock-fontify-anchored-keywords):
2215 Include the anchor text as part of the multiline.
2217 2000-10-06 Gerd Moellmann <gerd@gnu.org>
2219 * loadup.el (toplevel): Load `loaddefs' before `help' because the
2220 latter needs the autoloaded define-minor-mode macro during the
2223 * startup.el (command-line): For now, activate tool-bar-mode only
2224 if XPM images are supported.
2226 * mouse.el (mouse-drag-header-line): Don't allow resizing a
2227 window by dragging a header-line at the top of the frame; that's
2228 confusing because the header-line doesn't move.
2229 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
2230 of treating the event as a list. Some cleanup.
2232 2000-10-06 Miles Bader <miles@gnu.org>
2234 * simple.el (display-message-or-buffer): New function.
2235 (shell-command-on-region): Use `display-message-or-buffer'.
2237 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
2240 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
2241 (smbclient-prompt-regexp): Add usage note to doc string.
2242 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
2243 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
2244 Use add-hook for adding the comint filter function, and only do so
2245 if it's not already in the global hook list.
2246 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
2247 to `make-local-variable'.
2248 (nslookup-font-lock-keywords): Remove prompt entry.
2249 (nslookup): Don't set the process-filter.
2250 (finger): Exit the loop correctly when the regexps list runs out.
2251 (ftp, smbclient, smbclient-list-shares):
2252 Set the real major mode immediately, not after execing.
2253 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
2255 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
2257 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
2259 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
2261 * which-func.el (which-func-format): Remove spurious space.
2262 (which-func-mode): Don't make it permanent-local.
2263 (which-func-ff-hook): Allow which-func-maxout to be nil.
2264 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
2265 (which-func-mode): Simplify.
2266 Use post-command-idle-hook rather than post-command-hook.
2267 Go through all buffers and update their state.
2268 (which-function): Also try add-log-current-defun-function.
2270 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
2271 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
2272 Update call to with-vc-properties accordingly.
2273 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
2274 (vc-revert-buffer): More careful about window selection and deletion.
2275 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
2277 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
2278 (cvs-retrieve-revision): Reuse a pre-existing buffer.
2279 (cvs-dired-action): Change the default to quickdir.
2281 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
2282 if comment-indent-function returns nil.
2283 (comment-indent-default): New function.
2284 (comment-indent-function): Use it and document the new semantics.
2286 * image-file.el: Docstring fixes.
2288 * help.el (help-xref-on-pp): Use match-string.
2289 (describe-variable): New arg BUFFER.
2290 Store the current buffer in the help-xref-stack.
2291 (temp-buffer-resize-mode): Use define-minor-mode.
2293 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
2294 consistently with its docstring.
2295 Set jit-lock-first-unfontify-pos in an idempotent way.
2296 (jit-lock-register): Autoload and add arg CONTEXTUAL.
2298 2000-10-05 Alex Schroeder <alex@gnu.org>
2300 * sql.el (sql-mysql-options): New variable.
2301 (sql-mysql): Use it.
2303 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
2305 * image.el (image): New group.
2307 * smerge-mode.el (smerge-mine-face, smerge-other-face)
2308 (smerge-base-face, smerge-markers-face): Add dark-background variants.
2310 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2312 * net/net-utils.el (nslookup-font-lock-keywords)
2313 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2314 Ignore the value of wqindow-system; always define keywords
2316 2000-10-05 Kenichi Handa <handa@etl.go.jp>
2318 * startup.el (fancy-splash-screens): Remove the code for
2319 debugging; `(trace-to-stderr "EXITTT\n")'.
2321 2000-10-05 Miles Bader <miles@gnu.org>
2323 * diff-mode.el (diff-goto-source): Update call to
2324 `diff-hunk-status-msg' to reflect new REV variable.
2326 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
2328 * progmodes/icon.el (icon-mode):
2329 Don't gratuitously override the default for comment-column.
2331 * vc-hooks.el (vc-mode-line): Fix interactive spec.
2333 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2334 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2335 (jit-lock-functions): New var.
2336 (jit-lock-function-1): Use it if non-nil.
2337 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
2338 Set the `fontified' property before doing the fontification to avoid
2339 repeatedly going through the same error.
2340 Don't turn errors into messages.
2341 (jit-lock-register, jit-lock-unregister): New functions.
2343 * dired.el (dired-mark-pop-up): Turn comment into docstring.
2344 Use with-current-buffer.
2346 * dired-aux.el (dired-do-create-files, dired-kill-tree):
2347 Turn comment into docstring.
2349 * apropos.el (apropos-mode): Use define-derived-mode.
2351 2000-10-04 Gerd Moellmann <gerd@gnu.org>
2353 * startup.el (fancy-splash-pending-command): New variable.
2354 (fancy-splash-pre-command): New function.
2355 (fancy-splash-screens): Rewritten.
2356 (command-line-1): If fancy-splash-pending-command is set, call it
2359 2000-10-04 Dave Love <fx@gnu.org>
2361 * toolbar/tool-bar.el (tool-bar-setup): New function.
2362 (tool-bar-mode): Use it.
2364 * subr.el (substitute-key-definition): Doc fix.
2365 (play-sound-file): New command.
2367 2000-10-04 Andre Spiegel <spiegel@gnu.org>
2369 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2370 vc-version-backup-file-name): New functions.
2372 * files.el (basic-save-buffer): Call vc-before-save before saving.
2374 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2375 vc-cvs-stay-local-p.
2377 * vc.el (vc-revert-buffer): Handle empty diff properly.
2378 (vc-version-backup-file): New function.
2379 (vc-checkout): Create a version backup if necessary.
2380 (vc-checkin): If a version backup file exists, delete it.
2381 (vc-version-diff): Diff locally using version backups, if available.
2382 (vc-revert-file): If there's a version backup, revert locally.
2383 (vc-transfer-file): Use version backup for base version, if
2384 available. If not, ask for confirmation whether to get it from the
2385 server. Update mode line before check-in.
2387 2000-10-04 Dave Love <fx@gnu.org>
2389 * toolbar/tool-bar.el (tool-bar-setup): New function.
2390 (tool-bar-mode): Use it.
2392 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2394 * net/net-utils.el (nslookup-font-lock-keywords)
2395 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2396 Only set if window-system is non-nil
2397 (net-utils-run-program): Returns buffer.
2398 (network-connection-reconnect): Added this function.
2401 Incorporates extensive cleanup and docfixes by
2402 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2403 Uses cl compile-time macros.
2404 (generic-mode-name, generic-comment-list)
2405 (generic-keywords-list, generic-font-lock-expressions)
2406 (generic-mode-function-list, generic-mode-syntax-table):
2408 (generic-mode-alist): Renamed to generic-mode-list.
2409 (generic-find-file-regexp): Default changed to "^#".
2410 (generic-read-type): Uses completing read on generic-mode-list.
2411 (generic-mode-sanity-check): removed this function.
2412 (generic-add-to-auto-mode): Removed this function
2413 (generic-mode-internal): Bind mode-specific definitions
2414 into function instead of putting them in alist.
2415 (generic-mode-set-comments): Reworked extensively.
2416 (generic-mode-find-file-hook): Simplified regexp searching
2417 (generic-make-keywords-list): Omit extra pair of parens
2419 * find-lisp.el (find-lisp-find-files-internal):
2420 Make sure directory name ends with "/".
2422 * generic-x.el (apache-conf-generic-mode):
2423 Regexp now allows leading whitespace.
2424 (rc-generic-mode): Added eval-when-compile
2425 around generic-make-keywords-list.
2426 Deleted duplicate regexp
2427 (rul-generic-mode): Added eval-when-compile
2428 around generic-make-keywords-list.
2429 (etc-fstab-generic-mode): New generic mode.
2430 (rul-generic-mode): Removed one eval-when-compile
2431 which caused a max-specpdl-size exceeded error.
2433 2000-10-04 Miles Bader <miles@gnu.org>
2435 * simple.el (minibuffer-temporary-goal-position): New variable.
2436 (next-history-element): Try to keep the position of point in the
2437 input string constant.
2439 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2440 (dired-do-create-files): If there's only one file, pass it in as
2441 the DEFAULT arg to dired-mark-read-file-name.
2443 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
2445 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2446 (diff-goto-source): Be smarter when choosing REVERSE or not.
2448 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2449 (texinfo-mode-menu): Add an explicit shortcut for update all.
2451 2000-10-03 Andre Spiegel <spiegel@gnu.org>
2453 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2454 factorize backend-specific code cleanly (this was essentially
2455 conceived by Stefan Monnier).
2456 (vc-unregister): Function removed.
2457 (vc-revert-file): New function.
2458 (vc-revert-buffer): Delegate some of the work to it.
2460 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2461 default branch unconditionally.
2462 (vc-rcs-set-default-branch): New function.
2463 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2464 (vc-rcs-checkin): If an appropriate default branch has been set,
2465 force creation of that branch.
2466 (vc-rcs-receive-file): Rewritten to contain only backend-specific
2467 code (as suggested by Stefan Monnier).
2469 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2471 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2472 highlighting overlay with a different face over the overlay
2473 isearch uses to highlight the current match because that can lead
2474 to bad face combinations.
2476 * loadup.el (toplevel): Load faces before isearch.
2478 * isearch.el (isearch-faces): New custom group.
2479 (isearch): New defface; was already tested for in the code.
2480 (isearch-lazy-highlight-face): Changed to defface from defcustom.
2481 (isearch-highlight): Always use face `isearch'.
2483 2000-10-02 Dave Love <fx@gnu.org>
2485 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2486 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
2487 comparison of opcode with operand.
2489 2000-10-03 Miles Bader <miles@gnu.org>
2491 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2492 buffer, since the echo area will now grow to accommodate them.
2494 2000-10-02 Andre Spiegel <spiegel@gnu.org>
2496 * vc-hooks.el (vc-registered): If FILE used to be registered under
2497 a certain backend, try that one first.
2499 * vc.el (vc-responsible-backend): Undo the previous change in the
2500 argument list. Handle multiple backends correctly.
2501 (vc-find-new-backend): Function removed.
2502 (vc-register): Use vc-responsible-backend, as before.
2503 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2505 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2507 * startup.el (fancy-splash-head): Change message below the
2510 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
2512 * diff-mode.el (diff-goto-source): Emit a status message.
2513 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2514 (diff-test-hunk): Fix doc string.
2515 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2516 (diff-advance-after-apply-hunk): New variable.
2517 (diff-apply-hunk): Don't return a value.
2519 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
2521 * vc.el (vc-editable-p): Minor optimization.
2522 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2523 (vc-find-new-backend): New function split from vc-responsible-backend.
2524 (vc-register): Use it.
2525 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2526 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2527 (vc-default-unregister, vc-revert-buffer): Docstring fix.
2528 (vc-clear-headers): Don't use find-file.
2529 (vc-revert-buffer): Use `and' again (must have been a braino).
2530 (vc-switch-backend): Only prompt if requested.
2531 Short circuit if nothing is to be done.
2532 Don't use vc-resynch-buffer which could lose unsaved editing.
2533 (vc-default-receive-file): Update call to vc-unregister.
2534 (with-vc-file, vc-next-action-on-file):
2535 Use vc-backend rather than vc-registered.
2536 (vc-next-action-on-file): Use intern-soft.
2537 Deal with read-only *vc-diff* buffer.
2538 (vc-transfer-file): Docstring fix.
2540 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2541 (vc-rcs-receive-file): Avoid with-vc-properties.
2542 Update call to vc-unregister.
2543 Use constant `RCS' rather than (dynamically bound) var `backend'.
2545 2000-10-01 Andre Spiegel <spiegel@gnu.org>
2547 * vc.el (vc-next-action-on-file): Update mode line only if file
2549 (vc-start-entry): New argument initial-contents. Don't visit the file
2550 if it isn't already visited. Brought documentation up-to-date.
2551 (vc-next-action, vc-register): Updated calls to vc-start-entry.
2552 (vc-checkin): New optional arg initial-contents, which is passed to
2554 (vc-finish-logentry): Make sure to bury log buffer only if there
2555 really is one. Call `vc-resynch-buffer' on log-file, not
2557 (vc-default-comment-history, vc-default-wash-log): New functions.
2558 (vc-index-of): Removed.
2559 (vc-transfer-file): Make do without the above.
2560 (vc-default-receive-file): Call comment-history unconditionally. Pass
2561 the resulting string to vc-checkin, instead of inserting it into the
2564 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2565 unconditionally. Use the comments as initial contents of the log
2566 entry buffer. Document the trick to force branch creation with no
2569 2000-10-01 Miles Bader <miles@gnu.org>
2571 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2572 `recenter' with an arg to prevent redrawing the display.
2574 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
2576 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2578 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2580 * progmodes/c-mode.el (c-mode):
2581 Don't gratuitously override the default for comment-column.
2583 * textmodes/tex-mode.el (latex-metasection-list): New var.
2584 (latex-imenu-create-index): Use it.
2585 Move the regexp construction outside loops (and use push).
2586 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2587 (tex-font-lock-keywords): Moved from font-lock.el.
2588 (tex-comment-indent): Remove.
2589 (tex-common-initialization): Don't set comment-indent-function.
2590 (latex-block-default): New var.
2591 (tex-latex-block): Use it to provide a default choice.
2592 Add any unknown choice to latex-block-names.
2593 Insert [...] after {...}.
2594 (tex-last-unended-begin): Simplify regexp.
2595 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2596 (latex-forward-sexp-1, latex-forward-sexp): New functions.
2597 (latex-mode): Set forward-sexp-function.
2599 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2600 Add regexp for @ignore ... @end ignore.
2601 (texinfo-heading-face): New face.
2602 (texinfo-font-lock-keywords): Use it.
2603 (texinfo-mode-menu): New menu.
2604 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2606 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2607 (texinfo-section-types-regexp, texinfo-section-level-regexp)
2608 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2610 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2612 * delsel.el (delete-selection-mode): Use define-minor-mode.
2614 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2616 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2618 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2620 2000-09-30 Gerd Moellmann <gerd@gnu.org>
2622 * replace.el (keep-lines-read-args): New function.
2623 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2624 read arguments interactively. Add parameters RSTART and REND.
2625 Operate on the active region in Transient Mark mode.
2627 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2629 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2630 (authors-obsolete-files-regexps): New variable.
2631 (authors-add): Don't record changes in obsolete files.
2633 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2635 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2637 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2638 (comment-indent): Make sure there's a space between code and comment.
2639 Shift comments left to avoid going past fill-column.
2641 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2643 * startup.el (startup-echo-area-message): New function.
2644 (display-startup-echo-area-message): Use it.
2645 (fancy-splash-screens): Rewritten to use keymaps and a timer.
2646 (fancy-splash-default-action): New function.
2647 (fancy-splash-screens-1): New function.
2648 (fancy-splash-head): Put a help-echo and a keymap under the image.
2650 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2652 * diff-mode.el (diff-add-log-file-name): Remove.
2653 (diff-mode): Use add-log-buffer-file-name-function.
2655 * add-log.el (find-change-log): New arg BUFFER-FILE.
2656 (add-log-file-name): Obey add-log-file-name-function.
2657 (add-log-buffer-file-name-function): New var.
2658 (add-change-log-entry): Use it.
2660 2000-09-29 Miles Bader <miles@gnu.org>
2662 * image-file.el (image-file-name-extensions): New variable.
2663 (image-file-name-regexps): Renamed from `image-file-regexps'.
2664 New default value is nil. Call `auto-image-file-mode'.
2665 (image-file-name-regexp): New function.
2666 (auto-image-file-mode): New minor mode.
2667 (insert-image-file): Don't make conditional on the image-file
2668 handler being enabled.
2669 (image-file-handler): Make the call here conditional instead.
2670 (set-image-file-handler-enabled, enable-image-file-handler)
2671 (disable-image-file-handler): Functions removed.
2673 * emacs-lisp/authors.el (authors-print): Rephrase many-files
2676 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2678 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2679 it's a function from CL.
2680 (latex-imenu-create-index): Replace eval-when-compile with progn
2681 because latex-section-alist is not bound while compiling.
2683 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2685 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
2686 (outline-mode): Use define-derived-mode.
2688 * progmodes/perl-mode.el (perl-mode):
2689 * progmodes/awk-mode.el (awk-mode):
2690 * progmodes/asm-mode.el (asm-mode):
2691 Don't gratuitously override the default for comment-column.
2693 * emacs-lisp/lisp.el (lisp-complete-symbol):
2694 Distinguish the let-binding case from the funcall case.
2695 (forward-sexp-function): New variable.
2696 (forward-sexp): Use it.
2698 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
2699 (easy-mmode-defmap): Remove the now useless autoload.
2701 * time.el (display-time-mode): Use define-minor-mode.
2703 * subr.el (add-minor-mode): Don't eval NAME.
2704 Don't depend on the presence of TOGGLE-FUN for any special behavior.
2705 Use if rather than cond.
2707 * simple.el (read-expression-map): Define more properly.
2708 (comment-indent-hook): Remove.
2709 (string-to-syntax): Bug fix.
2711 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
2712 (cvs-ediff-diff): Fix typo.
2713 (cvs-revert-if-needed): Don't bother preserving read-only.
2715 * paren.el (show-paren-mode): Use define-minor-mode.
2717 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
2718 (toggle-auto-compression): Remove.
2719 (jka-compr-build-file-regexp): Remove useless grouping.
2721 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
2722 Avoid user-reserved bindings.
2723 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
2724 (diff-header-face): Revert to grey85.
2726 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
2728 * complete.el (partial-completion-mode) <defcustom>: Remove.
2729 (partial-completion-mode): Use define-minor-mode.
2730 (PC-do-completion): Understand `completion-auto-help = delay'
2731 to mean to popup the completion buffer only the second time.
2732 (PC-include-file-all-completions, PC-include-file-all-completions)
2733 (PC-include-file-all-completions): Don't quote lambda.
2735 * comint.el (comint-mode-hook): Docstring fix.
2736 (comint-mode): Use define-derived-mode.
2737 (comint-mode-map): Remove obsolete comment.
2738 (make-comint): Minor stylistic change.
2739 (comint-insert-clicked-input): Be more careful to find the overlay.
2740 Use this-command-keys rather than hardcoding mouse-2.
2742 * font-lock.el: Replace confusing (,@ with ,
2743 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
2744 Don't use regexp-opt-depth. Spice up the regexp for args.
2745 Don't distinguish between cmds that can take an opt arg or not.
2746 Use `append' and `prepend' rather than `keep'.
2748 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
2749 (latex-outline-regexp): New var.
2750 (latex-outline-level): New fun.
2751 (latex-section-alist): New var.
2752 (latex-imenu-create-index): Use it. Use `push' as well.
2753 (tex-shell-map): Initialize it properly.
2754 (tex-mode): Minor stylistic change.
2755 (plain-tex-mode): Use define-derived-mode.
2756 (latex-mode): Use define-derived-mode.
2757 Construct the paragraph regexps in a more readable way.
2758 Set the buffer-local outline-{level,regexp} vars.
2759 (slitex-mode): Derive from latex-mode.
2760 (tex-common-initialization): Don't kill-all-vars anymore.
2761 Add setting for comment-add and font-lock-defaults.
2762 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
2763 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
2764 (tex-start-tex): New arg DIR (and send a chdir command for it).
2765 Also display the shell buffer and save it in tex-last-buffer-texed.
2766 (tex-region): Use expand-file-name rather than concat.
2767 Remove code made useless by changes in tex-start-tex.
2768 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
2770 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
2772 2000-09-28 Dave Love <fx@gnu.org>
2774 * eshell/eshell.el (eshell) <defgroup>: Add :version.
2776 2000-09-28 Gerd Moellmann <gerd@gnu.org>
2778 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
2781 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2783 * info.el (Info-extract-pointer): Undo last change.
2784 Instead, fix the position of the `bound' arg to re-search-backward.
2786 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
2788 * info.el (Info-extract-pointer):
2789 Widen more carefully, to avoid finding pointers in other nodes.
2790 (Info-index): Use push.
2792 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2794 * frame.el (set-frame-font): Remove call to obsolete function
2796 (set-foreground-color, set-background-color): Likewise for
2797 frame-update-face-colors.
2799 2000-09-27 Miles Bader <miles@gnu.org>
2801 * image-file.el: New file.
2803 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2805 * frame.el (frame-notice-user-settings): Don't call
2806 frame-update-faces, which is a no-op now.
2808 * ediff-wind.el (ediff-control-frame-parameters): Add zero
2811 2000-09-27 Dave Love <fx@gnu.org>
2813 * mouse.el: Fix last change.
2815 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
2817 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
2819 2000-09-22 Kenichi Handa <handa@etl.go.jp>
2821 * international/quail.el (quail-help): The output message is
2824 2000-09-26 Dave Love <fx@gnu.org>
2826 * mouse.el (popup-menu): If POSITION is nil, set it using
2829 2000-09-25 Sam Steingold <sds@gnu.org>
2831 * net/browse-url.el (browse-url-file-url): Check for null maps.
2833 2000-09-26 Gerd Moellmann <gerd@gnu.org>
2835 * frame.el (frame-notice-user-settings): Don't add a
2836 tool-bar-lines frame parameter to default-frame-alist in batch mode.
2838 * frame.el (frame-notice-user-settings):
2839 Make tool-bar-mode and default-frame-alist consistent.
2841 * toolbar/tool-bar.el (tool-bar-help): New function.
2843 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2845 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
2846 current-load-list in top-level forms. Else this leaks a cons cell
2847 every time a defun is called.
2849 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
2851 2000-09-25 Dave Love <fx@gnu.org>
2853 * startup.el (fancy-splash-head): Check XPM is available.
2855 * autoinsert.el (auto-insert): Doc fix.
2856 (auto-insert-alist): Following GNU notices, don't say `copyright
2857 _by_'. Use line-beginning-position.
2858 (auto-insert): Check buffer-file-name is non-nil before use.
2860 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2862 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
2863 starting with `@def' or `@multitable', in addition to ones
2864 specified by the user in auto-fill-inhibit-regexp.
2866 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
2868 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
2869 rmail-dont-reply-to-names matches the empty string.
2871 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2873 * startup.el (command-line-1, fancy-splash-text): Change the
2874 text to sound more friendly.
2876 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
2878 * progmodes/hideshow.el: Update author email address.
2879 Generally, sync w/ maintainer version 5.22.
2880 (hs-hide-all-non-comment-function): New var.
2881 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
2882 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
2883 (hs-show-region): Delete this command.
2884 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
2886 2000-09-22 Dave Love <fx@gnu.org>
2888 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
2889 (hl-line-highlight): Specify buffer when moving overlay.
2891 * progmodes/fortran.el (fortran-mode): Locally set
2892 normal-auto-fill-function.
2893 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
2894 (fortran-mode-map): Adjust auto-fill menu entry.
2896 2000-09-22 Gerd Moellmann <gerd@gnu.org>
2898 * vc-rcs.el (toplevel): Require `vc' when compiling.
2900 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
2902 2000-09-22 Andre Spiegel <spiegel@gnu.org>
2904 * vc.el (vc-switch-backend): Signal an error if the file is not
2905 registered under the new backend.
2907 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
2908 without explicit revision number.
2910 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
2912 * diff-mode.el (diff-file-header-face): Reset to its previous value.
2913 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
2914 (diff-xor): New function.
2915 (diff-find-source-location): Use it. Fix a stupid name clash.
2916 (diff-hunk-status-msg): New function.
2917 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
2918 (diff-test-hunk): Use diff-find-source-location.
2919 (diff-goto-source): Favor the `reverse'.
2920 (diff-hunk-text): Properly handle one-sided context diffs.
2921 (diff-apply-hunk): When done, advance to the next hunk.
2923 2000-09-21 Gerd Moellmann <gerd@gnu.org>
2925 * startup.el (command-line): If frame was created with a non-zero
2926 tool-bar-lines parameter, switch tool-bar-mode on.
2928 * add-log.el (change-log-date-face, change-log-name-face)
2929 (change-log-email-face, change-log-file-face)
2930 (change-log-list-face, change-log-conditionals-face)
2931 (change-log-function-face, change-log-acknowledgement-face):
2932 New faces, inheriting from font-lock faces.
2933 (change-log-font-lock-keywords): Use them.
2935 2000-09-21 Dave Love <fx@gnu.org>
2937 * progmodes/cperl-mode.el (top-level): Clean up
2938 `eval-when-compile's and assorted defvars.
2939 (cperl-invalid-face): Don't double-quote value. Change custom
2941 (cperl-mode): Set normal-auto-fill-function and don't zap
2943 (cperl-imenu--function-name-regexp-perl): Renamed from
2944 imenu-example--function-name-regexp-perl.
2945 (cperl-imenu--create-perl-index): Renamed from
2946 imenu-example--create-perl-index.
2947 (cperl-xsub-scan): Don't require cl.
2949 * msb.el (msb-mode-map): Use substitute-key-definition.
2950 (msb-mode): Use msb-mode-map.
2952 2000-09-21 Andre Spiegel <spiegel@gnu.org>
2954 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
2956 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
2957 (vc-switch-backend): New function.
2958 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
2959 (vc-register): Fix prompt.
2960 (vc-unregister, vc-default-unregister): New functions.
2961 (vc-version-diff): Handle empty buffer in sentinel.
2963 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
2964 (vc-rcs-state-heuristic): Use it to guess the state of files with
2966 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
2967 been set with -b, but not created yet.
2968 (vc-rcs-fetch-master-state): With non-strict locking, compare file
2969 contents in order to find the state.
2970 (vc-rcs-checkin): Allow creation of branches with no changes.
2971 (vc-rcs-unregister, vc-rcs-receive-file)
2972 (vc-rcs-set-non-strict-locking): New functions.
2974 * vc-hooks.el (vc-name): Force correct computation of the value
2975 in case it is missing.
2977 2000-09-21 Gerd Moellmann <gerd@gnu.org>
2979 * startup.el (fancy-splash-tail): Use a different foreground
2980 color on a dark frame background.
2982 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
2984 * info.el: Use the correct capitalization when making Info-mode
2985 and Info-edit-mode `special' modes.
2987 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
2989 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
2990 (diff-mode): Add support for add-log.el.
2991 (diff-hunk-text): Use char offsets rather than line offsets.
2992 (diff-find-source-location): Replace LINE with line-offset (nil
2993 if not found) and always set POS to a meaningful position.
2994 Adapt to the new char-offsets.
2995 (diff-apply-hunk): Drop support for the unused `select' POPUP.
2996 Adapt to the new diff-find-source-location.
2997 (diff-goto-source): Adapt to the new diff-find-source-location.
2999 * add-log.el (add-log-file-name): New function (split out of
3000 add-change-log-entry).
3001 (add-change-log-entry): Use it.
3002 Call add-log-file-name-function with the changelog file name if
3003 the current buffer is not associated with any file.
3004 Avoid find-file if the selected window is dedicated.
3006 * diff-mode.el (diff-find-source-location):
3007 Move code from diff-apply-hunk. Return buffer rather than file.
3008 (diff-apply-hunk): Use the new result from diff-find-source-location.
3009 (diff-goto-source): Use the new diff-find-source-location.
3011 2000-09-20 Dave Love <fx@gnu.org>
3013 * iswitchb.el: Some doc fixes.
3014 (iswitchb-mode-map): Define completely initially. Inherit
3015 minibuffer-local-map.
3016 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
3018 (iswitchb-global-map): New variable.
3019 (iswitchb-summaries-to-end): Amalgamate regexps.
3020 (iswitchb-mode): New.
3021 (iswitchb-mode-hook): New variable.
3022 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
3025 2000-09-20 Gerd Moellmann <gerd@gnu.org>
3027 * ehelp.el (electric-help): New defgroup.
3028 (electric-help-shrink-window): New user-option.
3029 (with-electric-help): Use it.
3031 * window.el (shrink-window-if-larger-than-buffer): If face
3032 `mode-line' has a :box, and we're on a graphical frame, add 1
3033 to the needed window height.
3035 * frame.el (frame-notice-user-settings): Add a last parameter nil
3036 to a call to `append', because the last list passed to `append' is
3037 not copied, and so subsequent calls to assq-delete-all will modify
3038 default-frame-alist.
3040 * startup.el (fancy-splash-image): Change :type.
3041 (fancy-splash-head): Use an XBM image if appropriate.
3042 (command-line-1): Show splash screens in more cases.
3044 * startup.el (fancy-splash-text): Don't quote faces.
3046 * dired.el (dired-font-lock-keywords): Undo last change.
3047 (dired-readin): Bind indent-tabs-mode to nil.
3049 * startup.el (fancy-splash-head): If frame's background mode
3050 is `dark', change the black background of the image to gray.
3051 (fancy-splash-screens): Display startup echo area message.
3052 (display-startup-echo-area-message): New function.
3054 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
3056 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
3058 * info.el (info-header-node): Tweak for color ttys.
3060 * faces.el (face-valid-attribute-values): Make sure directories we
3061 search for stipples both exist and are readable before trying to
3064 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
3065 in the dry-run case.
3067 * jka-compr.el (with-auto-compression-mode): New macro.
3069 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
3070 (custom-group-tag-face, custom-variable-tag-face): Use relative
3071 :height and inherit from `variable-pitch' face instead of
3073 * hi-lock.el (hi-black-hb): Likewise.
3075 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
3076 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
3077 toolbar-add-item, if image doesn't have a mask add a `:mask
3080 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
3082 * diff-mode.el: Docstring fixes.
3083 (diff-header-face, diff-comment-face): New faces.
3084 (diff-font-lock-keywords): Highlight a bit differently.
3085 (diff-find-source-location): Don't return SPAN any more.
3086 (diff-hunk-text): Don't bother erasing the temp buffer.
3087 (diff-find-text): Drop argument LINE.
3088 (diff-apply-hunk): Update calls to diff-find-text.
3089 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
3091 * calendar/calendar.el: Docstring fixes.
3092 (calendar-make-alist): Don't quote lambda.
3093 (calendar-star-date): Use make-local-variable.
3095 2000-09-19 Dave Love <fx@gnu.org>
3097 * toolbar/tool-bar.el: Renamed from toolbar.el.
3098 Change `toolbar' to `tool-bar' generally in symbols.
3099 Make some items invisible in `special' major modes.
3100 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
3103 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
3105 (fancy-splash-delay, fancy-splash-image): Remove :version here.
3107 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3109 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
3111 * files.el (find-file-suppress-same-file-warnings): New user-option.
3112 (find-file-noselect): Use it.
3114 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
3115 (fancy-splash-screen): Defgroup.
3117 * add-log.el (change-log-font-lock-keywords): Match names
3118 more exactly for the case that font-lock-constant-face is
3121 2000-09-19 Richard M. Stallman <rms@gnu.org>
3123 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
3125 2000-09-19 Andre Spiegel <spiegel@gnu.org>
3127 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
3129 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3131 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
3132 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
3133 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
3134 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
3135 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
3136 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
3137 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
3138 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
3139 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
3140 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
3141 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
3142 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
3144 * startup.el (fancy-splash-text): New variable.
3145 (fancy-splash-delay, fancy-splash-image): New user-options.
3146 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
3147 (fancy-splash-screens): New functions.
3148 (command-line-1): If display has a `display' frame parameter, has
3149 colors, and we have XPM support, show more fancy splash screens.
3151 2000-09-19 Dave Love <fx@gnu.org>
3153 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
3154 with null `help'. Use modern backquote syntax.
3156 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3158 * font-lock.el (font-lock-mode): Change message telling the user
3159 that ``the buffer is too big''.
3161 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
3162 for instance for the case that tab-width is 2.
3164 2000-09-18 Gerd Moellmann <gerd@gnu.org>
3166 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
3167 toolbar-add-item, if image doesn't have a mask add a `:mask
3170 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
3172 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
3173 and return a cons if it's non-nil.
3174 (diff-apply-hunk): Try to jump to the line in the source text
3175 corresponding to the position of point in the in the hunk.
3177 * info.el (Info-title-3-face, Info-title-2-face)
3178 (Info-title-1-face): Use face inheritance and relative sizes
3179 instead of hard-wiring things.
3181 * faces.el (secondary-selection): Make dark-background variant sane.
3183 2000-09-16 Andrew Innes <andrewi@gnu.org>
3185 * makefile.w32-in (compile-files-CMD): No need to make .elc files
3186 read-only, since they aren't under VC now.
3188 2000-09-17 Dave Love <fx@gnu.org>
3190 * tmm.el: Replace mapcar with mapc in several places.
3192 * loadhist.el (unload-feature): Maybe call elp-restore-list and
3195 * international/latin1-disp.el: New file.
3197 * calendar/cal-move.el (scroll-calendar-left)
3198 (scroll-calendar-right): Make arg optional (for active mode line).
3200 * calendar/calendar.el (calendar-mode-line-format): Make fields
3202 (calendar-read-date, calendar-read-date, calendar-window-list):
3204 (calendar-month-name): Use aref, not sref.
3206 * view.el (minor-mode-alist): Propertize the string.
3208 * international/characters.el (standard-case-table): Add entries
3211 2000-09-18 Miles Bader <miles@gnu.org>
3213 * info.el (info-node, info-xref): Add dark-background variants.
3215 * faces.el (header-line): Change defaults to be less confusing
3216 when mixed with mode-lines.
3218 * info.el (Info-fontify-node): Make a few cleanups.
3219 Add extra `help-echo' and `local-map' props to node xrefs.
3220 Use header-specific faces for node-names & xrefs.
3221 (Info-use-header-line): New variable.
3222 (info-header-xref, info-header-node): New faces.
3223 (Info-setup-header-line): New function.
3224 (Info-select-node): Call Info-setup-header-line when enabled.
3225 (Info-extract-pointer): Work even if the header line is hidden.
3226 (Info-header-line): New variable.
3228 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
3230 * vms-patch.el (print-region-function): Don't quote lambda.
3232 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
3234 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
3235 (lm-get-header-re): Allow spaces between the header and the colon.
3236 (lm-header): Allow $ in non-RCS headers.
3237 (lm-header-multiline): Put the strings back into order.
3238 Stop at an empty line. Don't require two space chars if the
3239 line is clearly not another header line.
3241 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
3242 (popup-menu-popup): Remove.
3244 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3246 * toolbar/toolbar.el (toolbar-add-item): Use the same image
3247 specification if or if not tool-bar item contains an `:enabled'
3250 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
3251 current buffer has no file name.
3253 2000-09-15 Dave Love <fx@gnu.org>
3255 * strokes.el: Sync with maintainer's current version with changes
3256 for Emacs, but avoid runtime cl and levents.
3257 (toplevel): Change autoloads and compilation requires.
3258 (strokes-version, strokes-bug-address, strokes-lift): Values
3260 (strokes-xpm-header, strokes-insinuated): New variable.
3261 (strokes): Add :link.
3262 (strokes-mode): Customized.
3263 (strokes-while-inhibiting-garbage-collector): New macro.
3264 (strokes-remassoc): Avoid remove-if.
3265 (strokes-fix-button2-command): Don't use ad-do-it.
3266 (strokes-insinuate): New function.
3267 (strokes-button-press-event-p, strokes-button-release-event-p):
3268 New functions, used instead of non-`strokes-' versions..
3269 (strokes-mouse-event-p): Rewritten.
3270 (strokes-event-closest-point): Avoid event-point.
3271 (strokes-get-grid-position): Avoid cdadr, caadr
3272 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
3274 (strokes-help): Use with-output-to-temp-buffer.
3275 (strokes-window-configuration-changed-p): New function.
3276 (strokes-update-window-configuration): Use buffer-live-p,
3277 strokes-window-configuration-changed-p.
3278 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
3279 (strokes-char-face): New face.
3280 (strokes-char-table, strokes-base64-chars): New variable.
3281 (strokes-xpm-for-stroke, strokes-list-strokes)
3282 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
3283 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
3284 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
3285 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
3286 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
3289 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3291 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
3293 * image.el (create-image): Doc fix.
3295 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
3296 instead of `:heuristic-mask t'.
3298 2000-09-14 Andrew Innes <andrewi@gnu.org>
3300 * makefile.w32-in: Revert to Unix line endings.
3302 2000-09-14 Andrew Innes <andrewi@gnu.org>
3304 * makefile.w32-in: Add bootstrap support. Also copy lisp source
3307 * makefile.nt (DONTCOMPILE): Fix typo.
3309 * shell.el (shell-write-history-on-exit): New function.
3310 (shell-dumb-shell-regexp): New custom variable.
3311 (shell-mode): Make shell-write-history-on-exit the process
3312 sentinel if shell name matches shell-dumb-shell-regexp.
3314 * w32-fns.el: Comment out before-init-hook function which resets
3315 source-directory based; this breaks bootstrap.
3317 2000-09-14 Dave Love <fx@gnu.org>
3319 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3320 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3321 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3322 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3323 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3324 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3325 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
3326 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
3327 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3329 * toolbar/toolbar.el: New.
3331 * subdirs.el: Add toolbar.
3333 2000-09-14 Gerd Moellmann <gerd@gnu.org>
3335 * indent.el (indent-for-tab-command): Doc fix.
3337 2000-09-14 Alex Schroeder <alex@gnu.org>
3339 * ansi-color.el (ansi-colors): Doc change.
3340 (ansi-color-get-face): Simplified regexp.
3341 (ansi-color-faces-vector): Added more faces, doc change.
3342 (ansi-color-names-vector): Doc change.
3343 (ansi-color-regexp): Simplified regexp.
3344 (ansi-color-parameter-regexp): New regexp.
3345 (ansi-color-filter-apply): Doc change.
3346 (ansi-color-filter-region): Doc change.
3347 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3348 deal with zero length parameters.
3349 (ansi-color-apply-on-region): Doc change.
3350 (ansi-color-map): Doc change.
3351 (ansi-color-map-update): Removed debugging message.
3352 (ansi-color-get-face-1): Added condition-case to trap
3353 args-out-of-range errors.
3354 (ansi-color-get-face): Doc change.
3355 (ansi-color-make-face): Removed.
3356 (ansi-color-for-shell-mode): New option.
3358 2000-09-13 Kenichi Handa <handa@etl.go.jp>
3360 * international/quail.el (quail-start-translation): Translate KEY
3361 if necessary even if it doesn't have any mapping in the current
3363 (quail-start-conversion): Likewise.
3364 (quail-help): The output message is improved.
3366 2000-09-13 Miles Bader <miles@gnu.org>
3368 * comint.el (comint-output-filter): Revert to using
3369 `insert-before-markers'. Add bletcherous hack to undo damage
3370 caused by `insert-before-markers'. Put `front-sticky' property on
3371 overlays created here so that the field code understands how the
3372 overlay works. Use a let when making comint-last-prompt-overlay,
3373 so that the code is easier to read.
3375 2000-09-13 Dave Love <fx@gnu.org>
3377 * wid-edit.el (widget-default-format-handler): DTRT when
3378 doc-property is a function.
3380 2000-09-12 Francesco Potorti` <pot@gnu.org>
3382 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3383 filed name if it's not there.
3385 2000-09-12 Dave Love <fx@gnu.org>
3387 * simple.el (read-mail-command): Doc fix.
3388 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3390 * vc.el (vc-dired-listing-switches): Fix :version.
3392 * vc-hooks.el: Doc fixes.
3394 * subr.el (add-minor-mode): Use toggle-fun arg.
3396 * speedbar.el: Add :version to several defcustoms.
3398 * imenu.el (imenu--truncate-items, imenu--cleanup)
3399 (imenu--generic-function): Avoid mapcar.
3400 (imenu--replace-spaces): Function removed.
3401 (imenu--completion-buffer): Use subst-char-in-string.
3402 (imenu-add-to-menubar): Use keymap inheritance.
3404 2000-09-12 Miles Bader <miles@gnu.org>
3406 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3407 (diff-mode-map): Bind `diff-test-hunk'.
3408 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3410 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3412 * bytecomp.el (byte-compile-defvar): Undo last change
3413 because it breaks '(make-variable-buffer-local (defvar ...)'
3414 which is used at least in dired.
3416 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3418 * international/quail.el (quail-define-package): Docstring
3421 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3423 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3424 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3425 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
3426 docstring of "chinese-py".
3428 * international/quail.el (quail-translation-docstring): New
3430 (quail-show-keyboard-layout): Docstring modified.
3431 (quail-select-current): Likewise.
3432 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3433 infinite recursive call.
3434 (quail-help): Check quail-translation-docstring. Format of the
3436 (quail-help-insert-keymap-description): Adjusted for the above
3439 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3441 * bytecomp.el (byte-compile-defvar): Only cons onto
3442 current-load-list in top-level forms. Else this leaks a cons cell
3443 every time a defun is called.
3445 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
3447 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3448 Now understands non-unified diffs. Some functionality moved into
3449 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
3450 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
3451 modify anything. Only reposition point in the patched file if the
3452 patch succeeds. Only pop up another window if POPUP is true.
3453 Emit a message describing what happened if successful, and at what
3454 line-offset. Automatically detect reversed hunks and do something
3456 (diff-hunk-text, diff-find-text): New functions.
3457 (diff-filter-lines): Function removed.
3458 (diff-test-hunk): New function.
3459 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3461 2000-09-10 Dave Love <fx@gnu.org>
3463 * textmodes/tildify.el: Minor doc/commentary fixes.
3464 (tildify) <defgroup>: Add :version.
3466 * faces.el (face-x-resources): Make custom type more specific.
3467 (frame-background-mode): Use mapc.
3468 (region) <defcustom>: Add :version.
3470 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
3472 * vc-sccs.el (vc-sccs-register):
3473 * vc-rcs.el (vc-rcs-register):
3474 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3475 * vc.el (vc-register): Clear file's properties.
3477 2000-09-08 Gerd Moellmann <gerd@gnu.org>
3479 * faces.el (face-spec-set): Only face-spec-reset-face when
3482 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3484 * help.el (help-insert-xref-button): Fix a typo in doc string.
3486 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
3488 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3489 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3492 * menu-bar.el (read-mail-item-name): New function.
3493 (menu-bar-tools-menu): Use it to compute and display the package
3495 (menu-bar-tools-menu): Fix typo in GUD's help string.
3497 2000-09-07 Dave Love <fx@gnu.org>
3499 * diff-mode.el (diff-mouse-goto-source): New function.
3501 * vc-sccs.el: Doc fixes.
3502 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3504 * vc-rcs.el: Doc fixes.
3505 (vc-rcs-register-switches, vc-rcs-checkin-switches)
3506 (vc-rcs-checkout-switches, vc-rcs-header)
3507 (vc-rcs-master-templates): Add or change :version.
3509 * vc-cvs.el: Doc fixes.
3510 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3511 (vc-cvs-stay-local): Add :version.
3513 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3515 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3517 * international/quail.el (quail-help): Fix previous change.
3519 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3521 * faces.el (color-values): Doc fix.
3523 * faces.el (frame-set-background-mode): Use frame-parameter
3524 instead of frame-parameters.
3526 * frame.el (filtered-frame-list): Reduce consing.
3527 (frames-on-display-list): Call frame-parameter instead of
3530 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3532 * language/devan-util.el (devanagari-to-indian-region): In the
3533 loop, change the following char, not preceding char.
3535 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3537 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3538 instead of frame-parameters.
3540 * faces.el (set-face-attribute): Simplify by calling
3541 internal-set-lisp-face-attribute with FRAME being 0.
3543 * vc.el: Remove `Id' version control keyword.
3545 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3547 * help.el (help-make-xrefs): Adjusted for the change of
3548 help-xref-mule-regexp.
3549 (help-insert-xref-button): New function.
3551 * international/mule-cmds.el (help-xref-mule-regexp-template):
3552 Include the pattern for character set.
3555 * international/quail.el: Don't require face.
3557 (quail-other-command): Dummy command to make quail-help work better.
3558 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3559 (quail-keyboard-layout-substitution): New variable.
3560 (quail-update-keyboard-layout): New function.
3561 (quail-keyboard-layout-type): New customizable variable.
3562 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3563 (quail-keyboard-translate): Pay attention to
3564 quail-keyboard-layout-substitution.
3565 (quail-insert-kbd-layout): New function.
3566 (quail-show-keyboard-layout): New function.
3567 (quail-get-translation): If the definition is a vector of length
3568 1, and the element is a string of length 1, return the character
3570 (quail-update-current-translations): Fix the case of
3571 relative-index out of range.
3572 (quail-build-decode-map, quail-insert-decode-map): New Functions.
3573 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3574 Show key sequences for all available characters.
3575 (quail-help-insert-keymap-description): Don't show such verbose
3576 key bindings as quail-self-insert-command.
3578 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3579 Format changed, and each element now have extra documentations.
3580 (tit-process-header): Delete invalid characters from TIT-PROMPT.
3581 Adjusted for the change of quail-cxterm-package-ext-info.
3583 2000-09-06 Gerd Moellmann <gerd@gnu.org>
3585 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3586 requiring it leads to a recursive loading of vc.el and vc-hooks.el
3589 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3591 * vc.el: (toplevel): Don't require `dired' at run-time.
3592 (vc-dired-resynch-file): Remove autoload cookie.
3594 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3596 * vc.el: Made several backend functions optional.
3597 (vc-default-responsible-p): New function.
3598 (vc-merge): Use RET for first version to trigger merge-news, not
3600 (vc-annotate): Handle backends that do not support annotation.
3601 (vc-default-merge-news): Removed. The existence of a merge-news
3602 implementation is now checked on caller sites.
3604 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3607 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3608 special case that has been removed from the default in vc-hooks.el.
3610 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3612 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3614 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3616 * vc-hooks.el: Require vc during compilation.
3617 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3618 macro `with-vc-properties' in vc.el.
3619 (vc-file-getprop): Doc fix.
3620 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3622 * vc.el: Require dired-aux during compilation.
3623 (vc-name-assoc-file): Moved to vc-sccs.el.
3624 (with-vc-properties): New macro.
3625 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3626 vc-finish-steal): Use it.
3627 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
3628 to the backend-specific function is now supposed to do the checkout,
3630 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3632 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3633 set file properties; that gets done in the generic code now.
3635 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3636 Changed parameter list, added code from vc.el that does the
3637 checkout, possibly with a double-take.
3639 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3640 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3641 the above under the new name.
3642 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
3643 parameter list, added checkout command.
3644 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3645 properties; that gets done in the generic code now.
3647 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3649 * vc.el: Docstring fixes (courtesy of checkdoc).
3651 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3653 * vc.el (vc-checkout-writable-buffer-hook)
3654 (vc-checkout-writable-buffer): Remove.
3655 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3656 (vc-log-mode): Make it into a clean derived major mode.
3657 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3658 vc-log-mode if log-edit is not available.
3659 (vc-dired-mode-map): Don't set-keymap-parent yet.
3660 (vc-dired-mode): Do set-keymap-parent here.
3661 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3663 2000-09-05 Gerd Moellmann <gerd@gnu.org>
3665 * faces.el (set-face-attribute, face-spec-reset-face)
3666 (face-spec-set): Avoid consing by removing calls to `apply'.
3668 * frame.el (frame-parameter): Move to C code.
3670 2000-09-05 Dave Love <fx@gnu.org>
3672 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3673 insert-before-markers-and-inherit. Now checked systematically!
3675 2000-09-05 Alex Schroeder <alex@gnu.org>
3677 * sql.el (sql-postgres): Use sql-postgres-options.
3678 (sql-postgres-options): New variable.
3680 2000-09-05 Alex Schroeder <alex@gnu.org>
3682 * sql.el (sql-mode-menu): Work around missing variable mark-active
3684 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
3685 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
3688 2000-09-04 Gerd Moellmann <gerd@gnu.org>
3690 * vc.el (vc-dired-resynch-file): Add autoload cookie.
3692 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
3694 * Makefile.in (DONTCOMPILE): Fix typo in file name.
3696 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3698 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
3699 don't support anything else under SCCS yet.
3701 * vc-hooks.el: Minor doc fixes.
3703 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3705 * vc.el (vc-next-action-on-file): Do not visit the file if it's
3706 not necessary. If verbose in state `needs-patch', do the same as
3707 under `up-to-date'. When NOT verbose and `needs-patch', check out
3708 latest version instead of `merge-news'.
3709 (vc-next-action-dired): Don't mess with default-directory here; it
3710 breaks other parts of dired. It is the job of the
3711 backend-specific functions to adjust it temporarily if they need it.
3712 (vc-next-action): Remove a special CVS case.
3713 (vc-clear-headers): New optional arg FILE.
3714 (vc-checkin, vc-checkout): Set properties vc-state and
3715 vc-checkout-time properly.
3716 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
3717 (vc-print-log): Use new backend function `show-log-entry'.
3718 (vc-cancel-version): Do the checks in a different order. Added a
3719 FIXME concerning RCS-only code.
3721 * vc-rcs.el (vc-rcs-show-log-entry): New function.
3722 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
3724 * vc-cvs.el (vc-cvs-show-log-entry): New function.
3726 * vc-hooks.el (vc-default-mode-line-string): Show state
3727 `needs-patch' as a `-' too.
3729 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3731 * vc.el (vc-responsible-backend): New optional arg REGISTER.
3732 (vc-default-could-register): New function.
3733 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
3734 (vc-resynch-buffer): Call vc-dired-resynch-file.
3735 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
3736 vc-resynch-buffer instead of vc-resynch-window.
3737 (vc-next-action-dired): Don't redisplay here, that gets done as a
3738 result of the individual file operations.
3739 (vc-retrieve-snapshot): Corrected prompt order.
3741 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
3743 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
3745 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
3746 hostname regexps. Updated all callers.
3747 (vc-cvs-responsible-p): Handle directories as well.
3748 (vc-cvs-could-register): New function.
3749 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
3750 properties up-to-date.
3752 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
3753 user whether to create one.
3755 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3757 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
3758 check out a non-existing file.
3760 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
3761 workfile does not exist.
3763 * vc.el (vc-version-diff): Use `require' to check for existence of
3766 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3768 * vc-cvs.el (vc-cvs-registered): Use new function
3769 vc-cvs-parse-entry to do the actual work.
3771 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3773 * vc-hooks.el (vc-find-backend-function): If function doesn't
3774 exist, return nil instead of error.
3775 (vc-call-backend): Doc fix.
3777 * vc.el (vc-do-command): Doc fix.
3778 (vc-finish-logentry): When checking in from vc-dired, choose the
3779 right backend for logentry check.
3780 (vc-dired-mode-map): Inherit from dired-mode-map.
3781 (vc-dired-mode): Local value of dired-move-to-filename-regexp
3783 (vc-dired-state-info): Removed, updated caller.
3784 (vc-default-dired-state-info): Use parentheses instead of hyphens.
3785 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
3786 (vc-dired-listing-switches): New variable.
3787 (vc-directory): Use it, instead of dired-listing-switches.
3789 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
3790 (vc-cvs-dir-state): New function.
3791 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
3792 (vc-cvs-parse-entry): New function, also to be used in
3795 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3797 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
3798 *or* single-window-frames.
3800 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3802 * vc.el (vc-update-changelog): Split into generic part and default
3803 implementation. Doc string adapted.
3804 (vc-default-update-changelog): New function. Call the `rcs2log'
3805 script in exec-directory, to fix a long-standing nuisance.
3807 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
3808 simply signals an error.
3810 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3812 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
3813 control-flow more clear and to avoid running `cvs' twice.
3815 * vc.el (vc-next-action-on-file): Doc fix.
3816 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
3817 (vc-print-log): Eval `file' before constructing the continuation.
3819 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3821 * vc.el (vc-next-action-on-file): Corrected several messages.
3822 (vc-merge): Add prefix arg `merge-news'; handle it.
3824 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
3825 is not reached. It is.
3826 (vc-cvs-merge): Set state to 'edited after merge.
3827 (vc-cvs-merge-news): Set workfile version to nil if not known.
3828 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
3830 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
3831 via stdout. (Merge from main line.)
3833 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3835 * vc.el (vc-finish-logentry): Thinko in the "same comment"
3838 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3840 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
3841 against kill-all-local-variables.
3842 (vc-log-edit): Don't save vc-parent-buffer any more.
3843 (vc-last-comment-match): Initialize to an empty string.
3844 (vc-post-command-functions): New hook.
3845 (vc-do-command): Run it.
3846 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
3847 (vc-finish-logentry): Only add the comment to the ring if it's
3848 different from the last comment entered.
3849 (vc-new-comment-index): New function.
3850 (vc-previous-comment): Use it. Make the minibuffer message
3851 slightly less terse.
3852 (vc-comment-search-reverse): Make it work forward as well. Don't
3853 set vc-comment-ring-index if no match is found. Use
3854 vc-new-comment-index.
3855 (vc-comment-search-forward): Use vc-comment-search-reverse.
3856 (vc-dired-mode-map): Don't inherit from dired-mode-map since
3857 define-derived-mode will do it for us. Bind `v' to a keymap that
3858 inherits from vc-prefix-map so that we can bind `vt' without
3860 (vc-retrieve-snapshot): Parenthesis typo.
3862 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
3863 to 1. Make sure to switch to *vc* before looking for an error
3864 message. Use vc-parse-buffer.
3866 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3868 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
3870 (vc-retrieve-snapshot): Split into two parts.
3871 (vc-default-retrieve-snapshot): New function.
3873 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
3874 (vc-cvs-retrieve-snapshot): New function (untested).
3875 (vc-cvs-stay-local): Default to t.
3876 (vc-cvs-remote-p): New function and property.
3877 (vc-cvs-state): Stay local only if the above is t.
3878 (vc-handle-cvs): Removed.
3879 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
3880 done via vc-handled-backends now.
3881 (vc-cvs-header): Escape Id.
3883 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3885 * vc.el (vc-do-command): Remove unused commands.
3886 (vc-version-diff): Make sure default-directory ends with a slash.
3887 Move the window commands into a vc-exec-after.
3888 (vc-print-log): Move more of the code into the `vc-exec-after'.
3890 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3892 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
3893 (vc-print-log): Search current revision from beginning of buffer.
3894 (vc-revert-buffer): Clear echo area after the diff is finished.
3895 (vc-prefix-map): Removed definition of "t" for terse display in vc
3897 (vc-dired-mode-map): Inherit from dired-mode-map. Added
3898 definition of "vt" for terse display.
3899 (vc-dired-mode): Fix dired-move-to-filename-regexp.
3901 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3903 * vc.el (vc-exec-after): Avoid caddr.
3905 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3907 * vc.el (vc-exec-after): New function.
3908 (vc-do-command): Use it to add a termination message for async
3910 (vc-checkout): Try to handle a missing-backend situation.
3911 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
3912 of a directory with a backend using async diffs.
3913 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
3916 * vc-sccs.el (vc-sccs-state-heuristic): Use
3917 file-ownership-preserved-p.
3919 * vc-rcs.el (vc-rcs-state-heuristic): Use
3920 file-ownership-preserved-p.
3921 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
3923 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3925 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
3928 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
3929 when there are no changes.
3931 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3933 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
3935 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
3937 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3939 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
3941 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
3942 the `fset' outside of the defvar so that it works even if
3943 vc-prefix-map was already defined.
3944 (vc-setup-buffer): New function, split out of vc-do-command.
3945 (vc-do-command): Allow BUFFER to be t to mean `just use the
3946 current buffer without any fuss'.
3947 (vc-version-diff): Change the `diff' backend operation to just put
3948 the diff in the current buffer without erasing it. Always use
3949 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
3950 shrink-window-if-larger-than-buffer.
3951 (vc-print-log): Change the `print-log' backend operation to just
3952 put the log in the current buffer without erasing it. Protect
3953 shrink-window-if-larger-than-buffer.
3954 (vc-update-change-log): Fix setd typo.
3956 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
3957 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
3959 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
3960 (vc-rcs-diff): Insert in the current buffer and remove unused arg
3963 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
3964 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
3965 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
3967 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3969 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
3970 not possible, use vc-BACKEND-workfile-unchanged-p.
3971 (vc-default-workfile-unchanged-p): New function. Delegates to a
3972 full vc-BACKEND-diff.
3974 * vc-hooks.el (vc-simple-command): Removed.
3976 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
3977 instead of vc-simple-command.
3978 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
3979 avoid doing a diff when opening a file.
3980 (vc-rcs-state): Added check for unlocked-changes.
3981 (vc-rcs-header): Escape Id.
3982 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
3983 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
3986 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
3987 (vc-sccs-diff): Remove optional arg CMP.
3988 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
3989 SCCS-specific function.
3991 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
3994 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3996 * vc.el (vc-editable-p): Renamed from vc-writable-p.
3997 (with-vc-file, vc-merge): Use vc-editable-p.
3998 (vc-do-command): Remove unused var vc-file and fix the
3999 doubly-defined `status' var. Add a user message when starting an
4001 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
4002 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
4003 Use with-current-buffer.
4004 (vc-buffer-sync): Use unless.
4005 (vc-next-action-on-file): If the file is 'edited by read-only,
4006 make it read-write instead of trying to commit.
4007 (vc-version-diff, vc-update-change-log): Use `setq
4008 default-directory' rather than `cd'.
4009 (vc-log-edit): Don't forget to set default-directory in the
4012 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
4013 (vc-sccs-state-heuristic): Use file-writable-p instead of
4015 (vc-sccs-checkout): Use `unless'.
4017 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
4018 of comparing userids.
4019 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
4020 Simplify the logic by eliminating unreachable code.
4021 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
4022 just do a recursive call if we need to retry.
4023 (vc-rcs-checkout): Handle the case where rcs is missing by making
4024 the buffer read-write if requested and re-signalling the error.
4026 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
4028 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4030 * vc-hooks.el (vc-handled-backends): Docstring change.
4031 (vc-ignore-vc-files): Mark obsolete.
4032 (vc-registered): Check vc-ignore-vc-files.
4033 (vc-find-file-hook, vc-file-not-found-hook): Don't check
4036 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
4038 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4040 * vc.el (vc-checkout): Don't do anything special for ange-ftp
4041 files since ange-ftp already has vc-registered return nil.
4043 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
4044 (vc-sccs-workfile-version): Use with-temp-buffer and new
4045 vc-parse-buffer and don't bother setting the property.
4046 (vc-sccs-add-triple): Use with-current-buffer and
4048 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
4050 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
4051 derives from the old vc-parse-buffer but uses the revision number
4052 rather than the date (much easier to compare robustly).
4053 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
4054 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
4055 locking-user more directly. Check strict locking and set
4056 checkout-model appropriately.
4057 (vc-rcs-parse-locks): Remove.
4058 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
4059 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
4060 (vc-rcs-system-release): Use with-current-buffer and
4062 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
4064 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
4065 (vc-simple-command): Docstring fix.
4066 (vc-registered): Align the way the file-handler is called with the
4067 way the function itself works.
4068 (vc-file-owner): Remove.
4070 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
4071 extraction of fields and call to file-attributes because of a
4072 temporary bug in rcp.el.
4073 (vc-cvs-fetch-status): Use with-current-buffer.
4075 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4077 * vc.el (vc-do-command): Use file-relative-name.
4078 (vc-responsible-backend): Use vc-backend if possible.
4079 (vc-create-snapshot): Improve the `interactive' spec. Add support
4080 for branches and dispatch to backend-specific `create-snapshot'.
4081 (vc-default-create-snapshot): New function, containing the bulk of
4082 the old vc-create-snapshot.
4083 (vc-retrieve-snapshot): Improve the interactive spec.
4085 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
4086 (vc-backend-hook-functions): Remove.
4087 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
4088 (vc-backend): Reintroduce the test for `file = nil' now that I
4089 know why it was there (and added a comment to better remember).
4091 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
4092 code from vc-sccs-hooks.el.
4093 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
4095 (vc-sccs-responsible-p): Use expand-file-name instead of concat
4096 and file-directory-p instead of file-exists-p.
4097 (vc-sccs-check-headers): Simplify the regexp.
4099 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
4100 from vc-rcs-hooks.el. Don't require 'vc anymore.
4101 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
4102 file-directory-p instead of file-exists-p.
4104 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
4105 from vc-cvs-hooks.el.
4106 (proto vc-cvs-registered): Require 'vc-cvs instead of
4107 'vc-cvs-hooks. Don't require 'vc anymore.
4108 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
4109 file-directory-p instead of file-exists-p.
4110 (vc-cvs-create-snapshot): New function, replacing
4112 (vc-cvs-assign-name): Remove.
4114 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4116 * vc-cvs.el (vc-cvs-header): New var.
4118 * vc-rcs.el (vc-rcs-exists): Remove.
4119 (vc-rcs-header): New var.
4121 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
4122 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
4123 (vc-sccs-header): New var.
4125 * vc.el (vc-do-command): Get rid of the `last' argument.
4126 (vc-header-alist): Remove, replaced by vc-X-header.
4127 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
4128 (vc-dired-hook): Use expand-file-name instead of concat.
4129 (vc-directory): Use file-name-as-directory.
4130 (vc-snapshot-precondition, vc-create-snapshot)
4131 (vc-retrieve-snapshot): Allow the command to operate on any
4134 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
4135 just removing the 'WORKFILE argument or by removing the 'MASTER
4136 argument and replacing `file' with (vc-name file).
4138 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4140 * vc.el: Update Copyright and add a crude list of backend funs.
4141 (vc-writable-p): New function.
4142 (with-vc-file): Use vc-writable-p.
4143 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
4144 (vc-register): Avoid vc-name.
4145 (vc-locking-user): Remove.
4146 (vc-steal-lock): Make the `owner' arg non-optional.
4147 (vc-merge): Use vc-writable-p instead of vc-locking-user and
4149 (vc-default-dired-state-info): Use vc-state instead of
4150 vc-locking-user and return special strings for special states.
4151 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
4152 and get rid of one of the special CVS cases.
4153 (vc-cancel-version): prettify error message with \\[...].
4154 (vc-rename-master): New function.
4155 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
4156 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
4157 the CVS special case generic.
4158 (vc-default-record-rename): Remove.
4159 (vc-file-tree-walk-internal): Only call FUNC for files that are
4160 under control of some VC backend and replace `concat' with
4162 (vc-file-tree-walk): Update docstring.
4163 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
4164 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
4166 * vc-sccs.el (vc-sccs-rename-file): Renamed from
4167 vc-sccs-record-rename. Use `find-file-noselect' rather than
4168 `find-file' and call `vc-rename-master' to do the actual move.
4169 (vc-sccs-diff): Remove unused `backend' variable.
4171 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
4172 to delay loading of vc-sccs until it is really used.
4173 (vc-sccs-master-templates): Preload.
4174 (vc-sccs-state): Update call to vc-sccs-parse-locks.
4175 (vc-sccs-project-dir): Remove (merged into
4176 vc-sccs-search-project-dir).
4177 (vc-sccs-search-project-dir): Rewrite using file name handling ops
4178 rather than `concat', make sure it is preloaded and don't bother
4179 to check that the file actually exists.
4180 (vc-sccs-parse-locks): Remove unused `file' argument, remove
4181 `locks' argument (use buffer's content instead) and eliminate n^2
4184 * vc-rcs.el: Update Copyright.
4185 (vc-rcs-rename-file): New function.
4186 (vc-rcs-diff): Remove unused `backend' variable.
4188 * vc-hooks.el: Update Copyright.
4189 (vc-backend): Don't accept a nil argument any more.
4190 (vc-up-to-date-p): Turn into a defsubst.
4191 (vc-possible-master): New function.
4192 (vc-check-master-templates): Use `vc-possible-master' and allow
4193 funs in vc-X-master-templates to return a non-existent file.
4195 * vc-cvs.el: Update Copyright.
4196 (vc-cvs-diff): Remove unused `backend' variable.
4197 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
4199 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
4201 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4203 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
4204 since it can be called from vc-rcs.el.
4205 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
4207 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4209 * vc.el (vc-version-diff): Expand file name read from the
4210 minibuffer. Handle the case when a previous version number can't
4211 be guessed. Give suitable messages when there were no differences
4213 (vc-clear-headers): Call backend-specific implementation, if one
4215 (vc-cancel-version): Made error checks generic. When done, clear
4216 headers generically, too.
4218 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
4219 from vc-clear-headers in vc.el.
4221 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
4223 (vc-rcs-latest-on-branch-p): Made second argument VERSION
4224 optional. Handle the case when it's not there.
4226 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4228 * vc.el (vc-locking-user): Moved from vc-hooks.el.
4230 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4232 * vc-hooks.el (vc-loadup): Remove.
4233 (vc-find-backend-function): Use `require'. Also, handle the case
4234 where vc-BACKEND-hooks.el doesn't exist.
4235 (vc-call-backend): Cleanup.
4237 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4239 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
4240 vc-rcs-grab-templates)
4241 (vc-rcs-registered): Remove. The default function works as well.
4242 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
4243 vc-sccs-grab-templates)
4244 (vc-sccs-registered): Remove. The default function works as well.
4246 * vc.el (vc-version-diff): Left out a vc- in call to
4248 (vc-default-dired-state-info, vc-default-record-rename)
4249 (vc-default-merge-news): Update for the new backend argument.
4251 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
4252 using the default function.
4253 (vc-call-backend): If calling the default function, pass it the
4254 backend as first argument. Update the docstring accordingly.
4255 (vc-default-state-heuristic, vc-default-mode-line-string): Update
4256 for the new backend argument.
4257 (vc-make-backend-sym): Renamed from vc-make-backend-function.
4258 (vc-find-backend-function): Use the new name.
4259 (vc-default-registered): New function.
4261 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4263 * vc.el (vc-merge): Use vc-find-backend-function.
4265 * vc-hooks.el (vc-backend-functions): Remove.
4266 (vc-loadup): Don't setup 'vc-functions.
4267 (vc-find-backend-function): New function.
4268 (vc-call-backend): Use above fun and populate 'vc-functions
4270 (vc-backend-defines): Remove.
4272 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4274 * vc.el (vc-register): Put a FIXME note for a newly found bug.
4275 Call vc-call-backend without the leading vc-.
4276 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
4277 (vc-check-headers): Call vc-call-backend without the leading vc-.
4278 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
4279 (vc-annotate-display): Replace confusing use of `cond' with `or'.
4280 Call vc-call-backend without the leading vc-.
4282 * vc-cvs.el (tail): Provide vc-cvs.
4283 * vc-sccs.el (tail): Provide vc-sccs.
4284 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
4286 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
4287 (vc-make-backend-function, vc-call): Pass names without leading
4288 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
4289 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
4290 (vc-call-backend): Always try to load vc-X-hooks.
4291 (vc-registered): Remove vc- in call to vc-call-backend.
4293 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4295 * vc.el (vc-process-filter): New function.
4296 (vc-do-command): Setup `vc-process-filter' for the async process.
4297 (vc-maybe-resolve-conflicts): New function to reduce
4298 code-duplication. Additionally, it puts the buffer in
4299 `smerge-mode' if applicable.
4300 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
4301 calling `merge-news'.
4302 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
4303 (vc-log-edit): New function. Replacement for `vc-log-mode' by
4304 interfacing to log-edit.el.
4305 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
4306 log-edit is available.
4307 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
4309 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4311 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
4312 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
4313 defvar and the initialization.
4314 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
4316 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
4317 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4319 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4321 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4323 * vc.el (vc-file-clear-masterprops): Removed.
4324 (vc-checkin, vc-revert-buffer): Removed calls to the above.
4325 (vc-version-diff): Use buffer-size without argument.
4326 (vc-register): Heed vc-initial-comment.
4328 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4331 * vc-rcs.el (vc-rcs-register): Parse command output to find master
4332 file name and workfile version.
4333 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4335 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4336 vc-file-clear-masterprops.
4338 * vc-sccs.el (vc-sccs-checkout): Removed call to
4339 vc-file-clear-masterprops. If writable, set vc-state to 'edited
4340 rather than user login name.
4343 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4345 * vc.el (vc-workfile-unchanged-p): Remove unused argument
4346 `want-differences-if-changed' and simplify.
4347 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4348 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4349 output (which is invalid for async vc-diff) to decide whether to
4350 do the revert silently or not.
4352 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4354 * vc-hooks.el (vc-loadup): Load files quietly.
4355 (vc-call-backend): Oops, brain fart.
4357 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4359 * vc-cvs.el (vc-cvs-state): Typo.
4360 (vc-cvs-merge-news): Return the status code rather than the error msg.
4362 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4364 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4365 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4366 vc-state or vc-up-to-date-p.
4367 (vc-merge): Use vc-backend-defines to check whether merging is
4368 possible. Set state to 'edited after successful merge.
4370 * vc-hooks.el (vc-locking-user): If locked by the calling user,
4371 return that name. Redocumented.
4373 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4375 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4376 new `vc-state' semantics.
4377 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4378 'vc-locking-user to the current user.
4379 (vc-merge): Inline vc-backend-merge. Comment out code that I
4380 don't understand and hence can't adapt to the new `vc-state' and
4381 `vc-locking-user' semantics.
4382 (vc-backend-merge): Remove.
4384 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4385 rather than 'vc-locking-user.
4387 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4389 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4390 (vc-state): Don't use 'reserved any more. Just use the same
4391 convention as the one used for vc-<backend>-state where the
4392 locking user (as a string) is returned.
4393 (vc-locking-user): Update, based on the above convention. The
4394 'vc-locking-user property has disappeared.
4395 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4397 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4398 with a heuristic one.
4399 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4400 (vc-cvs-checkin): Do a trivial parse to set the state in case of
4401 error. That allows us to get to 'needs-merge even in the
4402 stay-local case. There's still no way to detect 'needs-patch in
4403 such a setup (or to force an update for that matter).
4404 (vc-cvs-logentry-check): Remove, the default works as well.
4406 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4408 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4410 * vc.el (vc-do-command): kill-all-local-variables, to reset any
4411 major-mode in which the buffer might have been put earlier. Use
4412 `remove' and `when'. Allow `okstatus' to be `async' and use
4413 `start-process' in this case.
4414 (vc-version-diff): Handle the case where the diff looks empty
4415 because of the use of an async process.
4417 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4419 * vc.el (vc-next-action-on-file): Removed optional parameter
4420 `simple'. Recompute state unconditionally.
4421 (vc-default-toggle-read-only): Removed.
4423 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4424 (vc-toggle-read-only): Undid prev change.
4426 * vc-cvs.el (vc-cvs-stay-local): Renamed from
4427 vc-cvs-simple-toggle. Redocumented.
4428 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4429 (vc-cvs-toggle-read-only): Removed.
4431 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4433 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4434 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4435 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4436 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
4437 still is. So maybe it should be removed.
4438 (vc-head-version, vc-find-binary): Remove.
4439 (vc-recompute-state): Move from vc-hooks.el.
4440 (vc-next-action-on-file): Add a `simple' argument to allow
4441 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4442 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4443 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4444 (vc-dired-mode-map): Properly defvar it.
4445 (vc-print-log): Call log-view-mode if available.
4446 (small-temporary-file-directory): defvar instead of use boundp.
4447 (vc-merge-news): Moved to vc-cvs.el.
4448 (vc-default-merge-news): New function.
4450 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4451 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4452 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4453 unknown `vc-latest-version' function. It should probably refer to
4454 vc-workfile-version or somesuch, but it's very unclear to me and I
4455 don't have SCCS to test things.
4457 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4458 (vc-sccs-state-heuristic): Fix typo.
4459 (vc-sccs-workfile-unchanged-p): Add missing argument.
4461 * vc-rcs.el: Require vc and vc-rcs-hooks.
4462 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4463 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4464 (vc-release-greater-or-equal-p): Move from vc.
4465 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4466 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4467 (vc-rcs-checkout): Add a missing `new-version' argument in the
4468 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
4470 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4471 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4472 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4473 than the apparently unbound `workfile-version'.
4475 * vc-hooks.el (vc-master-templates): Def the obsolete var.
4476 (vc-file-prop-obarray): Use `make-vector'.
4477 (vc-backend-functions): Add new hookable functions
4478 vc-toggle-read-only, vc-record-rename and vc-merge-news.
4479 (vc-loadup): If neither backend nor default functions exist, use
4480 the backend function rather than nil.
4481 (vc-call-backend): If the function if not bound yet, try to load
4482 the non-hook file to see if it provides it.
4483 (vc-call): New macro plus use it wherever possible.
4484 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4485 nor `vc-find-binary' since it's only called from
4486 vc-mistrust-permission which is only used once the backend is known.
4487 (vc-checkout-model): Fix parenthesis.
4488 (vc-recompute-state, vc-prefix-map): Move to vc.el.
4490 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4491 (vc-cvs-release, vc-cvs-system-release): Remove.
4492 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4493 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4495 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4496 (vc-cvs-toggle-read-only): First cut at a function to allow a
4497 cvs-status-free vc-toggle-read-only.
4498 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4499 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4500 vc-cvs-status. Also set vc-state rather than vc-locking-user.
4501 (vc-cvs-checkout): Modify access rights directly if the user
4502 requested not to use `cvs edit'. And refresh the mode line.
4504 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4505 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4507 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4509 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
4510 workfile' that got lost when the code was extracted from vc.el.
4511 And merged the tail with the rest of the code (not possible in the
4512 old vc.el where the tail was shared among all backends). And
4513 explicitly set the state to 'edited if `writable' is set.
4515 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4516 (vc-cvs-state): Be careful to return the value from
4518 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
4519 property but return it instead. Also be careful to handle a nil
4520 or "" `rev' when workfile is non-nil (it was handled properly when
4523 * vc.el: Removed those pesky unnecessary `(function' quotes.
4524 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4525 directly in the defvar.
4526 (vc-do-command): Bind inhibit-read-only so as to properly handle
4527 the case where the destination buffer has been made read-only.
4528 (vc-diff): Delegate to vc-version-diff in all cases.
4529 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4530 (vc-annotate-mode-variables): Removed (code moved partly to
4531 defvars and partly to vc-annotate-add-menu).
4532 (vc-annotate-mode): Turned into a derived-mode.
4533 (vc-annotate-add-menu): Moved in code in
4534 vc-annotate-mode-variables.
4535 (vc-update-change-log): Use make-temp-file if available.
4537 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
4539 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4540 `vc-checkout-model' updated to `vc-cvs-update-model'.
4542 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4544 * vc.el (vc-next-action-on-file): Added handling of state
4546 (vc-checkout-carefully): Is now practically obsolete, unless the
4547 above is too slow to be enabled unconditionally.
4548 (vc-update-change-log): Fixed typo.
4550 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4552 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4553 Now handles state `unlocked-changes'.
4554 (vc-sccs-workfile-unchanged-p): New function, to support the above.
4556 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4558 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4559 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
4561 (vc-rcs-workfile-unchanged-p): Renamed from
4562 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
4563 function yet, but supposed to become one soon.
4565 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4567 (vc-call-backend): Changed error message.
4568 (vc-state): Added description of state `unlocked-changes'.
4570 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4572 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4573 always return t in CVS-controlled directories.
4575 * vc.el (vc-responsible-backend): New function.
4576 (vc-register): Largely rewritten.
4577 (vc-admin): Removed (implementation moved into vc-register).
4578 (vc-checkin): Redocumented.
4579 (vc-finish-logentry): If no backend defined yet (because we are in
4580 the process of registering), use the responsible backend.
4582 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4583 Updated function lists.
4584 (vc-call-backend): Fixed typo.
4586 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4588 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4589 Removed query option. Redocumented.
4591 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4593 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4595 * vc.el: Updated callers of `vc-checkout-required' to use
4596 `vc-checkout-model'.
4598 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4600 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
4601 stuff updated to reference this function instead of the old
4602 `vc-backend-release-p'.
4604 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4606 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4607 vc-checkout-model. Return appropriate values. Updated callers.
4609 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4611 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4612 (vc-backend-revert): Function moved into `vc-revert';
4613 `vc-next-action' must be updated to accomodate this change.
4614 (vc-backend-steal): Function moved into `vc-finish-steal'.
4615 (vc-backend-logentry-check): Function moved into
4616 `vc-finish-logentry'.
4617 (vc-backend-printlog): Function moved into `vc-print-log'.
4618 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4619 (vc-backend-assign-name): Function moved into
4620 `vc-create-snapshot'.
4622 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4624 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4625 Rename to vc-checkout-model. Return appropriate values.
4628 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4629 to vc-checkout-model.
4630 (vc-checkout-required): Rename to vc-checkout-model.
4631 Re-implement and re-comment.
4632 (vc-after-save): Use vc-checkout-model.
4634 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4636 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4637 Update to use the vc-BACKEND-diff functions instead.
4638 `vc-diff' is now working.
4640 * vc-rcs.el (vc-rcs-logentry-check): New function.
4642 * vc-cvs.el (vc-cvs-logentry-check): New function.
4644 * vc-sccs.el (vc-sccs-diff): Function changed name from
4645 `vc-backend-diff'. This makes `vc-diff' work.
4647 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4648 of functions possibly implemented in a vc-BACKEND library.
4649 (vc-checkout-required): Fix bug that caused an error to be
4650 signaled during `vc-after-save'.
4653 This checkin is made with our new VC code base for the very first time.
4654 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4656 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4657 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4659 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4660 updated to `vc-uses-locking'.
4661 (vc-checkout-required): Call to backend function.
4662 `vc-checkout-required' updated to `vc-uses-locking' instead.
4664 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4665 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4667 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4668 to match the split into various backends.
4669 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
4670 (vc-retrieve-snapshot): Bug fix.
4672 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4674 * vc-sccs.el (vc-sccs-release): Doc fix.
4676 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4678 * vc.el (vc-next-action-on-file): Bug found and fixed.
4679 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
4680 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
4682 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
4683 (vc-rcs-checkout): Name space cleaned up. No more revision number
4684 crunching function names that are not prefixed with vc-rcs.
4685 (vc-rcs-checkout-model): Function added. References to
4686 `vc-checkout-model' replaced.
4688 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4690 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
4691 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
4692 still need to be split, and implemented for RCS).
4694 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4696 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
4698 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
4699 required by the vc.el file.
4701 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
4702 required by the vc.el file.
4703 (vc-rcs-exists): Function added.
4705 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
4706 required by the vc.el file.
4708 * vc.el (vc-admin): Updated to handle selection of appropriate
4709 backend. Current implementation is crufty and need re-thinking.
4711 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
4713 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4715 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
4716 beginning of annotate buffers correctly.
4718 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
4719 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
4720 functionality updated quite a lot to support multiple backends.
4721 Variables `vc-annotate-mode', `vc-annotate-buffers',
4722 `vc-annotate-backend' added.
4724 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
4725 `vc-annotate-difference' added to supported backend functions.
4727 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4729 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
4730 Use with-temp-file instead of /bin/sh. Merged from mainline
4732 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4734 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
4736 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
4738 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
4740 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4742 * vc-hooks.el: vc-state-heuristic added to
4743 vc-backend-hook-functions.
4745 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
4747 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
4749 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
4750 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
4751 state to `reserved'.
4753 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
4754 `vc-checkout-required'. Rename the `locked' state to `reserved'.
4756 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4758 * vc-rcs-hooks.el: Implement new state model. Hardly anything
4761 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
4763 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
4764 if defined. (Merged from main line, slightly adapted.)
4766 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
4767 millenium problem (merged from mainline).
4769 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4771 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
4772 part and moved the non-BACKEND stuff to vc.el.
4774 * vc.el: Split the annotate feature into a BACKEND specific part
4775 and moved it from the vc-cvs.el file to this one.
4777 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4779 * vc-hooks.el: Implement new state model.
4780 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
4781 (vc-locking-user): Simplify. Now only needed if the file is
4782 locked by somebody else.
4783 (vc-lock-from-permissions): Remove. Functionality is in
4784 vc-sccs-hooks.el and vc-rcs-hooks.el now.
4785 (vc-mode-line-string): New name for former vc-status. Adapted.
4786 (vc-mode-line): Adapt to use the above. Remove optional parameter.
4788 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
4789 Various simplifications and adaptations all over the place.
4791 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
4792 Simplify and adapt the rest.
4794 * vc.el (vc-resynch-window): Add TODO comment: check for
4795 interaction with view mode according to recent RCS change.
4796 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
4798 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4800 * vc.el: Convert the remaining function comments to docstrings.
4802 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4804 * vc.el (vc-backend-release, vc-release-greater-or-equal)
4805 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
4806 (vc-minor-part, vc-previous-version): Functions that operate and
4807 compare revision numbers got proper documentation. Comments added
4808 about their possible removal.
4810 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4812 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
4813 the vc-backend.el files.
4815 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
4817 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
4818 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
4819 (vc-rcs-previous-version): Functions added.
4821 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
4823 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
4825 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4827 * vc-hooks.el (vc-master-templates): Is really obsolete.
4828 Comment out the definition for now. What is the right procedure
4830 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
4832 (vc-default-registered): Remove.
4833 (vc-check-master-templates): New function; does mostly what the
4835 (vc-locking-user): Don't rely on the backend to set the property.
4837 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
4838 Rewrite documentation.
4839 (vc-rcs-templates-grabbed): New variable.
4840 (vc-rcs-grab-templates): New function.
4841 (vc-rcs-registered): Rewrite to use above mechanism.
4843 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
4844 Rewrite documentation.
4845 (vc-sccs-templates-grabbed): New variable.
4846 (vc-sccs-grab-templates): New function.
4847 (vc-sccs-registered): Rewrite to use above mechanism.
4848 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
4849 Don't throw the result, simply return it.
4851 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
4852 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
4853 (vc-cvs-registered): Does the check itself now. Simplify.
4855 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
4858 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4860 * vc-cvs.el (vc-cvs-diff): New function.
4862 * vc-sccs.el (vc-sccs-diff): New function.
4864 * vc-rcs.el (vc-rcs-diff): New function.
4865 (vc-rcs-checkout): Bug (typo) found and fixed.
4866 (vc-rcs-register-switches): New variable.
4868 * vc.el (vc-backend-diff): Function removed and placed in the
4871 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4873 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
4875 * vc.el (vc-backend-checkout): Function removed and replaced in
4876 the vc-backend.el files.
4878 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
4880 * vc.el (vc-backend-admin): Removed and replaced in the
4881 vc-backend.el files.
4883 * vc.el (Martin): Removed all the annotate functionality since it
4884 is CVS backend specific.
4886 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4888 * spec.txt: Added specification of vc-state.
4890 * vc-sccs-hooks.el (vc-sccs-master-properties):
4891 Remove handling of vc-latest-version and
4892 vc-your-latest-version. What used to be vc-latest-version, is now
4893 returned as vc-workfile-version.
4894 (vc-sccs-workfile-version): Adapt.
4896 2000-09-04 Dave Love <fx@gnu.org>
4898 * vc.el: [Merged from mainline.]
4899 (vc-dired-mode): Make the dired-move-to-filename-regexp
4900 regexp match the date, to avoid treating date as file size.
4901 Add YYYY S option to WESTERN/
4903 2000-09-04 Dave Love <fx@gnu.org>
4905 * vc.el: Require `compile' when compiling.
4906 (vc-logentry-check-hook): New option.
4907 (vc-steal-lock): Use compose-mail.
4908 (vc-dired-mode-map): Defvar when compiling.
4909 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
4910 vc-sccs.el and renamed. Callers changed.
4911 (vc-backend-checkout, vc-backend-logentry-check)
4912 (vc-backend-merge-news): Doc fix.
4913 (vc-default-logentry-check): New function.
4914 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
4915 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
4916 (vc-backend-merge): Doc fix. Use backend functions.
4917 (vc-check-headers): Use backend functions.
4919 * vc-cvs.el: Require vc when compiling.
4920 (vc-cvs-register-switches): Doc fix.
4921 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
4922 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
4923 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
4924 New functions (code from vc.el).
4925 (vc-annotate-display-default): Fix interactive spec.
4926 (vc-annotate-time-span): Doc fix.
4928 * vc-rcs.el: Require vc when compiling.
4929 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
4930 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
4931 (vc-rcs-checkin): New functions (code from vc.el).
4932 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
4934 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
4936 * vc-sccs.el: Require vc when compiling.
4937 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
4938 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
4940 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
4942 (vc-sccs-add-triple, vc-sccs-record-rename)
4943 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
4944 (vc-sccs-admin): Doc fix.
4946 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4948 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
4949 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
4950 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
4953 * vc-sccs.el (vc-admin-sccs): Added from vc.el
4955 * vc-cvs.el: Moved the annotate functionality from vc.el.
4956 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
4958 2000-09-04 Dave Love <fx@gnu.org>
4960 * vc.el (vc-backend-release): Call vc-system-release.
4962 * vc-sccs.el (vc-sccs-system-release):
4963 Renamed from vc-sccs-backend-release.
4965 * vc-rcs.el (vc-rcs-system-release):
4966 Renamed from vc-rcs-backend-release.
4968 * vc-cvs.el (vc-cvs-system-release):
4969 Renamed from vc-cvs-backend-release.
4971 2000-09-04 Dave Love <fx@gnu.org>
4973 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
4975 (vc-backend-release): Dispatch to backend functions.
4976 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
4977 probably needs attention.]
4979 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
4980 (vc-sccs-backend-release): New function.
4982 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
4983 (vc-cvs-backend-release): New function.
4985 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
4987 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
4988 (vc-default-dired-state-info): New function.
4989 (vc-dired-state-info): Dispatch to backends.
4990 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
4992 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
4993 from vc.el and renamed.
4995 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4997 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
4998 (vc-version-other-window, vc-backend-assign-name): Removed
4999 references to vc-latest-version; sometimes changed into
5000 vc-workfile-version.
5002 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
5003 vc-rcs-master-workfile-version.
5004 (vc-rcs-workfile-version): Use the above. Don't call
5005 vc-latest-version (that was unreachable code, anyway).
5006 (vc-rcs-fetch-master-properties): Doc fix.
5008 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
5009 (vc-backend-hook-functions): Removed them from this list, too.
5010 (vc-fetch-properties): Removed.
5011 (vc-workfile-version): Doc fix.
5013 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
5014 (vc-rcs-workfile-version, vc-rcs-locking-user)
5015 (vc-rcs-uses-locking): Use it.
5017 * vc-hooks.el (vc-consult-rcs-headers):
5018 Moved into vc-rcs-hooks.el, under the name
5019 vc-rcs-consult-headers.
5021 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
5023 (vc-cvs-find-master): Use this name only; correct different
5024 versions of the name.
5026 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
5028 (vc-sccs-locking-user): Use the latter.
5030 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
5033 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
5035 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
5036 functions are implementation details of those two backends.
5038 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5040 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
5041 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
5043 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
5044 (vc-sccs-parse-locks): SCCS-specific code moved here from
5047 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
5048 code moved here from vc-hooks.
5050 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
5051 into back-end specific parts and removed. Callers not updated
5052 yet; because I guess these callers will disappear into back-end
5053 specific files anyway.
5055 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5057 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
5058 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
5061 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
5062 Store yes/no in the property, and return t/nil. Updated all
5065 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
5066 vc-sccs-uses-locking. Don't set property.
5067 (vc-sccs-locking-user): Don't set property.
5069 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
5070 vc-cvs-uses-locking. Don't set property here; leave that to
5072 (vc-cvs-locking-user): Reflect above change. Streamlined.
5074 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
5075 vc-rcs-uses-locking.
5076 (vc-rcs-locking-user): Reflect above change.
5078 2000-09-04 Dave Love <fx@gnu.org>
5080 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
5082 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
5084 * vc-hooks.el (vc-checkout-model): Punt to backends.
5086 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
5088 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
5090 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
5093 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
5096 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
5097 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
5099 * vc-hooks.el (vc-default-locking-user): New function.
5100 (vc-locking-user, vc-workfile-version): Punt to backends.
5102 2000-09-04 Dave Love <fx@gnu.org>
5104 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
5105 (vc-master-workfile-version): Moved from vc-hooks.
5107 * vc-rcs-hooks.el: Fix duplicate code in last change.
5109 * vc-rcs-hooks.el: Require vc-hooks when compiling.
5110 (vc-rcs-master-templates): Improve :type.
5111 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
5112 vc-master-workfile-version): Moved from vc-hooks.
5114 * vc-sccs-hooks.el: Require vc-hooks when compiling.
5115 (vc-sccs-master-templates): Improve :type.
5116 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
5118 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
5120 * vc-cvs-hooks.el: Require vc-hooks when compiling.
5121 (vc-cvs-master-templates): Improve :type. Use
5122 vc-cvs-find-cvs-master.
5123 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
5125 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
5127 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
5128 Moved to vc-cvs-hooks.
5130 * vc-hooks.el: Add doc strings in various places. Simplify the
5132 (vc-handled-backends): New user variable.
5133 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
5136 2000-09-04 Dave Love <fx@gnu.org>
5138 * vc.el: Some doc fixes for autoloaded and interactive functions.
5139 Fix compilation warnings from ediff stuff.
5140 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
5142 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
5144 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
5146 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
5148 2000-09-04 Dave Love <fx@gnu.org>
5150 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5152 (vc-make-backend-function, vc-loadup, vc-call-backend)
5153 (vc-backend-defines): New functions.
5155 * vc-hooks.el: Various doc fixes.
5156 (vc-default-back-end, vc-follow-symlinks): Custom fix.
5157 (vc-match-substring): Function removed. Callers changed to use
5159 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
5162 2000-09-04 Dave Love <fx@gnu.org>
5164 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
5166 (vc-sccs-project-dir, vc-search-sccs-project-dir)
5167 (vc-sccs-registered): Doc fix.
5169 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
5170 (vc-cvs-registered): Doc fix.
5172 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
5173 (vc-rcs-registered): Doc fix.
5175 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5177 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
5179 * vc-hooks.el: vc-registered has been renamed
5180 vc-default-registered. Some functions have been moved to the
5181 backend specific files. they all support the
5182 vc-BACKEND-registered functions.
5184 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5186 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
5188 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
5190 2000-09-04 Dave Love <fx@gnu.org>
5192 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
5193 menu-bar-update-hook.
5195 * help.el (help-manyarg-func-alist): Add
5196 find-operation-coding-system.
5198 * wid-edit.el (widget-sexp-validate): Fix garbled code.
5200 * custom.el (custom-set-variables): Print message about errors in
5203 2000-09-03 Andrew Innes <andrewi@gnu.org>
5205 * makefile.w32-in: Change to DOS line endings.
5207 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5209 * mouse.el (mouse-popup-menubar): Supply the prompt string for
5210 minor-mode keymaps, if they don't have one.
5212 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5214 * eshell/esh-module.el (eval-when-compile): Don't lose if
5215 esh-module.el's file name is truncated to DOS 8+3 limits.
5217 2000-09-01 John Wiegley <johnw@gnu.org>
5219 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
5220 predicate, which caused entries in the completion list to be
5223 2000-08-30 John Wiegley <johnw@gnu.org>
5225 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
5226 sending to subprocesses. Also, hook pre-command-hook if
5227 `eshell-send-direct-to-subprocesses' is non-nil.
5228 (eshell-send-direct-to-subprocesses): New config variable. If t,
5229 subprocess input is send immediately.
5230 (eshell-toggle-direct-send): New function.
5231 (eshell-self-insert-command): New function.
5232 (eshell-intercept-commands): New function.
5233 (eshell-send-input): If direct subprocess sending is enabled,
5234 don't echo any input to the Eshell buffer. Let the subprocess
5235 handle that. This requires "stty echo" in bash, for example.
5237 2000-08-28 John Wiegley <johnw@gnu.org>
5239 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
5240 completion function for Eshell's implementation of `unset'.
5242 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5244 * info.el (Info-directory-list): Doc fix.
5246 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
5248 * filecache.el (file-cache-add-directory-using-find): Don't quote
5249 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
5251 2000-08-31 Kenichi Handa <handa@etl.go.jp>
5253 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
5256 2000-08-30 Andrew Innes <andrewi@gnu.org>
5258 * timer.el (run-with-idle-timer): Undo last change, so that timer
5259 is not activated immediately if Emacs is already idle. Some
5260 existing code relies on this behaviour.
5262 2000-08-30 Miles Bader <miles@gnu.org>
5264 * frame.el (set-frame-font): Do completion of font-name for
5267 2000-08-30 Kenichi Handa <handa@etl.go.jp>
5269 * international/quail.el (quail-start-translation): Bind locally
5270 last-command-event, last-command, and this-command.
5271 (quail-start-conversion): Likewise.
5272 (quail-self-insert-command): Fix docstring.
5274 2000-08-29 Gerd Moellmann <gerd@gnu.org>
5276 * progmodes/executable.el
5277 (executable-make-buffer-file-executable-if-script-p): Check that
5278 buffer contains at least 2 characters.
5280 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
5282 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
5284 2000-08-29 Dave Love <fx@gnu.org>
5286 * diff-mode.el (diff-mode) <defgroup>: Add :version.
5287 (diff-mode-shared-map): Bind mouse-2.
5288 (diff-imenu-generic-expression): New variable.
5289 (diff-mode): Use it.
5291 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
5292 (mouse-popup-menubar): Add minor mode menus.
5293 (popup-menu): Check for lookup-key returning number.
5295 2000-08-29 Miles Bader <miles@gnu.org>
5297 * comint.el (comint-send-input): Create overlays using the proper
5298 front/read-advance arguments.
5300 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5302 * ps-print.el: Even/odd pages printing. Doc fix.
5303 (ps-print-version): New version number (6.0).
5304 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
5305 (ps-background, ps-begin-file, ps-begin-job): Code fix.
5306 (ps-print-duplex-feature): Variable eliminated.
5307 (ps-even-or-odd-pages): New variable.
5309 * progmodes/ebnf2ps.el: Doc fix.
5310 (ebnf-version): New version (3.3).
5311 (ebnf-user-arrow): Change variable customization to sexp.
5312 (ebnf-user-arrow): Function eliminated.
5313 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
5315 2000-08-29 Kenichi Handa <handa@etl.go.jp>
5317 * help.el (help-xref-mule-regexp): New variable.
5318 (help-make-xrefs): Handle help-xref-mule-regexp.
5320 * international/mule-cmds.el (help-xref-mule-regexp-template): New
5322 (describe-input-method): Temporarily activate the specfied input
5323 method to display the information.
5324 (describe-language-environment): Hyperlinks to mule related items.
5326 * international/mule-diag.el (charset-multibyte-form-string): New
5328 (list-character-sets-1): Use charset-multibyte-form-string.
5329 (describe-character-set): New function.
5330 (describe-coding-system): Hyperlinks to safe character sets.
5332 * international/quail.el (quail-help): New arg PACKAGE.
5333 Hyperlinks to mule related items.
5334 (quail-help-insert-keymap-description): Use
5335 substitute-command-keys instead of describe-bindings.
5336 (quail-translation-help): Hyperlinks to mule related items.
5338 2000-08-28 John Wiegley <johnw@gnu.org>
5340 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5341 have a defsubst call itself. Made `eshell-flatten-list' back into
5344 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5345 catch, in case re-centering point at bottom messes up the display.
5346 This happens frequently in Emacs 21, due I believe to variable
5349 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5350 to call `find-tag-interactive'.
5352 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5353 the list of remember directories.
5355 2000-08-28 John Wiegley <johnw@gnu.org>
5357 * align.el: Test align-region-separate to see if it's a symbol.
5359 2000-08-28 John Wiegley <johnw@gnu.org>
5361 * eshell/esh-util.el (eshell-flatten-list): Made this function
5362 into a defsubst form. It gets used very frequently, although
5363 calls don't occur all that often.
5365 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5368 * eshell/esh-cmd.el (eshell-rewrite-while-command):
5369 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5371 (eshell-copy-handles): Created a new macro for duplicating the
5372 current set of open handles. This is needed by the looping
5374 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5375 is not incorrectly stomped on.
5377 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5378 declaration for pcomplete-use-paring.
5379 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5380 value of eshell-cmpl-use-paring.
5381 * pcomplete.el (pcomplete-use-paring): New config variable, to
5382 indicate whether paring should be used.
5383 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5384 completion alternatives that have already been used.
5386 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5387 bound to C-c C-y, which will repeat the previous N arguments
5388 (based on prefix argument).
5389 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5391 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5392 if there is no *Help* buffer. This is for XEmacs, which renames
5393 its help buffers uniquely. TODO: Find out what the current buffer
5396 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5397 first entry that correlates to a passwd/group number. Later
5398 entries (used for group/user name aliasing to multiple IDs) are
5401 * eshell/em-xtra.el (eshell/expr):
5402 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5403 (eshell-grep, eshell/diff, eshell/locate):
5404 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5405 argument list, before passing it to the system command.
5407 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5408 `find-tag' for use at final position in Eshell buffers (which
5409 otherwise triggers an error on Emacs 21).
5410 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5411 buffer, if it is currently bound to `find-tag'.
5413 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5414 in the list of matched Makefile names.
5415 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5416 directory, prefer its contents to Makefile.
5418 * eshell/em-dirs.el (eshell/cd): cd commands that look up
5419 directory parts (like "cd old new", or "cd =regexp"), are now case
5420 sensitive on non-Windows/DOS platforms.
5422 * eshell/esh-mode.el (eshell-parse-command-input): When a user
5423 types RET after an open delimiter (like "), display a message
5424 indicating that Eshell is waiting for the closing delimiter.
5426 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5427 environment variables.
5429 * eshell/em-unix.el (eshell/diff): Added logic to fail more
5430 gracefully if the user enters incorrect arguments.
5432 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5435 * eshell/esh-var.el (eshell-interpolate-variable):
5436 * eshell/esh-mode.el (eshell-move-argument):
5437 * eshell/em-unix.el (eshell-du-sum-directory):
5438 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5439 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5442 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5443 to ensure the `preserve' flag gets propagated when doing recursive
5446 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
5448 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5449 Don't convert \n into \0177 in memory.
5450 (eshell-read-history, eshell-write-history): Convert \n to \0177,
5451 and back again, when reading and writing.
5453 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
5455 * eshell/esh-util.el (eshell-processp): Added to relieve constant
5456 testing of `fboundp' on `processp'.
5458 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5459 (eshell/jobs): Don't call process-list if it is not bound.
5460 (eshell-gather-process-output): Support systems where async
5461 subprocesses aren't supported.
5462 (eshell-scratch-buffer, eshell-last-sync-output-start): New
5465 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5466 eshell-do-eval returns t.
5467 (eshell-do-pipelines-synchronously): New defmacro.
5468 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5469 when async subprocesses aren't supported.
5470 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
5471 if async subprocesses aren't supported.
5472 (eshell-resume-command): Don't assume STATUS is a string.
5474 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5476 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5477 (eshell-close-target, eshell-get-target): Use eshell-processp.
5478 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5480 (eshell-get-target, eshell-create-handles): Doc fix.
5482 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
5484 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5485 criterion to include commands that output something, as long as it
5486 leaves both the command and the end-of-buffer visible when the
5488 (eshell-review-quick-commands): Adjust the help doc string
5491 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
5493 * locate.el (locate): Cleaned up locate command's interactive prompting
5494 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5496 * filecache.el (file-cache-case-fold-search): New variable
5497 (file-cache-assoc-function): New variable
5498 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5499 Use file-cache-case-fold-search variable
5500 (file-cache-add-file): Use file-cache-assoc-function
5501 (file-cache-delete-file): likewise
5502 (file-cache-directory-name): likewise
5503 (file-cache-debug-read-from-minibuffer): likewise
5505 2000-08-28 Gerd Moellmann <gerd@gnu.org>
5507 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5508 (abbrev-table-name): New function.
5509 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5510 If non-nil list local abbrev, only.
5512 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
5514 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5515 from Gnus support code, and use special article copy buffer
5516 `(gnus-original-article-buffer)' instead. This allows to get rid
5517 of article-hide-headers usage (which breaks in the latest Gnus
5518 version). Thanks to Detlev Zundel.
5520 2000-08-28 Kenichi Handa <handa@etl.go.jp>
5522 * international/quail.el (quail-use-package): Hide "... loaded"
5524 (quail-start-translation, quail-start-conversion): Likewise.
5526 * international/kkc.el (kkc-region): Hide "... loaded" message.
5528 2000-08-27 Dave Love <fx@gnu.org>
5530 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5532 2000-08-27 Miles Bader <miles@gnu.org>
5534 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5536 2000-08-27 Kenichi Handa <handa@etl.go.jp>
5538 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5539 'ja-dic-cnv), not (require 'skkdic-cnv).
5541 2000-08-26 Miles Bader <miles@gnu.org>
5543 * faces.el (face-x-resources): Add entry for :inherit.
5544 * cus-face.el (custom-face-attributes): Add support for :inherit
5545 attribute. Add support for relative face heights.
5546 (custom-face-attributes-get): Treat `nil' as being a default value
5547 for :inherit (as well as `unspecified').
5549 * faces.el (set-face-attribute): Update doc string.
5550 (face-attribute-name-alist): Add :inherit.
5551 (face-valid-attribute-values): Handle :inherit.
5552 (face-read-string): Rephrase prompt to be less confusing.
5553 Assume that DEFAULT is a string, since we must return a string.
5554 (face-read-integer): Use `format' to turn DEFAULT into an
5555 acceptable default for face-read-string. Match NEW-VALUE against
5556 the string "unspecified", not the symbol `unspecified', since
5557 that's what face-read-string returns.
5558 (read-face-attribute): Lookup a name for old-value in valid, and
5559 use it as a default if we find one. Treat all values from
5560 face-read-string as strings. If the default is used, don't do any
5561 more processing on the value, just use the old value directly.
5562 (read-face-and-attribute, modify-face): Tweak prompt.
5563 (read-face-name): Don't assume prompt ends with a space.
5565 * faces.el (describe-face): Add support for :inherit attribute.
5567 2000-08-25 Kenichi Handa <handa@etl.go.jp>
5569 * terminal.el (terminal-emulator): Fix args to `concat'. Now
5570 concat doesn't accept interger.
5572 * international/kkc.el: Remove SKK from Keywords. Require
5573 ja-dic-utl instead of skkdic-utl.
5575 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5576 Provide ja-dic-cnv instead of skkdic-cnv.
5577 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
5578 (iso-2022-7bit-short): Add safe-charsets property.
5579 (skkdic-convert-postfix): Search Japanese chou-on character in
5580 addition to Hiragana character.
5581 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5582 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5583 (batch-skkdic-convert): Likewise.
5585 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5586 Provide ja-dic-utl instead of skkdic-utl.
5587 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5589 2000-08-24 Dave Love <fx@gnu.org>
5591 * disp-table.el (standard-display-default): Make the test of `l'
5594 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5597 * international/iso-ascii.el: Make pilcrow convenient string
5598 consistent with section.
5599 (iso-ascii-display): Set up multibyte characters as well as
5602 2000-08-24 Kenichi Handa <handa@etl.go.jp>
5604 * international/mule-cmds.el (reset-language-environment): Set
5605 default-process-coding-system to '(undecided . iso-latin-1), which
5606 makes process I/O almost consistent with file I/O. Call this
5607 function when mule-cmds.el[c] is loaded.
5609 2000-08-22 Andrew Innes <andrewi@gnu.org>
5611 * makefile.w32-in: New file.
5613 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
5615 * comint.el (comint-output-filter): Compare end of
5616 comint-last-output-overlay with the start of the newly inserted
5617 text, not the end, when deciding whether to extend it.
5618 Set saved-point's insertion type to advance after insertion.
5620 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5621 since this is now done independently of font-lock mode.
5623 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5625 * server.el (server-kill-new-buffers): New user option.
5626 (server-existing-buffer): New buffer-local variable.
5627 (server-visit-files): When using an existing buffer, set
5628 server-existing-buffer to t.
5629 (server-buffer-done): If server-kill-new-buffers is t, kill the
5630 buffer, unless it was already present before visiting it with
5633 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
5635 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5636 even if the display doesn't support colors: some displays will
5637 support bold/underline faces.
5639 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5641 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5643 * startup.el (command-line): If user's init file had an error,
5644 add explanatory text to *Messages*.
5646 2000-08-21 Kenichi Handa <handa@etl.go.jp>
5648 * man.el (Man-getpage-in-background): Decode the process output by
5649 the system locale coding system.
5651 2000-08-20 Dave Love <fx@gnu.org>
5653 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5654 Don't test x-popup-menu.
5655 (function) <complete-function>: Complete only fbound symbols.
5656 <validate, value>: New.
5657 (variable) <complete-function>: Complete only bound symbols.
5658 (coding-system): Add :base-only, :complete-function, :validate,
5659 :value, :prompt-match.
5660 (widget-coding-system-prompt-value): Use read-coding-system and
5662 (editable-field): Add :help-echo.
5663 (widget-push-button-gui, widget-push-button-cache)
5664 (widget-gui-action, widget-editable-list-gui): COmment out, along
5666 (widget-at): Make arg optional.
5667 (widget-echo-help): Adjust for current help-echo calling sequence.
5668 (widget-specify-field, widget-specify-button)
5669 (widget-specify-insert, widget-get-sibling, widget-image-find)
5670 (widget-convert, widget-insert, widget-leave-text)
5671 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5672 (widget-setup, widget-field-find, widget-before-change)
5673 (widget-after-change, widget-default-complete)
5674 (widget-default-create, widget-default-delete)
5675 (widget-push-button-value-create, editable-field)
5676 (widget-field-prompt-value, widget-field-validate)
5677 (widget-choice-value-create, widget-choice-action)
5678 (widget-choice-validate, widget-checklist-add-item)
5679 (widget-radio-add-item, widget-radio-chosen)
5680 (widget-radio-value-inline, widget-editable-list-value-create)
5681 (widget-editable-list-entry-create)
5682 (widget-documentation-link-add)
5683 (widget-documentation-string-value-create)
5684 (widget-regexp-validate, widget-file-complete)
5685 (widget-sexp-validate, widget-plist-convert-widget)
5686 (widget-plist-convert-widget, widget-alist-convert-widget)
5687 (widget-alist-convert-widget, widget-color-complete): Simplify,
5688 particularly to avoid bindings which aren't optimized out.
5690 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
5692 (down-list, backward-up-list, up-list, kill-sexp)
5693 (backward-kill-sexp, mark-sexp): Make arg optional.
5694 (lisp-complete-symbol): Add optional arg PREDICATE.
5696 * cus-start.el: Add display-buffer-reuse-frames,
5697 file-coding-system-alist.
5699 2000-08-20 Gerd Moellmann <gerd@gnu.org>
5701 * startup.el (command-line): Clear realized faces after
5702 modifying TTY color mappings.
5704 2000-08-20 Miles Bader <miles@gnu.org>
5706 * faces.el (face-attr-match-p): Don't return true if ATTRS are
5707 merely a subset of FACE's attributes.
5709 2000-08-19 Miles Bader <miles@gnu.org>
5711 * comint.el (comint-output-filter): Save the point with a marker,
5712 not just a buffer position.
5714 * international/mule.el (set-buffer-process-coding-system): Make
5715 interactive prompt less confusing.
5717 2000-08-19 Gerd Moellmann <gerd@gnu.org>
5719 * hilit-chg.el: General cleanup of doc strings, comments and
5722 2000-08-19 Miles Bader <miles@gnu.org>
5724 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
5725 Compiler macro removed; beginning-of-line is no longer always
5726 equivalent to forward-line, in the presence of fields.
5728 * comint.el (comint-output-filter): Remove ad-hoc saving of
5729 restriction, and just use save-restriction, now that it works
5730 correctly. Don't adjust comint-last-input-start to account for
5731 our insertion; it shouldn't have moved because we don't use
5732 insert-before-markers anymore. Comment out call to
5733 `force-mode-line-update'; why is it here?
5735 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
5736 while checking for prompt to delete. Use `forward-line 0'
5737 instead of beginning-of-line.
5738 (gud-filter): Temporarily widen gud comint buffer while
5741 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
5743 * progmodes/sh-script.el: Big bag of typos.
5745 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
5746 check since ispell-process is not bound when ispell is not yet loaded.
5748 2000-08-18 Dave Love <fx@gnu.org>
5750 * image.el (find-image): Copy `spec' before using plist-put.
5752 2000-08-18 Gerd Moellmann <gerd@gnu.org>
5754 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
5757 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
5758 backward-kill-sexp, analogous to kill-sexp.
5760 * progmodes/icon.el (icon-indent-line)
5761 (icon-is-continuation-line): Handle comments specially.
5763 2000-08-17 Ken Stevens <k.stevens@ieee.org>
5765 * ispell.el: Set to standard author/maintainer/keyword fields.
5766 Fine tuning to menu map appearance and operation, and added help.
5767 Remove `start' and `end' error messages when compiling.
5768 (ispell-choices-win-default-height): Fixed comment string.
5769 (ispell-dictionary-alist-1): Fixed regexp in castellano and
5770 castellano8 dictionaries.
5771 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
5772 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
5773 dictionary, added italiano dictionary.
5774 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
5776 (ispell-tex-skip-alists): Added psfig support.
5777 (ispell-skip-html): Renamed from ispell-skip-sgml.
5778 (ispell-begin-skip-region-regexp, ispell-skip-region)
5779 (ispell-minor-check): Improved html skipping support to skip across
5780 code, and recognize `&' commands without propper `;' syntax;
5781 (ispell-process-line): Fix alignment error when manually
5782 correcting spelling.
5783 (ispell): Fix comment string.
5784 (ispell-add-per-file-word-list): Always put word list on new line.
5786 2000-08-17 Gerd Moellmann <gerd@gnu.org>
5788 * format.el (format-encode-run-method): Fix error message to say
5789 `encode' instead of `decode'. Use save-window-excursion around
5790 shell-command-on-region as in format-decode-run-method because
5791 shell-command-on-region can display a buffer with error output.
5792 (format-decode): Don't record undo information for the decoding.
5793 (format-annotate-function): Add parameter FORMAT-COUNT. Make
5794 that number part of the temporary buffer name so that more than
5795 one decoding using a temporary buffer can happen safely.
5797 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
5798 of `A-z' in the regexp.
5800 * hilit-chg.el: Fix typos in commentary.
5802 * help.el (view-emacs-news): Rewritten for new naming scheme
5805 * startup.el (command-line): Pop to *Messages* in case an error
5806 is signaled while loading user-init-file.
5808 2000-08-17 Andreas Schwab <schwab@suse.de>
5810 * files.el (insert-directory): Don't lose original file name,
5811 undoing an undocumented change.
5813 2000-08-17 Alex Schroeder <alex@gnu.org>
5815 * sql.el (sql-magic-go): Use comint-bol.
5816 (sql-copy-column): Use comint-line-beginning-position.
5817 (comint-line-beginning-position): Define a replacement for
5818 comint-line-beginning-position if it is not fboundp.
5820 2000-08-17 Alex Schroeder <alex@gnu.org>
5822 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
5823 it didn't have any effect anyway.
5825 2000-08-17 Alex Schroeder <alex@gnu.org>
5827 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
5828 --pset and pager=off instead of sending \\o|cat at the beginning
5831 2000-08-17 Miles Bader <miles@gnu.org>
5833 * progmodes/octave-inf.el: Add compatibility definition of
5834 comint-line-beginning-position.
5836 2000-08-17 Kenichi Handa <handa@etl.go.jp>
5838 * startup.el (normal-top-level): Look in each dir in load-path for
5839 a leim-list.el file too. This assures of loading leim-list.el
5840 that is created at Emacs installation time even if a user have his
5843 2000-08-17 Miles Bader <miles@gnu.org>
5845 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
5846 foreground color to black if the background is dark.
5848 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
5850 * loadhist.el (unload-feature): Typo.
5852 * finder.el (finder-compile-keywords):
5853 * cus-dep.el (custom-make-dependencies): Add local-variable settings
5854 to the generated file.
5856 * mail/mh-e.el (mh-make-local-vars):
5857 Replace make-variable-buffer-local with make-local-variable.
5860 * options.el (Edit-options-{set,toggle,t,nil}):
5861 * mail/mailabbrev.el (mail-abbrevs-mode):
5862 * textmodes/tex-mode.el (tex-expand-files):
5863 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
5865 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
5867 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
5868 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
5869 Allow going past the last element.
5870 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
5871 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
5872 (cvs-mouse-toggle-mark): Don't move point.
5873 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
5875 * progmodes/compile.el (grep): Provide a default set of files.
5876 (next-error): Docstring fix.
5877 (compilation-find-file): Avoid find-file (fails in a dedicated window).
5879 * emacs-lisp/easy-mmode.el (define-minor-mode):
5880 Use `symbol-value' to keep the byte-compiler quiet.
5882 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
5883 (diff-find-source-location): New fun, extracted from diff-goto-source.
5884 (diff-goto-source): Use it.
5885 (diff-next-complex-hunk, diff-filter-lines): New function.
5886 (diff-apply-hunk): New command.
5888 * smerge-mode.el (smerge-mode-menu): Doc fix.
5890 * msb.el (msb-mode): Define it in terms of define-minor-mode.
5892 2000-08-16 Dave Love <fx@gnu.org>
5894 * windmove.el (windmove) <defgroup>: Add :version.
5896 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
5897 (goto-address-fontify-p, goto-address-highlight-p)
5898 (goto-address-url-face, goto-address-url-mouse-face)
5899 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
5900 (goto-address-url-regexp): Use thing-at-point-url-regexp.
5901 (goto-address-fontify, goto-address-at-mouse): Simplify,
5902 (goto-address-at-point): browse-url-url-at-point,
5903 goto-address-find-address-at-point can return nil.
5904 (goto-address-find-address-at-point): Return nil on failure.
5906 * align.el (align) <defgroup>: Add :version.
5908 * calculator.el (calculator): Add :version.
5909 (calculator): Use two lines for calculator window if `modeline'
5912 * play/5x5.el: Doc fixes.
5913 (5x5) <defgroup>: Add :version.
5915 * play/fortune.el (fortune) <defgroup>: Add :version.
5916 (fortune-append): Fix error message.
5917 (fortune-from-region): Doc fix.
5919 * play/pong.el (pong): Doc fix.
5921 * play/morse.el: Keywords, commentary, autoloads.
5923 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
5925 * desktop.el (desktop-save): Don't look at symbol-value of a
5926 member of minor-mode-alist, unless it is boundp.
5928 2000-08-16 Sam Steingold <sds@gnu.org>
5930 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
5931 `while'; use `with-current-buffer' instead of `save-excursion'.
5932 Removed unnecessary kludges now that "*Buffer List*" is excluded.
5934 2000-08-16 Kenichi Handa <handa@etl.go.jp>
5936 * international/ccl.el (declare-ccl-program): Docstring modified.
5937 (ccl-execute-with-args): Likewise.
5939 2000-08-16 Miles Bader <miles@gnu.org>
5941 * progmodes/sql.el: Add compatibility definition of
5942 comint-line-beginning-position.
5944 2000-08-15 Gerd Moellmann <gerd@gnu.org>
5946 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
5947 'buffer-menu' property.
5948 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
5950 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
5951 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
5954 * buff-menu.el (list-buffers-noselect): Don't display the
5955 *Buffer List* buffer.
5957 * font-lock.el: Require jit-lock to prevent a very late
5958 `Loading jit-lock' message.
5960 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
5961 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
5964 2000-08-15 Miles Bader <miles@gnu.org>
5966 * textmodes/ispell.el (ispell-graphic-p): New constant.
5967 (ispell-choices-win-default-height, ispell-help): Use
5968 `ispell-graphic-p' instead of `xemacsp'.
5970 2000-08-15 Dave Love <fx@gnu.org>
5972 * simple.el: Autoload widget-convert when compiling.
5973 (mail-user-agent): Doc fix.
5975 * help.el (function-called-at-point, variable-at-point): Use
5977 (help-manyarg-func-alist): Add insert-and-inherit.
5979 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
5981 * delsel.el (delsel-unload-hook): New function.
5983 * find-file.el: Doc fixes. Move provide to end.
5984 (ff) <defgroup>: Add :link.
5985 (ff-goto-click): Deleted.
5986 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
5987 Use mouse-set-point.
5989 * textmodes/tildify.el: Doc fixes.
5990 (tildify) <defgroup>: Add:version.
5992 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
5993 (glasses-custom-set): Use set-default, not set.
5994 (minor-mode-alist): Propertize the lighter.
5995 (glasses-mode): Provide optional arg.
5997 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
5998 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
5999 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
6000 option. Provide :type.
6001 (cwarn-configuration): Provide :type.
6002 (cwarn-mode): Doc fix.
6004 * add-log.el (change-log-merge): Doc fix.
6005 (change-log-redate): New command.
6007 * net/browse-url.el (browse-url-filename-alist): Add a clause for
6009 (browse-url): Use dolist, not mapcar.
6010 (browse-url-at-point): Check for null url.
6011 (browse-url-event-buffer, browse-url-event-point): Functions
6013 (browse-url-at-mouse, browse-url-netscape): Simplify.
6015 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
6017 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
6018 Fix previous change to mapcan.
6019 (msb--init-file-alist, msb--add-separators)
6020 (msb--make-keymap-menu): Simplify.
6021 (msb--choose-file-menu): Use copy-sequence.
6022 (msb-mode-map): Add title to keymap.
6023 (msb-unload-hook): New function.
6025 * bs.el: Fix indentation.
6026 (bs) <defgroup>: Add :links.
6028 (bs-apply-sort-faces): Don't use window-system.
6029 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
6031 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
6033 * calendar/timeclock.el (timeclock-file): Run .timelog through
6034 convert-standard-filename.
6036 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6038 * emacs-lisp/authors.el: New file.
6040 * paren.el (show-paren-priority): New user option.
6041 (show-paren-function): Set overlay priorities to
6042 show-paren-priority.
6044 2000-08-14 Miles Bader <miles@gnu.org>
6046 * comint.el (comint-bol): Use `forward-line 0' instead of calling
6047 beginning-of-line with inhibit-field-text-motion bound.
6049 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6051 * calendar/timeclock.el: New file.
6053 2000-08-14 David Ponce <david@dponce.com>
6055 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
6056 `widget-button-click'. so that one can use left mouse button to
6057 click on dialog buttons.
6059 2000-08-14 Emmanuel Briot <briot@gnat.com>
6061 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
6062 identifiers, since XML is case sensitive
6064 2000-08-12 Miles Bader <miles@gnu.org>
6066 * comint.el (comint-output-filter): Don't bother frobbing
6067 window-start, it doesn't seem to be necessary.
6069 * comint.el (comint-send-string, comint-send-region): Make into
6070 real functions. Snapshot the prompt before sending.
6072 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6074 * info.el (Info-find-emacs-command-nodes): Rewrite to use
6075 technique similar to Info-index, instead of relying on specific
6076 names of relevant Index nodes.
6077 (Info-goto-emacs-command-node): Bind Info-history to nil when
6078 going to the first node found by Info-find-emacs-command-nodes.
6080 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6082 * menu-bar.el (menu-bar-help-menu): Add a :help string.
6084 2000-08-10 Miles Bader <miles@gnu.org>
6086 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
6088 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6090 * info.el (Info-file-list-for-emacs): More elements for the
6091 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
6094 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
6096 * comint.el (comint-send-input): Make the newline boundary overlay
6097 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
6098 (comint-output-filter): Use `insert' instead of
6099 `insert-before-markers'. Extend comint-last-output-overlay when
6100 necessary since we can't rely on insert-before-markers to do it.
6101 * gud.el (gud-filter): Use `with-current-buffer' instead of
6102 save-excursion when inserting the output, so that point gets
6103 updated correctly; the old method relied on a rather dodgy
6104 side-effect of comint-output-filter to avoid the effect of
6107 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6109 * files.el (recover-file): Call insert-directory instead of
6110 invoking `ls' directly.
6112 2000-08-10 Miles Bader <miles@gnu.org>
6114 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
6115 (comint-last-prompt-overlay): New variables.
6116 (comint-output-filter): Implement prompt highlighting.
6117 (comint-snapshot-last-prompt): New function.
6118 (comint-send-input): Snapshot the last prompt.
6119 Use comint-highlight-input-face.
6120 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
6121 Use defface instead of defcustom.
6122 (send-invisible, comint-send-eof): Snapshot the last prompt.
6123 (comint-delchar-or-maybe-eof): Use comint-send-eof.
6124 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
6126 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
6128 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
6129 (regexp-opt-group): Use a list of chars for `letters'.
6130 (regexp-opt-charset): `chars' is now a list of chars.
6131 Use a char-table rather than a vector so it works for multibyte chars.
6133 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
6134 Set cvs-minor-current-files to the selected fileinfo.
6135 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
6136 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
6138 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
6140 * files.el (insert-directory): Don't call access-file on
6141 directories on DOS and Windows.
6143 2000-08-09 Kenichi Handa <handa@etl.go.jp>
6145 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
6146 longer if necessary.
6147 (ccl-embed-code): Call ccl-embed-data to store CODE in
6150 2000-08-09 Miles Bader <miles@gnu.org>
6152 * comint.el (comint-output-filter): Properly handle the case where
6153 the text surrounded by comint-last-output-overlay was deleted.
6155 2000-08-08 Gerd Moellmann <gerd@gnu.org>
6157 * info.el (Info-insert-dir): Use Info-additional-directory-list if
6159 (Info-file-list-for-emacs): Remove "info" from the list because
6160 that leads to trying to use the documentation from file `info'
6161 in various situations where it isn't appropriate, for instance
6164 * ffap.el (ffap-read-file-or-url-internal): Handle case that
6165 DIR and/or STRING are nil.
6167 * progmodes/compile.el (compilation-setup): Make variable
6168 compilation-error-screen-columns buffer-local, as some comment
6169 in the code suggests it should be.
6171 * files.el (auto-mode-interpreter-regexp): New variable.
6172 (set-auto-mode): Use it.
6174 * indent.el (indent-for-tab-command): Doc fix.
6176 * mouse-sel.el (mouse-sel-mode): Doc fix.
6178 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
6181 * help.el (print-help-return-message): When
6182 display-buffer-reuse-frames is set, let the help window been quit,
6183 instead of deleting it, which might delete a reused frame.
6185 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
6187 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
6188 rename a directory to a name that differs only by its letter case.
6190 2000-08-08 Kenichi Handa <handa@etl.go.jp>
6192 * international/quail.el (quail-define-rules): Handle Quail decode
6193 map correctly. Add code for supporting annotations.
6194 (quail-install-decode-map): New function.
6195 (quail-defrule-internal): New optional arguments decode-map and
6197 (quail-advice): New function.
6199 2000-08-07 Sam Steingold <sds@gnu.org>
6201 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
6202 `defconst', `define-condition', `with-slots'.
6203 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
6205 2000-08-03 Miles Bader <miles@gnu.org>
6207 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6209 (comint-prompt-regexp, comint-get-old-input): Document dependence on
6210 comint-use-prompt-regexp-instead-of-fields.
6211 (comint-send-input): Add `input' field property to stuff we send to
6212 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
6213 (comint-output-filter): Add `output' field property to process
6214 output, if comint-use-prompt-regexp-instead-of-fields is nil.
6215 (comint-replace-by-expanded-history)
6216 (comint-get-old-input-default, comint-show-output)
6217 (comint-backward-matching-input, comint-forward-matching-input)
6218 (comint-next-prompt, comint-previous-prompt): Use field
6219 properties if comint-use-prompt-regexp-instead-of-fields is nil.
6220 (comint-line-beginning-position): New function.
6221 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
6222 (comint-replace-by-expanded-history-before-point): Use
6223 comint-line-beginning-position and line-end-position.
6224 (comint-last-output-overlay): New variable.
6225 (comint-mode): Make `comint-last-output-overlay' buffer-local.
6227 * shell.el (shell-prompt-pattern): Doc change.
6228 (shell-backward-command): Use line-beginning-position.
6230 * gud.el (gud-gdb-complete-command): Use
6231 comint-line-beginning-position.
6233 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
6234 comint-bol doesn't actually go to the beginning of the line.
6236 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
6237 if comint-use-prompt-regexp-instead-of-fields is non-nil.
6238 (try-expand-line-all-buffers): Likewise.
6240 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
6241 explicitly matching comint-prompt-regexp.
6242 (sql-copy-column): Use comint-line-beginning-position instead of
6243 explicitly matching comint-prompt-regexp.
6245 * progmodes/octave-inf.el (inferior-octave-complete): Use
6246 comint-line-beginning-position.
6248 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
6250 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
6251 looking for a prompt, use `forward-line 0' instead of
6252 `beginning-of-line', to avoid getting caught by an input field.
6254 2000-08-07 Gerd Moellmann <gerd@gnu.org>
6256 * files.el (shell-quote-wildcard-pattern): Make sure to return
6257 PATTERN, in the Unix case.
6259 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
6261 * play/zone.el (zone): Discard any pending input before running
6262 the randomly-chosen pgm.
6264 2000-08-07 Kenichi Handa <handa@etl.go.jp>
6266 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
6267 checking the existence of any multibyte characters.
6269 2000-08-06 Gerd Moellmann <gerd@gnu.org>
6271 * help.el (describe-mode): Test minor-mode symbol for being
6272 bound before testing its value for being nil.
6274 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
6275 `first', `second', and `third'.
6277 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
6278 (second): Make it an alias for `cadr'.
6280 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
6282 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
6283 types of display support faces now.
6285 2000-08-05 Gerd Moellmann <gerd@gnu.org>
6287 * pcvs.el (require): Require `cl' during compilation, only.
6289 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
6290 (toplevel): Remove `remq' and `remove' from autoloads.
6291 (cl-fake-autoloads): New variable. If set, arrange for an error
6292 when CL functions etc. are autoloaded.
6294 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
6296 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
6298 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
6299 popped up, but the user clicks outside the menu, return an empty
6300 regexp (that causes unhighlight-regexp to have no effect).
6302 * menu-bar.el (menu-bar-games-menu): Add Zone.
6304 * hi-lock.el (toplevel): Require font-lock.
6306 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6308 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
6309 (ebnf-8-bit-chars): New var for bug fix.
6310 (ebnf-string): Bug fix.
6312 2000-08-03 Sam Steingold <sds@gnu.org>
6314 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
6315 instead of `buffer-string'.
6316 (require 'cl): Always, not just when compiling.
6317 `ignore-errors' in `interactive', `list*', `defun*' &c make this
6320 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
6322 * international/mule-cmds.el (select-safe-coding-system): Make
6323 the message text about selecting a safe coding system more clear.
6325 2000-08-02 Gerd Moellmann <gerd@gnu.org>
6327 * hi-lock.el: New file.
6329 * play/zone.el: New file.
6331 * replace.el (occur): Set tab-width in the *Occur* buffer to the
6332 value of tab-width in the original buffer. Choose a line number
6333 format that's a multiple of the original buffer's tab width, so
6334 that lines appear right.
6336 * textmodes/ispell.el (ispell): New function, replacing an alias.
6337 Spell-check active region if in transient-mark-mode and mark
6338 is active; otherwise spell-check buffer.
6340 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6342 * ps-mule.el: Fix a customization problem on
6343 ps-mule-font-info-database-default.
6345 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
6347 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6348 display-mouse-p instead of window-system.
6349 (ebrowse-member-mode-map): Ditto.
6351 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6353 * progmodes/ebnf2ps.el: Update ps-print functions call.
6354 Indentation fix. Doc fix.
6355 (ebnf-version): New version number (3.2).
6356 (ebnf-format-color, ebnf-begin-job): Code fix.
6358 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
6360 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6361 font lock support on window-system.
6362 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6364 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6365 display-color-p, if fboundp, instead of window-system.
6367 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
6369 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6370 instead of window-system.
6372 * wid-edit.el (widget-choose): Use display-mouse-p instead of
6374 (widget-choice-mouse-down-action): Use display-popup-menus-p
6375 instead of window-system.
6377 * strokes.el (strokes-file): Run the file name through
6378 convert-standard-filename.
6379 (strokes-mode): Call display-mouse-p instead of looking at
6380 window-system. Change the error message accordingly.
6382 * progmodes/cpp.el (toplevel): Support faces on tty's.
6384 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6385 (lm-plot-square, lm-init-display): Don't use window-system.
6387 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6388 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6390 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6391 instead of looking at window-system.
6393 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6395 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6396 of testing if iswitchb-prepost-hooks is bound, because the
6397 latter will always be true when invoking a recursive minibuffer
6398 from an active Iswitchb buffer.
6400 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
6402 * files.el (shell-quote-wildcard-pattern): New function.
6403 (insert-directory): Call it. Only prepend "\" to command on Unix
6404 and GNU/Linux systems.
6406 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6408 * eshell/esh-groups.el: Change custom :link file names
6409 from `eshell.info' to `eshell'.
6411 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
6413 * dired.el (dired-build-subdir-alist): Expand subdirectory names
6414 correctly in recursive ange-ftp listings.
6416 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6418 * ps-print.el: Fix bug 1: if ps-font-size-internal,
6419 ps-header-font-size-internal and
6420 ps-header-title-font-size-internal variables are not set,
6421 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
6422 face text property is (foreground-color . COLOR) or
6423 `(background-color . COLOR)', ps-print crashes. Doc fix.
6424 (ps-print-version): New version number (5.2.4).
6425 (ps-plot-region): Code fix.
6426 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6427 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6430 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
6432 * glasses.el (glasses-make-readable): Fix uncapitalization of
6433 identifiers like `myXMLDocument'.
6435 2000-07-28 Karl Fogel <kfogel@red-bean.com>
6437 * mail/mail-hist.el (mail-hist-previous-input)
6438 (mail-hist-next-input): Do the obvious code factorization.
6439 (mail-hist-retrieve-and-insert): New func, contains common
6441 If inserting a message body, leave point at top.
6443 2000-07-28 Sam Steingold <sds@gnu.org>
6445 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6446 Use `<=', not `<' to compare times!
6447 (ange-ftp-ls): Remove.
6449 2000-07-27 Gerd Moellmann <gerd@gnu.org>
6451 * play/cookie1.el: Add explanation of how to make cookie.el
6452 compatible with strfile(1) to comment.
6454 * subr.el (remove, remq): New functions.
6456 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6457 escape `*' in regexps.
6458 (midnight-find): Reverse order of arguments in the funcall of
6461 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6464 * play/meese.el: Add Commentary section.
6466 2000-07-27 Alex Schroeder <alex@gnu.org>
6468 * sql.el (sql-ms): Added autoload cookie.
6469 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6470 (sql-oracle): Ditto.
6471 (sql-help): Doc change.
6473 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6474 types and exceptions.
6476 2000-07-27 Alex Schroeder <alex@gnu.org>
6478 * sql.el (sql-placeholder-history): New variable.
6479 (sql-query-placeholders-and-send): New function that will query
6480 the user and replace placeholders with user input.
6481 (sql-oracle): If running on NT, set comint-input-sender to
6482 sql-query-placeholders-and-send.
6484 (sql-stop): If in the SQLi buffer, insert stop notification, else
6485 present it as a message.
6487 2000-07-27 Alex Schroeder <alex@gnu.org>
6489 * sql.el (sql-input-ring-separator): Doc change.
6490 (sql-input-ring-file-name): Doc change.
6491 (sql-interactive-mode): Use `sql-input-ring-separator' and
6492 `sql-input-ring-file-name' to set the comint-mode equivalents
6493 without making them local variables.
6494 (sql-stop): Don't bind `sql-input-ring-separator' and
6495 `sql-input-ring-file-name' dynamically to their comint-mode
6498 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6500 * international/mule.el (register-char-codings): New function.
6501 (make-coding-system): Handle `safe-chars' specification in the arg
6504 * international/mule-cmds.el
6505 (find-coding-systems-region-subset-p): This function deleted.
6506 (sort-coding-systems-predicate): New variable.
6507 (sort-coding-systems): New function.
6508 (find-coding-systems-region): Use
6509 find-coding-systems-region-internal.
6510 (find-coding-systems-string): Use find-coding-systems-region.
6511 (find-coding-systems-for-charsets): Check
6512 char-coding-system-table.
6513 (select-safe-coding-system-accept-default-p): New variable.
6514 (select-safe-coding-system): Mostly rewritten. New argument
6516 (select-message-coding-system): Call select-safe-coding-system
6517 with ACCEPT-DEFAULT-P arg.
6518 (reset-language-environment): Reset default-sendmail-coding-system
6519 to the default value iso-latin-1.
6520 (set-language-environment): Don't set the obsolete variable
6521 charset-origin-alist.
6523 * international/codepage.el (cp-coding-system-for-codepage-1):
6524 Give `safe-chars' property to make-coding-system.
6526 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6527 calling select-message-coding-system twice.
6529 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6530 instead of `safe-charsets'.
6531 (cyrillic-alternativnyj): Likewise.
6532 (ccl-encode-alternativnyj): Don't check the charset
6535 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6537 * composite.el (compose-chars-after): Preserve match data.
6539 2000-07-26 Sam Steingold <sds@gnu.org>
6541 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6542 (ange-ftp-real-file-newer-than-file-p): New function.
6543 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6544 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6546 * tooltip.el (tooltip-float-time): Removed (use `float-time').
6547 * midnight.el (midnight-float-time): Ditto.
6549 2000-07-26 Andreas Schwab <schwab@suse.de>
6551 * files.el (normal-backup-enable-predicate): Correct
6552 interpretation of the return value of compare-strings.
6554 2000-07-26 Gerd Moellmann <gerd@gnu.org>
6556 * isearch.el (isearch-resume): New function.
6557 (isearch-done): Add something to command-history to resume
6559 (isearch-yank-line, isearch-yank-word): Use
6560 buffer-substring-no-properties instead of buffer-substring.
6562 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6563 of flyspell-mouse-map.
6565 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6566 duplicate definition.
6567 (makefile-mode): Remove duplicate setting of local-abbrev-table.
6569 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6570 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6572 2000-07-25 Sam Steingold <sds@gnu.org>
6574 * net/ange-ftp.el: Get modtime over the net.
6575 (ange-ftp-file-modtime): New function.
6576 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6577 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6579 (ange-ftp-dot-to-slash): New function.
6580 (ange-ftp-fix-name-for-vms): Use it.
6582 * midnight.el (midnight-buffer-display-time): Use
6583 `with-current-buffer'.
6585 2000-07-25 Gerd Moellmann <gerd@gnu.org>
6587 * find-dired.el: Update copyright notice.
6588 (find-dired): Offer to kill a running `find'.
6590 * enriched.el (enriched-face-ans): For a `foreground-color'
6591 property, return '(("x-color" COLOR))' so that COLOR will be
6592 output as a parameter of the x-color annotation. Likewise for the
6593 `background-color' property. In the case of normal face
6594 properties, don't return annotations for unspecified foreground
6595 and background face attributes.
6597 2000-07-25 Kenichi Handa <handa@etl.go.jp>
6599 * language/japan-util.el (japanese-katakana-region): Fix handling
6602 2000-07-25 Miles Bader <miles@gnu.org>
6604 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6605 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
6608 2000-07-24 Andrew Innes <andrewi@gnu.org>
6610 * timer.el (timer-activate-when-idle): Add optional parameter
6611 DONT-WAIT. Update docstring.
6612 (run-with-idle-timer): Specify extra parameter to
6613 timer-activate-when-idle, so that timer will be activated
6614 immediately if Emacs is already idle.
6616 * w32-fns.el (w32-using-nt): Fix docstring.
6618 2000-07-24 Dave Love <fx@gnu.org>
6620 * mouse.el (popup-menu): Set last-command-event.
6621 (mouse-major-mode-menu-prefix): Declare.
6623 2000-07-24 Gerd Moellmann <gerd@gnu.org>
6625 * textmodes/flyspell.el: Update to author's version 1.5d.
6627 * progmodes/hideshow.el: Update copyright notice.
6629 * vcursor.el: Set maintainer to FSF, since author cannot
6632 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
6634 * info.el (Info-goto-emacs-key-command-node): Leave a space after
6637 * mouse.el (popup-menu): Run the keymap through indirect-function,
6638 in case it was defined with define-prefix-key. If the menu is a
6639 list of keymaps, look up the binding of user's choice in each one
6641 (mouse-popup-menubar): If the global and local menu-bar keymaps
6642 don't have a prompt string, create one and insert it into the
6643 keymap. Don't barf if current-local-map returns nil.
6645 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
6647 * dired.el (dired-sort-R-check): Added to allow recursive listing
6649 (dired-sort-other): Use it.
6651 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6653 * Release of cc-mode 5.27
6655 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6657 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6658 c-beginning-of-statement-1 that caused a bad case of recursion
6659 which could consume a lot of CPU in large classes in languages
6660 that have in-expression classes (i.e. Java and Pike).
6662 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6663 statements before top level constructs (i.e. case 6 is moved
6664 before case 5 and is now case 4) to catch in-expression
6665 classes in top level expressions correctly.
6667 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6669 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6670 objc-method-intro. Case 4 removed and case 5I added.
6672 * cc-langs.el (c-append-paragraph-start): New variable used by
6673 c-common-init to get paragraph-start correct.
6674 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6675 initialize paragraph-start to make it correct both with and
6676 without the javadoc special case.
6678 * cc-mode.el (java-mode): Use c-append-paragraph-start to
6679 initialize paragraph-start for javadoc markup.
6681 * cc-vars.el (c-style-variables-are-local-p): Incompatible
6682 change by defaulting this to t. It's motivated by the
6683 confusing behavior that otherwise arise from the style system
6684 when editing both java and non-java files at the same time
6685 (see the comments about style setting in c-common-init).
6687 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6689 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
6690 similar to the one in c-fill-paragraph to check the fill
6691 prefix from the adaptive fill function for sanity.
6693 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6695 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
6698 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6700 * cc-mode.texi Documented the change of cpp-macro.
6702 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6704 * cc-align.el (c-lineup-multi-inher): Handle lines with
6705 leading comma nicely. Extended to handle member initializers
6708 * cc-engine.el: (c-beginning-of-inheritance-list,
6709 c-guess-basic-syntax): Fixed recognition of inheritance lists
6710 when the lines begins with a comma.
6712 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
6714 * cc-vars.el (c-offsets-alist): Changed default for
6715 member-init-cont to c-lineup-multi-inher since it now handles
6716 member initializers and indents better for leading commas.
6718 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6720 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
6721 handling that caused class open lines to be recognized as
6722 statement-conts in some cases.
6724 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
6725 guessed by the adaptive fill function unless point is on the
6726 first line of a block comment.
6728 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
6729 when the buffer ends with a macro continuation char.
6731 * cc-engine.el (c-guess-basic-syntax): Added support for
6732 function definitions as statements in Pike. The first
6733 statement in a lambda block is now labeled defun-block-intro
6734 instead of statement-block-intro.
6736 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
6737 so that the class surrounding point is selected, not the one
6738 innermost in the state.
6740 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
6741 recognition of switch labels having hanging multiline
6744 * cc-engine.el (c-beginning-of-member-init-list): Broke out
6745 some code in c-guess-basic-syntax to a separate function.
6746 * cc-engine.el (c-just-after-func-arglist-p): Fixed
6747 recognition of member inits with multiple line arglists.
6748 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
6749 member-init-cont when the commas are in funny places.
6751 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6753 * cc-defs.el (c-auto-newline): Removed this macro since it's
6756 * cc-engine.el (c-looking-at-bos): New helper function.
6757 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
6758 inexpr and toplevel classes apart in Pike.
6760 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
6763 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
6764 constant, since "class" can introduce an in-expression class
6767 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6769 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
6770 indentation on cpp-macro lines.
6772 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
6773 a syntax modifier like comment-intro, to make it possible to
6774 get syntactic indentation for preprocessor directives. It's
6775 incompatible wrt to lineup functions on cpp-macro, but it has
6776 no observable effect in the 99.9% common case where cpp-macro
6779 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6781 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
6782 member-init-cont when the preceding arglist is several lines.
6784 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6786 * cc-styles.el (c-style-alist): The basic offset for the BSD
6787 style corrected to 8.
6789 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6791 * cc-styles.el (c-style-alist): Adjusted the indentation of
6792 brace list openers in the gnu style.
6794 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6796 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
6798 * cc-cmds.el (c-electric-brace, c-electric-slash,
6799 c-electric-star, c-electric-semi&comma, c-electric-colon,
6800 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
6801 when c-syntactic-indentation is nil.
6803 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
6804 we were left at comments preceding the first statement when
6805 reaching the beginning of the buffer.
6807 * cc-vars.el (c-syntactic-indentation): New variable to turn
6808 off all syntactic indentation.
6810 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6812 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
6813 between the text and the block comment ender when it hangs,
6814 depending on how many there are before the fill.
6816 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6818 * cc-engine.el (c-beginning-of-closest-statement): New helper
6819 function to go back to the closest preceding statement start,
6820 which could be inside a conditional statement.
6821 * cc-engine.el (c-guess-basic-syntax): Use
6822 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
6824 * cc-engine.el (c-guess-basic-syntax): Better handling of
6825 arglist-intro, arglist-cont-nonempty and arglist-close when
6826 the arglist is nested inside parens. Cases 7A, 7C and 7F
6829 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
6830 up-to-date with javadoc 1.2.
6832 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6834 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
6835 multiline Pike type decls.
6837 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6839 * cc-cmds.el (c-indent-new-comment-line): Always break
6840 multiline comments in multiline mode, regardless of
6843 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6845 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
6846 fully::qualified::names in C++ member init lists. Preamble in
6849 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6851 * cc-langs.el (c-common-init): Handling of obsolete variables
6852 moved to c-initialize-cc-mode. More compatible style override
6853 when using global style variables.
6854 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
6855 variables moved here.
6857 * cc-mode.texi: Documented the special behavior of
6858 c-special-indent-hook as a style variable. Don't talk about
6859 doing (c-make-styles-buffer-local t) in a mode hook, since
6860 that's already too late to work right.
6862 * cc-styles.el (c-make-styles-buffer-local): Flag style
6863 variable localness in c-style-variables-are-local-p to make
6864 the compatibility measure in c-common-init work well.
6866 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
6867 longer contain set-from-style.
6868 * cc-styles.el (c-initialize-builtin-style): Don't check for
6869 set-from-style on c-special-indent-hook.
6870 * cc-styles.el (c-copy-tree): Obsolete. The standard function
6871 copy-alist is sufficient now.
6873 * cc-styles.el (c-set-style, c-set-style-1,
6874 c-get-style-variables): Fixes to variable initialization so
6875 that duplicate entries in styles have the same effect
6876 regardless of DONT-OVERRIDE.
6878 * cc-styles.el (c-set-style-2): Fixed bug where the
6879 initialization of inheriting styles failed when the
6880 dont-override flag is set.
6882 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
6885 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6887 * cc-defs.el (c-forward-comment): Removed the workaround
6888 introduced in 5.38 since it had worse side-effects. If a line
6889 contains the string "//\"", it regarded the // as a comment
6890 start since the \ temporarily doesn't have escape syntax.
6892 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
6894 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
6895 ada-xref.el before ada-prj.el, so that the Project menu is created
6896 when ada-prj tries to add to it.
6897 (ada-activate-keys-for-case): Suppress the characters that are not
6898 part of the Ada syntax. Better compatibility with else-mode
6899 (ada-adjust-case-interactive): When auto-casing is not active,
6900 correctly insert newlines (used to insert only ^M). Prevent the
6901 syntax table from being changed in case of an error
6902 (or '_' becomes part of a word and some commands are confused).
6903 Do nothing if ada-auto-case is nil.
6904 (ada-after-keyword-p): Ignore keywords that are also attributes
6905 (ada-batch-reformat): Update usage comment
6906 (ada-call-from-contextual-menu): New function
6907 (ada-case-read-exceptions): Reinitialize the casing exception list
6908 first to nil first, so that the casing exception file can be
6910 (ada-check-defun-name): Handles "configure" keyword for gnatdist
6912 (ada-compile-goto-error): Fix regexp used to detect a file:line
6913 anywhere in the error message
6914 (ada-contextual-menu-last-point): New variable
6915 (ada-create-keymap): If the variable delete-key-deletes-forward is
6916 t on XEmacs, it means that DEL should delete one character
6918 (ada-create-menu): Use :included instead of :visible for XEmacs.
6919 New submenu "Options".
6920 (ada-end-stmt-re): Correctly indent "select ... then abort"
6922 (ada-fill-comment-paragraph): Correctly delete all leading '--'
6923 even if they don't match ada-fill-comment-prefix Fix handling of
6924 paragraphs on the first or last line of a file.
6925 (ada-format-paramlist): Fix handling of default parameter values.
6926 (ada-get-body-name): New function.
6927 (ada-get-current-indent): Optimized by searchling directly for an
6928 existing generic part or a statement outside of it. Handle
6929 ada-indent-align-comments when indenting comments Replaced some
6930 regexps by testing directly the next character. This results in a
6931 huge speedup on some files. New indentation scheme for renames
6932 statements. Stop looking for the 'while' or 'for' associated with
6933 a 'loop' at the first semicolon encountered. A "return" can also
6934 match an anonymous access subprogram declaration.
6935 (ada-get-indent-noindent): Ignore strings and comments when
6936 looking for the keywords "record" and "private".
6937 (ada-goto-matching-decl-start): When matching "if", make sure we
6938 are not in fact seeing "end if". Ignore "when" statements except
6939 when initial keyword was "begin". Fix handling of nested
6940 procedures. Add a recursive call to this function to skip over
6941 other 'end' statmts. Fix indentation for "when .. => begin"
6942 (ada-in-open-paren-p): Fix indentation for complex boolean
6943 expressions, where 'and then', 'or else' and parenthesis
6944 statements are mixed up.
6945 (ada-in-paramlist-p): Skip comments while searching for the
6946 beginning Fix handling of operator declarations.
6947 (ada-indent-align-comments): New variable
6948 (ada-indent-current): Change the syntax table only in the
6949 protected section, so that we are sure it is restored correctly.
6950 (ada-indent-on-previous-lines): Use ada-use-indent and
6951 ada-with-indent Correctly indent "select ... then"
6952 (ada-indent-region): Slight speedup.
6953 (ada-indent-renames): New variable.
6954 (ada-last-which-function-subprog, ada-last-which-function-line):
6956 (ada-looking-at-semi-private): Correctly indent the 'private'
6957 keyword when it is the first word in a package declaration.
6958 (ada-loose-case-word): Stop searching if at the end of the buffer.
6959 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
6960 even if point is not initially at the end of the word.
6961 (ada-matching-decl-start-re): Add "when".
6962 (ada-mode): Add support for abbrev-mode, outline-mode and
6963 which-func-mode Override the old find-file.el entry in
6964 ff-special-constructs since it is using the obsolete
6965 ada-spec-suffix variable
6966 (ada-no-auto-case): New function
6967 (ada-scan-paramlist): When parsing the argument type, accept
6968 spaces (as in "X 'Class", generated by Rational Rose).
6969 (ada-other-file-name): No longer loads the other file.
6970 (ada-popup-menu): Save and restore the current buffer and cursor
6971 position before and after displaying the menu.
6972 (ada-search-ignore-complex-boolean): New function.
6973 (ada-uncomment-region): Emacs21 already knows how to delete
6974 comments not starting in the first column.
6975 (ada-use-indent): New variable
6976 (ada-which-function): New function.
6977 (ada-with-indent): New variable
6978 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
6979 can be batch-compiled from the command line.
6981 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
6982 Add to the menu when the file is loaded, not in ada-mode-hook.
6983 Add -toolbar to the default ddd command Switches moved from
6984 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
6985 ada-prj-default-comp-opt
6986 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
6987 Reference Manual to the menu
6988 (ada-check-current): rewritten as a call to ada-compile-current
6989 (ada-compile): Removed.
6990 (ada-compile-application, ada-compile-current, ada-check-current):
6991 Set the compilation-search-path so that compile.el automatically
6992 finds the sources in src_dir. Automatic scrollong of the
6993 compilation buffer. C-uC-cC-c asks for confirmation before
6995 (ada-compile-current): New parameter, prj-field
6996 (ada-complete-identifier): Load the .ali file before doing
6998 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
6999 conform to gnatmake's behavior.
7000 (ada-find-file-in-dir): New function
7001 (ada-find-references): Set the environment variables for gnatfind
7002 (ada-find-src-file-in-dir): New function.
7003 (ada-first-non-nil): Removed
7004 (ada-gdb-application): Add support for jdb, the java debugger.
7005 (ada-get-ada-file-name): Load the original-file first if not done
7007 (ada-get-all-references): Handles the new ali syntax (parent types
7008 are found between <>).
7009 (ada-initialize-runtime-library): New function
7010 (ada-mode-hook): Always load a project file when a file is opened,
7011 so that the casing exceptions are correctly read.
7012 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
7013 (ada-parse-prj-file): Use find-file-noselect instead of find-file
7014 to open the project file, since the latter does not work with
7015 speedbar Get default values before loading the prj file, or the
7016 default executable file name is wrong. Use the absolute value of
7017 src_dir to initialize ada-search-directories and
7018 compilation-search-path,... Add the standard runtime library to
7019 the search path for find-file.
7020 (ada-prj-default-debugger): Was missing an opening '{'
7021 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
7023 (ada-prj-default-gnatmake-opt): New variable
7024 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
7025 buffers, the project file is the default one Save the windows
7026 configuration before displaying the menu.
7027 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
7028 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
7029 ...) regexp-quote identifiers names to support operators +,
7031 (ada-remote): New function.
7032 (ada-run-application): Erase the output buffer before starting the
7033 run Support remote execution of the application. Use
7034 call-process, or the arguments are incorrectly parsed
7035 (ada-set-default-project-file): Reread the content of the active
7036 project file, not the one from the current buffer When a project
7037 file is set as the default project, all directories are
7038 automatically associated with it.
7039 (ada-set-environment): New function
7040 (ada-treat-cmd-string): New special variable ${current}
7041 (ada-treat-cmd-string): Revised. The substitution is now done for
7042 any ${...} substring
7043 (ada-xref-current): If no body was found, compiles the spec
7044 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
7045 compiler to get rid of command line length limitations.
7046 (ada-xref-get-project-field): New function
7047 (ada-xref-project-files): New variable
7048 (ada-xref-runtime-library-specs-path)
7049 (ada-xref-runtime-library-ali-path): New variables
7050 (ada-xref-set-default-prj-values): Default run command now does a
7051 cd to the build directory. New field: main_unit Provide a default
7052 file name even if the current buffer has no prj file.
7055 Rewritten to show a tabbed-dialog.
7056 (ada-prj-add-ada-menu): Remove the map and name parameters.
7057 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
7059 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
7060 (ada-prj-load-from-file): New function
7061 (ada-prj-save): Always save fields that depend on the current buffer
7062 (ada-prj-show-value): New function
7064 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
7065 Ada mode. This will allow us to display the Ada menu in any buffer
7066 we want (for project items).
7067 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
7068 number of spaces in the header.
7070 2000-07-24 Dave Love <fx@gnu.org>
7072 * ediff-init.el (ediff-region-help-echo): Bind face-help.
7074 2000-07-23 Noah Friedman <friedman@splode.com>
7076 * type-break.el (type-break): perform autosave.
7077 Suggested by Stephen Gildea <gildea@intouchsys.com>.
7078 (type-break-do-query): Cancel query schedule while performing
7079 actual query, to avoid possibility of a second query being made
7080 while first one is already in progress.
7081 (type-break-time-stamp-format): New variable.
7082 (type-break-time-stamp): New function.
7083 (type-break-time-warning): Use it.
7084 (type-break-keystroke-warning): Use it.
7085 (type-break-noninteractive-query): Use it.
7087 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
7089 Use add-minor-mode to set minor-mode-alist, if available.
7090 (eldoc-echo-area-use-multiline-p): New user option.
7091 (eldoc-echo-area-multiline-supported-p): New variable.
7092 (eldoc-docstring-format-sym-doc): Use them.
7093 (eldoc-mode): If not using idle timers, append to local post and
7094 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
7095 (eldoc-display-message-no-interference-p): Don't interfere with
7097 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
7098 (eldoc-function-arglist): New function.
7099 (eldoc-function-argstring): Use it.
7101 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
7102 auto save directory exists before calling directory-files.
7104 2000-07-23 Dave Love <fx@gnu.org>
7106 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
7109 2000-07-21 Dave Love <fx@gnu.org>
7111 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
7112 now passed to the function. It now works properly.
7114 * smerge-mode.el (smerge-mode-menu): Fill it out.
7116 2000-07-20 Gerd Moellmann <gerd@gnu.org>
7118 * info-look.el (info-lookup): If *info* is shown in another frame
7119 on the same display, select that frame, instead of switching to
7120 the Info buffer in another window of the selected frame.
7122 * simple.el (universal-argument-map): Bind numeric keypad keys
7123 kp-0 to kp-9 and kp-subtract.
7124 (digit-argument): Handle these keys.
7126 2000-07-20 Dave Love <fx@gnu.org>
7128 * net/goto-addr.el (goto-address-fontify): Don't bother with
7129 buffer-modified and read-only stuff -- irrelevant with overlays.
7130 Put an extra property on the overlays and use it to clean up in
7131 case goto-address is re-run.
7133 2000-07-19 Richard M. Stallman <rms@gnu.org>
7135 * timer.el (run-with-idle-timer): Doc fix.
7137 * mail/mail-utils.el (mail-strip-quoted-names):
7138 Handle case where <...> appears inside "...".
7139 Use replace-match to edit the string more simply.
7140 (rmail-dont-reply-to): Cope with an unmatched ".
7142 2000-07-19 Dave Love <fx@gnu.org>
7144 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
7147 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
7148 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
7149 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
7151 2000-07-19 Gerd Moellmann <gerd@gnu.org>
7153 * textmodes/refer.el: Correct maintainer's email address.
7155 * progmodes/hideif.el: Correct author's email address.
7156 Fix typo in comment.
7160 * mail/mailheader.el: Correct author's mail address.
7162 * gnus/parse-time.el: Correct author's mail address.
7164 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
7166 * comint.el (comint-highlight-input, comint-highlight-face):
7168 (comint-input-ring-file-name): Change custom type.
7169 (comint-mode-map): Bind mouse-2.
7170 (comint-insert-clicked-input): New function.
7171 (comint-send-input): Handle input highlighting.
7173 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
7175 * mouse.el (popup-menu): New function.
7176 (mouse-major-mode-menu): Use it.
7178 2000-07-18 Dave Love <fx@gnu.org>
7180 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
7183 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7185 * faces.el (face-font-selection-order)
7186 (face-font-family-alternatives): Add custom type.
7188 2000-07-18 Dave Love <fx@gnu.org>
7190 * cus-edit.el (custom-variable-reset-saved)
7191 (custom-variable-reset-standard): Remove unused bindings.
7193 * rect.el (open-rectangle-line): Remove unused let.
7195 * hl-line.el (hl-line-highlight): Check hl-line-mode.
7197 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7199 * cdl.el: Fix `Maintainer' keyword.
7201 * play/pong.el: Add author's email address.
7203 2000-07-17 Sam Steingold <sds@gnu.org>
7205 * files.el (insert-directory): Call `split-string' instead of
7208 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7210 * mail/vms-pmail.el: Change maintainer to FSF.
7212 * net/goto-addr.el: Change maintainer to FSF.
7214 * recentf.el: Update from author.
7216 * info.el (Info-title-face-alist): Removed.
7218 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
7220 * eshell/eshell.el (eshell): Replace links to eshell.info with
7221 links to eshell, to avoid problems on systems where the manual is
7222 installed as `eshell'.
7223 * eshell/esh-cmd.el (eshell-cmd): Ditto.
7224 * eshell/em-smart.el (eshell-smart): Ditto.
7225 * eshell/em-banner.el (eshell-banner): Ditto.
7226 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
7228 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
7229 same-file check in the MS-DOS version (it does support inodes).
7231 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
7233 * eshell/eshell.el (eshell-directory-name):
7234 Run default directory name through convert-standard-filename.
7236 2000-07-18 Kenichi Handa <handa@etl.go.jp>
7238 * international/mule-cmds.el (select-safe-coding-system):
7239 Fix typo in the comment.
7241 * language/european.el (compound-text):
7242 Force katakana-jisx0201 to be designated to G1.
7244 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
7245 Don't translate some national variant characters of latin-jisx0201.
7246 (x-ctext): Force katakana-jisx0201 to be designated to G1.
7248 * international/kkc.el (kkc-after-update-conversion-functions):
7250 (kkc-update-conversion): Run functions in it at the tail.
7252 2000-07-16 John Wiegley <johnw@gnu.org>
7254 * lisp/align.el (align-newline-and-indent):
7255 Adding new function. for auto-aligning blocks of code on RET.
7256 (align-region): Fixed badly formatted minibuffer message.
7258 2000-07-17 Kenichi Handa <handa@etl.go.jp>
7260 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
7261 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
7262 the conversion list at first if appropriate.
7263 (kkc-next): Don't update kkc-next-count here.
7264 (kkc-prev): Don't update kkc-prev-count here.
7265 (kkc-show-conversion-list-update): Fix setting up of conversion
7268 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
7270 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
7272 2000-07-16 Dave Love <fx@gnu.org>
7274 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
7275 function to be more specific.
7277 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
7278 non-string help-echo.
7279 (widget-types-convert-widget): Defsubst it.
7280 (widget-echo-help): Try to cope with a help-echo function of two
7283 2000-07-15 Jason Rumney <jasonr@gnu.org>
7285 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7286 Declare as obsolete.
7288 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
7290 2000-07-14 Gerd Moellmann <gerd@gnu.org>
7292 * hilit-chg.el: Fix typo.
7294 2000-07-14 Dave Love <fx@gnu.org>
7296 * info.el (Info-mode-menu): Fix use of :help, :enable.
7298 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
7300 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
7302 2000-07-13 Dave Love <fx@gnu.org>
7304 * emacs-lisp/easymenu.el: Doc fixes.
7305 (easy-menu-remove): Defalias to ignore.
7307 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
7308 Call throw correctly.
7310 2000-07-13 Gerd Moellmann <gerd@gnu.org>
7312 * faces.el (frame-background-mode): Doc fix.
7314 * simple.el (eval-expression-print-length): Change custom type to
7315 allow entering nil as value.
7317 2000-07-13 Dave Love <fx@gnu.org>
7319 * progmodes/fortran.el (fortran-imenu-generic-expression):
7320 Change definition layout.
7321 (fortran-mode-menu): Reinstate customize entries.
7323 * cus-edit.el (custom-group-menu-create, customize-menu-create):
7324 Use :filter, per old XEmacs code.
7326 2000-07-12 Gerd Moellmann <gerd@gnu.org>
7328 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7329 event when deciding what to send to the terminal.
7331 2000-07-12 Dave Love <fx@gnu.org>
7333 * cus-start.el: Add optional version as 4th element of specs and
7334 use it for several things new in v21. Remove load-path. Fix type
7335 of line-number-display-limit.
7337 2000-07-11 Dave Love <fx@gnu.org>
7339 * progmodes/fortran.el: Don't require easymenu.
7340 Use repeat counts in various regexps.
7341 (fortran-mode-syntax-table): Defvar directly.
7342 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7343 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7344 Use defvar, not defconst.
7345 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
7346 (fortran-mode): Set fortran-comment-line-start-skip,
7347 fortran-comment-line-start-skip, dabbrev-case-fold-search.
7348 (fortran-comment-indent): Use defsubst.
7349 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7350 Use fortran-comment-indent, not fortran-comment-indent-function.
7351 (fortran-comment-region, fortran-electric-line-number): Simplify.
7352 (fortran-auto-fill): New function.
7353 (fortran-do-auto-fill): Deleted.
7354 (fortran-find-comment-start-skip):
7355 Check for non-null comment-start-skip.
7356 (fortran-auto-fill-mode, fortran-fill-statement):
7357 Use fortran-auto-fill.
7358 (fortran-fill): Use fortran-auto-fill. Check for null
7359 comment-start-skip. Simplify final clause and use end-of-line finally.
7361 * widget.el (widget-plist-member): New alias.
7363 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
7365 * eshell/esh-module.el (toplevel): Reference
7366 byte-compile-current-file only if it is bound.
7368 2000-07-10 Gerd Moellmann <gerd@gnu.org>
7370 * dired.el: Don't require `dired-aux'.
7372 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
7374 * dired-aux.el (dired-show-file-type): New function.
7375 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7376 (dired-show-file-type): Add autoload.
7378 2000-07-10 Kenichi Handa <handa@etl.go.jp>
7380 * international/mule-diag.el (describe-font): Adjusted for the
7381 change of fontset-info.
7382 (print-fontset): Likewise.
7384 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
7386 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7388 2000-07-07 Gerd Moellmann <gerd@gnu.org>
7390 * bindings.el: Bind `[delete]' to delete-char.
7392 * dired.el (dired-find-alternate-file): New function.
7393 (dired-mode-map): Bind `a' to dired-find-alternate-file.
7394 (toplevel): Require dired-aux when compiling.
7395 (dired-buffers): Move defvar within file to avoid compiler warning.
7397 * info.el (Info-last-search): Variable removed.
7398 (Info-search-history): New variable.
7399 (Info-search): New Info-search-history.
7401 * battery.el, info-look.el: Change author's mail address.
7403 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
7405 * mail/rmail.el (rmail-clear-headers): Don't throw an error
7406 if rmail-ignored-headers is nil.
7407 (rmail-retry-failure): Bind rmail-ignored-headers and
7408 rmail-displayed-headers to nil.
7410 2000-07-06 Gerd Moellmann <gerd@gnu.org>
7412 * lpr.el (lpr-page-header-switches): Add `-h' switch.
7413 (print-region-1): Don't hard code `-h' here.
7415 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7417 2000-07-01 Francesco Potorti` <pot@gnu.org>
7419 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7420 exim can use "your message" instead of "the message".
7422 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
7424 * facemenu.el: Docstrings fixes.
7425 (facemenu-get-face): Don't use internal-find-face.
7426 (facemenu-iterate): Rename arg to match the docstring.
7428 * newcomment.el (uncomment-region): Be more careful when skipping
7429 backwards over `=' not to bump into BOBP.
7431 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
7433 * ediff-diff.el (ediff-wordify): Use syntax table.
7434 * ediff-init.el (ediff-has-face-support-p): Use
7435 ediff-color-display-p.
7436 (ediff-color-display-p): Use display-color-p, changed to defun
7438 Got rid of special cases for NeXT and OS/2.
7439 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7442 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7444 * emacs-lisp/lucid.el: Require CL.
7445 (copy-tree, remprop): Remove, it's provided by CL.
7446 (map-keymap): Define in terms of cl-map-keymap.
7447 (extent-property, set-extent-end-glyph): New functions.
7449 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7451 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7453 * Makefile.in (DONTCOMPILE): Add comment that the name may
7454 not be changed without changing the make-dist script.
7456 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7457 (cl-mapc): Use mapc instead of cl-old-mapc.
7459 2000-07-05 Andrew Innes <andrewi@gnu.org>
7461 * makefile.nt: Add support for `bootstrap' and related targets.
7463 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7465 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7466 (easy-menu-do-define): Use `menu-item' format.
7467 Handle case where easy-menu-create-menu returns a symbol.
7468 Manually call the potential top-level filter in the function binding.
7469 (easy-menu-filter-return): New arg NAME.
7470 Convert to a keymap if MENU is an XEmacs menu.
7471 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
7472 (easy-menu-converted-items-table, easy-menu-convert-item):
7473 New var and fun to memoize easy-menu-convert-item-1.
7474 (easy-menu-do-add-item): Use it.
7475 (easy-menu-create-menu): Use easy-menu-convert-item.
7476 Wrap easy-menu-filter-return around any :filter specification.
7477 Don't convert the menu if a filter was specified.
7478 Tell easy-menu-make-symbol not to check for MENU being an expression.
7479 (easy-menu-make-symbol): New arg NOEXP.
7481 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7483 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7484 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7485 (eval-defun): If called with prefix arg, instrument code for
7488 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7489 similar to that of eval-defun.
7491 2000-07-04 Dave Love <fx@gnu.org>
7493 * hl-line.el (hl-line-overlay): Make it permanent-local.
7495 * calendar/todo-mode.el: Replaced with a working version, based on
7496 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
7498 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
7500 * paths.el (prune-directory-list): New function.
7501 (Info-default-directory-list): Rewritten to more methodically
7502 enumerate a big list of possible info directories (based on the
7503 list used by the standalone info reader).
7505 * info.el (info-initialize): Use prune-directory-list to remove
7506 non-existent directories from Info-directory-list.
7508 * paths.el (Info-default-directory-list): Try a list of possible
7509 info-directories instead of a single one. Add the possible
7510 info directory "/usr/share/info".
7512 * woman.el (woman-man.conf-path): Explicitly include the debian
7513 man-db config file "/etc/manpath.config".
7514 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7515 are present in `manpath.config'.
7516 (woman-manpath): Include "/usr/share/man".
7518 2000-07-03 Gerd Moellmann <gerd@gnu.org>
7520 * frame.el (blink-cursor-mode): Don't hide cursor initially.
7522 * startup.el (command-line): Initialize blink-cursor based
7525 * frame.el (blink-cursor): Default to nil if not running under
7528 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7529 (face-x-resources): Remove duplicate entry for :font.
7531 * textmodes/refer.el (refer-find-entry-internal): Use some-window
7532 instead of cycling through windows with next-window.
7534 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7535 of cycling through windows with next-window.
7537 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7538 of cycling through windows with next-window.
7540 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7541 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7542 instead of cycling through windows with next-window.
7544 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7545 instead of cycling through windows with next-window.
7547 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7548 of cycling through windows with next-window.
7550 * terminal.el (te-process-output): Use walk-windows instead of
7551 cycling through windows with next-window.
7553 * server.el (server-switch-buffer): Use some-window instead of
7554 cycling through windows with next-window.
7556 * window.el (some-window): New function.
7557 (walk-windows): Remove reference to walk-windows-start.
7559 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7561 2000-07-03 Richard Stallman <rms@gnu.org>
7563 * window.el (walk-windows): Guarantee termination by keeping a list
7564 of all the windows already handled.
7566 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7568 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7571 * man.el (Man-notify-when-ready): Don't use window-system. If
7572 Man-notify-method is newframe, and the display is not
7573 multi-frame, select the frame created for the man page.
7574 (Man-init-defvars): Doc fix.
7576 2000-06-28 Gerd Moellmann <gerd@gnu.org>
7578 * faces.el (region): Change background color for light background.
7580 * ediff-wind.el (ediff-setup-control-frame): Remove :box
7581 attribute from mode-line face of Ediff control frame.
7583 * replace.el (query-replace-map): Bind `e' like `E'.
7585 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7587 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7588 Change name to "Select All".
7590 * dos-fns.el (convert-standard-filename): Fix last change.
7592 2000-06-27 Gerd Moellmann <gerd@gnu.org>
7594 * help.el (describe-variable): Don't insert a second `'s' in front
7595 of the string `value is shown below'. Since the syntax-table is
7596 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7597 an existing `'s', so that this won't be deleted.
7599 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7600 * pcmpl-unix.el: New files.
7602 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
7604 * wid-edit.el (widget-member): Use the new plist-member.
7606 2000-06-26 Gerd Moellmann <gerd@gnu.org>
7608 * replace.el (perform-replace): Undo change of 2000-04-04.
7609 Instead, move backward 1 character at the end of the loop when
7612 * faces.el (fringe): Change face for different backgrounds.
7614 * eshell/esh-module.el (toplevel): Load defgroup's differently;
7617 * eshell/*.el: Change spelling of the Free Software Foundation.
7619 * eshell/esh-toggle.el: Removed.
7621 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7623 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7626 2000-06-26 Alex Schroeder <alex@gnu.org>
7628 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7629 `define-key'; instead of checking `(emacs-version)' check for
7630 `set-keymap-parent' and `set-keymap-name' directly. Add entries
7631 for `;' and `o' which might be electric.
7633 (sql-electric-stuff): New user option.
7634 (sql-magic-go): New function which uses `sql-electric-stuff'.
7635 (sql-magic-semicolon): New function which uses
7636 `sql-electric-stuff'.
7638 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7641 (sql-oracle-options): New variable.
7642 (sql-oracle): Use it.
7644 (sql-imenu-generic-expression): Doc change.
7645 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7648 (sql-informix): Added command line parameter "-" to force
7649 sql-informix-program to use stdout.
7651 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
7653 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7654 (cp864-decode-table): Doc fix.
7655 (cp720-decode-table): New variable, supports the Arabic OEM
7656 codepage used by Windows.
7657 (cp737-decode-table): New, Greek OEM codepage used by Windows.
7659 2000-06-23 Dave Love <fx@gnu.org>
7661 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7662 (font-lock-fontify-anchored-keywords): Use
7663 line-beginning-position.
7664 (global-font-lock-mode): Use mapc.
7666 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
7668 * eshell/esh-module.el: Require CL when compiling.
7670 2000-06-23 Gerd Moellmann <gerd@gnu.org>
7672 * comint.el (comint-substitute-in-file-name): Call replace-match
7673 with second and third arg t.
7675 * cus-edit.el (custom-button-face, custom-button-pressed-face):
7676 Specify foreground color.
7678 * faces.el (tool-bar, mode-line, header-line): Specify foreground
7681 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
7683 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
7684 cddr instead of cdddr.
7686 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
7687 instead of copy-list.
7689 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
7692 * subdirs.el: Add eshell subdirectory.
7694 * eshell: New subdirectory containing the Eshell package.
7696 * pcomplete.el: New file.
7698 2000-06-23 Paul Eggert <eggert@twinsun.com>
7700 * mail/mailpost.el (post-mail-send-it): Make sure file has
7701 proper permissions from birth.
7703 * files.el (basic-save-buffer-2): When temporarily setting
7704 file modes, set them to current modes plus 0200, not to 0777.
7706 * emerge.el (emerge-make-temp-file): Make sure file has proper
7707 permissions from birth.
7709 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
7711 * files.el (make-backup-file-name-1): On DOS/Windows, run the
7712 backup file name through convert-standard-filename.
7714 * dos-fns.el (convert-standard-filename): Convert leading
7715 directories as well. When long file names are supported, convert
7716 characters that are invalid in Windows file names.
7718 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7720 * ps-print.el: Fix bug: if ^L is the very first buffer character,
7721 ps-print crashes. New feature: page selection for printing. Create
7722 raw-text-unix coding system for XEmacs. Doc fix.
7723 (ps-print-version): New version number (5.2.3).
7724 (ps-plot-region): Bug fix.
7725 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
7726 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
7727 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
7729 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
7730 (ps-last-page): New vars.
7732 2000-06-21 Gerd Moellmann <gerd@gnu.org>
7734 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
7735 empty option string.
7737 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
7739 * man.el (man): Doc fix.
7741 2000-06-21 Kenichi Handa <handa@etl.go.jp>
7743 * international/mule-cmds.el (set-language-info-alist): Docstring
7746 2000-06-20 Gerd Moellmann <gerd@gnu.org>
7748 * version.el (emacs-version): Use ISO date format.
7750 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
7751 instead of `M-backspace'.
7753 * simple.el (turn-off-auto-fill): New function.
7755 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
7757 * jit-lock.el (with-buffer-prepared-for-jit-lock):
7758 Renamed from with-buffer-prepared-for-font-lock and use
7759 inhibit-modification-hooks rather than setting *-change-functions.
7760 Update all functions to use the new name.
7761 (jit-lock-first-unfontify-pos): New semantics (and doc).
7762 (jit-lock-mode): Make non-interactive.
7763 Don't automatically turn on font-lock.
7764 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
7765 Always use jit-lock-after-change.
7766 Remove and restore font-lock-after-change-function.
7767 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
7768 (jit-lock-after-unfontify-buffer): Remove.
7769 (jit-lock-stealth-fontify):
7770 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
7771 (jit-lock-after-change): Set the `fontified' text-prop to nil.
7773 2000-06-20 Sam Steingold <sds@gnu.org>
7775 * emacs-lisp/cl-indent.el (toplevel): Indent
7776 `print-unreadable-object' properly. Untabify.
7778 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7780 * textmodes/reftex.el (reftex-find-citation-regexp-format):
7781 Support for bibentry.
7782 (reftex-compile-variables): Fixed problem with end of section-re.
7784 * texmodes/reftex-dcr.el (reftex-view-crossref,
7785 reftex-view-crossref-from-bibtex):
7786 Deal with changed `reftex-find-citation-regexp-format'.
7787 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
7788 Replaced `remprop' with `put'.
7789 (reftex-view-crossref, reftex-view-crossref-when-idle):
7790 Support for bibentry.
7792 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
7793 New entry for bibentry package.
7795 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
7796 Regexp also matches "\nobibliography".
7798 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
7799 Call `reftex-ensure-write-access' before doing anything.
7800 (reftex-ensure-write-access): New function.
7802 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7804 * progmodes/idlwave.el: File re-installed (update to version 4.2)
7806 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
7808 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
7810 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
7813 2000-06-20 Dave Love <fx@gnu.org>
7815 * faces.el (frame-background-mode): Use set-default, not set, in
7817 (frame-update-faces, frame-update-face-colors): Define with
7820 * enriched.el (enriched-decode-foreground)
7821 (enriched-decode-background): Don't use internal-find-face.
7823 * apropos.el: Doc fixes.
7825 * cus-edit.el (customize-changed-options): Check arg.
7826 (customize-version-lessp): Don't require decimal point.
7828 * custom.el (defcustom, defgroup): Doc fix.
7830 * newcomment.el (comment) <defgroup>: Add :version.
7831 (comment-multi-line): Doc fix.
7833 * emulation/mlsupport.el (define-hooked-local-abbrev,
7834 define-hooked-global-abbrev): Fix, using define-abbrev.
7836 2000-06-19 Gerd Moellmann <gerd@gnu.org>
7838 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
7841 2000-06-19 Dave Love <fx@gnu.org>
7843 * menu-bar.el (menu-bar-options-save): New function.
7844 (menu-bar-options-menu): Use it.
7845 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
7848 2000-06-19 Andreas Schwab <schwab@suse.de>
7850 * progmodes/etags.el (tags-query-replace): Put new parameters
7851 START and END at the end, for backward compatibility.
7853 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7855 * international/codepage.el:
7856 (cp-coding-system-for-codepage-1): Delete special codes for
7857 generating xxx-dos coding system because now a CCL based coding
7858 system can handle EOL conversion by default.
7860 * international/mule.el (make-coding-system): Generate subsidiary
7861 coding systems for EOL handling variants even for a CCL based
7864 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7866 * international/isearch-x.el (isearch-minibuffer-input-method)
7867 (isearch-minibuffer-input-method-function): These variables
7869 (isearch-with-input-method): Don't use the above variables.
7870 (isearch-process-search-multibyte-characters): Likewise. Call
7871 read-string with the arg INHERIT-INPUT-METHOD t.
7873 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
7875 * font-lock.el (font-lock-after-fontify-buffer)
7876 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
7878 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
7879 Use consistent make-local-variable style for font-lock-fontified.
7880 (jit-lock-fontify-buffer):
7881 Don't bother checking for font-lock-mode and jit-lock-mode.
7883 * time.el: Remove trailing ^M that prevent CVS-merging.
7885 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7887 * Makefile.in (distclean): New target.
7889 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
7891 * Makefile.in (srcdir): Define for update-subdirs.
7893 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7895 * find-lisp.el: New file.
7897 2000-06-16 Andrew Innes <andrewi@gnu.org>
7899 * time.el (display-time-mail-function): New variable, to allow
7900 external packages to indicate when new mail is available.
7901 (display-time-update): Use it.
7903 2000-06-16 Kenichi Handa <handa@etl.go.jp>
7905 * international/mule.el (mule-version): Change version name to
7906 SAKAKI. AOI has already been used by Meadow.
7908 * international/quail.el (quail-show-guidance-buf): To find the
7909 bottom window (but minibuffer), pay attention to the height of
7912 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
7914 * arc-mode.el (archive-mode-map): Use the new menu-item format for
7915 menu-bar menus. Add help strings. Don't remove the Edit menu
7916 from the menu bar, as the menu bar has enough space now.
7918 * Makefile.in (SHELL): Make sure /bin/sh is used.
7920 * woman.el (woman-man-buffer): Fix bold and underlined CJK
7921 characters, which use series of two ^H characters instead of one.
7923 2000-06-15 Gerd Moellmann <gerd@gnu.org>
7925 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
7926 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
7928 (Info-find-node-2): Try a case-sensitive search first, then
7929 do a case-insensitive search.
7931 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
7934 * complete.el (PC-env-vars-alist): New variable.
7935 (PC-complete-as-file-name): New function.
7936 (partial-completion-mode): Initialize PC-env-vars-alist from
7937 process-environment.
7938 (PC-do-completion): Handle completion of env vars.
7940 * info.el (Info-set-mode-line): Show file name in mode line,
7941 use `*Info*' instead of `Info:'.
7943 * startup.el (command-line-1): Change copyright messages to year
7946 2000-06-15 Dave Love <fx@gnu.org>
7948 * net/goto-addr.el (goto-address-fontify): Use keymap property,
7951 2000-06-15 Kenichi Handa <handa@etl.go.jp>
7953 * international/mule.el (set-buffer-file-coding-system): Almost
7954 rewritten to handle `undecided' as no-op.
7956 2000-06-14 Gerd Moellmann <gerd@gnu.org>
7958 * Makefile.in: New file.
7960 * Makefile: Removed.
7962 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
7963 (goto-address-highlight-keymap): Bind C-c RET.
7965 2000-06-14 Kenichi Handa <handa@etl.go.jp>
7967 * mail/sendmail.el (sendmail-send-it): The temporary buffer
7968 inherits buffer-file-coding-system of the current buffer.
7970 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
7971 0. Give correct argument to set-auto-coding-function.
7972 (tar-expunge): For goto-char, use (point-min), not 0.
7973 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
7974 (tar-subfile-save-buffer): Likewize.
7976 * international/mule.el
7977 (after-insert-file-set-buffer-file-coding-system): Call
7978 set-buffer-file-coding-system with the arg FORCE t.
7980 2000-06-13 Gerd Moellmann <gerd@gnu.org>
7982 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
7983 nil. Contemporary sendmails issue an X-Authentication-Warning if
7984 the sender is set with `-f'.
7986 2000-06-13 Dave Love <fx@gnu.org>
7988 * help.el (describe-function-1): Kluge around cases of functions
7989 fset to subrs whose doc doesn't match their symbol-name.
7991 * image.el (insert-image): Default STRING to a space.
7993 * info.el Doc fixes.
7994 (Info-build-node-completions): Match Ref tags.
7996 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
7998 * frame.el (display-multi-frame-p, display-multi-font-p): New
7999 defaliases for display-graphic-p.
8001 * hl-line.el: Fixed a typo in commentary.
8003 2000-06-13 Kenichi Handa <handa@etl.go.jp>
8005 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
8008 2000-06-12 Dave Love <fx@gnu.org>
8010 * image.el (insert-image): Save a little consing.
8012 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8014 * language/tibet-util.el: Convert all tibetan-1-column characters
8015 to the corresponding tibetan characters.
8016 (tibetan-add-components): Delete code for the special treatment of
8019 * language/tibetan.el (tibetan-composable-pattern): Fix previous
8021 (tibetan-vowel-transcription-alist): More rules added.
8022 (tibetan-composite-vowel-alist): New variable.
8023 (tibetan-precomposition-rule-alist): More rules added.
8025 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
8027 * startup.el (command-line): Only call menu-bar-mode if interactive.
8029 * thingatpt.el (toplevel symbol-properties):
8030 * textmodes/makeinfo.el (makeinfo-compile):
8031 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
8032 * progmodes/hideif.el (hif-compress-define-list)
8033 (hide-ifdef-use-define-alist):
8034 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
8035 (ange-ftp-vms-add-file-entry):
8036 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
8037 * man.el (Man-build-man-command):
8038 * mail/rnewspost.el (news-reply-header-hook):
8039 * info.el (Info-insert-dir):
8040 * emulation/mlconvert.el (backward-word, forward-word, setq):
8041 * emacs-lisp/gulp.el (gulp-send-requests):
8042 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
8043 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
8044 (byte-optimize-apply, end of file):
8045 * emacs-lisp/advice.el (ad-advice-class-completion-table)
8046 (ad-make-freeze-definition):
8047 * startup.el (command-line, command-line-1): Don't quote lambdas.
8049 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
8050 (cvs-cleanup-removed): New function.
8051 (cvs-cleanup-functions): New var.
8052 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
8053 some flexibility in specifying additional entries to auto-cleanup.
8054 (cvs-quickdir): New function.
8055 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
8056 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
8057 (cvs-mode-find-file): Check that we are on a filename or dirname
8058 when invoked through a mouse-click.
8059 (cvs-full-path): Remove.
8060 (cvs-dired-action): Re-introduced.
8061 (cvs-dired-noselect): Use it.
8062 (vc-post-command-functions): use this new hook if available.
8064 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
8065 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
8066 (cvs-filename-map, cvs-dirname-map): Remove.
8067 (cvs-default-action): Remove.
8068 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
8069 if the arg is really a keymap.
8070 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
8071 Don't hardcode the mapping from state (aka type) to face, but check
8072 the var cvs-fi-<type>-face instead.
8073 (cvs-fileinfo-from-entries): New function.
8075 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
8077 (cvs-find-file-and-jump): Change default to be safer.
8078 (cvs-mode-diff-map): Define it as a function as well.
8079 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
8080 Bind mouse-2 in this global map rather than with text-properties.
8082 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
8083 file to resolve the ambiguity between C(conflict) and C(need-merge).
8085 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8087 * international/mule.el (set-buffer-file-coding-system): If
8088 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
8091 2000-06-12 Dave Love <fx@gnu.org>
8093 * wid-edit.el (widget-specify-button): Really suppress the face if
8096 2000-06-11 Gerd Moellmann <gerd@gnu.org>
8098 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
8100 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
8102 * imenu.el (imenu-generic-expression): Docstring fix.
8104 * composite.el (composition-function-table): Move the `put'
8105 below the autoload cookie so we can load the file before loaddefs.
8107 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
8109 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
8110 Handle easy-mmode-define-global-mode.
8111 For complex macros like define-minor-mode that can generate
8112 several autoload entries, try to autoload entries in the
8115 * emacs-lisp/easy-mmode.el (define-minor-mode):
8116 If KEYMAP is a symbol, just use it.
8117 Use byte-compile-current-file and load-file-name to infer the
8118 proper :require to pass to defcustom.
8119 Wrap the hook var into `progn' so as not to autoload it.
8120 Add a :autoload-end cookie.
8121 Be more careful about the evaluation of KEYMAP.
8122 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
8123 (define-derived-mode): Move define-abbrev-table outside of defvar.
8125 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
8127 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
8128 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
8129 (backup-compiled-files): Ignore errors during `tar'.
8130 (bootstrap): Make autoloads before elc files.
8132 2000-06-10 Kenichi Handa <handa@etl.go.jp>
8134 * international/mule.el (set-buffer-file-coding-system): If one of
8135 undecided-XXX is specified, change only EOL conversion.
8137 * international/mule-conf.el (unix): New alias for the coding
8138 system undecided-unix.
8140 2000-06-09 Dave Love <fx@gnu.org>
8142 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
8144 * progmodes/executable.el: Byte compile dynamic.
8145 (executable-insert): Change custom type.
8146 (executable-find): Add autoload cookie.
8147 (executable-make-buffer-file-executable-if-script-p): New
8148 function. After Noah Friedman.
8150 * files.el (after-save-hook): Customize, with
8151 executable-make-buffer-file-executable-if-script-p as an option.
8153 2000-06-09 Kenichi Handa <handa@etl.go.jp>
8155 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
8156 "tib24p-mule.bdf" for Tibetan.
8158 * composite.el (decompose-composite-char): Declare it as obsolete.
8160 * man.el (Man-fontify-manpage): Pay attention to underline and
8161 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
8163 2000-06-08 Gerd Moellmann <gerd@gnu.org>
8165 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
8166 Set maintainer to FSF since author isn't reachable.
8168 2000-06-08 Dave Love <fx@gnu.org>
8170 * international/mule-cmds.el (select-safe-coding-system): If
8171 DEFAULT-CODING-SYSTEM is not specified, also check the most
8172 preferred coding-system if buffer-file-coding-system is
8173 `undecided'. From Handa.
8175 2000-06-08 Kenichi Handa <handa@etl.go.jp>
8177 * international/mule.el
8178 (after-insert-file-set-buffer-file-coding-system): If the buffer
8179 size is greater than INSERTED, judget that we are not visiting.
8181 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
8183 * whitespace.el (defgroup whitespace): Comment out `:version'.
8184 XEmacs 20.4 has problems defining the group with this present.
8185 We'll have this commented out till get resolve the problem.
8187 2000-06-07 Gerd Moellmann <gerd@gnu.org>
8189 * align.el: Update from author.
8191 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
8193 * apropos.el (apropos-mode-hook): New user variable.
8194 (apropos-mode): Run apropos-mode-hook.
8196 2000-06-07 David Ponce <david@dponce.com>
8198 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
8199 commands. Require `wid-edit' at run-time.
8201 2000-06-07 David Ponce <david@dponce.com>
8203 * recentf.el: Added some "Commentary".
8204 (recentf-open-more-files, recentf-edit-list): Minor changes to
8205 move the point at the top of the file list. This behaviour is
8206 consistent with the menu one when the list contains a lot of
8208 (recentf-cleanup): Now displays the number of items removed from
8210 (recentf-relative-filter) New menu filter to show filenames
8211 relative to `default-directory'.
8213 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8215 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
8216 with/without giving an error if PostScript printer doesn't have this
8217 kind of page size. Zebra Stripe continues or restarts on next page.
8218 Manual/automatic paper feeding. Switch or not the header.
8219 (ps-print-version): New version number (5.2.2).
8220 (ps-windows-system): Include emx as a Windows system.
8221 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
8222 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
8223 (ps-background-text): Code fix.
8224 (ps-error-handler-message, ps-user-defined-prologue)
8225 (ps-print-prologue-header, ps-printer-name)
8226 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
8227 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
8228 (ps-use-face-background): Customization fix.
8229 (ps-n-up-database): Data fix.
8230 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
8231 (ps-switch-header): New vars.
8232 (ps-xemacs-color-name, ps-face-foreground-name)
8233 (ps-face-background-name, ps-boolean-constant): New funs.
8235 2000-06-07 Dave Love <fx@gnu.org>
8237 * allout.el: New version from Manheimer.
8239 2000-06-07 Kenichi Handa <handa@etl.go.jp>
8241 * textmodes/fill.el (fill-find-break-point): Check the validity of
8244 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8246 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
8247 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
8248 Call display-color-p and display-mouse-p instead of looking at
8251 2000-06-06 Dave Love <fx@gnu.org>
8253 * image.el (find-image): Doc fix. Return nil if image not found.
8254 (put-image, insert-image): Make STRING arg optional.
8256 2000-06-06 Kenichi Handa <handa@etl.go.jp>
8258 * language/vietnamese.el: Remove eval-when-compile.
8259 (viet-viscii-nonascii-translation-table): Define it as a
8260 translation table made from viet-viscii-decode-table.
8261 (viet-viscii-encode-table): Define it as a translation table made
8262 from the reverse map of above.
8263 (viet-vscii-nonascii-translation-table): Define it as a
8264 translation table made from viet-vscii-decode-table.
8265 (viet-vscii-encode-table): Define it as a translation table made
8266 from the reverse map of above.
8267 (ccl-decode-viscii): Use translate-character.
8268 (ccl-encode-viscii, ccl-encode-viscii-font)
8269 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
8272 * language/cyrillic.el: Remove eval-when-compile.
8273 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
8274 translation table made from cyrillic-koi8-r-decode-table.
8275 (cyrillic-koi8-r-encode-table): Define it as a translation table
8276 made from the reverse map of above.
8277 (ccl-decode-koi8): Use translate-character.
8278 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
8279 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
8280 a translation table made from cyrillic-alternativnyj-decode-table.
8281 (cyrillic-alternativnyj-encode-table): Define it as a translation
8282 table made from the reverse map of above.
8283 (ccl-decode-alternativnyj): Use translate-character.
8284 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
8287 * international/mule-diag.el (non-iso-charset-alist): Specify
8288 translation table symbol instead of translation table itself.
8289 (list-block-of-chars): CHARSET may be a translation table symbol.
8291 * international/mule.el (make-coding-system): If CODING-SYSTEM
8292 already exists, override it.
8294 * international/fontset.el: Use family `proportional' for Tibetan
8297 * international/ccl.el (ccl-compile-translate-character): Don't
8298 check if Rrr has property translation-table.
8299 (ccl-compile-map-multiple): Modified to avoid compiler warning.
8301 2000-06-05 Gerd Moellmann <gerd@gnu.org>
8303 * info.el: Bind case-fold-search to t when searching in case
8304 a user sets it to nil in a hook.
8306 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
8308 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8309 * hl-line.el (hl-line-mode): Use the new :global key argument.
8311 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
8312 (tar-clip-time-string): Prepend a space.
8313 (tar-grind-file-mode): Construct a string rather than modifying one.
8314 (tar-header-block-summarize): Fix docstring.
8315 Use `format' rather than an error-prone set of copy-loops.
8317 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8318 (diff-goto-source, diff-unified->context, diff-context->unified)
8319 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8320 understand the format output by the `-p' argument to diff.
8322 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8323 (sh-re-done): Use defconst.
8324 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8325 (sh-help-string-for-variable, sh-guess-basic-offset):
8326 Don't quote lambdas.
8327 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8328 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8330 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8331 (mh-letter-mode): Derive from text-mode.
8332 This implicitly means that it now calls kill-all-local-variables.
8333 Also remove the Emacs-18 compatibility code.
8335 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8336 Make use of symbol-property doc-string-elt.
8337 Use memq rather than a sequence of eq.
8338 (doc-string-elt): Fix the wrong or missing previously unused values.
8339 (autoload-print-form): New function extracted from
8340 generate-file-autoloads to allow recursion when handling progn
8341 so that defvar's and defun's docstrings are properly printed.
8342 (generate-file-autoloads): Use it.
8344 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8345 Use find-file-hooks in the minor-mode function.
8346 Be careful not to loop indefinitely in the post-command-hook function.
8348 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
8350 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8352 * ediff-diff.el (ediff-exec-process): Use --binary for fine
8353 differences whenever appropriate.
8354 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8355 * viper.el (find-file, find-file-other-window): Get viper to do
8358 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
8360 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8361 (jit-lock-fontify-buffer): New function for JIT refontification.
8362 (jit-lock-mode): Fix docstring.
8363 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8364 Remove jit-lock-after-change from the _local_ hook.
8365 (jit-lock-function-1): Fix docstring.
8367 * info.el (Info-on-current-buffer): Initialize info.
8369 * newcomment.el (comment-indent): Ignore comment-indent-hook.
8371 * progmodes/tcl.el (tcl-indent-for-comment):
8372 Ignore comment-indent-hook.
8374 * emacs-lisp/easy-mmode.el: Require CL during compilation.
8375 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8376 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8377 and improve to use the lighter to guess the capitalization.
8378 (define-minor-mode): Inline code from easy-mmode-define-toggle.
8379 Add keyword arguments to specify global-ness or the custom group.
8380 Add local-map and help-echo properties to the lighter.
8381 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8382 (easy-mmode-define-global-mode): New macro.
8384 2000-06-02 Dave Love <fx@gnu.org>
8386 * wid-edit.el: byte-compile-dynamic since we typically don't use
8387 all the widgets. Don't require cl or widget. Remove
8388 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
8389 (widget-read-event): Removed. Callers changed to use read-event.
8390 (widget-button-release-event-p): Renamed from
8391 button-release-event-p.
8392 (widget-field-add-space, widget-field-use-before-change):
8394 (widget-specify-field): Use keymap property, not local-map.
8395 (widget-specify-button): Obey :suppress-face.
8396 (widget-specify-insert): Use modern backquote syntax.
8397 (widget-image-directory): Renamed from widget-glyph-directory.
8398 (widget-image-enable): Renamed from widget-glyph-enable.
8399 (widget-image-find): Replaces widget-glyph-find.
8400 (widget-button-pressed-face): Move defvar.
8401 (widget-image-insert): Replaces widget-glyph-insert.
8402 (widget-convert): Use keywordp.
8403 (widget-leave-text, widget-children-value-delete): Use mapc.
8404 (widget-keymap): Remove XEmacs stuff.
8405 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8406 (widget-button-click): Don't set point at the click, but re-centre
8407 if we scroll out of window. Rewritten for images v. glyphs &c.
8408 (widget-tabable-at): Use POS arg, not point.
8409 (widget-beginning-of-line, widget-end-of-line)
8410 (widget-item-value-create, widget-sublist, widget-princ-to-string)
8411 (widget-sexp-prompt-value, widget-echo-help): Simplify.
8412 (widget-default-create): Use widget-image-insert; some rewriting.
8413 (widget-visibility-value-create)
8414 (widget-push-button-value-create, widget-toggle-value-create): Use
8415 widget-image-insert.
8416 (checkbox): Create on and off images dynamically.
8417 (documentation-link): Change :help-echo.
8418 (widget-documentation-link-echo-help): Remove.
8420 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
8422 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8424 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8425 (easy-mmode-define-toggle, define-minor-mode): Use it.
8426 (easy-mmode-define-keymap): Docstring fix.
8427 (define-derived-mode): Default PARENT to fundamental-mode.
8428 Add the derived-mode-parent symbol-property.
8429 (easy-mmode-derived-mode-p): New function.
8431 2000-06-02 Dave Love <fx@gnu.org>
8433 * files.el (convert-standard-filename): Doc fix.
8434 (normal-backup-enable-predicate): New function.
8435 (backup-enable-predicate): Use it to replace the lambda form.
8437 * calendar/todo-mode.el: [This needs more work on the outline
8439 (todo) <defgroup>: Add :version.
8440 (todo-add-category): Don't use pushnew.
8441 (todo-cmd-raise): Fix typo.
8442 (todo-top-priorities): Change temp buffer name.
8443 (todo-category-alist): Avoid redundant lambda.
8444 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8445 Use outline-next-heading.
8447 * autoarg.el: Rewritten to use define-minor-mode.
8448 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8449 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8451 2000-06-02 Kenichi Handa <handa@etl.go.jp>
8453 * isearch.el (isearch-other-meta-char): Fix previous change.
8455 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8457 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8458 (log-edit-done): Only add the comment to the ring if it's different
8459 from the last comment entered.
8461 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8463 2000-06-01 Dave Love <fx@gnu.org>
8465 * hl-line.el: Rewritten using define-minor-mode.
8467 * help.el (describe-function-1): Distinguish special form from
8468 builtin function. Sanity-check presence of arglist for builtins.
8470 2000-06-01 Kenichi Handa <handa@etl.go.jp>
8472 * international/characters.el: Fix syntax/category setting of
8475 * language/tibet-util.el (tibetan-add-components): Fixes for new
8476 encoding of Tibetan characters.
8477 (tibetan-decompose-precomposition-alist): New variable.
8478 (tibetan-decompose-region): Convert precomposed characters to
8479 non-precomposed characters.
8480 (tibetan-decompose-string): Likewise.
8481 (tibetan-composition-function): Fix args to
8482 thibetan-compose-string.
8484 * language/tibetan.el (tibetan-composable-pattern): More
8485 characters included.
8486 (tibetan-consonant-transcription-alist): Rule for "R" added.
8487 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8489 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8491 * language/lao-util.el (lao-composition-function): Fix args to
8494 * language/thai-util.el (thai-composition-function): Fix args to
8497 * isearch.el (isearch-update): Set disable-point-adjustment to t
8498 to prevent the point moving to the end of a composition when a
8499 part of a composition is searched.
8500 (isearch-other-meta-char): If the key invoking this command can be
8501 mapped by function-key-map to a printing char, call
8502 isearch-process-search-char directly.
8504 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8506 * emacs-lisp/bytecomp.el:
8508 * international/mule-cmds.el:
8509 * international/mule-util.el:
8510 * international/mule.el:
8513 * faces.el: Update calls to make-obsolete with a WHEN argument.
8515 * byte-run.el (make-obsolete, make-obsolete-variable):
8516 Add an optional WHEN argument and change the format of the
8517 symbol-property information.
8518 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8519 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8520 new obsolete-symbol-property format and print WHEN if it is provided.
8522 2000-05-31 Dave Love <fx@gnu.org>
8524 * loadhist.el (loadhist-hook-functions): Remove
8525 before-change-function, after-change-function.
8526 (unload-feature): Deal with symbols which are both bound and
8529 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8530 before-change-function, after-change-function.
8532 * simple.el (newline): Don't bind before-change-function,
8533 after-change-function.
8535 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
8537 * whitespace.el (whitespace-rescan-timer-time): Update interval
8538 set to 600 seconds (10 minutes) instead of 60 seconds since
8539 a large number of whitespace buffers causes emacs to `freeze'
8540 for a considerable amount of time.
8542 * whitespace.el: Updated email address
8544 2000-05-31 Dave Love <fx@gnu.org>
8546 * add-log.el (change-log-font-lock-keywords) <function>: Add
8547 pattern for function of change.
8548 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8549 acknowledgements patterns.
8551 2000-05-31 Kenichi Handa <handa@etl.go.jp>
8553 * isearch.el (isearch-printing-char): If keyboard coding system is
8554 being used, call isearch-process-search-multibyte-characters.
8556 * international/isearch-x.el: Mostly rewritten.
8558 * international/quail.el (quail-start-conversion): Don't include
8559 unhandled events in the returned events, but set them in
8560 unread-command-events. Exit if all inputs are deleted.
8562 2000-05-30 Jason Rumney <jasonr@gnu.org>
8564 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8566 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8567 Reenable code to create initial fontsets.
8568 Use set-fontset-font in place of put-charset-property.
8570 2000-05-30 Gerd Moellmann <gerd@gnu.org>
8572 * progmodes/perl-mode.el (perl-indent-line): When looking for a
8573 label, ensure that the first colon isn't followed by another.
8575 * paths.el (Info-default-directory-list): Doc fix.
8577 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8578 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8579 send a query containing USER only, not USER@HOST.
8581 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8582 and rmail-msgend to compute the restriction at the end, instead of
8585 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8587 * dabbrev.el (dabbrev-expand): Don't display messages in the
8588 echo area if the minibuffer window is active.
8590 * jit-lock.el (jit-lock-mode): Add after change function to
8593 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
8595 * antlr-mode.el: New commands: hide/unhide actions,
8596 upcase/downcase literals.
8597 (antlr-tiny-action-length): New user option.
8598 (antlr-hide-actions): New command. Suggested by
8599 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8600 (antlr-mode-map): New binding [C-c C-v].
8601 (antlr-mode-menu): New entries.
8602 (antlr-downcase-literals): New command.
8603 (antlr-upcase-literals): Ditto.
8605 * antlr-mode.el: Minor changes: indendation, mode-name.
8606 (antlr-indent-line): Indent cpp directive at column 0.
8607 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8609 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8610 (antlr-font-lock-additional-keywords): Workaround for intentional
8611 bug in XEmacs version of font-lock.
8612 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
8613 be used by a smarter version of `buffers-menu-grouping-function'.
8615 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8617 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8618 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8620 2000-05-29 Kenichi Handa <handa@etl.go.jp>
8622 * international/encoded-kb.el
8623 (encoded-kbd-iso2022-designation-map): Pay attention to that
8624 charset-iso-final-char return -1 for eight-bit-control and
8627 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8629 * speedbar.el (speedbar-use-images, speedbar-update-flag)
8630 (speedbar-easymenu-definition-base): Use display-graphic-p where
8631 available, instead of window-system.
8633 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8635 * international/codepage.el (cp-coding-system-for-codepage-1): Add
8636 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8639 2000-05-26 Dave Love <fx@gnu.org>
8641 * disp-table.el (standard-display-underline): Don't use
8644 * mail/reporter.el: Maintainer change. Doc fixes.
8645 (reporter-version): Deleted.
8647 * emacs-lisp/elp.el: Maintainer change.
8648 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8650 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
8652 * add-log.el (add-change-log-entry): Merge the current entry with the
8653 previous one if the previous one is empty.
8655 2000-05-26 Dave Love <fx@gnu.org>
8657 * loadhist.el (unload-feature): Fix interactive spec [from
8658 lijnzaad@ebi.ac.uk].
8660 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8661 subr-arity to check primitives.
8662 (byte-compile-flush-pending, byte-compile-file-form-progn)
8663 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8664 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8667 2000-05-26 Kenichi Handa <handa@etl.go.jp>
8669 * international/fontset.el: Set family names of non-latin charsets
8670 in default fontset to "*".
8672 * international/mule-diag.el (print-fontset): Combine family part
8673 and registry part of the fontname by "-*-" instead of "-".
8675 * international/mule-cmds.el (encode-coding-char): Make strings
8676 multibyte before calling encode-coding-string.
8678 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
8680 * derived.el: Fix keywords.
8681 (define-derived-mode): Only define if needed.
8683 * simple.el (fill-comment, comment-column, comment-start)
8684 (comment-start-skip, comment-end, comment-indent-function)
8685 (block-comment-start, block-comment-end, indent-for-comment)
8686 (set-comment-column, kill-comment, comment-padding, comment-region)
8687 (comment-multi-line, indent-new-comment-line): Remove.
8689 * bindings.el (esc-map): Change ; to comment-dwim and use the new
8690 function names for comment operations.
8692 * newcomment.el: Add abundant autoload cookies.
8693 (comment-style): Don't depend on runtime data at compile-time.
8694 (comment-indent-hook): Remove.
8695 (comment-indent): Check if comment-indent-hook is bound.
8696 (comment-region): Docstring fix.
8698 2000-05-25 Dave Love <fx@gnu.org>
8700 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
8701 byte-code-function-p.
8703 * mail/rmailsum.el: Add provide.
8705 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
8707 * smerge-mode.el (smerge-diff-switches): Don't use list* in
8710 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
8712 * ediff-diff.el (ediff-exec-process): delete --binary option from
8713 non-buffer ediff jobs.
8715 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8717 * hilit-chg.el (highlight-changes-mode): Ask about color or
8718 grayscale support, not about window-system.
8720 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
8722 (ffap-highlight): Always default to t.
8724 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
8725 display-popup-menus-p instead of looking at window-system.
8727 * disp-table.el (standard-display-g1, standard-display-graphic):
8728 Only refuse to use string glyphs on X and MS-Windows.
8730 * avoid.el: Remove window-system from commentary, suggest to use
8731 display-*-p instead.
8733 * apropos.el (apropos-print): Use display-mouse-p instead of
8736 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8738 * international/codepage.el (cp-decoding-vector-for-codepage):
8739 Fill up unsupported characters with their own codes. From Kenichi
8742 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8744 * international/mule-diag.el (describe-char-after): Use
8745 display-graphic-p instead of window-system, so that this function
8748 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8750 * international/codepage.el (cp-make-coding-systems-for-codepage):
8751 Remove the eight-bit-graphic and eight-bit-control charsets from
8752 the list of charsets which we convert into `?'.
8754 2000-05-25 Kenichi Handa <handa@etl.go.jp>
8756 * international/mule-conf.el: Specify CHARSET-ID explicitely for
8758 (mule-unicode-0100-24ff, japanese-jisx0213-1,
8759 japanese-jisx0213-2): New charsets.
8761 * international/fontset.el: Setup default fontset for new charsets.
8763 2000-05-24 Dave Love <fx@gnu.org>
8765 * info.el (Info-find-node-2): Restructure [following "Vadim
8766 S. Solomin" <sovs@uic.nnov.ru>].
8768 * icomplete.el: Fix header for Finder.
8770 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
8772 * rmailout.el (rmail-output-to-rmail-file): Added optional param
8775 * rmail.el (rmail-automatic-folder-directives): New user variable.
8776 (rmail-show-message): Add call to `rmail-auto-file' during
8778 (rmail-auto-file): New function.
8780 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8782 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
8784 (ediff-test-utility,ediff-diff-mandatory-option)
8785 (ediff-reset-diff-options): Utilities for proper initialization of
8786 ediff-diff-options and ediff-diff3-options on Windows.
8788 * ediff-init.el (ediff-merge-filename-prefix): New customizable
8791 * ediff-mult.el (ediff-filegroup-action): Use
8792 ediff-merge-filename-prefix.
8794 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8796 * viper-ex.el (ex-write): Set selective display to nil.
8798 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8800 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
8801 aliases for hebrew-iso-8bit.
8803 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8805 * woman.el: New version from Francis J. Wright
8806 <F.J.Wright@Maths.QMW.ac.uk>.
8807 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
8808 names in environment variables regardless of the path separator.
8809 (woman-topic-all-completions-1): Don't call file-name-directory-p
8810 on all files, since woman-file-regexp already filters out any
8813 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8815 * international/quail.el (quail-start-translation): Don't change
8816 modified-p of the current buffer.
8817 (quail-start-conversion): Likewise.
8819 * international/kkc.el (kkc-region): Don't change modified-p of
8822 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
8824 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
8826 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
8828 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
8829 (speedbar-insert-button): Invisible text property fix.
8830 (speedbar-directory-plus): Renamed from speedbar-directory-+
8831 (speedbar-directory-minus): Renamed from speedbar-directory--
8832 (speedbar-page-plus): Renamed from speedbar-file-+
8833 (speedbar-page-minus): Renamed from speedbar-file--
8834 (speedbar-page): Renamed from speedbar-file-
8835 (speedbar-tag): Renamed from speedbar-tag-
8836 (speedbar-tag-plus): Renamed from speedbar-tag-+
8837 (speedbar-tag-minus): Renamed from speedbar-tag--
8838 (speedbar-expand-image-button-alist): Use above renames.
8840 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
8841 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
8842 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
8843 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
8844 * sb-pg.xpm: Renamed from sb-file.xpm
8845 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
8846 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
8848 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8850 * international/quail.el (quail-show-guidance-buf): Set
8851 current-input-method of the guidance buffer to the name of the
8852 curren input method.
8854 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
8856 * progmodes/compile.el (compile-internal): Style typo.
8858 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
8859 quote vars and functions in the docstring.
8861 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
8863 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
8864 Don't quote lambdas.
8866 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
8868 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8870 * startup.el (command-line): Determine source file of compiled
8871 user init file differently. Warn if compiled user init file
8872 is older than its source file.
8874 * ffap.el (ffap-url-regexp): Add `https'.
8876 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
8878 * files.el (make-backup-file-name-1): Replace slashes with `!'
8879 rather than `|' (which is not allowed on Windows). Replace the
8880 drive letters with a string "drive_X".
8882 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8884 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
8886 * files.el (interpreter-mode-alist): Add `bash2'.
8888 2000-05-22 Dave Love <fx@gnu.org>
8890 * loadhist.el (feature-symbols, file-provides, file-requires): Use
8892 (feature-file): Avoid calling symbol-name. Doc fix.
8893 (file-set-intersect, file-dependents): Use dolist, not mapcar.
8894 (loadhist-hook-functions): Add mouse-position-function.
8895 (unload-feature): Change uses of mapcar.
8897 * files.el (parse-colon-path): Doc fix.
8898 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
8899 (set-auto-mode): Use mapc.
8901 * complete.el (PC-look-for-include-file): Use :alnum: character
8903 (partial-completion-mode): Add autoload cookie.
8905 2000-05-22 Sam Steingold <sds@gnu.org>
8907 * info.el (Info-fontify-node): Fixed the call to
8908 `add-text-properties' (bug introduced on 2000-05-18).
8910 2000-05-22 Dave Love <fx@gnu.org>
8912 * bindings.el: Remove debug-ignored-errors set in other files.
8914 * progmodes/etags.el: Add to debug-ignored-errors.
8915 (visit-tags-table-buffer): Clear out buffers holding old tables
8916 when making a new list.
8917 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
8920 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
8922 (cmpl-string-case-type): Use character classes.
8925 * textmodes/ispell.el:
8928 * progmodes/compile.el: Add to debug-ignored-errors.
8930 * dabbrev.el: Add to debug-ignored-errors.
8931 (dabbrev-completion): Use mapc.
8933 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
8935 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
8936 (woman-mapcan, woman-parse-man.conf)
8937 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
8938 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
8939 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
8941 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
8942 (woman-manpath): Call woman-parse-man.conf.
8943 (woman-emulation): New defcustom, defaults to nroff.
8944 (woman-font-support): New defconst.
8945 (woman-use-symbol-font): New defcustom.
8946 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
8948 Many functions: Doc fix.
8950 2000-05-22 Kenichi Handa <handa@etl.go.jp>
8952 * international/quail.el (quail-simple-translation-keymap): Map
8953 128..255 to quail-self-insert-command.
8954 (quail-keyboard-layout-alist): Add definition for "pc102-de".
8956 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
8958 * help.el (help-manyarg-func-alist): Typo.
8960 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
8961 intervals which makes it heaps simpler.
8963 * newcomment.el (comment-region-internal): Go back to BEG after quoting
8964 the nested comment markers.
8966 * subr.el (remove-hook): Don't turn the hook's value into a list.
8968 2000-05-21 Dave Love <fx@gnu.org>
8970 * edmacro.el (edmacro-parse-keys): Return vector if any elements
8971 are invalid characters.
8973 * international/mule-util.el (detect-coding-with-priority): Use
8974 mapc. Remove redundant lambda.
8976 * international/mule-diag.el (list-non-iso-charset-chars)
8977 (describe-fontset): Remove redundant lambda.
8979 * emulation/crisp.el (brief-mode): New alias.
8981 * emacs-lisp/ring.el (ring-elements): New function.
8983 * emacs-lisp/easymenu.el (easy-menu-create-menu)
8984 (easy-menu-do-add-item): Use keywordp.
8986 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
8988 * replace.el: Doc and error message fixes.
8989 (replace-highlight): Use facep, not internal-find-face.
8991 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
8993 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
8995 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
8996 (log-edit-insert-changelog): Drop `:' as well.
8998 * log-view.el: Fix file description.
8999 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
9001 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
9002 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
9004 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
9005 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
9006 Print a status message if the toggle is called interactively.
9007 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
9008 for global minor modes and use `defcustom' for them.
9010 (easy-mmode-define-derived-mode): Remove.
9011 (define-derived-mode): Fancier default docstring.
9012 (easy-mmode-define-navigation): Signal an error rather than (ding).
9014 * newcomment.el (comment-styles): New `box-multi'.
9015 (comment-normalize-vars): Better default for comment-continue to
9016 avoid whitespace-only continuations.
9017 (comment-search-forward): Always move even in the no-syntax case.
9018 (comment-padright): Only obey N if it's only obeyed for padleft.
9019 (comment-make-extra-lines): Better handling of empty continuations.
9020 Use `=' for the filler if comment-start has only one character.
9021 (uncomment-region): Try handling the special `=' filler.
9022 (comment-region): Allow LINES even if MULTI is nil.
9023 (comment-box): Choose box style based on comment-style.
9025 2000-05-20 Kenichi Handa <handa@etl.go.jp>
9027 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
9028 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
9030 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
9032 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
9033 and insert, not subst-char-in-region.
9035 * international/mule-diag.el (list-character-sets-1): Handle
9036 charsets eight-bit-control and eight-bit-graphic.
9037 (list-iso-charset-chars): Likewise.
9038 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
9039 charactes as is. Use indent-to to align characters.
9041 * international/mule-cmds.el (find-multibyte-characters): Never
9042 exclude charsets eight-bit-control and eight-bit-graphic.
9044 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9046 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
9047 Don't quote lambdas.
9049 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
9051 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9053 * gud.el (gud-jdb-directories): Doc fix.
9055 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9057 * newcomment.el: New file.
9059 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9061 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
9063 2000-05-18 Andreas Schwab <schwab@suse.de>
9065 * dired.el (dired-between-files): Also skip lines beginning with
9068 2000-05-18 Gerd Moellmann <gerd@gnu.org>
9070 * msb.el (msb-menu-cond): Add choice `user'.
9072 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9074 * ps-print.el: Compatibility, customization and doc fix.
9075 (ps-printer-name-option): Replace defconst by defvar.
9076 (ps-postscript-code-directory): XEmacs compatibility.
9077 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
9079 (ps-user-defined-prologue, ps-print-prologue-header)
9080 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
9081 compatibility and code fix.
9082 (ps-print-background-image, ps-print-background-text):
9084 (ps-line-number-start, ps-n-up-on): New vars.
9086 2000-05-18 Espen Skoglund <esk@ira.uka.de>
9088 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
9089 the indent-comment function to just return the appropriate indent.
9091 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
9093 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
9094 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
9095 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
9097 2000-05-18 Dave Love <fx@gnu.org>
9099 * info.el (Info-fontify-node): Add intangible property as well as
9102 * calendar/appt.el (appt-make-list): Match all lines of entry.
9103 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
9105 2000-05-18 Kenichi Handa <handa@etl.go.jp>
9107 * international/mule-diag.el (describe-char-after): Call
9108 internal-char-font, not char-font. If internal-char-font returns
9109 nil, display "-- none --".
9111 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9113 * image.el (image-type-available-p): Don't reference image-types
9116 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
9118 * autoarg.el (autoarg-mode): Typo in the :set argument.
9120 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9122 * startup.el (command-line-1): Don't signal an error if the
9123 directory for auto-save-list files does not yet exist.
9125 2000-05-17 Kenichi Handa <handa@etl.go.jp>
9127 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
9129 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
9131 * subr.el (remove-hook): `setq' hook-value, not `set'.
9133 2000-05-16 Sam Steingold <sds@gnu.org>
9135 * info.el (debug-ignored-errors): More errors to ignore.
9137 2000-05-16 Dave Love <fx@gnu.org>
9139 * cus-edit.el: Don't require cl or easymenu.
9140 (custom-variable-prompt): Test standard-value property, not
9143 2000-05-16 Sam Steingold <sds@gnu.org>
9145 * subr.el (add-hook): `setq' hook-value, not `set'.
9147 2000-05-16 Gerd Moellmann <gerd@gnu.org>
9149 * startup.el (command-line-1): Mention the FAQ in the startup
9152 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
9154 * progmodes/compile.el (compilation-parse-errors): Collect
9155 `nomessage' regexps last.
9157 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
9159 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
9160 to the function name.
9162 2000-05-15 Dave Love <fx@gnu.org>
9164 * speedbar.el (speedbar-recenter): Typo.
9165 (speedbar-expand-line): Make arg optional.
9166 (speedbar-mode): Avoid a compiler warning.
9168 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9170 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
9171 user-specified option string is empty.
9173 * mouse.el (mouse-yank-at-click): Doc fix.
9175 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
9177 * term/internal.el (IT-character-translations): More updates of
9178 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
9181 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9183 * env.el (getenv): New function, interactively callable.
9184 (setenv, getenv): Remove autoload cookies.
9186 * loadup.el: Load `env'.
9188 * progmodes/f90.el: Change author's mail address.
9190 2000-05-14 Dave Love <fx@gnu.org>
9192 * mail/rmail.el (rmail-show-message-hook): Customize and offer
9193 goto-addr as an option.
9195 * help.el (help-xref-stack): Doc fix.
9196 (help-xref-following): New variable.
9197 (help-make-xrefs): Use it.
9198 (help-xref-go-back): Use position information from stack element.
9199 (help-follow): Make position in stack element a pair. Use
9200 help-xref-following.
9202 * autoarg.el: New file.
9204 * faces.el: Declare more functions obsolete.
9206 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
9207 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
9208 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
9209 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
9210 Remove all the setup-...-environment functions.
9212 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
9214 * speedbar.el: Updated the commentary section. xemacs20p now uses
9215 >= when detecting. Require `defimage' safely.
9216 (speedbar-easymenu-definition-base): Add toggle for images.
9217 (speedbar-easymenu-definition-special): Add flush cache & expand.
9218 (speedbar-visiting-tag-hook): Set new defaults. Added options.
9219 (speedbar-reconfigure-keymaps-hook): New variable.
9220 (speedbar-frame-parameters): Updated documentation.
9221 (speedbar-use-imenu-flag): Updated custom tag
9222 (speedbar-dynamic-tags-function-list): New variable.
9223 (speedbar-tag-hierarchy-method): Updated doc & custom.
9224 (speedbar-indentation-width, speedbar-indentation-width) New
9226 (speedbar-hide-button-brackets-flag): Customizable.
9227 (speedbar-vc-indicator): Doc update.
9228 (speedbar-ignored-path-expressions): Updated default value.
9229 (speedbar-supported-extension-expressions): Updated default value.
9230 (speedbar-syntax-table): Remove {} paren status.
9231 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
9232 as "+". Added overlay aliases.
9233 (speedbar-mode): Use `speedbar-mode-line-update' instead of
9234 `force-mode-line-update'.
9235 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
9236 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
9238 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
9239 (speedbar-item-info-tag-helper): Revamped to handle a wider range
9240 of arbitrary text, and new helper functions.
9241 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
9243 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
9244 (speedbar-directory-buttons): Update path search/expansion.
9245 (speedbar-make-tag-line): Pay attention to
9246 `speedbar-indentation-width'. Use more care w/ invisible
9248 (speedbar-change-expand-button-char): Call
9249 `speedbar-insert-image-button-maybe'.
9250 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
9251 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
9252 (speedbar-trim-words-tag-hierarchy)
9253 (speedbar-simple-group-tag-hierarchy): New functions
9254 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
9255 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
9257 (speedbar-mouse-set-point): New function
9258 (speedbar-power-click): Updated documentation.
9259 (speedbar-line-token, speedbar-goto-this-file): Handle more types
9261 (speedbar-expand-line, speedbar-contract-line): Make more robust
9263 (speedbar-expand-line): Takes universal argument to flush the
9265 (speedbar-flush-expand-line): New function.
9266 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
9267 Use new generator insertion method.
9268 (speedbar-fetch-dynamic-tags): New function.
9269 (speedbar-fetch-dynamic-imenu): Removed code now handled in
9270 `speedbar-fetch-dynamic-imenu'.
9271 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
9272 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
9273 "Revert Buffer" menu items.
9274 (speedbar-buffer-buttons-engine): Be smarter when creating a
9275 filename tag (for expansion purposes.).
9276 (speedbar-highlight-one-tag-line,
9277 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
9278 (speedbar-recenter): New functions.
9279 (defimage-speedbar): Image loading abstraction.
9280 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
9281 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
9282 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
9283 (speedbar-tag-type, speedbar-tag-mail): New images.
9284 (speedbar-expand-image-button-alist): New variable.
9285 (speedbar-insert-image-button-maybe): Insert an image over some
9288 2000-05-13 Kenichi Handa <handa@etl.go.jp>
9290 * international/mule-cmds.el (encode-coding-char): An ASCII
9291 character is always encodable.
9293 * international/mule-conf.el: Add more information in descriptions
9296 * international/mule-diag.el (describe-char-after): New function.
9297 (describe-font-internal): Adjusted for the change of font-info.
9298 (describe-font): Likewise.
9299 (print-fontset): Rewritten for the new fontset implementation.
9300 (describe-fontset): Include fontset alias names in completion.
9301 (list-fontsets): Adjusted for the change of print-fontset.
9303 * simple.el (what-cursor-position): If DETAIL is non-nil, call
9304 describe-char-after instead of displaying the detail in the echo
9306 (syntax-code-table): Format changed.
9307 (string-to-syntax): Adjusted for the above change.
9309 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
9311 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
9313 2000-05-12 Dave Love <fx@gnu.org>
9315 * calendar/todo-mode.el: Remove some compatibility stuff and CL
9316 dependence. Use line-{beginning,end}-position, not
9317 point-at{b,e}ol. Some doc fixes.
9318 (todo-position): New function. Fix callers of position to use it.
9319 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9321 2000-05-12 Gerd Moellmann <gerd@gnu.org>
9323 * time.el (display-time-mail-icon): Use `:ascent center'.
9325 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9326 handling FTP security extensions.
9328 2000-05-11 Dave Love <fx@gnu.org>
9330 * calendar/todo-mode.el: New file.
9332 2000-05-11 Gerd Moellmann <gerd@gnu.org>
9334 * comint.el (comint-read-input-ring): Move reference to
9335 comint-input-ring-size outside of the save-excursion. It was
9336 causing the default value to be the only one ever seen.
9338 * font-lock.el: Update copyright. Remove Simon Marshall's email
9339 address on request from him.
9341 * subr.el (substitute-key-definition): Add comment describing
9342 the meaning of PREFIX.
9344 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
9346 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9348 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9349 (add-minor-mode): Don't make the variable buffer-local and add a
9350 reference to define-minor-mode in the docstring.
9352 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9353 HEADER/FOOTER and fix bug with trailing empty directory.
9354 (cvs-append-to-ignore): Use vc-editable-p if available.
9355 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9356 (vc-do-command): Tweak advice to handle the new VC.
9358 * log-view.el (log-view-goto-rev): New function for the new VC.
9359 (log-view-minor-wrap): Use mark-active.
9361 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9362 (log-edit-changelog-full-paragraphs): New var.
9363 (log-edit-insert-changelog): Remove a lonely leading `* file'.
9364 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9365 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9366 (log-edit-changelog-ours-p, log-edit-changelog-entries)
9367 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9368 Replace the `cvs' prefix with `log-edit'.
9370 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9372 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9373 (diff-font-lock-defaults): Explicitly turn off multiline.
9374 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9375 (diff-ediff-patch): Fix call to ediff-patch-file.
9376 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9379 * frame.el (automatic-hscrolling): Typo.
9381 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9383 2000-05-09 Sam Steingold <sds@goems.com>
9385 * apropos.el (apropos-print): use `describe-face' instead of
9386 `customize-face-other-window'.
9388 2000-05-09 Dave Love <fx@gnu.org>
9390 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9392 * help.el (describe-variable): Have customize button pop the
9393 help-xref stack when invoked.
9394 (help-xref-symbol-regexp): Add `face'.
9395 (help-make-xrefs): Check for quoted face names and adapt regexp
9396 submatch numbers to cope.
9397 (help-xref-interned): Maybe insert face doc too. Separate
9398 sections with a line of hyphens.
9400 * faces.el: Some doc fixes. Declare some functions obsolete.
9401 (describe-face): Add customize button. Return the help
9404 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
9406 * term/internal.el (IT-character-translations): Fix last change.
9408 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9410 * woman.el: New file
9411 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9413 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9415 * term/internal.el (IT-character-translations): Update ASCII
9416 simulations for greek-iso8859-7, add latin-iso8859-14 and
9419 * international/mule-cmds.el (set-language-info-alist): Call
9420 define-prefix-command with 3 arguments, to make the map suitable
9423 2000-05-07 Dave Love <fx@gnu.org>
9425 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
9427 2000-05-05 Dave Love <fx@gnu.org>
9429 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9430 list in doc string. Don't quote keyword symbols.
9431 * emacs-lisp/cl.el: Likewise
9432 * emacs-lisp/cl-seq.el: Likewise
9434 2000-05-05 Gerd Moellmann <gerd@gnu.org>
9436 * abbrev.el (abbrev-mode): Make ARG optional.
9438 2000-05-04 Gerd Moellmann <gerd@gnu.org>
9440 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9442 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9444 * subr.el (substitute-key-definition): Clarify documentation.
9446 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
9448 * glasses.el (glasses-convert-to-unreadable): Use
9449 `glasses-separator' instead of the hard-wired "_".
9450 (glasses-mode): Call `glasses-make-unreadable' only in a single
9453 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
9455 * term/internal.el (cjk-codepages-alist): Add associations for
9456 Chinese and Korean codepages. Remove FIXME comment.
9458 2000-05-03 Dave Love <fx@gnu.org>
9460 * time.el (display-time-mail-face, display-time-use-mail-icon):
9462 (display-time-mail-icon): New variable.
9463 (display-time-string-forms): Use the above. Fix the local-map.
9465 2000-05-03 Gerd Moellmann <gerd@gnu.org>
9467 * replace.el (query-replace-map): Add binding for `E'.
9468 (query-replace-help): Extend help text.
9469 (perform-replace): Allow editing the replacement string.
9471 * make-mode.el (makefile-mode-abbrev-table): New variable.
9472 (makefile-mode): Set local abbrev table to
9473 makefile-mode-abbrev-table.
9474 (makefile-font-lock-keywords): Fontify includes and conditionals.
9476 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9479 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9480 mail-interactive-insert-alias.
9481 (mail-abbrev-complete-alias): New command.
9482 (mail-mode-map): Bind it to `M-TAB'.
9484 2000-05-03 Kenichi Handa <handa@etl.go.jp>
9486 * language/lao-util.el (lao-compose-region): New function.
9488 2000-05-02 Gerd Moellmann <gerd@gnu.org>
9490 * files.el (recover-session): Make directories as necessary
9491 if they don't exist yet.
9493 * calendar/cal-french.el
9494 (french-calendar-multibyte-special-days-array)
9495 (french-calendar-special-days-array): Change French text.
9496 (calendar-french-date-string): Change output.
9497 (calendar-goto-french-date): Likewise.
9499 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
9501 * wid-edit.el (widget-default-active): Obey `:always-active'.
9502 (widget-documentation-string-value-create): Set `:always-active'.
9504 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9506 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9507 default prefix to `~/_emacs.d/auto-save.list/_s'.
9508 (normal-top-level): Create the directory for auto-save files, if
9509 it doesn't already exist (in the ms-dos case only).
9511 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9513 * international/mule-cmds.el (set-language-environment): Don't
9514 concat an integer (dos-codepage), use format instead.
9516 2000-05-02 Dave Love <fx@gnu.org>
9518 * help.el (help-xref-on-pp): Check for constant symbols.
9520 2000-04-29 Gerd Moellmann <gerd@gnu.org>
9522 * startup.el (normal-top-level): Put a condition-case around
9523 the code loading subdirs.el.
9525 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9527 * ps-print.el: Upside-down and face background color printing,
9528 line number step, doc fix.
9529 (ps-print-version): New version number (5.2).
9530 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9531 (ps-face-attribute-list, ps-plot-with-face): Code fix.
9532 (ps-spool-config): Var fix.
9533 (ps-printer-name-option): Const fix.
9534 (ps-print-upside-down, ps-use-face-background)
9535 (ps-line-number-step): New vars.
9536 (ps-window-system, ps-lp-system): New consts.
9537 (ps-face-background): New fun.
9539 2000-04-28 Richard Stallman <rms@gnu.org>
9541 * files.el (make-auto-save-file-name):
9542 Apply auto-save-file-name-transforms to visited file name
9543 before generating auto save file name.
9544 (auto-save-file-name-transforms): New variable.
9546 * files.el (backup-enable-predicate):
9547 Correctly test for a file under a temporary directory.
9549 2000-04-28 Gerd Moellmann <gerd@gnu.org>
9551 * subr.el (add-minor-mode): Rewritten.
9553 2000-04-28 Kenichi Handa <handa@etl.go.jp>
9555 * mail/sendmail.el (sendmail-send-it): Set
9556 buffer-file-coding-system to the selected coding system for MIME
9559 2000-04-27 Gerd Moellmann <gerd@gnu.org>
9561 * dired.el (dired-move-to-filename-regexp): Allow format where
9562 YYYY is followed by two spaces.
9564 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9565 in the second character class of the regexp.
9567 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9570 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9573 * subr.el (add-minor-mode): Use `set' instead of `setq'.
9575 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9578 2000-04-27 Sen Nagata <sen@eccosys.com>
9580 * emacs-lisp/crm.el (crm-completion-table): New variable.
9581 (crm-collection-fn, crm-test-completion)
9582 (completing-read-multiple): Use it.
9584 2000-04-27 Dave Love <fx@gnu.org>
9586 * help.el (locate-library): Use mapc.
9587 (help-manyarg-func-alist): Add call-process-region.
9589 2000-04-26 Gerd Moellmann <gerd@gnu.org>
9591 * subr.el (add-minor-mode): Make argument MAP optional.
9593 * desktop.el (desktop-save): Save list of minor modes.
9594 (desktop-create-buffer): Restore minor modes.
9595 (desktop-minor-mode-table): New user-option.
9597 * subr.el (add-minor-mode): New function.
9599 * image.el (find-image): New function.
9600 (defimage): Rewritten to find image at load time.
9602 * startup.el (normal-top-level-add-to-load-path): Handle
9603 case that the default directory is not in load-path.
9605 * help.el: Old patch from Stefan Monnier.
9606 (help-xref-on-pp): New function.
9607 (describe-variable): Use it to display xrefs in a symbol's value.
9609 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
9611 * cus-edit.el (custom-face): Fix parenthesis.
9613 2000-04-26 Kenichi Handa <handa@etl.go.jp>
9615 * mail/rmail.el (rmail-expunge): When there are no deleted
9616 messages, do nothing.
9618 2000-04-26 Dave Love <fx@gnu.org>
9620 * international/mule-cmds.el (locale-translation-file-name):
9622 (set-locale-environment): Set it here (at runtime).
9624 2000-04-25 Gerd Moellmann <gerd@gnu.org>
9626 * replace.el (perform-replace): Add parameters START and END. Use
9627 them instead of the check for a region in Transient Mark mode.
9628 (query-replace-read-args): Return two more list elements for the
9629 start and end of the region in Transient Mark mode.
9630 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9631 (map-query-replace-regexp, replace-string, replace-regexp): Add
9632 optional last arguments START and END and pass them to
9635 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9636 form with additional arguments for perform-replace.
9638 * progmodes/etags.el (tags-query-replace): Add parameters START
9639 and END. Construct a form with additional arguments for
9642 * simple.el (shell-command): Set default directory for "*Shell
9643 Command Output" buffer.
9645 * language/european.el (iso-latin-4): Fix typo.
9647 * emacs-lisp/crm.el: New file.
9649 2000-04-24 Dave Love <fx@gnu.org>
9651 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9652 (Custom-reset-saved, Custom-reset-standard)
9653 (custom-group-value-create, custom-group-set, custom-group-save)
9654 (custom-group-reset-current, custom-group-reset-saved)
9655 (custom-group-reset-standard): Use mapc.
9656 (custom-buffer-create-internal): Disable undo when creating items.
9658 (custom-face): Avoid redundant lambda.
9660 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9662 * startup.el (auto-save-list-file-prefix): Set default to
9663 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9665 2000-04-24 Sam Steingold <sds@gnu.org>
9667 * time-stamp.el (time-stamp-string-preprocess): Always convert
9668 `field-result' to a string.
9670 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9672 * frame.el (scrolling): New group.
9673 (automatic-hscrolling): New user-option.
9675 * startup.el (command-line-x-option-alist): Add `-lsp' and
9678 2000-04-19 Dave Love <fx@gnu.org>
9680 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
9681 (cl-mapc): Rename from mapc. Fix the funcall.
9683 2000-04-19 Gerd Moellmann <gerd@gnu.org>
9685 * simple.el (clone-indirect-buffer-other-window): New command.
9686 (clone-indirect-buffer): Add optional arg NORECROD.
9687 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
9689 * help.el (resize-temp-buffer-window): Use count-screen-lines.
9691 * window.el (count-screen-lines): New function.
9692 (shrink-window-if-larger-than-buffer): Use count-screen-lines
9693 instead of window-buffer-height.
9695 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
9696 non-existing variable comint-input-sentinel.
9697 (inferior-lisp-args-to-list): Removed.
9698 (inferior-lisp): Use split-string instead of
9699 inferior-lisp-args-to-list.
9701 * hexl.el (hexl-insert-hex-string): New command.
9703 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
9706 2000-04-18 Gerd Moellmann <gerd@gnu.org>
9708 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
9709 at the start of an existing but empty folder.
9711 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9713 * ps-mule.el: Customization fix, doc fix.
9714 (ps-multibyte-buffer): Customization fix.
9716 2000-04-17 Richard M. Stallman <rms@gnu.org>
9718 * subr.el (read-passwd): Use read-char-exclusive.
9720 2000-04-17 Gerd Moellmann <gerd@gnu.org>
9722 * textmodes/texinfo.el (texinfo-insert-@email)
9723 (texinfo-insert-@emph, texinfo-insert-@quotation)
9724 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
9725 (texinfo-mode-map): Add key bindings for them.
9727 * files.el (basic-save-buffer-2): Use a template with `$'
9728 instead of `#' for VMS.
9730 * simple.el (clone-indirect-buffer): New function.
9732 2000-04-16 Stephen Eglen <stephen@gnu.org>
9734 * iswitchb.el (iswitchb-case): New function. If the user input
9735 contains any upper-case characters, the search is made
9738 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
9740 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
9742 (texinfo-font-lock-syntactic-keywords): New var.
9743 (texinfo-font-lock-keywords): Remove comment regexp.
9744 (texinfo-insert-block): New function.
9745 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
9746 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
9747 and font-lock-defaults. Use regexp-opt for outline-regexp.
9748 (texinfo-environments): New var.
9749 (texinfo-environment-regexp): Use regexp-opt and
9750 texinfo-environments.
9752 * textmodes/ispell.el (ispell-menu-map-needed): Check that
9753 ispell-process is bound since this might be eval'd before ispell
9755 (ispell-message): Use a tiny bit less magic and a bit more hard
9756 data to figure out what kind of sc-cite-regexp to use.
9758 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
9760 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
9761 (insert-cyclic-diary-entry): Unquote the lambda.
9763 * gud.el (gud-jdb-build-source-files-list): Fix typo.
9765 * files.el (backup-enable-predicate): Unquote the lambda.
9767 * cus-edit.el (custom-face, face): Unquote the lambda.
9769 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9771 * ps-print.el: Check for line-beginning-position definition.
9773 * ps-print.el: Fix counting lines in a region.
9774 (ps-print-version): New version number (5.1.5).
9775 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
9776 (ps-printing-region): Fun code fix.
9778 2000-04-15 Gerd Moellmann <gerd@gnu.org>
9780 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
9781 to file-directory-p.
9783 2000-04-14 Gerd Moellmann <gerd@gnu.org>
9785 * gud.el (gud-jdb-build-source-files-list): Check that directory
9786 exists before calling directory-files.
9788 2000-04-13 Dave Love <fx@gnu.org>
9790 * emacs-lisp/trace.el: Change maintainer. Use new backquote
9793 * emacs-lisp/cl-specs.el: Remove when, unless.
9795 * emacs-lisp/cl-extra.el: Don't quote keywords.
9796 (cl-old-mapc): New variable.
9798 (cl-map-intervals): Use with-current-buffer. Don't check for
9799 next-property-change.
9800 (cl-map-overlays): Use with-current-buffer.
9802 (copy-tree, remprop): Define unconditionally.
9804 * emacs-lisp/cl-compat.el (keywordp): Remove.
9806 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
9808 (edebug-spec): Enable keywordp.
9810 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
9813 * cus-start.el: Use keywordp.
9815 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9817 * diary-lib.el (include-other-diary-files): Fix the fix of
9818 2000-02-18 by doing a save-excursion.
9820 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9822 * ps-print.el: Customization fix, doc fix.
9823 (ps-print-version): New version number (5.1.4).
9824 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
9825 (ps-print-preprint): Adjust code.
9826 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
9827 (ps-print-prologue-header, ps-print-control-characters)
9828 (ps-spool-config): Customization fix.
9830 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
9832 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
9833 converted to the new menu-item format, names silightly changed,
9836 Support for spelling without async subprocesses:
9838 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
9839 (ispell-session-buffer): New variables.
9840 (ispell-start-process, ispell-process-status,
9841 ispell-accept-output, ispell-send-string): New functions, for
9842 Ispell invocation when async subprocesses aren't supported.
9843 (ispell-word, ispell-pdict-save, ispell-command-loop,
9844 ispell-process-line, ispell-buffer-local-parsing): Replace calls
9845 to process-send-string with calls to ispell-send-string, and
9846 accept-process-output with ispell-accept-output.
9847 (ispell-init-process): Call ispell-process-status instead of
9848 process-status with.
9849 (ispell-init-process): Call ispell-start-process. Call
9850 ispell-accept-output and ispell-send-string. Don't call
9851 process-kill-without-query and kill-process if they are unbound.
9852 (ispell-async-processp): New function.
9854 2000-04-12 Dave Love <fx@gnu.org>
9856 * info.el: Add debug-ignored-errors.
9857 (Info-mode-menu): Add some items.
9858 (Info-directory): Add autoload cookie.
9860 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
9861 Modify `truncate-lines'. Make `describe-language-environment'
9862 always visible and add help. Modify `describe-key' help. Invoke
9863 Info-directory from `info'. New entry `emacs-manual'.
9865 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9867 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
9868 propertized-buffer-identification.
9869 (ebrowse-update-member-buffer-mode-line): Likewise.
9870 (ebrowse--mode-strings): Removed.
9871 (ebrowse--mode-line-props): Removed.
9873 * files.el (auto-mode-alist): Add `EBROWSE'.
9875 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
9876 space before testing for end of buffer.
9877 (ebrowse-load): Removed.
9878 (ebrowse-revert-tree-buffer-from-file): Rewritten.
9879 (ebrowse-create-tree-buffer): Rewritten.
9880 (ebrowse-tree-mode): Read tree from buffer.
9882 * progmodes/ebrowse-ffh.el: Removed.
9884 2000-04-10 Kenichi Handa <handa@etl.go.jp>
9886 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
9888 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9890 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
9893 2000-04-09 Dave Love <fx@gnu.org>
9895 * files.el (backup-enable-predicate): Use
9896 temporary-file-directory, small-temporary-file-directory.
9897 (make-backup-file-name-function, backup-directory-alist): New
9899 (make-backup-file-name-1): New function.
9900 (make-backup-file-name): Use it.
9901 (find-backup-file-name): Likewise. Use format for clarity, not
9903 (file-newest-backup): Use make-backup-file-name.
9905 2000-04-09 Gerd Moellmann <gerd@gnu.org>
9907 * progmodes/ebrowse-ffh.el: New file.
9909 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
9911 (ebrowse-load): Add autoload.
9913 * finder.el (finder-commentary): Add autoload cookie.
9915 * mail/rfc2368.el: Correct author's email address.
9917 * progmodes/ebrowse.el: New file.
9919 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
9921 (easy-menu-do-add-item): Ditto.
9922 (easy-menu-define): Extend doc string.
9924 * jit-lock.el (with-buffer-unmodified): Use
9925 restore-buffer-modified-p.
9926 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
9927 (jit-lock-function, jit-lock-stealth-fontify): Don't use
9928 with-buffer-unmodified.
9930 2000-04-08 Dave Love <fx@gnu.org>
9932 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
9935 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
9937 * viper-util.el (viper-put-on-search-overlay): New subroutine.
9938 (viper-flash-search-pattern): No operation when using Emacs
9939 doesn't support face.
9940 Use `viper-put-on-search-overlay'.
9942 2000-04-04 Gerd Moellmann <gerd@gnu.org>
9944 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
9947 * progmodes/make-mode.el: Some doc fixes.
9948 (makefile-mode-abbrev-table): New variable.
9949 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
9950 (makefile-font-lock-keywords): Fontify includes and conditionals.
9951 (toplevel): Require `dabbrev' and `add-log' when compiling.
9953 * replace.el (perform-replace): Don't move forward one char
9954 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
9955 to do that because it leaves point 1 position after the last
9956 replacement, after everything has been replaced.
9958 * jit-lock.el (with-buffer-unmodified): New macro.
9959 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
9961 (jit-lock-function-1): Extracted from jit-lock-function; not
9962 preserving buffer's modified state.
9963 (jit-lock-function, jit-lock-stealth-fontify): Call
9964 jit-lock-function-1.
9966 * mail/rfc2368.el: Remove supernumerary copyright line.
9968 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
9970 * glasses.el: Provide facilities for inserting space before left
9971 parentheses and uncapitalization of identifiers.
9972 (glasses-mode): Try to remove old overlays in all cases.
9974 2000-04-03 Gerd Moellmann <gerd@gnu.org>
9976 * progmodes/compile.el (compile-internal): Display the compilation
9977 buffer in a different frame, if it's already displayed there.
9979 * mail/rfc2368.el: New file.
9981 * simple.el (sendmail-user-agent-compose): Recognize a `body'
9982 header and insert its value as mail body.
9984 * subr.el (member-ignore-case): New function.
9986 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
9987 (dabbrev--find-expansion): Ignore buffers matching a regexp
9988 from dabbrev-ignored-regexps.
9990 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
9991 to extensions handled by gzip.
9993 2000-04-03 Richard M. Stallman <rms@gnu.org>
9995 * files.el (insert-directory): List the total free space
9996 along with the used space.
9998 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
9999 line is followed by one that matches CITATION-REGEXP, end the
10002 2000-04-03 Markus Rost <rost@delysid.gnu.org>
10004 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
10005 (rmail-make-basic-summary-line): Use that option.
10007 2000-04-03 Kenichi Handa <handa@etl.go.jp>
10009 * international/mule-cmds.el (encoded-string-description):
10010 Rewritten. Try pretty description for ISO 2022 escape sequences
10011 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
10012 for hexadecimal format.
10014 2000-04-01 Dave Love <fx@gnu.org>
10016 * cpp.el: Change customization group to `c' from `C'.
10018 * vcursor.el (vcursor-move): Use display-color-p.
10020 * international/mule-util.el: Provide mule-utils.
10021 (string-to-sequence): Simplify and speed up.
10023 * international/mule.el (make-coding-system): Purecopy doc-string.
10025 * international/mule-cmds.el: Various menu changes.
10026 (describe-specified-language-support): Handle `Default'.
10027 (set-language-info): Purecopy `info'.
10029 2000-03-31 Andrew Innes <andrewi@gnu.org>
10031 * vc.el (vc-backend-diff): Return the correct status if we had to
10032 retry the rcsdiff command without the --brief option.
10034 2000-03-31 Dave Love <fx@gnu.org>
10036 * help.el (help-manyarg-func-alist): Correct several omissions.
10038 * add-log.el: Don't require cl, fortran.
10039 (add-log-current-defun-function): Doc fix.
10040 (change-log-version-number-regexp-list): Remove SCCS part. Doc
10042 (change-log-version-rcs): Function deleted.
10043 (change-log-version-number-search): Doc fix. Use
10044 vc-workfile-version. Avoid CL dolist.
10045 (add-change-log-entry): Just call add-log-current-defun to get
10046 defun. Simplify somewhat.
10047 (change-log-get-method-definition-1): Likewise.
10048 (add-log-current-defun): Return nil if calling
10049 add-log-current-defun-function does so. Move Fortran stuff to
10050 fortran.el. Return string without properties.
10052 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
10053 and :alpha: char classes.
10055 * mail/supercite.el: Defvar curline when compiling.
10056 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
10057 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
10058 rather than a-zA-Z0-9 to allow non-ASCII characters.
10060 2000-03-31 Gerd Moellmann <gerd@gnu.org>
10062 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
10064 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10065 Re-enable new code.
10067 * lpr.el (print-region-1): Use -d to specify printer name for
10068 systems `usg-unix-v*, `dgux', `hpux', `irix'.
10070 2000-03-31 Dave Love <fx@gnu.org>
10072 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
10073 for function definition in symbol's function value slot first
10074 instead of first consulting byte-compile-function-environment.
10076 2000-03-31 Kenichi Handa <handa@etl.go.jp>
10078 * language/european.el ("Polish"): New language environment.
10079 (setup-polish-environment): New function.
10081 2000-03-30 Gerd Moellmann <gerd@gnu.org>
10083 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10086 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
10087 trying to `load' the symbol of an autoload instead of the file
10088 recorded in the autoload. Fix error messages.
10090 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10092 * ps-print.el: PostScript programming fix for ghostview, doc fix.
10093 (ps-print-version): New version number (5.1.3).
10094 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
10095 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
10096 (ps-generate-postscript-with-faces): Code fix.
10097 (ps-color-values): XEmacs compatibility.
10098 (ps-print-background-image, ps-print-background-text, ps-printer-name)
10099 (ps-default-fg, ps-default-bg): Adjust customization.
10100 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
10101 (ps-color-scale): Renaming old ps-color-value fun.
10102 (ps-print-headers): Replace ps-print-header group to avoid conflict
10103 with ps-print-header variable.
10104 (ps-print-miscellany): New group.
10105 (ps-format-color, ps-rgb-color): New funs.
10106 (ps-default-foreground): New var.
10107 (ps-printer-name-option): New const.
10109 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
10111 * net/net-utils.el:
10112 (network-connection-host, network-connection-service): New variables
10113 (network-connection-mode): New mode, derived from comint-mode
10114 (network-connection-mode-setup): New function, saves host and
10115 service information in local variables.
10118 (locate-word-at-point): Added this function
10119 (locate): Default to using locate-word-at-point as input
10120 Run dired-mode-hook
10122 2000-03-29 Dave Love <fx@gnu.org>
10124 * calendar/appt.el: Doc fixes.
10125 (appt-check): Convert min-to-app to a string before passing to
10126 appt-disp-window-function or concat.
10127 (appt-delete-window): Remove test for frame-root-window.
10128 (appt-select-lowest-window, appt-convert-time): Simplify.
10130 * emacs-lisp/bytecomp.el: Doc fixes.
10131 (byte-compile-file-form-autoload): Update
10132 byte-compile-function-environment.
10134 2000-03-29 Andreas Schwab <schwab@suse.de>
10136 * emacs-lisp/autoload.el: Also print defsubst doc string
10139 * dired.el (dired-insert-directory): If dired-free-space-program
10140 failed just delete its output.
10142 2000-03-29 Dave Love <fx@gnu.org>
10144 * international/iso-cvt.el: Move provide to end. Doc fixes.
10145 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
10146 (iso-iso2sgml, iso-sgml2iso): New functions.
10147 (iso-cvt-define-menu): Fix some entries and use backquote for
10150 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
10152 2000-03-28 Gerd Moellmann <gerd@gnu.org>
10154 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
10155 ISO-DATE. If non-nil, return date in ISO 8601 format.
10157 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
10159 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
10160 if it ever becomes used.
10161 (log-edit-mode-hook): Default to vc-log-mode-hook.
10162 (log-edit-mode): Fix the docstring.
10164 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
10167 2000-03-26 Dave Love <fx@gnu.org>
10169 * net/browse-url.el (browse-url): Re-fix case of
10170 browse-url-browser-function being an alist.
10171 (browse-url): Add :link to defgroup.
10173 * files.el: Doc fixes.
10174 (file-truename): Include `[' in wildcard characters.
10175 (automount-dir-prefix): Customize.
10176 (find-file-wildcards): Add :version.
10177 (find-file-noselect): Simplify a mapcar call.
10179 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
10180 compatible with inf-lisp version.
10181 (eval-defun-1): Fix custom-declare-variable case.
10183 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
10185 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
10187 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10189 * Makefile (COMPILE_FIRST): New macro.
10190 (compile-files): Compile files from COMPILE_FIRST first.
10192 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
10195 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
10196 matching open parenthesis in column 0 to defun-prompt-regexp
10197 only if open-paren-in-column-0-is-defun-start is set.
10199 * sun-curs.el: Require CL at compile-time only.
10201 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
10202 instead of copy-list which is a function from CL.
10203 (msb--choose-menu, msb--mode-menu-cond)
10204 (msb--create-buffer-menu-2): Use dolist instead of mapc.
10205 (msb--init-file-alist): Use mapcar instead of mapcan.
10206 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
10207 `(' in column 0 in doc string.
10208 (msb--add-separators): Use mapcar instead of mapcan.
10210 * cus-dep.el: Require CL at compile-time only.
10212 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
10214 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10215 (byte-compile-warnings): New warning `noruntime'.
10216 (byte-compile-constants, byte-compile-variables): Fix docstring.
10217 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
10218 execute `eval-whenc-compile's body.
10219 (byte-compile-unresolved-functions): Fix docstring.
10220 (byte-compile-eval): New function.
10221 (byte-compile-callargs-warn): Check if the function will be available
10222 at runtime (via property `byte-compile-noruntime').
10223 (byte-compile-print-syms): New function.
10224 (byte-compile-warn-about-unresolved-functions): Also warn about
10225 `noruntime' functions (and use `byte-compile-print-syms').
10226 (byte-compile-file): Capitalize the message.
10228 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10230 * mail/rmail.el (rmail-confirm-expunge): New user-option.
10231 (rmail-expunge): Ask for confirmation depending on the setting
10232 of rmail-confirm-expunge.
10234 2000-03-23 Gerd Moellmann <gerd@gnu.org>
10236 * Makefile (bootstrap-clean): If $(emacs) exists, build
10237 loaddefs.el first. A loaddefs.el that's not up-to-date might
10238 cause a bootstrap failure because things don't autoload as
10241 2000-03-23 Dave Love <fx@gnu.org>
10243 * net/browse-url.el: Restore previous use of
10244 browse-url-maybe-new-window.
10246 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10248 * ps-print.el: Skip banner page fix.
10249 (ps-print-version): New version number (5.1.2).
10250 (ps-begin-file, ps-end-file, ps-generate): Code fix.
10252 2000-03-23 Dave Pearson <davep@davep.org>
10254 * net/quickurl.el Changed the type of parameter passed to the
10255 function defined by `quickurl-format-function'. Before only the
10256 text of the URL was passed. Now the whole URL structure is passed
10257 and the function is responsible for extracting the parts it
10258 requires. Changed the default of `quickurl-format-function'
10260 (quickurl-insert): Changed the `funcall' of
10261 `quickurl-format-function' to match the above change.
10262 (quickurl-list-insert): Changed the `url' case so that it makes
10263 use of `quickurl-format-function', previous to this the format was
10266 2000-03-22 Gerd Moellmann <gerd@gnu.org>
10268 * startup.el: Change some spellings for the X Window System.
10270 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
10272 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
10273 up the code and the regexp and make sure the cursor is temporarily
10274 moved to the suspicious line while querying the user.
10276 2000-03-22 Jason Rumney <jasonr@gnu.org>
10278 * w32-fns.el (w32-charset-info-alist): Initialize.
10280 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10282 * ps-print.el: N-up last page fix.
10283 (ps-print-version): New version number (5.1.1).
10284 (ps-end-file, ps-end-job, ps-generate): Code fix.
10286 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10288 * files.el (find-file-run-dired): Update docstring.
10289 (find-directory-functions): New hook.
10290 (find-file-noselect): Run find-directory-functions rather than
10291 calling dired directly.
10293 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
10295 * pcvs.el: Add a minimal leading commentary.
10296 (cvs-make-cvs-buffer): Change the header part by removing the startup
10297 message and adding a `Module' entry. Also replace the FOOTER and
10298 HEADER special fileinfos with the new support in ewoc for updating
10299 its own footer and header.
10300 (cvs-update-header): Update to use the header/footer of the ewoc.
10301 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
10302 (cvs-is-within-p): New function.
10303 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
10304 to only examine some subset of the buffers.
10306 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
10307 `format' instead of our own ad-hoc functions.
10308 Remove HEADER and FOOTER cases, now handled in the EWOC.
10309 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
10311 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
10312 output to avoid scaring the user.
10313 (cvs-parse-table): Catch message for non-up-to-date commits.
10315 * pcvs-defs.el (cvs-startup-message): Remove.
10316 (cvs-global-menu): New autoloaded menu.
10318 * pcvs-util.el (cvs-string-fill): Remove.
10320 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10321 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10322 PP part of it and also make it work for footers and headers.
10323 (ewoc-create): Drop POS and BUFFER arguments.
10324 Use the DLL's dummy node to store the end-of-footer position.
10325 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10326 (ewoc-refresh): Remove unused `header' variable.
10327 (ewoc-(get|set)-hf): New functions.
10329 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10330 log-view-*-(message|file) and use easy-mmode-define-navigation.
10331 (log-view-message-re): Match SCCS format as well.
10332 And match the revision line rather than the dashed separator line.
10333 (log-view-mode): Use the new define-derived-mode.
10334 (log-view-current-tag): Fill in with an actual implementation.
10336 * cvs-status.el (cvs-status-(prev|next)): Rename from
10337 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10338 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10339 to let the output "breathe" a little more (more readable).
10340 (cvs-status-mode): Use the new define-derived-mode.
10342 * smerge-mode.el (smerge-auto-leave): New function and variable.
10343 (smerge-basic-map): Rename from smerge-basic-keymap.
10344 Change the bindings for smerge-diff-*.
10345 (smerge-*-map): Use easy-mmode-defmap.
10346 (smerge-(next|prev)): Use easy-mmode-define-navigation.
10347 (smerge-keep-*): Use smerge-auto-leave.
10349 2000-03-21 Jason Rumney <jasonr@gnu.org>
10351 * cus-edit.el (custom-button-face): Use 3D look for w32.
10352 (custom-button-pressed-face): Likewise.
10354 2000-03-21 Gerd Moellmann <gerd@gnu.org>
10356 * progmodes/etags.el (tags-case-fold-search): New user-option.
10357 (tags-loop-eval): New function. Bind case-fold-search around eval
10358 depending on the value of tags-case-fold-search.
10359 (tags-loop-continue): Use tags-loop-eval.
10360 (find-tag-in-order): Bind case-fold-search depending on the value
10361 of tags-case-fold-search.
10363 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10365 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10366 (diff-end-of-hunk): Return the end position for use in
10367 `easy-mmode-define-navigation'.
10368 (diff-recenter): Remove.
10369 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10370 of `easy-mmode-define-navigation'.
10371 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10372 previous renaming) and fix to use new names.
10373 (diff-merge-strings): Use \n as separator: simpler, faster.
10374 (diff-mode): Use `define-derived-mode'.
10376 * derived.el (define-derived-mode): Don't autoload anymore.
10377 Prefer the macro-only version provided by easy-mmode.el.
10379 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10380 `easy-mmode-define-derived-mode'.
10381 Use `combine-run-hooks'.
10382 (easy-mmode-define-navigation): New macro.
10384 * subr.el (combine-run-hooks): New function.
10386 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
10388 * term/x-win.el: Fontsets related initialization is simplified.
10390 * international/mule-diag.el (describe-font): Don't refer to
10391 global-fontset-alist, instead call font-list.
10392 (describe-fontset, list-fontsets, mule-diag): Likewise.
10393 (print-fontset): Adjusted for the change of fontset
10396 * international/fontset.el (x-charset-registries): Variable
10397 removed, instead the corresponding data is stored in the default
10399 (register-alternate-fontnames): Function removed.
10400 (resolved-ascii-font): Variable removed.
10401 (x-compose-font-name): Ignore the second argument REDOCE.
10402 (x-complement-fontset-spec): Complement only an ASCII font and
10403 element for those charsets than can use that ASCII font.
10404 (generate-fontset-menu): Don't refer to global-fontset-alist,
10405 instead call fontset-list.
10406 (uninstantiated-fontset-alist): Variable removed.
10407 (x-style-funcs-alist): Likewise.
10408 (fontset-default-styles): Likewise.
10409 (x-modify-font-name): Function removed.
10410 (create-fontset-from-fontset-spec): Ignore the argument
10412 (create-fontset-from-ascii-font): Docsting adjusted for the above
10414 (instantiate-fontset, resolve-fontset-name): Functions removed.
10415 (fontset-list): Now implemented by C code.
10417 * faces.el (read-face-font): Fix TABLE arg to completing-read.
10418 (describe-face): Include `font' attribute in the description.
10420 2000-03-21 Kenichi Handa <handa@etl.go.jp>
10422 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10424 2000-03-20 Gerd Moellmann <gerd@gnu.org>
10426 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10427 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10428 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10430 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10431 about behavior of set-buffer-modified-p wrt redisplay.
10433 2000-03-19 Richard M. Stallman <rms@gnu.org>
10435 * view.el (view-mode-disable): Kill local binding of view-read-only.
10437 2000-03-18 Gerd Moellmann <gerd@gnu.org>
10439 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10440 is a string, convert it to a syntax cell using string-to-syntax.
10442 * simple.el (syntax-code-table, syntax-flag-table): New variables.
10443 (string-to-syntax): New function.
10445 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10446 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10447 try to use passive ftp mode.
10449 2000-03-17 Gerd Moellmann <gerd@gnu.org>
10451 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10453 * simple.el (append-to-buffer): Update point of windows after
10456 * abbrev.el (inverse-add-abbrev): Identify word by first moving
10457 forward then moving backward. Reindent.
10459 * frame.el (other-frame): Call x-focus-frame only if
10460 focus-follows-mouse is off.
10462 2000-03-17 Dave Love <fx@gnu.org>
10464 * pcvs-util.el (cvs-strings->string): Rename
10465 replace-regexps-in-string.
10467 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
10469 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10470 regexp for labels cannot span several lines.
10472 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10473 `(setq :<key> ':<key>)' to the macro expansion.
10475 2000-03-16 Dave Love <fx@gnu.org>
10477 * progmodes/f90.el (f90): Put custom group under `languages', not
10479 (f90-mode-hook): Customize.
10480 (f90-mode): Set add-log-current-defun-function.
10481 (f90-current-defun): New function.
10483 2000-03-16 Gerd Moellmann <gerd@gnu.org>
10485 * cus-edit.el (custom-variable-tag-face): Handle case that
10486 default face's height is not a number.
10487 (custom-face-tag-face, custom-group-tag-face-1)
10488 (custom-group-tag-face): Ditto.
10489 (custom-group-tag-face-1): Add :group.
10491 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10493 2000-03-15 Gerd Moellmann <gerd@gnu.org>
10495 * pcvs-defs.el (toplevel): Remove autoload cookie for form
10496 requiring easymenu.
10498 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10500 * ps-print.el: PostScript user-defined prologue, PostScript error
10502 (ps-print-version): New version number (5.1).
10503 (ps-user-defined-prologue, ps-error-handler-message)
10504 (ps-print-prologue-0, ps-error-handler-alist): New vars.
10505 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10506 (ps-insert-string): New function.
10508 2000-03-15 Kenichi Handa <handa@etl.go.jp>
10510 * international/ccl.el (ccl-compile-expression): Don't generate
10511 invalid self-assignment code.
10513 2000-03-14 Dave Love <fx@gnu.org>
10515 * subr.el (replace-regexp-in-string): Renamed from
10516 replace-regexps-in-string. Doc fix.
10518 2000-03-12 Dave Love <fx@gnu.org>
10520 * cus-edit.el: Doc fixes.
10521 (customize-set-variable, customize-save-variable): Rename args for
10523 (custom-variable-tag-face, custom-face-tag-face)
10524 (custom-group-tag-face-1, custom-group-tag-face): Modify from
10525 style which user identify as hyperlink.
10526 (hook): Don't add undefined functions to the hook.
10527 (debug-ignored-errors): Transfer message from bindings.el.
10529 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10531 * recentf.el (recentf-keep-non-readable-files-p): Remove
10532 double/nested definition.
10534 2000-03-12 Dave Love <fx@gnu.org>
10536 * facemenu.el (facemenu-get-face): Use display-color-p.
10537 * enriched.el (enriched-decode-foreground): Likewise.
10538 (enriched-decode-background): Likewise.
10539 * isearch.el (isearch-highlight): Likewise.
10540 * info-look.el (info-lookup): Likewise.
10541 * simple.el (completion-setup-function): Likewise.
10543 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10546 * bindings.el (mode-line-format): Fix line-number and
10547 column-number items. Add help-echo for the background.
10548 (mode-line-mule-info): Modify help-echo.
10550 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10553 * files.el (load-file): Allow completion to .elc.
10555 * man.el: Doc fixes.
10556 (Man-init-defvars): Use display-color-p to set fontification.
10558 * play/hanoi.el (hanoi-internal): Don't use oddp.
10560 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10562 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10564 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10566 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10568 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10571 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
10573 * font-lock.el (font-lock-keywords): Fix the doc now that
10574 regexp-opt-depth is unnecessary.
10575 (save-buffer-state): Set an edebug spec.
10576 (font-lock-fontify-anchored-keywords): Properly handle the case when
10577 the matcher goes past the limit.
10579 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10580 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10582 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
10583 dll.el and cookie.el (from Elib) with heavy renaming and other
10586 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10587 Autoload the functions used.
10588 (easy-mmode-define-syntax): Fix CL typo.
10589 (easy-mmode-define-derived-mode): Improve the docstring generation.
10591 2000-03-10 Gerd Moellmann <gerd@gnu.org>
10593 * textmodes/texinfo.el (texinfo-version): Variable and function
10596 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
10598 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10599 allow more flexibility.
10600 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10602 (easy-mmode-defmap, easy-mmode-defsyntax)
10603 (easy-mmode-define-derived-mode): New macros.
10605 2000-03-09 Didier Verna <didier@xemacs.org>
10607 * rect.el (replace-rectangle): New function.
10609 2000-03-09 Dave Love <fx@gnu.org>
10611 * progmodes/fortran.el (fortran-comment-line-start): Define as
10613 (fortran-comment-line-start-skip): Don't match cpp stuff.
10614 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
10615 (fortran-mode-map): Remove over-eager custom-menu-create for now.
10616 (fortran-mode): Don't set fortran-comment-line-start-skip,
10617 fortran-comment-line-start here. Set comment-start,
10618 add-log-current-defun.
10619 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10620 (fortran-current-defun): New function.
10622 2000-03-09 Gerd Moellmann <gerd@gnu.org>
10624 * emacs-lisp/re-builder.el: New file.
10626 * mouse.el (mouse-drag-region): Don't run up-event handler
10627 if hscroll has changed.
10629 * octave-mod.el (octave-font-lock-keywords): To font-lock the
10630 builtin operators, use `font-lock-builtin-face' for Emacs and
10631 `font-lock-preprocessor-face' otherwise.
10633 * font-lock.el (lisp-font-lock-keywords-1): Highlight
10634 `(defun (setf foo)' differently.
10636 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
10638 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10639 (regexp-opt): Update comment and adapt the code the new meaning of
10640 the `paren' argument of regex-opt-group for shy-groups.
10641 (regexp-opt-depth): Handle shy groups as well as backslashed
10643 (regexp-opt-group): Turn the leading comment into a docstring.
10644 Allow `paren' to be a string (the string to use to open a group).
10645 Remove open-presuf and close-presuf. Instead of checking for `all
10646 one-char' and then later on check for `several one-char', handle
10647 both cases close together. Also apply a more generic algorithm
10648 for suffixes (the mirror image of the algorithm used for
10649 prefixes). Use shy-groups. Use nreverse rather than reverse.
10650 (regexp-opt-try-suffix): Removed.
10652 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10653 from comint-mode-map, so we can just inherit from it. Also, move
10654 the initialization into the `defvar' since there's no docstring
10655 anyway and it's fairly short.
10656 (inferior-scheme-mode): Define it as derived-mode: the code is
10657 shorter and this way we inherit from comint-mode-map rather than
10660 * subr.el (replace-regexps-in-string): Properly handle the case
10661 where we match an empty string.
10663 * comint.el (comint-exec-1): Add the current-dir to the exec-path
10664 when the command has a directory component (such as "./testml").
10665 Also fix a typo in the comment.
10667 2000-03-08 Gerd Moellmann <gerd@gnu.org>
10669 * Makefile (compile-files): Compile files one by one because
10670 that's the only way to ensure a clean compilation environment for
10671 each individual file.
10673 * frame.el (other-frame): Call x-focus-frame.
10675 2000-03-07 Dave Love <fx@gnu.org>
10677 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10678 :require to defcustom.
10680 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
10683 * files.el (auto-mode-alist): Add configure.in.
10685 * progmodes/autoconf.el: New file.
10687 2000-03-07 Gerd Moellmann <gerd@gnu.org>
10689 * mail/mh-e.el: Change maintainer to `none'.
10691 * recentf.el (recentf-keep-non-readable-files-p): Quote args
10692 to remove-hook and add-hook.
10694 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10696 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
10698 (mail-send): Test mail-send-nonascii also for the new `mime' value.
10699 (sendmail-send-it): Conditionally add MIME headers specifying the
10700 used character set.
10702 2000-03-07 Dave Love <fx@gnu.org>
10704 * winner.el: Fix keywords, autoload cookies. Split
10705 eval-when-compile form to avoid compilation failure.
10707 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
10709 * international/mule.el: Modify comment about coding system
10710 property `coding-category'.
10711 (make-coding-system): New argument EOL-TYPE. Pay attention to
10712 coding-category property of PROPERTIES.
10714 * international/mule-conf.el (coding-category-utf-8,
10715 coding-category-utf-16-be, coding-category-utf-16-le): New coding
10716 categories. Include them in the argument for set-coding-priority.
10718 * international/mule-cmds.el (reset-language-environment): Include
10719 coding-category-utf-8, coding-category-utf-16-be, and
10720 coding-category-utf-16-le in the argument for set-coding-priority.
10721 (reset-language-environment): Initialize coding-category-utf-8,
10722 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
10724 2000-03-06 Karl Fogel <kfogel@red-bean.com>
10726 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
10727 code abstracted out of `bookmark-jump-noselect'. Now tries info
10728 extensions as well as compression extensions.
10729 (bookmark-jump-noselect): Use above new func.
10731 2000-03-03 Gerd Moellmann <gerd@gnu.org>
10733 * strokes.el: Change maintainer's mail address.
10735 2000-03-03 Kenichi Handa <handa@etl.go.jp>
10737 * international/mule-diag.el (list-character-sets): Make help-echo
10738 string by substitute-command-keys.
10739 (list-character-sets): Likewise.
10740 (sort-listed-character-sets): Call help-setup-xref.
10742 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10744 * time.el (display-time-mail-file): Add `none' to the list of
10747 2000-03-01 Dave Love <fx@gnu.org>
10749 * help.el (help-xref-go-back): Don't try to set position.
10751 * international/mule-diag.el (list-character-sets): Call
10752 help-setup-xref. Add help-echo to xrefs.
10753 (list-character-sets-1): Add help-echo to xrefs.
10755 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10757 * frame.el (blink-cursor-mode): Switch cursor on when turning
10760 * add-log.el (add-log-current-defun): Add support for
10763 * mail/rmail.el (rmail-quit-hook): New variable.
10765 2000-03-01 Dave Love <fx@gnu.org>
10767 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
10769 * help.el (help-xref-button): Add help-echo arg.
10770 (describe-function-1, describe-variable, help-make-xrefs): Use it.
10772 * faces.el (list-faces-display): Supply help-echo with
10775 * facemenu.el (list-text-properties-at): Set help-xref-stack to
10778 2000-03-01 Gerd Moellmann <gerd@gnu.org>
10780 * image.el (defimage): Look for image files in load-path.
10782 * frame.el (busy-cursor-delay-seconds): Change type to
10785 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10787 * recentf.el (recentf): Added version tag to the defgroup of
10790 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10792 * recentf.el (recentf-cleanup): Changed to remove excluded file
10794 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
10795 action to select/unselect a file.
10796 (recentf-edit-list): Code cleanup and improvement.
10797 (recentf-open-more-files-action): `recentf-open-more-files' button
10798 widget action to open a file.
10799 (recentf-open-more-files): No more use standard completion but
10801 (recentf-more-collection): Deleted.
10802 (recentf-more-history): Deleted.
10803 (recentf-setup-more-completion): Deleted.
10805 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10807 * recentf.el (recentf-mode): No more needs that Emacs is running
10808 under a window-system.
10810 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10812 * recentf.el (recentf-edit-list): New command to edit the recent
10813 list which allow the user to remove files.
10814 (recentf-edit-selected-items): New global variable, used by
10815 `recentf-edit-list' to hold the list of files to be removed from
10817 (recentf-make-menu-items): Updated to display a "Edit list..."
10818 menu item. Minor code cleanup.
10820 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10822 * recentf.el (recentf-open-more-files): New command to open files
10823 that are not displayed in the menu.
10824 (recentf-more-collection): New global variable holding the set of
10825 permissible completions used by `recentf-open-more-files'.
10826 (recentf-more-history): New global variable holding the history list
10827 used by `recentf-open-more-files' completion.
10828 (recentf-setup-more-completion): New function to setup completion for
10829 `recentf-open-more-files'.
10830 (recentf-make-menu-items): Updated to display a "More..." menu item.
10832 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10834 * recentf.el (recentf-menu-action): Doc fixed.
10836 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10838 * recentf.el (recentf-menu-filter): Doc updated.
10839 (recentf-update-menu-hook): Allow menu filters to force menu update.
10840 (recentf-make-menu-items): New menu filter handling.
10841 (recentf-make-menu-item): New helper function.
10842 (recentf-menu-elements): New menu handling function.
10843 (recentf-sort-ascending): Updated to new menu filter handling.
10844 (recentf-sort-descending): Updated to new menu filter handling.
10845 (recentf-sort-basenames-ascending): New menu filter function.
10846 (recentf-sort-basenames-descending): New menu filter function.
10847 (recentf-show-basenames): New menu filter function.
10848 (recentf-show-basenames-ascending): New menu filter function.
10849 (recentf-show-basenames-descending): New menu filter function.
10851 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10853 * diary-lib.el (list-diary-entries): Don't try to go forward at
10854 the end of the buffer.
10856 2000-02-29 Kenichi Handa <handa@etl.go.jp>
10858 * international/mule-diag.el (list-character-sets): Completely
10860 (sort-listed-character-sets): New function.
10861 (list-character-sets-1): Completely rewritten.
10862 (list-character-sets-2): New function.
10863 (non-iso-charset-alist): New variable.
10864 (decode-codepage-char): New function.
10865 (charset-history): New variable.
10866 (read-charset) (list-block-of-chars)
10867 (list-iso-charset-chars)
10868 (list-non-iso-charset-chars)
10869 (list-charset-chars): New functions.
10870 (mule-diag): Call list-character-sets-2, not
10871 list-character-sets-2.
10872 (dump-charsets): Likewise.
10874 2000-02-29 Gerd Moellmann <gerd@gnu.org>
10876 * dired-x.el (dired-filename-at-point): Add `@' to valid
10877 file name characters.
10878 (dired-filename-at-point): Handle ange-ftp file names.
10880 * frame.el (frame-notice-user-settings): Use assq-delete-all
10881 instead of assoc-delete-all.
10882 (frame-notice-user-settings): Ditto.
10884 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
10887 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
10889 * calculator.el (calculator-use-menu): New option.
10890 (calculator-initial-bindings): Changed some bindings to work as
10892 (calculator-forced-input): Removed.
10893 (calculator-restart-other-mode): New variable.
10894 (calculator-mode-map): Set up menu.
10896 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
10898 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
10901 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
10903 * viper-cmd.el (viper-envelop-ESC-key): added the option to
10904 translate all ESC key sequences.
10905 (viper-goto-mark-subr): restore markers for files for which
10907 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
10908 * viper-util.el (viper-set-replace-overlay-glyphs,
10909 viper-set-replace-overlay): always check if the replacement
10911 * viper.el (viper-vi-state-mode-list): added major modes.
10912 * ediff-wind.el: minor comment changes.
10913 * ediff.el: copyright notice date fix.
10915 2000-02-27 Jason Rumney <jasonr@gnu.org>
10917 * faces.el (face-font-family-alternatives): Add arial to helv.
10918 (mode-line, header-line, tool-bar): Same default as x for w32.
10919 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
10920 face-font-family-alternatives from working.
10921 * term/w32-win.el (mouse-set-font): Do not build fontset from
10924 2000-02-25 Sam Steingold <sds@goems.com>
10926 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
10929 2000-02-25 Richard M. Stallman <rms@gnu.org>
10931 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
10933 2000-02-25 Gerd Moellmann <gerd@gnu.org>
10935 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
10938 * frame.el (busy-cursor-delay-seconds): New option.
10940 2000-02-24 Gerd Moellmann <gerd@gnu.org>
10942 * frame.el (show-cursor-in-non-selected-windows): New option.
10944 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10946 * diary-lib.el (include-other-diary-files): Undo the selective
10947 display in any included file and don't kill it.
10949 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
10951 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
10952 bar. Menu items converted to (menu-item format, help strings
10954 [downcase, upcase]: Don't enable on MS-DOS.
10955 [symlink, symlinks]: Don't show if make-symbolic-link is not
10957 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
10959 2000-02-23 Dave Love <fx@gnu.org>
10961 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
10962 (backward-kill-word): Revert addition of * to interactive spec --
10965 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
10966 (backward-kill-sentence, kill-sentence): Likewise.
10968 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
10969 scratch buffer name.
10970 (gud-format-command): Use int-to-string in ?l case. Simplify
10973 * term/w32-win.el (internal-face-interactive): Update prompt for
10974 new read-face-name.
10976 * mail/footnote.el (footnote): Add :version to defgroup.
10977 (footnote-section-tag-regexp): Customize.
10978 (footnote-start-tag, footnote-end-tag): New option.
10979 (footnote-latin-regexp): New variable.
10980 (Footnote-latin): New function.
10981 (footnote-style-alist): Add element for latin style.
10982 (footnote-style): Moved.
10983 (Footnote-goto-footnote): Use eq to test arg.
10985 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
10987 * emacs-lisp/byte-opt.el: Change old backquote syntax.
10988 (byte-compile-trueconstp): Include keywords.
10989 (byte-optimize-quote, byte-optimize-lapcode): Use
10990 byte-compile-const-symbol-p.
10991 (byte-optimize-char-before): New optimization.
10993 * emacs-lisp/bytecomp.el: Change old backquote syntax.
10994 (byte-compile-const-symbol-p): New function.
10995 (byte-compile-constp, byte-compile-out-toplevel)
10996 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
10999 * subr.el (define-key-after): Default AFTER to t. Doc fix.
11001 2000-02-23 Kenichi Handa <handa@etl.go.jp>
11003 * international/encoded-kb.el: Be sure to update minor-mode-alist
11004 and minor-mode-map-alist.
11005 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
11006 codes SS2 and SS3 correctly.
11007 (encoded-kbd-self-insert-ccl): New function.
11008 (encoded-kbd-setup-keymap): New function.
11009 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
11010 by calling encoded-kbd-setup-keymap.
11012 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
11014 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
11017 2000-02-22 Dave Love <fx@gnu.org>
11019 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
11020 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
11022 (lisp-mode-syntax-table): Set up for #|...|# comments.
11023 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
11024 classes. Match `defface'.
11025 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
11026 (eval-defun-1): Fix for defcustom.
11027 (lisp-indent-region): Doc fix.
11029 * subr.el (when, unless, split-string): Doc fix.
11030 (read-passwd): Move call of clear-this-command-keys to the right
11032 (replace-regexps-in-string): New function.
11034 2000-02-22 Gerd Moellmann <gerd@gnu.org>
11036 * help.el (describe-variable): Set syntax table to
11037 emacs-lisp-mode-syntax-table when moving forward over the
11040 2000-02-22 Dave Love <fx@gnu.org>
11042 * xt-mouse.el: Doc fixes.
11043 (xterm-mouse-position-function): New function, replacing advice of
11045 (xterm-mouse-mode): Use it. Don't turn on under a window system.
11047 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
11049 2000-02-21 Gerd Moellmann <gerd@gnu.org>
11051 * format.el (format-annotate-single-property-change): Handle
11052 properties.with dotted-list values.
11053 (format-proper-list-p): New function.
11055 * enriched.el (enriched-face-ans): Handle '(foreground-color
11056 . COLOR) and (background-color . COLOR).
11058 2000-02-20 Dave Love <fx@gnu.org>
11060 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
11061 and assignments to it.
11062 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
11064 (make-flyspell-overlay): Use it.
11065 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
11067 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
11068 (lm-get-header-re): Defun, not defsubst.
11069 (lm-get-package-name): Defun, not defsubst. Simplify.
11070 (lm-version): Doc fix. Simplify.
11071 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
11072 (lm-crack-address, lm-last-modified-date, lm-commentary)
11073 (lm-verify, lm-synopsis): Simplify.
11074 (lm-report-bug): Require emacsbug. Use compose-mail.
11076 2000-02-20 Gerd Moellmann <gerd@gnu.org>
11078 * dired.el (dired-mode): Call propertized-buffer-identification
11079 to set mode-line-buffer-identification to something having
11080 the right text properties.
11082 * bindings.el (propertized-buffer-identification): New function.
11084 2000-02-20 Dave Love <fx@gnu.org>
11086 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
11087 check for t-mouse too.
11089 * cus-start.el: Make echo-keystrokes `number'.
11091 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
11093 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
11094 Don't call ring-empty-p unless tags-location-ring is bound.
11095 From Noah Friedman <friedman@splode.com>.
11097 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
11099 * progmodes/hideshow.el (hs-flag-region): No longer use
11100 `intangible' overlay property.
11102 (hs-toggle-hiding): New command.
11103 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
11105 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
11106 Fix omission bug: Run `hs-minor-mode-hook' for both activation
11109 2000-02-18 Gerd Moellmann <gerd@gnu.org>
11111 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
11113 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11115 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
11117 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
11118 of `*' to handle `(* ... *)' comments.
11120 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
11122 * faces.el (list-faces-display): Use display-mouse-p instead of
11125 * menu-bar.el (global-map): Menu-bar items converted to the new
11126 format (menu-item..., rearranged for better CUA compliance, and
11127 their names changed for better clarity. Help strings added.
11129 * international/mule-cmds.el (mule-menu-keymap)
11130 (describe-language-environment-map, set-coding-system-map)
11131 (setup-language-environment-map): Convert to new (menu-item...
11132 form, add help strings. Change names of menu items for better
11133 clarity. "Mule" menu-bar item removed (it's now in the "Options"
11136 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11138 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
11141 2000-02-16 Dave Love <fx@gnu.org>
11143 * faces.el: Don't require custom. Add more specific :groups to
11145 (set-face-attribute): Purecopy args.
11146 (read-face-name): Default to name at point and use it in prompt.
11147 Remove colon from arg in all callers.
11148 (list-faces-display): Hyperlink to face descriptions and customize
11151 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
11153 * wid-edit.el (widget-match-inline): An atom never matches a
11156 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11158 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11159 at ':' characters by call to split-string.
11161 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11163 * textmodes/bibtex.el: Added RCS version identification.
11165 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11167 * textmodes/bibtex.el: Some temporary comments removed.
11168 (bibtex-field-name, bibtex-entry-type): Made the relationship
11170 (bibtex-field-const): Allow capital letters.
11171 (bibtex-start-of-string): Deleted because unused.
11173 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11174 use the term 'reference' to describe a bibtex entry as a whole.
11175 Further, reference keys are no longer called 'labels'.
11176 (bibtex-keys): Renamed to bibtex-reference-keys.
11177 (bibtex-reformat-previous-labels): Renamed to
11178 bibtex-reformat-previous-reference-keys.
11179 (bibtex-reference-type): Renamed to bibtex-entry-type.
11180 (bibtex-reference-head): Renamed to bibtex-entry-head.
11181 (bibtex-reference-maybe-empty-head): Renamed to
11182 bibtex-entry-maybe-empty-head.
11183 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11184 (bibtex-search-reference): Renamed to bibtex-search-entry.
11185 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11186 bibtex-enclosing-entry-maybe-empty-head.
11187 (bibtex-entry-field-alist, bibtex-entry-head,
11188 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11189 bibtex-map-entries, bibtex-search-entry,
11190 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11191 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11192 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11193 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11194 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11195 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11196 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11198 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11200 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11202 (bibtex-format-field-delimiters): New function, functionality
11203 extracted from bibtex-format-entry.
11204 (bibtex-autokey-get-yearfield-digits): New function, functionality
11205 extracted from bibtex-autokey-get-yearfield.
11207 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11208 entries in order to avoid stack overflow in the regexp matcher if
11209 field contents become large.
11210 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11211 bibtex-field-string-part-not-braced,
11212 bibtex-field-string-part-no-inner-braces,
11213 bibtex-field-string-part-1-inner-brace,
11214 bibtex-field-string-part-2-inner-braces,
11215 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11216 bibtex-field-string-quoted, bibtex-field-string,
11217 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11218 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11219 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11220 as parsing is now performed by the following functions.
11221 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11222 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11223 bibtex-parse-field-string, bibtex-search-forward-field-string,
11224 bibtex-parse-association, bibtex-field-name-for-parsing,
11225 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11226 bibtex-search-forward-field, bibtex-search-backward-field,
11227 bibtex-start-of-field, bibtex-end-of-field,
11228 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11229 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11230 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11231 bibtex-parse-string, bibtex-search-forward-string,
11232 bibtex-search-backward-string, bibtex-start-of-string,
11233 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11234 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11235 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11236 entries. Instead of reporting the results of the parsing by
11237 match-beginning or match-end, these functions return data structures
11238 that hold the corresponding positions.
11239 (bibtex-enclosing-field): Changed to also report field boundaries by
11240 return values rather than by match-beginning or match-end. The
11241 following functions have been adapted to use the new parsing
11243 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11244 bibtex-enclosing-field, bibtex-format-entry,
11245 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11246 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11247 bibtex-print-help-message, bibtex-end-of-entry,
11248 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11249 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11250 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11251 method for parsing.
11252 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11253 bibtex-map-entries, bibtex-flash-head,
11254 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11255 bibtex-autokey-change, bibtex-autokey-get-namefield,
11256 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11257 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11258 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11259 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11260 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11261 order to make the new binding of case-fold-search immediately
11264 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11266 * textmodes/bibtex.el: Copyright notice is up to date.
11267 Added constant 'bibtex-maintainer-salutation.
11269 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11270 than make-temp-name, use match-string-no-properties and eliminate
11271 a quadratic behavior when building bibtex-strings.
11273 * bibtex.el (bibtex-reference-key): Accept string entries whose
11274 reference key contains upper case letters.
11276 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11278 * bibtex.el (bibtex-reference-head): Allow entries to start with
11281 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11283 * bibtex.el: Hiding of entry bodies is not longer provided by
11284 bibtex.el directly. Instead the hideshow package can be used.
11285 Added a special bibtex entry to hs-special-modes-alist.
11286 (bibtex-hs-forward-sexp): Added for hideshow.el.
11288 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11290 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11291 at ':' characters by call to split-string.
11293 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11295 * textmodes/bibtex.el: Added RCS version identification.
11297 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11299 * textmodes/bibtex.el: Some temporary comments removed.
11300 (bibtex-field-name, bibtex-entry-type): Made the relationship
11302 (bibtex-field-const): Allow capital letters.
11303 (bibtex-start-of-string): Deleted because unused.
11305 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11306 use the term 'reference' to describe a bibtex entry as a whole.
11307 Further, reference keys are no longer called 'labels'.
11308 (bibtex-keys): Renamed to bibtex-reference-keys.
11309 (bibtex-reformat-previous-labels): Renamed to
11310 bibtex-reformat-previous-reference-keys.
11311 (bibtex-reference-type): Renamed to bibtex-entry-type.
11312 (bibtex-reference-head): Renamed to bibtex-entry-head.
11313 (bibtex-reference-maybe-empty-head): Renamed to
11314 bibtex-entry-maybe-empty-head.
11315 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11316 (bibtex-search-reference): Renamed to bibtex-search-entry.
11317 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11318 bibtex-enclosing-entry-maybe-empty-head.
11319 (bibtex-entry-field-alist, bibtex-entry-head,
11320 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11321 bibtex-map-entries, bibtex-search-entry,
11322 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11323 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11324 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11325 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11326 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11327 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11328 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11330 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11332 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11334 (bibtex-format-field-delimiters): New function, functionality
11335 extracted from bibtex-format-entry.
11336 (bibtex-autokey-get-yearfield-digits): New function, functionality
11337 extracted from bibtex-autokey-get-yearfield.
11339 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11340 entries in order to avoid stack overflow in the regexp matcher if
11341 field contents become large.
11342 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11343 bibtex-field-string-part-not-braced,
11344 bibtex-field-string-part-no-inner-braces,
11345 bibtex-field-string-part-1-inner-brace,
11346 bibtex-field-string-part-2-inner-braces,
11347 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11348 bibtex-field-string-quoted, bibtex-field-string,
11349 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11350 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11351 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11352 as parsing is now performed by the following functions.
11353 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11354 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11355 bibtex-parse-field-string, bibtex-search-forward-field-string,
11356 bibtex-parse-association, bibtex-field-name-for-parsing,
11357 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11358 bibtex-search-forward-field, bibtex-search-backward-field,
11359 bibtex-start-of-field, bibtex-end-of-field,
11360 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11361 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11362 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11363 bibtex-parse-string, bibtex-search-forward-string,
11364 bibtex-search-backward-string, bibtex-start-of-string,
11365 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11366 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11367 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11368 entries. Instead of reporting the results of the parsing by
11369 match-beginning or match-end, these functions return data structures
11370 that hold the corresponding positions.
11371 (bibtex-enclosing-field): Changed to also report field boundaries by
11372 return values rather than by match-beginning or match-end. The
11373 following functions have been adapted to use the new parsing
11375 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11376 bibtex-enclosing-field, bibtex-format-entry,
11377 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11378 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11379 bibtex-print-help-message, bibtex-end-of-entry,
11380 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11381 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11382 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11383 method for parsing.
11384 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11385 bibtex-map-entries, bibtex-flash-head,
11386 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11387 bibtex-autokey-change, bibtex-autokey-get-namefield,
11388 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11389 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11390 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11391 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11392 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11393 order to make the new binding of case-fold-search immediately
11396 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11398 * textmodes/bibtex.el: Copyright notice is up to date.
11399 Added constant 'bibtex-maintainer-salutation.
11401 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11402 than make-temp-name, use match-string-no-properties and eliminate
11403 a quadratic behavior when building bibtex-strings.
11405 * bibtex.el (bibtex-reference-key): Accept string entries whose
11406 reference key contains upper case letters.
11408 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11410 * bibtex.el (bibtex-reference-head): Allow entries to start with
11413 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11415 * bibtex.el: Hiding of entry bodies is not longer provided by
11416 bibtex.el directly. Instead the hideshow package can be used.
11417 Added a special bibtex entry to hs-special-modes-alist.
11418 (bibtex-hs-forward-sexp): Added for hideshow.el.
11420 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11422 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11423 proceedings entry type (for cross referencing). Thanks to Wagner
11424 Toledo Correa for the suggestion.
11426 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11428 2000-02-14 Kenichi Handa <handa@etl.go.jp>
11430 * international/characters.el: Setup case table for Vietnamese.
11432 2000-02-12 Gerd Moellmann <gerd@gnu.org>
11434 * uniquify.el (toplevel): Require CL at compile time.
11435 (uniquify-push): Removed.
11437 * shadowfile.el (shadow-when): Removed.
11439 * tempo.el (tempo-dolist, tempo-mapc): Removed.
11440 (tempo-process-and-insert-string): Use dolist instead of
11443 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11444 regexp for paragraph-start.
11446 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11449 2000-02-10 Dave Love <fx@gnu.org>
11451 * wid-edit.el: (widgets) [defgroup]: Remove url link.
11452 (widget-color-choice-list, widget-color-history, widget-mouse-help):
11454 (widget-specify-field, widget-specify-button): Don't use
11455 widget-mouse-help as help-echo property.
11456 (default): Use #'ignore for :validate and :mouse-down-action.
11457 (checkbox): Add help-echo.
11458 (widget-sexp-validate): Rewritten to clarify error messages.
11459 (character): Use char-valid-p in :match function.
11460 (widget-color-complete): Use facemenu-color-alist.
11461 (widget-color-action): Use facemenu-read-color.
11463 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
11464 set up `caar' &c that we now have.
11466 2000-02-09 Ray Blaak <blaak@gnu.org>
11468 * delphi.el: Make resourcestring a declaration region, like const
11471 2000-02-09 Dave Love <fx@gnu.org>
11473 * bindings.el (mode-line-input-method-map): New variable.
11474 (mode-line-mule-info): Use it; fix last change.
11475 (mode-line-mode-menu): Move definition.
11476 (mode-line-mouse-sensitive-p): Deleted.
11477 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11478 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
11481 * startup.el (command-line-1): Don't call
11482 make-mode-line-mouse-sensitive.
11484 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11486 * mail/rmail.el (rmail-retry-failure): Use
11487 rmail-beginning-of-message before rmail-toggle-header, because the
11488 former toggles headers.
11490 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
11492 * diff-mode.el (diff-kill-junk): New interactive function.
11493 (diff-reverse-direction): Use delete-and-extract-region.
11494 (diff-post-command-hook): Restrict the area so that the hook also works
11495 outside of any diff hunk. This is necessary for the minor-mode.
11496 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11497 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11499 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11500 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11501 so that it can be used more easily in <foo>-mode-hook. Also make sure
11502 to avoid duplicate entries.
11503 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11504 (font-lock-remove-keywords): Just as was done for `add', allow it to
11505 work even if font-lock-mode is nil. Also make sure we don't modify
11506 any pre-existing list by forcing a copy-sequence. Finally rename
11507 `major-mode' to `mode'.
11508 (font-lock-fontify-syntactic-anchored-keywords)
11509 (font-lock-fontify-anchored-keywords)
11510 (font-lock-fontify-keywords-region): Use line-end-position.
11511 Don't make `font-lock-multiline' local (it's now done in
11512 font-lock-set-defaults).
11513 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
11514 move the `font-lock-fontified' creation to inside the `unless'.
11516 2000-02-06 Andrew Innes <andrewi@gnu.org>
11518 * term/w32-win.el (x-handle-args): Comment out call to message,
11519 which occurs before window system is initialized.
11521 * makefile.nt: Add support for recompiling lisp code.
11523 2000-02-04 Dave Love <fx@gnu.org>
11525 * bindings.el (mode-line-mule-info): Fix/extend last change.
11527 * completion.el: Replace completion-dolist with dolist.
11529 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11532 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
11534 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11535 environment names before they go into the section regexp.
11537 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11538 char class in regexp.
11540 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11541 `case-fold-search' to nil.
11543 * progmodes/idlwave.el (idlwave-template): Respect
11544 `idlwave-abbrev-change-case'.
11545 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11546 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11547 idlwave-while): respect `idlwave-reserved-word-upcase'.
11548 (idlwave-rw-case): New function.
11549 (idlwave-statement-match): Fixed problem with assignment regexp.
11550 (idlwave-font-lock-keywords): Improved regexp for keyword
11552 (idlwave-surround): New argument LENGTH to support padding of
11553 operators longer than 1 char.
11555 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11556 idlwave-shell-expression-overlay. Implemented printing of
11557 expressions on higher levels of the calling stack.
11558 (idlwave-shell-display-level-in-calling-stack): Restore stack
11560 (idlwave-retrieve-expression-from-level): New function.
11561 (idlwave-shell-last-calling-stack): Variable removed.
11562 (idlwave-shell-reset): Argument action reversed (`visible' to
11563 `hidden'). Also remove stop-line overlay.
11564 (idlwave-shell-calling-stack-routine): New variable.
11565 (idlwave-shell-parse-stack-and-display): Messages now display
11566 negative level numbers.
11567 (idlwave-shell-mode): Set `modeline-format'.
11568 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11569 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11571 (idlwave-shell-print-expression-function): New option.
11573 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11574 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11575 `tool-bar' instead of `toolbar'.
11577 2000-02-02 Dave Love <fx@gnu.org>
11579 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11580 emacs-lisp-mode-hook. Don't check for defalias being defined.
11582 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11583 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
11584 the new builtins directly.
11586 * whitespace.el (whitespace): Add :version to defgroup.
11588 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11591 * thingatpt.el (sexp-at-point, symbol-at-point)
11592 (number-at-point, list-at-point): Add autoload cookie.
11594 * recentf.el (recentf): Add :version to defgroup.
11596 * quickurl.el (quickurl): Add :version to defgroup.
11598 * elide-head.el (elide-head): Use point-marker more.
11600 * bs.el (bs): Add :version to defgroup.
11602 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11604 * progmodes/delphi.el (delphi): Add :version to defgroup.
11606 2000-02-02 Gerd Moellmann <gerd@gnu.org>
11608 * ange-ftp.el (ange-ftp-write-region): Handle case that
11609 succeeding process operation sets a different coding system.
11611 * calculator.el: New file.
11613 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
11615 * frame.el (frames-on-display-list, framep-on-display): New
11617 (display-mouse-p, display-popup-menus-p, display-graphic-p)
11618 (display-selections-p, display-screens, display-pixel-width)
11619 (display-pixel-height, display-mm-width, display-mm-height)
11620 (display-backing-store, display-save-under, display-planes)
11621 (display-color-cells, display-visual-class): New functions.
11623 * term/tty-colors.el (tty-color-gray-shades): New function.
11625 * faces.el (display-color-p): Use framep-on-display.
11626 (display-grayscale-p): New function.
11628 2000-01-31 Dave Love <fx@gnu.org>
11630 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11631 (create-fontset-from-x-resource): Don't concat integers.
11633 2000-01-31 Inge Frick <inge@nada.kth.se>
11635 * view.el: Some changes in documentation. Removed some trailing
11636 whitespace. Changed some parameter names to agree with
11638 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11639 window is not deleted. Modifies change 1998-04-26.
11641 2000-01-31 Gerd Moellmann <gerd@gnu.org>
11643 * windmove.el: New file.
11645 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11646 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11647 progmodes/ebnf-yac.el: Update copyright and license info.
11649 * jit-lock.el (jit-lock-function): Widen before calculating end
11651 (jit-lock-stealth-chunk-start): Rewritten.
11653 * info.el (Info-title-face-alist): Removed.
11654 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11656 (Info-fontify-node): Use these faces.
11658 2000-01-30 Gerd Moellmann <gerd@gnu.org>
11660 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11661 (cl-macro-list1): Recognize `&allow-other-keys' instead of
11662 `&allow-other-keywords'.
11664 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11665 the list of directories scanned heuristically.
11667 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11670 2000-01-30 Jason Rumney <jasonr@gnu.org>
11672 * w32-fns.el: Define w32-tty-standard-colors.
11674 * startup.el (command-line): Use w32-tty-standard-colors when in
11677 2000-01-30 Dave Love <fx@gnu.org>
11679 * jka-compr.el (jka-compr-load): Fix up load-history.
11681 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
11683 * emacs-lisp/cl-macs.el: Revert previous change.
11685 2000-01-29 Dave Love <fx@gnu.org>
11687 * facemenu.el: Purecopy various strings.
11689 * timezone.el (timezone-fix-time): Window against 69 for two-digit
11690 years. Deal with three-digit years.
11692 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
11693 defconst, purecopy.
11694 (help-back-label): Purecopy it.
11696 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11698 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
11699 variable. If non-nil, order the buffer list according to the
11700 currently selected frame.
11701 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
11702 non-nil, pass the selected frame to function buffer-list.
11704 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11706 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
11708 2000-01-28 Dave Love <fx@gnu.org>
11710 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
11712 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
11713 Don't use lisp-indent-hook property.
11716 * subr.el: Move out indent and edebug specs for when and unless.
11718 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
11721 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
11724 2000-01-28 Gerd Moellmann <gerd@gnu.org>
11726 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
11727 `collecting' as synonym for `collect'.
11729 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
11730 for the case it contains spaces.
11732 * simple.el (what-cursor-position): Change formatting of
11735 * frame.el (delete-other-frames): New function.
11736 (toplevel): Bind it to C-x 5 1.
11738 * sort.el (sort-numeric-base): New option.
11739 (sort-numeric-fields): If number starts with `0' or `0[xX[',
11740 interpret it as octal or hexadecimal. Use sort-numeric-base
11743 * progmodes/glasses.el: New file.
11745 2000-01-27 Gerd Moellmann <gerd@gnu.org>
11747 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
11748 userids differently.
11750 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11751 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11752 progmodes/ebnf-yac.el: New files.
11754 2000-01-26 Dave Love <fx@gnu.org>
11756 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
11757 on a function with an empty body. [From Eric Ludlam.]
11759 2000-01-25 Andre Spiegel <spiegel@gnu.org>
11761 * vc.el (vc-version-diff): Make sure file name is expanded.
11763 2000-01-25 Gerd Moellmann <gerd@gnu.org>
11765 * scroll-bar.el (scroll-bar-timer): Variable removed.
11766 (scroll-bar-toolkit-scroll): Don't use a timer.
11768 2000-01-25 Kenichi Handa <handa@etl.go.jp>
11770 * language/thai-util.el (thai-composition-function): Delete
11773 2000-01-24 Dave Love <fx@gnu.org>
11775 * fortran.el (fortran-mode): Use beginning-of-defun-function,
11776 end-of-defun-function.
11778 * font-lock.el (turn-on-font-lock): Don't depend on window-system
11781 2000-01-22 Jason Rumney <jasonr@gnu.org>
11783 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
11784 conflicts with new face support.
11786 2000-01-22 Richard M. Stallman <rms@gnu.org>
11788 * replace.el (query-replace): Rename last arg to DELIMITED.
11789 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
11790 (query-replace-regexp): Likewise.
11792 2000-01-20 Richard M. Stallman <rms@gnu.org>
11794 * subr.el (with-syntax-table): Use make-symbol, not gensym.
11796 * emacs-lisp/lisp.el (beginning-of-defun-function):
11797 Variable renamed from beginning-of-defun.
11798 Do not call make-variable-buffer-local.
11799 (beginning-of-defun-raw): Use new variable name; doc fix.
11800 (beginning-of-defun): Doc fix.
11801 (end-of-defun-function): Variable renamed from end-of-defun.
11802 Do not call make-variable-buffer-local.
11803 (end-of-defun): Use new variable name; doc fix.
11805 * subr.el (dolist, dotimes): Copied from cl-macs.el
11808 * mail/undigest.el (rmail-digest-end-regexps):
11809 Variable replaces rmail-digest-end-regexp.
11810 Allows multiple regexps for detecting the end line.
11811 (undigestify-rmail-message): Corresponding changes.
11813 2000-01-19 Dave Love <fx@gnu.org>
11815 * files.el (user-init-file): Don't declare here -- is primitive.
11817 * startup.el (command-line): Check for compiled user-init-file and
11818 set to uncompiled version if necessary.
11820 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11822 * mail/undigest.el (rmail-digest-end-regexp): New user option.
11823 (undigestify-rmail-message): Use it.
11825 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
11827 2000-01-17 Gerd Moellmann <gerd@gnu.org>
11829 * tmm.el (tmm-goto-completions): Adapt to prompt being part
11832 2000-01-14 Gerd Moellmann <gerd@gnu.org>
11834 * emacs-lisp/copyright.el (copyright-update): Removed the
11835 requirement for a trailing space from `copyright-regexp', to
11836 support copyrights with owner specified on a separate line..
11838 * align.el: New file.
11840 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
11842 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
11844 2000-01-13 Dave Love <fx@gnu.org>
11846 * ph.el: Removed. (Obsoleted by EUDC.)
11848 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11850 * net/eudc.el (toplevel): Remove autoloaded code installing
11851 menu with easymenu, because that causes build problems.
11853 * frame.el (frame-notice-user-settings): New variable.
11854 (frame-notice-user-settings): Don't modify frame parameters
11855 if called a second time.
11857 2000-01-13 Richard M. Stallman <rms@gnu.org>
11859 * frame.el (frame-notice-user-settings):
11860 Notice default-frame-parameters even for non-window frames.
11862 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11864 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
11866 (eudc-bob-can-display-inline-images): Extend for Emacs.
11867 (eudc-bob-toggle-inline-display): Ditto.
11868 (eudc-bob-display-jpeg): Ditto.
11870 2000-01-12 Gerd Moellmann <gerd@gnu.org>
11872 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
11873 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
11874 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
11876 * add-log.el (add-change-log-entry): Fix error trying an `(insert
11879 * subdirs.el: Add `net' directory.
11881 * net: New directory.
11883 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
11884 eval-last-sexp. Don't bind debug-on-error here.
11885 (eval-last-sexp): New function. Bind debug-on-error if
11886 eval-expression-debug-on-error is non-nil.
11887 (eval-defun-2, eval-defun): Likewise.
11889 * simple.el (eval-expression): Don't bind debug-on-error if
11890 eval-expression-debug-on-error is nil. Detect changed
11891 debug-on-error, and propagate new value to global binding, if
11892 eval-expression-debug-on-error is non-nil,
11893 (eval-expression-debug-on-error): Change doc string.
11895 2000-01-11 Richard M. Stallman <rms@gnu.org>
11897 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
11899 * emacs-lisp/lisp-mode.el (with-syntax-table):
11900 Set up lisp-indent-function property.
11902 * subr.el (with-syntax-table): Moved from simple.el.
11904 * simple.el (with-syntax-table): Moved to subr.el.
11906 2000-01-11 Gerd Moellmann <gerd@gnu.org>
11908 * tmm.el (tmm-shortcut): Delete region after prompt instead
11911 * textmodes/fill.el (fill-common-string-prefix): New function.
11912 (fill-context-prefix): Use the longest common prefix of first
11913 and second line fill prefix, if there is one.
11915 2000-01-11 Richard M. Stallman <rms@gnu.org>
11917 * array.el (array-mode): Don't use make-variable-buffer-local.
11918 Use make-local-variable for `truncate-lines'.
11920 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
11922 * add-log.el (add-log-current-defun): Handle user-defined
11923 add-log-current-function returning nil,
11925 * add-log.el (add-change-log-entry): Insert version number
11926 if having found a current function
11928 * add-log.el (add-log-current-defun): Call
11929 `add-log-current-defun-function'. Try matches at level 0 and
11930 level 1. Strip whitespace from defun found.
11932 2000-01-10 John Wiegley <johnw@gnu.org>
11934 * allout.el (isearch-done/outline-provisions): Added `edit'
11935 argument to correspond with the current definition of
11938 2000-01-10 Dave Love <fx@gnu.org>
11940 * elide-head.el (elide-head): Use point-marker, not point.
11942 2000-01-10 Gerd Moellmann <gerd@gnu.org>
11944 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
11945 before and after the year 2000.
11947 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
11948 Add ispell- prefix.
11950 2000-01-10 Ken Stevens <k.stevens@ieee.org>
11952 * ispell.el: Only define dictionaries in menus when they exist.
11953 (version18p): New variable.
11954 (version20p): New variable.
11955 (xemacsp): New variable.
11956 (ispell-choices-win-default-height): Fix for XEmacs visibility.
11957 (ispell-dictionary-alist1): Added Brasileiro dictionary.
11958 (ispell-dictionary-alist6): Russian command lines no longer accept
11959 run-together words.
11960 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
11961 (ispell-dictionary-alist): Add koi8-r to customize definition.
11962 (check-ispell-version): Added documentation string. Returns
11963 library path when called non-interactively.
11964 (ispell-menu-map-needed): Uses new variables.
11965 (ispell-library-path): New variable.
11966 (ispell-decode-string): XEmacs fix for bogus variable bindings.
11967 (ispell-word): Improved documentation string. Test for valid
11968 character mappings. Correctly check typed in word changes that can
11969 result in single words split into multiple words. Returns
11971 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
11972 replace in recursive query replace mode. Help message for
11973 recursive edit mode.
11974 (ispell-show-choices): Protect against bad framepop bindings.
11975 (ispell-help): Fix to work with XEmacs.
11976 (ispell-highlight-spelling-error): Use new variables.
11977 (ispell-overlay-window): Fix to work with XEmacs.
11978 (ispell-parse-output): Passed and returns location information
11979 tracking spelling corrections. Doesn't recheck same word on
11981 (ispell-init-process): Protect against bogus XEmacs variable binding.
11982 Fix call to single argument in sleep-for. Use new variables.
11983 (ispell-region): Passed and returns location information tracking
11984 spelling corrections. Doesn't check same word on current line.
11985 Improved documentation string. Doesn't resend a line already
11986 checked to the ispell process - fixes bug in LaTeX parsing.
11987 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
11988 (ispell-skip-region): No longer skips <TT> in SGML.
11989 (ispell-process-line): Tracks location information with spelling
11990 corrections. Added documentation string. Accounts for words
11991 already accepted on this line. Don't allow query-replace on line
11992 starting with math characters. Doesn't resend a line already sent
11993 to ispell process. Fixes alignment error bug.
11995 2000-01-10 Richard M. Stallman <rms@gnu.org>
11997 * dired-x.el (dired-guess-shell-alist-default):
11998 Suggest xloadimage, which is free, not xv, which isn't.
12000 * ange-ftp.el (ange-ftp-file-name-nondirectory):
12001 Don't ever include the host name or user name in the value.
12003 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12005 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
12008 2000-01-09 Stephen Eglen <stephen@gnu.org>
12010 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
12013 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
12015 * cus-edit.el (custom-hook-convert-widget): Fix comment.
12017 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12019 * progmodes/cperl-mode.el: Replace ^F with ^L.
12021 * sendmail.el (toplevel): Provide `sendmail' when compiling
12022 before `require'ing rmail and mailalias to prevent infinite
12025 2000-01-08 Dave Love <fx@gnu.org>
12027 * emacs-lisp/backquote.el: Remove inappropriate customization
12028 (allowing custom.el to use backquote).
12030 2000-01-07 Dave Love <fx@gnu.org>
12032 * add-log.el (add-log-debugging): Deleted.
12033 (add-change-log-entry): Treat a backup FILE-NAME as its parent
12034 file. Remove debugging code.
12035 (change-log-get-method-definition, change-log-name): Add doc.
12036 (change-log-sortable-date-at): New function.
12037 (change-log-merge): New command.
12039 * time.el (display-time-string-forms): Make the Mail string active.
12040 (display-time-update): Provide help-echo for load average.
12042 * bindings.el (make-mode-line-mouse2-map): New function.
12043 (mode-line-modified): Use it and simplify.
12044 (mode-line-mule-info): Provide help-echo info.
12045 (minor-mode-alist): Activate the strings.
12046 (make-mode-line-mouse-sensitive): Simplify for
12047 mode-line-buffer-identification.
12049 2000-01-07 Gerd Moellmann <gerd@gnu.org>
12051 * play/pong.el: New file.
12053 2000-01-06 Dave Love <fx@gnu.org>
12055 * array.el: Assorted cleanups for compiler warnings, doc strings,
12056 `array-' prefix for symbols.
12058 2000-01-05 Dave Love <fx@gnu.org>
12060 * textmodes/outline.el (outline-mode-menu-bar-map): Add
12061 outline-headers-as-kill.
12062 (outline-mode): Define imenu-generic-expression.
12063 (outline-headers-as-kill): New command.
12065 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
12066 from paragraph-start.
12067 (paragraph-indent-minor-mode): New command.
12069 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
12070 M-C-e, M-C-h, C-j, C-xnd, TAB.
12071 (fortran-mode): Set beginning-of-defun, end-of-defun.
12072 (fortran-column-ruler): Simplify.
12073 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
12074 (fortran-with-subprogram-narrowing): Likewise.
12075 (fortran-indent-subprogram): Call mark-defun.
12076 (fortran-check-for-matching-do): Change narrowing.
12078 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
12079 (cl-lucid-hash-tag): Delete.
12080 (cl-hash-table-p): Correct test for native table.
12081 (cl-hash-table-count): Use hash-table-count.
12083 * browse-url.el (browse-url): Fix case of
12084 browse-url-browser-function being an alist.
12086 2000-01-05 Carsten Dominik <cd@gnu.org>
12088 * textmodes/reftex-vars.el (reftex-parse-file-extension)
12089 (reftex-index-phrase-file-extension): New options.
12091 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
12092 Use new option `reftex-index-phrase-file-extension'.
12094 * textmodes/reftex.el (reftex-access-parse-file): Use new option
12095 `reftex-parse-file-extension'.
12097 2000-01-05 Dave Love <fx@gnu.org>
12099 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
12100 (beginning-of-defun-raw): Use it.
12101 (end-of-defun): New variable.
12102 (end-of-defun): Use it.
12103 (check-parens): New command.
12105 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
12107 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
12108 (hs-show-block): Don't use `mapcar' when not accumulating.
12110 Fix buglet in local variables initialization.
12112 2000-01-05 Andreas Schwab <schwab@suse.de>
12114 * hscroll.el (hscroll): Doc fix.
12116 2000-01-05 Carsten Dominik <cd@gnu.org>
12118 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
12121 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
12122 file idlw-rinfo.el.
12123 (idlwave-customize): load must read file idlw-shell.el.
12124 (idlwave-create-customize-menu): load must read file idlw-shell.el.
12126 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
12128 * progmodes/idlw-shell.el: Also provide idlwave-shell
12129 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
12130 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
12132 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
12133 both reftex-dcr and reftex-vcr.
12135 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
12137 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12139 * ps-print.el: PostScript code now is in separate files, doc fix.
12140 (ps-print-version): New version number (5.0.3).
12141 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
12143 (ps-spool-config): Initialization fix.
12144 (ps-print-prologue-1, ps-print-prologue-2)
12145 (ps-print-duplex-feature): PostScript code moved to separated file.
12146 (ps-background-image): Little code reformating.
12147 (ps-begin-file, ps-begin-job): Fix code.
12148 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
12149 (ps-prologue-file): New fun.
12151 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12153 * ps-vars.el: Eliminated.
12155 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
12158 * ps-print.el: ps-vars eliminated, doc fix.
12159 (ps-print-version): New version number (5.0.2).
12160 (ps-spool-config): Initialization fix.
12161 (ps-print-customize): New fun.
12163 2000-01-04 Gerd Moellmann <gerd@gnu.org>
12165 * autorevert.el (auto-revert-mode): Return value of
12168 2000-01-04 Dave Love <fx@gnu.org>
12170 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
12173 2000-01-03 Dave Love <fx@gnu.org>
12175 * elide-head.el (elide-head) [defgroup]: Add :version.
12177 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
12178 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
12179 `cl-hash-table-p', not `hash-table-p'.
12180 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
12182 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12184 * faces.el (face-read-integer, read-face-attribute)
12185 (color-defined-p, color-values): unspecified-{f,b}g are now
12188 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
12190 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
12191 at comment end, and re-insert them after filling.
12193 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12195 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
12196 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
12197 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
12199 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12201 * term/x-win.el (xw-defined-colors): Call color-supported-p,
12202 the new name of face-color-supported-p.
12204 * term/w32-win.el (xw-defined-colors): Likewise.
12206 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12208 * simple.el (completion-setup-function): Count completion-size
12209 from minibuffer-prompt-end, not from point-min.
12211 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
12213 * faces.el (read-face-attribute, defined-colors, color-defined-p):
12214 Pass the frame to tty-color-* functions.
12215 (display-color-p, frame-set-background-mode): Pass the frame to
12216 tty-display-color-p.
12218 * term/tty-colors.el (tty-defined-color-alist): Renamed from
12220 (tty-color-alist, tty-modify-color-alist): New functions.
12221 (tty-color-define, tty-color-clear, tty-color-approximate)
12222 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
12223 an optional parameter FRAME.
12225 2000-01-01 Gerd Moellmann <gerd@gnu.org>
12227 * image.el (create-image, defimage): Don't assume image data is a
12230 * image.el (defimage): Handle specifications containing :data
12232 (image-type-from-data): New function.
12233 (image-type-from-file-header): Use it.
12234 (create-image): Add parameter DATA-P.
12236 See ChangeLog.8 for earlier changes.
12238 ;; Local Variables:
12239 ;; coding: iso-2022-7bit