1 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
3 * newcomment.el (comment-indent-default): Stick \s<\s< to the left
4 when it follows non-comment text on the line.
6 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
7 Set font-lock-defaults.
8 (lisp-mode-shared-map): Init inside the defvar.
9 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
10 Use define-derived-mode.
12 2000-11-14 Miles Bader <miles@lsi.nec.co.jp>
14 * faces.el (header-line): Use `:box nil' for color/gs displays too.
16 2000-11-14 Gerd Moellmann <gerd@gnu.org>
18 * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
19 recursively optimize body because that can lead to infinite
20 recursion; see comment there.
22 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
24 * faces.el (face-spec-set-match-display): Revert the change from
25 2000-10-24. Add a FIXME for after v21.1.
27 2000-11-13 Miles Bader <miles@gnu.org>
29 * textmodes/fill.el (skip-line-prefix): New function.
30 (fill-region-as-paragraph, fill-region): Return the fill-prefix.
31 (fill-paragraph): Don't leave point inside the fill-prefix.
33 2000-11-13 Miles Bader <miles@lsi.nec.co.jp>
35 * calendar/calendar.el (generate-calendar-window): Use
36 `fit-window-to-buffer'.
38 2000-11-12 Stefan Monnier <monnier@cs.yale.edu>
40 * gud.el (gud-minor-mode): New var.
41 (gud-symbol, gud-val): New functions.
42 (gud-find-file): Copy gud-minor-mode to the new buffer.
43 (gud-menu-map): Include entries for commands that are not always
44 available, using :enable to (de)activate them.
45 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
46 (gud-mode-map): New map.
47 (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
48 (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
49 Don't set up gud's menu (it's done by the minor-mode).
50 (gud-minibuffer-local-map): New.
51 Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
52 (gud-query-cmdline): New function.
53 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
54 (gud-mode): Use define-derived-mode.
55 Don't set up gud's menu (it's done by the minor-mode).
56 (gud-chop-words): Remove.
57 (gud-common-init): Use split-string instead.
58 (gud-new-keymap, gud-make-debug-menu): Eradicate.
60 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
61 Add keyword arg :name.
63 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
64 (diff-count-matches, diff-split-hunk): New functions.
65 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
67 * pcvs-info.el (cvs-fi-conflict-face): New var.
69 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
70 Make it into a simple syntax-table, shared among all submodes.
71 (sh-heredoc-face): Re-introduce.
72 (sh-font-lock-syntactic-face-function): New function.
73 (sh-mode): Use it. Also use define-derived-mode.
74 Remove old bogus setting of indent-region-function.
75 (sh-set-shell): Don't set the syntax-table any more.
76 (sh-mode-syntax-table) <defun>: Remove.
78 2000-11-12 Miles Bader <miles@gnu.org>
80 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
81 message if interactive.
83 2000-11-12 Dave Love <fx@gnu.org>
85 * mail/feedmail.el: Fix header,
86 (feedmail) <defgroup>: Add :link.
88 * view.el: Use local-map property, not keymap on mode-line string.
90 * scroll-all.el (scroll-all-mode): Customize variable. Add
91 autoload cookie to function.
93 * lazy-lock.el: Remove compatibility code.
95 * finder.el (finder-known-keywords): Add `files', remove `vms'.
96 (finder-help-echo): New variable.
97 (finder-mouse-face-on-line): Add help-echo stuff.
98 (finder-list-keywords, finder-list-matches): Use mapc.
100 * faces.el (face-font-registry-alternatives): Add :version.
102 * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
105 * net/browse-url.el (browse-url-browser-function): Update :version.
107 * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
108 (mail-mode): Use [:alnum:] in some regexps.
110 2000-11-10 Dave Love <fx@gnu.org>
112 * ediff.el (ediff-regions-internal, ediff-documentation):
113 * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
116 * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
117 buffer into fundamental mode.
118 (ediff-set-difference): Use copy-sequence if available.
120 * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
121 ediff-patch-map non-nil.
122 (ediff-fixup-patch-map, ediff-fixup-patch-map)
123 (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
124 buffer into fundamental mode.
126 * ediff-merg.el (state-or-merge): Defvar when compiling.
128 2000-11-10 Jason Rumney <jasonr@gnu.org>
130 * w32-fns.el (w32-add-charset-info): New function.
131 (w32-charset-info-alist): Use it.
133 2000-11-10 Gerd Moellmann <gerd@gnu.org>
135 * faces.el (face-font-registry-alternatives): New user-option.
137 2000-11-10 Stefan Monnier <monnier@cs.yale.edu>
139 * textmodes/texinfo.el (texinfo-block-default): New var.
140 (texinfo-insert-block): Use it. Insert a newline if needed.
142 * textmodes/fill.el (fill-indent-according-to-mode): New var.
143 (fill-region-as-paragraph): Use it.
145 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
146 (latex-mode): Tweak tex-*-(head|trail)er regexps.
147 Tweak paragraph regexps to allow a leading [ \t]*.
148 (tex-latex-block): Insert a newline if necessary.
149 (latex-insert-item): Only insert a newline if necessary.
150 (tex-guess-main-file): New function.
151 (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
152 Set tex-main-file if TeX-master is provided.
153 (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
155 2000-11-10 Gerd Moellmann <gerd@gnu.org>
157 * startup.el (command-line): Set the default tooltip-mode
158 to t for graphical displays which implement x-show-tip.
160 * tooltip.el (tooltip-mode): Add a comment about startup.el
161 setting the default value of this user-option.
163 2000-11-09 Stefan Monnier <monnier@cs.yale.edu>
165 * font-lock.el (font-lock-*-face) <defvar>: Move.
166 (font-lock-defaults-alist): Mark obsolete.
167 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
168 (font-lock-mode): Use define-minor-mode.
169 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
170 (font-lock-turn-off-thing-lock): Be more explicit.
171 (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
172 (font-lock-syntactic-face-function): New var.
173 (font-lock-fontify-syntactically-region): Use it.
174 (font-lock-doc-face): New.
176 * pcvs.el (cvs-enabledp): Ignore errors.
177 (cvs-commit-filelist): Never query.
178 (cvs-mode-insert): Always add a terminating / in the initial prompt.
179 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
180 (cvs-do-removal): Use cvs-partition rather than delete-if.
181 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
184 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
185 Allow `next' to jump to after the end of the last match.
187 2000-11-09 Gerd Moellmann <gerd@gnu.org>
189 * simple.el (byte-compiling-files-p): New function.
191 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
194 * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
197 * textmodes/ispell.el (ispell-library-path): Don't call
198 check-ispell-version when byte-compiling because that starts
199 an ispell process, and ispell might not be installed.
200 (toplevel): Don't set up a menu when byte-compiling.
202 * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
203 it, so that a boundp test can be used to determine if we're
204 currently byte-compiling.
206 2000-11-09 Dave Love <fx@gnu.org>
208 * pcvs.el (uniquify-buffer-file-name): Wrap advice in
211 2000-11-09 Vinicius Jose Latorre <vinicius@cpqd.com.br>
213 * ps-print.el: Patch for variable initialization when spooling. Doc
215 (ps-output-list): Fun eliminated.
216 (ps-begin-file, ps-begin-job): Code fix.
218 2000-11-08 Dave Love <fx@gnu.org>
220 * ediff-wind.el (ediff-control-frame-parameters): Zero
223 2000-11-08 Gerd Moellmann <gerd@gnu.org>
225 * simple.el (shell-command, display-message-or-buffer)
226 (shell-command-on-region): Mention resize-mini-windows in the doc
228 (display-message-or-buffer): Take the value of resize-mini-windows
231 2000-11-07 Gerd Moellmann <gerd@gnu.org>
233 * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
235 * dired.el (dired-between-files): Add `^. find' as an alternative
236 to the regular expression, for find-dired.
238 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
240 * textmodes/texnfo-upd.el: Require texinfo.
241 (defmacro, defgroup): Remove.
242 (texinfo-section-to-generic-alist): Remove.
243 Use texinfo-section-list instead (i.e. level is changed string->int).
244 (texinfo-filter): New function.
245 (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
246 (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
247 Use it. And use regexp-opt.
248 (texinfo-find-higher-level-node, texinfo-hierarchic-level)
249 (texinfo-update-menu-region-beginning)
250 (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
251 (texinfo-update-the-node, texinfo-sequentially-update-the-node)
252 (texinfo-update-menu-same-level-regexps): Update.
253 (texinfo-update-node, texinfo-every-node-update)
254 (texinfo-sequential-node-update): Remove autoload cookie.
256 * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
257 (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
258 (texinfo-chapter-level-regexp): Remove.
259 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
261 2000-11-06 Dave Love <fx@gnu.org>
263 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
265 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
268 2000-11-06 Kenichi Handa <handa@etl.go.jp>
270 * composite.el (composition-function-table): Variable declaration
271 moved to src/composite.c.
272 (compose-chars-after): New optional arg object.
274 2000-11-06 Gerd Moellmann <gerd@gnu.org>
276 * bindings.el (mode-line-toggle-read-only)
277 (mode-line-toggle-modified, mode-line-widen)
278 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
279 (make-mode-line-mouse2-map): Rewritten.
280 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
281 functions so that C-h k can show something with a doc string.
283 * startup.el (fancy-splash-delay): Set to 10 seconds.
284 (fancy-splash-max-time): New user-option.
285 (fancy-splash-stop-time): New variable.
286 (fancy-splash-screens): Set it. Catch `stop-splashing'.
287 (fancy-splash-screens-1): Throw `stop-splashing' when current
288 time is greater than fancy-splash-stop-time.
290 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
292 * vc-hooks.el (vc-insert-file): Don't assume byte==char.
294 * pcvs.el (cvs-mode-marked): New arg `noquery'.
295 Prompt user for a file rather than raising an error.
296 (cvs-enabledp): Fix call to cvs-mode-marked.
297 (cvs-insert-file): New function (extracted from cvs-mode-insert).
298 (cvs-mode-insert): Use it. Change the init prompt' value.
299 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
301 * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
302 Don't pass default arg to ewoc-locate.
303 (ewoc-collect): Return result in the right order.
305 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
307 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
308 (cvs-status-get-tags): Fix regexp.
309 (cvs-status-trees, cvs-status-cvstrees):
310 Combine after change hooks and don't sit-for.
311 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
312 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
313 Use make-char rather than hard-coded cryptic data.
314 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
316 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
318 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
319 (cvs-insert-strings): New function.
321 2000-11-06 Miles Bader <miles@lsi.nec.co.jp>
323 * mwheel.el (mouse-wheel-scroll-amount): Renamed from
324 `mwheel-scroll-amount'.
325 (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
326 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
327 string-matching against the version string.
329 2000-11-06 Kenichi Handa <handa@etl.go.jp>
331 * language/thai.el ("Thai"): Set a lisp form that produces
332 composed string in `sample-text' language info.
334 * language/tibetan.el ("Tibetan"): Set a lisp form that produces
335 composed string in `sample-text' language info.
337 * international/mule-cmds.el (describe-language-environment): Eval
338 `sample-text' data and insert the result.
340 * international/mule-conf.el (compound-text): Define this coding
341 system here. Make x-ctext and ctext aliases of it.
343 * language/european.el (compound-text, ctext): Moved to
344 international/mule-conf.el.
346 2000-11-05 Andrew Innes <andrewi@gnu.org>
348 * w32-fns.el (w32-version): New function.
350 2000-11-05 Stefan Monnier <monnier@cs.yale.edu>
352 * progmodes/awk-mode.el: Update copyright.
353 (awk-mode-abbrev-table): Remove.
354 (awk-font-lock-keywords): Use regexp-opt.
355 (awk-mode): Use define-derived-mode.
357 * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
358 when extracting a suffix.
360 2000-11-04 Andre Spiegel <spiegel@gnu.org>
362 * vc-hooks.el (vc-insert-file): Rewritten. Don't bother about
365 2000-11-04 Jason Rumney <jasonr@gnu.org>
367 * language/european.el (decode-mac-roman): Test against r1 not r0.
369 2000-11-03 Stefan Monnier <monnier@cs.yale.edu>
371 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
372 (icon-mode): Define indent-line-function.
373 (icon-comment-indent): Simplify.
374 (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
376 * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
378 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
379 Bind change-log-default-mode to defeat the caching done on it.
380 Don't bother saving excursion any more.
382 * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
384 * frame.el (after-setting-font-hook): Rename hooks -> hook.
385 (set-frame-font): Use the new name (and the old for compatibility).
387 * toolbar/tool-bar.el (tool-bar-mode):
388 * time.el (display-time-mode):
389 * recentf.el (recentf-mode):
390 * paren.el (show-paren-mode):
391 * mwheel.el (mouse-wheel-mode):
393 * jka-compr.el (auto-compression-mode):
394 * image-file.el (auto-image-file-mode):
395 * hl-line.el (hl-line-mode):
396 * delsel.el (delete-selection-mode):
397 * autoinsert.el (auto-insert-mode):
398 * complete.el (partial-completion-mode): Drop unneeded positional args.
400 * info.el (Info-mode):
401 * comint.el (comint-mode): Don't both with make-local-hook.
403 * log-edit.el (log-edit-menu): New menu.
405 2000-11-03 Miles Bader <miles@gnu.org>
407 * wid-edit.el (widget-end-of-line): Reinstate, with a new
408 definition, so that trailing spaces are handled properly.
409 (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
411 2000-11-03 Gerd Moellmann <gerd@gnu.org>
413 * startup.el (fancy-splash-text, fancy-splash-text): Use a single
415 (fancy-splash-screens): Set tab-width to 20.
417 2000-11-03 Dave Love <fx@gnu.org>
419 * comint.el (comint-completion-addsuffix): Fix custom type.
421 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
423 * font-lock.el (font-lock-buffers): Remove.
424 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
425 (font-lock-change-major-mode): Remove.
426 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
427 (font-lock-default-fontify-region): Extend the multiline
428 fontification to whole lines.
429 (font-lock-fontify-anchored-keywords)
430 (font-lock-fontify-keywords-region): If matching just one
431 line (with \n) only mark the \n as multiline.
433 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
434 Correctly handle the case where several :group args are supplied.
436 (easy-mmode-define-global-mode): Allow :extra-args.
437 Correctly handle the case where several :group args are supplied.
439 2000-11-02 Miles Bader <miles@gnu.org>
441 * calendar/calendar.el (diary-face, calendar-today-face)
442 (holiday-face): Remove dependency on `window-system'.
444 2000-11-02 Ken Raeburn <raeburn@gnu.org>
446 * Makefile.in (emacs): Set EMACSLOADPATH always.
447 (update-authors, .el.elc, compile-files): Don't do it explicitly
449 (compile-files): Bomb out if compilation of a file fails.
451 2000-11-02 Dave Love <fx@gnu.org>
453 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
455 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
457 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
458 punctuation in the warning inserted into the *mail* buffer.
460 2000-11-02 Gerd Moellmann <gerd@gnu.org>
462 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
463 (authors-public-domain-p): New function.
464 (authors-print): Use it.
466 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
468 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
470 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
472 * ps-print.el: Extension for even/odd printing. Doc fix.
473 (ps-print-version): New version number (6.3.1).
474 (ps-even-or-odd-pages): Customization fix.
475 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
476 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
477 (ps-page-count): Var replaced by `ps-page-column'.
478 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
479 (ps-print-sheet-p): New fun.
481 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
483 * tooltip.el (tooltip-gud-tips-setup): New function.
484 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
485 (tooltip-mode): Call tooltip-gud-tips-setup.
486 (tooltip-gud-tips): Use `gud-basic-call' instead of
487 process-send-string, so the prompt gets frobbed appropriately.
488 Handle nil return value from `tooltip-gud-print-command'.
490 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
492 * comint.el (comint-add-to-input-history): New function.
493 (comint-send-input): Use `comint-add-to-input-history'.
495 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
497 * info.el (info-menu-header): New face.
498 (Info-fontify-menu-headers): New function.
499 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
501 * info.el (Info-insert-dir): Don't include blank lines at
502 beginning of additional dir files (one is added automatically).
504 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
506 * emacs-lisp/easy-mmode.el (define-minor-mode):
507 Revert the latest changes.
508 Allow the three positional arguments to be skipped and replaced
509 by keyword arguments.
510 Add a :toggle argument to determine whether a nil arg means toggle
511 or means turn-on. The default is unchanged.
512 Add a call to force-mode-line-update.
514 2000-11-01 Dave Love <fx@gnu.org>
516 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
519 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
521 * calendar/calendar.el (diary-face, holiday-face): Add
522 dark-background variants.
524 2000-10-31 Sam Steingold <sds@gnu.org>
526 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
527 `tex-main-file' does not have directory in it.
529 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
531 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
533 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
535 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
538 2000-10-31 Gerd Moellmann <gerd@gnu.org>
540 * files.el (find-file-noselect): When we expand a wildcard, return
541 a list of buffers, as we should do according to the doc string.
543 2000-10-31 Ken Raeburn <raeburn@gnu.org>
545 * loadup.el (top level): Adjust load path if program name is
546 "../src/bootstrap-emacs", in case it's not dumped and thus the
547 load path adjustment hasn't already been done.
549 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
551 * ps-print.el: Fix bug on selected pages for printing. Use
552 `color-values' for Emacs 21. Ensure fontification when jit-lock
553 is on. Try to avoid warning messages when compiling. Doc Fix.
554 (ps-print-version): New version number (6.3).
555 (ps-color-device): Use `color-values' to determine if device
557 (ps-color-values): Try to use `x-color-values' when using XEmacs.
558 (ps-print-page-p): Changed from defsubst to defun.
559 (ps-page-number): Changed from defmacro to defun.
560 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
562 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
563 (ps-end-file, ps-dummy-page): Funs eliminated.
564 (ps-print-color-scale): Changed default value.
565 (ps-page-n-up, ps-print-page-p): New internal vars.
566 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
567 (ps-plot-region, ps-generate, ps-end-job): Code fix.
569 * delim-col.el: Little programming improvement.
570 (delimit-columns-str): New macro.
571 (delimit-columns-region, delimit-columns-rectangle): Code fix.
573 2000-10-31 Kenichi Handa <handa@etl.go.jp>
575 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
576 Moved to european.el.
577 (ccl-encode-mac-roman-font, fontset-mac): Modified for
578 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
579 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
580 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
582 2000-10-30 Dave Love <fx@gnu.org>
584 * progmodes/cc-menus.el (imenu-generic-expression)
585 (imenu-progress-message): Only defvar when compiling.
587 * emacs-lisp/elp.el (elp-unload-hook): New function.
589 * loadhist.el (unload-feature): Call elp-restore-function,
590 checking for symbols; don't use elp-restore-all.
591 (loadhist-hook-functions): Doc fix.
593 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
595 * log-edit.el (log-edit-confirm): Fix the default.
597 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
599 * delim-col.el: Little fix: replace delimit-columns-align-columns by
600 delimit-columns-format.
601 (delimit-columns-region, delimit-columns-rectangle): Code fix.
603 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
605 * comint.el (comint-replace-by-expanded-history): Don't use
606 comint-get-old-input (we're not looking at *old* input).
607 (comint-get-old-input-default): If using fields, signal an error
608 when the point is not in an input field.
610 2000-10-30 Kenichi Handa <handa@etl.go.jp>
612 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
613 and mule-unicode-e000-ffff.
615 * international/mule.el (decode-char, encode-char): New functions.
616 (make-coding-system): Accept a symbol of translation table as a
617 value of property `safe-chars'.
619 * international/mule-cmds.el (encode-coding-char): Check property
620 safe-chars instead of safe-charsets.
622 * international/fontset.el (fontset-default): Modified for
623 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
624 (x-font-name-charset-alist): Likewise.
625 (ccl-encode-unicode-font): New CCL program. Record it in
626 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
628 * language/european.el (mac-roman-decoder, mac-roman-encoder):
629 New translation tables.
630 (decode-mac-roman, encode-mac-roman): Definition of these CCL
631 programs are modified and moved from mac-win.el.
632 (mac-roman): Definition of this coding system is modified and
633 moved from mac-win.el.
635 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
637 * ediff-wind.el (ediff-setup-control-frame): Enclose
638 face-attribute in condition-case to avoid errors in older emacsen.
640 2000-10-29 Miles Bader <miles@gnu.org>
642 * custom.el (custom-add-to-group): Allow multiple entries for a
643 given value OPTION, as long as their widget types are different.
644 * cus-edit.el (custom-face-value-create): If face name doesn't end
645 with "face", add such here (similar to custom group widgets).
647 * comint.el (comint-highlight-prompt): Add :type.
649 2000-10-28 John Wiegley <johnw@gnu.org>
651 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
652 Changed this function to operate on a temporary buffer instead of
653 the main buffer. This not only keeps flyspell from marking a
654 buffer as changed that wasn't, but it solves the jumpy cursor
655 problem when attempts are made to edit incorrect words.
656 (flyspell-maybe-correct-doubling): Same change as for
657 `flyspell-maybe-correct-transposition'.
659 * calendar/timeclock.el (timeclock-log): Doc fix.
660 (timeclock-last-event): Doc fix.
661 (timeclock-log): Kill the timelog buffer after appending a new
663 (timeclock-find-discrep): Use a temp buffer to read in the
664 timelog, instead of visiting the file.
665 (timeclock-log-data): A new function, along with a host of helper
666 functions, for the purpose of making timelog data accessible to
669 * eshell/esh-mode.el (window-height test): Make certain that
670 `eshell-stringify-t' is non-nil.
671 (eshell-password-prompt-regexp): Changed to a much simpler
673 (eshell-send-input): If `eshell-invoke-directly' returns t,
674 directly invoke the parsed command using `eval'. This improves
675 turn-around time on simple commands by a factor of three or
676 greater, such as cd, ls, pwd, etc. -- which get used very often.
677 It also conserves thousands of cons cells per call (since
678 `eshell-do-eval' consumes memory like a Cookie Monster set loose
679 in the Pacific Cookie Company).
681 * eshell/esh-test.el (eshell-test): Whitespace fix.
683 * eshell/em-ls.el (eshell-ls-insert-directory): Make
684 `eshell-ls-initial-args' nil when inserting directory contents.
686 * eshell/em-script.el (eshell-script-initialize): Add names to
687 `eshell-complex-commands, since `source' and `.' are complex.
689 * eshell/esh-cmd.el (eshell-rewrite-for-command)
690 (eshell-rewrite-while-command): Use `eshell-protect' instead of
691 `eshell-copy-handles'.
692 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
694 (eshell-separate-commands): Whitespace fix.
695 (eshell-complex-commands): Added a new list of names, for
696 determining whether a given command is as simple as it looks.
697 (eshell-invoke-directly): New function. Returns t if a command
698 should be invoked directly (using `eval'), rather than indirectly
699 using `eshell-do-eval'.
700 (eshell-do-eval): Whitespace fix.
702 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
703 which provides an emulation of the DOS shell behavior of assuming
704 that cp/mv/ln should copy/move/link to the current directory.
705 (eshell-remove-entries): Added a doc string.
706 (eshell-shuffle-files): Removed the check for `target' being null.
707 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
708 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
709 it to do a smarter check of whether a destination was provided.
710 (eshell/mv, eshell/cp): Enable `:preserve-args'.
711 (eshell/ln): Enable `:preserve-args', and use
712 `eshell-mvcpln-template' to implement the body of the function.
713 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
714 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
715 list after flattening it. This makes it possible to cat files
716 with numerical names.
717 (eshell-unix-initialize): Added several names to
718 `eshell-complex-commands.
719 (eshell-unix-command-complex-p): Return t if a given command name
720 may result in external processes being invoked.
722 * eshell/em-glob.el (eshell-glob-show-progress): Make this
723 variable nil by default, since it slows down glob processing by a
724 factor of two or more, and increases memory consumption.
726 * eshell/em-smart.el: Added a note about how memory consumptive
727 smart display mode can be (at least this is true in Emacs 21).
728 (eshell-smart-initialize): Whitespace fix.
729 (eshell-refresh-windows): Use `if' instead of `when'.
730 (eshell-smart-scroll-window): Calling `save-current-buffer' was
732 (eshell-currently-handling-window): Added a missing global
735 * eshell/em-ls.el (eshell-do-ls): Code simplification.
736 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
738 (eshell-ls-exclude-hidden): Added this variable in addition to
739 `eshell-ls-exclude-regexp'. This one prevents files beginning
740 with . from even being read, which can improve memory consumption
742 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
743 read file entries beginning with a dot. In home directories with
744 lots of hidden files, fully two-thirds of the time spent in ls is
745 used to read directory entries that are immediately thrown away.
746 (eshell-ls-initial-args): Added back this configuration variable,
747 for specifying default initial arguments to every call to ls.
748 Much faster than using an alias to do the same thing.
749 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
750 (eshell-ls-dir): Whitespace change.
752 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
754 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
756 (eshell-stringify-t): Added a customization variable, to indicate
757 whether `t' should be rendered as a string at all. If not, one
758 can still determine if the result of an expression is true using
759 "file-exists-p FILE && echo true".
760 (eshell-stringify): If `eshell-stringify-t' is nil, don't
763 * eshell/esh-module.el: Whitespace fix.
765 * eshell/em-alias.el (eshell-alias-initialize): Added
766 `eshell-command-aliased-p' to `eshell-complex-commands'.
767 (eshell-command-aliased-p): New function that returns t if a
768 command name names an aliased.
770 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
772 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
773 redrawing the screen when changing cursor color.
774 (viper-insert-state-pre-command-sentinel)
775 (viper-replace-state-pre-command-sentinel)
776 (viper-replace-state-post-command-sentinel):
777 Use viper-preserve-cursor-color.
778 Many functions changed to use viper= instead of = when comparing
780 * viper-util.el (viper-memq-char,viper=): New functions for
781 working with characters.
782 (viper-change-cursor-color): Fixed buglet.
783 Many functions changed to use viper= instead of = when comparing
785 * viper.el (viper-insert-state-mode-list): Added eshell.
787 * ediff-init.el (ediff-before-setup-hook): New hook.
788 Several typos fixed in various docstrings.
789 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
790 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
792 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
793 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
794 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
795 (ediff-get-selected-buffers): New function.
796 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
797 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
798 save-window-excursion.
799 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
800 termination check in while loop.
801 * ediff.el (ediff-get-default-file-name): Better defaults when in
803 (ediff-files,ediff-merge-files,ediff-files3)
804 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
806 2000-10-28 Dave Love <fx@gnu.org>
808 * info.el (Info-fontify-node): Add help-echo for menu items.
810 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
812 * startup.el (normal-top-level): If the value of $TERM indicates
813 we are running from xterm or one of its work-alikes, default to a
814 light background mode.
816 Support for -fg, -bg, and -rv command-line arguments for TTYs:
817 * faces.el (tty-handle-reverse-video): New function.
818 (tty-create-frame-with-faces): Call it.
820 * frame.el (frame-notice-user-settings): Don't apply
821 default-frame-alist and initial-frame-alist to MS-DOS frames.
822 Call tty-handle-reverse-video, frame-set-background-mode, and
823 face-set-after-frame-default for non-MS-DOS frames.
825 * startup.el (tty-long-option-alist): New variable.
826 (tty-handle-args): New function.
827 (command-line): Call tty-handle-args.
829 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
830 startup.el now does that for all character-terminal frames.
832 2000-10-28 Miles Bader <miles@gnu.org>
834 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
835 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
836 global. If :global is followed by a non-nil but non-t value,
837 make the mode buffer-local, but also generate a `global-MODE'
838 version using `easy-mmode-define-global-mode'. Add
839 :conditional-turn-on keyword argument.
841 2000-10-28 Dave Love <fx@gnu.org>
843 * international/latin1-disp.el (latin1-char-displayable-p): Don't
846 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
848 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
849 Don't call find-buffer-file-type-coding-system. Instead, just
850 set eol-type to -unix if inhibit-eol-conversion is in effect, or
851 if the file is on an untranslated filesystem.
852 (add-untranslated-filesystem): Use "D" instead of "f" inside
855 2000-10-27 Dave Love <fx@gnu.org>
857 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
858 (refill-mode): Use it.
860 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
862 * international/quail.el (quail-activate): Don't make-local-hook.
864 2000-10-27 Andre Spiegel <spiegel@gnu.org>
866 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
867 manual backups and file.~<rev>.~ for automatic ones.
868 (vc-make-version-backup): Don't do it on MS-DOS without long file
871 * vc.el (vc-version-other-window): If an automatic backup of the
872 desired version exists, rename it instead of copying it.
874 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
875 after command. If there's an unexpected error, signal it instead
877 (vc-cvs-merge-news): Be prepared for no news at all.
879 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
881 * shell.el (shell): Add BUFFER argument.
882 * comint.el (make-comint-in-buffer): New function.
883 (make-comint): Use it.
885 * faces.el (face-spec-choose): Change syntax so that the list of
886 attribute-value pairs is now the cdr of each clause, not the cadr.
887 Detect old-style entries, and handle them. Use pop.
889 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
891 * cus-edit.el (custom-mode-map): Use a sparse map.
892 (custom-mode): Don't bother with make-local-hook.
894 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
896 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
898 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
900 * ps-print.el: Avoid compilation gripes.
901 (ps-print-version): New version number (6.2.1).
903 2000-10-26 Dave Love <fx@gnu.org>
905 * menu-bar.el: Modify some menu item help strings.
906 (menu-bar-help-menu): Add link to MORE.STUFF.
908 * cus-edit.el (custom-mode): Add `special' mode-class property.
910 * wid-browse.el (widget-browse-mode): Likewise.
912 * wid-edit.el (widget-specify-field): Revert to using local-map
913 property, not keymap.
915 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
917 * wid-edit.el (widget-field-end): When checking for a `boundary'
918 field, do so in the correct buffer.
920 * simple.el (undo): Correctly distinguish between numeric and
921 non-numeric prefix args in non-transient-mark-mode, as per the doc
922 string. When in transient-mark-mode, treat all prefix-args as
925 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
926 Position point on match. Handle N == 0 correctly.
928 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
929 (comint-mode-map): Reverse order of `comint-write-output' and
930 `comint-append-output-to-file'.
931 (comint-append-output-to-file): Reinstate this function, for the
934 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
936 * vc.el (vc-version-other-window): Bind `file'.
938 2000-10-25 Gerd Moellmann <gerd@gnu.org>
940 * Makefile.in (update-authors): New target for maintenance purposes.
942 * emacs-lisp/authors.el (batch-update-authors): New function.
943 (authors-fixed-entries): New defconst.
944 (authors-add-fixed-entries): New function.
945 (authors): Call it.: Don't process lispref/.
947 2000-10-25 Jason Rumney <jasonr@gnu.org>
949 * cus-edit.el (custom-button-face, custom-button-pressed-face):
950 Merge x w32 and mac definitions.
952 2000-10-25 Gerd Moellmann <gerd@gnu.org>
954 * menu-bar.el (menu-bar-options-menu): Add a help string for
957 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
959 * time-stamp.el (time-stamp-string-preprocess):
960 Fix a wrong type argument error.
962 2000-10-25 Miles Bader <miles@gnu.org>
964 * recentf.el (recentf-mode): Variable removed.
965 (recentf-mode): Use `define-minor-mode'.
967 * mwheel.el (mouse-wheel-mode): New global minor mode.
968 (mwheel-install): Use `mouse-wheel-mode'.
970 2000-10-25 Dave Love <fx@gnu.org>
972 * progmodes/cperl-mode.el (cperl-mode):
973 Set normal-auto-fill-function correctly.
975 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
976 inherit from global-map and don't nullify menu-bar and tool-bar
979 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
981 * wid-edit.el (widget-field-at): New function.
982 (widget-at, widget-field-activate): Use it.
983 (widget-tabable-at): Use `widget-at'.
984 (widget-specify-field): If the terminating character of the widget
985 field (which is read-only) is a newline, put it into a special
986 `boundary' field so that C-n/C-p act more naturally.
987 (widget-field-end): Also don't subtract one if a special
988 `boundary' field has been added after the widget field.
990 * comint.el (comint-output-filter, comint-send-input): Don't
991 bother adding stickiness fields to overlays to fool the field
992 code, since it should notice the overlay insertion-types now.
994 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
995 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
996 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
998 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1000 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
1001 (authors): Set file coding system to iso-2022-7bit. Add
1002 file-local variables to output buffer.
1004 * files.el (after-find-file): Don't print any warnings if
1007 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1009 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
1011 * delim-col.el: Now there is a column formatting mechanism.
1012 Modified to customization mechanisms convention. Doc fix.
1013 (columns): New group for delim-col.
1014 (delimit-columns-before, delimit-columns-after)
1015 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
1016 (delimit-columns-end): New vars.
1017 (delimit-columns-customize, delimit-columns-format): New funs.
1018 (delimit-columns-region, delimit-columns-rectangle)
1019 (delimit-columns-rectangle-line): Modified to support column
1022 2000-10-24 Dave Love <fx@gnu.org>
1024 * log-edit.el (log-edit): Add :version and a :group for vc.
1026 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1028 * files.el (after-find-file): Don't print a message ``New file''
1031 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
1032 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
1033 get duplicate tool-bar entries because we'll see the global ones
1034 on more than one path through keymaps.
1036 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
1038 * progmodes/cmacexp.el: Change Francesco's email address.
1040 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1042 * window.el (fit-window-to-buffer): Adjust point of the window
1043 buffer, not that of the current buffer.
1045 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
1047 * progmodes/cmacexp.el: Update the euthor's email address.
1049 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1051 * faces.el (face-spec-set-match-display): Add `graphic' display
1052 type (the inverse of `tty'). Use `display-graphic-p' instead of
1053 the window-system variable.
1055 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1057 * international/isearch-x.el (isearch-with-input-method): Call
1058 input-method-function with the first event in
1059 unread-command-events.
1061 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1063 * faces.el (face-default-spec, face-user-default-spec): Make
1066 2000-10-24 Andrew Choi <akochoi@i-cable.com>
1068 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
1071 * term/mac-win.el: Remove definitions of mac-roman-lower and
1072 mac-roman-upper, require dired, and define instead of set
1073 mac-ready-for-drag-n-drop to avoid compilation error.
1075 2000-10-23 Andrew Innes <andrewi@gnu.org>
1077 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
1078 superfluous calls to subst-char-in-string; instead apply
1079 expand-file-name after convert-standard-filename to ensure
1080 expected directory separators are used.
1082 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
1084 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
1086 2000-10-23 Dave Love <fx@gnu.org>
1088 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
1089 (tool-bar-add-item): Set foreground and background for XBM icons.
1091 * international/latin1-disp.el (latin1-char-displayable-p): New
1092 function (from Handa).
1093 (latin1-display-check-font): Use it.
1095 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
1096 using :key-sequence, making it much more usable. Use nconc, not
1098 (imenu--create-keymap-1): Avoid append.
1100 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
1102 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1104 [the following changes fix a bug where `define-minor-mode' didn't
1105 correctly generate :require clauses for defcustoms in compiled files]
1106 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
1107 (byte-compile-log-file, byte-compile-log-1): Don't set
1108 `byte-compile-current-file' to nil. Instead set
1109 `byte-compile-last-logged-file' to it. Test whether
1110 byte-compile-current-file equals byte-compile-last-logged-file
1111 instead of whether its nil.
1112 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
1114 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
1116 * textmodes/refill.el: Fix var names in doc.
1117 (refill-mode): Don't bother with make-local-hook anymore.
1119 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1121 * faces.el (face-user-default-spec, face-default-spec): New functions.
1122 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
1123 (frame-set-background-mode, face-set-after-frame-default):
1124 Use `face-user-default-spec'. Simplify code slightly.
1126 * woman.el (woman-italic-face, woman-bold-face)
1127 (woman-unknown-face): Add dark-background variants.
1128 (woman-default-faces): Renamed from `woman-colour-faces'.
1129 Set using the stored defaults, rather than using hard-wired colors.
1130 (woman-monochrome-faces): Renamed from `woman-black-faces'.
1131 Just make the foreground `unspecified' rather than "black".
1132 (woman-menu): Rename menu entries accordingly.
1134 * faces.el (header-line): Make more reasonable on mono/grayscale
1137 2000-10-23 Andrew Choi <akochoi@i-cable.com>
1139 * cus-edit.el (custom-button-face): Use 3D look for mac.
1140 (custom-button-pressed-face): Likewise.
1142 * faces.el (set-face-attributes-from-resources): Handle mac frames
1143 in the same way as x and w32 frames.
1144 (face-valid-attribute-values): Likewise.
1145 (read-face-attribute): Likewise.
1146 (defined-colors): Likewise.
1147 (color-defined-p): Likewise.
1148 (color-values): Likewise.
1149 (display-grayscale-p): Likewise.
1150 (face-set-after-frame-default): Likewise.
1151 (mode-line): Same default face as for x and w32.
1152 (tool-bar): Likewise.
1154 * frame.el: Remove call to frame-notice-user-settings at end of
1157 * info.el (Info-fontify-node): make underlines invisible for mac
1158 as for x, pc, and w32 frame types.
1160 * term/mac-win.el: New file.
1162 2000-10-22 Dave Love <fx@gnu.org>
1164 * textmodes/refill.el: New file.
1166 2000-10-22 Andre Spiegel <spiegel@gnu.org>
1168 * vc-hooks.el (vc-version-backup-file-name): New optional args
1170 (vc-delete-automatic-version-backups, vc-make-version-backup):
1172 (vc-before-save): Use the latter.
1173 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
1176 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
1177 expected by vc[-hooks].el.
1179 * vc.el (vc-checkout): Added `-p' suffix in call to
1180 vc-make-version-backups-p; use vc-make-version-backup to actually
1182 (vc-version-other-window, vc-version-backup-file): Handle both
1183 automatic and manual backups.
1184 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
1187 2000-10-22 Miles Bader <miles@gnu.org>
1189 * comint.el (comint-highlight-input, comint-highlight-prompt):
1190 Renamed, `-face' at end removed.
1191 (comint-send-input, comint-output-filter): Use renamed faces.
1193 * window.el (fit-window-to-buffer): Change defaulting of
1194 MAX-HEIGHT slightly.
1196 * faces.el (color-values, color-defined-p): Use `member', not
1197 `memq', because it works correctly for strings.
1198 (frame-set-background-mode): Actually, "unspecified-fg" and
1199 "unspecified-bg" *are* strings. Use `member', not `memq', and
1200 `equal', not `eq', when a string value is possible.
1202 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
1204 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
1206 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
1208 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
1209 sh-electric-rparen, sh-electric-less and sh-electric-hash.
1210 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
1211 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
1212 (sh-font-lock-syntactic-keywords): Use them.
1213 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
1214 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
1215 (sh-mode): Don't override font-lock-unfontify-region-function.
1216 Use a copy of sh-font-lock-syntactic-keywords.
1217 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
1218 Don't call sh-scan-buffer since font-lock does it on the fly.
1219 (sh-get-indent-info): Use `face' rather than `syntax-table'
1220 text-property to detect here-documents.
1221 Replace sh-special-syntax with sh-st-punc.
1222 (sh-prev-line): Use `face' rather than `syntax-table'
1223 text-property to skip over here-documents.
1224 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
1225 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
1226 (sh-electric-less, sh-set-here-doc-region)
1227 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
1228 (sh-scan-buffer, sh-rescan-buffer): Remove.
1230 2000-10-21 Andrew Innes <andrewi@gnu.org>
1232 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
1233 remote (ange-ftp) file names.
1235 2000-10-21 Miles Bader <miles@gnu.org>
1237 * window.el (fit-window-to-buffer): New function.
1238 (shrink-window-if-larger-than-buffer): Use it.
1239 (window-text-height): Don't expect minibuffers to have mode-lines.
1241 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1242 * international/quail.el (quail-update-guidance): Use
1243 `fit-window-to-buffer' instead of `set-window-text-height'.
1245 * international/quail.el (quail-show-guidance-buf): Make sure
1246 guidance window really has enough room.
1247 (quail-update-guidance): If quail-guidance-win is already shown,
1248 make sure its height is OK.
1250 * window.el (window-text-height, set-window-text-height):
1252 (shrink-window-if-larger-than-buffer): Use `window-text-height'
1253 instead of `window-height' & `mode-line-window-height-fudge'.
1254 (mode-line-window-height-fudge): Add FACE parameter.
1255 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1256 instead of `enlarge-window' & `mode-line-window-height-fudge'.
1258 2000-10-20 Miles Bader <miles@gnu.org>
1260 * window.el (height-affecting-face-attributes): Use `defconst'.
1262 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1263 New function, conditionally aliased to `mode-line-window-height-fudge'.
1264 (ispell-help): Use it.
1265 (ispell-choices-win-default-height): Don't include mode-line fudge.
1266 (ispell-choices-win-default-height): New function.
1267 (ispell-show-choices, ispell-command-loop): Use function
1268 `ispell-choices-win-default-height' instead of variable.
1270 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
1272 * window.el (mode-line-window-height-fudge): New variable.
1273 (height-affecting-face-attributes): New variable.
1274 (mode-line-window-height-fudge): New function.
1275 (shrink-window-if-larger-than-buffer): Use it.
1276 * help.el (resize-temp-buffer-window): Likewise.
1278 * info.el (Info-fontify-node): Add support for @subsubsection
1279 titles, which use `Info-title-4-face'.
1280 (Info-title-4-face): New face.
1281 (Info-title-3-face): Inherit from Info-title-4-face instead of
1284 2000-10-19 Jason Rumney <jasonr@gnu.org>
1286 * dired.el (dired-insert-directory): Do not let errors signalled by
1287 attempt to run dired-free-space-program prevent dired from working.
1289 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
1291 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1293 2000-10-19 Gerd Moellmann <gerd@gnu.org>
1295 * dirtrack.el (dirtrack): Fix call to run-hooks.
1297 * cmuscheme.el (cmuscheme-program-name): Renamed from
1298 scheme-program-name because xscheme.el contains a defcustom with
1299 the same name. As a consequence, customizing group `cmuscheme'
1300 loaded `xscheme' which redefined run-scheme.
1301 (run-scheme): Use cmuscheme-program-name.
1303 * ps-print.el (ps-print-emacs-type): Move into the
1306 * play/doctor.el (doctor-death): Update the Samaritans'
1307 anonymous address, and add a website for Befrienders International.
1309 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1311 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
1312 Avoid compilation gripes. Doc fix.
1313 (ps-print-version): New version number (6.2).
1314 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1315 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1316 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1317 (ps-x-extent-priority, ps-x-extent-start-position)
1318 (ps-x-face-font-instance, ps-x-find-coding-system)
1319 (ps-x-font-instance-properties, ps-x-make-color-instance)
1320 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1321 avoid compilation gripes without defining functions.
1322 (ps-e-find-composition): Alias for function find-composition, to have a
1323 suitable function depending on Emacs version.
1324 (ps-color-device, ps-color-values, ps-face-foreground-name)
1325 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1326 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1327 (ps-print-ensure-fontified): Function definitions surrounded by
1328 `eval-and-compile' to avoid compilation gripes.
1329 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1330 by symbol-value to avoid compilation gripes.
1331 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1332 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1334 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1336 * startup.el (normal-top-level): Call `frame-set-background-mode'
1337 after `frame-notice-user-settings' because the latter doesn't call
1338 the former on a tty.
1340 * faces.el (frame-set-background-mode): `unspecified' &c are
1341 symbols, not strings.
1343 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1345 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1346 why some "light*" colors are deliberately absent from the alist.
1348 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1349 Change colors for tty's, as suggested by Miles Bader.
1351 2000-10-19 Kenichi Handa <handa@etl.go.jp>
1353 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1354 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
1355 for ISO10646-1 fonts.
1356 (x-font-name-charset-alist): Add an entry for "iso10646-1".
1358 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1360 * faces.el (frame-set-background-mode): If a tty frame defines a
1361 background color, use that to compute the background mode, instead
1362 of always defaulting to "dark".
1364 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1366 * comint.el (comint-write-output): New function.
1367 (comint-mode-map): Add it to the menu.
1368 Bind `C-c C-s' to comint-write-output.
1370 2000-10-18 Gerd Moellmann <gerd@gnu.org>
1372 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1373 Use fancy-splash-delay.
1375 2000-10-18 Alex Schroeder <alex@gnu.org>
1377 * progmodes/sql.el (sql-sybase-options): New option.
1378 (sql-sybase): Use it. Add sql-database to the list of parameters
1379 provided for login. The options -w 2048 -n are not used any more.
1381 * comint.el (comint-read-input-ring): Bugfix such that the first
1382 and the last entry of the input ring file are not lost.
1384 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1386 * ps-print.el: Internal variable changes to defcustom,
1387 make-local-hook changes to defvar. Doc fix.
1388 (ps-print-version): New version number (6.1).
1389 (ps-setup, ps-do-despool): Code fix.
1390 (ps-printer-name): Customization fix.
1391 (ps-printer-name-option): Now is a defcustom instead of an
1393 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1394 (ps-print-begin-column-hook): Now are defvar instead of
1397 2000-10-18 Miles Bader <miles@gnu.org>
1399 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1400 (comint-kill-output): Changed into an alias for `comint-delete-output',
1402 (comint-mode-map): Rename references to comint-kill-output.
1404 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
1406 * diff-mode.el (diff-header-face, diff-file-header-face)
1407 (diff-changed-face): Add bold and italic attributes to tty faces.
1408 (diff-function-face): New face.
1409 (diff-font-lock-keywords): Use it.
1411 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
1413 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1414 Remove commented-out call to force-mode-line-update.
1415 (comint-kill-output): Use `forward-line 0' instead of
1416 beginning-of-line to make sure we get past the prompt.
1418 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
1420 * diff-mode.el (diff-header-face, diff-file-header-face):
1421 Add specific setting for dark background.
1422 (diff-context-face): Renamed from diff-comment-face.
1423 Set explicitly rather than inheriting from font-lock-comment-face.
1425 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1427 * startup.el (command-line): Move the code which sets the default
1428 TTY colors to before before-init-hook.
1430 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1432 * jit-lock.el (jit-lock-stealth-time): Doc fix.
1434 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1436 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1437 extensions, for MS-DOS.
1439 * diff-mode.el (diff-header-face, diff-file-header-face)
1440 (diff-changed-face): Define tty-specific colors.
1442 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1444 * startup.el (fancy-splash-text): Realign the text.
1446 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1448 * font-lock.el (font-lock-comment-face): Define a separate default
1449 for dark-background tty's.
1451 2000-10-17 Miles Bader <miles@gnu.org>
1453 * help.el (resize-temp-buffer-window): Add hack to avoid last line
1454 being obscured by whizzy mode-lines on graphics displays.
1456 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1458 * info.el (Info-title-1-face, Info-title-2-face)
1459 (Info-title-3-face): Define colors for tty's.
1460 (info-header-node): Remove unneeded tty-specific definition.
1462 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
1464 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1465 reverse from the frame parameters, and don't invert foreground and
1468 2000-10-16 Miles Bader <miles@gnu.org>
1470 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1471 string "*Info*". Call propertized-buffer-identification to spruce
1474 2000-10-16 Gerd Moellmann <gerd@gnu.org>
1476 * help.el: Provide `help' for the sake of define-minor-mode
1477 which generates defcustoms with requires.
1479 * jit-lock.el (jit-lock-after-change): If we're in text that
1480 matches a multi-line font-lock pattern, make sure the whole text
1481 will be redisplayed.
1483 * emacs-lisp/authors.el (authors-add): Don't add an entry if
1484 author's name is unknown.
1486 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1487 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1488 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1489 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1490 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1491 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1492 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1493 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1494 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1495 Add author information.
1497 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
1499 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1500 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1501 full-color version (using the Gimp) to eliminate dithering artifacts.
1503 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1505 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1507 * simple.el (syntax-flag-table, string-to-syntax): Remove.
1509 2000-10-15 Dave Love <fx@gnu.org>
1511 * progmodes/sh-script.el: Require skeleton and comint when
1514 * pcomplete.el (pcomplete) <defgroup>: Add :version.
1516 * whitespace.el: Doc fixes.
1517 (top-level): Don't add hooks here.
1518 (whitespace-running-emacs): Deleted.
1519 (timer): Don't require.
1520 (whitespace): Add back :version conditional on xemacs test.
1521 (whitespace-spacetab-regexp, whitespace-indent-regexp)
1522 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1523 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1524 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1525 Avoid specific xemacs test.
1526 (whitespace-global-mode): New option.
1527 (whitespace-global-mode): New command.
1528 (whitespace-unload-hook): New function.
1530 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1531 (Info-fontify-node, Info-goto-node, Info-mode-menu)
1532 (Info-fontify-node): `Goto' goes to `Go to'.
1533 (Info-fontify-node): Add help-echo to xref links.
1535 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
1537 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1539 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1541 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1542 Use plist-get and allow :inherit.
1544 * emacs-lisp/cl-macs.el (cl-do-arglist):
1545 Use plist-get and plist-member instead of memq.
1547 * emacs-lisp/ewoc.el (ewoc-location): New function.
1548 (ewoc-enter-after, ewoc-enter-before): Document return value.
1549 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1550 Don't need make-local-hook any more.
1551 (cvs-addto-collection): Return the new tin.
1552 (cvs-mode-insert): Jump to the new line.
1554 * jit-lock.el (jit-lock-fontify-buffer): Remove.
1556 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1558 * font-lock.el (font-lock-syntactically-fontified): New var.
1559 (font-lock-fontify-syntactic-keywords-region): Use it.
1560 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
1562 * diff-mode.el (diff-find-file-name): Fix regexp.
1564 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1565 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1567 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1568 (sh-mode-syntax-table): Add punctuation syntax for < and >.
1569 (sh-mode): Don't make all vars local here.
1571 (sh-set-shell): Use dolist. Don't set indent-region-function.
1572 (sh-mode-syntax-table): Use pop.
1573 (sh-remember-variable): Use push.
1574 (sh-help-string-for-variable): Use memq.
1575 (sh-safe-backward-sexp): Remove.
1576 (sh-safe-forward-sexp): Add ARG.
1577 (sh-get-indent-info, sh-prev-stmt): Use it.
1578 (sh-prev-line): Simplify by using forward-comment.
1579 (sh-this-is-a-continuation): Simplify.
1580 (sh-learn-buffer-indent): Use dolist.
1581 (sh-do-nothing): Remove.
1582 (sh-set-char-syntax, sh-set-here-doc-region):
1583 Use inhibit-modification-hooks.
1584 (sh-name-style): Use mapcar and push.
1585 (sh-load-style): Use dolist.
1586 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1587 (sh-case, sh-while-getopts): Use propertize directly rather
1588 than sh-electric-rparen.
1590 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
1592 * textmodes/tex-mode.el: Require CL when compiling.
1593 (tex-mode-syntax-table): Init immediately.
1594 (tex-mode-map): Bind M-RET to latex-insert-item.
1595 (latex-mode): Set indent-line-function to latex-indent.
1596 (tex-common-initialization): Don't setup the syntax-table any more.
1597 (latex-insert-item): New skeleton.
1598 (tex-next-unmatched-end): Fix copy/paste braino.
1599 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
1600 (latex-indent, latex-find-indent): New functions.
1601 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
1602 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
1603 (tex-compilation-parse-errors): Use with-syntax-table.
1605 2000-10-15 Miles Bader <miles@gnu.org>
1607 * font-lock.el (font-lock-comment-face): Change dark-background,
1608 color, non-tty, default to `chocolate1'.
1610 2000-10-13 John Wiegley <johnw@gnu.org>
1612 * eshell/esh-util.el (require): Added a missing `require' form,
1613 needed when compiling (for an ange-ftp macro definition).
1615 2000-10-13 Dave Love <fx@gnu.org>
1617 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
1619 2000-10-13 Gerd Moellmann <gerd@gnu.org>
1621 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
1624 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
1625 transparent -colors 8).
1627 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
1629 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
1630 that breaks with old list format timestamps.
1631 (time-stamp-warn-inactive, time-stamp-old-format-warn)
1632 (time-stamp-count, time-stamp-conversion-warn): Improved doc
1635 2000-10-13 John Wiegley <johnw@gnu.org>
1637 * align.el, pcomplete.el, calendar/timeclock.el,
1638 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
1640 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
1641 faulty math, where holiday hours were being computing as seconds.
1643 2000-10-13 John Wiegley <johnw@gnu.org>
1645 * desktop.el (desktop-buffer-modes-to-save): Added a global for
1646 specifying what "other" kinds of buffers should be saved. This
1647 used to be hard-coded.
1648 (desktop-buffer-misc-functions): A global for specifying how
1649 auxiliary data should be determined for special buffer types.
1650 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
1651 instead of hard-coding the special buffer types.
1652 (desktop-save): Run `desktop-buffer-misc-functions' to gather
1653 auxiliary data, instead of hard-coding for Info buffers and dired.
1654 (desktop-buffer-info-misc-data): Aux function for determining Info
1655 buffer auxiliary info.
1656 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
1657 (desktop-buffer-info): Changed this function to use the info
1659 (desktop-create-buffer): Be a little more careful about what
1660 `minor-mode' means before calling it. This is important for some
1663 2000-10-13 John Wiegley <johnw@gnu.org>
1665 * eshell/esh-util.el: Added a global form which declares an
1666 autoload for `parse-time-string', if that function is not already
1667 defined, and if parse-time.el is available on the user's system.
1669 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
1670 to be aware of ange-ftp user info.
1671 (eshell-do-ls): Bind `ange-cache'. Also, use
1672 `eshell-file-attributes'.
1673 (eshell-ls-annotate): Use `eshell-file-attributes'.
1674 (eshell-ls-file): Made the user-id printing code a bit smarter.
1676 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
1677 allow identification of alias user ids in remote directories.
1678 It's manual, but there's no other way to know when the current
1679 user on the local machine, is also the owning user on the remote
1681 (fboundp): Bind `ange-cache'.
1682 (eshell-directory-files-and-attributes): Re-organized the logic a
1683 bit to use `eshell-file-attributes' instead of `file-attributes'.
1684 The former is more sensitive to directories that are read via FTP,
1685 and knows how to use ange-ftp to determine full attribute
1686 information, instead of just the name and last modtime.
1687 (eshell-current-ange-uids): Return the current user id when in a
1689 (eshell-parse-ange-ls): Parse a full directory listing that has
1690 been returned by ange-ftp.
1691 (eshell-file-attributes): This beefed up version of
1692 `file-attributes' is only special if the user is currently in a
1693 remote directory, in which case it does a lot of work to find out
1694 what the real attributes of a file are, as they appear on the
1695 remote machine. This makes usage of remote directories (i.e.,
1696 ange-ftp pathnames) much more useful. You can now use Eshell as a
1697 full-fledged FTP client, with much more manipulation ability than
1700 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
1701 variable, which means that Eshell's du should always be preferred
1702 in remote directories.
1703 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
1704 just `file-attributes'.
1705 (eshell-mvcp-template): Bind `ange-cache', to improve performance
1706 when reading remote directories. This is an Eshell-specific
1707 variable (not part of ange-ftp).
1708 (eshell/ln): Bind `ange-cache'.
1709 (eshell/du): Added some extra logic for determining when to use
1710 Eshell's du (which is slow), and when to use the external version
1711 (which may or may not exist).
1713 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
1714 `eshell-interactive-process', rather than using
1715 `get-buffer-process', since backgrounded processes don't count in
1716 the context of this function's logic.
1718 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
1719 `forward-char', so that null strings are parsed correctly.
1721 2000-09-13 John Wiegley <johnw@gnu.org>
1723 * eshell/em-pred.el (eshell-pred-file-type,
1724 eshell-pred-file-links, eshell-pred-file-size): Use
1725 `eshell-file-attributes'. This is more correct over ange-ftp.
1727 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
1728 that remote file globbing is more efficient.
1730 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
1731 gathering the files and attributes within a directory.
1733 * eshell/em-unix.el (eshell/cat): If any of the files passed on
1734 the command line is a special file (not a regular file, directory
1735 or symlink), always attempt to call the external version of cat.
1737 2000-09-13 John Wiegley <johnw@gnu.org>
1739 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
1740 Eshell-friendly version of find-tag.
1742 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
1744 * image-file.el (image-file-name-extensions)
1745 (image-file-name-regexps): Add autoload cookies.
1747 2000-10-13 Kenichi Handa <handa@etl.go.jp>
1749 * international/mule-cmds.el (select-safe-coding-system): If FROM
1750 is string, show it in *Warning* buffer.
1752 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
1754 * startup.el (normal-top-level): Use display-popup-menus-p instead
1756 (command-line): Use display-graphic-p instead of window-system.
1757 (command-line-1): Use display-popup-menus-p and display-mouse-p
1758 instead of window-system.
1760 2000-10-12 Sam Steingold <sds@gnu.org>
1762 * tooltip.el (tooltip-use-echo-area): New user variable.
1763 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
1765 2000-10-12 Dave Love <fx@gnu.org>
1767 * recentf.el: Maintainer's checkdoc fixes.
1769 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
1770 character class, not ASCII when matching file names.
1771 (fancy-splash-head): Add trailing slash to URL.
1772 (command-line): Don't require XPM support for toolbar.
1774 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
1775 (cperl-invalid-face): Revert last change.
1776 (cperl-init-faces): Quote cperl-invalid-face.
1778 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1780 * startup.el (fancy-splash-text): Remove superfluous quote.
1782 2000-10-12 Gerd Moellmann <gerd@gnu.org>
1784 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
1785 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
1786 (command-line-1): Don't use fancy-splash-pending-command.
1787 (fancy-splash-screens-1): Goto point-min after inserting text.
1789 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
1791 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
1792 instead of shared-lisp-mode-map.
1794 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
1796 * faces.el (header-line): Change tty-variant to use underlining.
1798 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
1799 (isearch-highlight): Restore lazy-isearch face properties at old
1800 position, and suppress them at new position.
1801 (isearch-dehighlight): Restore lazy-isearch face properties.
1802 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
1803 over the real isearch overlay, but in that case, don't give it a
1804 face property. Use `push'.
1806 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1808 * man.el (Man-getpage-in-background): Fix previous change.
1809 Decode the process output only when we are in multibyte mode.
1811 2000-10-11 Dave Love <fx@gnu.org>
1813 * info.el (Info-mode-menu): Fix some help.
1814 (info-tool-bar-map): Add entry for Info-last.
1816 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
1817 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
1818 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
1819 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
1820 * toolbar/search-replace.xpm, toolbar/exit.xpm:
1821 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
1822 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
1823 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
1824 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
1825 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
1826 Reduce colour requirements to 25 overall. (Probably wants
1827 revisiting from the originals to reduce further.)
1829 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
1831 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
1832 buffer-file-coding-system, instead of raw-text.
1833 (dehexlify-buffer): Bind coding-system-for-read to
1834 buffer-file-coding-system, instead of raw-text.
1836 2000-10-11 Sam Steingold <sds@gnu.org>
1838 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
1839 `underline' - fixes the bug introduced on 2000-09-21.
1841 2000-10-11 Dave Love <fx@gnu.org>
1843 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
1845 (scheme-mode): Doc fix.
1846 (scheme-font-lock-keywords-1): Match `define-syntax'.
1848 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
1850 * faces.el (frame-set-background-mode): Pay attention to saved
1851 face specs as well as default ones. Only do anything if the
1852 bg-mode or display-type has actually changed. Use `dolist'.
1853 (region): Make dark-background `region' face less in-your-face.
1855 2000-10-10 Sam Steingold <sds@gnu.org>
1857 * chistory.el, ielm.el, ledit.el:
1858 * progmodes/inf-lisp.el, progmodes/scheme.el:
1859 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
1861 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
1863 * textmodes/texinfo.el: Update copyright and fix typo.
1865 * desktop.el (desktop-modes-not-to-save): New var.
1866 (desktop-save-buffer-p): Use it.
1867 Also, obey desktop-buffers-not-to-save even for non-file buffers.
1868 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
1870 2000-10-10 Dave Love <fx@gnu.org>
1872 * toolbar/tool-bar.el (tool-bar-add-item)
1873 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
1876 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
1877 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
1878 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
1879 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
1880 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
1881 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
1882 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
1883 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
1884 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
1885 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
1886 the .xpms; probably need retouching.
1888 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
1890 * subr.el (add-to-list): Add optional argument APPEND.
1891 * battery.el (display-battery): Use `add-to-list'.
1893 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
1895 * play/zone.el (zone-timer, zone-wc-tbl): Rework
1896 these vars as symbol properties.
1897 (zone, zone-when-idle, zone-leave-me-alone)
1898 (zone-pgm-whack-chars): Use new symbol properties.
1900 * battery.el (display-battery): Doc spelling fix.
1902 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
1905 2000-10-09 Dave Love <fx@gnu.org>
1907 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
1908 has been initialized before calling tool-bar-setup.
1909 (tool-bar-add-item-from-menu): Add autoload cookie.
1911 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
1913 * menu-bar.el (send-mail-item-name): New function.
1914 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
1915 of mail-user-agent in the menu. Don't display the "Send Mail"
1916 item if mail-user-agent is nil or its value is ignore.
1917 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
1918 if read-mail-command is nil or its value is ignore.
1920 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
1922 2000-10-09 Miles Bader <miles@gnu.org>
1924 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
1926 * toolbar/left_arrow.xpm: Correct image size.
1928 * jka-compr.el: Don't call `jka-compr-install' when loading (it
1929 will be done by the definition of `auto-compression-mode' if
1930 necessary. Move code to uninstall existing file-name handler
1931 before definition of `auto-compression-mode'.
1933 * image-file.el (auto-image-file-mode): Move to the end of the
1934 file, because `define-minor-mode' actually calls the mode-function
1935 if the associated variable is non-nil, which requires that all
1936 needed functions be already defined.
1938 * mouse.el (popup-menu): Balance parens.
1940 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
1942 * mouse.el (popup-menu): Move the command call outside the loop
1943 so that popup-menu returns whatever the command returns.
1945 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
1946 (initialize-new-tags-table): Use run-hook-with-args-until-success.
1947 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
1948 (tags-table-format-functions): Renamed from tags-table-format-hooks.
1950 * vc.el (vc-version-diff): diff-switches can be a list.
1951 Use relative filenames for prettier output.
1953 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
1954 (vc-post-command-functions): Remove old-VC compatibility code.
1956 * newcomment.el (comment-indent-default): Autoload.
1958 * font-lock.el (font-lock-defaults): Make buffer-local.
1959 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
1960 (font-lock-choose-keywords):
1961 Ignore LEVEL unless KEYWORDS is a list of syms.
1962 (c-keywords, c++-keywords, objc-keywords, java-keywords):
1963 Don't wrap regexp-opt things in \(...\) unnecessarily.
1965 * jit-lock.el: Don't require font-lock any more.
1966 (jit-lock-functions): Make buffer-local.
1967 (jit-lock-saved-fontify-buffer-function): Remove.
1968 (jit-lock-mode): Remove autoload cookie.
1969 Remove font-lock specific code.
1970 (jit-lock-unregister): Don't bother handling complex hooks any more.
1971 (jit-lock-refontify): New function.
1972 (jit-lock-fontify-buffer): Use it.
1973 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
1974 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
1975 Add optional args START and END.
1976 Never call font-lock-fontify-region directly.
1977 (jit-lock-function, jit-lock-stealth-fontify): Use it.
1979 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
1981 2000-10-08 Dave Love <fx@gnu.org>
1983 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
1985 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
1987 * play/studly.el (studlify-region, studlify-word): Add autoload
1990 * play/morse.el (morse-region, unmorse-region): Add autoload
1993 * play/spook.el (spook-phrases-file): Use expand-file-name, not
1996 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
1997 insist on symbols starting with word syntax.
1998 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
1999 (eval-defun-1): Doc fix.
2000 (indent-sexp): Use nconc to build up indent-stack.
2002 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
2003 Gnus with little use.
2004 (mail-setup-hook): Add mail-abbrevs-setup to options.
2006 * recentf.el: Doc fixes.
2008 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
2011 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
2012 without timezone and (8) with timezone to enforce some whitespace.
2013 Simplify code somewhat.
2015 * options.el (list-options): Doc that you should use customize.
2017 * iswitchb.el (iswitchb-mode): Add :require.
2019 * info.el (Info-goto-node, Info-menu): Doc fix.
2020 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
2021 (info-tool-bar-map): New variable.
2022 (Info-mode): Use it.
2023 (Info-edit-map): Define all in defvar.
2024 (speedbar-attached-frame): Avoid compiler warning.
2026 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
2027 (global-map): Bind [tool-bar] to a filtered map.
2028 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
2029 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
2031 (tool-bar-setup): Adjust calls of tool-bar-add-item.
2033 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
2034 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
2035 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
2036 icons, except up_arrow, which is left-arrow rotated.
2038 * imenu.el (imenu-add-to-menubar): Fix last change.
2040 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
2042 * generic-x.el (rul-generic-mode): Remove eval-when-compile
2043 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
2045 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2047 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
2048 typos in doc strings.
2050 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
2051 the doc strings how to customize Font Lock faces.
2053 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
2054 computing growth when dragging the header line.
2056 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2058 * simple.el (kill-line): Doc fix.
2060 2000-10-08 Miles Bader <miles@gnu.org>
2062 * faces.el (secondary-selection): Make foreground visible on tty.
2064 * jka-compr.el (auto-compression-mode): Move to the end of the
2065 file, because `define-minor-mode' actually calls the mode-function
2066 if the associated variable is non-nil, which requires that all
2067 needed functions be already defined.
2068 (with-auto-compression-mode): Add autoload cookie.
2070 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
2072 * files.el (find-backup-file-name) [ms-dos]: If support for long
2073 file names is not available, behave as if version-control were set
2076 2000-10-07 Dave Love <fx@gnu.org>
2078 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
2079 (browse-url-gnome-moz): New function.
2080 (browse-url-browser-function): Use it.
2081 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
2083 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
2085 * indent.el (tab-always-indent): New var.
2086 (indent-for-tab-command): Use it.
2088 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
2089 raise an error. This way it can still default to a sane value.
2091 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2093 * startup.el (fancy-splash-screens): Use local rather than global map.
2094 Don't use `update-menu-bindings' any more.
2095 Get rid of assumptions about keymap representation.
2097 2000-10-06 Dave Love <fx@gnu.org>
2099 * textmodes/fill.el (sentence-end-double-space)
2100 (sentence-end-without-period): Doc fix.
2101 (adaptive-fill-regexp): Purecopy.
2102 (unjustify-current-line): Use line-end-position.
2103 (fill-individual-paragraphs-prefix): Use line-beginning-position.
2105 * net/eudc-vars.el (eudc): Add :version, :link.
2107 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
2109 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
2110 Fix for define-minor-mode.
2111 (function-at-point): Alias to function-called-at-point.
2113 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
2115 * simple.el (backward-word): Doc fix.
2117 * image-file.el (image-file-name-regexp): image-file-regexps ->
2118 image-file-name-regexps.
2119 (image-file-name-extensions): Add pbm.
2121 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2123 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
2124 and add filename to the names so that diff-mode can jump to source.
2126 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
2127 (tex-font-lock-keywords, tex-font-lock-keywords-2)
2128 (tex-font-lock-keywords-1): Remove.
2129 (font-lock-turn-on-thing-lock): Use jit-lock-register.
2130 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
2131 (font-lock-default-fontify-region):
2132 Expand beg..end correctly when just following a multiline region.
2133 (font-lock-fontify-anchored-keywords):
2134 Include the anchor text as part of the multiline.
2136 2000-10-06 Gerd Moellmann <gerd@gnu.org>
2138 * loadup.el (toplevel): Load `loaddefs' before `help' because the
2139 latter needs the autoloaded define-minor-mode macro during the
2142 * startup.el (command-line): For now, activate tool-bar-mode only
2143 if XPM images are supported.
2145 * mouse.el (mouse-drag-header-line): Don't allow resizing a
2146 window by dragging a header-line at the top of the frame; that's
2147 confusing because the header-line doesn't move.
2148 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
2149 of treating the event as a list. Some cleanup.
2151 2000-10-06 Miles Bader <miles@gnu.org>
2153 * simple.el (display-message-or-buffer): New function.
2154 (shell-command-on-region): Use `display-message-or-buffer'.
2156 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
2159 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
2160 (smbclient-prompt-regexp): Add usage note to doc string.
2161 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
2162 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
2163 Use add-hook for adding the comint filter function, and only do so
2164 if it's not already in the global hook list.
2165 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
2166 to `make-local-variable'.
2167 (nslookup-font-lock-keywords): Remove prompt entry.
2168 (nslookup): Don't set the process-filter.
2169 (finger): Exit the loop correctly when the regexps list runs out.
2170 (ftp, smbclient, smbclient-list-shares):
2171 Set the real major mode immediately, not after execing.
2172 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
2174 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
2176 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
2178 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
2180 * which-func.el (which-func-format): Remove spurious space.
2181 (which-func-mode): Don't make it permanent-local.
2182 (which-func-ff-hook): Allow which-func-maxout to be nil.
2183 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
2184 (which-func-mode): Simplify.
2185 Use post-command-idle-hook rather than post-command-hook.
2186 Go through all buffers and update their state.
2187 (which-function): Also try add-log-current-defun-function.
2189 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
2190 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
2191 Update call to with-vc-properties accordingly.
2192 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
2193 (vc-revert-buffer): More careful about window selection and deletion.
2194 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
2196 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
2197 (cvs-retrieve-revision): Reuse a pre-existing buffer.
2198 (cvs-dired-action): Change the default to quickdir.
2200 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
2201 if comment-indent-function returns nil.
2202 (comment-indent-default): New function.
2203 (comment-indent-function): Use it and document the new semantics.
2205 * image-file.el: Docstring fixes.
2207 * help.el (help-xref-on-pp): Use match-string.
2208 (describe-variable): New arg BUFFER.
2209 Store the current buffer in the help-xref-stack.
2210 (temp-buffer-resize-mode): Use define-minor-mode.
2212 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
2213 consistently with its docstring.
2214 Set jit-lock-first-unfontify-pos in an idempotent way.
2215 (jit-lock-register): Autoload and add arg CONTEXTUAL.
2217 2000-10-05 Alex Schroeder <alex@gnu.org>
2219 * sql.el (sql-mysql-options): New variable.
2220 (sql-mysql): Use it.
2222 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
2224 * image.el (image): New group.
2226 * smerge-mode.el (smerge-mine-face, smerge-other-face)
2227 (smerge-base-face, smerge-markers-face): Add dark-background variants.
2229 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2231 * net/net-utils.el (nslookup-font-lock-keywords)
2232 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2233 Ignore the value of wqindow-system; always define keywords
2235 2000-10-05 Kenichi Handa <handa@etl.go.jp>
2237 * startup.el (fancy-splash-screens): Remove the code for
2238 debugging; `(trace-to-stderr "EXITTT\n")'.
2240 2000-10-05 Miles Bader <miles@gnu.org>
2242 * diff-mode.el (diff-goto-source): Update call to
2243 `diff-hunk-status-msg' to reflect new REV variable.
2245 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
2247 * progmodes/icon.el (icon-mode):
2248 Don't gratuitously override the default for comment-column.
2250 * vc-hooks.el (vc-mode-line): Fix interactive spec.
2252 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2253 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2254 (jit-lock-functions): New var.
2255 (jit-lock-function-1): Use it if non-nil.
2256 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
2257 Set the `fontified' property before doing the fontification to avoid
2258 repeatedly going through the same error.
2259 Don't turn errors into messages.
2260 (jit-lock-register, jit-lock-unregister): New functions.
2262 * dired.el (dired-mark-pop-up): Turn comment into docstring.
2263 Use with-current-buffer.
2265 * dired-aux.el (dired-do-create-files, dired-kill-tree):
2266 Turn comment into docstring.
2268 * apropos.el (apropos-mode): Use define-derived-mode.
2270 2000-10-04 Gerd Moellmann <gerd@gnu.org>
2272 * startup.el (fancy-splash-pending-command): New variable.
2273 (fancy-splash-pre-command): New function.
2274 (fancy-splash-screens): Rewritten.
2275 (command-line-1): If fancy-splash-pending-command is set, call it
2278 2000-10-04 Dave Love <fx@gnu.org>
2280 * toolbar/tool-bar.el (tool-bar-setup): New function.
2281 (tool-bar-mode): Use it.
2283 * subr.el (substitute-key-definition): Doc fix.
2284 (play-sound-file): New command.
2286 2000-10-04 Andre Spiegel <spiegel@gnu.org>
2288 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2289 vc-version-backup-file-name): New functions.
2291 * files.el (basic-save-buffer): Call vc-before-save before saving.
2293 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2294 vc-cvs-stay-local-p.
2296 * vc.el (vc-revert-buffer): Handle empty diff properly.
2297 (vc-version-backup-file): New function.
2298 (vc-checkout): Create a version backup if necessary.
2299 (vc-checkin): If a version backup file exists, delete it.
2300 (vc-version-diff): Diff locally using version backups, if available.
2301 (vc-revert-file): If there's a version backup, revert locally.
2302 (vc-transfer-file): Use version backup for base version, if
2303 available. If not, ask for confirmation whether to get it from the
2304 server. Update mode line before check-in.
2306 2000-10-04 Dave Love <fx@gnu.org>
2308 * toolbar/tool-bar.el (tool-bar-setup): New function.
2309 (tool-bar-mode): Use it.
2311 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2313 * net/net-utils.el (nslookup-font-lock-keywords)
2314 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2315 Only set if window-system is non-nil
2316 (net-utils-run-program): Returns buffer.
2317 (network-connection-reconnect): Added this function.
2320 Incorporates extensive cleanup and docfixes by
2321 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2322 Uses cl compile-time macros.
2323 (generic-mode-name, generic-comment-list)
2324 (generic-keywords-list, generic-font-lock-expressions)
2325 (generic-mode-function-list, generic-mode-syntax-table):
2327 (generic-mode-alist): Renamed to generic-mode-list.
2328 (generic-find-file-regexp): Default changed to "^#".
2329 (generic-read-type): Uses completing read on generic-mode-list.
2330 (generic-mode-sanity-check): removed this function.
2331 (generic-add-to-auto-mode): Removed this function
2332 (generic-mode-internal): Bind mode-specific definitions
2333 into function instead of putting them in alist.
2334 (generic-mode-set-comments): Reworked extensively.
2335 (generic-mode-find-file-hook): Simplified regexp searching
2336 (generic-make-keywords-list): Omit extra pair of parens
2338 * find-lisp.el (find-lisp-find-files-internal):
2339 Make sure directory name ends with "/".
2341 * generic-x.el (apache-conf-generic-mode):
2342 Regexp now allows leading whitespace.
2343 (rc-generic-mode): Added eval-when-compile
2344 around generic-make-keywords-list.
2345 Deleted duplicate regexp
2346 (rul-generic-mode): Added eval-when-compile
2347 around generic-make-keywords-list.
2348 (etc-fstab-generic-mode): New generic mode.
2349 (rul-generic-mode): Removed one eval-when-compile
2350 which caused a max-specpdl-size exceeded error.
2352 2000-10-04 Miles Bader <miles@gnu.org>
2354 * simple.el (minibuffer-temporary-goal-position): New variable.
2355 (next-history-element): Try to keep the position of point in the
2356 input string constant.
2358 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2359 (dired-do-create-files): If there's only one file, pass it in as
2360 the DEFAULT arg to dired-mark-read-file-name.
2362 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
2364 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2365 (diff-goto-source): Be smarter when choosing REVERSE or not.
2367 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2368 (texinfo-mode-menu): Add an explicit shortcut for update all.
2370 2000-10-03 Andre Spiegel <spiegel@gnu.org>
2372 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2373 factorize backend-specific code cleanly (this was essentially
2374 conceived by Stefan Monnier).
2375 (vc-unregister): Function removed.
2376 (vc-revert-file): New function.
2377 (vc-revert-buffer): Delegate some of the work to it.
2379 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2380 default branch unconditionally.
2381 (vc-rcs-set-default-branch): New function.
2382 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2383 (vc-rcs-checkin): If an appropriate default branch has been set,
2384 force creation of that branch.
2385 (vc-rcs-receive-file): Rewritten to contain only backend-specific
2386 code (as suggested by Stefan Monnier).
2388 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2390 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2391 highlighting overlay with a different face over the overlay
2392 isearch uses to highlight the current match because that can lead
2393 to bad face combinations.
2395 * loadup.el (toplevel): Load faces before isearch.
2397 * isearch.el (isearch-faces): New custom group.
2398 (isearch): New defface; was already tested for in the code.
2399 (isearch-lazy-highlight-face): Changed to defface from defcustom.
2400 (isearch-highlight): Always use face `isearch'.
2402 2000-10-02 Dave Love <fx@gnu.org>
2404 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2405 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
2406 comparison of opcode with operand.
2408 2000-10-03 Miles Bader <miles@gnu.org>
2410 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2411 buffer, since the echo area will now grow to accommodate them.
2413 2000-10-02 Andre Spiegel <spiegel@gnu.org>
2415 * vc-hooks.el (vc-registered): If FILE used to be registered under
2416 a certain backend, try that one first.
2418 * vc.el (vc-responsible-backend): Undo the previous change in the
2419 argument list. Handle multiple backends correctly.
2420 (vc-find-new-backend): Function removed.
2421 (vc-register): Use vc-responsible-backend, as before.
2422 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2424 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2426 * startup.el (fancy-splash-head): Change message below the
2429 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
2431 * diff-mode.el (diff-goto-source): Emit a status message.
2432 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2433 (diff-test-hunk): Fix doc string.
2434 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2435 (diff-advance-after-apply-hunk): New variable.
2436 (diff-apply-hunk): Don't return a value.
2438 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
2440 * vc.el (vc-editable-p): Minor optimization.
2441 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2442 (vc-find-new-backend): New function split from vc-responsible-backend.
2443 (vc-register): Use it.
2444 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2445 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2446 (vc-default-unregister, vc-revert-buffer): Docstring fix.
2447 (vc-clear-headers): Don't use find-file.
2448 (vc-revert-buffer): Use `and' again (must have been a braino).
2449 (vc-switch-backend): Only prompt if requested.
2450 Short circuit if nothing is to be done.
2451 Don't use vc-resynch-buffer which could lose unsaved editing.
2452 (vc-default-receive-file): Update call to vc-unregister.
2453 (with-vc-file, vc-next-action-on-file):
2454 Use vc-backend rather than vc-registered.
2455 (vc-next-action-on-file): Use intern-soft.
2456 Deal with read-only *vc-diff* buffer.
2457 (vc-transfer-file): Docstring fix.
2459 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2460 (vc-rcs-receive-file): Avoid with-vc-properties.
2461 Update call to vc-unregister.
2462 Use constant `RCS' rather than (dynamically bound) var `backend'.
2464 2000-10-01 Andre Spiegel <spiegel@gnu.org>
2466 * vc.el (vc-next-action-on-file): Update mode line only if file
2468 (vc-start-entry): New argument initial-contents. Don't visit the file
2469 if it isn't already visited. Brought documentation up-to-date.
2470 (vc-next-action, vc-register): Updated calls to vc-start-entry.
2471 (vc-checkin): New optional arg initial-contents, which is passed to
2473 (vc-finish-logentry): Make sure to bury log buffer only if there
2474 really is one. Call `vc-resynch-buffer' on log-file, not
2476 (vc-default-comment-history, vc-default-wash-log): New functions.
2477 (vc-index-of): Removed.
2478 (vc-transfer-file): Make do without the above.
2479 (vc-default-receive-file): Call comment-history unconditionally. Pass
2480 the resulting string to vc-checkin, instead of inserting it into the
2483 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2484 unconditionally. Use the comments as initial contents of the log
2485 entry buffer. Document the trick to force branch creation with no
2488 2000-10-01 Miles Bader <miles@gnu.org>
2490 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2491 `recenter' with an arg to prevent redrawing the display.
2493 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
2495 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2497 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2499 * progmodes/c-mode.el (c-mode):
2500 Don't gratuitously override the default for comment-column.
2502 * textmodes/tex-mode.el (latex-metasection-list): New var.
2503 (latex-imenu-create-index): Use it.
2504 Move the regexp construction outside loops (and use push).
2505 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2506 (tex-font-lock-keywords): Moved from font-lock.el.
2507 (tex-comment-indent): Remove.
2508 (tex-common-initialization): Don't set comment-indent-function.
2509 (latex-block-default): New var.
2510 (tex-latex-block): Use it to provide a default choice.
2511 Add any unknown choice to latex-block-names.
2512 Insert [...] after {...}.
2513 (tex-last-unended-begin): Simplify regexp.
2514 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2515 (latex-forward-sexp-1, latex-forward-sexp): New functions.
2516 (latex-mode): Set forward-sexp-function.
2518 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2519 Add regexp for @ignore ... @end ignore.
2520 (texinfo-heading-face): New face.
2521 (texinfo-font-lock-keywords): Use it.
2522 (texinfo-mode-menu): New menu.
2523 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2525 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2526 (texinfo-section-types-regexp, texinfo-section-level-regexp)
2527 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2529 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2531 * delsel.el (delete-selection-mode): Use define-minor-mode.
2533 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2535 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2537 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2539 2000-09-30 Gerd Moellmann <gerd@gnu.org>
2541 * replace.el (keep-lines-read-args): New function.
2542 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2543 read arguments interactively. Add parameters RSTART and REND.
2544 Operate on the active region in Transient Mark mode.
2546 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2548 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2549 (authors-obsolete-files-regexps): New variable.
2550 (authors-add): Don't record changes in obsolete files.
2552 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2554 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2556 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2557 (comment-indent): Make sure there's a space between code and comment.
2558 Shift comments left to avoid going past fill-column.
2560 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2562 * startup.el (startup-echo-area-message): New function.
2563 (display-startup-echo-area-message): Use it.
2564 (fancy-splash-screens): Rewritten to use keymaps and a timer.
2565 (fancy-splash-default-action): New function.
2566 (fancy-splash-screens-1): New function.
2567 (fancy-splash-head): Put a help-echo and a keymap under the image.
2569 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2571 * diff-mode.el (diff-add-log-file-name): Remove.
2572 (diff-mode): Use add-log-buffer-file-name-function.
2574 * add-log.el (find-change-log): New arg BUFFER-FILE.
2575 (add-log-file-name): Obey add-log-file-name-function.
2576 (add-log-buffer-file-name-function): New var.
2577 (add-change-log-entry): Use it.
2579 2000-09-29 Miles Bader <miles@gnu.org>
2581 * image-file.el (image-file-name-extensions): New variable.
2582 (image-file-name-regexps): Renamed from `image-file-regexps'.
2583 New default value is nil. Call `auto-image-file-mode'.
2584 (image-file-name-regexp): New function.
2585 (auto-image-file-mode): New minor mode.
2586 (insert-image-file): Don't make conditional on the image-file
2587 handler being enabled.
2588 (image-file-handler): Make the call here conditional instead.
2589 (set-image-file-handler-enabled, enable-image-file-handler)
2590 (disable-image-file-handler): Functions removed.
2592 * emacs-lisp/authors.el (authors-print): Rephrase many-files
2595 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2597 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2598 it's a function from CL.
2599 (latex-imenu-create-index): Replace eval-when-compile with progn
2600 because latex-section-alist is not bound while compiling.
2602 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2604 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
2605 (outline-mode): Use define-derived-mode.
2607 * progmodes/perl-mode.el (perl-mode):
2608 * progmodes/awk-mode.el (awk-mode):
2609 * progmodes/asm-mode.el (asm-mode):
2610 Don't gratuitously override the default for comment-column.
2612 * emacs-lisp/lisp.el (lisp-complete-symbol):
2613 Distinguish the let-binding case from the funcall case.
2614 (forward-sexp-function): New variable.
2615 (forward-sexp): Use it.
2617 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
2618 (easy-mmode-defmap): Remove the now useless autoload.
2620 * time.el (display-time-mode): Use define-minor-mode.
2622 * subr.el (add-minor-mode): Don't eval NAME.
2623 Don't depend on the presence of TOGGLE-FUN for any special behavior.
2624 Use if rather than cond.
2626 * simple.el (read-expression-map): Define more properly.
2627 (comment-indent-hook): Remove.
2628 (string-to-syntax): Bug fix.
2630 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
2631 (cvs-ediff-diff): Fix typo.
2632 (cvs-revert-if-needed): Don't bother preserving read-only.
2634 * paren.el (show-paren-mode): Use define-minor-mode.
2636 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
2637 (toggle-auto-compression): Remove.
2638 (jka-compr-build-file-regexp): Remove useless grouping.
2640 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
2641 Avoid user-reserved bindings.
2642 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
2643 (diff-header-face): Revert to grey85.
2645 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
2647 * complete.el (partial-completion-mode) <defcustom>: Remove.
2648 (partial-completion-mode): Use define-minor-mode.
2649 (PC-do-completion): Understand `completion-auto-help = delay'
2650 to mean to popup the completion buffer only the second time.
2651 (PC-include-file-all-completions, PC-include-file-all-completions)
2652 (PC-include-file-all-completions): Don't quote lambda.
2654 * comint.el (comint-mode-hook): Docstring fix.
2655 (comint-mode): Use define-derived-mode.
2656 (comint-mode-map): Remove obsolete comment.
2657 (make-comint): Minor stylistic change.
2658 (comint-insert-clicked-input): Be more careful to find the overlay.
2659 Use this-command-keys rather than hardcoding mouse-2.
2661 * font-lock.el: Replace confusing (,@ with ,
2662 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
2663 Don't use regexp-opt-depth. Spice up the regexp for args.
2664 Don't distinguish between cmds that can take an opt arg or not.
2665 Use `append' and `prepend' rather than `keep'.
2667 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
2668 (latex-outline-regexp): New var.
2669 (latex-outline-level): New fun.
2670 (latex-section-alist): New var.
2671 (latex-imenu-create-index): Use it. Use `push' as well.
2672 (tex-shell-map): Initialize it properly.
2673 (tex-mode): Minor stylistic change.
2674 (plain-tex-mode): Use define-derived-mode.
2675 (latex-mode): Use define-derived-mode.
2676 Construct the paragraph regexps in a more readable way.
2677 Set the buffer-local outline-{level,regexp} vars.
2678 (slitex-mode): Derive from latex-mode.
2679 (tex-common-initialization): Don't kill-all-vars anymore.
2680 Add setting for comment-add and font-lock-defaults.
2681 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
2682 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
2683 (tex-start-tex): New arg DIR (and send a chdir command for it).
2684 Also display the shell buffer and save it in tex-last-buffer-texed.
2685 (tex-region): Use expand-file-name rather than concat.
2686 Remove code made useless by changes in tex-start-tex.
2687 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
2689 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
2691 2000-09-28 Dave Love <fx@gnu.org>
2693 * eshell/eshell.el (eshell) <defgroup>: Add :version.
2695 2000-09-28 Gerd Moellmann <gerd@gnu.org>
2697 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
2700 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2702 * info.el (Info-extract-pointer): Undo last change.
2703 Instead, fix the position of the `bound' arg to re-search-backward.
2705 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
2707 * info.el (Info-extract-pointer):
2708 Widen more carefully, to avoid finding pointers in other nodes.
2709 (Info-index): Use push.
2711 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2713 * frame.el (set-frame-font): Remove call to obsolete function
2715 (set-foreground-color, set-background-color): Likewise for
2716 frame-update-face-colors.
2718 2000-09-27 Miles Bader <miles@gnu.org>
2720 * image-file.el: New file.
2722 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2724 * frame.el (frame-notice-user-settings): Don't call
2725 frame-update-faces, which is a no-op now.
2727 * ediff-wind.el (ediff-control-frame-parameters): Add zero
2730 2000-09-27 Dave Love <fx@gnu.org>
2732 * mouse.el: Fix last change.
2734 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
2736 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
2738 2000-09-22 Kenichi Handa <handa@etl.go.jp>
2740 * international/quail.el (quail-help): The output message is
2743 2000-09-26 Dave Love <fx@gnu.org>
2745 * mouse.el (popup-menu): If POSITION is nil, set it using
2748 2000-09-25 Sam Steingold <sds@gnu.org>
2750 * net/browse-url.el (browse-url-file-url): Check for null maps.
2752 2000-09-26 Gerd Moellmann <gerd@gnu.org>
2754 * frame.el (frame-notice-user-settings): Don't add a
2755 tool-bar-lines frame parameter to default-frame-alist in batch mode.
2757 * frame.el (frame-notice-user-settings):
2758 Make tool-bar-mode and default-frame-alist consistent.
2760 * toolbar/tool-bar.el (tool-bar-help): New function.
2762 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2764 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
2765 current-load-list in top-level forms. Else this leaks a cons cell
2766 every time a defun is called.
2768 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
2770 2000-09-25 Dave Love <fx@gnu.org>
2772 * startup.el (fancy-splash-head): Check XPM is available.
2774 * autoinsert.el (auto-insert): Doc fix.
2775 (auto-insert-alist): Following GNU notices, don't say `copyright
2776 _by_'. Use line-beginning-position.
2777 (auto-insert): Check buffer-file-name is non-nil before use.
2779 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2781 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
2782 starting with `@def' or `@multitable', in addition to ones
2783 specified by the user in auto-fill-inhibit-regexp.
2785 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
2787 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
2788 rmail-dont-reply-to-names matches the empty string.
2790 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2792 * startup.el (command-line-1, fancy-splash-text): Change the
2793 text to sound more friendly.
2795 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
2797 * progmodes/hideshow.el: Update author email address.
2798 Generally, sync w/ maintainer version 5.22.
2799 (hs-hide-all-non-comment-function): New var.
2800 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
2801 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
2802 (hs-show-region): Delete this command.
2803 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
2805 2000-09-22 Dave Love <fx@gnu.org>
2807 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
2808 (hl-line-highlight): Specify buffer when moving overlay.
2810 * progmodes/fortran.el (fortran-mode): Locally set
2811 normal-auto-fill-function.
2812 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
2813 (fortran-mode-map): Adjust auto-fill menu entry.
2815 2000-09-22 Gerd Moellmann <gerd@gnu.org>
2817 * vc-rcs.el (toplevel): Require `vc' when compiling.
2819 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
2821 2000-09-22 Andre Spiegel <spiegel@gnu.org>
2823 * vc.el (vc-switch-backend): Signal an error if the file is not
2824 registered under the new backend.
2826 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
2827 without explicit revision number.
2829 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
2831 * diff-mode.el (diff-file-header-face): Reset to its previous value.
2832 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
2833 (diff-xor): New function.
2834 (diff-find-source-location): Use it. Fix a stupid name clash.
2835 (diff-hunk-status-msg): New function.
2836 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
2837 (diff-test-hunk): Use diff-find-source-location.
2838 (diff-goto-source): Favor the `reverse'.
2839 (diff-hunk-text): Properly handle one-sided context diffs.
2840 (diff-apply-hunk): When done, advance to the next hunk.
2842 2000-09-21 Gerd Moellmann <gerd@gnu.org>
2844 * startup.el (command-line): If frame was created with a non-zero
2845 tool-bar-lines parameter, switch tool-bar-mode on.
2847 * add-log.el (change-log-date-face, change-log-name-face)
2848 (change-log-email-face, change-log-file-face)
2849 (change-log-list-face, change-log-conditionals-face)
2850 (change-log-function-face, change-log-acknowledgement-face):
2851 New faces, inheriting from font-lock faces.
2852 (change-log-font-lock-keywords): Use them.
2854 2000-09-21 Dave Love <fx@gnu.org>
2856 * progmodes/cperl-mode.el (top-level): Clean up
2857 `eval-when-compile's and assorted defvars.
2858 (cperl-invalid-face): Don't double-quote value. Change custom
2860 (cperl-mode): Set normal-auto-fill-function and don't zap
2862 (cperl-imenu--function-name-regexp-perl): Renamed from
2863 imenu-example--function-name-regexp-perl.
2864 (cperl-imenu--create-perl-index): Renamed from
2865 imenu-example--create-perl-index.
2866 (cperl-xsub-scan): Don't require cl.
2868 * msb.el (msb-mode-map): Use substitute-key-definition.
2869 (msb-mode): Use msb-mode-map.
2871 2000-09-21 Andre Spiegel <spiegel@gnu.org>
2873 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
2875 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
2876 (vc-switch-backend): New function.
2877 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
2878 (vc-register): Fix prompt.
2879 (vc-unregister, vc-default-unregister): New functions.
2880 (vc-version-diff): Handle empty buffer in sentinel.
2882 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
2883 (vc-rcs-state-heuristic): Use it to guess the state of files with
2885 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
2886 been set with -b, but not created yet.
2887 (vc-rcs-fetch-master-state): With non-strict locking, compare file
2888 contents in order to find the state.
2889 (vc-rcs-checkin): Allow creation of branches with no changes.
2890 (vc-rcs-unregister, vc-rcs-receive-file)
2891 (vc-rcs-set-non-strict-locking): New functions.
2893 * vc-hooks.el (vc-name): Force correct computation of the value
2894 in case it is missing.
2896 2000-09-21 Gerd Moellmann <gerd@gnu.org>
2898 * startup.el (fancy-splash-tail): Use a different foreground
2899 color on a dark frame background.
2901 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
2903 * info.el: Use the correct capitalization when making Info-mode
2904 and Info-edit-mode `special' modes.
2906 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
2908 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
2909 (diff-mode): Add support for add-log.el.
2910 (diff-hunk-text): Use char offsets rather than line offsets.
2911 (diff-find-source-location): Replace LINE with line-offset (nil
2912 if not found) and always set POS to a meaningful position.
2913 Adapt to the new char-offsets.
2914 (diff-apply-hunk): Drop support for the unused `select' POPUP.
2915 Adapt to the new diff-find-source-location.
2916 (diff-goto-source): Adapt to the new diff-find-source-location.
2918 * add-log.el (add-log-file-name): New function (split out of
2919 add-change-log-entry).
2920 (add-change-log-entry): Use it.
2921 Call add-log-file-name-function with the changelog file name if
2922 the current buffer is not associated with any file.
2923 Avoid find-file if the selected window is dedicated.
2925 * diff-mode.el (diff-find-source-location):
2926 Move code from diff-apply-hunk. Return buffer rather than file.
2927 (diff-apply-hunk): Use the new result from diff-find-source-location.
2928 (diff-goto-source): Use the new diff-find-source-location.
2930 2000-09-20 Dave Love <fx@gnu.org>
2932 * iswitchb.el: Some doc fixes.
2933 (iswitchb-mode-map): Define completely initially. Inherit
2934 minibuffer-local-map.
2935 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
2937 (iswitchb-global-map): New variable.
2938 (iswitchb-summaries-to-end): Amalgamate regexps.
2939 (iswitchb-mode): New.
2940 (iswitchb-mode-hook): New variable.
2941 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
2944 2000-09-20 Gerd Moellmann <gerd@gnu.org>
2946 * ehelp.el (electric-help): New defgroup.
2947 (electric-help-shrink-window): New user-option.
2948 (with-electric-help): Use it.
2950 * window.el (shrink-window-if-larger-than-buffer): If face
2951 `mode-line' has a :box, and we're on a graphical frame, add 1
2952 to the needed window height.
2954 * frame.el (frame-notice-user-settings): Add a last parameter nil
2955 to a call to `append', because the last list passed to `append' is
2956 not copied, and so subsequent calls to assq-delete-all will modify
2957 default-frame-alist.
2959 * startup.el (fancy-splash-image): Change :type.
2960 (fancy-splash-head): Use an XBM image if appropriate.
2961 (command-line-1): Show splash screens in more cases.
2963 * startup.el (fancy-splash-text): Don't quote faces.
2965 * dired.el (dired-font-lock-keywords): Undo last change.
2966 (dired-readin): Bind indent-tabs-mode to nil.
2968 * startup.el (fancy-splash-head): If frame's background mode
2969 is `dark', change the black background of the image to gray.
2970 (fancy-splash-screens): Display startup echo area message.
2971 (display-startup-echo-area-message): New function.
2973 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
2975 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
2977 * info.el (info-header-node): Tweak for color ttys.
2979 * faces.el (face-valid-attribute-values): Make sure directories we
2980 search for stipples both exist and are readable before trying to
2983 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
2984 in the dry-run case.
2986 * jka-compr.el (with-auto-compression-mode): New macro.
2988 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
2989 (custom-group-tag-face, custom-variable-tag-face): Use relative
2990 :height and inherit from `variable-pitch' face instead of
2992 * hi-lock.el (hi-black-hb): Likewise.
2994 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
2995 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
2996 toolbar-add-item, if image doesn't have a mask add a `:mask
2999 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
3001 * diff-mode.el: Docstring fixes.
3002 (diff-header-face, diff-comment-face): New faces.
3003 (diff-font-lock-keywords): Highlight a bit differently.
3004 (diff-find-source-location): Don't return SPAN any more.
3005 (diff-hunk-text): Don't bother erasing the temp buffer.
3006 (diff-find-text): Drop argument LINE.
3007 (diff-apply-hunk): Update calls to diff-find-text.
3008 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
3010 * calendar/calendar.el: Docstring fixes.
3011 (calendar-make-alist): Don't quote lambda.
3012 (calendar-star-date): Use make-local-variable.
3014 2000-09-19 Dave Love <fx@gnu.org>
3016 * toolbar/tool-bar.el: Renamed from toolbar.el.
3017 Change `toolbar' to `tool-bar' generally in symbols.
3018 Make some items invisible in `special' major modes.
3019 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
3022 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
3024 (fancy-splash-delay, fancy-splash-image): Remove :version here.
3026 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3028 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
3030 * files.el (find-file-suppress-same-file-warnings): New user-option.
3031 (find-file-noselect): Use it.
3033 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
3034 (fancy-splash-screen): Defgroup.
3036 * add-log.el (change-log-font-lock-keywords): Match names
3037 more exactly for the case that font-lock-constant-face is
3040 2000-09-19 Richard M. Stallman <rms@gnu.org>
3042 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
3044 2000-09-19 Andre Spiegel <spiegel@gnu.org>
3046 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
3048 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3050 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
3051 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
3052 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
3053 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
3054 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
3055 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
3056 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
3057 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
3058 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
3059 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
3060 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
3061 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
3063 * startup.el (fancy-splash-text): New variable.
3064 (fancy-splash-delay, fancy-splash-image): New user-options.
3065 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
3066 (fancy-splash-screens): New functions.
3067 (command-line-1): If display has a `display' frame parameter, has
3068 colors, and we have XPM support, show more fancy splash screens.
3070 2000-09-19 Dave Love <fx@gnu.org>
3072 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
3073 with null `help'. Use modern backquote syntax.
3075 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3077 * font-lock.el (font-lock-mode): Change message telling the user
3078 that ``the buffer is too big''.
3080 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
3081 for instance for the case that tab-width is 2.
3083 2000-09-18 Gerd Moellmann <gerd@gnu.org>
3085 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
3086 toolbar-add-item, if image doesn't have a mask add a `:mask
3089 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
3091 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
3092 and return a cons if it's non-nil.
3093 (diff-apply-hunk): Try to jump to the line in the source text
3094 corresponding to the position of point in the in the hunk.
3096 * info.el (Info-title-3-face, Info-title-2-face)
3097 (Info-title-1-face): Use face inheritance and relative sizes
3098 instead of hard-wiring things.
3100 * faces.el (secondary-selection): Make dark-background variant sane.
3102 2000-09-16 Andrew Innes <andrewi@gnu.org>
3104 * makefile.w32-in (compile-files-CMD): No need to make .elc files
3105 read-only, since they aren't under VC now.
3107 2000-09-17 Dave Love <fx@gnu.org>
3109 * tmm.el: Replace mapcar with mapc in several places.
3111 * loadhist.el (unload-feature): Maybe call elp-restore-list and
3114 * international/latin1-disp.el: New file.
3116 * calendar/cal-move.el (scroll-calendar-left)
3117 (scroll-calendar-right): Make arg optional (for active mode line).
3119 * calendar/calendar.el (calendar-mode-line-format): Make fields
3121 (calendar-read-date, calendar-read-date, calendar-window-list):
3123 (calendar-month-name): Use aref, not sref.
3125 * view.el (minor-mode-alist): Propertize the string.
3127 * international/characters.el (standard-case-table): Add entries
3130 2000-09-18 Miles Bader <miles@gnu.org>
3132 * info.el (info-node, info-xref): Add dark-background variants.
3134 * faces.el (header-line): Change defaults to be less confusing
3135 when mixed with mode-lines.
3137 * info.el (Info-fontify-node): Make a few cleanups.
3138 Add extra `help-echo' and `local-map' props to node xrefs.
3139 Use header-specific faces for node-names & xrefs.
3140 (Info-use-header-line): New variable.
3141 (info-header-xref, info-header-node): New faces.
3142 (Info-setup-header-line): New function.
3143 (Info-select-node): Call Info-setup-header-line when enabled.
3144 (Info-extract-pointer): Work even if the header line is hidden.
3145 (Info-header-line): New variable.
3147 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
3149 * vms-patch.el (print-region-function): Don't quote lambda.
3151 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
3153 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
3154 (lm-get-header-re): Allow spaces between the header and the colon.
3155 (lm-header): Allow $ in non-RCS headers.
3156 (lm-header-multiline): Put the strings back into order.
3157 Stop at an empty line. Don't require two space chars if the
3158 line is clearly not another header line.
3160 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
3161 (popup-menu-popup): Remove.
3163 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3165 * toolbar/toolbar.el (toolbar-add-item): Use the same image
3166 specification if or if not tool-bar item contains an `:enabled'
3169 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
3170 current buffer has no file name.
3172 2000-09-15 Dave Love <fx@gnu.org>
3174 * strokes.el: Sync with maintainer's current version with changes
3175 for Emacs, but avoid runtime cl and levents.
3176 (toplevel): Change autoloads and compilation requires.
3177 (strokes-version, strokes-bug-address, strokes-lift): Values
3179 (strokes-xpm-header, strokes-insinuated): New variable.
3180 (strokes): Add :link.
3181 (strokes-mode): Customized.
3182 (strokes-while-inhibiting-garbage-collector): New macro.
3183 (strokes-remassoc): Avoid remove-if.
3184 (strokes-fix-button2-command): Don't use ad-do-it.
3185 (strokes-insinuate): New function.
3186 (strokes-button-press-event-p, strokes-button-release-event-p):
3187 New functions, used instead of non-`strokes-' versions..
3188 (strokes-mouse-event-p): Rewritten.
3189 (strokes-event-closest-point): Avoid event-point.
3190 (strokes-get-grid-position): Avoid cdadr, caadr
3191 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
3193 (strokes-help): Use with-output-to-temp-buffer.
3194 (strokes-window-configuration-changed-p): New function.
3195 (strokes-update-window-configuration): Use buffer-live-p,
3196 strokes-window-configuration-changed-p.
3197 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
3198 (strokes-char-face): New face.
3199 (strokes-char-table, strokes-base64-chars): New variable.
3200 (strokes-xpm-for-stroke, strokes-list-strokes)
3201 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
3202 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
3203 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
3204 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
3205 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
3208 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3210 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
3212 * image.el (create-image): Doc fix.
3214 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
3215 instead of `:heuristic-mask t'.
3217 2000-09-14 Andrew Innes <andrewi@gnu.org>
3219 * makefile.w32-in: Revert to Unix line endings.
3221 2000-09-14 Andrew Innes <andrewi@gnu.org>
3223 * makefile.w32-in: Add bootstrap support. Also copy lisp source
3226 * makefile.nt (DONTCOMPILE): Fix typo.
3228 * shell.el (shell-write-history-on-exit): New function.
3229 (shell-dumb-shell-regexp): New custom variable.
3230 (shell-mode): Make shell-write-history-on-exit the process
3231 sentinel if shell name matches shell-dumb-shell-regexp.
3233 * w32-fns.el: Comment out before-init-hook function which resets
3234 source-directory based; this breaks bootstrap.
3236 2000-09-14 Dave Love <fx@gnu.org>
3238 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3239 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3240 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3241 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3242 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3243 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3244 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
3245 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
3246 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3248 * toolbar/toolbar.el: New.
3250 * subdirs.el: Add toolbar.
3252 2000-09-14 Gerd Moellmann <gerd@gnu.org>
3254 * indent.el (indent-for-tab-command): Doc fix.
3256 2000-09-14 Alex Schroeder <alex@gnu.org>
3258 * ansi-color.el (ansi-colors): Doc change.
3259 (ansi-color-get-face): Simplified regexp.
3260 (ansi-color-faces-vector): Added more faces, doc change.
3261 (ansi-color-names-vector): Doc change.
3262 (ansi-color-regexp): Simplified regexp.
3263 (ansi-color-parameter-regexp): New regexp.
3264 (ansi-color-filter-apply): Doc change.
3265 (ansi-color-filter-region): Doc change.
3266 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3267 deal with zero length parameters.
3268 (ansi-color-apply-on-region): Doc change.
3269 (ansi-color-map): Doc change.
3270 (ansi-color-map-update): Removed debugging message.
3271 (ansi-color-get-face-1): Added condition-case to trap
3272 args-out-of-range errors.
3273 (ansi-color-get-face): Doc change.
3274 (ansi-color-make-face): Removed.
3275 (ansi-color-for-shell-mode): New option.
3277 2000-09-13 Kenichi Handa <handa@etl.go.jp>
3279 * international/quail.el (quail-start-translation): Translate KEY
3280 if necessary even if it doesn't have any mapping in the current
3282 (quail-start-conversion): Likewise.
3283 (quail-help): The output message is improved.
3285 2000-09-13 Miles Bader <miles@gnu.org>
3287 * comint.el (comint-output-filter): Revert to using
3288 `insert-before-markers'. Add bletcherous hack to undo damage
3289 caused by `insert-before-markers'. Put `front-sticky' property on
3290 overlays created here so that the field code understands how the
3291 overlay works. Use a let when making comint-last-prompt-overlay,
3292 so that the code is easier to read.
3294 2000-09-13 Dave Love <fx@gnu.org>
3296 * wid-edit.el (widget-default-format-handler): DTRT when
3297 doc-property is a function.
3299 2000-09-12 Francesco Potorti` <pot@gnu.org>
3301 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3302 filed name if it's not there.
3304 2000-09-12 Dave Love <fx@gnu.org>
3306 * simple.el (read-mail-command): Doc fix.
3307 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3309 * vc.el (vc-dired-listing-switches): Fix :version.
3311 * vc-hooks.el: Doc fixes.
3313 * subr.el (add-minor-mode): Use toggle-fun arg.
3315 * speedbar.el: Add :version to several defcustoms.
3317 * imenu.el (imenu--truncate-items, imenu--cleanup)
3318 (imenu--generic-function): Avoid mapcar.
3319 (imenu--replace-spaces): Function removed.
3320 (imenu--completion-buffer): Use subst-char-in-string.
3321 (imenu-add-to-menubar): Use keymap inheritance.
3323 2000-09-12 Miles Bader <miles@gnu.org>
3325 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3326 (diff-mode-map): Bind `diff-test-hunk'.
3327 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3329 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3331 * bytecomp.el (byte-compile-defvar): Undo last change
3332 because it breaks '(make-variable-buffer-local (defvar ...)'
3333 which is used at least in dired.
3335 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3337 * international/quail.el (quail-define-package): Docstring
3340 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3342 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3343 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3344 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
3345 docstring of "chinese-py".
3347 * international/quail.el (quail-translation-docstring): New
3349 (quail-show-keyboard-layout): Docstring modified.
3350 (quail-select-current): Likewise.
3351 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3352 infinite recursive call.
3353 (quail-help): Check quail-translation-docstring. Format of the
3355 (quail-help-insert-keymap-description): Adjusted for the above
3358 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3360 * bytecomp.el (byte-compile-defvar): Only cons onto
3361 current-load-list in top-level forms. Else this leaks a cons cell
3362 every time a defun is called.
3364 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
3366 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3367 Now understands non-unified diffs. Some functionality moved into
3368 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
3369 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
3370 modify anything. Only reposition point in the patched file if the
3371 patch succeeds. Only pop up another window if POPUP is true.
3372 Emit a message describing what happened if successful, and at what
3373 line-offset. Automatically detect reversed hunks and do something
3375 (diff-hunk-text, diff-find-text): New functions.
3376 (diff-filter-lines): Function removed.
3377 (diff-test-hunk): New function.
3378 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3380 2000-09-10 Dave Love <fx@gnu.org>
3382 * textmodes/tildify.el: Minor doc/commentary fixes.
3383 (tildify) <defgroup>: Add :version.
3385 * faces.el (face-x-resources): Make custom type more specific.
3386 (frame-background-mode): Use mapc.
3387 (region) <defcustom>: Add :version.
3389 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
3391 * vc-sccs.el (vc-sccs-register):
3392 * vc-rcs.el (vc-rcs-register):
3393 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3394 * vc.el (vc-register): Clear file's properties.
3396 2000-09-08 Gerd Moellmann <gerd@gnu.org>
3398 * faces.el (face-spec-set): Only face-spec-reset-face when
3401 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3403 * help.el (help-insert-xref-button): Fix a typo in doc string.
3405 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
3407 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3408 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3411 * menu-bar.el (read-mail-item-name): New function.
3412 (menu-bar-tools-menu): Use it to compute and display the package
3414 (menu-bar-tools-menu): Fix typo in GUD's help string.
3416 2000-09-07 Dave Love <fx@gnu.org>
3418 * diff-mode.el (diff-mouse-goto-source): New function.
3420 * vc-sccs.el: Doc fixes.
3421 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3423 * vc-rcs.el: Doc fixes.
3424 (vc-rcs-register-switches, vc-rcs-checkin-switches)
3425 (vc-rcs-checkout-switches, vc-rcs-header)
3426 (vc-rcs-master-templates): Add or change :version.
3428 * vc-cvs.el: Doc fixes.
3429 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3430 (vc-cvs-stay-local): Add :version.
3432 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3434 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3436 * international/quail.el (quail-help): Fix previous change.
3438 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3440 * faces.el (color-values): Doc fix.
3442 * faces.el (frame-set-background-mode): Use frame-parameter
3443 instead of frame-parameters.
3445 * frame.el (filtered-frame-list): Reduce consing.
3446 (frames-on-display-list): Call frame-parameter instead of
3449 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3451 * language/devan-util.el (devanagari-to-indian-region): In the
3452 loop, change the following char, not preceding char.
3454 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3456 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3457 instead of frame-parameters.
3459 * faces.el (set-face-attribute): Simplify by calling
3460 internal-set-lisp-face-attribute with FRAME being 0.
3462 * vc.el: Remove `Id' version control keyword.
3464 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3466 * help.el (help-make-xrefs): Adjusted for the change of
3467 help-xref-mule-regexp.
3468 (help-insert-xref-button): New function.
3470 * international/mule-cmds.el (help-xref-mule-regexp-template):
3471 Include the pattern for character set.
3474 * international/quail.el: Don't require face.
3476 (quail-other-command): Dummy command to make quail-help work better.
3477 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3478 (quail-keyboard-layout-substitution): New variable.
3479 (quail-update-keyboard-layout): New function.
3480 (quail-keyboard-layout-type): New customizable variable.
3481 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3482 (quail-keyboard-translate): Pay attention to
3483 quail-keyboard-layout-substitution.
3484 (quail-insert-kbd-layout): New function.
3485 (quail-show-keyboard-layout): New function.
3486 (quail-get-translation): If the definition is a vector of length
3487 1, and the element is a string of length 1, return the character
3489 (quail-update-current-translations): Fix the case of
3490 relative-index out of range.
3491 (quail-build-decode-map, quail-insert-decode-map): New Functions.
3492 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3493 Show key sequences for all available characters.
3494 (quail-help-insert-keymap-description): Don't show such verbose
3495 key bindings as quail-self-insert-command.
3497 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3498 Format changed, and each element now have extra documentations.
3499 (tit-process-header): Delete invalid characters from TIT-PROMPT.
3500 Adjusted for the change of quail-cxterm-package-ext-info.
3502 2000-09-06 Gerd Moellmann <gerd@gnu.org>
3504 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3505 requiring it leads to a recursive loading of vc.el and vc-hooks.el
3508 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3510 * vc.el: (toplevel): Don't require `dired' at run-time.
3511 (vc-dired-resynch-file): Remove autoload cookie.
3513 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3515 * vc.el: Made several backend functions optional.
3516 (vc-default-responsible-p): New function.
3517 (vc-merge): Use RET for first version to trigger merge-news, not
3519 (vc-annotate): Handle backends that do not support annotation.
3520 (vc-default-merge-news): Removed. The existence of a merge-news
3521 implementation is now checked on caller sites.
3523 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3526 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3527 special case that has been removed from the default in vc-hooks.el.
3529 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3531 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3533 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3535 * vc-hooks.el: Require vc during compilation.
3536 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3537 macro `with-vc-properties' in vc.el.
3538 (vc-file-getprop): Doc fix.
3539 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3541 * vc.el: Require dired-aux during compilation.
3542 (vc-name-assoc-file): Moved to vc-sccs.el.
3543 (with-vc-properties): New macro.
3544 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3545 vc-finish-steal): Use it.
3546 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
3547 to the backend-specific function is now supposed to do the checkout,
3549 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3551 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3552 set file properties; that gets done in the generic code now.
3554 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3555 Changed parameter list, added code from vc.el that does the
3556 checkout, possibly with a double-take.
3558 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3559 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3560 the above under the new name.
3561 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
3562 parameter list, added checkout command.
3563 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3564 properties; that gets done in the generic code now.
3566 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3568 * vc.el: Docstring fixes (courtesy of checkdoc).
3570 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3572 * vc.el (vc-checkout-writable-buffer-hook)
3573 (vc-checkout-writable-buffer): Remove.
3574 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3575 (vc-log-mode): Make it into a clean derived major mode.
3576 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3577 vc-log-mode if log-edit is not available.
3578 (vc-dired-mode-map): Don't set-keymap-parent yet.
3579 (vc-dired-mode): Do set-keymap-parent here.
3580 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3582 2000-09-05 Gerd Moellmann <gerd@gnu.org>
3584 * faces.el (set-face-attribute, face-spec-reset-face)
3585 (face-spec-set): Avoid consing by removing calls to `apply'.
3587 * frame.el (frame-parameter): Move to C code.
3589 2000-09-05 Dave Love <fx@gnu.org>
3591 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3592 insert-before-markers-and-inherit. Now checked systematically!
3594 2000-09-05 Alex Schroeder <alex@gnu.org>
3596 * sql.el (sql-postgres): Use sql-postgres-options.
3597 (sql-postgres-options): New variable.
3599 2000-09-05 Alex Schroeder <alex@gnu.org>
3601 * sql.el (sql-mode-menu): Work around missing variable mark-active
3603 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
3604 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
3607 2000-09-04 Gerd Moellmann <gerd@gnu.org>
3609 * vc.el (vc-dired-resynch-file): Add autoload cookie.
3611 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
3613 * Makefile.in (DONTCOMPILE): Fix typo in file name.
3615 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3617 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
3618 don't support anything else under SCCS yet.
3620 * vc-hooks.el: Minor doc fixes.
3622 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3624 * vc.el (vc-next-action-on-file): Do not visit the file if it's
3625 not necessary. If verbose in state `needs-patch', do the same as
3626 under `up-to-date'. When NOT verbose and `needs-patch', check out
3627 latest version instead of `merge-news'.
3628 (vc-next-action-dired): Don't mess with default-directory here; it
3629 breaks other parts of dired. It is the job of the
3630 backend-specific functions to adjust it temporarily if they need it.
3631 (vc-next-action): Remove a special CVS case.
3632 (vc-clear-headers): New optional arg FILE.
3633 (vc-checkin, vc-checkout): Set properties vc-state and
3634 vc-checkout-time properly.
3635 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
3636 (vc-print-log): Use new backend function `show-log-entry'.
3637 (vc-cancel-version): Do the checks in a different order. Added a
3638 FIXME concerning RCS-only code.
3640 * vc-rcs.el (vc-rcs-show-log-entry): New function.
3641 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
3643 * vc-cvs.el (vc-cvs-show-log-entry): New function.
3645 * vc-hooks.el (vc-default-mode-line-string): Show state
3646 `needs-patch' as a `-' too.
3648 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3650 * vc.el (vc-responsible-backend): New optional arg REGISTER.
3651 (vc-default-could-register): New function.
3652 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
3653 (vc-resynch-buffer): Call vc-dired-resynch-file.
3654 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
3655 vc-resynch-buffer instead of vc-resynch-window.
3656 (vc-next-action-dired): Don't redisplay here, that gets done as a
3657 result of the individual file operations.
3658 (vc-retrieve-snapshot): Corrected prompt order.
3660 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
3662 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
3664 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
3665 hostname regexps. Updated all callers.
3666 (vc-cvs-responsible-p): Handle directories as well.
3667 (vc-cvs-could-register): New function.
3668 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
3669 properties up-to-date.
3671 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
3672 user whether to create one.
3674 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3676 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
3677 check out a non-existing file.
3679 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
3680 workfile does not exist.
3682 * vc.el (vc-version-diff): Use `require' to check for existence of
3685 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3687 * vc-cvs.el (vc-cvs-registered): Use new function
3688 vc-cvs-parse-entry to do the actual work.
3690 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3692 * vc-hooks.el (vc-find-backend-function): If function doesn't
3693 exist, return nil instead of error.
3694 (vc-call-backend): Doc fix.
3696 * vc.el (vc-do-command): Doc fix.
3697 (vc-finish-logentry): When checking in from vc-dired, choose the
3698 right backend for logentry check.
3699 (vc-dired-mode-map): Inherit from dired-mode-map.
3700 (vc-dired-mode): Local value of dired-move-to-filename-regexp
3702 (vc-dired-state-info): Removed, updated caller.
3703 (vc-default-dired-state-info): Use parentheses instead of hyphens.
3704 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
3705 (vc-dired-listing-switches): New variable.
3706 (vc-directory): Use it, instead of dired-listing-switches.
3708 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
3709 (vc-cvs-dir-state): New function.
3710 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
3711 (vc-cvs-parse-entry): New function, also to be used in
3714 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3716 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
3717 *or* single-window-frames.
3719 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3721 * vc.el (vc-update-changelog): Split into generic part and default
3722 implementation. Doc string adapted.
3723 (vc-default-update-changelog): New function. Call the `rcs2log'
3724 script in exec-directory, to fix a long-standing nuisance.
3726 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
3727 simply signals an error.
3729 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3731 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
3732 control-flow more clear and to avoid running `cvs' twice.
3734 * vc.el (vc-next-action-on-file): Doc fix.
3735 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
3736 (vc-print-log): Eval `file' before constructing the continuation.
3738 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3740 * vc.el (vc-next-action-on-file): Corrected several messages.
3741 (vc-merge): Add prefix arg `merge-news'; handle it.
3743 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
3744 is not reached. It is.
3745 (vc-cvs-merge): Set state to 'edited after merge.
3746 (vc-cvs-merge-news): Set workfile version to nil if not known.
3747 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
3749 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
3750 via stdout. (Merge from main line.)
3752 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3754 * vc.el (vc-finish-logentry): Thinko in the "same comment"
3757 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3759 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
3760 against kill-all-local-variables.
3761 (vc-log-edit): Don't save vc-parent-buffer any more.
3762 (vc-last-comment-match): Initialize to an empty string.
3763 (vc-post-command-functions): New hook.
3764 (vc-do-command): Run it.
3765 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
3766 (vc-finish-logentry): Only add the comment to the ring if it's
3767 different from the last comment entered.
3768 (vc-new-comment-index): New function.
3769 (vc-previous-comment): Use it. Make the minibuffer message
3770 slightly less terse.
3771 (vc-comment-search-reverse): Make it work forward as well. Don't
3772 set vc-comment-ring-index if no match is found. Use
3773 vc-new-comment-index.
3774 (vc-comment-search-forward): Use vc-comment-search-reverse.
3775 (vc-dired-mode-map): Don't inherit from dired-mode-map since
3776 define-derived-mode will do it for us. Bind `v' to a keymap that
3777 inherits from vc-prefix-map so that we can bind `vt' without
3779 (vc-retrieve-snapshot): Parenthesis typo.
3781 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
3782 to 1. Make sure to switch to *vc* before looking for an error
3783 message. Use vc-parse-buffer.
3785 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3787 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
3789 (vc-retrieve-snapshot): Split into two parts.
3790 (vc-default-retrieve-snapshot): New function.
3792 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
3793 (vc-cvs-retrieve-snapshot): New function (untested).
3794 (vc-cvs-stay-local): Default to t.
3795 (vc-cvs-remote-p): New function and property.
3796 (vc-cvs-state): Stay local only if the above is t.
3797 (vc-handle-cvs): Removed.
3798 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
3799 done via vc-handled-backends now.
3800 (vc-cvs-header): Escape Id.
3802 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3804 * vc.el (vc-do-command): Remove unused commands.
3805 (vc-version-diff): Make sure default-directory ends with a slash.
3806 Move the window commands into a vc-exec-after.
3807 (vc-print-log): Move more of the code into the `vc-exec-after'.
3809 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3811 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
3812 (vc-print-log): Search current revision from beginning of buffer.
3813 (vc-revert-buffer): Clear echo area after the diff is finished.
3814 (vc-prefix-map): Removed definition of "t" for terse display in vc
3816 (vc-dired-mode-map): Inherit from dired-mode-map. Added
3817 definition of "vt" for terse display.
3818 (vc-dired-mode): Fix dired-move-to-filename-regexp.
3820 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3822 * vc.el (vc-exec-after): Avoid caddr.
3824 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3826 * vc.el (vc-exec-after): New function.
3827 (vc-do-command): Use it to add a termination message for async
3829 (vc-checkout): Try to handle a missing-backend situation.
3830 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
3831 of a directory with a backend using async diffs.
3832 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
3835 * vc-sccs.el (vc-sccs-state-heuristic): Use
3836 file-ownership-preserved-p.
3838 * vc-rcs.el (vc-rcs-state-heuristic): Use
3839 file-ownership-preserved-p.
3840 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
3842 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3844 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
3847 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
3848 when there are no changes.
3850 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3852 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
3854 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
3856 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3858 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
3860 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
3861 the `fset' outside of the defvar so that it works even if
3862 vc-prefix-map was already defined.
3863 (vc-setup-buffer): New function, split out of vc-do-command.
3864 (vc-do-command): Allow BUFFER to be t to mean `just use the
3865 current buffer without any fuss'.
3866 (vc-version-diff): Change the `diff' backend operation to just put
3867 the diff in the current buffer without erasing it. Always use
3868 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
3869 shrink-window-if-larger-than-buffer.
3870 (vc-print-log): Change the `print-log' backend operation to just
3871 put the log in the current buffer without erasing it. Protect
3872 shrink-window-if-larger-than-buffer.
3873 (vc-update-change-log): Fix setd typo.
3875 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
3876 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
3878 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
3879 (vc-rcs-diff): Insert in the current buffer and remove unused arg
3882 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
3883 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
3884 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
3886 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3888 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
3889 not possible, use vc-BACKEND-workfile-unchanged-p.
3890 (vc-default-workfile-unchanged-p): New function. Delegates to a
3891 full vc-BACKEND-diff.
3893 * vc-hooks.el (vc-simple-command): Removed.
3895 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
3896 instead of vc-simple-command.
3897 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
3898 avoid doing a diff when opening a file.
3899 (vc-rcs-state): Added check for unlocked-changes.
3900 (vc-rcs-header): Escape Id.
3901 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
3902 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
3905 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
3906 (vc-sccs-diff): Remove optional arg CMP.
3907 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
3908 SCCS-specific function.
3910 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
3913 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3915 * vc.el (vc-editable-p): Renamed from vc-writable-p.
3916 (with-vc-file, vc-merge): Use vc-editable-p.
3917 (vc-do-command): Remove unused var vc-file and fix the
3918 doubly-defined `status' var. Add a user message when starting an
3920 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
3921 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
3922 Use with-current-buffer.
3923 (vc-buffer-sync): Use unless.
3924 (vc-next-action-on-file): If the file is 'edited by read-only,
3925 make it read-write instead of trying to commit.
3926 (vc-version-diff, vc-update-change-log): Use `setq
3927 default-directory' rather than `cd'.
3928 (vc-log-edit): Don't forget to set default-directory in the
3931 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
3932 (vc-sccs-state-heuristic): Use file-writable-p instead of
3934 (vc-sccs-checkout): Use `unless'.
3936 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
3937 of comparing userids.
3938 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
3939 Simplify the logic by eliminating unreachable code.
3940 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
3941 just do a recursive call if we need to retry.
3942 (vc-rcs-checkout): Handle the case where rcs is missing by making
3943 the buffer read-write if requested and re-signalling the error.
3945 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
3947 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3949 * vc-hooks.el (vc-handled-backends): Docstring change.
3950 (vc-ignore-vc-files): Mark obsolete.
3951 (vc-registered): Check vc-ignore-vc-files.
3952 (vc-find-file-hook, vc-file-not-found-hook): Don't check
3955 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
3957 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3959 * vc.el (vc-checkout): Don't do anything special for ange-ftp
3960 files since ange-ftp already has vc-registered return nil.
3962 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
3963 (vc-sccs-workfile-version): Use with-temp-buffer and new
3964 vc-parse-buffer and don't bother setting the property.
3965 (vc-sccs-add-triple): Use with-current-buffer and
3967 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
3969 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
3970 derives from the old vc-parse-buffer but uses the revision number
3971 rather than the date (much easier to compare robustly).
3972 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
3973 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
3974 locking-user more directly. Check strict locking and set
3975 checkout-model appropriately.
3976 (vc-rcs-parse-locks): Remove.
3977 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
3978 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
3979 (vc-rcs-system-release): Use with-current-buffer and
3981 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
3983 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
3984 (vc-simple-command): Docstring fix.
3985 (vc-registered): Align the way the file-handler is called with the
3986 way the function itself works.
3987 (vc-file-owner): Remove.
3989 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
3990 extraction of fields and call to file-attributes because of a
3991 temporary bug in rcp.el.
3992 (vc-cvs-fetch-status): Use with-current-buffer.
3994 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3996 * vc.el (vc-do-command): Use file-relative-name.
3997 (vc-responsible-backend): Use vc-backend if possible.
3998 (vc-create-snapshot): Improve the `interactive' spec. Add support
3999 for branches and dispatch to backend-specific `create-snapshot'.
4000 (vc-default-create-snapshot): New function, containing the bulk of
4001 the old vc-create-snapshot.
4002 (vc-retrieve-snapshot): Improve the interactive spec.
4004 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
4005 (vc-backend-hook-functions): Remove.
4006 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
4007 (vc-backend): Reintroduce the test for `file = nil' now that I
4008 know why it was there (and added a comment to better remember).
4010 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
4011 code from vc-sccs-hooks.el.
4012 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
4014 (vc-sccs-responsible-p): Use expand-file-name instead of concat
4015 and file-directory-p instead of file-exists-p.
4016 (vc-sccs-check-headers): Simplify the regexp.
4018 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
4019 from vc-rcs-hooks.el. Don't require 'vc anymore.
4020 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
4021 file-directory-p instead of file-exists-p.
4023 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
4024 from vc-cvs-hooks.el.
4025 (proto vc-cvs-registered): Require 'vc-cvs instead of
4026 'vc-cvs-hooks. Don't require 'vc anymore.
4027 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
4028 file-directory-p instead of file-exists-p.
4029 (vc-cvs-create-snapshot): New function, replacing
4031 (vc-cvs-assign-name): Remove.
4033 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4035 * vc-cvs.el (vc-cvs-header): New var.
4037 * vc-rcs.el (vc-rcs-exists): Remove.
4038 (vc-rcs-header): New var.
4040 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
4041 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
4042 (vc-sccs-header): New var.
4044 * vc.el (vc-do-command): Get rid of the `last' argument.
4045 (vc-header-alist): Remove, replaced by vc-X-header.
4046 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
4047 (vc-dired-hook): Use expand-file-name instead of concat.
4048 (vc-directory): Use file-name-as-directory.
4049 (vc-snapshot-precondition, vc-create-snapshot)
4050 (vc-retrieve-snapshot): Allow the command to operate on any
4053 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
4054 just removing the 'WORKFILE argument or by removing the 'MASTER
4055 argument and replacing `file' with (vc-name file).
4057 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4059 * vc.el: Update Copyright and add a crude list of backend funs.
4060 (vc-writable-p): New function.
4061 (with-vc-file): Use vc-writable-p.
4062 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
4063 (vc-register): Avoid vc-name.
4064 (vc-locking-user): Remove.
4065 (vc-steal-lock): Make the `owner' arg non-optional.
4066 (vc-merge): Use vc-writable-p instead of vc-locking-user and
4068 (vc-default-dired-state-info): Use vc-state instead of
4069 vc-locking-user and return special strings for special states.
4070 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
4071 and get rid of one of the special CVS cases.
4072 (vc-cancel-version): prettify error message with \\[...].
4073 (vc-rename-master): New function.
4074 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
4075 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
4076 the CVS special case generic.
4077 (vc-default-record-rename): Remove.
4078 (vc-file-tree-walk-internal): Only call FUNC for files that are
4079 under control of some VC backend and replace `concat' with
4081 (vc-file-tree-walk): Update docstring.
4082 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
4083 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
4085 * vc-sccs.el (vc-sccs-rename-file): Renamed from
4086 vc-sccs-record-rename. Use `find-file-noselect' rather than
4087 `find-file' and call `vc-rename-master' to do the actual move.
4088 (vc-sccs-diff): Remove unused `backend' variable.
4090 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
4091 to delay loading of vc-sccs until it is really used.
4092 (vc-sccs-master-templates): Preload.
4093 (vc-sccs-state): Update call to vc-sccs-parse-locks.
4094 (vc-sccs-project-dir): Remove (merged into
4095 vc-sccs-search-project-dir).
4096 (vc-sccs-search-project-dir): Rewrite using file name handling ops
4097 rather than `concat', make sure it is preloaded and don't bother
4098 to check that the file actually exists.
4099 (vc-sccs-parse-locks): Remove unused `file' argument, remove
4100 `locks' argument (use buffer's content instead) and eliminate n^2
4103 * vc-rcs.el: Update Copyright.
4104 (vc-rcs-rename-file): New function.
4105 (vc-rcs-diff): Remove unused `backend' variable.
4107 * vc-hooks.el: Update Copyright.
4108 (vc-backend): Don't accept a nil argument any more.
4109 (vc-up-to-date-p): Turn into a defsubst.
4110 (vc-possible-master): New function.
4111 (vc-check-master-templates): Use `vc-possible-master' and allow
4112 funs in vc-X-master-templates to return a non-existent file.
4114 * vc-cvs.el: Update Copyright.
4115 (vc-cvs-diff): Remove unused `backend' variable.
4116 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
4118 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
4120 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4122 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
4123 since it can be called from vc-rcs.el.
4124 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
4126 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4128 * vc.el (vc-version-diff): Expand file name read from the
4129 minibuffer. Handle the case when a previous version number can't
4130 be guessed. Give suitable messages when there were no differences
4132 (vc-clear-headers): Call backend-specific implementation, if one
4134 (vc-cancel-version): Made error checks generic. When done, clear
4135 headers generically, too.
4137 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
4138 from vc-clear-headers in vc.el.
4140 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
4142 (vc-rcs-latest-on-branch-p): Made second argument VERSION
4143 optional. Handle the case when it's not there.
4145 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4147 * vc.el (vc-locking-user): Moved from vc-hooks.el.
4149 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4151 * vc-hooks.el (vc-loadup): Remove.
4152 (vc-find-backend-function): Use `require'. Also, handle the case
4153 where vc-BACKEND-hooks.el doesn't exist.
4154 (vc-call-backend): Cleanup.
4156 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4158 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
4159 vc-rcs-grab-templates)
4160 (vc-rcs-registered): Remove. The default function works as well.
4161 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
4162 vc-sccs-grab-templates)
4163 (vc-sccs-registered): Remove. The default function works as well.
4165 * vc.el (vc-version-diff): Left out a vc- in call to
4167 (vc-default-dired-state-info, vc-default-record-rename)
4168 (vc-default-merge-news): Update for the new backend argument.
4170 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
4171 using the default function.
4172 (vc-call-backend): If calling the default function, pass it the
4173 backend as first argument. Update the docstring accordingly.
4174 (vc-default-state-heuristic, vc-default-mode-line-string): Update
4175 for the new backend argument.
4176 (vc-make-backend-sym): Renamed from vc-make-backend-function.
4177 (vc-find-backend-function): Use the new name.
4178 (vc-default-registered): New function.
4180 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4182 * vc.el (vc-merge): Use vc-find-backend-function.
4184 * vc-hooks.el (vc-backend-functions): Remove.
4185 (vc-loadup): Don't setup 'vc-functions.
4186 (vc-find-backend-function): New function.
4187 (vc-call-backend): Use above fun and populate 'vc-functions
4189 (vc-backend-defines): Remove.
4191 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4193 * vc.el (vc-register): Put a FIXME note for a newly found bug.
4194 Call vc-call-backend without the leading vc-.
4195 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
4196 (vc-check-headers): Call vc-call-backend without the leading vc-.
4197 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
4198 (vc-annotate-display): Replace confusing use of `cond' with `or'.
4199 Call vc-call-backend without the leading vc-.
4201 * vc-cvs.el (tail): Provide vc-cvs.
4202 * vc-sccs.el (tail): Provide vc-sccs.
4203 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
4205 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
4206 (vc-make-backend-function, vc-call): Pass names without leading
4207 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
4208 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
4209 (vc-call-backend): Always try to load vc-X-hooks.
4210 (vc-registered): Remove vc- in call to vc-call-backend.
4212 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4214 * vc.el (vc-process-filter): New function.
4215 (vc-do-command): Setup `vc-process-filter' for the async process.
4216 (vc-maybe-resolve-conflicts): New function to reduce
4217 code-duplication. Additionally, it puts the buffer in
4218 `smerge-mode' if applicable.
4219 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
4220 calling `merge-news'.
4221 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
4222 (vc-log-edit): New function. Replacement for `vc-log-mode' by
4223 interfacing to log-edit.el.
4224 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
4225 log-edit is available.
4226 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
4228 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4230 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
4231 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
4232 defvar and the initialization.
4233 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
4235 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
4236 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4238 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4240 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4242 * vc.el (vc-file-clear-masterprops): Removed.
4243 (vc-checkin, vc-revert-buffer): Removed calls to the above.
4244 (vc-version-diff): Use buffer-size without argument.
4245 (vc-register): Heed vc-initial-comment.
4247 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4250 * vc-rcs.el (vc-rcs-register): Parse command output to find master
4251 file name and workfile version.
4252 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4254 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4255 vc-file-clear-masterprops.
4257 * vc-sccs.el (vc-sccs-checkout): Removed call to
4258 vc-file-clear-masterprops. If writable, set vc-state to 'edited
4259 rather than user login name.
4262 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4264 * vc.el (vc-workfile-unchanged-p): Remove unused argument
4265 `want-differences-if-changed' and simplify.
4266 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4267 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4268 output (which is invalid for async vc-diff) to decide whether to
4269 do the revert silently or not.
4271 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4273 * vc-hooks.el (vc-loadup): Load files quietly.
4274 (vc-call-backend): Oops, brain fart.
4276 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4278 * vc-cvs.el (vc-cvs-state): Typo.
4279 (vc-cvs-merge-news): Return the status code rather than the error msg.
4281 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4283 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4284 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4285 vc-state or vc-up-to-date-p.
4286 (vc-merge): Use vc-backend-defines to check whether merging is
4287 possible. Set state to 'edited after successful merge.
4289 * vc-hooks.el (vc-locking-user): If locked by the calling user,
4290 return that name. Redocumented.
4292 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4294 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4295 new `vc-state' semantics.
4296 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4297 'vc-locking-user to the current user.
4298 (vc-merge): Inline vc-backend-merge. Comment out code that I
4299 don't understand and hence can't adapt to the new `vc-state' and
4300 `vc-locking-user' semantics.
4301 (vc-backend-merge): Remove.
4303 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4304 rather than 'vc-locking-user.
4306 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4308 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4309 (vc-state): Don't use 'reserved any more. Just use the same
4310 convention as the one used for vc-<backend>-state where the
4311 locking user (as a string) is returned.
4312 (vc-locking-user): Update, based on the above convention. The
4313 'vc-locking-user property has disappeared.
4314 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4316 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4317 with a heuristic one.
4318 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4319 (vc-cvs-checkin): Do a trivial parse to set the state in case of
4320 error. That allows us to get to 'needs-merge even in the
4321 stay-local case. There's still no way to detect 'needs-patch in
4322 such a setup (or to force an update for that matter).
4323 (vc-cvs-logentry-check): Remove, the default works as well.
4325 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4327 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4329 * vc.el (vc-do-command): kill-all-local-variables, to reset any
4330 major-mode in which the buffer might have been put earlier. Use
4331 `remove' and `when'. Allow `okstatus' to be `async' and use
4332 `start-process' in this case.
4333 (vc-version-diff): Handle the case where the diff looks empty
4334 because of the use of an async process.
4336 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4338 * vc.el (vc-next-action-on-file): Removed optional parameter
4339 `simple'. Recompute state unconditionally.
4340 (vc-default-toggle-read-only): Removed.
4342 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4343 (vc-toggle-read-only): Undid prev change.
4345 * vc-cvs.el (vc-cvs-stay-local): Renamed from
4346 vc-cvs-simple-toggle. Redocumented.
4347 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4348 (vc-cvs-toggle-read-only): Removed.
4350 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4352 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4353 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4354 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4355 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
4356 still is. So maybe it should be removed.
4357 (vc-head-version, vc-find-binary): Remove.
4358 (vc-recompute-state): Move from vc-hooks.el.
4359 (vc-next-action-on-file): Add a `simple' argument to allow
4360 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4361 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4362 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4363 (vc-dired-mode-map): Properly defvar it.
4364 (vc-print-log): Call log-view-mode if available.
4365 (small-temporary-file-directory): defvar instead of use boundp.
4366 (vc-merge-news): Moved to vc-cvs.el.
4367 (vc-default-merge-news): New function.
4369 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4370 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4371 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4372 unknown `vc-latest-version' function. It should probably refer to
4373 vc-workfile-version or somesuch, but it's very unclear to me and I
4374 don't have SCCS to test things.
4376 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4377 (vc-sccs-state-heuristic): Fix typo.
4378 (vc-sccs-workfile-unchanged-p): Add missing argument.
4380 * vc-rcs.el: Require vc and vc-rcs-hooks.
4381 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4382 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4383 (vc-release-greater-or-equal-p): Move from vc.
4384 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4385 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4386 (vc-rcs-checkout): Add a missing `new-version' argument in the
4387 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
4389 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4390 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4391 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4392 than the apparently unbound `workfile-version'.
4394 * vc-hooks.el (vc-master-templates): Def the obsolete var.
4395 (vc-file-prop-obarray): Use `make-vector'.
4396 (vc-backend-functions): Add new hookable functions
4397 vc-toggle-read-only, vc-record-rename and vc-merge-news.
4398 (vc-loadup): If neither backend nor default functions exist, use
4399 the backend function rather than nil.
4400 (vc-call-backend): If the function if not bound yet, try to load
4401 the non-hook file to see if it provides it.
4402 (vc-call): New macro plus use it wherever possible.
4403 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4404 nor `vc-find-binary' since it's only called from
4405 vc-mistrust-permission which is only used once the backend is known.
4406 (vc-checkout-model): Fix parenthesis.
4407 (vc-recompute-state, vc-prefix-map): Move to vc.el.
4409 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4410 (vc-cvs-release, vc-cvs-system-release): Remove.
4411 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4412 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4414 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4415 (vc-cvs-toggle-read-only): First cut at a function to allow a
4416 cvs-status-free vc-toggle-read-only.
4417 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4418 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4419 vc-cvs-status. Also set vc-state rather than vc-locking-user.
4420 (vc-cvs-checkout): Modify access rights directly if the user
4421 requested not to use `cvs edit'. And refresh the mode line.
4423 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4424 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4426 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4428 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
4429 workfile' that got lost when the code was extracted from vc.el.
4430 And merged the tail with the rest of the code (not possible in the
4431 old vc.el where the tail was shared among all backends). And
4432 explicitly set the state to 'edited if `writable' is set.
4434 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4435 (vc-cvs-state): Be careful to return the value from
4437 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
4438 property but return it instead. Also be careful to handle a nil
4439 or "" `rev' when workfile is non-nil (it was handled properly when
4442 * vc.el: Removed those pesky unnecessary `(function' quotes.
4443 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4444 directly in the defvar.
4445 (vc-do-command): Bind inhibit-read-only so as to properly handle
4446 the case where the destination buffer has been made read-only.
4447 (vc-diff): Delegate to vc-version-diff in all cases.
4448 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4449 (vc-annotate-mode-variables): Removed (code moved partly to
4450 defvars and partly to vc-annotate-add-menu).
4451 (vc-annotate-mode): Turned into a derived-mode.
4452 (vc-annotate-add-menu): Moved in code in
4453 vc-annotate-mode-variables.
4454 (vc-update-change-log): Use make-temp-file if available.
4456 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
4458 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4459 `vc-checkout-model' updated to `vc-cvs-update-model'.
4461 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4463 * vc.el (vc-next-action-on-file): Added handling of state
4465 (vc-checkout-carefully): Is now practically obsolete, unless the
4466 above is too slow to be enabled unconditionally.
4467 (vc-update-change-log): Fixed typo.
4469 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4471 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4472 Now handles state `unlocked-changes'.
4473 (vc-sccs-workfile-unchanged-p): New function, to support the above.
4475 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4477 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4478 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
4480 (vc-rcs-workfile-unchanged-p): Renamed from
4481 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
4482 function yet, but supposed to become one soon.
4484 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4486 (vc-call-backend): Changed error message.
4487 (vc-state): Added description of state `unlocked-changes'.
4489 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4491 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4492 always return t in CVS-controlled directories.
4494 * vc.el (vc-responsible-backend): New function.
4495 (vc-register): Largely rewritten.
4496 (vc-admin): Removed (implementation moved into vc-register).
4497 (vc-checkin): Redocumented.
4498 (vc-finish-logentry): If no backend defined yet (because we are in
4499 the process of registering), use the responsible backend.
4501 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4502 Updated function lists.
4503 (vc-call-backend): Fixed typo.
4505 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4507 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4508 Removed query option. Redocumented.
4510 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4512 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4514 * vc.el: Updated callers of `vc-checkout-required' to use
4515 `vc-checkout-model'.
4517 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4519 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
4520 stuff updated to reference this function instead of the old
4521 `vc-backend-release-p'.
4523 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4525 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4526 vc-checkout-model. Return appropriate values. Updated callers.
4528 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4530 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4531 (vc-backend-revert): Function moved into `vc-revert';
4532 `vc-next-action' must be updated to accomodate this change.
4533 (vc-backend-steal): Function moved into `vc-finish-steal'.
4534 (vc-backend-logentry-check): Function moved into
4535 `vc-finish-logentry'.
4536 (vc-backend-printlog): Function moved into `vc-print-log'.
4537 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4538 (vc-backend-assign-name): Function moved into
4539 `vc-create-snapshot'.
4541 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4543 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4544 Rename to vc-checkout-model. Return appropriate values.
4547 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4548 to vc-checkout-model.
4549 (vc-checkout-required): Rename to vc-checkout-model.
4550 Re-implement and re-comment.
4551 (vc-after-save): Use vc-checkout-model.
4553 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4555 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4556 Update to use the vc-BACKEND-diff functions instead.
4557 `vc-diff' is now working.
4559 * vc-rcs.el (vc-rcs-logentry-check): New function.
4561 * vc-cvs.el (vc-cvs-logentry-check): New function.
4563 * vc-sccs.el (vc-sccs-diff): Function changed name from
4564 `vc-backend-diff'. This makes `vc-diff' work.
4566 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4567 of functions possibly implemented in a vc-BACKEND library.
4568 (vc-checkout-required): Fix bug that caused an error to be
4569 signaled during `vc-after-save'.
4572 This checkin is made with our new VC code base for the very first time.
4573 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4575 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4576 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4578 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4579 updated to `vc-uses-locking'.
4580 (vc-checkout-required): Call to backend function.
4581 `vc-checkout-required' updated to `vc-uses-locking' instead.
4583 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4584 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4586 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4587 to match the split into various backends.
4588 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
4589 (vc-retrieve-snapshot): Bug fix.
4591 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4593 * vc-sccs.el (vc-sccs-release): Doc fix.
4595 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4597 * vc.el (vc-next-action-on-file): Bug found and fixed.
4598 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
4599 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
4601 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
4602 (vc-rcs-checkout): Name space cleaned up. No more revision number
4603 crunching function names that are not prefixed with vc-rcs.
4604 (vc-rcs-checkout-model): Function added. References to
4605 `vc-checkout-model' replaced.
4607 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4609 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
4610 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
4611 still need to be split, and implemented for RCS).
4613 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4615 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
4617 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
4618 required by the vc.el file.
4620 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
4621 required by the vc.el file.
4622 (vc-rcs-exists): Function added.
4624 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
4625 required by the vc.el file.
4627 * vc.el (vc-admin): Updated to handle selection of appropriate
4628 backend. Current implementation is crufty and need re-thinking.
4630 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
4632 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4634 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
4635 beginning of annotate buffers correctly.
4637 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
4638 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
4639 functionality updated quite a lot to support multiple backends.
4640 Variables `vc-annotate-mode', `vc-annotate-buffers',
4641 `vc-annotate-backend' added.
4643 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
4644 `vc-annotate-difference' added to supported backend functions.
4646 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4648 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
4649 Use with-temp-file instead of /bin/sh. Merged from mainline
4651 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4653 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
4655 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
4657 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
4659 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4661 * vc-hooks.el: vc-state-heuristic added to
4662 vc-backend-hook-functions.
4664 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
4666 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
4668 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
4669 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
4670 state to `reserved'.
4672 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
4673 `vc-checkout-required'. Rename the `locked' state to `reserved'.
4675 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4677 * vc-rcs-hooks.el: Implement new state model. Hardly anything
4680 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
4682 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
4683 if defined. (Merged from main line, slightly adapted.)
4685 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
4686 millenium problem (merged from mainline).
4688 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4690 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
4691 part and moved the non-BACKEND stuff to vc.el.
4693 * vc.el: Split the annotate feature into a BACKEND specific part
4694 and moved it from the vc-cvs.el file to this one.
4696 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4698 * vc-hooks.el: Implement new state model.
4699 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
4700 (vc-locking-user): Simplify. Now only needed if the file is
4701 locked by somebody else.
4702 (vc-lock-from-permissions): Remove. Functionality is in
4703 vc-sccs-hooks.el and vc-rcs-hooks.el now.
4704 (vc-mode-line-string): New name for former vc-status. Adapted.
4705 (vc-mode-line): Adapt to use the above. Remove optional parameter.
4707 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
4708 Various simplifications and adaptations all over the place.
4710 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
4711 Simplify and adapt the rest.
4713 * vc.el (vc-resynch-window): Add TODO comment: check for
4714 interaction with view mode according to recent RCS change.
4715 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
4717 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4719 * vc.el: Convert the remaining function comments to docstrings.
4721 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4723 * vc.el (vc-backend-release, vc-release-greater-or-equal)
4724 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
4725 (vc-minor-part, vc-previous-version): Functions that operate and
4726 compare revision numbers got proper documentation. Comments added
4727 about their possible removal.
4729 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4731 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
4732 the vc-backend.el files.
4734 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
4736 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
4737 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
4738 (vc-rcs-previous-version): Functions added.
4740 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
4742 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
4744 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4746 * vc-hooks.el (vc-master-templates): Is really obsolete.
4747 Comment out the definition for now. What is the right procedure
4749 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
4751 (vc-default-registered): Remove.
4752 (vc-check-master-templates): New function; does mostly what the
4754 (vc-locking-user): Don't rely on the backend to set the property.
4756 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
4757 Rewrite documentation.
4758 (vc-rcs-templates-grabbed): New variable.
4759 (vc-rcs-grab-templates): New function.
4760 (vc-rcs-registered): Rewrite to use above mechanism.
4762 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
4763 Rewrite documentation.
4764 (vc-sccs-templates-grabbed): New variable.
4765 (vc-sccs-grab-templates): New function.
4766 (vc-sccs-registered): Rewrite to use above mechanism.
4767 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
4768 Don't throw the result, simply return it.
4770 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
4771 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
4772 (vc-cvs-registered): Does the check itself now. Simplify.
4774 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
4777 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4779 * vc-cvs.el (vc-cvs-diff): New function.
4781 * vc-sccs.el (vc-sccs-diff): New function.
4783 * vc-rcs.el (vc-rcs-diff): New function.
4784 (vc-rcs-checkout): Bug (typo) found and fixed.
4785 (vc-rcs-register-switches): New variable.
4787 * vc.el (vc-backend-diff): Function removed and placed in the
4790 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4792 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
4794 * vc.el (vc-backend-checkout): Function removed and replaced in
4795 the vc-backend.el files.
4797 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
4799 * vc.el (vc-backend-admin): Removed and replaced in the
4800 vc-backend.el files.
4802 * vc.el (Martin): Removed all the annotate functionality since it
4803 is CVS backend specific.
4805 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4807 * spec.txt: Added specification of vc-state.
4809 * vc-sccs-hooks.el (vc-sccs-master-properties):
4810 Remove handling of vc-latest-version and
4811 vc-your-latest-version. What used to be vc-latest-version, is now
4812 returned as vc-workfile-version.
4813 (vc-sccs-workfile-version): Adapt.
4815 2000-09-04 Dave Love <fx@gnu.org>
4817 * vc.el: [Merged from mainline.]
4818 (vc-dired-mode): Make the dired-move-to-filename-regexp
4819 regexp match the date, to avoid treating date as file size.
4820 Add YYYY S option to WESTERN/
4822 2000-09-04 Dave Love <fx@gnu.org>
4824 * vc.el: Require `compile' when compiling.
4825 (vc-logentry-check-hook): New option.
4826 (vc-steal-lock): Use compose-mail.
4827 (vc-dired-mode-map): Defvar when compiling.
4828 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
4829 vc-sccs.el and renamed. Callers changed.
4830 (vc-backend-checkout, vc-backend-logentry-check)
4831 (vc-backend-merge-news): Doc fix.
4832 (vc-default-logentry-check): New function.
4833 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
4834 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
4835 (vc-backend-merge): Doc fix. Use backend functions.
4836 (vc-check-headers): Use backend functions.
4838 * vc-cvs.el: Require vc when compiling.
4839 (vc-cvs-register-switches): Doc fix.
4840 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
4841 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
4842 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
4843 New functions (code from vc.el).
4844 (vc-annotate-display-default): Fix interactive spec.
4845 (vc-annotate-time-span): Doc fix.
4847 * vc-rcs.el: Require vc when compiling.
4848 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
4849 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
4850 (vc-rcs-checkin): New functions (code from vc.el).
4851 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
4853 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
4855 * vc-sccs.el: Require vc when compiling.
4856 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
4857 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
4859 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
4861 (vc-sccs-add-triple, vc-sccs-record-rename)
4862 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
4863 (vc-sccs-admin): Doc fix.
4865 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4867 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
4868 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
4869 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
4872 * vc-sccs.el (vc-admin-sccs): Added from vc.el
4874 * vc-cvs.el: Moved the annotate functionality from vc.el.
4875 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
4877 2000-09-04 Dave Love <fx@gnu.org>
4879 * vc.el (vc-backend-release): Call vc-system-release.
4881 * vc-sccs.el (vc-sccs-system-release):
4882 Renamed from vc-sccs-backend-release.
4884 * vc-rcs.el (vc-rcs-system-release):
4885 Renamed from vc-rcs-backend-release.
4887 * vc-cvs.el (vc-cvs-system-release):
4888 Renamed from vc-cvs-backend-release.
4890 2000-09-04 Dave Love <fx@gnu.org>
4892 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
4894 (vc-backend-release): Dispatch to backend functions.
4895 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
4896 probably needs attention.]
4898 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
4899 (vc-sccs-backend-release): New function.
4901 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
4902 (vc-cvs-backend-release): New function.
4904 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
4906 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
4907 (vc-default-dired-state-info): New function.
4908 (vc-dired-state-info): Dispatch to backends.
4909 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
4911 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
4912 from vc.el and renamed.
4914 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4916 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
4917 (vc-version-other-window, vc-backend-assign-name): Removed
4918 references to vc-latest-version; sometimes changed into
4919 vc-workfile-version.
4921 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
4922 vc-rcs-master-workfile-version.
4923 (vc-rcs-workfile-version): Use the above. Don't call
4924 vc-latest-version (that was unreachable code, anyway).
4925 (vc-rcs-fetch-master-properties): Doc fix.
4927 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
4928 (vc-backend-hook-functions): Removed them from this list, too.
4929 (vc-fetch-properties): Removed.
4930 (vc-workfile-version): Doc fix.
4932 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
4933 (vc-rcs-workfile-version, vc-rcs-locking-user)
4934 (vc-rcs-uses-locking): Use it.
4936 * vc-hooks.el (vc-consult-rcs-headers):
4937 Moved into vc-rcs-hooks.el, under the name
4938 vc-rcs-consult-headers.
4940 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
4942 (vc-cvs-find-master): Use this name only; correct different
4943 versions of the name.
4945 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
4947 (vc-sccs-locking-user): Use the latter.
4949 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
4952 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
4954 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
4955 functions are implementation details of those two backends.
4957 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4959 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
4960 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
4962 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
4963 (vc-sccs-parse-locks): SCCS-specific code moved here from
4966 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
4967 code moved here from vc-hooks.
4969 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
4970 into back-end specific parts and removed. Callers not updated
4971 yet; because I guess these callers will disappear into back-end
4972 specific files anyway.
4974 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4976 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
4977 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
4980 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
4981 Store yes/no in the property, and return t/nil. Updated all
4984 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
4985 vc-sccs-uses-locking. Don't set property.
4986 (vc-sccs-locking-user): Don't set property.
4988 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
4989 vc-cvs-uses-locking. Don't set property here; leave that to
4991 (vc-cvs-locking-user): Reflect above change. Streamlined.
4993 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
4994 vc-rcs-uses-locking.
4995 (vc-rcs-locking-user): Reflect above change.
4997 2000-09-04 Dave Love <fx@gnu.org>
4999 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
5001 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
5003 * vc-hooks.el (vc-checkout-model): Punt to backends.
5005 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
5007 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
5009 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
5012 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
5015 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
5016 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
5018 * vc-hooks.el (vc-default-locking-user): New function.
5019 (vc-locking-user, vc-workfile-version): Punt to backends.
5021 2000-09-04 Dave Love <fx@gnu.org>
5023 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
5024 (vc-master-workfile-version): Moved from vc-hooks.
5026 * vc-rcs-hooks.el: Fix duplicate code in last change.
5028 * vc-rcs-hooks.el: Require vc-hooks when compiling.
5029 (vc-rcs-master-templates): Improve :type.
5030 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
5031 vc-master-workfile-version): Moved from vc-hooks.
5033 * vc-sccs-hooks.el: Require vc-hooks when compiling.
5034 (vc-sccs-master-templates): Improve :type.
5035 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
5037 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
5039 * vc-cvs-hooks.el: Require vc-hooks when compiling.
5040 (vc-cvs-master-templates): Improve :type. Use
5041 vc-cvs-find-cvs-master.
5042 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
5044 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
5046 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
5047 Moved to vc-cvs-hooks.
5049 * vc-hooks.el: Add doc strings in various places. Simplify the
5051 (vc-handled-backends): New user variable.
5052 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
5055 2000-09-04 Dave Love <fx@gnu.org>
5057 * vc.el: Some doc fixes for autoloaded and interactive functions.
5058 Fix compilation warnings from ediff stuff.
5059 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
5061 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
5063 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
5065 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
5067 2000-09-04 Dave Love <fx@gnu.org>
5069 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5071 (vc-make-backend-function, vc-loadup, vc-call-backend)
5072 (vc-backend-defines): New functions.
5074 * vc-hooks.el: Various doc fixes.
5075 (vc-default-back-end, vc-follow-symlinks): Custom fix.
5076 (vc-match-substring): Function removed. Callers changed to use
5078 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
5081 2000-09-04 Dave Love <fx@gnu.org>
5083 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
5085 (vc-sccs-project-dir, vc-search-sccs-project-dir)
5086 (vc-sccs-registered): Doc fix.
5088 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
5089 (vc-cvs-registered): Doc fix.
5091 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
5092 (vc-rcs-registered): Doc fix.
5094 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5096 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
5098 * vc-hooks.el: vc-registered has been renamed
5099 vc-default-registered. Some functions have been moved to the
5100 backend specific files. they all support the
5101 vc-BACKEND-registered functions.
5103 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5105 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
5107 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
5109 2000-09-04 Dave Love <fx@gnu.org>
5111 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
5112 menu-bar-update-hook.
5114 * help.el (help-manyarg-func-alist): Add
5115 find-operation-coding-system.
5117 * wid-edit.el (widget-sexp-validate): Fix garbled code.
5119 * custom.el (custom-set-variables): Print message about errors in
5122 2000-09-03 Andrew Innes <andrewi@gnu.org>
5124 * makefile.w32-in: Change to DOS line endings.
5126 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5128 * mouse.el (mouse-popup-menubar): Supply the prompt string for
5129 minor-mode keymaps, if they don't have one.
5131 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5133 * eshell/esh-module.el (eval-when-compile): Don't lose if
5134 esh-module.el's file name is truncated to DOS 8+3 limits.
5136 2000-09-01 John Wiegley <johnw@gnu.org>
5138 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
5139 predicate, which caused entries in the completion list to be
5142 2000-08-30 John Wiegley <johnw@gnu.org>
5144 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
5145 sending to subprocesses. Also, hook pre-command-hook if
5146 `eshell-send-direct-to-subprocesses' is non-nil.
5147 (eshell-send-direct-to-subprocesses): New config variable. If t,
5148 subprocess input is send immediately.
5149 (eshell-toggle-direct-send): New function.
5150 (eshell-self-insert-command): New function.
5151 (eshell-intercept-commands): New function.
5152 (eshell-send-input): If direct subprocess sending is enabled,
5153 don't echo any input to the Eshell buffer. Let the subprocess
5154 handle that. This requires "stty echo" in bash, for example.
5156 2000-08-28 John Wiegley <johnw@gnu.org>
5158 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
5159 completion function for Eshell's implementation of `unset'.
5161 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5163 * info.el (Info-directory-list): Doc fix.
5165 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
5167 * filecache.el (file-cache-add-directory-using-find): Don't quote
5168 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
5170 2000-08-31 Kenichi Handa <handa@etl.go.jp>
5172 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
5175 2000-08-30 Andrew Innes <andrewi@gnu.org>
5177 * timer.el (run-with-idle-timer): Undo last change, so that timer
5178 is not activated immediately if Emacs is already idle. Some
5179 existing code relies on this behaviour.
5181 2000-08-30 Miles Bader <miles@gnu.org>
5183 * frame.el (set-frame-font): Do completion of font-name for
5186 2000-08-30 Kenichi Handa <handa@etl.go.jp>
5188 * international/quail.el (quail-start-translation): Bind locally
5189 last-command-event, last-command, and this-command.
5190 (quail-start-conversion): Likewise.
5191 (quail-self-insert-command): Fix docstring.
5193 2000-08-29 Gerd Moellmann <gerd@gnu.org>
5195 * progmodes/executable.el
5196 (executable-make-buffer-file-executable-if-script-p): Check that
5197 buffer contains at least 2 characters.
5199 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
5201 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
5203 2000-08-29 Dave Love <fx@gnu.org>
5205 * diff-mode.el (diff-mode) <defgroup>: Add :version.
5206 (diff-mode-shared-map): Bind mouse-2.
5207 (diff-imenu-generic-expression): New variable.
5208 (diff-mode): Use it.
5210 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
5211 (mouse-popup-menubar): Add minor mode menus.
5212 (popup-menu): Check for lookup-key returning number.
5214 2000-08-29 Miles Bader <miles@gnu.org>
5216 * comint.el (comint-send-input): Create overlays using the proper
5217 front/read-advance arguments.
5219 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5221 * ps-print.el: Even/odd pages printing. Doc fix.
5222 (ps-print-version): New version number (6.0).
5223 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
5224 (ps-background, ps-begin-file, ps-begin-job): Code fix.
5225 (ps-print-duplex-feature): Variable eliminated.
5226 (ps-even-or-odd-pages): New variable.
5228 * progmodes/ebnf2ps.el: Doc fix.
5229 (ebnf-version): New version (3.3).
5230 (ebnf-user-arrow): Change variable customization to sexp.
5231 (ebnf-user-arrow): Function eliminated.
5232 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
5234 2000-08-29 Kenichi Handa <handa@etl.go.jp>
5236 * help.el (help-xref-mule-regexp): New variable.
5237 (help-make-xrefs): Handle help-xref-mule-regexp.
5239 * international/mule-cmds.el (help-xref-mule-regexp-template): New
5241 (describe-input-method): Temporarily activate the specfied input
5242 method to display the information.
5243 (describe-language-environment): Hyperlinks to mule related items.
5245 * international/mule-diag.el (charset-multibyte-form-string): New
5247 (list-character-sets-1): Use charset-multibyte-form-string.
5248 (describe-character-set): New function.
5249 (describe-coding-system): Hyperlinks to safe character sets.
5251 * international/quail.el (quail-help): New arg PACKAGE.
5252 Hyperlinks to mule related items.
5253 (quail-help-insert-keymap-description): Use
5254 substitute-command-keys instead of describe-bindings.
5255 (quail-translation-help): Hyperlinks to mule related items.
5257 2000-08-28 John Wiegley <johnw@gnu.org>
5259 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5260 have a defsubst call itself. Made `eshell-flatten-list' back into
5263 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5264 catch, in case re-centering point at bottom messes up the display.
5265 This happens frequently in Emacs 21, due I believe to variable
5268 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5269 to call `find-tag-interactive'.
5271 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5272 the list of remember directories.
5274 2000-08-28 John Wiegley <johnw@gnu.org>
5276 * align.el: Test align-region-separate to see if it's a symbol.
5278 2000-08-28 John Wiegley <johnw@gnu.org>
5280 * eshell/esh-util.el (eshell-flatten-list): Made this function
5281 into a defsubst form. It gets used very frequently, although
5282 calls don't occur all that often.
5284 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5287 * eshell/esh-cmd.el (eshell-rewrite-while-command):
5288 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5290 (eshell-copy-handles): Created a new macro for duplicating the
5291 current set of open handles. This is needed by the looping
5293 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5294 is not incorrectly stomped on.
5296 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5297 declaration for pcomplete-use-paring.
5298 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5299 value of eshell-cmpl-use-paring.
5300 * pcomplete.el (pcomplete-use-paring): New config variable, to
5301 indicate whether paring should be used.
5302 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5303 completion alternatives that have already been used.
5305 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5306 bound to C-c C-y, which will repeat the previous N arguments
5307 (based on prefix argument).
5308 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5310 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5311 if there is no *Help* buffer. This is for XEmacs, which renames
5312 its help buffers uniquely. TODO: Find out what the current buffer
5315 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5316 first entry that correlates to a passwd/group number. Later
5317 entries (used for group/user name aliasing to multiple IDs) are
5320 * eshell/em-xtra.el (eshell/expr):
5321 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5322 (eshell-grep, eshell/diff, eshell/locate):
5323 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5324 argument list, before passing it to the system command.
5326 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5327 `find-tag' for use at final position in Eshell buffers (which
5328 otherwise triggers an error on Emacs 21).
5329 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5330 buffer, if it is currently bound to `find-tag'.
5332 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5333 in the list of matched Makefile names.
5334 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5335 directory, prefer its contents to Makefile.
5337 * eshell/em-dirs.el (eshell/cd): cd commands that look up
5338 directory parts (like "cd old new", or "cd =regexp"), are now case
5339 sensitive on non-Windows/DOS platforms.
5341 * eshell/esh-mode.el (eshell-parse-command-input): When a user
5342 types RET after an open delimiter (like "), display a message
5343 indicating that Eshell is waiting for the closing delimiter.
5345 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5346 environment variables.
5348 * eshell/em-unix.el (eshell/diff): Added logic to fail more
5349 gracefully if the user enters incorrect arguments.
5351 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5354 * eshell/esh-var.el (eshell-interpolate-variable):
5355 * eshell/esh-mode.el (eshell-move-argument):
5356 * eshell/em-unix.el (eshell-du-sum-directory):
5357 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5358 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5361 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5362 to ensure the `preserve' flag gets propagated when doing recursive
5365 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
5367 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5368 Don't convert \n into \0177 in memory.
5369 (eshell-read-history, eshell-write-history): Convert \n to \0177,
5370 and back again, when reading and writing.
5372 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
5374 * eshell/esh-util.el (eshell-processp): Added to relieve constant
5375 testing of `fboundp' on `processp'.
5377 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5378 (eshell/jobs): Don't call process-list if it is not bound.
5379 (eshell-gather-process-output): Support systems where async
5380 subprocesses aren't supported.
5381 (eshell-scratch-buffer, eshell-last-sync-output-start): New
5384 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5385 eshell-do-eval returns t.
5386 (eshell-do-pipelines-synchronously): New defmacro.
5387 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5388 when async subprocesses aren't supported.
5389 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
5390 if async subprocesses aren't supported.
5391 (eshell-resume-command): Don't assume STATUS is a string.
5393 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5395 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5396 (eshell-close-target, eshell-get-target): Use eshell-processp.
5397 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5399 (eshell-get-target, eshell-create-handles): Doc fix.
5401 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
5403 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5404 criterion to include commands that output something, as long as it
5405 leaves both the command and the end-of-buffer visible when the
5407 (eshell-review-quick-commands): Adjust the help doc string
5410 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
5412 * locate.el (locate): Cleaned up locate command's interactive prompting
5413 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5415 * filecache.el (file-cache-case-fold-search): New variable
5416 (file-cache-assoc-function): New variable
5417 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5418 Use file-cache-case-fold-search variable
5419 (file-cache-add-file): Use file-cache-assoc-function
5420 (file-cache-delete-file): likewise
5421 (file-cache-directory-name): likewise
5422 (file-cache-debug-read-from-minibuffer): likewise
5424 2000-08-28 Gerd Moellmann <gerd@gnu.org>
5426 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5427 (abbrev-table-name): New function.
5428 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5429 If non-nil list local abbrev, only.
5431 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
5433 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5434 from Gnus support code, and use special article copy buffer
5435 `(gnus-original-article-buffer)' instead. This allows to get rid
5436 of article-hide-headers usage (which breaks in the latest Gnus
5437 version). Thanks to Detlev Zundel.
5439 2000-08-28 Kenichi Handa <handa@etl.go.jp>
5441 * international/quail.el (quail-use-package): Hide "... loaded"
5443 (quail-start-translation, quail-start-conversion): Likewise.
5445 * international/kkc.el (kkc-region): Hide "... loaded" message.
5447 2000-08-27 Dave Love <fx@gnu.org>
5449 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5451 2000-08-27 Miles Bader <miles@gnu.org>
5453 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5455 2000-08-27 Kenichi Handa <handa@etl.go.jp>
5457 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5458 'ja-dic-cnv), not (require 'skkdic-cnv).
5460 2000-08-26 Miles Bader <miles@gnu.org>
5462 * faces.el (face-x-resources): Add entry for :inherit.
5463 * cus-face.el (custom-face-attributes): Add support for :inherit
5464 attribute. Add support for relative face heights.
5465 (custom-face-attributes-get): Treat `nil' as being a default value
5466 for :inherit (as well as `unspecified').
5468 * faces.el (set-face-attribute): Update doc string.
5469 (face-attribute-name-alist): Add :inherit.
5470 (face-valid-attribute-values): Handle :inherit.
5471 (face-read-string): Rephrase prompt to be less confusing.
5472 Assume that DEFAULT is a string, since we must return a string.
5473 (face-read-integer): Use `format' to turn DEFAULT into an
5474 acceptable default for face-read-string. Match NEW-VALUE against
5475 the string "unspecified", not the symbol `unspecified', since
5476 that's what face-read-string returns.
5477 (read-face-attribute): Lookup a name for old-value in valid, and
5478 use it as a default if we find one. Treat all values from
5479 face-read-string as strings. If the default is used, don't do any
5480 more processing on the value, just use the old value directly.
5481 (read-face-and-attribute, modify-face): Tweak prompt.
5482 (read-face-name): Don't assume prompt ends with a space.
5484 * faces.el (describe-face): Add support for :inherit attribute.
5486 2000-08-25 Kenichi Handa <handa@etl.go.jp>
5488 * terminal.el (terminal-emulator): Fix args to `concat'. Now
5489 concat doesn't accept interger.
5491 * international/kkc.el: Remove SKK from Keywords. Require
5492 ja-dic-utl instead of skkdic-utl.
5494 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5495 Provide ja-dic-cnv instead of skkdic-cnv.
5496 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
5497 (iso-2022-7bit-short): Add safe-charsets property.
5498 (skkdic-convert-postfix): Search Japanese chou-on character in
5499 addition to Hiragana character.
5500 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5501 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5502 (batch-skkdic-convert): Likewise.
5504 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5505 Provide ja-dic-utl instead of skkdic-utl.
5506 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5508 2000-08-24 Dave Love <fx@gnu.org>
5510 * disp-table.el (standard-display-default): Make the test of `l'
5513 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5516 * international/iso-ascii.el: Make pilcrow convenient string
5517 consistent with section.
5518 (iso-ascii-display): Set up multibyte characters as well as
5521 2000-08-24 Kenichi Handa <handa@etl.go.jp>
5523 * international/mule-cmds.el (reset-language-environment): Set
5524 default-process-coding-system to '(undecided . iso-latin-1), which
5525 makes process I/O almost consistent with file I/O. Call this
5526 function when mule-cmds.el[c] is loaded.
5528 2000-08-22 Andrew Innes <andrewi@gnu.org>
5530 * makefile.w32-in: New file.
5532 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
5534 * comint.el (comint-output-filter): Compare end of
5535 comint-last-output-overlay with the start of the newly inserted
5536 text, not the end, when deciding whether to extend it.
5537 Set saved-point's insertion type to advance after insertion.
5539 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5540 since this is now done independently of font-lock mode.
5542 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5544 * server.el (server-kill-new-buffers): New user option.
5545 (server-existing-buffer): New buffer-local variable.
5546 (server-visit-files): When using an existing buffer, set
5547 server-existing-buffer to t.
5548 (server-buffer-done): If server-kill-new-buffers is t, kill the
5549 buffer, unless it was already present before visiting it with
5552 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
5554 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5555 even if the display doesn't support colors: some displays will
5556 support bold/underline faces.
5558 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5560 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5562 * startup.el (command-line): If user's init file had an error,
5563 add explanatory text to *Messages*.
5565 2000-08-21 Kenichi Handa <handa@etl.go.jp>
5567 * man.el (Man-getpage-in-background): Decode the process output by
5568 the system locale coding system.
5570 2000-08-20 Dave Love <fx@gnu.org>
5572 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5573 Don't test x-popup-menu.
5574 (function) <complete-function>: Complete only fbound symbols.
5575 <validate, value>: New.
5576 (variable) <complete-function>: Complete only bound symbols.
5577 (coding-system): Add :base-only, :complete-function, :validate,
5578 :value, :prompt-match.
5579 (widget-coding-system-prompt-value): Use read-coding-system and
5581 (editable-field): Add :help-echo.
5582 (widget-push-button-gui, widget-push-button-cache)
5583 (widget-gui-action, widget-editable-list-gui): COmment out, along
5585 (widget-at): Make arg optional.
5586 (widget-echo-help): Adjust for current help-echo calling sequence.
5587 (widget-specify-field, widget-specify-button)
5588 (widget-specify-insert, widget-get-sibling, widget-image-find)
5589 (widget-convert, widget-insert, widget-leave-text)
5590 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5591 (widget-setup, widget-field-find, widget-before-change)
5592 (widget-after-change, widget-default-complete)
5593 (widget-default-create, widget-default-delete)
5594 (widget-push-button-value-create, editable-field)
5595 (widget-field-prompt-value, widget-field-validate)
5596 (widget-choice-value-create, widget-choice-action)
5597 (widget-choice-validate, widget-checklist-add-item)
5598 (widget-radio-add-item, widget-radio-chosen)
5599 (widget-radio-value-inline, widget-editable-list-value-create)
5600 (widget-editable-list-entry-create)
5601 (widget-documentation-link-add)
5602 (widget-documentation-string-value-create)
5603 (widget-regexp-validate, widget-file-complete)
5604 (widget-sexp-validate, widget-plist-convert-widget)
5605 (widget-plist-convert-widget, widget-alist-convert-widget)
5606 (widget-alist-convert-widget, widget-color-complete): Simplify,
5607 particularly to avoid bindings which aren't optimized out.
5609 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
5611 (down-list, backward-up-list, up-list, kill-sexp)
5612 (backward-kill-sexp, mark-sexp): Make arg optional.
5613 (lisp-complete-symbol): Add optional arg PREDICATE.
5615 * cus-start.el: Add display-buffer-reuse-frames,
5616 file-coding-system-alist.
5618 2000-08-20 Gerd Moellmann <gerd@gnu.org>
5620 * startup.el (command-line): Clear realized faces after
5621 modifying TTY color mappings.
5623 2000-08-20 Miles Bader <miles@gnu.org>
5625 * faces.el (face-attr-match-p): Don't return true if ATTRS are
5626 merely a subset of FACE's attributes.
5628 2000-08-19 Miles Bader <miles@gnu.org>
5630 * comint.el (comint-output-filter): Save the point with a marker,
5631 not just a buffer position.
5633 * international/mule.el (set-buffer-process-coding-system): Make
5634 interactive prompt less confusing.
5636 2000-08-19 Gerd Moellmann <gerd@gnu.org>
5638 * hilit-chg.el: General cleanup of doc strings, comments and
5641 2000-08-19 Miles Bader <miles@gnu.org>
5643 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
5644 Compiler macro removed; beginning-of-line is no longer always
5645 equivalent to forward-line, in the presence of fields.
5647 * comint.el (comint-output-filter): Remove ad-hoc saving of
5648 restriction, and just use save-restriction, now that it works
5649 correctly. Don't adjust comint-last-input-start to account for
5650 our insertion; it shouldn't have moved because we don't use
5651 insert-before-markers anymore. Comment out call to
5652 `force-mode-line-update'; why is it here?
5654 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
5655 while checking for prompt to delete. Use `forward-line 0'
5656 instead of beginning-of-line.
5657 (gud-filter): Temporarily widen gud comint buffer while
5660 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
5662 * progmodes/sh-script.el: Big bag of typos.
5664 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
5665 check since ispell-process is not bound when ispell is not yet loaded.
5667 2000-08-18 Dave Love <fx@gnu.org>
5669 * image.el (find-image): Copy `spec' before using plist-put.
5671 2000-08-18 Gerd Moellmann <gerd@gnu.org>
5673 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
5676 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
5677 backward-kill-sexp, analogous to kill-sexp.
5679 * progmodes/icon.el (icon-indent-line)
5680 (icon-is-continuation-line): Handle comments specially.
5682 2000-08-17 Ken Stevens <k.stevens@ieee.org>
5684 * ispell.el: Set to standard author/maintainer/keyword fields.
5685 Fine tuning to menu map appearance and operation, and added help.
5686 Remove `start' and `end' error messages when compiling.
5687 (ispell-choices-win-default-height): Fixed comment string.
5688 (ispell-dictionary-alist-1): Fixed regexp in castellano and
5689 castellano8 dictionaries.
5690 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
5691 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
5692 dictionary, added italiano dictionary.
5693 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
5695 (ispell-tex-skip-alists): Added psfig support.
5696 (ispell-skip-html): Renamed from ispell-skip-sgml.
5697 (ispell-begin-skip-region-regexp, ispell-skip-region)
5698 (ispell-minor-check): Improved html skipping support to skip across
5699 code, and recognize `&' commands without propper `;' syntax;
5700 (ispell-process-line): Fix alignment error when manually
5701 correcting spelling.
5702 (ispell): Fix comment string.
5703 (ispell-add-per-file-word-list): Always put word list on new line.
5705 2000-08-17 Gerd Moellmann <gerd@gnu.org>
5707 * format.el (format-encode-run-method): Fix error message to say
5708 `encode' instead of `decode'. Use save-window-excursion around
5709 shell-command-on-region as in format-decode-run-method because
5710 shell-command-on-region can display a buffer with error output.
5711 (format-decode): Don't record undo information for the decoding.
5712 (format-annotate-function): Add parameter FORMAT-COUNT. Make
5713 that number part of the temporary buffer name so that more than
5714 one decoding using a temporary buffer can happen safely.
5716 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
5717 of `A-z' in the regexp.
5719 * hilit-chg.el: Fix typos in commentary.
5721 * help.el (view-emacs-news): Rewritten for new naming scheme
5724 * startup.el (command-line): Pop to *Messages* in case an error
5725 is signaled while loading user-init-file.
5727 2000-08-17 Andreas Schwab <schwab@suse.de>
5729 * files.el (insert-directory): Don't lose original file name,
5730 undoing an undocumented change.
5732 2000-08-17 Alex Schroeder <alex@gnu.org>
5734 * sql.el (sql-magic-go): Use comint-bol.
5735 (sql-copy-column): Use comint-line-beginning-position.
5736 (comint-line-beginning-position): Define a replacement for
5737 comint-line-beginning-position if it is not fboundp.
5739 2000-08-17 Alex Schroeder <alex@gnu.org>
5741 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
5742 it didn't have any effect anyway.
5744 2000-08-17 Alex Schroeder <alex@gnu.org>
5746 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
5747 --pset and pager=off instead of sending \\o|cat at the beginning
5750 2000-08-17 Miles Bader <miles@gnu.org>
5752 * progmodes/octave-inf.el: Add compatibility definition of
5753 comint-line-beginning-position.
5755 2000-08-17 Kenichi Handa <handa@etl.go.jp>
5757 * startup.el (normal-top-level): Look in each dir in load-path for
5758 a leim-list.el file too. This assures of loading leim-list.el
5759 that is created at Emacs installation time even if a user have his
5762 2000-08-17 Miles Bader <miles@gnu.org>
5764 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
5765 foreground color to black if the background is dark.
5767 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
5769 * loadhist.el (unload-feature): Typo.
5771 * finder.el (finder-compile-keywords):
5772 * cus-dep.el (custom-make-dependencies): Add local-variable settings
5773 to the generated file.
5775 * mail/mh-e.el (mh-make-local-vars):
5776 Replace make-variable-buffer-local with make-local-variable.
5779 * options.el (Edit-options-{set,toggle,t,nil}):
5780 * mail/mailabbrev.el (mail-abbrevs-mode):
5781 * textmodes/tex-mode.el (tex-expand-files):
5782 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
5784 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
5786 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
5787 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
5788 Allow going past the last element.
5789 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
5790 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
5791 (cvs-mouse-toggle-mark): Don't move point.
5792 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
5794 * progmodes/compile.el (grep): Provide a default set of files.
5795 (next-error): Docstring fix.
5796 (compilation-find-file): Avoid find-file (fails in a dedicated window).
5798 * emacs-lisp/easy-mmode.el (define-minor-mode):
5799 Use `symbol-value' to keep the byte-compiler quiet.
5801 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
5802 (diff-find-source-location): New fun, extracted from diff-goto-source.
5803 (diff-goto-source): Use it.
5804 (diff-next-complex-hunk, diff-filter-lines): New function.
5805 (diff-apply-hunk): New command.
5807 * smerge-mode.el (smerge-mode-menu): Doc fix.
5809 * msb.el (msb-mode): Define it in terms of define-minor-mode.
5811 2000-08-16 Dave Love <fx@gnu.org>
5813 * windmove.el (windmove) <defgroup>: Add :version.
5815 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
5816 (goto-address-fontify-p, goto-address-highlight-p)
5817 (goto-address-url-face, goto-address-url-mouse-face)
5818 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
5819 (goto-address-url-regexp): Use thing-at-point-url-regexp.
5820 (goto-address-fontify, goto-address-at-mouse): Simplify,
5821 (goto-address-at-point): browse-url-url-at-point,
5822 goto-address-find-address-at-point can return nil.
5823 (goto-address-find-address-at-point): Return nil on failure.
5825 * align.el (align) <defgroup>: Add :version.
5827 * calculator.el (calculator): Add :version.
5828 (calculator): Use two lines for calculator window if `modeline'
5831 * play/5x5.el: Doc fixes.
5832 (5x5) <defgroup>: Add :version.
5834 * play/fortune.el (fortune) <defgroup>: Add :version.
5835 (fortune-append): Fix error message.
5836 (fortune-from-region): Doc fix.
5838 * play/pong.el (pong): Doc fix.
5840 * play/morse.el: Keywords, commentary, autoloads.
5842 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
5844 * desktop.el (desktop-save): Don't look at symbol-value of a
5845 member of minor-mode-alist, unless it is boundp.
5847 2000-08-16 Sam Steingold <sds@gnu.org>
5849 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
5850 `while'; use `with-current-buffer' instead of `save-excursion'.
5851 Removed unnecessary kludges now that "*Buffer List*" is excluded.
5853 2000-08-16 Kenichi Handa <handa@etl.go.jp>
5855 * international/ccl.el (declare-ccl-program): Docstring modified.
5856 (ccl-execute-with-args): Likewise.
5858 2000-08-16 Miles Bader <miles@gnu.org>
5860 * progmodes/sql.el: Add compatibility definition of
5861 comint-line-beginning-position.
5863 2000-08-15 Gerd Moellmann <gerd@gnu.org>
5865 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
5866 'buffer-menu' property.
5867 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
5869 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
5870 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
5873 * buff-menu.el (list-buffers-noselect): Don't display the
5874 *Buffer List* buffer.
5876 * font-lock.el: Require jit-lock to prevent a very late
5877 `Loading jit-lock' message.
5879 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
5880 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
5883 2000-08-15 Miles Bader <miles@gnu.org>
5885 * textmodes/ispell.el (ispell-graphic-p): New constant.
5886 (ispell-choices-win-default-height, ispell-help): Use
5887 `ispell-graphic-p' instead of `xemacsp'.
5889 2000-08-15 Dave Love <fx@gnu.org>
5891 * simple.el: Autoload widget-convert when compiling.
5892 (mail-user-agent): Doc fix.
5894 * help.el (function-called-at-point, variable-at-point): Use
5896 (help-manyarg-func-alist): Add insert-and-inherit.
5898 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
5900 * delsel.el (delsel-unload-hook): New function.
5902 * find-file.el: Doc fixes. Move provide to end.
5903 (ff) <defgroup>: Add :link.
5904 (ff-goto-click): Deleted.
5905 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
5906 Use mouse-set-point.
5908 * textmodes/tildify.el: Doc fixes.
5909 (tildify) <defgroup>: Add:version.
5911 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
5912 (glasses-custom-set): Use set-default, not set.
5913 (minor-mode-alist): Propertize the lighter.
5914 (glasses-mode): Provide optional arg.
5916 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
5917 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
5918 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
5919 option. Provide :type.
5920 (cwarn-configuration): Provide :type.
5921 (cwarn-mode): Doc fix.
5923 * add-log.el (change-log-merge): Doc fix.
5924 (change-log-redate): New command.
5926 * net/browse-url.el (browse-url-filename-alist): Add a clause for
5928 (browse-url): Use dolist, not mapcar.
5929 (browse-url-at-point): Check for null url.
5930 (browse-url-event-buffer, browse-url-event-point): Functions
5932 (browse-url-at-mouse, browse-url-netscape): Simplify.
5934 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
5936 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
5937 Fix previous change to mapcan.
5938 (msb--init-file-alist, msb--add-separators)
5939 (msb--make-keymap-menu): Simplify.
5940 (msb--choose-file-menu): Use copy-sequence.
5941 (msb-mode-map): Add title to keymap.
5942 (msb-unload-hook): New function.
5944 * bs.el: Fix indentation.
5945 (bs) <defgroup>: Add :links.
5947 (bs-apply-sort-faces): Don't use window-system.
5948 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
5950 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
5952 * calendar/timeclock.el (timeclock-file): Run .timelog through
5953 convert-standard-filename.
5955 2000-08-14 Gerd Moellmann <gerd@gnu.org>
5957 * emacs-lisp/authors.el: New file.
5959 * paren.el (show-paren-priority): New user option.
5960 (show-paren-function): Set overlay priorities to
5961 show-paren-priority.
5963 2000-08-14 Miles Bader <miles@gnu.org>
5965 * comint.el (comint-bol): Use `forward-line 0' instead of calling
5966 beginning-of-line with inhibit-field-text-motion bound.
5968 2000-08-14 Gerd Moellmann <gerd@gnu.org>
5970 * calendar/timeclock.el: New file.
5972 2000-08-14 David Ponce <david@dponce.com>
5974 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
5975 `widget-button-click'. so that one can use left mouse button to
5976 click on dialog buttons.
5978 2000-08-14 Emmanuel Briot <briot@gnat.com>
5980 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
5981 identifiers, since XML is case sensitive
5983 2000-08-12 Miles Bader <miles@gnu.org>
5985 * comint.el (comint-output-filter): Don't bother frobbing
5986 window-start, it doesn't seem to be necessary.
5988 * comint.el (comint-send-string, comint-send-region): Make into
5989 real functions. Snapshot the prompt before sending.
5991 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
5993 * info.el (Info-find-emacs-command-nodes): Rewrite to use
5994 technique similar to Info-index, instead of relying on specific
5995 names of relevant Index nodes.
5996 (Info-goto-emacs-command-node): Bind Info-history to nil when
5997 going to the first node found by Info-find-emacs-command-nodes.
5999 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6001 * menu-bar.el (menu-bar-help-menu): Add a :help string.
6003 2000-08-10 Miles Bader <miles@gnu.org>
6005 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
6007 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6009 * info.el (Info-file-list-for-emacs): More elements for the
6010 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
6013 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
6015 * comint.el (comint-send-input): Make the newline boundary overlay
6016 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
6017 (comint-output-filter): Use `insert' instead of
6018 `insert-before-markers'. Extend comint-last-output-overlay when
6019 necessary since we can't rely on insert-before-markers to do it.
6020 * gud.el (gud-filter): Use `with-current-buffer' instead of
6021 save-excursion when inserting the output, so that point gets
6022 updated correctly; the old method relied on a rather dodgy
6023 side-effect of comint-output-filter to avoid the effect of
6026 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6028 * files.el (recover-file): Call insert-directory instead of
6029 invoking `ls' directly.
6031 2000-08-10 Miles Bader <miles@gnu.org>
6033 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
6034 (comint-last-prompt-overlay): New variables.
6035 (comint-output-filter): Implement prompt highlighting.
6036 (comint-snapshot-last-prompt): New function.
6037 (comint-send-input): Snapshot the last prompt.
6038 Use comint-highlight-input-face.
6039 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
6040 Use defface instead of defcustom.
6041 (send-invisible, comint-send-eof): Snapshot the last prompt.
6042 (comint-delchar-or-maybe-eof): Use comint-send-eof.
6043 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
6045 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
6047 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
6048 (regexp-opt-group): Use a list of chars for `letters'.
6049 (regexp-opt-charset): `chars' is now a list of chars.
6050 Use a char-table rather than a vector so it works for multibyte chars.
6052 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
6053 Set cvs-minor-current-files to the selected fileinfo.
6054 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
6055 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
6057 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
6059 * files.el (insert-directory): Don't call access-file on
6060 directories on DOS and Windows.
6062 2000-08-09 Kenichi Handa <handa@etl.go.jp>
6064 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
6065 longer if necessary.
6066 (ccl-embed-code): Call ccl-embed-data to store CODE in
6069 2000-08-09 Miles Bader <miles@gnu.org>
6071 * comint.el (comint-output-filter): Properly handle the case where
6072 the text surrounded by comint-last-output-overlay was deleted.
6074 2000-08-08 Gerd Moellmann <gerd@gnu.org>
6076 * info.el (Info-insert-dir): Use Info-additional-directory-list if
6078 (Info-file-list-for-emacs): Remove "info" from the list because
6079 that leads to trying to use the documentation from file `info'
6080 in various situations where it isn't appropriate, for instance
6083 * ffap.el (ffap-read-file-or-url-internal): Handle case that
6084 DIR and/or STRING are nil.
6086 * progmodes/compile.el (compilation-setup): Make variable
6087 compilation-error-screen-columns buffer-local, as some comment
6088 in the code suggests it should be.
6090 * files.el (auto-mode-interpreter-regexp): New variable.
6091 (set-auto-mode): Use it.
6093 * indent.el (indent-for-tab-command): Doc fix.
6095 * mouse-sel.el (mouse-sel-mode): Doc fix.
6097 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
6100 * help.el (print-help-return-message): When
6101 display-buffer-reuse-frames is set, let the help window been quit,
6102 instead of deleting it, which might delete a reused frame.
6104 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
6106 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
6107 rename a directory to a name that differs only by its letter case.
6109 2000-08-08 Kenichi Handa <handa@etl.go.jp>
6111 * international/quail.el (quail-define-rules): Handle Quail decode
6112 map correctly. Add code for supporting annotations.
6113 (quail-install-decode-map): New function.
6114 (quail-defrule-internal): New optional arguments decode-map and
6116 (quail-advice): New function.
6118 2000-08-07 Sam Steingold <sds@gnu.org>
6120 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
6121 `defconst', `define-condition', `with-slots'.
6122 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
6124 2000-08-03 Miles Bader <miles@gnu.org>
6126 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6128 (comint-prompt-regexp, comint-get-old-input): Document dependence on
6129 comint-use-prompt-regexp-instead-of-fields.
6130 (comint-send-input): Add `input' field property to stuff we send to
6131 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
6132 (comint-output-filter): Add `output' field property to process
6133 output, if comint-use-prompt-regexp-instead-of-fields is nil.
6134 (comint-replace-by-expanded-history)
6135 (comint-get-old-input-default, comint-show-output)
6136 (comint-backward-matching-input, comint-forward-matching-input)
6137 (comint-next-prompt, comint-previous-prompt): Use field
6138 properties if comint-use-prompt-regexp-instead-of-fields is nil.
6139 (comint-line-beginning-position): New function.
6140 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
6141 (comint-replace-by-expanded-history-before-point): Use
6142 comint-line-beginning-position and line-end-position.
6143 (comint-last-output-overlay): New variable.
6144 (comint-mode): Make `comint-last-output-overlay' buffer-local.
6146 * shell.el (shell-prompt-pattern): Doc change.
6147 (shell-backward-command): Use line-beginning-position.
6149 * gud.el (gud-gdb-complete-command): Use
6150 comint-line-beginning-position.
6152 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
6153 comint-bol doesn't actually go to the beginning of the line.
6155 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
6156 if comint-use-prompt-regexp-instead-of-fields is non-nil.
6157 (try-expand-line-all-buffers): Likewise.
6159 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
6160 explicitly matching comint-prompt-regexp.
6161 (sql-copy-column): Use comint-line-beginning-position instead of
6162 explicitly matching comint-prompt-regexp.
6164 * progmodes/octave-inf.el (inferior-octave-complete): Use
6165 comint-line-beginning-position.
6167 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
6169 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
6170 looking for a prompt, use `forward-line 0' instead of
6171 `beginning-of-line', to avoid getting caught by an input field.
6173 2000-08-07 Gerd Moellmann <gerd@gnu.org>
6175 * files.el (shell-quote-wildcard-pattern): Make sure to return
6176 PATTERN, in the Unix case.
6178 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
6180 * play/zone.el (zone): Discard any pending input before running
6181 the randomly-chosen pgm.
6183 2000-08-07 Kenichi Handa <handa@etl.go.jp>
6185 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
6186 checking the existence of any multibyte characters.
6188 2000-08-06 Gerd Moellmann <gerd@gnu.org>
6190 * help.el (describe-mode): Test minor-mode symbol for being
6191 bound before testing its value for being nil.
6193 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
6194 `first', `second', and `third'.
6196 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
6197 (second): Make it an alias for `cadr'.
6199 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
6201 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
6202 types of display support faces now.
6204 2000-08-05 Gerd Moellmann <gerd@gnu.org>
6206 * pcvs.el (require): Require `cl' during compilation, only.
6208 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
6209 (toplevel): Remove `remq' and `remove' from autoloads.
6210 (cl-fake-autoloads): New variable. If set, arrange for an error
6211 when CL functions etc. are autoloaded.
6213 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
6215 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
6217 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
6218 popped up, but the user clicks outside the menu, return an empty
6219 regexp (that causes unhighlight-regexp to have no effect).
6221 * menu-bar.el (menu-bar-games-menu): Add Zone.
6223 * hi-lock.el (toplevel): Require font-lock.
6225 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6227 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
6228 (ebnf-8-bit-chars): New var for bug fix.
6229 (ebnf-string): Bug fix.
6231 2000-08-03 Sam Steingold <sds@gnu.org>
6233 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
6234 instead of `buffer-string'.
6235 (require 'cl): Always, not just when compiling.
6236 `ignore-errors' in `interactive', `list*', `defun*' &c make this
6239 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
6241 * international/mule-cmds.el (select-safe-coding-system): Make
6242 the message text about selecting a safe coding system more clear.
6244 2000-08-02 Gerd Moellmann <gerd@gnu.org>
6246 * hi-lock.el: New file.
6248 * play/zone.el: New file.
6250 * replace.el (occur): Set tab-width in the *Occur* buffer to the
6251 value of tab-width in the original buffer. Choose a line number
6252 format that's a multiple of the original buffer's tab width, so
6253 that lines appear right.
6255 * textmodes/ispell.el (ispell): New function, replacing an alias.
6256 Spell-check active region if in transient-mark-mode and mark
6257 is active; otherwise spell-check buffer.
6259 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6261 * ps-mule.el: Fix a customization problem on
6262 ps-mule-font-info-database-default.
6264 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
6266 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6267 display-mouse-p instead of window-system.
6268 (ebrowse-member-mode-map): Ditto.
6270 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6272 * progmodes/ebnf2ps.el: Update ps-print functions call.
6273 Indentation fix. Doc fix.
6274 (ebnf-version): New version number (3.2).
6275 (ebnf-format-color, ebnf-begin-job): Code fix.
6277 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
6279 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6280 font lock support on window-system.
6281 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6283 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6284 display-color-p, if fboundp, instead of window-system.
6286 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
6288 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6289 instead of window-system.
6291 * wid-edit.el (widget-choose): Use display-mouse-p instead of
6293 (widget-choice-mouse-down-action): Use display-popup-menus-p
6294 instead of window-system.
6296 * strokes.el (strokes-file): Run the file name through
6297 convert-standard-filename.
6298 (strokes-mode): Call display-mouse-p instead of looking at
6299 window-system. Change the error message accordingly.
6301 * progmodes/cpp.el (toplevel): Support faces on tty's.
6303 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6304 (lm-plot-square, lm-init-display): Don't use window-system.
6306 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6307 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6309 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6310 instead of looking at window-system.
6312 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6314 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6315 of testing if iswitchb-prepost-hooks is bound, because the
6316 latter will always be true when invoking a recursive minibuffer
6317 from an active Iswitchb buffer.
6319 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
6321 * files.el (shell-quote-wildcard-pattern): New function.
6322 (insert-directory): Call it. Only prepend "\" to command on Unix
6323 and GNU/Linux systems.
6325 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6327 * eshell/esh-groups.el: Change custom :link file names
6328 from `eshell.info' to `eshell'.
6330 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
6332 * dired.el (dired-build-subdir-alist): Expand subdirectory names
6333 correctly in recursive ange-ftp listings.
6335 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6337 * ps-print.el: Fix bug 1: if ps-font-size-internal,
6338 ps-header-font-size-internal and
6339 ps-header-title-font-size-internal variables are not set,
6340 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
6341 face text property is (foreground-color . COLOR) or
6342 `(background-color . COLOR)', ps-print crashes. Doc fix.
6343 (ps-print-version): New version number (5.2.4).
6344 (ps-plot-region): Code fix.
6345 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6346 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6349 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
6351 * glasses.el (glasses-make-readable): Fix uncapitalization of
6352 identifiers like `myXMLDocument'.
6354 2000-07-28 Karl Fogel <kfogel@red-bean.com>
6356 * mail/mail-hist.el (mail-hist-previous-input)
6357 (mail-hist-next-input): Do the obvious code factorization.
6358 (mail-hist-retrieve-and-insert): New func, contains common
6360 If inserting a message body, leave point at top.
6362 2000-07-28 Sam Steingold <sds@gnu.org>
6364 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6365 Use `<=', not `<' to compare times!
6366 (ange-ftp-ls): Remove.
6368 2000-07-27 Gerd Moellmann <gerd@gnu.org>
6370 * play/cookie1.el: Add explanation of how to make cookie.el
6371 compatible with strfile(1) to comment.
6373 * subr.el (remove, remq): New functions.
6375 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6376 escape `*' in regexps.
6377 (midnight-find): Reverse order of arguments in the funcall of
6380 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6383 * play/meese.el: Add Commentary section.
6385 2000-07-27 Alex Schroeder <alex@gnu.org>
6387 * sql.el (sql-ms): Added autoload cookie.
6388 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6389 (sql-oracle): Ditto.
6390 (sql-help): Doc change.
6392 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6393 types and exceptions.
6395 2000-07-27 Alex Schroeder <alex@gnu.org>
6397 * sql.el (sql-placeholder-history): New variable.
6398 (sql-query-placeholders-and-send): New function that will query
6399 the user and replace placeholders with user input.
6400 (sql-oracle): If running on NT, set comint-input-sender to
6401 sql-query-placeholders-and-send.
6403 (sql-stop): If in the SQLi buffer, insert stop notification, else
6404 present it as a message.
6406 2000-07-27 Alex Schroeder <alex@gnu.org>
6408 * sql.el (sql-input-ring-separator): Doc change.
6409 (sql-input-ring-file-name): Doc change.
6410 (sql-interactive-mode): Use `sql-input-ring-separator' and
6411 `sql-input-ring-file-name' to set the comint-mode equivalents
6412 without making them local variables.
6413 (sql-stop): Don't bind `sql-input-ring-separator' and
6414 `sql-input-ring-file-name' dynamically to their comint-mode
6417 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6419 * international/mule.el (register-char-codings): New function.
6420 (make-coding-system): Handle `safe-chars' specification in the arg
6423 * international/mule-cmds.el
6424 (find-coding-systems-region-subset-p): This function deleted.
6425 (sort-coding-systems-predicate): New variable.
6426 (sort-coding-systems): New function.
6427 (find-coding-systems-region): Use
6428 find-coding-systems-region-internal.
6429 (find-coding-systems-string): Use find-coding-systems-region.
6430 (find-coding-systems-for-charsets): Check
6431 char-coding-system-table.
6432 (select-safe-coding-system-accept-default-p): New variable.
6433 (select-safe-coding-system): Mostly rewritten. New argument
6435 (select-message-coding-system): Call select-safe-coding-system
6436 with ACCEPT-DEFAULT-P arg.
6437 (reset-language-environment): Reset default-sendmail-coding-system
6438 to the default value iso-latin-1.
6439 (set-language-environment): Don't set the obsolete variable
6440 charset-origin-alist.
6442 * international/codepage.el (cp-coding-system-for-codepage-1):
6443 Give `safe-chars' property to make-coding-system.
6445 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6446 calling select-message-coding-system twice.
6448 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6449 instead of `safe-charsets'.
6450 (cyrillic-alternativnyj): Likewise.
6451 (ccl-encode-alternativnyj): Don't check the charset
6454 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6456 * composite.el (compose-chars-after): Preserve match data.
6458 2000-07-26 Sam Steingold <sds@gnu.org>
6460 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6461 (ange-ftp-real-file-newer-than-file-p): New function.
6462 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6463 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6465 * tooltip.el (tooltip-float-time): Removed (use `float-time').
6466 * midnight.el (midnight-float-time): Ditto.
6468 2000-07-26 Andreas Schwab <schwab@suse.de>
6470 * files.el (normal-backup-enable-predicate): Correct
6471 interpretation of the return value of compare-strings.
6473 2000-07-26 Gerd Moellmann <gerd@gnu.org>
6475 * isearch.el (isearch-resume): New function.
6476 (isearch-done): Add something to command-history to resume
6478 (isearch-yank-line, isearch-yank-word): Use
6479 buffer-substring-no-properties instead of buffer-substring.
6481 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6482 of flyspell-mouse-map.
6484 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6485 duplicate definition.
6486 (makefile-mode): Remove duplicate setting of local-abbrev-table.
6488 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6489 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6491 2000-07-25 Sam Steingold <sds@gnu.org>
6493 * net/ange-ftp.el: Get modtime over the net.
6494 (ange-ftp-file-modtime): New function.
6495 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6496 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6498 (ange-ftp-dot-to-slash): New function.
6499 (ange-ftp-fix-name-for-vms): Use it.
6501 * midnight.el (midnight-buffer-display-time): Use
6502 `with-current-buffer'.
6504 2000-07-25 Gerd Moellmann <gerd@gnu.org>
6506 * find-dired.el: Update copyright notice.
6507 (find-dired): Offer to kill a running `find'.
6509 * enriched.el (enriched-face-ans): For a `foreground-color'
6510 property, return '(("x-color" COLOR))' so that COLOR will be
6511 output as a parameter of the x-color annotation. Likewise for the
6512 `background-color' property. In the case of normal face
6513 properties, don't return annotations for unspecified foreground
6514 and background face attributes.
6516 2000-07-25 Kenichi Handa <handa@etl.go.jp>
6518 * language/japan-util.el (japanese-katakana-region): Fix handling
6521 2000-07-25 Miles Bader <miles@gnu.org>
6523 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6524 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
6527 2000-07-24 Andrew Innes <andrewi@gnu.org>
6529 * timer.el (timer-activate-when-idle): Add optional parameter
6530 DONT-WAIT. Update docstring.
6531 (run-with-idle-timer): Specify extra parameter to
6532 timer-activate-when-idle, so that timer will be activated
6533 immediately if Emacs is already idle.
6535 * w32-fns.el (w32-using-nt): Fix docstring.
6537 2000-07-24 Dave Love <fx@gnu.org>
6539 * mouse.el (popup-menu): Set last-command-event.
6540 (mouse-major-mode-menu-prefix): Declare.
6542 2000-07-24 Gerd Moellmann <gerd@gnu.org>
6544 * textmodes/flyspell.el: Update to author's version 1.5d.
6546 * progmodes/hideshow.el: Update copyright notice.
6548 * vcursor.el: Set maintainer to FSF, since author cannot
6551 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
6553 * info.el (Info-goto-emacs-key-command-node): Leave a space after
6556 * mouse.el (popup-menu): Run the keymap through indirect-function,
6557 in case it was defined with define-prefix-key. If the menu is a
6558 list of keymaps, look up the binding of user's choice in each one
6560 (mouse-popup-menubar): If the global and local menu-bar keymaps
6561 don't have a prompt string, create one and insert it into the
6562 keymap. Don't barf if current-local-map returns nil.
6564 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
6566 * dired.el (dired-sort-R-check): Added to allow recursive listing
6568 (dired-sort-other): Use it.
6570 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6572 * Release of cc-mode 5.27
6574 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6576 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6577 c-beginning-of-statement-1 that caused a bad case of recursion
6578 which could consume a lot of CPU in large classes in languages
6579 that have in-expression classes (i.e. Java and Pike).
6581 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6582 statements before top level constructs (i.e. case 6 is moved
6583 before case 5 and is now case 4) to catch in-expression
6584 classes in top level expressions correctly.
6586 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6588 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6589 objc-method-intro. Case 4 removed and case 5I added.
6591 * cc-langs.el (c-append-paragraph-start): New variable used by
6592 c-common-init to get paragraph-start correct.
6593 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6594 initialize paragraph-start to make it correct both with and
6595 without the javadoc special case.
6597 * cc-mode.el (java-mode): Use c-append-paragraph-start to
6598 initialize paragraph-start for javadoc markup.
6600 * cc-vars.el (c-style-variables-are-local-p): Incompatible
6601 change by defaulting this to t. It's motivated by the
6602 confusing behavior that otherwise arise from the style system
6603 when editing both java and non-java files at the same time
6604 (see the comments about style setting in c-common-init).
6606 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6608 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
6609 similar to the one in c-fill-paragraph to check the fill
6610 prefix from the adaptive fill function for sanity.
6612 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6614 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
6617 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6619 * cc-mode.texi Documented the change of cpp-macro.
6621 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6623 * cc-align.el (c-lineup-multi-inher): Handle lines with
6624 leading comma nicely. Extended to handle member initializers
6627 * cc-engine.el: (c-beginning-of-inheritance-list,
6628 c-guess-basic-syntax): Fixed recognition of inheritance lists
6629 when the lines begins with a comma.
6631 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
6633 * cc-vars.el (c-offsets-alist): Changed default for
6634 member-init-cont to c-lineup-multi-inher since it now handles
6635 member initializers and indents better for leading commas.
6637 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6639 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
6640 handling that caused class open lines to be recognized as
6641 statement-conts in some cases.
6643 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
6644 guessed by the adaptive fill function unless point is on the
6645 first line of a block comment.
6647 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
6648 when the buffer ends with a macro continuation char.
6650 * cc-engine.el (c-guess-basic-syntax): Added support for
6651 function definitions as statements in Pike. The first
6652 statement in a lambda block is now labeled defun-block-intro
6653 instead of statement-block-intro.
6655 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
6656 so that the class surrounding point is selected, not the one
6657 innermost in the state.
6659 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
6660 recognition of switch labels having hanging multiline
6663 * cc-engine.el (c-beginning-of-member-init-list): Broke out
6664 some code in c-guess-basic-syntax to a separate function.
6665 * cc-engine.el (c-just-after-func-arglist-p): Fixed
6666 recognition of member inits with multiple line arglists.
6667 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
6668 member-init-cont when the commas are in funny places.
6670 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6672 * cc-defs.el (c-auto-newline): Removed this macro since it's
6675 * cc-engine.el (c-looking-at-bos): New helper function.
6676 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
6677 inexpr and toplevel classes apart in Pike.
6679 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
6682 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
6683 constant, since "class" can introduce an in-expression class
6686 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6688 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
6689 indentation on cpp-macro lines.
6691 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
6692 a syntax modifier like comment-intro, to make it possible to
6693 get syntactic indentation for preprocessor directives. It's
6694 incompatible wrt to lineup functions on cpp-macro, but it has
6695 no observable effect in the 99.9% common case where cpp-macro
6698 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6700 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
6701 member-init-cont when the preceding arglist is several lines.
6703 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6705 * cc-styles.el (c-style-alist): The basic offset for the BSD
6706 style corrected to 8.
6708 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6710 * cc-styles.el (c-style-alist): Adjusted the indentation of
6711 brace list openers in the gnu style.
6713 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6715 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
6717 * cc-cmds.el (c-electric-brace, c-electric-slash,
6718 c-electric-star, c-electric-semi&comma, c-electric-colon,
6719 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
6720 when c-syntactic-indentation is nil.
6722 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
6723 we were left at comments preceding the first statement when
6724 reaching the beginning of the buffer.
6726 * cc-vars.el (c-syntactic-indentation): New variable to turn
6727 off all syntactic indentation.
6729 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6731 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
6732 between the text and the block comment ender when it hangs,
6733 depending on how many there are before the fill.
6735 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6737 * cc-engine.el (c-beginning-of-closest-statement): New helper
6738 function to go back to the closest preceding statement start,
6739 which could be inside a conditional statement.
6740 * cc-engine.el (c-guess-basic-syntax): Use
6741 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
6743 * cc-engine.el (c-guess-basic-syntax): Better handling of
6744 arglist-intro, arglist-cont-nonempty and arglist-close when
6745 the arglist is nested inside parens. Cases 7A, 7C and 7F
6748 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
6749 up-to-date with javadoc 1.2.
6751 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6753 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
6754 multiline Pike type decls.
6756 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6758 * cc-cmds.el (c-indent-new-comment-line): Always break
6759 multiline comments in multiline mode, regardless of
6762 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6764 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
6765 fully::qualified::names in C++ member init lists. Preamble in
6768 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6770 * cc-langs.el (c-common-init): Handling of obsolete variables
6771 moved to c-initialize-cc-mode. More compatible style override
6772 when using global style variables.
6773 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
6774 variables moved here.
6776 * cc-mode.texi: Documented the special behavior of
6777 c-special-indent-hook as a style variable. Don't talk about
6778 doing (c-make-styles-buffer-local t) in a mode hook, since
6779 that's already too late to work right.
6781 * cc-styles.el (c-make-styles-buffer-local): Flag style
6782 variable localness in c-style-variables-are-local-p to make
6783 the compatibility measure in c-common-init work well.
6785 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
6786 longer contain set-from-style.
6787 * cc-styles.el (c-initialize-builtin-style): Don't check for
6788 set-from-style on c-special-indent-hook.
6789 * cc-styles.el (c-copy-tree): Obsolete. The standard function
6790 copy-alist is sufficient now.
6792 * cc-styles.el (c-set-style, c-set-style-1,
6793 c-get-style-variables): Fixes to variable initialization so
6794 that duplicate entries in styles have the same effect
6795 regardless of DONT-OVERRIDE.
6797 * cc-styles.el (c-set-style-2): Fixed bug where the
6798 initialization of inheriting styles failed when the
6799 dont-override flag is set.
6801 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
6804 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6806 * cc-defs.el (c-forward-comment): Removed the workaround
6807 introduced in 5.38 since it had worse side-effects. If a line
6808 contains the string "//\"", it regarded the // as a comment
6809 start since the \ temporarily doesn't have escape syntax.
6811 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
6813 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
6814 ada-xref.el before ada-prj.el, so that the Project menu is created
6815 when ada-prj tries to add to it.
6816 (ada-activate-keys-for-case): Suppress the characters that are not
6817 part of the Ada syntax. Better compatibility with else-mode
6818 (ada-adjust-case-interactive): When auto-casing is not active,
6819 correctly insert newlines (used to insert only ^M). Prevent the
6820 syntax table from being changed in case of an error
6821 (or '_' becomes part of a word and some commands are confused).
6822 Do nothing if ada-auto-case is nil.
6823 (ada-after-keyword-p): Ignore keywords that are also attributes
6824 (ada-batch-reformat): Update usage comment
6825 (ada-call-from-contextual-menu): New function
6826 (ada-case-read-exceptions): Reinitialize the casing exception list
6827 first to nil first, so that the casing exception file can be
6829 (ada-check-defun-name): Handles "configure" keyword for gnatdist
6831 (ada-compile-goto-error): Fix regexp used to detect a file:line
6832 anywhere in the error message
6833 (ada-contextual-menu-last-point): New variable
6834 (ada-create-keymap): If the variable delete-key-deletes-forward is
6835 t on XEmacs, it means that DEL should delete one character
6837 (ada-create-menu): Use :included instead of :visible for XEmacs.
6838 New submenu "Options".
6839 (ada-end-stmt-re): Correctly indent "select ... then abort"
6841 (ada-fill-comment-paragraph): Correctly delete all leading '--'
6842 even if they don't match ada-fill-comment-prefix Fix handling of
6843 paragraphs on the first or last line of a file.
6844 (ada-format-paramlist): Fix handling of default parameter values.
6845 (ada-get-body-name): New function.
6846 (ada-get-current-indent): Optimized by searchling directly for an
6847 existing generic part or a statement outside of it. Handle
6848 ada-indent-align-comments when indenting comments Replaced some
6849 regexps by testing directly the next character. This results in a
6850 huge speedup on some files. New indentation scheme for renames
6851 statements. Stop looking for the 'while' or 'for' associated with
6852 a 'loop' at the first semicolon encountered. A "return" can also
6853 match an anonymous access subprogram declaration.
6854 (ada-get-indent-noindent): Ignore strings and comments when
6855 looking for the keywords "record" and "private".
6856 (ada-goto-matching-decl-start): When matching "if", make sure we
6857 are not in fact seeing "end if". Ignore "when" statements except
6858 when initial keyword was "begin". Fix handling of nested
6859 procedures. Add a recursive call to this function to skip over
6860 other 'end' statmts. Fix indentation for "when .. => begin"
6861 (ada-in-open-paren-p): Fix indentation for complex boolean
6862 expressions, where 'and then', 'or else' and parenthesis
6863 statements are mixed up.
6864 (ada-in-paramlist-p): Skip comments while searching for the
6865 beginning Fix handling of operator declarations.
6866 (ada-indent-align-comments): New variable
6867 (ada-indent-current): Change the syntax table only in the
6868 protected section, so that we are sure it is restored correctly.
6869 (ada-indent-on-previous-lines): Use ada-use-indent and
6870 ada-with-indent Correctly indent "select ... then"
6871 (ada-indent-region): Slight speedup.
6872 (ada-indent-renames): New variable.
6873 (ada-last-which-function-subprog, ada-last-which-function-line):
6875 (ada-looking-at-semi-private): Correctly indent the 'private'
6876 keyword when it is the first word in a package declaration.
6877 (ada-loose-case-word): Stop searching if at the end of the buffer.
6878 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
6879 even if point is not initially at the end of the word.
6880 (ada-matching-decl-start-re): Add "when".
6881 (ada-mode): Add support for abbrev-mode, outline-mode and
6882 which-func-mode Override the old find-file.el entry in
6883 ff-special-constructs since it is using the obsolete
6884 ada-spec-suffix variable
6885 (ada-no-auto-case): New function
6886 (ada-scan-paramlist): When parsing the argument type, accept
6887 spaces (as in "X 'Class", generated by Rational Rose).
6888 (ada-other-file-name): No longer loads the other file.
6889 (ada-popup-menu): Save and restore the current buffer and cursor
6890 position before and after displaying the menu.
6891 (ada-search-ignore-complex-boolean): New function.
6892 (ada-uncomment-region): Emacs21 already knows how to delete
6893 comments not starting in the first column.
6894 (ada-use-indent): New variable
6895 (ada-which-function): New function.
6896 (ada-with-indent): New variable
6897 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
6898 can be batch-compiled from the command line.
6900 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
6901 Add to the menu when the file is loaded, not in ada-mode-hook.
6902 Add -toolbar to the default ddd command Switches moved from
6903 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
6904 ada-prj-default-comp-opt
6905 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
6906 Reference Manual to the menu
6907 (ada-check-current): rewritten as a call to ada-compile-current
6908 (ada-compile): Removed.
6909 (ada-compile-application, ada-compile-current, ada-check-current):
6910 Set the compilation-search-path so that compile.el automatically
6911 finds the sources in src_dir. Automatic scrollong of the
6912 compilation buffer. C-uC-cC-c asks for confirmation before
6914 (ada-compile-current): New parameter, prj-field
6915 (ada-complete-identifier): Load the .ali file before doing
6917 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
6918 conform to gnatmake's behavior.
6919 (ada-find-file-in-dir): New function
6920 (ada-find-references): Set the environment variables for gnatfind
6921 (ada-find-src-file-in-dir): New function.
6922 (ada-first-non-nil): Removed
6923 (ada-gdb-application): Add support for jdb, the java debugger.
6924 (ada-get-ada-file-name): Load the original-file first if not done
6926 (ada-get-all-references): Handles the new ali syntax (parent types
6927 are found between <>).
6928 (ada-initialize-runtime-library): New function
6929 (ada-mode-hook): Always load a project file when a file is opened,
6930 so that the casing exceptions are correctly read.
6931 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
6932 (ada-parse-prj-file): Use find-file-noselect instead of find-file
6933 to open the project file, since the latter does not work with
6934 speedbar Get default values before loading the prj file, or the
6935 default executable file name is wrong. Use the absolute value of
6936 src_dir to initialize ada-search-directories and
6937 compilation-search-path,... Add the standard runtime library to
6938 the search path for find-file.
6939 (ada-prj-default-debugger): Was missing an opening '{'
6940 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
6942 (ada-prj-default-gnatmake-opt): New variable
6943 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
6944 buffers, the project file is the default one Save the windows
6945 configuration before displaying the menu.
6946 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
6947 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
6948 ...) regexp-quote identifiers names to support operators +,
6950 (ada-remote): New function.
6951 (ada-run-application): Erase the output buffer before starting the
6952 run Support remote execution of the application. Use
6953 call-process, or the arguments are incorrectly parsed
6954 (ada-set-default-project-file): Reread the content of the active
6955 project file, not the one from the current buffer When a project
6956 file is set as the default project, all directories are
6957 automatically associated with it.
6958 (ada-set-environment): New function
6959 (ada-treat-cmd-string): New special variable ${current}
6960 (ada-treat-cmd-string): Revised. The substitution is now done for
6961 any ${...} substring
6962 (ada-xref-current): If no body was found, compiles the spec
6963 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
6964 compiler to get rid of command line length limitations.
6965 (ada-xref-get-project-field): New function
6966 (ada-xref-project-files): New variable
6967 (ada-xref-runtime-library-specs-path)
6968 (ada-xref-runtime-library-ali-path): New variables
6969 (ada-xref-set-default-prj-values): Default run command now does a
6970 cd to the build directory. New field: main_unit Provide a default
6971 file name even if the current buffer has no prj file.
6974 Rewritten to show a tabbed-dialog.
6975 (ada-prj-add-ada-menu): Remove the map and name parameters.
6976 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
6978 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
6979 (ada-prj-load-from-file): New function
6980 (ada-prj-save): Always save fields that depend on the current buffer
6981 (ada-prj-show-value): New function
6983 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
6984 Ada mode. This will allow us to display the Ada menu in any buffer
6985 we want (for project items).
6986 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
6987 number of spaces in the header.
6989 2000-07-24 Dave Love <fx@gnu.org>
6991 * ediff-init.el (ediff-region-help-echo): Bind face-help.
6993 2000-07-23 Noah Friedman <friedman@splode.com>
6995 * type-break.el (type-break): perform autosave.
6996 Suggested by Stephen Gildea <gildea@intouchsys.com>.
6997 (type-break-do-query): Cancel query schedule while performing
6998 actual query, to avoid possibility of a second query being made
6999 while first one is already in progress.
7000 (type-break-time-stamp-format): New variable.
7001 (type-break-time-stamp): New function.
7002 (type-break-time-warning): Use it.
7003 (type-break-keystroke-warning): Use it.
7004 (type-break-noninteractive-query): Use it.
7006 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
7008 Use add-minor-mode to set minor-mode-alist, if available.
7009 (eldoc-echo-area-use-multiline-p): New user option.
7010 (eldoc-echo-area-multiline-supported-p): New variable.
7011 (eldoc-docstring-format-sym-doc): Use them.
7012 (eldoc-mode): If not using idle timers, append to local post and
7013 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
7014 (eldoc-display-message-no-interference-p): Don't interfere with
7016 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
7017 (eldoc-function-arglist): New function.
7018 (eldoc-function-argstring): Use it.
7020 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
7021 auto save directory exists before calling directory-files.
7023 2000-07-23 Dave Love <fx@gnu.org>
7025 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
7028 2000-07-21 Dave Love <fx@gnu.org>
7030 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
7031 now passed to the function. It now works properly.
7033 * smerge-mode.el (smerge-mode-menu): Fill it out.
7035 2000-07-20 Gerd Moellmann <gerd@gnu.org>
7037 * info-look.el (info-lookup): If *info* is shown in another frame
7038 on the same display, select that frame, instead of switching to
7039 the Info buffer in another window of the selected frame.
7041 * simple.el (universal-argument-map): Bind numeric keypad keys
7042 kp-0 to kp-9 and kp-subtract.
7043 (digit-argument): Handle these keys.
7045 2000-07-20 Dave Love <fx@gnu.org>
7047 * net/goto-addr.el (goto-address-fontify): Don't bother with
7048 buffer-modified and read-only stuff -- irrelevant with overlays.
7049 Put an extra property on the overlays and use it to clean up in
7050 case goto-address is re-run.
7052 2000-07-19 Richard M. Stallman <rms@gnu.org>
7054 * timer.el (run-with-idle-timer): Doc fix.
7056 * mail/mail-utils.el (mail-strip-quoted-names):
7057 Handle case where <...> appears inside "...".
7058 Use replace-match to edit the string more simply.
7059 (rmail-dont-reply-to): Cope with an unmatched ".
7061 2000-07-19 Dave Love <fx@gnu.org>
7063 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
7066 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
7067 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
7068 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
7070 2000-07-19 Gerd Moellmann <gerd@gnu.org>
7072 * textmodes/refer.el: Correct maintainer's email address.
7074 * progmodes/hideif.el: Correct author's email address.
7075 Fix typo in comment.
7079 * mail/mailheader.el: Correct author's mail address.
7081 * gnus/parse-time.el: Correct author's mail address.
7083 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
7085 * comint.el (comint-highlight-input, comint-highlight-face):
7087 (comint-input-ring-file-name): Change custom type.
7088 (comint-mode-map): Bind mouse-2.
7089 (comint-insert-clicked-input): New function.
7090 (comint-send-input): Handle input highlighting.
7092 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
7094 * mouse.el (popup-menu): New function.
7095 (mouse-major-mode-menu): Use it.
7097 2000-07-18 Dave Love <fx@gnu.org>
7099 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
7102 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7104 * faces.el (face-font-selection-order)
7105 (face-font-family-alternatives): Add custom type.
7107 2000-07-18 Dave Love <fx@gnu.org>
7109 * cus-edit.el (custom-variable-reset-saved)
7110 (custom-variable-reset-standard): Remove unused bindings.
7112 * rect.el (open-rectangle-line): Remove unused let.
7114 * hl-line.el (hl-line-highlight): Check hl-line-mode.
7116 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7118 * cdl.el: Fix `Maintainer' keyword.
7120 * play/pong.el: Add author's email address.
7122 2000-07-17 Sam Steingold <sds@gnu.org>
7124 * files.el (insert-directory): Call `split-string' instead of
7127 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7129 * mail/vms-pmail.el: Change maintainer to FSF.
7131 * net/goto-addr.el: Change maintainer to FSF.
7133 * recentf.el: Update from author.
7135 * info.el (Info-title-face-alist): Removed.
7137 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
7139 * eshell/eshell.el (eshell): Replace links to eshell.info with
7140 links to eshell, to avoid problems on systems where the manual is
7141 installed as `eshell'.
7142 * eshell/esh-cmd.el (eshell-cmd): Ditto.
7143 * eshell/em-smart.el (eshell-smart): Ditto.
7144 * eshell/em-banner.el (eshell-banner): Ditto.
7145 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
7147 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
7148 same-file check in the MS-DOS version (it does support inodes).
7150 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
7152 * eshell/eshell.el (eshell-directory-name):
7153 Run default directory name through convert-standard-filename.
7155 2000-07-18 Kenichi Handa <handa@etl.go.jp>
7157 * international/mule-cmds.el (select-safe-coding-system):
7158 Fix typo in the comment.
7160 * language/european.el (compound-text):
7161 Force katakana-jisx0201 to be designated to G1.
7163 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
7164 Don't translate some national variant characters of latin-jisx0201.
7165 (x-ctext): Force katakana-jisx0201 to be designated to G1.
7167 * international/kkc.el (kkc-after-update-conversion-functions):
7169 (kkc-update-conversion): Run functions in it at the tail.
7171 2000-07-16 John Wiegley <johnw@gnu.org>
7173 * lisp/align.el (align-newline-and-indent):
7174 Adding new function. for auto-aligning blocks of code on RET.
7175 (align-region): Fixed badly formatted minibuffer message.
7177 2000-07-17 Kenichi Handa <handa@etl.go.jp>
7179 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
7180 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
7181 the conversion list at first if appropriate.
7182 (kkc-next): Don't update kkc-next-count here.
7183 (kkc-prev): Don't update kkc-prev-count here.
7184 (kkc-show-conversion-list-update): Fix setting up of conversion
7187 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
7189 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
7191 2000-07-16 Dave Love <fx@gnu.org>
7193 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
7194 function to be more specific.
7196 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
7197 non-string help-echo.
7198 (widget-types-convert-widget): Defsubst it.
7199 (widget-echo-help): Try to cope with a help-echo function of two
7202 2000-07-15 Jason Rumney <jasonr@gnu.org>
7204 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7205 Declare as obsolete.
7207 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
7209 2000-07-14 Gerd Moellmann <gerd@gnu.org>
7211 * hilit-chg.el: Fix typo.
7213 2000-07-14 Dave Love <fx@gnu.org>
7215 * info.el (Info-mode-menu): Fix use of :help, :enable.
7217 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
7219 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
7221 2000-07-13 Dave Love <fx@gnu.org>
7223 * emacs-lisp/easymenu.el: Doc fixes.
7224 (easy-menu-remove): Defalias to ignore.
7226 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
7227 Call throw correctly.
7229 2000-07-13 Gerd Moellmann <gerd@gnu.org>
7231 * faces.el (frame-background-mode): Doc fix.
7233 * simple.el (eval-expression-print-length): Change custom type to
7234 allow entering nil as value.
7236 2000-07-13 Dave Love <fx@gnu.org>
7238 * progmodes/fortran.el (fortran-imenu-generic-expression):
7239 Change definition layout.
7240 (fortran-mode-menu): Reinstate customize entries.
7242 * cus-edit.el (custom-group-menu-create, customize-menu-create):
7243 Use :filter, per old XEmacs code.
7245 2000-07-12 Gerd Moellmann <gerd@gnu.org>
7247 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7248 event when deciding what to send to the terminal.
7250 2000-07-12 Dave Love <fx@gnu.org>
7252 * cus-start.el: Add optional version as 4th element of specs and
7253 use it for several things new in v21. Remove load-path. Fix type
7254 of line-number-display-limit.
7256 2000-07-11 Dave Love <fx@gnu.org>
7258 * progmodes/fortran.el: Don't require easymenu.
7259 Use repeat counts in various regexps.
7260 (fortran-mode-syntax-table): Defvar directly.
7261 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7262 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7263 Use defvar, not defconst.
7264 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
7265 (fortran-mode): Set fortran-comment-line-start-skip,
7266 fortran-comment-line-start-skip, dabbrev-case-fold-search.
7267 (fortran-comment-indent): Use defsubst.
7268 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7269 Use fortran-comment-indent, not fortran-comment-indent-function.
7270 (fortran-comment-region, fortran-electric-line-number): Simplify.
7271 (fortran-auto-fill): New function.
7272 (fortran-do-auto-fill): Deleted.
7273 (fortran-find-comment-start-skip):
7274 Check for non-null comment-start-skip.
7275 (fortran-auto-fill-mode, fortran-fill-statement):
7276 Use fortran-auto-fill.
7277 (fortran-fill): Use fortran-auto-fill. Check for null
7278 comment-start-skip. Simplify final clause and use end-of-line finally.
7280 * widget.el (widget-plist-member): New alias.
7282 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
7284 * eshell/esh-module.el (toplevel): Reference
7285 byte-compile-current-file only if it is bound.
7287 2000-07-10 Gerd Moellmann <gerd@gnu.org>
7289 * dired.el: Don't require `dired-aux'.
7291 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
7293 * dired-aux.el (dired-show-file-type): New function.
7294 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7295 (dired-show-file-type): Add autoload.
7297 2000-07-10 Kenichi Handa <handa@etl.go.jp>
7299 * international/mule-diag.el (describe-font): Adjusted for the
7300 change of fontset-info.
7301 (print-fontset): Likewise.
7303 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
7305 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7307 2000-07-07 Gerd Moellmann <gerd@gnu.org>
7309 * bindings.el: Bind `[delete]' to delete-char.
7311 * dired.el (dired-find-alternate-file): New function.
7312 (dired-mode-map): Bind `a' to dired-find-alternate-file.
7313 (toplevel): Require dired-aux when compiling.
7314 (dired-buffers): Move defvar within file to avoid compiler warning.
7316 * info.el (Info-last-search): Variable removed.
7317 (Info-search-history): New variable.
7318 (Info-search): New Info-search-history.
7320 * battery.el, info-look.el: Change author's mail address.
7322 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
7324 * mail/rmail.el (rmail-clear-headers): Don't throw an error
7325 if rmail-ignored-headers is nil.
7326 (rmail-retry-failure): Bind rmail-ignored-headers and
7327 rmail-displayed-headers to nil.
7329 2000-07-06 Gerd Moellmann <gerd@gnu.org>
7331 * lpr.el (lpr-page-header-switches): Add `-h' switch.
7332 (print-region-1): Don't hard code `-h' here.
7334 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7336 2000-07-01 Francesco Potorti` <pot@gnu.org>
7338 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7339 exim can use "your message" instead of "the message".
7341 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
7343 * facemenu.el: Docstrings fixes.
7344 (facemenu-get-face): Don't use internal-find-face.
7345 (facemenu-iterate): Rename arg to match the docstring.
7347 * newcomment.el (uncomment-region): Be more careful when skipping
7348 backwards over `=' not to bump into BOBP.
7350 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
7352 * ediff-diff.el (ediff-wordify): Use syntax table.
7353 * ediff-init.el (ediff-has-face-support-p): Use
7354 ediff-color-display-p.
7355 (ediff-color-display-p): Use display-color-p, changed to defun
7357 Got rid of special cases for NeXT and OS/2.
7358 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7361 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7363 * emacs-lisp/lucid.el: Require CL.
7364 (copy-tree, remprop): Remove, it's provided by CL.
7365 (map-keymap): Define in terms of cl-map-keymap.
7366 (extent-property, set-extent-end-glyph): New functions.
7368 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7370 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7372 * Makefile.in (DONTCOMPILE): Add comment that the name may
7373 not be changed without changing the make-dist script.
7375 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7376 (cl-mapc): Use mapc instead of cl-old-mapc.
7378 2000-07-05 Andrew Innes <andrewi@gnu.org>
7380 * makefile.nt: Add support for `bootstrap' and related targets.
7382 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7384 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7385 (easy-menu-do-define): Use `menu-item' format.
7386 Handle case where easy-menu-create-menu returns a symbol.
7387 Manually call the potential top-level filter in the function binding.
7388 (easy-menu-filter-return): New arg NAME.
7389 Convert to a keymap if MENU is an XEmacs menu.
7390 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
7391 (easy-menu-converted-items-table, easy-menu-convert-item):
7392 New var and fun to memoize easy-menu-convert-item-1.
7393 (easy-menu-do-add-item): Use it.
7394 (easy-menu-create-menu): Use easy-menu-convert-item.
7395 Wrap easy-menu-filter-return around any :filter specification.
7396 Don't convert the menu if a filter was specified.
7397 Tell easy-menu-make-symbol not to check for MENU being an expression.
7398 (easy-menu-make-symbol): New arg NOEXP.
7400 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7402 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7403 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7404 (eval-defun): If called with prefix arg, instrument code for
7407 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7408 similar to that of eval-defun.
7410 2000-07-04 Dave Love <fx@gnu.org>
7412 * hl-line.el (hl-line-overlay): Make it permanent-local.
7414 * calendar/todo-mode.el: Replaced with a working version, based on
7415 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
7417 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
7419 * paths.el (prune-directory-list): New function.
7420 (Info-default-directory-list): Rewritten to more methodically
7421 enumerate a big list of possible info directories (based on the
7422 list used by the standalone info reader).
7424 * info.el (info-initialize): Use prune-directory-list to remove
7425 non-existent directories from Info-directory-list.
7427 * paths.el (Info-default-directory-list): Try a list of possible
7428 info-directories instead of a single one. Add the possible
7429 info directory "/usr/share/info".
7431 * woman.el (woman-man.conf-path): Explicitly include the debian
7432 man-db config file "/etc/manpath.config".
7433 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7434 are present in `manpath.config'.
7435 (woman-manpath): Include "/usr/share/man".
7437 2000-07-03 Gerd Moellmann <gerd@gnu.org>
7439 * frame.el (blink-cursor-mode): Don't hide cursor initially.
7441 * startup.el (command-line): Initialize blink-cursor based
7444 * frame.el (blink-cursor): Default to nil if not running under
7447 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7448 (face-x-resources): Remove duplicate entry for :font.
7450 * textmodes/refer.el (refer-find-entry-internal): Use some-window
7451 instead of cycling through windows with next-window.
7453 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7454 of cycling through windows with next-window.
7456 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7457 of cycling through windows with next-window.
7459 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7460 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7461 instead of cycling through windows with next-window.
7463 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7464 instead of cycling through windows with next-window.
7466 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7467 of cycling through windows with next-window.
7469 * terminal.el (te-process-output): Use walk-windows instead of
7470 cycling through windows with next-window.
7472 * server.el (server-switch-buffer): Use some-window instead of
7473 cycling through windows with next-window.
7475 * window.el (some-window): New function.
7476 (walk-windows): Remove reference to walk-windows-start.
7478 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7480 2000-07-03 Richard Stallman <rms@gnu.org>
7482 * window.el (walk-windows): Guarantee termination by keeping a list
7483 of all the windows already handled.
7485 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7487 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7490 * man.el (Man-notify-when-ready): Don't use window-system. If
7491 Man-notify-method is newframe, and the display is not
7492 multi-frame, select the frame created for the man page.
7493 (Man-init-defvars): Doc fix.
7495 2000-06-28 Gerd Moellmann <gerd@gnu.org>
7497 * faces.el (region): Change background color for light background.
7499 * ediff-wind.el (ediff-setup-control-frame): Remove :box
7500 attribute from mode-line face of Ediff control frame.
7502 * replace.el (query-replace-map): Bind `e' like `E'.
7504 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7506 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7507 Change name to "Select All".
7509 * dos-fns.el (convert-standard-filename): Fix last change.
7511 2000-06-27 Gerd Moellmann <gerd@gnu.org>
7513 * help.el (describe-variable): Don't insert a second `'s' in front
7514 of the string `value is shown below'. Since the syntax-table is
7515 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7516 an existing `'s', so that this won't be deleted.
7518 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7519 * pcmpl-unix.el: New files.
7521 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
7523 * wid-edit.el (widget-member): Use the new plist-member.
7525 2000-06-26 Gerd Moellmann <gerd@gnu.org>
7527 * replace.el (perform-replace): Undo change of 2000-04-04.
7528 Instead, move backward 1 character at the end of the loop when
7531 * faces.el (fringe): Change face for different backgrounds.
7533 * eshell/esh-module.el (toplevel): Load defgroup's differently;
7536 * eshell/*.el: Change spelling of the Free Software Foundation.
7538 * eshell/esh-toggle.el: Removed.
7540 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7542 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7545 2000-06-26 Alex Schroeder <alex@gnu.org>
7547 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7548 `define-key'; instead of checking `(emacs-version)' check for
7549 `set-keymap-parent' and `set-keymap-name' directly. Add entries
7550 for `;' and `o' which might be electric.
7552 (sql-electric-stuff): New user option.
7553 (sql-magic-go): New function which uses `sql-electric-stuff'.
7554 (sql-magic-semicolon): New function which uses
7555 `sql-electric-stuff'.
7557 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7560 (sql-oracle-options): New variable.
7561 (sql-oracle): Use it.
7563 (sql-imenu-generic-expression): Doc change.
7564 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7567 (sql-informix): Added command line parameter "-" to force
7568 sql-informix-program to use stdout.
7570 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
7572 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7573 (cp864-decode-table): Doc fix.
7574 (cp720-decode-table): New variable, supports the Arabic OEM
7575 codepage used by Windows.
7576 (cp737-decode-table): New, Greek OEM codepage used by Windows.
7578 2000-06-23 Dave Love <fx@gnu.org>
7580 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7581 (font-lock-fontify-anchored-keywords): Use
7582 line-beginning-position.
7583 (global-font-lock-mode): Use mapc.
7585 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
7587 * eshell/esh-module.el: Require CL when compiling.
7589 2000-06-23 Gerd Moellmann <gerd@gnu.org>
7591 * comint.el (comint-substitute-in-file-name): Call replace-match
7592 with second and third arg t.
7594 * cus-edit.el (custom-button-face, custom-button-pressed-face):
7595 Specify foreground color.
7597 * faces.el (tool-bar, mode-line, header-line): Specify foreground
7600 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
7602 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
7603 cddr instead of cdddr.
7605 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
7606 instead of copy-list.
7608 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
7611 * subdirs.el: Add eshell subdirectory.
7613 * eshell: New subdirectory containing the Eshell package.
7615 * pcomplete.el: New file.
7617 2000-06-23 Paul Eggert <eggert@twinsun.com>
7619 * mail/mailpost.el (post-mail-send-it): Make sure file has
7620 proper permissions from birth.
7622 * files.el (basic-save-buffer-2): When temporarily setting
7623 file modes, set them to current modes plus 0200, not to 0777.
7625 * emerge.el (emerge-make-temp-file): Make sure file has proper
7626 permissions from birth.
7628 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
7630 * files.el (make-backup-file-name-1): On DOS/Windows, run the
7631 backup file name through convert-standard-filename.
7633 * dos-fns.el (convert-standard-filename): Convert leading
7634 directories as well. When long file names are supported, convert
7635 characters that are invalid in Windows file names.
7637 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7639 * ps-print.el: Fix bug: if ^L is the very first buffer character,
7640 ps-print crashes. New feature: page selection for printing. Create
7641 raw-text-unix coding system for XEmacs. Doc fix.
7642 (ps-print-version): New version number (5.2.3).
7643 (ps-plot-region): Bug fix.
7644 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
7645 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
7646 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
7648 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
7649 (ps-last-page): New vars.
7651 2000-06-21 Gerd Moellmann <gerd@gnu.org>
7653 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
7654 empty option string.
7656 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
7658 * man.el (man): Doc fix.
7660 2000-06-21 Kenichi Handa <handa@etl.go.jp>
7662 * international/mule-cmds.el (set-language-info-alist): Docstring
7665 2000-06-20 Gerd Moellmann <gerd@gnu.org>
7667 * version.el (emacs-version): Use ISO date format.
7669 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
7670 instead of `M-backspace'.
7672 * simple.el (turn-off-auto-fill): New function.
7674 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
7676 * jit-lock.el (with-buffer-prepared-for-jit-lock):
7677 Renamed from with-buffer-prepared-for-font-lock and use
7678 inhibit-modification-hooks rather than setting *-change-functions.
7679 Update all functions to use the new name.
7680 (jit-lock-first-unfontify-pos): New semantics (and doc).
7681 (jit-lock-mode): Make non-interactive.
7682 Don't automatically turn on font-lock.
7683 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
7684 Always use jit-lock-after-change.
7685 Remove and restore font-lock-after-change-function.
7686 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
7687 (jit-lock-after-unfontify-buffer): Remove.
7688 (jit-lock-stealth-fontify):
7689 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
7690 (jit-lock-after-change): Set the `fontified' text-prop to nil.
7692 2000-06-20 Sam Steingold <sds@gnu.org>
7694 * emacs-lisp/cl-indent.el (toplevel): Indent
7695 `print-unreadable-object' properly. Untabify.
7697 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7699 * textmodes/reftex.el (reftex-find-citation-regexp-format):
7700 Support for bibentry.
7701 (reftex-compile-variables): Fixed problem with end of section-re.
7703 * texmodes/reftex-dcr.el (reftex-view-crossref,
7704 reftex-view-crossref-from-bibtex):
7705 Deal with changed `reftex-find-citation-regexp-format'.
7706 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
7707 Replaced `remprop' with `put'.
7708 (reftex-view-crossref, reftex-view-crossref-when-idle):
7709 Support for bibentry.
7711 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
7712 New entry for bibentry package.
7714 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
7715 Regexp also matches "\nobibliography".
7717 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
7718 Call `reftex-ensure-write-access' before doing anything.
7719 (reftex-ensure-write-access): New function.
7721 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7723 * progmodes/idlwave.el: File re-installed (update to version 4.2)
7725 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
7727 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
7729 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
7732 2000-06-20 Dave Love <fx@gnu.org>
7734 * faces.el (frame-background-mode): Use set-default, not set, in
7736 (frame-update-faces, frame-update-face-colors): Define with
7739 * enriched.el (enriched-decode-foreground)
7740 (enriched-decode-background): Don't use internal-find-face.
7742 * apropos.el: Doc fixes.
7744 * cus-edit.el (customize-changed-options): Check arg.
7745 (customize-version-lessp): Don't require decimal point.
7747 * custom.el (defcustom, defgroup): Doc fix.
7749 * newcomment.el (comment) <defgroup>: Add :version.
7750 (comment-multi-line): Doc fix.
7752 * emulation/mlsupport.el (define-hooked-local-abbrev,
7753 define-hooked-global-abbrev): Fix, using define-abbrev.
7755 2000-06-19 Gerd Moellmann <gerd@gnu.org>
7757 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
7760 2000-06-19 Dave Love <fx@gnu.org>
7762 * menu-bar.el (menu-bar-options-save): New function.
7763 (menu-bar-options-menu): Use it.
7764 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
7767 2000-06-19 Andreas Schwab <schwab@suse.de>
7769 * progmodes/etags.el (tags-query-replace): Put new parameters
7770 START and END at the end, for backward compatibility.
7772 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7774 * international/codepage.el:
7775 (cp-coding-system-for-codepage-1): Delete special codes for
7776 generating xxx-dos coding system because now a CCL based coding
7777 system can handle EOL conversion by default.
7779 * international/mule.el (make-coding-system): Generate subsidiary
7780 coding systems for EOL handling variants even for a CCL based
7783 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7785 * international/isearch-x.el (isearch-minibuffer-input-method)
7786 (isearch-minibuffer-input-method-function): These variables
7788 (isearch-with-input-method): Don't use the above variables.
7789 (isearch-process-search-multibyte-characters): Likewise. Call
7790 read-string with the arg INHERIT-INPUT-METHOD t.
7792 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
7794 * font-lock.el (font-lock-after-fontify-buffer)
7795 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
7797 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
7798 Use consistent make-local-variable style for font-lock-fontified.
7799 (jit-lock-fontify-buffer):
7800 Don't bother checking for font-lock-mode and jit-lock-mode.
7802 * time.el: Remove trailing ^M that prevent CVS-merging.
7804 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7806 * Makefile.in (distclean): New target.
7808 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
7810 * Makefile.in (srcdir): Define for update-subdirs.
7812 2000-06-16 Gerd Moellmann <gerd@gnu.org>
7814 * find-lisp.el: New file.
7816 2000-06-16 Andrew Innes <andrewi@gnu.org>
7818 * time.el (display-time-mail-function): New variable, to allow
7819 external packages to indicate when new mail is available.
7820 (display-time-update): Use it.
7822 2000-06-16 Kenichi Handa <handa@etl.go.jp>
7824 * international/mule.el (mule-version): Change version name to
7825 SAKAKI. AOI has already been used by Meadow.
7827 * international/quail.el (quail-show-guidance-buf): To find the
7828 bottom window (but minibuffer), pay attention to the height of
7831 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
7833 * arc-mode.el (archive-mode-map): Use the new menu-item format for
7834 menu-bar menus. Add help strings. Don't remove the Edit menu
7835 from the menu bar, as the menu bar has enough space now.
7837 * Makefile.in (SHELL): Make sure /bin/sh is used.
7839 * woman.el (woman-man-buffer): Fix bold and underlined CJK
7840 characters, which use series of two ^H characters instead of one.
7842 2000-06-15 Gerd Moellmann <gerd@gnu.org>
7844 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
7845 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
7847 (Info-find-node-2): Try a case-sensitive search first, then
7848 do a case-insensitive search.
7850 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
7853 * complete.el (PC-env-vars-alist): New variable.
7854 (PC-complete-as-file-name): New function.
7855 (partial-completion-mode): Initialize PC-env-vars-alist from
7856 process-environment.
7857 (PC-do-completion): Handle completion of env vars.
7859 * info.el (Info-set-mode-line): Show file name in mode line,
7860 use `*Info*' instead of `Info:'.
7862 * startup.el (command-line-1): Change copyright messages to year
7865 2000-06-15 Dave Love <fx@gnu.org>
7867 * net/goto-addr.el (goto-address-fontify): Use keymap property,
7870 2000-06-15 Kenichi Handa <handa@etl.go.jp>
7872 * international/mule.el (set-buffer-file-coding-system): Almost
7873 rewritten to handle `undecided' as no-op.
7875 2000-06-14 Gerd Moellmann <gerd@gnu.org>
7877 * Makefile.in: New file.
7879 * Makefile: Removed.
7881 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
7882 (goto-address-highlight-keymap): Bind C-c RET.
7884 2000-06-14 Kenichi Handa <handa@etl.go.jp>
7886 * mail/sendmail.el (sendmail-send-it): The temporary buffer
7887 inherits buffer-file-coding-system of the current buffer.
7889 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
7890 0. Give correct argument to set-auto-coding-function.
7891 (tar-expunge): For goto-char, use (point-min), not 0.
7892 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
7893 (tar-subfile-save-buffer): Likewize.
7895 * international/mule.el
7896 (after-insert-file-set-buffer-file-coding-system): Call
7897 set-buffer-file-coding-system with the arg FORCE t.
7899 2000-06-13 Gerd Moellmann <gerd@gnu.org>
7901 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
7902 nil. Contemporary sendmails issue an X-Authentication-Warning if
7903 the sender is set with `-f'.
7905 2000-06-13 Dave Love <fx@gnu.org>
7907 * help.el (describe-function-1): Kluge around cases of functions
7908 fset to subrs whose doc doesn't match their symbol-name.
7910 * image.el (insert-image): Default STRING to a space.
7912 * info.el Doc fixes.
7913 (Info-build-node-completions): Match Ref tags.
7915 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
7917 * frame.el (display-multi-frame-p, display-multi-font-p): New
7918 defaliases for display-graphic-p.
7920 * hl-line.el: Fixed a typo in commentary.
7922 2000-06-13 Kenichi Handa <handa@etl.go.jp>
7924 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
7927 2000-06-12 Dave Love <fx@gnu.org>
7929 * image.el (insert-image): Save a little consing.
7931 2000-06-12 Kenichi Handa <handa@etl.go.jp>
7933 * language/tibet-util.el: Convert all tibetan-1-column characters
7934 to the corresponding tibetan characters.
7935 (tibetan-add-components): Delete code for the special treatment of
7938 * language/tibetan.el (tibetan-composable-pattern): Fix previous
7940 (tibetan-vowel-transcription-alist): More rules added.
7941 (tibetan-composite-vowel-alist): New variable.
7942 (tibetan-precomposition-rule-alist): More rules added.
7944 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
7946 * startup.el (command-line): Only call menu-bar-mode if interactive.
7948 * thingatpt.el (toplevel symbol-properties):
7949 * textmodes/makeinfo.el (makeinfo-compile):
7950 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
7951 * progmodes/hideif.el (hif-compress-define-list)
7952 (hide-ifdef-use-define-alist):
7953 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
7954 (ange-ftp-vms-add-file-entry):
7955 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
7956 * man.el (Man-build-man-command):
7957 * mail/rnewspost.el (news-reply-header-hook):
7958 * info.el (Info-insert-dir):
7959 * emulation/mlconvert.el (backward-word, forward-word, setq):
7960 * emacs-lisp/gulp.el (gulp-send-requests):
7961 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
7962 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
7963 (byte-optimize-apply, end of file):
7964 * emacs-lisp/advice.el (ad-advice-class-completion-table)
7965 (ad-make-freeze-definition):
7966 * startup.el (command-line, command-line-1): Don't quote lambdas.
7968 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
7969 (cvs-cleanup-removed): New function.
7970 (cvs-cleanup-functions): New var.
7971 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
7972 some flexibility in specifying additional entries to auto-cleanup.
7973 (cvs-quickdir): New function.
7974 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
7975 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
7976 (cvs-mode-find-file): Check that we are on a filename or dirname
7977 when invoked through a mouse-click.
7978 (cvs-full-path): Remove.
7979 (cvs-dired-action): Re-introduced.
7980 (cvs-dired-noselect): Use it.
7981 (vc-post-command-functions): use this new hook if available.
7983 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
7984 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
7985 (cvs-filename-map, cvs-dirname-map): Remove.
7986 (cvs-default-action): Remove.
7987 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
7988 if the arg is really a keymap.
7989 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
7990 Don't hardcode the mapping from state (aka type) to face, but check
7991 the var cvs-fi-<type>-face instead.
7992 (cvs-fileinfo-from-entries): New function.
7994 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
7996 (cvs-find-file-and-jump): Change default to be safer.
7997 (cvs-mode-diff-map): Define it as a function as well.
7998 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
7999 Bind mouse-2 in this global map rather than with text-properties.
8001 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
8002 file to resolve the ambiguity between C(conflict) and C(need-merge).
8004 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8006 * international/mule.el (set-buffer-file-coding-system): If
8007 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
8010 2000-06-12 Dave Love <fx@gnu.org>
8012 * wid-edit.el (widget-specify-button): Really suppress the face if
8015 2000-06-11 Gerd Moellmann <gerd@gnu.org>
8017 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
8019 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
8021 * imenu.el (imenu-generic-expression): Docstring fix.
8023 * composite.el (composition-function-table): Move the `put'
8024 below the autoload cookie so we can load the file before loaddefs.
8026 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
8028 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
8029 Handle easy-mmode-define-global-mode.
8030 For complex macros like define-minor-mode that can generate
8031 several autoload entries, try to autoload entries in the
8034 * emacs-lisp/easy-mmode.el (define-minor-mode):
8035 If KEYMAP is a symbol, just use it.
8036 Use byte-compile-current-file and load-file-name to infer the
8037 proper :require to pass to defcustom.
8038 Wrap the hook var into `progn' so as not to autoload it.
8039 Add a :autoload-end cookie.
8040 Be more careful about the evaluation of KEYMAP.
8041 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
8042 (define-derived-mode): Move define-abbrev-table outside of defvar.
8044 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
8046 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
8047 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
8048 (backup-compiled-files): Ignore errors during `tar'.
8049 (bootstrap): Make autoloads before elc files.
8051 2000-06-10 Kenichi Handa <handa@etl.go.jp>
8053 * international/mule.el (set-buffer-file-coding-system): If one of
8054 undecided-XXX is specified, change only EOL conversion.
8056 * international/mule-conf.el (unix): New alias for the coding
8057 system undecided-unix.
8059 2000-06-09 Dave Love <fx@gnu.org>
8061 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
8063 * progmodes/executable.el: Byte compile dynamic.
8064 (executable-insert): Change custom type.
8065 (executable-find): Add autoload cookie.
8066 (executable-make-buffer-file-executable-if-script-p): New
8067 function. After Noah Friedman.
8069 * files.el (after-save-hook): Customize, with
8070 executable-make-buffer-file-executable-if-script-p as an option.
8072 2000-06-09 Kenichi Handa <handa@etl.go.jp>
8074 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
8075 "tib24p-mule.bdf" for Tibetan.
8077 * composite.el (decompose-composite-char): Declare it as obsolete.
8079 * man.el (Man-fontify-manpage): Pay attention to underline and
8080 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
8082 2000-06-08 Gerd Moellmann <gerd@gnu.org>
8084 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
8085 Set maintainer to FSF since author isn't reachable.
8087 2000-06-08 Dave Love <fx@gnu.org>
8089 * international/mule-cmds.el (select-safe-coding-system): If
8090 DEFAULT-CODING-SYSTEM is not specified, also check the most
8091 preferred coding-system if buffer-file-coding-system is
8092 `undecided'. From Handa.
8094 2000-06-08 Kenichi Handa <handa@etl.go.jp>
8096 * international/mule.el
8097 (after-insert-file-set-buffer-file-coding-system): If the buffer
8098 size is greater than INSERTED, judget that we are not visiting.
8100 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
8102 * whitespace.el (defgroup whitespace): Comment out `:version'.
8103 XEmacs 20.4 has problems defining the group with this present.
8104 We'll have this commented out till get resolve the problem.
8106 2000-06-07 Gerd Moellmann <gerd@gnu.org>
8108 * align.el: Update from author.
8110 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
8112 * apropos.el (apropos-mode-hook): New user variable.
8113 (apropos-mode): Run apropos-mode-hook.
8115 2000-06-07 David Ponce <david@dponce.com>
8117 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
8118 commands. Require `wid-edit' at run-time.
8120 2000-06-07 David Ponce <david@dponce.com>
8122 * recentf.el: Added some "Commentary".
8123 (recentf-open-more-files, recentf-edit-list): Minor changes to
8124 move the point at the top of the file list. This behaviour is
8125 consistent with the menu one when the list contains a lot of
8127 (recentf-cleanup): Now displays the number of items removed from
8129 (recentf-relative-filter) New menu filter to show filenames
8130 relative to `default-directory'.
8132 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8134 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
8135 with/without giving an error if PostScript printer doesn't have this
8136 kind of page size. Zebra Stripe continues or restarts on next page.
8137 Manual/automatic paper feeding. Switch or not the header.
8138 (ps-print-version): New version number (5.2.2).
8139 (ps-windows-system): Include emx as a Windows system.
8140 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
8141 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
8142 (ps-background-text): Code fix.
8143 (ps-error-handler-message, ps-user-defined-prologue)
8144 (ps-print-prologue-header, ps-printer-name)
8145 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
8146 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
8147 (ps-use-face-background): Customization fix.
8148 (ps-n-up-database): Data fix.
8149 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
8150 (ps-switch-header): New vars.
8151 (ps-xemacs-color-name, ps-face-foreground-name)
8152 (ps-face-background-name, ps-boolean-constant): New funs.
8154 2000-06-07 Dave Love <fx@gnu.org>
8156 * allout.el: New version from Manheimer.
8158 2000-06-07 Kenichi Handa <handa@etl.go.jp>
8160 * textmodes/fill.el (fill-find-break-point): Check the validity of
8163 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8165 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
8166 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
8167 Call display-color-p and display-mouse-p instead of looking at
8170 2000-06-06 Dave Love <fx@gnu.org>
8172 * image.el (find-image): Doc fix. Return nil if image not found.
8173 (put-image, insert-image): Make STRING arg optional.
8175 2000-06-06 Kenichi Handa <handa@etl.go.jp>
8177 * language/vietnamese.el: Remove eval-when-compile.
8178 (viet-viscii-nonascii-translation-table): Define it as a
8179 translation table made from viet-viscii-decode-table.
8180 (viet-viscii-encode-table): Define it as a translation table made
8181 from the reverse map of above.
8182 (viet-vscii-nonascii-translation-table): Define it as a
8183 translation table made from viet-vscii-decode-table.
8184 (viet-vscii-encode-table): Define it as a translation table made
8185 from the reverse map of above.
8186 (ccl-decode-viscii): Use translate-character.
8187 (ccl-encode-viscii, ccl-encode-viscii-font)
8188 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
8191 * language/cyrillic.el: Remove eval-when-compile.
8192 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
8193 translation table made from cyrillic-koi8-r-decode-table.
8194 (cyrillic-koi8-r-encode-table): Define it as a translation table
8195 made from the reverse map of above.
8196 (ccl-decode-koi8): Use translate-character.
8197 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
8198 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
8199 a translation table made from cyrillic-alternativnyj-decode-table.
8200 (cyrillic-alternativnyj-encode-table): Define it as a translation
8201 table made from the reverse map of above.
8202 (ccl-decode-alternativnyj): Use translate-character.
8203 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
8206 * international/mule-diag.el (non-iso-charset-alist): Specify
8207 translation table symbol instead of translation table itself.
8208 (list-block-of-chars): CHARSET may be a translation table symbol.
8210 * international/mule.el (make-coding-system): If CODING-SYSTEM
8211 already exists, override it.
8213 * international/fontset.el: Use family `proportional' for Tibetan
8216 * international/ccl.el (ccl-compile-translate-character): Don't
8217 check if Rrr has property translation-table.
8218 (ccl-compile-map-multiple): Modified to avoid compiler warning.
8220 2000-06-05 Gerd Moellmann <gerd@gnu.org>
8222 * info.el: Bind case-fold-search to t when searching in case
8223 a user sets it to nil in a hook.
8225 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
8227 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8228 * hl-line.el (hl-line-mode): Use the new :global key argument.
8230 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
8231 (tar-clip-time-string): Prepend a space.
8232 (tar-grind-file-mode): Construct a string rather than modifying one.
8233 (tar-header-block-summarize): Fix docstring.
8234 Use `format' rather than an error-prone set of copy-loops.
8236 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8237 (diff-goto-source, diff-unified->context, diff-context->unified)
8238 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8239 understand the format output by the `-p' argument to diff.
8241 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8242 (sh-re-done): Use defconst.
8243 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8244 (sh-help-string-for-variable, sh-guess-basic-offset):
8245 Don't quote lambdas.
8246 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8247 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8249 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8250 (mh-letter-mode): Derive from text-mode.
8251 This implicitly means that it now calls kill-all-local-variables.
8252 Also remove the Emacs-18 compatibility code.
8254 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8255 Make use of symbol-property doc-string-elt.
8256 Use memq rather than a sequence of eq.
8257 (doc-string-elt): Fix the wrong or missing previously unused values.
8258 (autoload-print-form): New function extracted from
8259 generate-file-autoloads to allow recursion when handling progn
8260 so that defvar's and defun's docstrings are properly printed.
8261 (generate-file-autoloads): Use it.
8263 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8264 Use find-file-hooks in the minor-mode function.
8265 Be careful not to loop indefinitely in the post-command-hook function.
8267 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
8269 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8271 * ediff-diff.el (ediff-exec-process): Use --binary for fine
8272 differences whenever appropriate.
8273 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8274 * viper.el (find-file, find-file-other-window): Get viper to do
8277 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
8279 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8280 (jit-lock-fontify-buffer): New function for JIT refontification.
8281 (jit-lock-mode): Fix docstring.
8282 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8283 Remove jit-lock-after-change from the _local_ hook.
8284 (jit-lock-function-1): Fix docstring.
8286 * info.el (Info-on-current-buffer): Initialize info.
8288 * newcomment.el (comment-indent): Ignore comment-indent-hook.
8290 * progmodes/tcl.el (tcl-indent-for-comment):
8291 Ignore comment-indent-hook.
8293 * emacs-lisp/easy-mmode.el: Require CL during compilation.
8294 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8295 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8296 and improve to use the lighter to guess the capitalization.
8297 (define-minor-mode): Inline code from easy-mmode-define-toggle.
8298 Add keyword arguments to specify global-ness or the custom group.
8299 Add local-map and help-echo properties to the lighter.
8300 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8301 (easy-mmode-define-global-mode): New macro.
8303 2000-06-02 Dave Love <fx@gnu.org>
8305 * wid-edit.el: byte-compile-dynamic since we typically don't use
8306 all the widgets. Don't require cl or widget. Remove
8307 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
8308 (widget-read-event): Removed. Callers changed to use read-event.
8309 (widget-button-release-event-p): Renamed from
8310 button-release-event-p.
8311 (widget-field-add-space, widget-field-use-before-change):
8313 (widget-specify-field): Use keymap property, not local-map.
8314 (widget-specify-button): Obey :suppress-face.
8315 (widget-specify-insert): Use modern backquote syntax.
8316 (widget-image-directory): Renamed from widget-glyph-directory.
8317 (widget-image-enable): Renamed from widget-glyph-enable.
8318 (widget-image-find): Replaces widget-glyph-find.
8319 (widget-button-pressed-face): Move defvar.
8320 (widget-image-insert): Replaces widget-glyph-insert.
8321 (widget-convert): Use keywordp.
8322 (widget-leave-text, widget-children-value-delete): Use mapc.
8323 (widget-keymap): Remove XEmacs stuff.
8324 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8325 (widget-button-click): Don't set point at the click, but re-centre
8326 if we scroll out of window. Rewritten for images v. glyphs &c.
8327 (widget-tabable-at): Use POS arg, not point.
8328 (widget-beginning-of-line, widget-end-of-line)
8329 (widget-item-value-create, widget-sublist, widget-princ-to-string)
8330 (widget-sexp-prompt-value, widget-echo-help): Simplify.
8331 (widget-default-create): Use widget-image-insert; some rewriting.
8332 (widget-visibility-value-create)
8333 (widget-push-button-value-create, widget-toggle-value-create): Use
8334 widget-image-insert.
8335 (checkbox): Create on and off images dynamically.
8336 (documentation-link): Change :help-echo.
8337 (widget-documentation-link-echo-help): Remove.
8339 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
8341 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8343 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8344 (easy-mmode-define-toggle, define-minor-mode): Use it.
8345 (easy-mmode-define-keymap): Docstring fix.
8346 (define-derived-mode): Default PARENT to fundamental-mode.
8347 Add the derived-mode-parent symbol-property.
8348 (easy-mmode-derived-mode-p): New function.
8350 2000-06-02 Dave Love <fx@gnu.org>
8352 * files.el (convert-standard-filename): Doc fix.
8353 (normal-backup-enable-predicate): New function.
8354 (backup-enable-predicate): Use it to replace the lambda form.
8356 * calendar/todo-mode.el: [This needs more work on the outline
8358 (todo) <defgroup>: Add :version.
8359 (todo-add-category): Don't use pushnew.
8360 (todo-cmd-raise): Fix typo.
8361 (todo-top-priorities): Change temp buffer name.
8362 (todo-category-alist): Avoid redundant lambda.
8363 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8364 Use outline-next-heading.
8366 * autoarg.el: Rewritten to use define-minor-mode.
8367 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8368 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8370 2000-06-02 Kenichi Handa <handa@etl.go.jp>
8372 * isearch.el (isearch-other-meta-char): Fix previous change.
8374 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8376 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8377 (log-edit-done): Only add the comment to the ring if it's different
8378 from the last comment entered.
8380 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8382 2000-06-01 Dave Love <fx@gnu.org>
8384 * hl-line.el: Rewritten using define-minor-mode.
8386 * help.el (describe-function-1): Distinguish special form from
8387 builtin function. Sanity-check presence of arglist for builtins.
8389 2000-06-01 Kenichi Handa <handa@etl.go.jp>
8391 * international/characters.el: Fix syntax/category setting of
8394 * language/tibet-util.el (tibetan-add-components): Fixes for new
8395 encoding of Tibetan characters.
8396 (tibetan-decompose-precomposition-alist): New variable.
8397 (tibetan-decompose-region): Convert precomposed characters to
8398 non-precomposed characters.
8399 (tibetan-decompose-string): Likewise.
8400 (tibetan-composition-function): Fix args to
8401 thibetan-compose-string.
8403 * language/tibetan.el (tibetan-composable-pattern): More
8404 characters included.
8405 (tibetan-consonant-transcription-alist): Rule for "R" added.
8406 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8408 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8410 * language/lao-util.el (lao-composition-function): Fix args to
8413 * language/thai-util.el (thai-composition-function): Fix args to
8416 * isearch.el (isearch-update): Set disable-point-adjustment to t
8417 to prevent the point moving to the end of a composition when a
8418 part of a composition is searched.
8419 (isearch-other-meta-char): If the key invoking this command can be
8420 mapped by function-key-map to a printing char, call
8421 isearch-process-search-char directly.
8423 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8425 * emacs-lisp/bytecomp.el:
8427 * international/mule-cmds.el:
8428 * international/mule-util.el:
8429 * international/mule.el:
8432 * faces.el: Update calls to make-obsolete with a WHEN argument.
8434 * byte-run.el (make-obsolete, make-obsolete-variable):
8435 Add an optional WHEN argument and change the format of the
8436 symbol-property information.
8437 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8438 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8439 new obsolete-symbol-property format and print WHEN if it is provided.
8441 2000-05-31 Dave Love <fx@gnu.org>
8443 * loadhist.el (loadhist-hook-functions): Remove
8444 before-change-function, after-change-function.
8445 (unload-feature): Deal with symbols which are both bound and
8448 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8449 before-change-function, after-change-function.
8451 * simple.el (newline): Don't bind before-change-function,
8452 after-change-function.
8454 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
8456 * whitespace.el (whitespace-rescan-timer-time): Update interval
8457 set to 600 seconds (10 minutes) instead of 60 seconds since
8458 a large number of whitespace buffers causes emacs to `freeze'
8459 for a considerable amount of time.
8461 * whitespace.el: Updated email address
8463 2000-05-31 Dave Love <fx@gnu.org>
8465 * add-log.el (change-log-font-lock-keywords) <function>: Add
8466 pattern for function of change.
8467 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8468 acknowledgements patterns.
8470 2000-05-31 Kenichi Handa <handa@etl.go.jp>
8472 * isearch.el (isearch-printing-char): If keyboard coding system is
8473 being used, call isearch-process-search-multibyte-characters.
8475 * international/isearch-x.el: Mostly rewritten.
8477 * international/quail.el (quail-start-conversion): Don't include
8478 unhandled events in the returned events, but set them in
8479 unread-command-events. Exit if all inputs are deleted.
8481 2000-05-30 Jason Rumney <jasonr@gnu.org>
8483 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8485 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8486 Reenable code to create initial fontsets.
8487 Use set-fontset-font in place of put-charset-property.
8489 2000-05-30 Gerd Moellmann <gerd@gnu.org>
8491 * progmodes/perl-mode.el (perl-indent-line): When looking for a
8492 label, ensure that the first colon isn't followed by another.
8494 * paths.el (Info-default-directory-list): Doc fix.
8496 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8497 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8498 send a query containing USER only, not USER@HOST.
8500 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8501 and rmail-msgend to compute the restriction at the end, instead of
8504 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8506 * dabbrev.el (dabbrev-expand): Don't display messages in the
8507 echo area if the minibuffer window is active.
8509 * jit-lock.el (jit-lock-mode): Add after change function to
8512 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
8514 * antlr-mode.el: New commands: hide/unhide actions,
8515 upcase/downcase literals.
8516 (antlr-tiny-action-length): New user option.
8517 (antlr-hide-actions): New command. Suggested by
8518 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8519 (antlr-mode-map): New binding [C-c C-v].
8520 (antlr-mode-menu): New entries.
8521 (antlr-downcase-literals): New command.
8522 (antlr-upcase-literals): Ditto.
8524 * antlr-mode.el: Minor changes: indendation, mode-name.
8525 (antlr-indent-line): Indent cpp directive at column 0.
8526 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8528 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8529 (antlr-font-lock-additional-keywords): Workaround for intentional
8530 bug in XEmacs version of font-lock.
8531 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
8532 be used by a smarter version of `buffers-menu-grouping-function'.
8534 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8536 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8537 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8539 2000-05-29 Kenichi Handa <handa@etl.go.jp>
8541 * international/encoded-kb.el
8542 (encoded-kbd-iso2022-designation-map): Pay attention to that
8543 charset-iso-final-char return -1 for eight-bit-control and
8546 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8548 * speedbar.el (speedbar-use-images, speedbar-update-flag)
8549 (speedbar-easymenu-definition-base): Use display-graphic-p where
8550 available, instead of window-system.
8552 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8554 * international/codepage.el (cp-coding-system-for-codepage-1): Add
8555 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8558 2000-05-26 Dave Love <fx@gnu.org>
8560 * disp-table.el (standard-display-underline): Don't use
8563 * mail/reporter.el: Maintainer change. Doc fixes.
8564 (reporter-version): Deleted.
8566 * emacs-lisp/elp.el: Maintainer change.
8567 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8569 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
8571 * add-log.el (add-change-log-entry): Merge the current entry with the
8572 previous one if the previous one is empty.
8574 2000-05-26 Dave Love <fx@gnu.org>
8576 * loadhist.el (unload-feature): Fix interactive spec [from
8577 lijnzaad@ebi.ac.uk].
8579 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8580 subr-arity to check primitives.
8581 (byte-compile-flush-pending, byte-compile-file-form-progn)
8582 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8583 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8586 2000-05-26 Kenichi Handa <handa@etl.go.jp>
8588 * international/fontset.el: Set family names of non-latin charsets
8589 in default fontset to "*".
8591 * international/mule-diag.el (print-fontset): Combine family part
8592 and registry part of the fontname by "-*-" instead of "-".
8594 * international/mule-cmds.el (encode-coding-char): Make strings
8595 multibyte before calling encode-coding-string.
8597 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
8599 * derived.el: Fix keywords.
8600 (define-derived-mode): Only define if needed.
8602 * simple.el (fill-comment, comment-column, comment-start)
8603 (comment-start-skip, comment-end, comment-indent-function)
8604 (block-comment-start, block-comment-end, indent-for-comment)
8605 (set-comment-column, kill-comment, comment-padding, comment-region)
8606 (comment-multi-line, indent-new-comment-line): Remove.
8608 * bindings.el (esc-map): Change ; to comment-dwim and use the new
8609 function names for comment operations.
8611 * newcomment.el: Add abundant autoload cookies.
8612 (comment-style): Don't depend on runtime data at compile-time.
8613 (comment-indent-hook): Remove.
8614 (comment-indent): Check if comment-indent-hook is bound.
8615 (comment-region): Docstring fix.
8617 2000-05-25 Dave Love <fx@gnu.org>
8619 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
8620 byte-code-function-p.
8622 * mail/rmailsum.el: Add provide.
8624 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
8626 * smerge-mode.el (smerge-diff-switches): Don't use list* in
8629 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
8631 * ediff-diff.el (ediff-exec-process): delete --binary option from
8632 non-buffer ediff jobs.
8634 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8636 * hilit-chg.el (highlight-changes-mode): Ask about color or
8637 grayscale support, not about window-system.
8639 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
8641 (ffap-highlight): Always default to t.
8643 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
8644 display-popup-menus-p instead of looking at window-system.
8646 * disp-table.el (standard-display-g1, standard-display-graphic):
8647 Only refuse to use string glyphs on X and MS-Windows.
8649 * avoid.el: Remove window-system from commentary, suggest to use
8650 display-*-p instead.
8652 * apropos.el (apropos-print): Use display-mouse-p instead of
8655 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8657 * international/codepage.el (cp-decoding-vector-for-codepage):
8658 Fill up unsupported characters with their own codes. From Kenichi
8661 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8663 * international/mule-diag.el (describe-char-after): Use
8664 display-graphic-p instead of window-system, so that this function
8667 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8669 * international/codepage.el (cp-make-coding-systems-for-codepage):
8670 Remove the eight-bit-graphic and eight-bit-control charsets from
8671 the list of charsets which we convert into `?'.
8673 2000-05-25 Kenichi Handa <handa@etl.go.jp>
8675 * international/mule-conf.el: Specify CHARSET-ID explicitely for
8677 (mule-unicode-0100-24ff, japanese-jisx0213-1,
8678 japanese-jisx0213-2): New charsets.
8680 * international/fontset.el: Setup default fontset for new charsets.
8682 2000-05-24 Dave Love <fx@gnu.org>
8684 * info.el (Info-find-node-2): Restructure [following "Vadim
8685 S. Solomin" <sovs@uic.nnov.ru>].
8687 * icomplete.el: Fix header for Finder.
8689 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
8691 * rmailout.el (rmail-output-to-rmail-file): Added optional param
8694 * rmail.el (rmail-automatic-folder-directives): New user variable.
8695 (rmail-show-message): Add call to `rmail-auto-file' during
8697 (rmail-auto-file): New function.
8699 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8701 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
8703 (ediff-test-utility,ediff-diff-mandatory-option)
8704 (ediff-reset-diff-options): Utilities for proper initialization of
8705 ediff-diff-options and ediff-diff3-options on Windows.
8707 * ediff-init.el (ediff-merge-filename-prefix): New customizable
8710 * ediff-mult.el (ediff-filegroup-action): Use
8711 ediff-merge-filename-prefix.
8713 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8715 * viper-ex.el (ex-write): Set selective display to nil.
8717 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8719 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
8720 aliases for hebrew-iso-8bit.
8722 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8724 * woman.el: New version from Francis J. Wright
8725 <F.J.Wright@Maths.QMW.ac.uk>.
8726 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
8727 names in environment variables regardless of the path separator.
8728 (woman-topic-all-completions-1): Don't call file-name-directory-p
8729 on all files, since woman-file-regexp already filters out any
8732 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8734 * international/quail.el (quail-start-translation): Don't change
8735 modified-p of the current buffer.
8736 (quail-start-conversion): Likewise.
8738 * international/kkc.el (kkc-region): Don't change modified-p of
8741 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
8743 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
8745 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
8747 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
8748 (speedbar-insert-button): Invisible text property fix.
8749 (speedbar-directory-plus): Renamed from speedbar-directory-+
8750 (speedbar-directory-minus): Renamed from speedbar-directory--
8751 (speedbar-page-plus): Renamed from speedbar-file-+
8752 (speedbar-page-minus): Renamed from speedbar-file--
8753 (speedbar-page): Renamed from speedbar-file-
8754 (speedbar-tag): Renamed from speedbar-tag-
8755 (speedbar-tag-plus): Renamed from speedbar-tag-+
8756 (speedbar-tag-minus): Renamed from speedbar-tag--
8757 (speedbar-expand-image-button-alist): Use above renames.
8759 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
8760 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
8761 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
8762 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
8763 * sb-pg.xpm: Renamed from sb-file.xpm
8764 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
8765 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
8767 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8769 * international/quail.el (quail-show-guidance-buf): Set
8770 current-input-method of the guidance buffer to the name of the
8771 curren input method.
8773 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
8775 * progmodes/compile.el (compile-internal): Style typo.
8777 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
8778 quote vars and functions in the docstring.
8780 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
8782 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
8783 Don't quote lambdas.
8785 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
8787 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8789 * startup.el (command-line): Determine source file of compiled
8790 user init file differently. Warn if compiled user init file
8791 is older than its source file.
8793 * ffap.el (ffap-url-regexp): Add `https'.
8795 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
8797 * files.el (make-backup-file-name-1): Replace slashes with `!'
8798 rather than `|' (which is not allowed on Windows). Replace the
8799 drive letters with a string "drive_X".
8801 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8803 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
8805 * files.el (interpreter-mode-alist): Add `bash2'.
8807 2000-05-22 Dave Love <fx@gnu.org>
8809 * loadhist.el (feature-symbols, file-provides, file-requires): Use
8811 (feature-file): Avoid calling symbol-name. Doc fix.
8812 (file-set-intersect, file-dependents): Use dolist, not mapcar.
8813 (loadhist-hook-functions): Add mouse-position-function.
8814 (unload-feature): Change uses of mapcar.
8816 * files.el (parse-colon-path): Doc fix.
8817 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
8818 (set-auto-mode): Use mapc.
8820 * complete.el (PC-look-for-include-file): Use :alnum: character
8822 (partial-completion-mode): Add autoload cookie.
8824 2000-05-22 Sam Steingold <sds@gnu.org>
8826 * info.el (Info-fontify-node): Fixed the call to
8827 `add-text-properties' (bug introduced on 2000-05-18).
8829 2000-05-22 Dave Love <fx@gnu.org>
8831 * bindings.el: Remove debug-ignored-errors set in other files.
8833 * progmodes/etags.el: Add to debug-ignored-errors.
8834 (visit-tags-table-buffer): Clear out buffers holding old tables
8835 when making a new list.
8836 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
8839 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
8841 (cmpl-string-case-type): Use character classes.
8844 * textmodes/ispell.el:
8847 * progmodes/compile.el: Add to debug-ignored-errors.
8849 * dabbrev.el: Add to debug-ignored-errors.
8850 (dabbrev-completion): Use mapc.
8852 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
8854 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
8855 (woman-mapcan, woman-parse-man.conf)
8856 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
8857 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
8858 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
8860 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
8861 (woman-manpath): Call woman-parse-man.conf.
8862 (woman-emulation): New defcustom, defaults to nroff.
8863 (woman-font-support): New defconst.
8864 (woman-use-symbol-font): New defcustom.
8865 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
8867 Many functions: Doc fix.
8869 2000-05-22 Kenichi Handa <handa@etl.go.jp>
8871 * international/quail.el (quail-simple-translation-keymap): Map
8872 128..255 to quail-self-insert-command.
8873 (quail-keyboard-layout-alist): Add definition for "pc102-de".
8875 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
8877 * help.el (help-manyarg-func-alist): Typo.
8879 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
8880 intervals which makes it heaps simpler.
8882 * newcomment.el (comment-region-internal): Go back to BEG after quoting
8883 the nested comment markers.
8885 * subr.el (remove-hook): Don't turn the hook's value into a list.
8887 2000-05-21 Dave Love <fx@gnu.org>
8889 * edmacro.el (edmacro-parse-keys): Return vector if any elements
8890 are invalid characters.
8892 * international/mule-util.el (detect-coding-with-priority): Use
8893 mapc. Remove redundant lambda.
8895 * international/mule-diag.el (list-non-iso-charset-chars)
8896 (describe-fontset): Remove redundant lambda.
8898 * emulation/crisp.el (brief-mode): New alias.
8900 * emacs-lisp/ring.el (ring-elements): New function.
8902 * emacs-lisp/easymenu.el (easy-menu-create-menu)
8903 (easy-menu-do-add-item): Use keywordp.
8905 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
8907 * replace.el: Doc and error message fixes.
8908 (replace-highlight): Use facep, not internal-find-face.
8910 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
8912 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
8914 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
8915 (log-edit-insert-changelog): Drop `:' as well.
8917 * log-view.el: Fix file description.
8918 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
8920 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
8921 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
8923 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
8924 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
8925 Print a status message if the toggle is called interactively.
8926 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
8927 for global minor modes and use `defcustom' for them.
8929 (easy-mmode-define-derived-mode): Remove.
8930 (define-derived-mode): Fancier default docstring.
8931 (easy-mmode-define-navigation): Signal an error rather than (ding).
8933 * newcomment.el (comment-styles): New `box-multi'.
8934 (comment-normalize-vars): Better default for comment-continue to
8935 avoid whitespace-only continuations.
8936 (comment-search-forward): Always move even in the no-syntax case.
8937 (comment-padright): Only obey N if it's only obeyed for padleft.
8938 (comment-make-extra-lines): Better handling of empty continuations.
8939 Use `=' for the filler if comment-start has only one character.
8940 (uncomment-region): Try handling the special `=' filler.
8941 (comment-region): Allow LINES even if MULTI is nil.
8942 (comment-box): Choose box style based on comment-style.
8944 2000-05-20 Kenichi Handa <handa@etl.go.jp>
8946 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
8947 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
8949 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
8951 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
8952 and insert, not subst-char-in-region.
8954 * international/mule-diag.el (list-character-sets-1): Handle
8955 charsets eight-bit-control and eight-bit-graphic.
8956 (list-iso-charset-chars): Likewise.
8957 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
8958 charactes as is. Use indent-to to align characters.
8960 * international/mule-cmds.el (find-multibyte-characters): Never
8961 exclude charsets eight-bit-control and eight-bit-graphic.
8963 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8965 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
8966 Don't quote lambdas.
8968 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
8970 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8972 * gud.el (gud-jdb-directories): Doc fix.
8974 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
8976 * newcomment.el: New file.
8978 2000-05-19 Gerd Moellmann <gerd@gnu.org>
8980 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
8982 2000-05-18 Andreas Schwab <schwab@suse.de>
8984 * dired.el (dired-between-files): Also skip lines beginning with
8987 2000-05-18 Gerd Moellmann <gerd@gnu.org>
8989 * msb.el (msb-menu-cond): Add choice `user'.
8991 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8993 * ps-print.el: Compatibility, customization and doc fix.
8994 (ps-printer-name-option): Replace defconst by defvar.
8995 (ps-postscript-code-directory): XEmacs compatibility.
8996 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
8998 (ps-user-defined-prologue, ps-print-prologue-header)
8999 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
9000 compatibility and code fix.
9001 (ps-print-background-image, ps-print-background-text):
9003 (ps-line-number-start, ps-n-up-on): New vars.
9005 2000-05-18 Espen Skoglund <esk@ira.uka.de>
9007 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
9008 the indent-comment function to just return the appropriate indent.
9010 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
9012 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
9013 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
9014 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
9016 2000-05-18 Dave Love <fx@gnu.org>
9018 * info.el (Info-fontify-node): Add intangible property as well as
9021 * calendar/appt.el (appt-make-list): Match all lines of entry.
9022 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
9024 2000-05-18 Kenichi Handa <handa@etl.go.jp>
9026 * international/mule-diag.el (describe-char-after): Call
9027 internal-char-font, not char-font. If internal-char-font returns
9028 nil, display "-- none --".
9030 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9032 * image.el (image-type-available-p): Don't reference image-types
9035 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
9037 * autoarg.el (autoarg-mode): Typo in the :set argument.
9039 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9041 * startup.el (command-line-1): Don't signal an error if the
9042 directory for auto-save-list files does not yet exist.
9044 2000-05-17 Kenichi Handa <handa@etl.go.jp>
9046 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
9048 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
9050 * subr.el (remove-hook): `setq' hook-value, not `set'.
9052 2000-05-16 Sam Steingold <sds@gnu.org>
9054 * info.el (debug-ignored-errors): More errors to ignore.
9056 2000-05-16 Dave Love <fx@gnu.org>
9058 * cus-edit.el: Don't require cl or easymenu.
9059 (custom-variable-prompt): Test standard-value property, not
9062 2000-05-16 Sam Steingold <sds@gnu.org>
9064 * subr.el (add-hook): `setq' hook-value, not `set'.
9066 2000-05-16 Gerd Moellmann <gerd@gnu.org>
9068 * startup.el (command-line-1): Mention the FAQ in the startup
9071 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
9073 * progmodes/compile.el (compilation-parse-errors): Collect
9074 `nomessage' regexps last.
9076 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
9078 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
9079 to the function name.
9081 2000-05-15 Dave Love <fx@gnu.org>
9083 * speedbar.el (speedbar-recenter): Typo.
9084 (speedbar-expand-line): Make arg optional.
9085 (speedbar-mode): Avoid a compiler warning.
9087 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9089 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
9090 user-specified option string is empty.
9092 * mouse.el (mouse-yank-at-click): Doc fix.
9094 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
9096 * term/internal.el (IT-character-translations): More updates of
9097 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
9100 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9102 * env.el (getenv): New function, interactively callable.
9103 (setenv, getenv): Remove autoload cookies.
9105 * loadup.el: Load `env'.
9107 * progmodes/f90.el: Change author's mail address.
9109 2000-05-14 Dave Love <fx@gnu.org>
9111 * mail/rmail.el (rmail-show-message-hook): Customize and offer
9112 goto-addr as an option.
9114 * help.el (help-xref-stack): Doc fix.
9115 (help-xref-following): New variable.
9116 (help-make-xrefs): Use it.
9117 (help-xref-go-back): Use position information from stack element.
9118 (help-follow): Make position in stack element a pair. Use
9119 help-xref-following.
9121 * autoarg.el: New file.
9123 * faces.el: Declare more functions obsolete.
9125 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
9126 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
9127 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
9128 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
9129 Remove all the setup-...-environment functions.
9131 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
9133 * speedbar.el: Updated the commentary section. xemacs20p now uses
9134 >= when detecting. Require `defimage' safely.
9135 (speedbar-easymenu-definition-base): Add toggle for images.
9136 (speedbar-easymenu-definition-special): Add flush cache & expand.
9137 (speedbar-visiting-tag-hook): Set new defaults. Added options.
9138 (speedbar-reconfigure-keymaps-hook): New variable.
9139 (speedbar-frame-parameters): Updated documentation.
9140 (speedbar-use-imenu-flag): Updated custom tag
9141 (speedbar-dynamic-tags-function-list): New variable.
9142 (speedbar-tag-hierarchy-method): Updated doc & custom.
9143 (speedbar-indentation-width, speedbar-indentation-width) New
9145 (speedbar-hide-button-brackets-flag): Customizable.
9146 (speedbar-vc-indicator): Doc update.
9147 (speedbar-ignored-path-expressions): Updated default value.
9148 (speedbar-supported-extension-expressions): Updated default value.
9149 (speedbar-syntax-table): Remove {} paren status.
9150 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
9151 as "+". Added overlay aliases.
9152 (speedbar-mode): Use `speedbar-mode-line-update' instead of
9153 `force-mode-line-update'.
9154 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
9155 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
9157 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
9158 (speedbar-item-info-tag-helper): Revamped to handle a wider range
9159 of arbitrary text, and new helper functions.
9160 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
9162 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
9163 (speedbar-directory-buttons): Update path search/expansion.
9164 (speedbar-make-tag-line): Pay attention to
9165 `speedbar-indentation-width'. Use more care w/ invisible
9167 (speedbar-change-expand-button-char): Call
9168 `speedbar-insert-image-button-maybe'.
9169 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
9170 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
9171 (speedbar-trim-words-tag-hierarchy)
9172 (speedbar-simple-group-tag-hierarchy): New functions
9173 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
9174 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
9176 (speedbar-mouse-set-point): New function
9177 (speedbar-power-click): Updated documentation.
9178 (speedbar-line-token, speedbar-goto-this-file): Handle more types
9180 (speedbar-expand-line, speedbar-contract-line): Make more robust
9182 (speedbar-expand-line): Takes universal argument to flush the
9184 (speedbar-flush-expand-line): New function.
9185 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
9186 Use new generator insertion method.
9187 (speedbar-fetch-dynamic-tags): New function.
9188 (speedbar-fetch-dynamic-imenu): Removed code now handled in
9189 `speedbar-fetch-dynamic-imenu'.
9190 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
9191 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
9192 "Revert Buffer" menu items.
9193 (speedbar-buffer-buttons-engine): Be smarter when creating a
9194 filename tag (for expansion purposes.).
9195 (speedbar-highlight-one-tag-line,
9196 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
9197 (speedbar-recenter): New functions.
9198 (defimage-speedbar): Image loading abstraction.
9199 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
9200 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
9201 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
9202 (speedbar-tag-type, speedbar-tag-mail): New images.
9203 (speedbar-expand-image-button-alist): New variable.
9204 (speedbar-insert-image-button-maybe): Insert an image over some
9207 2000-05-13 Kenichi Handa <handa@etl.go.jp>
9209 * international/mule-cmds.el (encode-coding-char): An ASCII
9210 character is always encodable.
9212 * international/mule-conf.el: Add more information in descriptions
9215 * international/mule-diag.el (describe-char-after): New function.
9216 (describe-font-internal): Adjusted for the change of font-info.
9217 (describe-font): Likewise.
9218 (print-fontset): Rewritten for the new fontset implementation.
9219 (describe-fontset): Include fontset alias names in completion.
9220 (list-fontsets): Adjusted for the change of print-fontset.
9222 * simple.el (what-cursor-position): If DETAIL is non-nil, call
9223 describe-char-after instead of displaying the detail in the echo
9225 (syntax-code-table): Format changed.
9226 (string-to-syntax): Adjusted for the above change.
9228 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
9230 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
9232 2000-05-12 Dave Love <fx@gnu.org>
9234 * calendar/todo-mode.el: Remove some compatibility stuff and CL
9235 dependence. Use line-{beginning,end}-position, not
9236 point-at{b,e}ol. Some doc fixes.
9237 (todo-position): New function. Fix callers of position to use it.
9238 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9240 2000-05-12 Gerd Moellmann <gerd@gnu.org>
9242 * time.el (display-time-mail-icon): Use `:ascent center'.
9244 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9245 handling FTP security extensions.
9247 2000-05-11 Dave Love <fx@gnu.org>
9249 * calendar/todo-mode.el: New file.
9251 2000-05-11 Gerd Moellmann <gerd@gnu.org>
9253 * comint.el (comint-read-input-ring): Move reference to
9254 comint-input-ring-size outside of the save-excursion. It was
9255 causing the default value to be the only one ever seen.
9257 * font-lock.el: Update copyright. Remove Simon Marshall's email
9258 address on request from him.
9260 * subr.el (substitute-key-definition): Add comment describing
9261 the meaning of PREFIX.
9263 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
9265 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9267 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9268 (add-minor-mode): Don't make the variable buffer-local and add a
9269 reference to define-minor-mode in the docstring.
9271 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9272 HEADER/FOOTER and fix bug with trailing empty directory.
9273 (cvs-append-to-ignore): Use vc-editable-p if available.
9274 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9275 (vc-do-command): Tweak advice to handle the new VC.
9277 * log-view.el (log-view-goto-rev): New function for the new VC.
9278 (log-view-minor-wrap): Use mark-active.
9280 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9281 (log-edit-changelog-full-paragraphs): New var.
9282 (log-edit-insert-changelog): Remove a lonely leading `* file'.
9283 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9284 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9285 (log-edit-changelog-ours-p, log-edit-changelog-entries)
9286 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9287 Replace the `cvs' prefix with `log-edit'.
9289 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9291 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9292 (diff-font-lock-defaults): Explicitly turn off multiline.
9293 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9294 (diff-ediff-patch): Fix call to ediff-patch-file.
9295 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9298 * frame.el (automatic-hscrolling): Typo.
9300 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9302 2000-05-09 Sam Steingold <sds@goems.com>
9304 * apropos.el (apropos-print): use `describe-face' instead of
9305 `customize-face-other-window'.
9307 2000-05-09 Dave Love <fx@gnu.org>
9309 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9311 * help.el (describe-variable): Have customize button pop the
9312 help-xref stack when invoked.
9313 (help-xref-symbol-regexp): Add `face'.
9314 (help-make-xrefs): Check for quoted face names and adapt regexp
9315 submatch numbers to cope.
9316 (help-xref-interned): Maybe insert face doc too. Separate
9317 sections with a line of hyphens.
9319 * faces.el: Some doc fixes. Declare some functions obsolete.
9320 (describe-face): Add customize button. Return the help
9323 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
9325 * term/internal.el (IT-character-translations): Fix last change.
9327 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9329 * woman.el: New file
9330 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9332 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9334 * term/internal.el (IT-character-translations): Update ASCII
9335 simulations for greek-iso8859-7, add latin-iso8859-14 and
9338 * international/mule-cmds.el (set-language-info-alist): Call
9339 define-prefix-command with 3 arguments, to make the map suitable
9342 2000-05-07 Dave Love <fx@gnu.org>
9344 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
9346 2000-05-05 Dave Love <fx@gnu.org>
9348 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9349 list in doc string. Don't quote keyword symbols.
9350 * emacs-lisp/cl.el: Likewise
9351 * emacs-lisp/cl-seq.el: Likewise
9353 2000-05-05 Gerd Moellmann <gerd@gnu.org>
9355 * abbrev.el (abbrev-mode): Make ARG optional.
9357 2000-05-04 Gerd Moellmann <gerd@gnu.org>
9359 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9361 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9363 * subr.el (substitute-key-definition): Clarify documentation.
9365 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
9367 * glasses.el (glasses-convert-to-unreadable): Use
9368 `glasses-separator' instead of the hard-wired "_".
9369 (glasses-mode): Call `glasses-make-unreadable' only in a single
9372 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
9374 * term/internal.el (cjk-codepages-alist): Add associations for
9375 Chinese and Korean codepages. Remove FIXME comment.
9377 2000-05-03 Dave Love <fx@gnu.org>
9379 * time.el (display-time-mail-face, display-time-use-mail-icon):
9381 (display-time-mail-icon): New variable.
9382 (display-time-string-forms): Use the above. Fix the local-map.
9384 2000-05-03 Gerd Moellmann <gerd@gnu.org>
9386 * replace.el (query-replace-map): Add binding for `E'.
9387 (query-replace-help): Extend help text.
9388 (perform-replace): Allow editing the replacement string.
9390 * make-mode.el (makefile-mode-abbrev-table): New variable.
9391 (makefile-mode): Set local abbrev table to
9392 makefile-mode-abbrev-table.
9393 (makefile-font-lock-keywords): Fontify includes and conditionals.
9395 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9398 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9399 mail-interactive-insert-alias.
9400 (mail-abbrev-complete-alias): New command.
9401 (mail-mode-map): Bind it to `M-TAB'.
9403 2000-05-03 Kenichi Handa <handa@etl.go.jp>
9405 * language/lao-util.el (lao-compose-region): New function.
9407 2000-05-02 Gerd Moellmann <gerd@gnu.org>
9409 * files.el (recover-session): Make directories as necessary
9410 if they don't exist yet.
9412 * calendar/cal-french.el
9413 (french-calendar-multibyte-special-days-array)
9414 (french-calendar-special-days-array): Change French text.
9415 (calendar-french-date-string): Change output.
9416 (calendar-goto-french-date): Likewise.
9418 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
9420 * wid-edit.el (widget-default-active): Obey `:always-active'.
9421 (widget-documentation-string-value-create): Set `:always-active'.
9423 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9425 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9426 default prefix to `~/_emacs.d/auto-save.list/_s'.
9427 (normal-top-level): Create the directory for auto-save files, if
9428 it doesn't already exist (in the ms-dos case only).
9430 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9432 * international/mule-cmds.el (set-language-environment): Don't
9433 concat an integer (dos-codepage), use format instead.
9435 2000-05-02 Dave Love <fx@gnu.org>
9437 * help.el (help-xref-on-pp): Check for constant symbols.
9439 2000-04-29 Gerd Moellmann <gerd@gnu.org>
9441 * startup.el (normal-top-level): Put a condition-case around
9442 the code loading subdirs.el.
9444 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9446 * ps-print.el: Upside-down and face background color printing,
9447 line number step, doc fix.
9448 (ps-print-version): New version number (5.2).
9449 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9450 (ps-face-attribute-list, ps-plot-with-face): Code fix.
9451 (ps-spool-config): Var fix.
9452 (ps-printer-name-option): Const fix.
9453 (ps-print-upside-down, ps-use-face-background)
9454 (ps-line-number-step): New vars.
9455 (ps-window-system, ps-lp-system): New consts.
9456 (ps-face-background): New fun.
9458 2000-04-28 Richard Stallman <rms@gnu.org>
9460 * files.el (make-auto-save-file-name):
9461 Apply auto-save-file-name-transforms to visited file name
9462 before generating auto save file name.
9463 (auto-save-file-name-transforms): New variable.
9465 * files.el (backup-enable-predicate):
9466 Correctly test for a file under a temporary directory.
9468 2000-04-28 Gerd Moellmann <gerd@gnu.org>
9470 * subr.el (add-minor-mode): Rewritten.
9472 2000-04-28 Kenichi Handa <handa@etl.go.jp>
9474 * mail/sendmail.el (sendmail-send-it): Set
9475 buffer-file-coding-system to the selected coding system for MIME
9478 2000-04-27 Gerd Moellmann <gerd@gnu.org>
9480 * dired.el (dired-move-to-filename-regexp): Allow format where
9481 YYYY is followed by two spaces.
9483 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9484 in the second character class of the regexp.
9486 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9489 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9492 * subr.el (add-minor-mode): Use `set' instead of `setq'.
9494 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9497 2000-04-27 Sen Nagata <sen@eccosys.com>
9499 * emacs-lisp/crm.el (crm-completion-table): New variable.
9500 (crm-collection-fn, crm-test-completion)
9501 (completing-read-multiple): Use it.
9503 2000-04-27 Dave Love <fx@gnu.org>
9505 * help.el (locate-library): Use mapc.
9506 (help-manyarg-func-alist): Add call-process-region.
9508 2000-04-26 Gerd Moellmann <gerd@gnu.org>
9510 * subr.el (add-minor-mode): Make argument MAP optional.
9512 * desktop.el (desktop-save): Save list of minor modes.
9513 (desktop-create-buffer): Restore minor modes.
9514 (desktop-minor-mode-table): New user-option.
9516 * subr.el (add-minor-mode): New function.
9518 * image.el (find-image): New function.
9519 (defimage): Rewritten to find image at load time.
9521 * startup.el (normal-top-level-add-to-load-path): Handle
9522 case that the default directory is not in load-path.
9524 * help.el: Old patch from Stefan Monnier.
9525 (help-xref-on-pp): New function.
9526 (describe-variable): Use it to display xrefs in a symbol's value.
9528 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
9530 * cus-edit.el (custom-face): Fix parenthesis.
9532 2000-04-26 Kenichi Handa <handa@etl.go.jp>
9534 * mail/rmail.el (rmail-expunge): When there are no deleted
9535 messages, do nothing.
9537 2000-04-26 Dave Love <fx@gnu.org>
9539 * international/mule-cmds.el (locale-translation-file-name):
9541 (set-locale-environment): Set it here (at runtime).
9543 2000-04-25 Gerd Moellmann <gerd@gnu.org>
9545 * replace.el (perform-replace): Add parameters START and END. Use
9546 them instead of the check for a region in Transient Mark mode.
9547 (query-replace-read-args): Return two more list elements for the
9548 start and end of the region in Transient Mark mode.
9549 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9550 (map-query-replace-regexp, replace-string, replace-regexp): Add
9551 optional last arguments START and END and pass them to
9554 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9555 form with additional arguments for perform-replace.
9557 * progmodes/etags.el (tags-query-replace): Add parameters START
9558 and END. Construct a form with additional arguments for
9561 * simple.el (shell-command): Set default directory for "*Shell
9562 Command Output" buffer.
9564 * language/european.el (iso-latin-4): Fix typo.
9566 * emacs-lisp/crm.el: New file.
9568 2000-04-24 Dave Love <fx@gnu.org>
9570 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9571 (Custom-reset-saved, Custom-reset-standard)
9572 (custom-group-value-create, custom-group-set, custom-group-save)
9573 (custom-group-reset-current, custom-group-reset-saved)
9574 (custom-group-reset-standard): Use mapc.
9575 (custom-buffer-create-internal): Disable undo when creating items.
9577 (custom-face): Avoid redundant lambda.
9579 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9581 * startup.el (auto-save-list-file-prefix): Set default to
9582 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9584 2000-04-24 Sam Steingold <sds@gnu.org>
9586 * time-stamp.el (time-stamp-string-preprocess): Always convert
9587 `field-result' to a string.
9589 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9591 * frame.el (scrolling): New group.
9592 (automatic-hscrolling): New user-option.
9594 * startup.el (command-line-x-option-alist): Add `-lsp' and
9597 2000-04-19 Dave Love <fx@gnu.org>
9599 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
9600 (cl-mapc): Rename from mapc. Fix the funcall.
9602 2000-04-19 Gerd Moellmann <gerd@gnu.org>
9604 * simple.el (clone-indirect-buffer-other-window): New command.
9605 (clone-indirect-buffer): Add optional arg NORECROD.
9606 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
9608 * help.el (resize-temp-buffer-window): Use count-screen-lines.
9610 * window.el (count-screen-lines): New function.
9611 (shrink-window-if-larger-than-buffer): Use count-screen-lines
9612 instead of window-buffer-height.
9614 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
9615 non-existing variable comint-input-sentinel.
9616 (inferior-lisp-args-to-list): Removed.
9617 (inferior-lisp): Use split-string instead of
9618 inferior-lisp-args-to-list.
9620 * hexl.el (hexl-insert-hex-string): New command.
9622 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
9625 2000-04-18 Gerd Moellmann <gerd@gnu.org>
9627 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
9628 at the start of an existing but empty folder.
9630 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9632 * ps-mule.el: Customization fix, doc fix.
9633 (ps-multibyte-buffer): Customization fix.
9635 2000-04-17 Richard M. Stallman <rms@gnu.org>
9637 * subr.el (read-passwd): Use read-char-exclusive.
9639 2000-04-17 Gerd Moellmann <gerd@gnu.org>
9641 * textmodes/texinfo.el (texinfo-insert-@email)
9642 (texinfo-insert-@emph, texinfo-insert-@quotation)
9643 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
9644 (texinfo-mode-map): Add key bindings for them.
9646 * files.el (basic-save-buffer-2): Use a template with `$'
9647 instead of `#' for VMS.
9649 * simple.el (clone-indirect-buffer): New function.
9651 2000-04-16 Stephen Eglen <stephen@gnu.org>
9653 * iswitchb.el (iswitchb-case): New function. If the user input
9654 contains any upper-case characters, the search is made
9657 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
9659 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
9661 (texinfo-font-lock-syntactic-keywords): New var.
9662 (texinfo-font-lock-keywords): Remove comment regexp.
9663 (texinfo-insert-block): New function.
9664 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
9665 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
9666 and font-lock-defaults. Use regexp-opt for outline-regexp.
9667 (texinfo-environments): New var.
9668 (texinfo-environment-regexp): Use regexp-opt and
9669 texinfo-environments.
9671 * textmodes/ispell.el (ispell-menu-map-needed): Check that
9672 ispell-process is bound since this might be eval'd before ispell
9674 (ispell-message): Use a tiny bit less magic and a bit more hard
9675 data to figure out what kind of sc-cite-regexp to use.
9677 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
9679 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
9680 (insert-cyclic-diary-entry): Unquote the lambda.
9682 * gud.el (gud-jdb-build-source-files-list): Fix typo.
9684 * files.el (backup-enable-predicate): Unquote the lambda.
9686 * cus-edit.el (custom-face, face): Unquote the lambda.
9688 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9690 * ps-print.el: Check for line-beginning-position definition.
9692 * ps-print.el: Fix counting lines in a region.
9693 (ps-print-version): New version number (5.1.5).
9694 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
9695 (ps-printing-region): Fun code fix.
9697 2000-04-15 Gerd Moellmann <gerd@gnu.org>
9699 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
9700 to file-directory-p.
9702 2000-04-14 Gerd Moellmann <gerd@gnu.org>
9704 * gud.el (gud-jdb-build-source-files-list): Check that directory
9705 exists before calling directory-files.
9707 2000-04-13 Dave Love <fx@gnu.org>
9709 * emacs-lisp/trace.el: Change maintainer. Use new backquote
9712 * emacs-lisp/cl-specs.el: Remove when, unless.
9714 * emacs-lisp/cl-extra.el: Don't quote keywords.
9715 (cl-old-mapc): New variable.
9717 (cl-map-intervals): Use with-current-buffer. Don't check for
9718 next-property-change.
9719 (cl-map-overlays): Use with-current-buffer.
9721 (copy-tree, remprop): Define unconditionally.
9723 * emacs-lisp/cl-compat.el (keywordp): Remove.
9725 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
9727 (edebug-spec): Enable keywordp.
9729 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
9732 * cus-start.el: Use keywordp.
9734 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9736 * diary-lib.el (include-other-diary-files): Fix the fix of
9737 2000-02-18 by doing a save-excursion.
9739 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9741 * ps-print.el: Customization fix, doc fix.
9742 (ps-print-version): New version number (5.1.4).
9743 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
9744 (ps-print-preprint): Adjust code.
9745 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
9746 (ps-print-prologue-header, ps-print-control-characters)
9747 (ps-spool-config): Customization fix.
9749 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
9751 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
9752 converted to the new menu-item format, names silightly changed,
9755 Support for spelling without async subprocesses:
9757 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
9758 (ispell-session-buffer): New variables.
9759 (ispell-start-process, ispell-process-status,
9760 ispell-accept-output, ispell-send-string): New functions, for
9761 Ispell invocation when async subprocesses aren't supported.
9762 (ispell-word, ispell-pdict-save, ispell-command-loop,
9763 ispell-process-line, ispell-buffer-local-parsing): Replace calls
9764 to process-send-string with calls to ispell-send-string, and
9765 accept-process-output with ispell-accept-output.
9766 (ispell-init-process): Call ispell-process-status instead of
9767 process-status with.
9768 (ispell-init-process): Call ispell-start-process. Call
9769 ispell-accept-output and ispell-send-string. Don't call
9770 process-kill-without-query and kill-process if they are unbound.
9771 (ispell-async-processp): New function.
9773 2000-04-12 Dave Love <fx@gnu.org>
9775 * info.el: Add debug-ignored-errors.
9776 (Info-mode-menu): Add some items.
9777 (Info-directory): Add autoload cookie.
9779 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
9780 Modify `truncate-lines'. Make `describe-language-environment'
9781 always visible and add help. Modify `describe-key' help. Invoke
9782 Info-directory from `info'. New entry `emacs-manual'.
9784 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9786 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
9787 propertized-buffer-identification.
9788 (ebrowse-update-member-buffer-mode-line): Likewise.
9789 (ebrowse--mode-strings): Removed.
9790 (ebrowse--mode-line-props): Removed.
9792 * files.el (auto-mode-alist): Add `EBROWSE'.
9794 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
9795 space before testing for end of buffer.
9796 (ebrowse-load): Removed.
9797 (ebrowse-revert-tree-buffer-from-file): Rewritten.
9798 (ebrowse-create-tree-buffer): Rewritten.
9799 (ebrowse-tree-mode): Read tree from buffer.
9801 * progmodes/ebrowse-ffh.el: Removed.
9803 2000-04-10 Kenichi Handa <handa@etl.go.jp>
9805 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
9807 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9809 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
9812 2000-04-09 Dave Love <fx@gnu.org>
9814 * files.el (backup-enable-predicate): Use
9815 temporary-file-directory, small-temporary-file-directory.
9816 (make-backup-file-name-function, backup-directory-alist): New
9818 (make-backup-file-name-1): New function.
9819 (make-backup-file-name): Use it.
9820 (find-backup-file-name): Likewise. Use format for clarity, not
9822 (file-newest-backup): Use make-backup-file-name.
9824 2000-04-09 Gerd Moellmann <gerd@gnu.org>
9826 * progmodes/ebrowse-ffh.el: New file.
9828 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
9830 (ebrowse-load): Add autoload.
9832 * finder.el (finder-commentary): Add autoload cookie.
9834 * mail/rfc2368.el: Correct author's email address.
9836 * progmodes/ebrowse.el: New file.
9838 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
9840 (easy-menu-do-add-item): Ditto.
9841 (easy-menu-define): Extend doc string.
9843 * jit-lock.el (with-buffer-unmodified): Use
9844 restore-buffer-modified-p.
9845 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
9846 (jit-lock-function, jit-lock-stealth-fontify): Don't use
9847 with-buffer-unmodified.
9849 2000-04-08 Dave Love <fx@gnu.org>
9851 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
9854 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
9856 * viper-util.el (viper-put-on-search-overlay): New subroutine.
9857 (viper-flash-search-pattern): No operation when using Emacs
9858 doesn't support face.
9859 Use `viper-put-on-search-overlay'.
9861 2000-04-04 Gerd Moellmann <gerd@gnu.org>
9863 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
9866 * progmodes/make-mode.el: Some doc fixes.
9867 (makefile-mode-abbrev-table): New variable.
9868 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
9869 (makefile-font-lock-keywords): Fontify includes and conditionals.
9870 (toplevel): Require `dabbrev' and `add-log' when compiling.
9872 * replace.el (perform-replace): Don't move forward one char
9873 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
9874 to do that because it leaves point 1 position after the last
9875 replacement, after everything has been replaced.
9877 * jit-lock.el (with-buffer-unmodified): New macro.
9878 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
9880 (jit-lock-function-1): Extracted from jit-lock-function; not
9881 preserving buffer's modified state.
9882 (jit-lock-function, jit-lock-stealth-fontify): Call
9883 jit-lock-function-1.
9885 * mail/rfc2368.el: Remove supernumerary copyright line.
9887 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
9889 * glasses.el: Provide facilities for inserting space before left
9890 parentheses and uncapitalization of identifiers.
9891 (glasses-mode): Try to remove old overlays in all cases.
9893 2000-04-03 Gerd Moellmann <gerd@gnu.org>
9895 * progmodes/compile.el (compile-internal): Display the compilation
9896 buffer in a different frame, if it's already displayed there.
9898 * mail/rfc2368.el: New file.
9900 * simple.el (sendmail-user-agent-compose): Recognize a `body'
9901 header and insert its value as mail body.
9903 * subr.el (member-ignore-case): New function.
9905 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
9906 (dabbrev--find-expansion): Ignore buffers matching a regexp
9907 from dabbrev-ignored-regexps.
9909 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
9910 to extensions handled by gzip.
9912 2000-04-03 Richard M. Stallman <rms@gnu.org>
9914 * files.el (insert-directory): List the total free space
9915 along with the used space.
9917 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
9918 line is followed by one that matches CITATION-REGEXP, end the
9921 2000-04-03 Markus Rost <rost@delysid.gnu.org>
9923 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
9924 (rmail-make-basic-summary-line): Use that option.
9926 2000-04-03 Kenichi Handa <handa@etl.go.jp>
9928 * international/mule-cmds.el (encoded-string-description):
9929 Rewritten. Try pretty description for ISO 2022 escape sequences
9930 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
9931 for hexadecimal format.
9933 2000-04-01 Dave Love <fx@gnu.org>
9935 * cpp.el: Change customization group to `c' from `C'.
9937 * vcursor.el (vcursor-move): Use display-color-p.
9939 * international/mule-util.el: Provide mule-utils.
9940 (string-to-sequence): Simplify and speed up.
9942 * international/mule.el (make-coding-system): Purecopy doc-string.
9944 * international/mule-cmds.el: Various menu changes.
9945 (describe-specified-language-support): Handle `Default'.
9946 (set-language-info): Purecopy `info'.
9948 2000-03-31 Andrew Innes <andrewi@gnu.org>
9950 * vc.el (vc-backend-diff): Return the correct status if we had to
9951 retry the rcsdiff command without the --brief option.
9953 2000-03-31 Dave Love <fx@gnu.org>
9955 * help.el (help-manyarg-func-alist): Correct several omissions.
9957 * add-log.el: Don't require cl, fortran.
9958 (add-log-current-defun-function): Doc fix.
9959 (change-log-version-number-regexp-list): Remove SCCS part. Doc
9961 (change-log-version-rcs): Function deleted.
9962 (change-log-version-number-search): Doc fix. Use
9963 vc-workfile-version. Avoid CL dolist.
9964 (add-change-log-entry): Just call add-log-current-defun to get
9965 defun. Simplify somewhat.
9966 (change-log-get-method-definition-1): Likewise.
9967 (add-log-current-defun): Return nil if calling
9968 add-log-current-defun-function does so. Move Fortran stuff to
9969 fortran.el. Return string without properties.
9971 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
9972 and :alpha: char classes.
9974 * mail/supercite.el: Defvar curline when compiling.
9975 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
9976 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
9977 rather than a-zA-Z0-9 to allow non-ASCII characters.
9979 2000-03-31 Gerd Moellmann <gerd@gnu.org>
9981 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
9983 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9986 * lpr.el (print-region-1): Use -d to specify printer name for
9987 systems `usg-unix-v*, `dgux', `hpux', `irix'.
9989 2000-03-31 Dave Love <fx@gnu.org>
9991 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
9992 for function definition in symbol's function value slot first
9993 instead of first consulting byte-compile-function-environment.
9995 2000-03-31 Kenichi Handa <handa@etl.go.jp>
9997 * language/european.el ("Polish"): New language environment.
9998 (setup-polish-environment): New function.
10000 2000-03-30 Gerd Moellmann <gerd@gnu.org>
10002 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10005 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
10006 trying to `load' the symbol of an autoload instead of the file
10007 recorded in the autoload. Fix error messages.
10009 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10011 * ps-print.el: PostScript programming fix for ghostview, doc fix.
10012 (ps-print-version): New version number (5.1.3).
10013 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
10014 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
10015 (ps-generate-postscript-with-faces): Code fix.
10016 (ps-color-values): XEmacs compatibility.
10017 (ps-print-background-image, ps-print-background-text, ps-printer-name)
10018 (ps-default-fg, ps-default-bg): Adjust customization.
10019 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
10020 (ps-color-scale): Renaming old ps-color-value fun.
10021 (ps-print-headers): Replace ps-print-header group to avoid conflict
10022 with ps-print-header variable.
10023 (ps-print-miscellany): New group.
10024 (ps-format-color, ps-rgb-color): New funs.
10025 (ps-default-foreground): New var.
10026 (ps-printer-name-option): New const.
10028 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
10030 * net/net-utils.el:
10031 (network-connection-host, network-connection-service): New variables
10032 (network-connection-mode): New mode, derived from comint-mode
10033 (network-connection-mode-setup): New function, saves host and
10034 service information in local variables.
10037 (locate-word-at-point): Added this function
10038 (locate): Default to using locate-word-at-point as input
10039 Run dired-mode-hook
10041 2000-03-29 Dave Love <fx@gnu.org>
10043 * calendar/appt.el: Doc fixes.
10044 (appt-check): Convert min-to-app to a string before passing to
10045 appt-disp-window-function or concat.
10046 (appt-delete-window): Remove test for frame-root-window.
10047 (appt-select-lowest-window, appt-convert-time): Simplify.
10049 * emacs-lisp/bytecomp.el: Doc fixes.
10050 (byte-compile-file-form-autoload): Update
10051 byte-compile-function-environment.
10053 2000-03-29 Andreas Schwab <schwab@suse.de>
10055 * emacs-lisp/autoload.el: Also print defsubst doc string
10058 * dired.el (dired-insert-directory): If dired-free-space-program
10059 failed just delete its output.
10061 2000-03-29 Dave Love <fx@gnu.org>
10063 * international/iso-cvt.el: Move provide to end. Doc fixes.
10064 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
10065 (iso-iso2sgml, iso-sgml2iso): New functions.
10066 (iso-cvt-define-menu): Fix some entries and use backquote for
10069 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
10071 2000-03-28 Gerd Moellmann <gerd@gnu.org>
10073 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
10074 ISO-DATE. If non-nil, return date in ISO 8601 format.
10076 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
10078 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
10079 if it ever becomes used.
10080 (log-edit-mode-hook): Default to vc-log-mode-hook.
10081 (log-edit-mode): Fix the docstring.
10083 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
10086 2000-03-26 Dave Love <fx@gnu.org>
10088 * net/browse-url.el (browse-url): Re-fix case of
10089 browse-url-browser-function being an alist.
10090 (browse-url): Add :link to defgroup.
10092 * files.el: Doc fixes.
10093 (file-truename): Include `[' in wildcard characters.
10094 (automount-dir-prefix): Customize.
10095 (find-file-wildcards): Add :version.
10096 (find-file-noselect): Simplify a mapcar call.
10098 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
10099 compatible with inf-lisp version.
10100 (eval-defun-1): Fix custom-declare-variable case.
10102 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
10104 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
10106 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10108 * Makefile (COMPILE_FIRST): New macro.
10109 (compile-files): Compile files from COMPILE_FIRST first.
10111 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
10114 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
10115 matching open parenthesis in column 0 to defun-prompt-regexp
10116 only if open-paren-in-column-0-is-defun-start is set.
10118 * sun-curs.el: Require CL at compile-time only.
10120 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
10121 instead of copy-list which is a function from CL.
10122 (msb--choose-menu, msb--mode-menu-cond)
10123 (msb--create-buffer-menu-2): Use dolist instead of mapc.
10124 (msb--init-file-alist): Use mapcar instead of mapcan.
10125 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
10126 `(' in column 0 in doc string.
10127 (msb--add-separators): Use mapcar instead of mapcan.
10129 * cus-dep.el: Require CL at compile-time only.
10131 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
10133 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10134 (byte-compile-warnings): New warning `noruntime'.
10135 (byte-compile-constants, byte-compile-variables): Fix docstring.
10136 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
10137 execute `eval-whenc-compile's body.
10138 (byte-compile-unresolved-functions): Fix docstring.
10139 (byte-compile-eval): New function.
10140 (byte-compile-callargs-warn): Check if the function will be available
10141 at runtime (via property `byte-compile-noruntime').
10142 (byte-compile-print-syms): New function.
10143 (byte-compile-warn-about-unresolved-functions): Also warn about
10144 `noruntime' functions (and use `byte-compile-print-syms').
10145 (byte-compile-file): Capitalize the message.
10147 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10149 * mail/rmail.el (rmail-confirm-expunge): New user-option.
10150 (rmail-expunge): Ask for confirmation depending on the setting
10151 of rmail-confirm-expunge.
10153 2000-03-23 Gerd Moellmann <gerd@gnu.org>
10155 * Makefile (bootstrap-clean): If $(emacs) exists, build
10156 loaddefs.el first. A loaddefs.el that's not up-to-date might
10157 cause a bootstrap failure because things don't autoload as
10160 2000-03-23 Dave Love <fx@gnu.org>
10162 * net/browse-url.el: Restore previous use of
10163 browse-url-maybe-new-window.
10165 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10167 * ps-print.el: Skip banner page fix.
10168 (ps-print-version): New version number (5.1.2).
10169 (ps-begin-file, ps-end-file, ps-generate): Code fix.
10171 2000-03-23 Dave Pearson <davep@davep.org>
10173 * net/quickurl.el Changed the type of parameter passed to the
10174 function defined by `quickurl-format-function'. Before only the
10175 text of the URL was passed. Now the whole URL structure is passed
10176 and the function is responsible for extracting the parts it
10177 requires. Changed the default of `quickurl-format-function'
10179 (quickurl-insert): Changed the `funcall' of
10180 `quickurl-format-function' to match the above change.
10181 (quickurl-list-insert): Changed the `url' case so that it makes
10182 use of `quickurl-format-function', previous to this the format was
10185 2000-03-22 Gerd Moellmann <gerd@gnu.org>
10187 * startup.el: Change some spellings for the X Window System.
10189 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
10191 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
10192 up the code and the regexp and make sure the cursor is temporarily
10193 moved to the suspicious line while querying the user.
10195 2000-03-22 Jason Rumney <jasonr@gnu.org>
10197 * w32-fns.el (w32-charset-info-alist): Initialize.
10199 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10201 * ps-print.el: N-up last page fix.
10202 (ps-print-version): New version number (5.1.1).
10203 (ps-end-file, ps-end-job, ps-generate): Code fix.
10205 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10207 * files.el (find-file-run-dired): Update docstring.
10208 (find-directory-functions): New hook.
10209 (find-file-noselect): Run find-directory-functions rather than
10210 calling dired directly.
10212 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
10214 * pcvs.el: Add a minimal leading commentary.
10215 (cvs-make-cvs-buffer): Change the header part by removing the startup
10216 message and adding a `Module' entry. Also replace the FOOTER and
10217 HEADER special fileinfos with the new support in ewoc for updating
10218 its own footer and header.
10219 (cvs-update-header): Update to use the header/footer of the ewoc.
10220 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
10221 (cvs-is-within-p): New function.
10222 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
10223 to only examine some subset of the buffers.
10225 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
10226 `format' instead of our own ad-hoc functions.
10227 Remove HEADER and FOOTER cases, now handled in the EWOC.
10228 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
10230 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
10231 output to avoid scaring the user.
10232 (cvs-parse-table): Catch message for non-up-to-date commits.
10234 * pcvs-defs.el (cvs-startup-message): Remove.
10235 (cvs-global-menu): New autoloaded menu.
10237 * pcvs-util.el (cvs-string-fill): Remove.
10239 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10240 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10241 PP part of it and also make it work for footers and headers.
10242 (ewoc-create): Drop POS and BUFFER arguments.
10243 Use the DLL's dummy node to store the end-of-footer position.
10244 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10245 (ewoc-refresh): Remove unused `header' variable.
10246 (ewoc-(get|set)-hf): New functions.
10248 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10249 log-view-*-(message|file) and use easy-mmode-define-navigation.
10250 (log-view-message-re): Match SCCS format as well.
10251 And match the revision line rather than the dashed separator line.
10252 (log-view-mode): Use the new define-derived-mode.
10253 (log-view-current-tag): Fill in with an actual implementation.
10255 * cvs-status.el (cvs-status-(prev|next)): Rename from
10256 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10257 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10258 to let the output "breathe" a little more (more readable).
10259 (cvs-status-mode): Use the new define-derived-mode.
10261 * smerge-mode.el (smerge-auto-leave): New function and variable.
10262 (smerge-basic-map): Rename from smerge-basic-keymap.
10263 Change the bindings for smerge-diff-*.
10264 (smerge-*-map): Use easy-mmode-defmap.
10265 (smerge-(next|prev)): Use easy-mmode-define-navigation.
10266 (smerge-keep-*): Use smerge-auto-leave.
10268 2000-03-21 Jason Rumney <jasonr@gnu.org>
10270 * cus-edit.el (custom-button-face): Use 3D look for w32.
10271 (custom-button-pressed-face): Likewise.
10273 2000-03-21 Gerd Moellmann <gerd@gnu.org>
10275 * progmodes/etags.el (tags-case-fold-search): New user-option.
10276 (tags-loop-eval): New function. Bind case-fold-search around eval
10277 depending on the value of tags-case-fold-search.
10278 (tags-loop-continue): Use tags-loop-eval.
10279 (find-tag-in-order): Bind case-fold-search depending on the value
10280 of tags-case-fold-search.
10282 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10284 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10285 (diff-end-of-hunk): Return the end position for use in
10286 `easy-mmode-define-navigation'.
10287 (diff-recenter): Remove.
10288 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10289 of `easy-mmode-define-navigation'.
10290 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10291 previous renaming) and fix to use new names.
10292 (diff-merge-strings): Use \n as separator: simpler, faster.
10293 (diff-mode): Use `define-derived-mode'.
10295 * derived.el (define-derived-mode): Don't autoload anymore.
10296 Prefer the macro-only version provided by easy-mmode.el.
10298 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10299 `easy-mmode-define-derived-mode'.
10300 Use `combine-run-hooks'.
10301 (easy-mmode-define-navigation): New macro.
10303 * subr.el (combine-run-hooks): New function.
10305 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
10307 * term/x-win.el: Fontsets related initialization is simplified.
10309 * international/mule-diag.el (describe-font): Don't refer to
10310 global-fontset-alist, instead call font-list.
10311 (describe-fontset, list-fontsets, mule-diag): Likewise.
10312 (print-fontset): Adjusted for the change of fontset
10315 * international/fontset.el (x-charset-registries): Variable
10316 removed, instead the corresponding data is stored in the default
10318 (register-alternate-fontnames): Function removed.
10319 (resolved-ascii-font): Variable removed.
10320 (x-compose-font-name): Ignore the second argument REDOCE.
10321 (x-complement-fontset-spec): Complement only an ASCII font and
10322 element for those charsets than can use that ASCII font.
10323 (generate-fontset-menu): Don't refer to global-fontset-alist,
10324 instead call fontset-list.
10325 (uninstantiated-fontset-alist): Variable removed.
10326 (x-style-funcs-alist): Likewise.
10327 (fontset-default-styles): Likewise.
10328 (x-modify-font-name): Function removed.
10329 (create-fontset-from-fontset-spec): Ignore the argument
10331 (create-fontset-from-ascii-font): Docsting adjusted for the above
10333 (instantiate-fontset, resolve-fontset-name): Functions removed.
10334 (fontset-list): Now implemented by C code.
10336 * faces.el (read-face-font): Fix TABLE arg to completing-read.
10337 (describe-face): Include `font' attribute in the description.
10339 2000-03-21 Kenichi Handa <handa@etl.go.jp>
10341 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10343 2000-03-20 Gerd Moellmann <gerd@gnu.org>
10345 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10346 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10347 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10349 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10350 about behavior of set-buffer-modified-p wrt redisplay.
10352 2000-03-19 Richard M. Stallman <rms@gnu.org>
10354 * view.el (view-mode-disable): Kill local binding of view-read-only.
10356 2000-03-18 Gerd Moellmann <gerd@gnu.org>
10358 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10359 is a string, convert it to a syntax cell using string-to-syntax.
10361 * simple.el (syntax-code-table, syntax-flag-table): New variables.
10362 (string-to-syntax): New function.
10364 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10365 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10366 try to use passive ftp mode.
10368 2000-03-17 Gerd Moellmann <gerd@gnu.org>
10370 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10372 * simple.el (append-to-buffer): Update point of windows after
10375 * abbrev.el (inverse-add-abbrev): Identify word by first moving
10376 forward then moving backward. Reindent.
10378 * frame.el (other-frame): Call x-focus-frame only if
10379 focus-follows-mouse is off.
10381 2000-03-17 Dave Love <fx@gnu.org>
10383 * pcvs-util.el (cvs-strings->string): Rename
10384 replace-regexps-in-string.
10386 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
10388 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10389 regexp for labels cannot span several lines.
10391 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10392 `(setq :<key> ':<key>)' to the macro expansion.
10394 2000-03-16 Dave Love <fx@gnu.org>
10396 * progmodes/f90.el (f90): Put custom group under `languages', not
10398 (f90-mode-hook): Customize.
10399 (f90-mode): Set add-log-current-defun-function.
10400 (f90-current-defun): New function.
10402 2000-03-16 Gerd Moellmann <gerd@gnu.org>
10404 * cus-edit.el (custom-variable-tag-face): Handle case that
10405 default face's height is not a number.
10406 (custom-face-tag-face, custom-group-tag-face-1)
10407 (custom-group-tag-face): Ditto.
10408 (custom-group-tag-face-1): Add :group.
10410 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10412 2000-03-15 Gerd Moellmann <gerd@gnu.org>
10414 * pcvs-defs.el (toplevel): Remove autoload cookie for form
10415 requiring easymenu.
10417 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10419 * ps-print.el: PostScript user-defined prologue, PostScript error
10421 (ps-print-version): New version number (5.1).
10422 (ps-user-defined-prologue, ps-error-handler-message)
10423 (ps-print-prologue-0, ps-error-handler-alist): New vars.
10424 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10425 (ps-insert-string): New function.
10427 2000-03-15 Kenichi Handa <handa@etl.go.jp>
10429 * international/ccl.el (ccl-compile-expression): Don't generate
10430 invalid self-assignment code.
10432 2000-03-14 Dave Love <fx@gnu.org>
10434 * subr.el (replace-regexp-in-string): Renamed from
10435 replace-regexps-in-string. Doc fix.
10437 2000-03-12 Dave Love <fx@gnu.org>
10439 * cus-edit.el: Doc fixes.
10440 (customize-set-variable, customize-save-variable): Rename args for
10442 (custom-variable-tag-face, custom-face-tag-face)
10443 (custom-group-tag-face-1, custom-group-tag-face): Modify from
10444 style which user identify as hyperlink.
10445 (hook): Don't add undefined functions to the hook.
10446 (debug-ignored-errors): Transfer message from bindings.el.
10448 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10450 * recentf.el (recentf-keep-non-readable-files-p): Remove
10451 double/nested definition.
10453 2000-03-12 Dave Love <fx@gnu.org>
10455 * facemenu.el (facemenu-get-face): Use display-color-p.
10456 * enriched.el (enriched-decode-foreground): Likewise.
10457 (enriched-decode-background): Likewise.
10458 * isearch.el (isearch-highlight): Likewise.
10459 * info-look.el (info-lookup): Likewise.
10460 * simple.el (completion-setup-function): Likewise.
10462 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10465 * bindings.el (mode-line-format): Fix line-number and
10466 column-number items. Add help-echo for the background.
10467 (mode-line-mule-info): Modify help-echo.
10469 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10472 * files.el (load-file): Allow completion to .elc.
10474 * man.el: Doc fixes.
10475 (Man-init-defvars): Use display-color-p to set fontification.
10477 * play/hanoi.el (hanoi-internal): Don't use oddp.
10479 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10481 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10483 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10485 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10487 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10490 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
10492 * font-lock.el (font-lock-keywords): Fix the doc now that
10493 regexp-opt-depth is unnecessary.
10494 (save-buffer-state): Set an edebug spec.
10495 (font-lock-fontify-anchored-keywords): Properly handle the case when
10496 the matcher goes past the limit.
10498 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10499 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10501 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
10502 dll.el and cookie.el (from Elib) with heavy renaming and other
10505 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10506 Autoload the functions used.
10507 (easy-mmode-define-syntax): Fix CL typo.
10508 (easy-mmode-define-derived-mode): Improve the docstring generation.
10510 2000-03-10 Gerd Moellmann <gerd@gnu.org>
10512 * textmodes/texinfo.el (texinfo-version): Variable and function
10515 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
10517 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10518 allow more flexibility.
10519 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10521 (easy-mmode-defmap, easy-mmode-defsyntax)
10522 (easy-mmode-define-derived-mode): New macros.
10524 2000-03-09 Didier Verna <didier@xemacs.org>
10526 * rect.el (replace-rectangle): New function.
10528 2000-03-09 Dave Love <fx@gnu.org>
10530 * progmodes/fortran.el (fortran-comment-line-start): Define as
10532 (fortran-comment-line-start-skip): Don't match cpp stuff.
10533 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
10534 (fortran-mode-map): Remove over-eager custom-menu-create for now.
10535 (fortran-mode): Don't set fortran-comment-line-start-skip,
10536 fortran-comment-line-start here. Set comment-start,
10537 add-log-current-defun.
10538 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10539 (fortran-current-defun): New function.
10541 2000-03-09 Gerd Moellmann <gerd@gnu.org>
10543 * emacs-lisp/re-builder.el: New file.
10545 * mouse.el (mouse-drag-region): Don't run up-event handler
10546 if hscroll has changed.
10548 * octave-mod.el (octave-font-lock-keywords): To font-lock the
10549 builtin operators, use `font-lock-builtin-face' for Emacs and
10550 `font-lock-preprocessor-face' otherwise.
10552 * font-lock.el (lisp-font-lock-keywords-1): Highlight
10553 `(defun (setf foo)' differently.
10555 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
10557 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10558 (regexp-opt): Update comment and adapt the code the new meaning of
10559 the `paren' argument of regex-opt-group for shy-groups.
10560 (regexp-opt-depth): Handle shy groups as well as backslashed
10562 (regexp-opt-group): Turn the leading comment into a docstring.
10563 Allow `paren' to be a string (the string to use to open a group).
10564 Remove open-presuf and close-presuf. Instead of checking for `all
10565 one-char' and then later on check for `several one-char', handle
10566 both cases close together. Also apply a more generic algorithm
10567 for suffixes (the mirror image of the algorithm used for
10568 prefixes). Use shy-groups. Use nreverse rather than reverse.
10569 (regexp-opt-try-suffix): Removed.
10571 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10572 from comint-mode-map, so we can just inherit from it. Also, move
10573 the initialization into the `defvar' since there's no docstring
10574 anyway and it's fairly short.
10575 (inferior-scheme-mode): Define it as derived-mode: the code is
10576 shorter and this way we inherit from comint-mode-map rather than
10579 * subr.el (replace-regexps-in-string): Properly handle the case
10580 where we match an empty string.
10582 * comint.el (comint-exec-1): Add the current-dir to the exec-path
10583 when the command has a directory component (such as "./testml").
10584 Also fix a typo in the comment.
10586 2000-03-08 Gerd Moellmann <gerd@gnu.org>
10588 * Makefile (compile-files): Compile files one by one because
10589 that's the only way to ensure a clean compilation environment for
10590 each individual file.
10592 * frame.el (other-frame): Call x-focus-frame.
10594 2000-03-07 Dave Love <fx@gnu.org>
10596 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10597 :require to defcustom.
10599 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
10602 * files.el (auto-mode-alist): Add configure.in.
10604 * progmodes/autoconf.el: New file.
10606 2000-03-07 Gerd Moellmann <gerd@gnu.org>
10608 * mail/mh-e.el: Change maintainer to `none'.
10610 * recentf.el (recentf-keep-non-readable-files-p): Quote args
10611 to remove-hook and add-hook.
10613 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10615 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
10617 (mail-send): Test mail-send-nonascii also for the new `mime' value.
10618 (sendmail-send-it): Conditionally add MIME headers specifying the
10619 used character set.
10621 2000-03-07 Dave Love <fx@gnu.org>
10623 * winner.el: Fix keywords, autoload cookies. Split
10624 eval-when-compile form to avoid compilation failure.
10626 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
10628 * international/mule.el: Modify comment about coding system
10629 property `coding-category'.
10630 (make-coding-system): New argument EOL-TYPE. Pay attention to
10631 coding-category property of PROPERTIES.
10633 * international/mule-conf.el (coding-category-utf-8,
10634 coding-category-utf-16-be, coding-category-utf-16-le): New coding
10635 categories. Include them in the argument for set-coding-priority.
10637 * international/mule-cmds.el (reset-language-environment): Include
10638 coding-category-utf-8, coding-category-utf-16-be, and
10639 coding-category-utf-16-le in the argument for set-coding-priority.
10640 (reset-language-environment): Initialize coding-category-utf-8,
10641 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
10643 2000-03-06 Karl Fogel <kfogel@red-bean.com>
10645 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
10646 code abstracted out of `bookmark-jump-noselect'. Now tries info
10647 extensions as well as compression extensions.
10648 (bookmark-jump-noselect): Use above new func.
10650 2000-03-03 Gerd Moellmann <gerd@gnu.org>
10652 * strokes.el: Change maintainer's mail address.
10654 2000-03-03 Kenichi Handa <handa@etl.go.jp>
10656 * international/mule-diag.el (list-character-sets): Make help-echo
10657 string by substitute-command-keys.
10658 (list-character-sets): Likewise.
10659 (sort-listed-character-sets): Call help-setup-xref.
10661 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10663 * time.el (display-time-mail-file): Add `none' to the list of
10666 2000-03-01 Dave Love <fx@gnu.org>
10668 * help.el (help-xref-go-back): Don't try to set position.
10670 * international/mule-diag.el (list-character-sets): Call
10671 help-setup-xref. Add help-echo to xrefs.
10672 (list-character-sets-1): Add help-echo to xrefs.
10674 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10676 * frame.el (blink-cursor-mode): Switch cursor on when turning
10679 * add-log.el (add-log-current-defun): Add support for
10682 * mail/rmail.el (rmail-quit-hook): New variable.
10684 2000-03-01 Dave Love <fx@gnu.org>
10686 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
10688 * help.el (help-xref-button): Add help-echo arg.
10689 (describe-function-1, describe-variable, help-make-xrefs): Use it.
10691 * faces.el (list-faces-display): Supply help-echo with
10694 * facemenu.el (list-text-properties-at): Set help-xref-stack to
10697 2000-03-01 Gerd Moellmann <gerd@gnu.org>
10699 * image.el (defimage): Look for image files in load-path.
10701 * frame.el (busy-cursor-delay-seconds): Change type to
10704 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10706 * recentf.el (recentf): Added version tag to the defgroup of
10709 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10711 * recentf.el (recentf-cleanup): Changed to remove excluded file
10713 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
10714 action to select/unselect a file.
10715 (recentf-edit-list): Code cleanup and improvement.
10716 (recentf-open-more-files-action): `recentf-open-more-files' button
10717 widget action to open a file.
10718 (recentf-open-more-files): No more use standard completion but
10720 (recentf-more-collection): Deleted.
10721 (recentf-more-history): Deleted.
10722 (recentf-setup-more-completion): Deleted.
10724 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10726 * recentf.el (recentf-mode): No more needs that Emacs is running
10727 under a window-system.
10729 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10731 * recentf.el (recentf-edit-list): New command to edit the recent
10732 list which allow the user to remove files.
10733 (recentf-edit-selected-items): New global variable, used by
10734 `recentf-edit-list' to hold the list of files to be removed from
10736 (recentf-make-menu-items): Updated to display a "Edit list..."
10737 menu item. Minor code cleanup.
10739 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10741 * recentf.el (recentf-open-more-files): New command to open files
10742 that are not displayed in the menu.
10743 (recentf-more-collection): New global variable holding the set of
10744 permissible completions used by `recentf-open-more-files'.
10745 (recentf-more-history): New global variable holding the history list
10746 used by `recentf-open-more-files' completion.
10747 (recentf-setup-more-completion): New function to setup completion for
10748 `recentf-open-more-files'.
10749 (recentf-make-menu-items): Updated to display a "More..." menu item.
10751 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10753 * recentf.el (recentf-menu-action): Doc fixed.
10755 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10757 * recentf.el (recentf-menu-filter): Doc updated.
10758 (recentf-update-menu-hook): Allow menu filters to force menu update.
10759 (recentf-make-menu-items): New menu filter handling.
10760 (recentf-make-menu-item): New helper function.
10761 (recentf-menu-elements): New menu handling function.
10762 (recentf-sort-ascending): Updated to new menu filter handling.
10763 (recentf-sort-descending): Updated to new menu filter handling.
10764 (recentf-sort-basenames-ascending): New menu filter function.
10765 (recentf-sort-basenames-descending): New menu filter function.
10766 (recentf-show-basenames): New menu filter function.
10767 (recentf-show-basenames-ascending): New menu filter function.
10768 (recentf-show-basenames-descending): New menu filter function.
10770 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10772 * diary-lib.el (list-diary-entries): Don't try to go forward at
10773 the end of the buffer.
10775 2000-02-29 Kenichi Handa <handa@etl.go.jp>
10777 * international/mule-diag.el (list-character-sets): Completely
10779 (sort-listed-character-sets): New function.
10780 (list-character-sets-1): Completely rewritten.
10781 (list-character-sets-2): New function.
10782 (non-iso-charset-alist): New variable.
10783 (decode-codepage-char): New function.
10784 (charset-history): New variable.
10785 (read-charset) (list-block-of-chars)
10786 (list-iso-charset-chars)
10787 (list-non-iso-charset-chars)
10788 (list-charset-chars): New functions.
10789 (mule-diag): Call list-character-sets-2, not
10790 list-character-sets-2.
10791 (dump-charsets): Likewise.
10793 2000-02-29 Gerd Moellmann <gerd@gnu.org>
10795 * dired-x.el (dired-filename-at-point): Add `@' to valid
10796 file name characters.
10797 (dired-filename-at-point): Handle ange-ftp file names.
10799 * frame.el (frame-notice-user-settings): Use assq-delete-all
10800 instead of assoc-delete-all.
10801 (frame-notice-user-settings): Ditto.
10803 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
10806 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
10808 * calculator.el (calculator-use-menu): New option.
10809 (calculator-initial-bindings): Changed some bindings to work as
10811 (calculator-forced-input): Removed.
10812 (calculator-restart-other-mode): New variable.
10813 (calculator-mode-map): Set up menu.
10815 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
10817 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
10820 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
10822 * viper-cmd.el (viper-envelop-ESC-key): added the option to
10823 translate all ESC key sequences.
10824 (viper-goto-mark-subr): restore markers for files for which
10826 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
10827 * viper-util.el (viper-set-replace-overlay-glyphs,
10828 viper-set-replace-overlay): always check if the replacement
10830 * viper.el (viper-vi-state-mode-list): added major modes.
10831 * ediff-wind.el: minor comment changes.
10832 * ediff.el: copyright notice date fix.
10834 2000-02-27 Jason Rumney <jasonr@gnu.org>
10836 * faces.el (face-font-family-alternatives): Add arial to helv.
10837 (mode-line, header-line, tool-bar): Same default as x for w32.
10838 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
10839 face-font-family-alternatives from working.
10840 * term/w32-win.el (mouse-set-font): Do not build fontset from
10843 2000-02-25 Sam Steingold <sds@goems.com>
10845 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
10848 2000-02-25 Richard M. Stallman <rms@gnu.org>
10850 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
10852 2000-02-25 Gerd Moellmann <gerd@gnu.org>
10854 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
10857 * frame.el (busy-cursor-delay-seconds): New option.
10859 2000-02-24 Gerd Moellmann <gerd@gnu.org>
10861 * frame.el (show-cursor-in-non-selected-windows): New option.
10863 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10865 * diary-lib.el (include-other-diary-files): Undo the selective
10866 display in any included file and don't kill it.
10868 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
10870 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
10871 bar. Menu items converted to (menu-item format, help strings
10873 [downcase, upcase]: Don't enable on MS-DOS.
10874 [symlink, symlinks]: Don't show if make-symbolic-link is not
10876 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
10878 2000-02-23 Dave Love <fx@gnu.org>
10880 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
10881 (backward-kill-word): Revert addition of * to interactive spec --
10884 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
10885 (backward-kill-sentence, kill-sentence): Likewise.
10887 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
10888 scratch buffer name.
10889 (gud-format-command): Use int-to-string in ?l case. Simplify
10892 * term/w32-win.el (internal-face-interactive): Update prompt for
10893 new read-face-name.
10895 * mail/footnote.el (footnote): Add :version to defgroup.
10896 (footnote-section-tag-regexp): Customize.
10897 (footnote-start-tag, footnote-end-tag): New option.
10898 (footnote-latin-regexp): New variable.
10899 (Footnote-latin): New function.
10900 (footnote-style-alist): Add element for latin style.
10901 (footnote-style): Moved.
10902 (Footnote-goto-footnote): Use eq to test arg.
10904 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
10906 * emacs-lisp/byte-opt.el: Change old backquote syntax.
10907 (byte-compile-trueconstp): Include keywords.
10908 (byte-optimize-quote, byte-optimize-lapcode): Use
10909 byte-compile-const-symbol-p.
10910 (byte-optimize-char-before): New optimization.
10912 * emacs-lisp/bytecomp.el: Change old backquote syntax.
10913 (byte-compile-const-symbol-p): New function.
10914 (byte-compile-constp, byte-compile-out-toplevel)
10915 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
10918 * subr.el (define-key-after): Default AFTER to t. Doc fix.
10920 2000-02-23 Kenichi Handa <handa@etl.go.jp>
10922 * international/encoded-kb.el: Be sure to update minor-mode-alist
10923 and minor-mode-map-alist.
10924 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
10925 codes SS2 and SS3 correctly.
10926 (encoded-kbd-self-insert-ccl): New function.
10927 (encoded-kbd-setup-keymap): New function.
10928 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
10929 by calling encoded-kbd-setup-keymap.
10931 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
10933 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
10936 2000-02-22 Dave Love <fx@gnu.org>
10938 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
10939 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
10941 (lisp-mode-syntax-table): Set up for #|...|# comments.
10942 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
10943 classes. Match `defface'.
10944 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
10945 (eval-defun-1): Fix for defcustom.
10946 (lisp-indent-region): Doc fix.
10948 * subr.el (when, unless, split-string): Doc fix.
10949 (read-passwd): Move call of clear-this-command-keys to the right
10951 (replace-regexps-in-string): New function.
10953 2000-02-22 Gerd Moellmann <gerd@gnu.org>
10955 * help.el (describe-variable): Set syntax table to
10956 emacs-lisp-mode-syntax-table when moving forward over the
10959 2000-02-22 Dave Love <fx@gnu.org>
10961 * xt-mouse.el: Doc fixes.
10962 (xterm-mouse-position-function): New function, replacing advice of
10964 (xterm-mouse-mode): Use it. Don't turn on under a window system.
10966 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
10968 2000-02-21 Gerd Moellmann <gerd@gnu.org>
10970 * format.el (format-annotate-single-property-change): Handle
10971 properties.with dotted-list values.
10972 (format-proper-list-p): New function.
10974 * enriched.el (enriched-face-ans): Handle '(foreground-color
10975 . COLOR) and (background-color . COLOR).
10977 2000-02-20 Dave Love <fx@gnu.org>
10979 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
10980 and assignments to it.
10981 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
10983 (make-flyspell-overlay): Use it.
10984 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
10986 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
10987 (lm-get-header-re): Defun, not defsubst.
10988 (lm-get-package-name): Defun, not defsubst. Simplify.
10989 (lm-version): Doc fix. Simplify.
10990 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
10991 (lm-crack-address, lm-last-modified-date, lm-commentary)
10992 (lm-verify, lm-synopsis): Simplify.
10993 (lm-report-bug): Require emacsbug. Use compose-mail.
10995 2000-02-20 Gerd Moellmann <gerd@gnu.org>
10997 * dired.el (dired-mode): Call propertized-buffer-identification
10998 to set mode-line-buffer-identification to something having
10999 the right text properties.
11001 * bindings.el (propertized-buffer-identification): New function.
11003 2000-02-20 Dave Love <fx@gnu.org>
11005 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
11006 check for t-mouse too.
11008 * cus-start.el: Make echo-keystrokes `number'.
11010 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
11012 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
11013 Don't call ring-empty-p unless tags-location-ring is bound.
11014 From Noah Friedman <friedman@splode.com>.
11016 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
11018 * progmodes/hideshow.el (hs-flag-region): No longer use
11019 `intangible' overlay property.
11021 (hs-toggle-hiding): New command.
11022 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
11024 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
11025 Fix omission bug: Run `hs-minor-mode-hook' for both activation
11028 2000-02-18 Gerd Moellmann <gerd@gnu.org>
11030 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
11032 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11034 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
11036 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
11037 of `*' to handle `(* ... *)' comments.
11039 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
11041 * faces.el (list-faces-display): Use display-mouse-p instead of
11044 * menu-bar.el (global-map): Menu-bar items converted to the new
11045 format (menu-item..., rearranged for better CUA compliance, and
11046 their names changed for better clarity. Help strings added.
11048 * international/mule-cmds.el (mule-menu-keymap)
11049 (describe-language-environment-map, set-coding-system-map)
11050 (setup-language-environment-map): Convert to new (menu-item...
11051 form, add help strings. Change names of menu items for better
11052 clarity. "Mule" menu-bar item removed (it's now in the "Options"
11055 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11057 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
11060 2000-02-16 Dave Love <fx@gnu.org>
11062 * faces.el: Don't require custom. Add more specific :groups to
11064 (set-face-attribute): Purecopy args.
11065 (read-face-name): Default to name at point and use it in prompt.
11066 Remove colon from arg in all callers.
11067 (list-faces-display): Hyperlink to face descriptions and customize
11070 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
11072 * wid-edit.el (widget-match-inline): An atom never matches a
11075 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11077 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11078 at ':' characters by call to split-string.
11080 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11082 * textmodes/bibtex.el: Added RCS version identification.
11084 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11086 * textmodes/bibtex.el: Some temporary comments removed.
11087 (bibtex-field-name, bibtex-entry-type): Made the relationship
11089 (bibtex-field-const): Allow capital letters.
11090 (bibtex-start-of-string): Deleted because unused.
11092 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11093 use the term 'reference' to describe a bibtex entry as a whole.
11094 Further, reference keys are no longer called 'labels'.
11095 (bibtex-keys): Renamed to bibtex-reference-keys.
11096 (bibtex-reformat-previous-labels): Renamed to
11097 bibtex-reformat-previous-reference-keys.
11098 (bibtex-reference-type): Renamed to bibtex-entry-type.
11099 (bibtex-reference-head): Renamed to bibtex-entry-head.
11100 (bibtex-reference-maybe-empty-head): Renamed to
11101 bibtex-entry-maybe-empty-head.
11102 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11103 (bibtex-search-reference): Renamed to bibtex-search-entry.
11104 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11105 bibtex-enclosing-entry-maybe-empty-head.
11106 (bibtex-entry-field-alist, bibtex-entry-head,
11107 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11108 bibtex-map-entries, bibtex-search-entry,
11109 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11110 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11111 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11112 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11113 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11114 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11115 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11117 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11119 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11121 (bibtex-format-field-delimiters): New function, functionality
11122 extracted from bibtex-format-entry.
11123 (bibtex-autokey-get-yearfield-digits): New function, functionality
11124 extracted from bibtex-autokey-get-yearfield.
11126 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11127 entries in order to avoid stack overflow in the regexp matcher if
11128 field contents become large.
11129 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11130 bibtex-field-string-part-not-braced,
11131 bibtex-field-string-part-no-inner-braces,
11132 bibtex-field-string-part-1-inner-brace,
11133 bibtex-field-string-part-2-inner-braces,
11134 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11135 bibtex-field-string-quoted, bibtex-field-string,
11136 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11137 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11138 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11139 as parsing is now performed by the following functions.
11140 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11141 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11142 bibtex-parse-field-string, bibtex-search-forward-field-string,
11143 bibtex-parse-association, bibtex-field-name-for-parsing,
11144 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11145 bibtex-search-forward-field, bibtex-search-backward-field,
11146 bibtex-start-of-field, bibtex-end-of-field,
11147 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11148 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11149 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11150 bibtex-parse-string, bibtex-search-forward-string,
11151 bibtex-search-backward-string, bibtex-start-of-string,
11152 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11153 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11154 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11155 entries. Instead of reporting the results of the parsing by
11156 match-beginning or match-end, these functions return data structures
11157 that hold the corresponding positions.
11158 (bibtex-enclosing-field): Changed to also report field boundaries by
11159 return values rather than by match-beginning or match-end. The
11160 following functions have been adapted to use the new parsing
11162 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11163 bibtex-enclosing-field, bibtex-format-entry,
11164 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11165 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11166 bibtex-print-help-message, bibtex-end-of-entry,
11167 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11168 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11169 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11170 method for parsing.
11171 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11172 bibtex-map-entries, bibtex-flash-head,
11173 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11174 bibtex-autokey-change, bibtex-autokey-get-namefield,
11175 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11176 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11177 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11178 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11179 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11180 order to make the new binding of case-fold-search immediately
11183 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11185 * textmodes/bibtex.el: Copyright notice is up to date.
11186 Added constant 'bibtex-maintainer-salutation.
11188 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11189 than make-temp-name, use match-string-no-properties and eliminate
11190 a quadratic behavior when building bibtex-strings.
11192 * bibtex.el (bibtex-reference-key): Accept string entries whose
11193 reference key contains upper case letters.
11195 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11197 * bibtex.el (bibtex-reference-head): Allow entries to start with
11200 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11202 * bibtex.el: Hiding of entry bodies is not longer provided by
11203 bibtex.el directly. Instead the hideshow package can be used.
11204 Added a special bibtex entry to hs-special-modes-alist.
11205 (bibtex-hs-forward-sexp): Added for hideshow.el.
11207 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11209 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11210 at ':' characters by call to split-string.
11212 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11214 * textmodes/bibtex.el: Added RCS version identification.
11216 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11218 * textmodes/bibtex.el: Some temporary comments removed.
11219 (bibtex-field-name, bibtex-entry-type): Made the relationship
11221 (bibtex-field-const): Allow capital letters.
11222 (bibtex-start-of-string): Deleted because unused.
11224 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11225 use the term 'reference' to describe a bibtex entry as a whole.
11226 Further, reference keys are no longer called 'labels'.
11227 (bibtex-keys): Renamed to bibtex-reference-keys.
11228 (bibtex-reformat-previous-labels): Renamed to
11229 bibtex-reformat-previous-reference-keys.
11230 (bibtex-reference-type): Renamed to bibtex-entry-type.
11231 (bibtex-reference-head): Renamed to bibtex-entry-head.
11232 (bibtex-reference-maybe-empty-head): Renamed to
11233 bibtex-entry-maybe-empty-head.
11234 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11235 (bibtex-search-reference): Renamed to bibtex-search-entry.
11236 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11237 bibtex-enclosing-entry-maybe-empty-head.
11238 (bibtex-entry-field-alist, bibtex-entry-head,
11239 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11240 bibtex-map-entries, bibtex-search-entry,
11241 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11242 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11243 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11244 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11245 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11246 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11247 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11249 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11251 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11253 (bibtex-format-field-delimiters): New function, functionality
11254 extracted from bibtex-format-entry.
11255 (bibtex-autokey-get-yearfield-digits): New function, functionality
11256 extracted from bibtex-autokey-get-yearfield.
11258 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11259 entries in order to avoid stack overflow in the regexp matcher if
11260 field contents become large.
11261 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11262 bibtex-field-string-part-not-braced,
11263 bibtex-field-string-part-no-inner-braces,
11264 bibtex-field-string-part-1-inner-brace,
11265 bibtex-field-string-part-2-inner-braces,
11266 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11267 bibtex-field-string-quoted, bibtex-field-string,
11268 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11269 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11270 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11271 as parsing is now performed by the following functions.
11272 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11273 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11274 bibtex-parse-field-string, bibtex-search-forward-field-string,
11275 bibtex-parse-association, bibtex-field-name-for-parsing,
11276 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11277 bibtex-search-forward-field, bibtex-search-backward-field,
11278 bibtex-start-of-field, bibtex-end-of-field,
11279 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11280 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11281 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11282 bibtex-parse-string, bibtex-search-forward-string,
11283 bibtex-search-backward-string, bibtex-start-of-string,
11284 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11285 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11286 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11287 entries. Instead of reporting the results of the parsing by
11288 match-beginning or match-end, these functions return data structures
11289 that hold the corresponding positions.
11290 (bibtex-enclosing-field): Changed to also report field boundaries by
11291 return values rather than by match-beginning or match-end. The
11292 following functions have been adapted to use the new parsing
11294 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11295 bibtex-enclosing-field, bibtex-format-entry,
11296 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11297 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11298 bibtex-print-help-message, bibtex-end-of-entry,
11299 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11300 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11301 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11302 method for parsing.
11303 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11304 bibtex-map-entries, bibtex-flash-head,
11305 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11306 bibtex-autokey-change, bibtex-autokey-get-namefield,
11307 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11308 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11309 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11310 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11311 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11312 order to make the new binding of case-fold-search immediately
11315 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11317 * textmodes/bibtex.el: Copyright notice is up to date.
11318 Added constant 'bibtex-maintainer-salutation.
11320 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11321 than make-temp-name, use match-string-no-properties and eliminate
11322 a quadratic behavior when building bibtex-strings.
11324 * bibtex.el (bibtex-reference-key): Accept string entries whose
11325 reference key contains upper case letters.
11327 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11329 * bibtex.el (bibtex-reference-head): Allow entries to start with
11332 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11334 * bibtex.el: Hiding of entry bodies is not longer provided by
11335 bibtex.el directly. Instead the hideshow package can be used.
11336 Added a special bibtex entry to hs-special-modes-alist.
11337 (bibtex-hs-forward-sexp): Added for hideshow.el.
11339 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11341 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11342 proceedings entry type (for cross referencing). Thanks to Wagner
11343 Toledo Correa for the suggestion.
11345 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11347 2000-02-14 Kenichi Handa <handa@etl.go.jp>
11349 * international/characters.el: Setup case table for Vietnamese.
11351 2000-02-12 Gerd Moellmann <gerd@gnu.org>
11353 * uniquify.el (toplevel): Require CL at compile time.
11354 (uniquify-push): Removed.
11356 * shadowfile.el (shadow-when): Removed.
11358 * tempo.el (tempo-dolist, tempo-mapc): Removed.
11359 (tempo-process-and-insert-string): Use dolist instead of
11362 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11363 regexp for paragraph-start.
11365 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11368 2000-02-10 Dave Love <fx@gnu.org>
11370 * wid-edit.el: (widgets) [defgroup]: Remove url link.
11371 (widget-color-choice-list, widget-color-history, widget-mouse-help):
11373 (widget-specify-field, widget-specify-button): Don't use
11374 widget-mouse-help as help-echo property.
11375 (default): Use #'ignore for :validate and :mouse-down-action.
11376 (checkbox): Add help-echo.
11377 (widget-sexp-validate): Rewritten to clarify error messages.
11378 (character): Use char-valid-p in :match function.
11379 (widget-color-complete): Use facemenu-color-alist.
11380 (widget-color-action): Use facemenu-read-color.
11382 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
11383 set up `caar' &c that we now have.
11385 2000-02-09 Ray Blaak <blaak@gnu.org>
11387 * delphi.el: Make resourcestring a declaration region, like const
11390 2000-02-09 Dave Love <fx@gnu.org>
11392 * bindings.el (mode-line-input-method-map): New variable.
11393 (mode-line-mule-info): Use it; fix last change.
11394 (mode-line-mode-menu): Move definition.
11395 (mode-line-mouse-sensitive-p): Deleted.
11396 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11397 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
11400 * startup.el (command-line-1): Don't call
11401 make-mode-line-mouse-sensitive.
11403 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11405 * mail/rmail.el (rmail-retry-failure): Use
11406 rmail-beginning-of-message before rmail-toggle-header, because the
11407 former toggles headers.
11409 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
11411 * diff-mode.el (diff-kill-junk): New interactive function.
11412 (diff-reverse-direction): Use delete-and-extract-region.
11413 (diff-post-command-hook): Restrict the area so that the hook also works
11414 outside of any diff hunk. This is necessary for the minor-mode.
11415 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11416 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11418 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11419 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11420 so that it can be used more easily in <foo>-mode-hook. Also make sure
11421 to avoid duplicate entries.
11422 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11423 (font-lock-remove-keywords): Just as was done for `add', allow it to
11424 work even if font-lock-mode is nil. Also make sure we don't modify
11425 any pre-existing list by forcing a copy-sequence. Finally rename
11426 `major-mode' to `mode'.
11427 (font-lock-fontify-syntactic-anchored-keywords)
11428 (font-lock-fontify-anchored-keywords)
11429 (font-lock-fontify-keywords-region): Use line-end-position.
11430 Don't make `font-lock-multiline' local (it's now done in
11431 font-lock-set-defaults).
11432 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
11433 move the `font-lock-fontified' creation to inside the `unless'.
11435 2000-02-06 Andrew Innes <andrewi@gnu.org>
11437 * term/w32-win.el (x-handle-args): Comment out call to message,
11438 which occurs before window system is initialized.
11440 * makefile.nt: Add support for recompiling lisp code.
11442 2000-02-04 Dave Love <fx@gnu.org>
11444 * bindings.el (mode-line-mule-info): Fix/extend last change.
11446 * completion.el: Replace completion-dolist with dolist.
11448 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11451 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
11453 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11454 environment names before they go into the section regexp.
11456 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11457 char class in regexp.
11459 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11460 `case-fold-search' to nil.
11462 * progmodes/idlwave.el (idlwave-template): Respect
11463 `idlwave-abbrev-change-case'.
11464 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11465 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11466 idlwave-while): respect `idlwave-reserved-word-upcase'.
11467 (idlwave-rw-case): New function.
11468 (idlwave-statement-match): Fixed problem with assignment regexp.
11469 (idlwave-font-lock-keywords): Improved regexp for keyword
11471 (idlwave-surround): New argument LENGTH to support padding of
11472 operators longer than 1 char.
11474 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11475 idlwave-shell-expression-overlay. Implemented printing of
11476 expressions on higher levels of the calling stack.
11477 (idlwave-shell-display-level-in-calling-stack): Restore stack
11479 (idlwave-retrieve-expression-from-level): New function.
11480 (idlwave-shell-last-calling-stack): Variable removed.
11481 (idlwave-shell-reset): Argument action reversed (`visible' to
11482 `hidden'). Also remove stop-line overlay.
11483 (idlwave-shell-calling-stack-routine): New variable.
11484 (idlwave-shell-parse-stack-and-display): Messages now display
11485 negative level numbers.
11486 (idlwave-shell-mode): Set `modeline-format'.
11487 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11488 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11490 (idlwave-shell-print-expression-function): New option.
11492 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11493 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11494 `tool-bar' instead of `toolbar'.
11496 2000-02-02 Dave Love <fx@gnu.org>
11498 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11499 emacs-lisp-mode-hook. Don't check for defalias being defined.
11501 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11502 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
11503 the new builtins directly.
11505 * whitespace.el (whitespace): Add :version to defgroup.
11507 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11510 * thingatpt.el (sexp-at-point, symbol-at-point)
11511 (number-at-point, list-at-point): Add autoload cookie.
11513 * recentf.el (recentf): Add :version to defgroup.
11515 * quickurl.el (quickurl): Add :version to defgroup.
11517 * elide-head.el (elide-head): Use point-marker more.
11519 * bs.el (bs): Add :version to defgroup.
11521 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11523 * progmodes/delphi.el (delphi): Add :version to defgroup.
11525 2000-02-02 Gerd Moellmann <gerd@gnu.org>
11527 * ange-ftp.el (ange-ftp-write-region): Handle case that
11528 succeeding process operation sets a different coding system.
11530 * calculator.el: New file.
11532 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
11534 * frame.el (frames-on-display-list, framep-on-display): New
11536 (display-mouse-p, display-popup-menus-p, display-graphic-p)
11537 (display-selections-p, display-screens, display-pixel-width)
11538 (display-pixel-height, display-mm-width, display-mm-height)
11539 (display-backing-store, display-save-under, display-planes)
11540 (display-color-cells, display-visual-class): New functions.
11542 * term/tty-colors.el (tty-color-gray-shades): New function.
11544 * faces.el (display-color-p): Use framep-on-display.
11545 (display-grayscale-p): New function.
11547 2000-01-31 Dave Love <fx@gnu.org>
11549 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11550 (create-fontset-from-x-resource): Don't concat integers.
11552 2000-01-31 Inge Frick <inge@nada.kth.se>
11554 * view.el: Some changes in documentation. Removed some trailing
11555 whitespace. Changed some parameter names to agree with
11557 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11558 window is not deleted. Modifies change 1998-04-26.
11560 2000-01-31 Gerd Moellmann <gerd@gnu.org>
11562 * windmove.el: New file.
11564 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11565 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11566 progmodes/ebnf-yac.el: Update copyright and license info.
11568 * jit-lock.el (jit-lock-function): Widen before calculating end
11570 (jit-lock-stealth-chunk-start): Rewritten.
11572 * info.el (Info-title-face-alist): Removed.
11573 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11575 (Info-fontify-node): Use these faces.
11577 2000-01-30 Gerd Moellmann <gerd@gnu.org>
11579 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11580 (cl-macro-list1): Recognize `&allow-other-keys' instead of
11581 `&allow-other-keywords'.
11583 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11584 the list of directories scanned heuristically.
11586 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11589 2000-01-30 Jason Rumney <jasonr@gnu.org>
11591 * w32-fns.el: Define w32-tty-standard-colors.
11593 * startup.el (command-line): Use w32-tty-standard-colors when in
11596 2000-01-30 Dave Love <fx@gnu.org>
11598 * jka-compr.el (jka-compr-load): Fix up load-history.
11600 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
11602 * emacs-lisp/cl-macs.el: Revert previous change.
11604 2000-01-29 Dave Love <fx@gnu.org>
11606 * facemenu.el: Purecopy various strings.
11608 * timezone.el (timezone-fix-time): Window against 69 for two-digit
11609 years. Deal with three-digit years.
11611 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
11612 defconst, purecopy.
11613 (help-back-label): Purecopy it.
11615 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11617 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
11618 variable. If non-nil, order the buffer list according to the
11619 currently selected frame.
11620 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
11621 non-nil, pass the selected frame to function buffer-list.
11623 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11625 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
11627 2000-01-28 Dave Love <fx@gnu.org>
11629 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
11631 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
11632 Don't use lisp-indent-hook property.
11635 * subr.el: Move out indent and edebug specs for when and unless.
11637 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
11640 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
11643 2000-01-28 Gerd Moellmann <gerd@gnu.org>
11645 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
11646 `collecting' as synonym for `collect'.
11648 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
11649 for the case it contains spaces.
11651 * simple.el (what-cursor-position): Change formatting of
11654 * frame.el (delete-other-frames): New function.
11655 (toplevel): Bind it to C-x 5 1.
11657 * sort.el (sort-numeric-base): New option.
11658 (sort-numeric-fields): If number starts with `0' or `0[xX[',
11659 interpret it as octal or hexadecimal. Use sort-numeric-base
11662 * progmodes/glasses.el: New file.
11664 2000-01-27 Gerd Moellmann <gerd@gnu.org>
11666 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
11667 userids differently.
11669 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11670 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11671 progmodes/ebnf-yac.el: New files.
11673 2000-01-26 Dave Love <fx@gnu.org>
11675 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
11676 on a function with an empty body. [From Eric Ludlam.]
11678 2000-01-25 Andre Spiegel <spiegel@gnu.org>
11680 * vc.el (vc-version-diff): Make sure file name is expanded.
11682 2000-01-25 Gerd Moellmann <gerd@gnu.org>
11684 * scroll-bar.el (scroll-bar-timer): Variable removed.
11685 (scroll-bar-toolkit-scroll): Don't use a timer.
11687 2000-01-25 Kenichi Handa <handa@etl.go.jp>
11689 * language/thai-util.el (thai-composition-function): Delete
11692 2000-01-24 Dave Love <fx@gnu.org>
11694 * fortran.el (fortran-mode): Use beginning-of-defun-function,
11695 end-of-defun-function.
11697 * font-lock.el (turn-on-font-lock): Don't depend on window-system
11700 2000-01-22 Jason Rumney <jasonr@gnu.org>
11702 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
11703 conflicts with new face support.
11705 2000-01-22 Richard M. Stallman <rms@gnu.org>
11707 * replace.el (query-replace): Rename last arg to DELIMITED.
11708 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
11709 (query-replace-regexp): Likewise.
11711 2000-01-20 Richard M. Stallman <rms@gnu.org>
11713 * subr.el (with-syntax-table): Use make-symbol, not gensym.
11715 * emacs-lisp/lisp.el (beginning-of-defun-function):
11716 Variable renamed from beginning-of-defun.
11717 Do not call make-variable-buffer-local.
11718 (beginning-of-defun-raw): Use new variable name; doc fix.
11719 (beginning-of-defun): Doc fix.
11720 (end-of-defun-function): Variable renamed from end-of-defun.
11721 Do not call make-variable-buffer-local.
11722 (end-of-defun): Use new variable name; doc fix.
11724 * subr.el (dolist, dotimes): Copied from cl-macs.el
11727 * mail/undigest.el (rmail-digest-end-regexps):
11728 Variable replaces rmail-digest-end-regexp.
11729 Allows multiple regexps for detecting the end line.
11730 (undigestify-rmail-message): Corresponding changes.
11732 2000-01-19 Dave Love <fx@gnu.org>
11734 * files.el (user-init-file): Don't declare here -- is primitive.
11736 * startup.el (command-line): Check for compiled user-init-file and
11737 set to uncompiled version if necessary.
11739 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11741 * mail/undigest.el (rmail-digest-end-regexp): New user option.
11742 (undigestify-rmail-message): Use it.
11744 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
11746 2000-01-17 Gerd Moellmann <gerd@gnu.org>
11748 * tmm.el (tmm-goto-completions): Adapt to prompt being part
11751 2000-01-14 Gerd Moellmann <gerd@gnu.org>
11753 * emacs-lisp/copyright.el (copyright-update): Removed the
11754 requirement for a trailing space from `copyright-regexp', to
11755 support copyrights with owner specified on a separate line..
11757 * align.el: New file.
11759 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
11761 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
11763 2000-01-13 Dave Love <fx@gnu.org>
11765 * ph.el: Removed. (Obsoleted by EUDC.)
11767 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11769 * net/eudc.el (toplevel): Remove autoloaded code installing
11770 menu with easymenu, because that causes build problems.
11772 * frame.el (frame-notice-user-settings): New variable.
11773 (frame-notice-user-settings): Don't modify frame parameters
11774 if called a second time.
11776 2000-01-13 Richard M. Stallman <rms@gnu.org>
11778 * frame.el (frame-notice-user-settings):
11779 Notice default-frame-parameters even for non-window frames.
11781 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11783 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
11785 (eudc-bob-can-display-inline-images): Extend for Emacs.
11786 (eudc-bob-toggle-inline-display): Ditto.
11787 (eudc-bob-display-jpeg): Ditto.
11789 2000-01-12 Gerd Moellmann <gerd@gnu.org>
11791 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
11792 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
11793 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
11795 * add-log.el (add-change-log-entry): Fix error trying an `(insert
11798 * subdirs.el: Add `net' directory.
11800 * net: New directory.
11802 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
11803 eval-last-sexp. Don't bind debug-on-error here.
11804 (eval-last-sexp): New function. Bind debug-on-error if
11805 eval-expression-debug-on-error is non-nil.
11806 (eval-defun-2, eval-defun): Likewise.
11808 * simple.el (eval-expression): Don't bind debug-on-error if
11809 eval-expression-debug-on-error is nil. Detect changed
11810 debug-on-error, and propagate new value to global binding, if
11811 eval-expression-debug-on-error is non-nil,
11812 (eval-expression-debug-on-error): Change doc string.
11814 2000-01-11 Richard M. Stallman <rms@gnu.org>
11816 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
11818 * emacs-lisp/lisp-mode.el (with-syntax-table):
11819 Set up lisp-indent-function property.
11821 * subr.el (with-syntax-table): Moved from simple.el.
11823 * simple.el (with-syntax-table): Moved to subr.el.
11825 2000-01-11 Gerd Moellmann <gerd@gnu.org>
11827 * tmm.el (tmm-shortcut): Delete region after prompt instead
11830 * textmodes/fill.el (fill-common-string-prefix): New function.
11831 (fill-context-prefix): Use the longest common prefix of first
11832 and second line fill prefix, if there is one.
11834 2000-01-11 Richard M. Stallman <rms@gnu.org>
11836 * array.el (array-mode): Don't use make-variable-buffer-local.
11837 Use make-local-variable for `truncate-lines'.
11839 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
11841 * add-log.el (add-log-current-defun): Handle user-defined
11842 add-log-current-function returning nil,
11844 * add-log.el (add-change-log-entry): Insert version number
11845 if having found a current function
11847 * add-log.el (add-log-current-defun): Call
11848 `add-log-current-defun-function'. Try matches at level 0 and
11849 level 1. Strip whitespace from defun found.
11851 2000-01-10 John Wiegley <johnw@gnu.org>
11853 * allout.el (isearch-done/outline-provisions): Added `edit'
11854 argument to correspond with the current definition of
11857 2000-01-10 Dave Love <fx@gnu.org>
11859 * elide-head.el (elide-head): Use point-marker, not point.
11861 2000-01-10 Gerd Moellmann <gerd@gnu.org>
11863 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
11864 before and after the year 2000.
11866 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
11867 Add ispell- prefix.
11869 2000-01-10 Ken Stevens <k.stevens@ieee.org>
11871 * ispell.el: Only define dictionaries in menus when they exist.
11872 (version18p): New variable.
11873 (version20p): New variable.
11874 (xemacsp): New variable.
11875 (ispell-choices-win-default-height): Fix for XEmacs visibility.
11876 (ispell-dictionary-alist1): Added Brasileiro dictionary.
11877 (ispell-dictionary-alist6): Russian command lines no longer accept
11878 run-together words.
11879 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
11880 (ispell-dictionary-alist): Add koi8-r to customize definition.
11881 (check-ispell-version): Added documentation string. Returns
11882 library path when called non-interactively.
11883 (ispell-menu-map-needed): Uses new variables.
11884 (ispell-library-path): New variable.
11885 (ispell-decode-string): XEmacs fix for bogus variable bindings.
11886 (ispell-word): Improved documentation string. Test for valid
11887 character mappings. Correctly check typed in word changes that can
11888 result in single words split into multiple words. Returns
11890 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
11891 replace in recursive query replace mode. Help message for
11892 recursive edit mode.
11893 (ispell-show-choices): Protect against bad framepop bindings.
11894 (ispell-help): Fix to work with XEmacs.
11895 (ispell-highlight-spelling-error): Use new variables.
11896 (ispell-overlay-window): Fix to work with XEmacs.
11897 (ispell-parse-output): Passed and returns location information
11898 tracking spelling corrections. Doesn't recheck same word on
11900 (ispell-init-process): Protect against bogus XEmacs variable binding.
11901 Fix call to single argument in sleep-for. Use new variables.
11902 (ispell-region): Passed and returns location information tracking
11903 spelling corrections. Doesn't check same word on current line.
11904 Improved documentation string. Doesn't resend a line already
11905 checked to the ispell process - fixes bug in LaTeX parsing.
11906 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
11907 (ispell-skip-region): No longer skips <TT> in SGML.
11908 (ispell-process-line): Tracks location information with spelling
11909 corrections. Added documentation string. Accounts for words
11910 already accepted on this line. Don't allow query-replace on line
11911 starting with math characters. Doesn't resend a line already sent
11912 to ispell process. Fixes alignment error bug.
11914 2000-01-10 Richard M. Stallman <rms@gnu.org>
11916 * dired-x.el (dired-guess-shell-alist-default):
11917 Suggest xloadimage, which is free, not xv, which isn't.
11919 * ange-ftp.el (ange-ftp-file-name-nondirectory):
11920 Don't ever include the host name or user name in the value.
11922 2000-01-09 Gerd Moellmann <gerd@gnu.org>
11924 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
11927 2000-01-09 Stephen Eglen <stephen@gnu.org>
11929 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
11932 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
11934 * cus-edit.el (custom-hook-convert-widget): Fix comment.
11936 2000-01-09 Gerd Moellmann <gerd@gnu.org>
11938 * progmodes/cperl-mode.el: Replace ^F with ^L.
11940 * sendmail.el (toplevel): Provide `sendmail' when compiling
11941 before `require'ing rmail and mailalias to prevent infinite
11944 2000-01-08 Dave Love <fx@gnu.org>
11946 * emacs-lisp/backquote.el: Remove inappropriate customization
11947 (allowing custom.el to use backquote).
11949 2000-01-07 Dave Love <fx@gnu.org>
11951 * add-log.el (add-log-debugging): Deleted.
11952 (add-change-log-entry): Treat a backup FILE-NAME as its parent
11953 file. Remove debugging code.
11954 (change-log-get-method-definition, change-log-name): Add doc.
11955 (change-log-sortable-date-at): New function.
11956 (change-log-merge): New command.
11958 * time.el (display-time-string-forms): Make the Mail string active.
11959 (display-time-update): Provide help-echo for load average.
11961 * bindings.el (make-mode-line-mouse2-map): New function.
11962 (mode-line-modified): Use it and simplify.
11963 (mode-line-mule-info): Provide help-echo info.
11964 (minor-mode-alist): Activate the strings.
11965 (make-mode-line-mouse-sensitive): Simplify for
11966 mode-line-buffer-identification.
11968 2000-01-07 Gerd Moellmann <gerd@gnu.org>
11970 * play/pong.el: New file.
11972 2000-01-06 Dave Love <fx@gnu.org>
11974 * array.el: Assorted cleanups for compiler warnings, doc strings,
11975 `array-' prefix for symbols.
11977 2000-01-05 Dave Love <fx@gnu.org>
11979 * textmodes/outline.el (outline-mode-menu-bar-map): Add
11980 outline-headers-as-kill.
11981 (outline-mode): Define imenu-generic-expression.
11982 (outline-headers-as-kill): New command.
11984 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
11985 from paragraph-start.
11986 (paragraph-indent-minor-mode): New command.
11988 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
11989 M-C-e, M-C-h, C-j, C-xnd, TAB.
11990 (fortran-mode): Set beginning-of-defun, end-of-defun.
11991 (fortran-column-ruler): Simplify.
11992 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
11993 (fortran-with-subprogram-narrowing): Likewise.
11994 (fortran-indent-subprogram): Call mark-defun.
11995 (fortran-check-for-matching-do): Change narrowing.
11997 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
11998 (cl-lucid-hash-tag): Delete.
11999 (cl-hash-table-p): Correct test for native table.
12000 (cl-hash-table-count): Use hash-table-count.
12002 * browse-url.el (browse-url): Fix case of
12003 browse-url-browser-function being an alist.
12005 2000-01-05 Carsten Dominik <cd@gnu.org>
12007 * textmodes/reftex-vars.el (reftex-parse-file-extension)
12008 (reftex-index-phrase-file-extension): New options.
12010 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
12011 Use new option `reftex-index-phrase-file-extension'.
12013 * textmodes/reftex.el (reftex-access-parse-file): Use new option
12014 `reftex-parse-file-extension'.
12016 2000-01-05 Dave Love <fx@gnu.org>
12018 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
12019 (beginning-of-defun-raw): Use it.
12020 (end-of-defun): New variable.
12021 (end-of-defun): Use it.
12022 (check-parens): New command.
12024 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
12026 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
12027 (hs-show-block): Don't use `mapcar' when not accumulating.
12029 Fix buglet in local variables initialization.
12031 2000-01-05 Andreas Schwab <schwab@suse.de>
12033 * hscroll.el (hscroll): Doc fix.
12035 2000-01-05 Carsten Dominik <cd@gnu.org>
12037 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
12040 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
12041 file idlw-rinfo.el.
12042 (idlwave-customize): load must read file idlw-shell.el.
12043 (idlwave-create-customize-menu): load must read file idlw-shell.el.
12045 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
12047 * progmodes/idlw-shell.el: Also provide idlwave-shell
12048 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
12049 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
12051 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
12052 both reftex-dcr and reftex-vcr.
12054 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
12056 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12058 * ps-print.el: PostScript code now is in separate files, doc fix.
12059 (ps-print-version): New version number (5.0.3).
12060 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
12062 (ps-spool-config): Initialization fix.
12063 (ps-print-prologue-1, ps-print-prologue-2)
12064 (ps-print-duplex-feature): PostScript code moved to separated file.
12065 (ps-background-image): Little code reformating.
12066 (ps-begin-file, ps-begin-job): Fix code.
12067 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
12068 (ps-prologue-file): New fun.
12070 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12072 * ps-vars.el: Eliminated.
12074 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
12077 * ps-print.el: ps-vars eliminated, doc fix.
12078 (ps-print-version): New version number (5.0.2).
12079 (ps-spool-config): Initialization fix.
12080 (ps-print-customize): New fun.
12082 2000-01-04 Gerd Moellmann <gerd@gnu.org>
12084 * autorevert.el (auto-revert-mode): Return value of
12087 2000-01-04 Dave Love <fx@gnu.org>
12089 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
12092 2000-01-03 Dave Love <fx@gnu.org>
12094 * elide-head.el (elide-head) [defgroup]: Add :version.
12096 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
12097 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
12098 `cl-hash-table-p', not `hash-table-p'.
12099 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
12101 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12103 * faces.el (face-read-integer, read-face-attribute)
12104 (color-defined-p, color-values): unspecified-{f,b}g are now
12107 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
12109 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
12110 at comment end, and re-insert them after filling.
12112 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12114 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
12115 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
12116 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
12118 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12120 * term/x-win.el (xw-defined-colors): Call color-supported-p,
12121 the new name of face-color-supported-p.
12123 * term/w32-win.el (xw-defined-colors): Likewise.
12125 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12127 * simple.el (completion-setup-function): Count completion-size
12128 from minibuffer-prompt-end, not from point-min.
12130 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
12132 * faces.el (read-face-attribute, defined-colors, color-defined-p):
12133 Pass the frame to tty-color-* functions.
12134 (display-color-p, frame-set-background-mode): Pass the frame to
12135 tty-display-color-p.
12137 * term/tty-colors.el (tty-defined-color-alist): Renamed from
12139 (tty-color-alist, tty-modify-color-alist): New functions.
12140 (tty-color-define, tty-color-clear, tty-color-approximate)
12141 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
12142 an optional parameter FRAME.
12144 2000-01-01 Gerd Moellmann <gerd@gnu.org>
12146 * image.el (create-image, defimage): Don't assume image data is a
12149 * image.el (defimage): Handle specifications containing :data
12151 (image-type-from-data): New function.
12152 (image-type-from-file-header): Use it.
12153 (create-image): Add parameter DATA-P.
12155 See ChangeLog.8 for earlier changes.
12157 ;; Local Variables:
12158 ;; coding: iso-2022-7bit