1 2000-11-20 Gerd Moellmann <gerd@gnu.org>
3 * calculator.el: New version from author.
5 2000-11-19 Gerd Moellmann <gerd@gnu.org>
7 * info.el (info-menu-5): Doc fix.
9 * textmodes/artist.el: New file.
11 2000-11-19 Andre Spiegel <spiegel@gnu.org>
13 * vc-rcs.el (vc-rcs-state): Call vc-workfile-unchanged-p only here,
14 and differentiate according to checkout model.
15 (vc-rcs-fetch-master-state): Don't call vc-workfile-unchanged-p,
16 since this function is only concerned with master state.
18 * vc-hooks.el (vc-workfile-unchanged-p,
19 vc-default-workfile-unchanged-p): Moved here from vc.el.
21 * vc.el (vc-workfile-unchanged-p,
22 vc-default-workfile-unchanged-p): See above.
24 2000-11-19 Miles Bader <miles@gnu.org>
26 * image-file.el (insert-image-file): Make `intangible' and
27 `read-only' properties rear-nonsticky too.
29 2000-11-18 Gerd Moellmann <gerd@gnu.org>
31 * ps-print.el: Update copyright notice.
33 * tooltip.el (tooltip-x-offset, tooltip-y-offset): New user-options.
34 (tooltip-show): Use the offsets.
36 * bindings.el (mode-line-modified): Fix a typo.
37 (mode-line-toggle-modified, mode-line-widen)
38 (mode-line-abbrev-mode, mode-line-auto-fill-mode): Fix typos.
40 2000-11-17 Gerd Moellmann <gerd@gnu.org>
42 * ps-print.el: Minor fixes from author.
44 2000-11-16 Stefan Monnier <monnier@cs.yale.edu>
46 * vc.el (vc-version-diff): Bind inhibit-read-only when inserting text.
47 (vc-version-backup-file): Docstring fix.
49 2000-11-16 Gerd Moellmann <gerd@gnu.org>
51 * files.el (basic-save-buffer): Don't add a newline if
52 find-file-literally is non-nil.
53 (find-file-literally): Extend doc string.
55 * sort.el (sort-columns): If sort-fold-case it non-nil, invoke
56 sort(1) with the `-f' argument.
58 2000-11-16 Andre Spiegel <spiegel@gnu.org>
60 * vc.el: Updated backend documentation.
61 (vc-default-check-headers): New function.
63 * vc-{cvs,rcs,sccs}.el: Functions reordered.
65 * vc.el (vc-revert-buffer): Ask for confirmation if file seems
67 (vc-do-command): In the asynchronous case, output messages only if
68 the minibuffer is not active.
70 * vc-cvs.el (vc-cvs-revert): Use `cvs unedit' only if
71 `vc-cvs-use-edit' is on.
72 (vc-cvs-checkout): When this is used for reverting the workfile,
73 make a backup of the original contents and revert to that in case
75 (vc-cvs-print-log, vc-cvs-diff): Use asynchronous mode only for
78 * vc.el (vc-annotate): Changed handling of prefix arg; now asks
79 for both version and ratio in the minibuffer.
81 * vc-cvs.el (vc-cvs-annotate-command): New optional arg VERSION.
82 Use vc-do-command to perform the annotation, not call-process.
84 2000-11-16 Kenichi Handa <handa@etl.go.jp>
86 * international/quail.el (quail-start-translation): Don't call
87 `message' before reading key sequence.
89 2000-11-16 Miles Bader <miles@lsi.nec.co.jp>
91 * net/ange-ftp.el (ange-ftp-file-modtime): Don't use `caddr'.
93 2000-11-16 Kenichi Handa <handa@etl.go.jp>
95 * window.el (fit-window-to-buffer): Be sure to acquire at least
96 one text line even if the buffer is empty.
98 2000-11-16 Gerd Moellmann <gerd@gnu.org>
100 * net/ange-ftp.el (ange-ftp-file-writable-p)
101 (ange-ftp-file-readable-p, ange-ftp-file-executable-p): Bind
102 ange-ftp-process-verbose to nil.
104 2000-11-15 Dave Love <fx@gnu.org>
106 * wid-edit.el (widget-specify-field, widget-specify-button): If
107 :help-echo is a function, set help-echo of overlay to
109 (widget-mouse-help): New function.
110 (widget-echo-help): Rewritten for :help-echo functions only taking
113 * net/eudc-bob.el (eudc-bob-can-display-inline-images): Use
115 (eudc-bob-display-jpeg) <!eudc-xemacs-p>: Test create-image bound
116 and that JPEG is available.
117 (eudc-bob-toggle-inline-display): Avoid non-existent `imagep'.
119 * international/mule-cmds.el (locale-charset-language-names):
122 2000-11-15 Gerd Moellmann <gerd@gnu.org>
124 * faces.el (face-set-after-frame-default): If
125 `inhibit-default-face-x-resources' is bound, don't intialize the
126 default face from X resources.
128 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
130 * Makefile.in (custom-deps, finder-data, autoloads, recompile):
131 Don't set EMACSLOADPATH.
133 2000-11-15 Eli Zaretskii <eliz@is.elta.co.il>
135 * textmodes/texinfo.el (texinfo-insert-@uref): Renamed from
137 (texinfo-insert-@url): A defalias for texinfo-insert-@uref.
138 (texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
140 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
142 * emacs-lisp/checkdoc.el (checkdoc-minor-mode) <defvar>: Remove.
143 (checkdoc-minor-mode-map): New map, replaces checkdoc-minor-keymap.
144 (checkdoc-minor-keymap): Backward compatibility.
145 (checkdoc-minor-menu): Don't bother checking checkdoc-minor-keymap.
146 (checkdoc-minor-mode) <defun>: Use easy-mmode-define-minor-mode.
147 (checkdoc-this-string-valid-engine): Be a bit more strict
148 to avoid matching substrings of `...' quoted vars/funs.
149 (checkdoc-defun-info): Only look for `interactive' if alone.
150 (debug-ignored-errors): Add "arg doesn't appear in docstring".
152 * progmodes/compile.el (grep): `tag-default' can be nil.
154 * newcomment.el (comment-indent): Paren typo.
156 2000-11-14 Dave Love <fx@gnu.org>
158 * calculator.el: New maintainer version.
160 * diff-mode.el (diff-imenu-generic-expression): Modify unidiff pattern.
162 * cmuscheme.el: Doc fixes.
163 (cmuscheme) <defgroup>: Use `scheme' as parent.
164 (cmuscheme-program-name): Remove. Change uses to
167 * xscheme.el (scheme-program-name): Don't define here.
169 * progmodes/scheme.el (scheme-program-name): New variable
170 (originally in cmuscheme).
172 2000-11-14 Miles Bader <miles@gnu.org>
174 * window.el (fit-window-to-buffer): Handle windows without mode-lines.
175 Handle header-lines. Don't loop forever if we can't enlarge the
176 window anymore. Simplify a bit.
178 2000-11-14 Kenichi Handa <handa@etl.go.jp>
180 * window.el (fit-window-to-buffer): Don't check
181 window-text-height. Assure that the last line is fully visible.
183 * international/quail.el (quail-show-guidance-buf): Call
184 fit-window-to-buffer to assure the enough height of the guidance
186 (quail-update-guidance): Avoid making the guidance buffer shorter.
188 2000-11-14 Stefan Monnier <monnier@cs.yale.edu>
190 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Use `keep'
191 rather than `prepend' and add an interesting comment.
192 (tex-math-face, tex-font-lock-syntactic-face-function):
193 New face and function to use it.
194 (tex-define-common-keys, tex-mode-map): Use menu-item rather
195 than `menu-enable' symbol property.
196 (tex-mode-map): Bind {, (, [ and $ to skeleton-pair-insert-maybe.
197 (tex-mode): Add some latex-mode commands for auto-selection.
198 Use tex-font-lock-syntactic-face-function.
199 (tex-insert-quote): Simplify.
200 (tex-shell): New mode.
201 (tex-start-shell): Use it.
202 (tex-shell-proc, tex-shell-buf): New functions.
203 (tex-send-command): Use it.
204 (tex-main-file): Fix the meaning of the new arg REALFILE.
205 (tex-send-tex-command): New function split from `tex-start-tex'.
206 Set compilation-last-buffer and compilation-parsing-end.
208 * newcomment.el (comment-indent-default): Stick \s<\s< to the left
209 when it follows non-comment text on the line.
211 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
212 Set font-lock-defaults.
213 (lisp-mode-shared-map): Init inside the defvar.
214 (emacs-lisp-mode, lisp-mode, lisp-interaction-mode):
215 Use define-derived-mode.
217 2000-11-14 Miles Bader <miles@lsi.nec.co.jp>
219 * faces.el (header-line): Use `:box nil' for color/gs displays too.
221 2000-11-14 Gerd Moellmann <gerd@gnu.org>
223 * emacs-lisp/byte-opt.el (byte-compile-unfold-lambda): Don't
224 recursively optimize body because that can lead to infinite
225 recursion; see comment there.
227 2000-11-13 Eli Zaretskii <eliz@is.elta.co.il>
229 * faces.el (face-spec-set-match-display): Revert the change from
230 2000-10-24. Add a FIXME for after v21.1.
232 2000-11-13 Miles Bader <miles@gnu.org>
234 * textmodes/fill.el (skip-line-prefix): New function.
235 (fill-region-as-paragraph, fill-region): Return the fill-prefix.
236 (fill-paragraph): Don't leave point inside the fill-prefix.
237 * textmodes/refill.el (refill-fill-paragraph-at): Don't leave
238 point inside the fill-prefix.
240 2000-11-13 Miles Bader <miles@lsi.nec.co.jp>
242 * calendar/calendar.el (generate-calendar-window): Use
243 `fit-window-to-buffer'.
245 2000-11-12 Stefan Monnier <monnier@cs.yale.edu>
247 * gud.el (gud-minor-mode): New var.
248 (gud-symbol, gud-val): New functions.
249 (gud-find-file): Copy gud-minor-mode to the new buffer.
250 (gud-menu-map): Include entries for commands that are not always
251 available, using :enable to (de)activate them.
252 (gud-minor-mode-map): New map. Add it to minor-mode-map-alist.
253 (gud-mode-map): New map.
254 (gud-gdb-find-file, gud-sdb-find-file, gud-dbx-find-file)
255 (gud-xdb-find-file, gud-perldb-find-file, gud-pdb-find-file):
256 Don't set up gud's menu (it's done by the minor-mode).
257 (gud-minibuffer-local-map): New.
258 Replace gdb-minibuffer-local-map and pdb-minibuffer-local-map.
259 (gud-query-cmdline): New function.
260 (gdb, sdb, dbx, xdb, perldb, pdb, jdb): Use it. Set gud-minor-mode.
261 (gud-mode): Use define-derived-mode.
262 Don't set up gud's menu (it's done by the minor-mode).
263 (gud-chop-words): Remove.
264 (gud-common-init): Use split-string instead.
265 (gud-new-keymap, gud-make-debug-menu): Eradicate.
267 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap):
268 Add keyword arg :name.
270 * diff-mode.el (diff-mode-menu): Add entry for applying hunk.
271 (diff-count-matches, diff-split-hunk): New functions.
272 (diff-mode-map): Bind C-c C-s to diff-split-hunk.
274 * pcvs-info.el (cvs-fi-conflict-face): New var.
276 * progmodes/sh-script.el (sh-mode-syntax-table) <defvar>:
277 Make it into a simple syntax-table, shared among all submodes.
278 (sh-heredoc-face): Re-introduce.
279 (sh-font-lock-syntactic-face-function): New function.
280 (sh-mode): Use it. Also use define-derived-mode.
281 Remove old bogus setting of indent-region-function.
282 (sh-set-shell): Don't set the syntax-table any more.
283 (sh-mode-syntax-table) <defun>: Remove.
285 2000-11-12 Miles Bader <miles@gnu.org>
287 * textmodes/flyspell.el (flyspell-mode-on): Only output welcome
288 message if interactive.
290 2000-11-12 Dave Love <fx@gnu.org>
292 * mail/feedmail.el: Fix header,
293 (feedmail) <defgroup>: Add :link.
295 * view.el: Use local-map property, not keymap on mode-line string.
297 * scroll-all.el (scroll-all-mode): Customize variable. Add
298 autoload cookie to function.
300 * lazy-lock.el: Remove compatibility code.
302 * finder.el (finder-known-keywords): Add `files', remove `vms'.
303 (finder-help-echo): New variable.
304 (finder-mouse-face-on-line): Add help-echo stuff.
305 (finder-list-keywords, finder-list-matches): Use mapc.
307 * faces.el (face-font-registry-alternatives): Add :version.
309 * progmodes/etags.el (visit-tags-table-buffer): Beware of `t' in
312 * net/browse-url.el (browse-url-browser-function): Update :version.
314 * mail/sendmail.el (mail-font-lock-keywords): Use [:alpha:], not a-z.
315 (mail-mode): Use [:alnum:] in some regexps.
317 2000-11-10 Dave Love <fx@gnu.org>
319 * ediff.el (ediff-regions-internal, ediff-documentation):
320 * ediff-vers.el (rcs-ediff-view-revision): Put temp buffer into
323 * ediff-util.el (ediff-status-info, ediff-debug-info): Put temp
324 buffer into fundamental mode.
325 (ediff-set-difference): Use copy-sequence if available.
327 * ediff-ptch.el (ediff-dispatch-file-patching-job): Check
328 ediff-patch-map non-nil.
329 (ediff-fixup-patch-map, ediff-fixup-patch-map)
330 (ediff-fixup-patch-map, ediff-patch-file-internal): Put temp
331 buffer into fundamental mode.
333 * ediff-merg.el (state-or-merge): Defvar when compiling.
335 2000-11-10 Jason Rumney <jasonr@gnu.org>
337 * w32-fns.el (w32-add-charset-info): New function.
338 (w32-charset-info-alist): Use it.
340 2000-11-10 Gerd Moellmann <gerd@gnu.org>
342 * faces.el (face-font-registry-alternatives): New user-option.
344 2000-11-10 Stefan Monnier <monnier@cs.yale.edu>
346 * textmodes/texinfo.el (texinfo-block-default): New var.
347 (texinfo-insert-block): Use it. Insert a newline if needed.
349 * textmodes/fill.el (fill-indent-according-to-mode): New var.
350 (fill-region-as-paragraph): Use it.
352 * textmodes/tex-mode.el (standard-latex-block-names): Add "math".
353 (latex-mode): Tweak tex-*-(head|trail)er regexps.
354 Tweak paragraph regexps to allow a leading [ \t]*.
355 (tex-latex-block): Insert a newline if necessary.
356 (latex-insert-item): Only insert a newline if necessary.
357 (tex-guess-main-file): New function.
358 (tex-main-file): Use it. Add arg `realfile'. Trim `.tex'.
359 Set tex-main-file if TeX-master is provided.
360 (tex-latex-indent-syntax-table): Map ( and ) to punctuation.
362 2000-11-10 Gerd Moellmann <gerd@gnu.org>
364 * startup.el (command-line): Set the default tooltip-mode
365 to t for graphical displays which implement x-show-tip.
367 * tooltip.el (tooltip-mode): Add a comment about startup.el
368 setting the default value of this user-option.
370 2000-11-09 Stefan Monnier <monnier@cs.yale.edu>
372 * font-lock.el (font-lock-*-face) <defvar>: Move.
373 (font-lock-defaults-alist): Mark obsolete.
374 (font-lock-mode, font-lock-mode-hook) <defvar>: Remove.
375 (font-lock-mode): Use define-minor-mode.
376 (font-lock-support-mode): Tweak type to default to jit-lock-mode.
377 (font-lock-turn-off-thing-lock): Be more explicit.
378 (font-lock-apply-syntactic-highlight): Use string-to-syntax after eval.
379 (font-lock-syntactic-face-function): New var.
380 (font-lock-fontify-syntactically-region): Use it.
381 (font-lock-doc-face): New.
383 * pcvs.el (cvs-enabledp): Ignore errors.
384 (cvs-commit-filelist): Never query.
385 (cvs-mode-insert): Always add a terminating / in the initial prompt.
386 (cvs-mode-diff-backup): Use cvs-partition rather than delete-if-not.
387 (cvs-do-removal): Use cvs-partition rather than delete-if.
388 Use cvs-insert-strings, cvs-pop-to-buffer-same-frame and
391 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
392 Allow `next' to jump to after the end of the last match.
394 2000-11-09 Gerd Moellmann <gerd@gnu.org>
396 * simple.el (byte-compiling-files-p): New function.
398 * textmodes/ispell.el (toplevel): Use byte-compiling-files-p
401 * emacs-lisp/bytecomp.el (byte-compile-current-file): Bind it to
404 * textmodes/ispell.el (ispell-library-path): Don't call
405 check-ispell-version when byte-compiling because that starts
406 an ispell process, and ispell might not be installed.
407 (toplevel): Don't set up a menu when byte-compiling.
409 * emacs-lisp/bytecomp.el (byte-compile-current-file): Don't bind
410 it, so that a boundp test can be used to determine if we're
411 currently byte-compiling.
413 2000-11-09 Dave Love <fx@gnu.org>
415 * pcvs.el (uniquify-buffer-file-name): Wrap advice in
418 2000-11-09 Vinicius Jose Latorre <vinicius@cpqd.com.br>
420 * ps-print.el: Patch for variable initialization when spooling. Doc
422 (ps-output-list): Fun eliminated.
423 (ps-begin-file, ps-begin-job): Code fix.
425 2000-11-08 Dave Love <fx@gnu.org>
427 * ediff-wind.el (ediff-control-frame-parameters): Zero
430 2000-11-08 Gerd Moellmann <gerd@gnu.org>
432 * simple.el (shell-command, display-message-or-buffer)
433 (shell-command-on-region): Mention resize-mini-windows in the doc
435 (display-message-or-buffer): Take the value of resize-mini-windows
438 2000-11-07 Gerd Moellmann <gerd@gnu.org>
440 * macros.el (insert-kbd-macro): Print semi-colons as `?\;'.
442 * dired.el (dired-between-files): Add `^. find' as an alternative
443 to the regular expression, for find-dired.
445 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
447 * textmodes/texnfo-upd.el: Require texinfo.
448 (defmacro, defgroup): Remove.
449 (texinfo-section-to-generic-alist): Remove.
450 Use texinfo-section-list instead (i.e. level is changed string->int).
451 (texinfo-filter): New function.
452 (texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
453 (texinfo-subsection-level-regexp, texinfo-section-level-regexp):
454 Use it. And use regexp-opt.
455 (texinfo-find-higher-level-node, texinfo-hierarchic-level)
456 (texinfo-update-menu-region-beginning)
457 (texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
458 (texinfo-update-the-node, texinfo-sequentially-update-the-node)
459 (texinfo-update-menu-same-level-regexps): Update.
460 (texinfo-update-node, texinfo-every-node-update)
461 (texinfo-sequential-node-update): Remove autoload cookie.
463 * textmodes/texinfo.el (texinfo-section-list): Change majorheading.
464 (texinfo-font-lock-syntactic-keywords): Use syntax-strings.
465 (texinfo-chapter-level-regexp): Remove.
466 (texinfo-mode): Hard code texinfo-chapter-level-regexp.
468 2000-11-06 Dave Love <fx@gnu.org>
470 * autoinsert.el (auto-insert-alist) <latex-mode>: Use \documentclass.
472 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
475 2000-11-06 Kenichi Handa <handa@etl.go.jp>
477 * composite.el (composition-function-table): Variable declaration
478 moved to src/composite.c.
479 (compose-chars-after): New optional arg object.
481 2000-11-06 Gerd Moellmann <gerd@gnu.org>
483 * bindings.el (mode-line-toggle-read-only)
484 (mode-line-toggle-modified, mode-line-widen)
485 (mode-line-abbrev-mode, mode-line-auto-fill-mode): New functions.
486 (make-mode-line-mouse2-map): Rewritten.
487 (mode-line-modified, mode-line-format, minor-mode-alist): Use new
488 functions so that C-h k can show something with a doc string.
490 * startup.el (fancy-splash-delay): Set to 10 seconds.
491 (fancy-splash-max-time): New user-option.
492 (fancy-splash-stop-time): New variable.
493 (fancy-splash-screens): Set it. Catch `stop-splashing'.
494 (fancy-splash-screens-1): Throw `stop-splashing' when current
495 time is greater than fancy-splash-stop-time.
497 2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
499 * vc-hooks.el (vc-insert-file): Don't assume byte==char.
501 * pcvs.el (cvs-mode-marked): New arg `noquery'.
502 Prompt user for a file rather than raising an error.
503 (cvs-enabledp): Fix call to cvs-mode-marked.
504 (cvs-insert-file): New function (extracted from cvs-mode-insert).
505 (cvs-mode-insert): Use it. Change the init prompt' value.
506 (cvs-mode-tree): Use cvs-status-cvstrees instead of cvs-status-trees.
508 * emacs-lisp/ewoc.el (ewoc-goto-prev, ewoc-goto-next):
509 Don't pass default arg to ewoc-locate.
510 (ewoc-collect): Return result in the right order.
512 * log-edit.el (log-edit-show-files): Use cvs-insert-strings.
514 * cvs-status.el (cvs-tree-merge): Use cvs-butlast (avoid CL).
515 (cvs-status-get-tags): Fix regexp.
516 (cvs-status-trees, cvs-status-cvstrees):
517 Combine after change hooks and don't sit-for.
518 (cvs-tree-use-jisx0208): Rename from cvs-tree-dstr-2byte-ready.
519 (cvs-tree-char-*): Rename from cvs-tree-dstr-char-*.
520 Use make-char rather than hard-coded cryptic data.
521 (cvs-status-cvstrees): Convert the buffer to multibyte if necessary.
523 * pcvs-defs.el (cvs-menu): Add entries for tree and insert.
525 * pcvs-util.el (cvs-butlast, cvs-nbutlast): New (copied from CL).
526 (cvs-insert-strings): New function.
528 2000-11-06 Miles Bader <miles@lsi.nec.co.jp>
530 * mwheel.el (mouse-wheel-scroll-amount): Renamed from
531 `mwheel-scroll-amount'.
532 (mouse-wheel-follow-mouse): Renamed from `mwheel-follow-mouse'.
533 (mouse-wheel-mode): Use (featurep 'xemacs) instead of
534 string-matching against the version string.
536 2000-11-06 Kenichi Handa <handa@etl.go.jp>
538 * language/thai.el ("Thai"): Set a lisp form that produces
539 composed string in `sample-text' language info.
541 * language/tibetan.el ("Tibetan"): Set a lisp form that produces
542 composed string in `sample-text' language info.
544 * international/mule-cmds.el (describe-language-environment): Eval
545 `sample-text' data and insert the result.
547 * international/mule-conf.el (compound-text): Define this coding
548 system here. Make x-ctext and ctext aliases of it.
550 * language/european.el (compound-text, ctext): Moved to
551 international/mule-conf.el.
553 2000-11-05 Andrew Innes <andrewi@gnu.org>
555 * w32-fns.el (w32-version): New function.
557 2000-11-05 Stefan Monnier <monnier@cs.yale.edu>
559 * progmodes/awk-mode.el: Update copyright.
560 (awk-mode-abbrev-table): Remove.
561 (awk-font-lock-keywords): Use regexp-opt.
562 (awk-mode): Use define-derived-mode.
564 * emacs-lisp/regexp-opt.el (regexp-opt-group): Sort the strings
565 when extracting a suffix.
567 2000-11-04 Andre Spiegel <spiegel@gnu.org>
569 * vc-hooks.el (vc-insert-file): Rewritten. Don't bother about
572 2000-11-04 Jason Rumney <jasonr@gnu.org>
574 * language/european.el (decode-mac-roman): Test against r1 not r0.
576 2000-11-03 Stefan Monnier <monnier@cs.yale.edu>
578 * progmodes/icon.el (icon-mode-map): Don't rebind \t.
579 (icon-mode): Define indent-line-function.
580 (icon-comment-indent): Simplify.
581 (icon-font-lock-keywords-2): Use the `words' arg to regexp-opt.
583 * emacs-lisp/find-func.el (find-function-do-it): Quote the hook.
585 * pcvs.el (cvs-mode-add-change-log-entry-other-window):
586 Bind change-log-default-mode to defeat the caching done on it.
587 Don't bother saving excursion any more.
589 * menu-bar.el (minibuffer maps): Use dolist rather than mapcar.
591 * frame.el (after-setting-font-hook): Rename hooks -> hook.
592 (set-frame-font): Use the new name (and the old for compatibility).
594 * toolbar/tool-bar.el (tool-bar-mode):
595 * time.el (display-time-mode):
596 * recentf.el (recentf-mode):
597 * paren.el (show-paren-mode):
598 * mwheel.el (mouse-wheel-mode):
600 * jka-compr.el (auto-compression-mode):
601 * image-file.el (auto-image-file-mode):
602 * hl-line.el (hl-line-mode):
603 * delsel.el (delete-selection-mode):
604 * autoinsert.el (auto-insert-mode):
605 * complete.el (partial-completion-mode): Drop unneeded positional args.
607 * info.el (Info-mode):
608 * comint.el (comint-mode): Don't both with make-local-hook.
610 * log-edit.el (log-edit-menu): New menu.
612 2000-11-03 Miles Bader <miles@gnu.org>
614 * wid-edit.el (widget-end-of-line): Reinstate, with a new
615 definition, so that trailing spaces are handled properly.
616 (widget-field-keymap, widget-text-keymap): Likewise C-e binding.
618 2000-11-03 Gerd Moellmann <gerd@gnu.org>
620 * startup.el (fancy-splash-text, fancy-splash-text): Use a single
622 (fancy-splash-screens): Set tab-width to 20.
624 2000-11-03 Dave Love <fx@gnu.org>
626 * comint.el (comint-completion-addsuffix): Fix custom type.
628 2000-11-02 Stefan Monnier <monnier@cs.yale.edu>
630 * font-lock.el (font-lock-buffers): Remove.
631 (font-lock-global-modes): Define with easy-mmode-define-global-mode.
632 (font-lock-change-major-mode): Remove.
633 (turn-on-font-lock-if-enabled): Only apply to the current buffer.
634 (font-lock-default-fontify-region): Extend the multiline
635 fontification to whole lines.
636 (font-lock-fontify-anchored-keywords)
637 (font-lock-fontify-keywords-region): If matching just one
638 line (with \n) only mark the \n as multiline.
640 * emacs-lisp/easy-mmode.el (define-minor-mode): Remove :toggle arg.
641 Correctly handle the case where several :group args are supplied.
643 (easy-mmode-define-global-mode): Allow :extra-args.
644 Correctly handle the case where several :group args are supplied.
646 2000-11-02 Miles Bader <miles@gnu.org>
648 * calendar/calendar.el (diary-face, calendar-today-face)
649 (holiday-face): Remove dependency on `window-system'.
651 2000-11-02 Ken Raeburn <raeburn@gnu.org>
653 * Makefile.in (emacs): Set EMACSLOADPATH always.
654 (update-authors, .el.elc, compile-files): Don't do it explicitly
656 (compile-files): Bomb out if compilation of a file fails.
658 2000-11-02 Dave Love <fx@gnu.org>
660 * emacs-lisp/find-func.el (find-variable-regexp): Avoid defgroup.
662 2000-11-02 Eli Zaretskii <eliz@is.elta.co.il>
664 * mail/emacsbug.el (report-emacs-bug): Fix whitespace and
665 punctuation in the warning inserted into the *mail* buffer.
667 2000-11-02 Gerd Moellmann <gerd@gnu.org>
669 * emacs-lisp/authors.el (authors-public-domain-files): New variable.
670 (authors-public-domain-p): New function.
671 (authors-print): Use it.
673 * help.el (view-emacs-news): Use ONEWS.* instead of NEWS.* files.
675 * mail/mh-e.el, mail/mh-comp.el: Change maintainer.
677 2000-11-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
679 * ps-print.el: Extension for even/odd printing. Doc fix.
680 (ps-print-version): New version number (6.3.1).
681 (ps-even-or-odd-pages): Customization fix.
682 (ps-print-page-p, ps-begin-file, ps-begin-job, ps-page-number)
683 (ps-header-sheet, ps-header-page, ps-end-job): Code fix.
684 (ps-page-count): Var replaced by `ps-page-column'.
685 (ps-page-column, ps-page-sheet, ps-page-printed): New vars.
686 (ps-print-sheet-p): New fun.
688 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
690 * tooltip.el (tooltip-gud-tips-setup): New function.
691 (tooltip-gud-tips-p): Add :set to call tooltip-gud-tips-setup.
692 (tooltip-mode): Call tooltip-gud-tips-setup.
693 (tooltip-gud-tips): Use `gud-basic-call' instead of
694 process-send-string, so the prompt gets frobbed appropriately.
695 Handle nil return value from `tooltip-gud-print-command'.
697 2000-11-01 Eric M. Ludlam <zappo@ultranet.com>
699 * comint.el (comint-add-to-input-history): New function.
700 (comint-send-input): Use `comint-add-to-input-history'.
702 2000-11-02 Miles Bader <miles@lsi.nec.co.jp>
704 * info.el (info-menu-header): New face.
705 (Info-fontify-menu-headers): New function.
706 (Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
708 * info.el (Info-insert-dir): Don't include blank lines at
709 beginning of additional dir files (one is added automatically).
711 2000-11-01 Stefan Monnier <monnier@cs.yale.edu>
713 * emacs-lisp/easy-mmode.el (define-minor-mode):
714 Revert the latest changes.
715 Allow the three positional arguments to be skipped and replaced
716 by keyword arguments.
717 Add a :toggle argument to determine whether a nil arg means toggle
718 or means turn-on. The default is unchanged.
719 Add a call to force-mode-line-update.
721 2000-11-01 Dave Love <fx@gnu.org>
723 * emacs-lisp/elp.el (elp-restore-function): Remove autoload
726 2000-11-01 Miles Bader <miles@lsi.nec.co.jp>
728 * calendar/calendar.el (diary-face, holiday-face): Add
729 dark-background variants.
731 2000-10-31 Sam Steingold <sds@gnu.org>
733 * textmodes/tex-mode.el (tex-file): Use `default-directory' when
734 `tex-main-file' does not have directory in it.
736 2000-10-31 Stefan Monnier <monnier@cs.yale.edu>
738 * cus-edit.el (custom-mode-map): Switch back to a sparse keymap.
740 2000-10-31 Thien-Thi Nguyen <ttn@gnu.org>
742 * ediff-init.el (ediff-prepare-buffer-hook): Expand docstring, no
745 2000-10-31 Gerd Moellmann <gerd@gnu.org>
747 * files.el (find-file-noselect): When we expand a wildcard, return
748 a list of buffers, as we should do according to the doc string.
750 2000-10-31 Ken Raeburn <raeburn@gnu.org>
752 * loadup.el (top level): Adjust load path if program name is
753 "../src/bootstrap-emacs", in case it's not dumped and thus the
754 load path adjustment hasn't already been done.
756 2000-10-31 Vinicius Jose Latorre <vinicius@cpqd.com.br>
758 * ps-print.el: Fix bug on selected pages for printing. Use
759 `color-values' for Emacs 21. Ensure fontification when jit-lock
760 is on. Try to avoid warning messages when compiling. Doc Fix.
761 (ps-print-version): New version number (6.3).
762 (ps-color-device): Use `color-values' to determine if device
764 (ps-color-values): Try to use `x-color-values' when using XEmacs.
765 (ps-print-page-p): Changed from defsubst to defun.
766 (ps-page-number): Changed from defmacro to defun.
767 (ps-header-sheet, ps-header-page): Fix bug on selected pages for
769 (ps-print-ensure-fontified): Ensure fontification when jit-lock is on.
770 (ps-end-file, ps-dummy-page): Funs eliminated.
771 (ps-print-color-scale): Changed default value.
772 (ps-page-n-up, ps-print-page-p): New internal vars.
773 (ps-print-preprint, ps-output, ps-begin-file, ps-begin-page)
774 (ps-plot-region, ps-generate, ps-end-job): Code fix.
776 * delim-col.el: Little programming improvement.
777 (delimit-columns-str): New macro.
778 (delimit-columns-region, delimit-columns-rectangle): Code fix.
780 2000-10-31 Kenichi Handa <handa@etl.go.jp>
782 * term/mac-win.el (decode-mac-roman, encode-mac-roman, mac-roman):
783 Moved to european.el.
784 (ccl-encode-mac-roman-font, fontset-mac): Modified for
785 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
786 (mac-roman-kbd-insert, mac-roman-kbd-mode): These functions deleted.
787 (mac-roman-kbd-mode, mac-roman-kbd-mode-map): These variables deleted.
789 2000-10-30 Dave Love <fx@gnu.org>
791 * progmodes/cc-menus.el (imenu-generic-expression)
792 (imenu-progress-message): Only defvar when compiling.
794 * emacs-lisp/elp.el (elp-unload-hook): New function.
796 * loadhist.el (unload-feature): Call elp-restore-function,
797 checking for symbols; don't use elp-restore-all.
798 (loadhist-hook-functions): Doc fix.
800 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
802 * log-edit.el (log-edit-confirm): Fix the default.
804 2000-10-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
806 * delim-col.el: Little fix: replace delimit-columns-align-columns by
807 delimit-columns-format.
808 (delimit-columns-region, delimit-columns-rectangle): Code fix.
810 2000-10-30 Miles Bader <miles@lsi.nec.co.jp>
812 * comint.el (comint-replace-by-expanded-history): Don't use
813 comint-get-old-input (we're not looking at *old* input).
814 (comint-get-old-input-default): If using fields, signal an error
815 when the point is not in an input field.
817 2000-10-30 Kenichi Handa <handa@etl.go.jp>
819 * international/mule-conf.el: New charsets mule-unicode-2500-33ff
820 and mule-unicode-e000-ffff.
822 * international/mule.el (decode-char, encode-char): New functions.
823 (make-coding-system): Accept a symbol of translation table as a
824 value of property `safe-chars'.
826 * international/mule-cmds.el (encode-coding-char): Check property
827 safe-chars instead of safe-charsets.
829 * international/fontset.el (fontset-default): Modified for
830 mule-unicode-2500-33ff and mule-unicode-e000-ffff.
831 (x-font-name-charset-alist): Likewise.
832 (ccl-encode-unicode-font): New CCL program. Record it in
833 font-ccl-encoder-alist to be used for fonts "ISO10646-1".
835 * language/european.el (mac-roman-decoder, mac-roman-encoder):
836 New translation tables.
837 (decode-mac-roman, encode-mac-roman): Definition of these CCL
838 programs are modified and moved from mac-win.el.
839 (mac-roman): Definition of this coding system is modified and
840 moved from mac-win.el.
842 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
844 * ediff-wind.el (ediff-setup-control-frame): Enclose
845 face-attribute in condition-case to avoid errors in older emacsen.
847 2000-10-29 Miles Bader <miles@gnu.org>
849 * custom.el (custom-add-to-group): Allow multiple entries for a
850 given value OPTION, as long as their widget types are different.
851 * cus-edit.el (custom-face-value-create): If face name doesn't end
852 with "face", add such here (similar to custom group widgets).
854 * comint.el (comint-highlight-prompt): Add :type.
856 2000-10-28 John Wiegley <johnw@gnu.org>
858 * textmodes/flyspell.el (flyspell-maybe-correct-transposition):
859 Changed this function to operate on a temporary buffer instead of
860 the main buffer. This not only keeps flyspell from marking a
861 buffer as changed that wasn't, but it solves the jumpy cursor
862 problem when attempts are made to edit incorrect words.
863 (flyspell-maybe-correct-doubling): Same change as for
864 `flyspell-maybe-correct-transposition'.
866 * calendar/timeclock.el (timeclock-log): Doc fix.
867 (timeclock-last-event): Doc fix.
868 (timeclock-log): Kill the timelog buffer after appending a new
870 (timeclock-find-discrep): Use a temp buffer to read in the
871 timelog, instead of visiting the file.
872 (timeclock-log-data): A new function, along with a host of helper
873 functions, for the purpose of making timelog data accessible to
876 * eshell/esh-mode.el (window-height test): Make certain that
877 `eshell-stringify-t' is non-nil.
878 (eshell-password-prompt-regexp): Changed to a much simpler
880 (eshell-send-input): If `eshell-invoke-directly' returns t,
881 directly invoke the parsed command using `eval'. This improves
882 turn-around time on simple commands by a factor of three or
883 greater, such as cd, ls, pwd, etc. -- which get used very often.
884 It also conserves thousands of cons cells per call (since
885 `eshell-do-eval' consumes memory like a Cookie Monster set loose
886 in the Pacific Cookie Company).
888 * eshell/esh-test.el (eshell-test): Whitespace fix.
890 * eshell/em-ls.el (eshell-ls-insert-directory): Make
891 `eshell-ls-initial-args' nil when inserting directory contents.
893 * eshell/em-script.el (eshell-script-initialize): Add names to
894 `eshell-complex-commands, since `source' and `.' are complex.
896 * eshell/esh-cmd.el (eshell-rewrite-for-command)
897 (eshell-rewrite-while-command): Use `eshell-protect' instead of
898 `eshell-copy-handles'.
899 (eshell-rewrite-if-command): Use `eshell-protect' to wrap the call
901 (eshell-separate-commands): Whitespace fix.
902 (eshell-complex-commands): Added a new list of names, for
903 determining whether a given command is as simple as it looks.
904 (eshell-invoke-directly): New function. Returns t if a command
905 should be invoked directly (using `eval'), rather than indirectly
906 using `eshell-do-eval'.
907 (eshell-do-eval): Whitespace fix.
909 * eshell/em-unix.el (eshell-default-target-is-dot): New variable,
910 which provides an emulation of the DOS shell behavior of assuming
911 that cp/mv/ln should copy/move/link to the current directory.
912 (eshell-remove-entries): Added a doc string.
913 (eshell-shuffle-files): Removed the check for `target' being null.
914 (eshell-mvcp-template, eshell-mvcpln-template): Renamed
915 `eshell-mvcp-template' to `eshell-mvcpln-template', and extended
916 it to do a smarter check of whether a destination was provided.
917 (eshell/mv, eshell/cp): Enable `:preserve-args'.
918 (eshell/ln): Enable `:preserve-args', and use
919 `eshell-mvcpln-template' to implement the body of the function.
920 (eshell/cat, eshell/make, eshell-poor-mans-grep, eshell-grep)
921 (eshell/du, eshell/diff, eshell/locate): Stringify the argument
922 list after flattening it. This makes it possible to cat files
923 with numerical names.
924 (eshell-unix-initialize): Added several names to
925 `eshell-complex-commands.
926 (eshell-unix-command-complex-p): Return t if a given command name
927 may result in external processes being invoked.
929 * eshell/em-glob.el (eshell-glob-show-progress): Make this
930 variable nil by default, since it slows down glob processing by a
931 factor of two or more, and increases memory consumption.
933 * eshell/em-smart.el: Added a note about how memory consumptive
934 smart display mode can be (at least this is true in Emacs 21).
935 (eshell-smart-initialize): Whitespace fix.
936 (eshell-refresh-windows): Use `if' instead of `when'.
937 (eshell-smart-scroll-window): Calling `save-current-buffer' was
939 (eshell-currently-handling-window): Added a missing global
942 * eshell/em-ls.el (eshell-do-ls): Code simplification.
943 (eshell-ls-sort-entries, eshell-ls-entries, eshell-ls-dir):
945 (eshell-ls-exclude-hidden): Added this variable in addition to
946 `eshell-ls-exclude-regexp'. This one prevents files beginning
947 with . from even being read, which can improve memory consumption
949 (eshell-ls-dir): If `eshell-ls-exclude-hidden' is non-nil, do not
950 read file entries beginning with a dot. In home directories with
951 lots of hidden files, fully two-thirds of the time spent in ls is
952 used to read directory entries that are immediately thrown away.
953 (eshell-ls-initial-args): Added back this configuration variable,
954 for specifying default initial arguments to every call to ls.
955 Much faster than using an alias to do the same thing.
956 (eshell-do-ls): Use `eshell-ls-initial-args', if set.
957 (eshell-ls-dir): Whitespace change.
959 * eshell/em-dirs.el (eshell/pwd): Small code simplification.
961 * eshell/esh-util.el: Don't require `ange-ftp' if it's not
963 (eshell-stringify-t): Added a customization variable, to indicate
964 whether `t' should be rendered as a string at all. If not, one
965 can still determine if the result of an expression is true using
966 "file-exists-p FILE && echo true".
967 (eshell-stringify): If `eshell-stringify-t' is nil, don't
970 * eshell/esh-module.el: Whitespace fix.
972 * eshell/em-alias.el (eshell-alias-initialize): Added
973 `eshell-command-aliased-p' to `eshell-complex-commands'.
974 (eshell-command-aliased-p): New function that returns t if a
975 command name names an aliased.
977 2000-10-29 Michael Kifer <kifer@cs.sunysb.edu>
979 * viper-cmd.el (viper-preserve-cursor-color): New test that avoids
980 redrawing the screen when changing cursor color.
981 (viper-insert-state-pre-command-sentinel)
982 (viper-replace-state-pre-command-sentinel)
983 (viper-replace-state-post-command-sentinel):
984 Use viper-preserve-cursor-color.
985 Many functions changed to use viper= instead of = when comparing
987 * viper-util.el (viper-memq-char,viper=): New functions for
988 working with characters.
989 (viper-change-cursor-color): Fixed buglet.
990 Many functions changed to use viper= instead of = when comparing
992 * viper.el (viper-insert-state-mode-list): Added eshell.
994 * ediff-init.el (ediff-before-setup-hook): New hook.
995 Several typos fixed in various docstrings.
996 * ediff-merg.el (ediff-show-clashes-only): Docstring typo fixed.
997 * ediff-nult.el (ediff-before-session-group-setup-hooks): New
999 (ediff-show-meta-buffer): Run ediff-before-session-group-setup-hooks.
1000 * ediff-util.el (ediff-setup): Run ediff-before-setup-hook.
1001 (ediff-other-buffer): Use selected buffers if in Buffer-menu buffer.
1002 (ediff-get-selected-buffers): New function.
1003 * ediff-vers.el (ediff-vc-internal,ediff-rcs-internal)
1004 (ediff-vc-merge-internal,ediff-rcs-merge-internal): Use
1005 save-window-excursion.
1006 * ediff-wind.el (ediff-skip-unsuitable-frames): More robust
1007 termination check in while loop.
1008 * ediff.el (ediff-get-default-file-name): Better defaults when in
1010 (ediff-files,ediff-merge-files,ediff-files3)
1011 (ediff-merge-files-with-ancestor): Use ediff-get-default-file-name.
1013 2000-10-28 Dave Love <fx@gnu.org>
1015 * info.el (Info-fontify-node): Add help-echo for menu items.
1017 2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
1019 * startup.el (normal-top-level): If the value of $TERM indicates
1020 we are running from xterm or one of its work-alikes, default to a
1021 light background mode.
1023 Support for -fg, -bg, and -rv command-line arguments for TTYs:
1024 * faces.el (tty-handle-reverse-video): New function.
1025 (tty-create-frame-with-faces): Call it.
1027 * frame.el (frame-notice-user-settings): Don't apply
1028 default-frame-alist and initial-frame-alist to MS-DOS frames.
1029 Call tty-handle-reverse-video, frame-set-background-mode, and
1030 face-set-after-frame-default for non-MS-DOS frames.
1032 * startup.el (tty-long-option-alist): New variable.
1033 (tty-handle-args): New function.
1034 (command-line): Call tty-handle-args.
1036 * term/pc-win.el (x-long-option-alist, msdos-handle-args): Remove;
1037 startup.el now does that for all character-terminal frames.
1039 2000-10-28 Miles Bader <miles@gnu.org>
1041 * emacs-lisp/easy-mmode.el (define-minor-mode): Generate
1042 `turn-on-MODE' and `turn-off-MODE' functions unless the mode is
1043 global. If :global is followed by a non-nil but non-t value,
1044 make the mode buffer-local, but also generate a `global-MODE'
1045 version using `easy-mmode-define-global-mode'. Add
1046 :conditional-turn-on keyword argument.
1048 2000-10-28 Dave Love <fx@gnu.org>
1050 * international/latin1-disp.el (latin1-char-displayable-p): Don't
1053 2000-10-27 Eli Zaretskii <eliz@is.elta.co.il>
1055 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1056 Don't call find-buffer-file-type-coding-system. Instead, just
1057 set eol-type to -unix if inhibit-eol-conversion is in effect, or
1058 if the file is on an untranslated filesystem.
1059 (add-untranslated-filesystem): Use "D" instead of "f" inside
1062 2000-10-27 Dave Love <fx@gnu.org>
1064 * textmodes/refill.el (refill-late-fill-paragraph-function): New var.
1065 (refill-mode): Use it.
1067 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
1069 * international/quail.el (quail-activate): Don't make-local-hook.
1071 2000-10-27 Andre Spiegel <spiegel@gnu.org>
1073 * vc-hooks.el (vc-version-backup-file-name): Use file.~<rev>~ for
1074 manual backups and file.~<rev>.~ for automatic ones.
1075 (vc-make-version-backup): Don't do it on MS-DOS without long file
1078 * vc.el (vc-version-other-window): If an automatic backup of the
1079 desired version exists, rename it instead of copying it.
1081 * vc-cvs.el (vc-cvs-checkin): Check both status and error message
1082 after command. If there's an unexpected error, signal it instead
1084 (vc-cvs-merge-news): Be prepared for no news at all.
1086 2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
1088 * shell.el (shell): Add BUFFER argument.
1089 * comint.el (make-comint-in-buffer): New function.
1090 (make-comint): Use it.
1092 * faces.el (face-spec-choose): Change syntax so that the list of
1093 attribute-value pairs is now the cdr of each clause, not the cadr.
1094 Detect old-style entries, and handle them. Use pop.
1096 2000-10-26 Stefan Monnier <monnier@cs.yale.edu>
1098 * cus-edit.el (custom-mode-map): Use a sparse map.
1099 (custom-mode): Don't bother with make-local-hook.
1101 * wid-edit.el (widget-add-change): Don't bother with make-local-hook.
1103 * vc.el (vc-start-entry): Only erase the buffer if comment is set.
1105 2000-10-26 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1107 * ps-print.el: Avoid compilation gripes.
1108 (ps-print-version): New version number (6.2.1).
1110 2000-10-26 Dave Love <fx@gnu.org>
1112 * menu-bar.el: Modify some menu item help strings.
1113 (menu-bar-help-menu): Add link to MORE.STUFF.
1115 * cus-edit.el (custom-mode): Add `special' mode-class property.
1117 * wid-browse.el (widget-browse-mode): Likewise.
1119 * wid-edit.el (widget-specify-field): Revert to using local-map
1120 property, not keymap.
1122 2000-10-26 Miles Bader <miles@lsi.nec.co.jp>
1124 * wid-edit.el (widget-field-end): When checking for a `boundary'
1125 field, do so in the correct buffer.
1127 * simple.el (undo): Correctly distinguish between numeric and
1128 non-numeric prefix args in non-transient-mark-mode, as per the doc
1129 string. When in transient-mark-mode, treat all prefix-args as
1132 * simple.el (previous-matching-history-element): Miscellaneous cleanup.
1133 Position point on match. Handle N == 0 correctly.
1135 * comint.el (comint-mode): Locally set `next-line-add-newlines' to nil.
1136 (comint-mode-map): Reverse order of `comint-write-output' and
1137 `comint-append-output-to-file'.
1138 (comint-append-output-to-file): Reinstate this function, for the
1139 benefit of the menu.
1141 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
1143 * vc.el (vc-version-other-window): Bind `file'.
1145 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1147 * Makefile.in (update-authors): New target for maintenance purposes.
1149 * emacs-lisp/authors.el (batch-update-authors): New function.
1150 (authors-fixed-entries): New defconst.
1151 (authors-add-fixed-entries): New function.
1152 (authors): Call it.: Don't process lispref/.
1154 2000-10-25 Jason Rumney <jasonr@gnu.org>
1156 * cus-edit.el (custom-button-face, custom-button-pressed-face):
1157 Merge x w32 and mac definitions.
1159 2000-10-25 Gerd Moellmann <gerd@gnu.org>
1161 * menu-bar.el (menu-bar-options-menu): Add a help string for
1164 2000-10-25 Stephen Gildea <gildea@alum.mit.edu>
1166 * time-stamp.el (time-stamp-string-preprocess):
1167 Fix a wrong type argument error.
1169 2000-10-25 Miles Bader <miles@gnu.org>
1171 * recentf.el (recentf-mode): Variable removed.
1172 (recentf-mode): Use `define-minor-mode'.
1174 * mwheel.el (mouse-wheel-mode): New global minor mode.
1175 (mwheel-install): Use `mouse-wheel-mode'.
1177 2000-10-25 Dave Love <fx@gnu.org>
1179 * progmodes/cperl-mode.el (cperl-mode):
1180 Set normal-auto-fill-function correctly.
1182 * wid-edit.el (widget-field-keymap, widget-text-keymap): Don't
1183 inherit from global-map and don't nullify menu-bar and tool-bar
1186 2000-10-25 Miles Bader <miles@lsi.nec.co.jp>
1188 * wid-edit.el (widget-field-at): New function.
1189 (widget-at, widget-field-activate): Use it.
1190 (widget-tabable-at): Use `widget-at'.
1191 (widget-specify-field): If the terminating character of the widget
1192 field (which is read-only) is a newline, put it into a special
1193 `boundary' field so that C-n/C-p act more naturally.
1194 (widget-field-end): Also don't subtract one if a special
1195 `boundary' field has been added after the widget field.
1197 * comint.el (comint-output-filter, comint-send-input): Don't
1198 bother adding stickiness fields to overlays to fool the field
1199 code, since it should notice the overlay insertion-types now.
1201 * wid-edit.el (widget-beginning-of-line, widget-end-of-line):
1202 Replace with aliases of the normal emacs b-o-l/e-o-l functions.
1203 (widget-field-keymap, widget-text-keymap): Don't bind C-a/C-e.
1205 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1207 * emacs-lisp/authors.el (authors-aliases): Add some more aliases.
1208 (authors): Set file coding system to iso-2022-7bit. Add
1209 file-local variables to output buffer.
1211 * files.el (after-find-file): Don't print any warnings if
1214 2000-10-24 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1216 * ps-print.el (ps-generate): Fix odd/even pages printing bug.
1218 * delim-col.el: Now there is a column formatting mechanism.
1219 Modified to customization mechanisms convention. Doc fix.
1220 (columns): New group for delim-col.
1221 (delimit-columns-before, delimit-columns-after)
1222 (delimit-columns-format, delimit-columns-extra, delimit-columns-start)
1223 (delimit-columns-end): New vars.
1224 (delimit-columns-customize, delimit-columns-format): New funs.
1225 (delimit-columns-region, delimit-columns-rectangle)
1226 (delimit-columns-rectangle-line): Modified to support column
1229 2000-10-24 Dave Love <fx@gnu.org>
1231 * log-edit.el (log-edit): Add :version and a :group for vc.
1233 2000-10-24 Gerd Moellmann <gerd@gnu.org>
1235 * files.el (after-find-file): Don't print a message ``New file''
1238 * wid-edit.el (widget-field-keymap, widget-text-keymap): Define
1239 the tool-bar map as nil, as for the menu-bar. Otherwise, we'll
1240 get duplicate tool-bar entries because we'll see the global ones
1241 on more than one path through keymaps.
1243 * emacs-lisp/lisp.el (defun-prompt-regexp): Doc fix.
1245 * progmodes/cmacexp.el: Change Francesco's email address.
1247 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1249 * window.el (fit-window-to-buffer): Adjust point of the window
1250 buffer, not that of the current buffer.
1252 2000-10-24 Eli Zaretskii <eliz@is.elta.co.il>
1254 * progmodes/cmacexp.el: Update the euthor's email address.
1256 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1258 * faces.el (face-spec-set-match-display): Add `graphic' display
1259 type (the inverse of `tty'). Use `display-graphic-p' instead of
1260 the window-system variable.
1262 2000-10-24 Kenichi Handa <handa@etl.go.jp>
1264 * international/isearch-x.el (isearch-with-input-method): Call
1265 input-method-function with the first event in
1266 unread-command-events.
1268 2000-10-24 Miles Bader <miles@lsi.nec.co.jp>
1270 * faces.el (face-default-spec, face-user-default-spec): Make
1273 2000-10-24 Andrew Choi <akochoi@i-cable.com>
1275 * international/mule-conf.el (mac-roman-lower, mac-roman-upper):
1278 * term/mac-win.el: Remove definitions of mac-roman-lower and
1279 mac-roman-upper, require dired, and define instead of set
1280 mac-ready-for-drag-n-drop to avoid compilation error.
1282 2000-10-23 Andrew Innes <andrewi@gnu.org>
1284 * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove
1285 superfluous calls to subst-char-in-string; instead apply
1286 expand-file-name after convert-standard-filename to ensure
1287 expected directory separators are used.
1289 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il>
1291 * info.el (Info-file-list-for-emacs): Add an entry for Eshell.
1293 2000-10-23 Dave Love <fx@gnu.org>
1295 * toolbar/tool-bar.el (tool-bar-add-item-from-menu)
1296 (tool-bar-add-item): Set foreground and background for XBM icons.
1298 * international/latin1-disp.el (latin1-char-displayable-p): New
1299 function (from Handa).
1300 (latin1-display-check-font): Use it.
1302 * imenu.el (imenu--create-keymap-2): Build menu with menu-item
1303 using :key-sequence, making it much more usable. Use nconc, not
1305 (imenu--create-keymap-1): Avoid append.
1307 * textmodes/refill.el: Remove bits redundant with define-minor-mode.
1309 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1311 [the following changes fix a bug where `define-minor-mode' didn't
1312 correctly generate :require clauses for defcustoms in compiled files]
1313 * emacs-lisp/bytecomp.el (byte-compile-last-logged-file): New variable.
1314 (byte-compile-log-file, byte-compile-log-1): Don't set
1315 `byte-compile-current-file' to nil. Instead set
1316 `byte-compile-last-logged-file' to it. Test whether
1317 byte-compile-current-file equals byte-compile-last-logged-file
1318 instead of whether its nil.
1319 (byte-compile-file): Bind `byte-compile-last-logged-file' to nil.
1321 2000-10-23 Stefan Monnier <monnier@cs.yale.edu>
1323 * textmodes/refill.el: Fix var names in doc.
1324 (refill-mode): Don't bother with make-local-hook anymore.
1326 2000-10-23 Miles Bader <miles@lsi.nec.co.jp>
1328 * faces.el (face-user-default-spec, face-default-spec): New functions.
1329 (face-spec-choose, face-spec-set): Document nil-SPEC behavior.
1330 (frame-set-background-mode, face-set-after-frame-default):
1331 Use `face-user-default-spec'. Simplify code slightly.
1333 * woman.el (woman-italic-face, woman-bold-face)
1334 (woman-unknown-face): Add dark-background variants.
1335 (woman-default-faces): Renamed from `woman-colour-faces'.
1336 Set using the stored defaults, rather than using hard-wired colors.
1337 (woman-monochrome-faces): Renamed from `woman-black-faces'.
1338 Just make the foreground `unspecified' rather than "black".
1339 (woman-menu): Rename menu entries accordingly.
1341 * faces.el (header-line): Make more reasonable on mono/grayscale
1344 2000-10-23 Andrew Choi <akochoi@i-cable.com>
1346 * cus-edit.el (custom-button-face): Use 3D look for mac.
1347 (custom-button-pressed-face): Likewise.
1349 * faces.el (set-face-attributes-from-resources): Handle mac frames
1350 in the same way as x and w32 frames.
1351 (face-valid-attribute-values): Likewise.
1352 (read-face-attribute): Likewise.
1353 (defined-colors): Likewise.
1354 (color-defined-p): Likewise.
1355 (color-values): Likewise.
1356 (display-grayscale-p): Likewise.
1357 (face-set-after-frame-default): Likewise.
1358 (mode-line): Same default face as for x and w32.
1359 (tool-bar): Likewise.
1361 * frame.el: Remove call to frame-notice-user-settings at end of
1364 * info.el (Info-fontify-node): make underlines invisible for mac
1365 as for x, pc, and w32 frame types.
1367 * term/mac-win.el: New file.
1369 2000-10-22 Dave Love <fx@gnu.org>
1371 * textmodes/refill.el: New file.
1373 2000-10-22 Andre Spiegel <spiegel@gnu.org>
1375 * vc-hooks.el (vc-version-backup-file-name): New optional args
1377 (vc-delete-automatic-version-backups, vc-make-version-backup):
1379 (vc-before-save): Use the latter.
1380 (vc-default-make-version-backups-p): Added `-p' suffix to avoid
1383 * vc-cvs.el (vc-cvs-make-version-backups-p): Added `-p' suffix as
1384 expected by vc[-hooks].el.
1386 * vc.el (vc-checkout): Added `-p' suffix in call to
1387 vc-make-version-backups-p; use vc-make-version-backup to actually
1389 (vc-version-other-window, vc-version-backup-file): Handle both
1390 automatic and manual backups.
1391 (vc-revert-file): Use vc-delete-automatic-version-backups to get rid
1394 2000-10-22 Miles Bader <miles@gnu.org>
1396 * comint.el (comint-highlight-input, comint-highlight-prompt):
1397 Renamed, `-face' at end removed.
1398 (comint-send-input, comint-output-filter): Use renamed faces.
1400 * window.el (fit-window-to-buffer): Change defaulting of
1401 MAX-HEIGHT slightly.
1403 * faces.el (color-values, color-defined-p): Use `member', not
1404 `memq', because it works correctly for strings.
1405 (frame-set-background-mode): Actually, "unspecified-fg" and
1406 "unspecified-bg" *are* strings. Use `member', not `memq', and
1407 `equal', not `eq', when a string value is possible.
1409 2000-10-21 Eli Zaretskii <eliz@is.elta.co.il>
1411 * info.el (Info-file-list-for-emacs): Add an entry for Speedbar.
1413 2000-10-21 Stefan Monnier <monnier@cs.yale.edu>
1415 * progmodes/sh-script.el (sh-mode-map): Remove bindings for
1416 sh-electric-rparen, sh-electric-less and sh-electric-hash.
1417 (sh-st-punc, sh-here-doc-syntax): Use string-to-syntax.
1418 (sh-font-lock-heredoc, sh-font-lock-paren): New funs.
1419 (sh-font-lock-syntactic-keywords): Use them.
1420 (sh-heredoc-face, sh-st-face, sh-special-syntax): Remove.
1421 (sh-mkword-regexp, sh-electric-rparen-needed-here): Remove.
1422 (sh-mode): Don't override font-lock-unfontify-region-function.
1423 Use a copy of sh-font-lock-syntactic-keywords.
1424 (sh-set-shell): Don't set sh-electric-rparen-needed-here.
1425 Don't call sh-scan-buffer since font-lock does it on the fly.
1426 (sh-get-indent-info): Use `face' rather than `syntax-table'
1427 text-property to detect here-documents.
1428 Replace sh-special-syntax with sh-st-punc.
1429 (sh-prev-line): Use `face' rather than `syntax-table'
1430 text-property to skip over here-documents.
1431 (sh-font-lock-unfontify-region-function, sh-check-paren-in-case)
1432 (sh-set-char-syntax, sh-electric-rparen, sh-electric-hash)
1433 (sh-electric-less, sh-set-here-doc-region)
1434 (sh-remove-our-text-properties, sh-search-word, sh-scan-case)
1435 (sh-scan-buffer, sh-rescan-buffer): Remove.
1437 2000-10-21 Andrew Innes <andrewi@gnu.org>
1439 * w32-fns.el (make-auto-save-file-name): Don't apply conversion to
1440 remote (ange-ftp) file names.
1442 2000-10-21 Miles Bader <miles@gnu.org>
1444 * window.el (fit-window-to-buffer): New function.
1445 (shrink-window-if-larger-than-buffer): Use it.
1446 (window-text-height): Don't expect minibuffers to have mode-lines.
1448 * help.el (resize-temp-buffer-window): Use `fit-window-to-buffer'.
1449 * international/quail.el (quail-update-guidance): Use
1450 `fit-window-to-buffer' instead of `set-window-text-height'.
1452 * international/quail.el (quail-show-guidance-buf): Make sure
1453 guidance window really has enough room.
1454 (quail-update-guidance): If quail-guidance-win is already shown,
1455 make sure its height is OK.
1457 * window.el (window-text-height, set-window-text-height):
1459 (shrink-window-if-larger-than-buffer): Use `window-text-height'
1460 instead of `window-height' & `mode-line-window-height-fudge'.
1461 (mode-line-window-height-fudge): Add FACE parameter.
1462 * help.el (resize-temp-buffer-window): Use `set-window-text-height'
1463 instead of `enlarge-window' & `mode-line-window-height-fudge'.
1465 2000-10-20 Miles Bader <miles@gnu.org>
1467 * window.el (height-affecting-face-attributes): Use `defconst'.
1469 * textmodes/ispell.el (ispell-mode-line-window-height-fudge):
1470 New function, conditionally aliased to `mode-line-window-height-fudge'.
1471 (ispell-help): Use it.
1472 (ispell-choices-win-default-height): Don't include mode-line fudge.
1473 (ispell-choices-win-default-height): New function.
1474 (ispell-show-choices, ispell-command-loop): Use function
1475 `ispell-choices-win-default-height' instead of variable.
1477 2000-10-20 Miles Bader <miles@lsi.nec.co.jp>
1479 * window.el (mode-line-window-height-fudge): New variable.
1480 (height-affecting-face-attributes): New variable.
1481 (mode-line-window-height-fudge): New function.
1482 (shrink-window-if-larger-than-buffer): Use it.
1483 * help.el (resize-temp-buffer-window): Likewise.
1485 * info.el (Info-fontify-node): Add support for @subsubsection
1486 titles, which use `Info-title-4-face'.
1487 (Info-title-4-face): New face.
1488 (Info-title-3-face): Inherit from Info-title-4-face instead of
1491 2000-10-19 Jason Rumney <jasonr@gnu.org>
1493 * dired.el (dired-insert-directory): Do not let errors signalled by
1494 attempt to run dired-free-space-program prevent dired from working.
1496 2000-10-19 Stefan Monnier <monnier@cs.yale.edu>
1498 * diff-mode.el (diff-find-file-name): Fix regex subgroup number.
1500 2000-10-19 Gerd Moellmann <gerd@gnu.org>
1502 * dirtrack.el (dirtrack): Fix call to run-hooks.
1504 * cmuscheme.el (cmuscheme-program-name): Renamed from
1505 scheme-program-name because xscheme.el contains a defcustom with
1506 the same name. As a consequence, customizing group `cmuscheme'
1507 loaded `xscheme' which redefined run-scheme.
1508 (run-scheme): Use cmuscheme-program-name.
1510 * ps-print.el (ps-print-emacs-type): Move into the
1513 * play/doctor.el (doctor-death): Update the Samaritans'
1514 anonymous address, and add a website for Befrienders International.
1516 2000-10-19 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1518 * ps-print.el: Even/odd pages fix. Fix little bug on XEmacs.
1519 Avoid compilation gripes. Doc fix.
1520 (ps-print-version): New version number (6.2).
1521 (ps-x-color-instance-p, ps-x-color-instance-rgb-components)
1522 (ps-x-color-name, ps-x-color-specifier-p, ps-x-copy-coding-system)
1523 (ps-x-device-class, ps-x-extent-end-position, ps-x-extent-face)
1524 (ps-x-extent-priority, ps-x-extent-start-position)
1525 (ps-x-face-font-instance, ps-x-find-coding-system)
1526 (ps-x-font-instance-properties, ps-x-make-color-instance)
1527 (ps-x-map-extents): Alias for functions without the prefix `ps-x-', to
1528 avoid compilation gripes without defining functions.
1529 (ps-e-find-composition): Alias for function find-composition, to have a
1530 suitable function depending on Emacs version.
1531 (ps-color-device, ps-color-values, ps-face-foreground-name)
1532 (ps-face-background-name, ps-face-bold-p, ps-face-italic-p, ps-mapper)
1533 (ps-extent-sorter, ps-xemacs-face-kind-p, ps-xemacs-color-name)
1534 (ps-print-ensure-fontified): Function definitions surrounded by
1535 `eval-and-compile' to avoid compilation gripes.
1536 (ps-font-lock-face-attributes): `font-lock-face-attributes' evaluated
1537 by symbol-value to avoid compilation gripes.
1538 (ps-end-file, ps-header-sheet, ps-plot-region): Even/odd pages fix.
1539 (ps-generate-postscript-with-faces): Fix little bug on XEmacs.
1541 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1543 * startup.el (normal-top-level): Call `frame-set-background-mode'
1544 after `frame-notice-user-settings' because the latter doesn't call
1545 the former on a tty.
1547 * faces.el (frame-set-background-mode): `unspecified' &c are
1548 symbols, not strings.
1550 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1552 * term/tty-colors.el (color-name-rgb-alist): Add a comment explaining
1553 why some "light*" colors are deliberately absent from the alist.
1555 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face):
1556 Change colors for tty's, as suggested by Miles Bader.
1558 2000-10-19 Kenichi Handa <handa@etl.go.jp>
1560 * international/fontset.el: Use registry "MuleTibetan-2" for Tibetan.
1561 (ccl-encode-mule-unicode-0100-24ff): New CCL program. Register it
1562 for ISO10646-1 fonts.
1563 (x-font-name-charset-alist): Add an entry for "iso10646-1".
1565 2000-10-19 Eli Zaretskii <eliz@is.elta.co.il>
1567 * faces.el (frame-set-background-mode): If a tty frame defines a
1568 background color, use that to compute the background mode, instead
1569 of always defaulting to "dark".
1571 2000-10-19 Miles Bader <miles@lsi.nec.co.jp>
1573 * comint.el (comint-write-output): New function.
1574 (comint-mode-map): Add it to the menu.
1575 Bind `C-c C-s' to comint-write-output.
1577 2000-10-18 Gerd Moellmann <gerd@gnu.org>
1579 * startup.el (fancy-splash-screens): Set buffer-undo-list to t.
1580 Use fancy-splash-delay.
1582 2000-10-18 Alex Schroeder <alex@gnu.org>
1584 * progmodes/sql.el (sql-sybase-options): New option.
1585 (sql-sybase): Use it. Add sql-database to the list of parameters
1586 provided for login. The options -w 2048 -n are not used any more.
1588 * comint.el (comint-read-input-ring): Bugfix such that the first
1589 and the last entry of the input ring file are not lost.
1591 2000-10-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
1593 * ps-print.el: Internal variable changes to defcustom,
1594 make-local-hook changes to defvar. Doc fix.
1595 (ps-print-version): New version number (6.1).
1596 (ps-setup, ps-do-despool): Code fix.
1597 (ps-printer-name): Customization fix.
1598 (ps-printer-name-option): Now is a defcustom instead of an
1600 (ps-print-hook, ps-print-begin-sheet-hook, ps-print-begin-page-hook)
1601 (ps-print-begin-column-hook): Now are defvar instead of
1604 2000-10-18 Miles Bader <miles@gnu.org>
1606 * comint.el (comint-delete-output): Renamed from `comint-kill-output'.
1607 (comint-kill-output): Changed into an alias for `comint-delete-output',
1609 (comint-mode-map): Rename references to comint-kill-output.
1611 2000-10-18 Eli Zaretskii <eliz@is.elta.co.il>
1613 * diff-mode.el (diff-header-face, diff-file-header-face)
1614 (diff-changed-face): Add bold and italic attributes to tty faces.
1615 (diff-function-face): New face.
1616 (diff-font-lock-keywords): Use it.
1618 2000-10-18 Miles Bader <miles@lsi.nec.co.jp>
1620 * comint.el (comint-output-filter): Fixup comint-last-input-end too.
1621 Remove commented-out call to force-mode-line-update.
1622 (comint-kill-output): Use `forward-line 0' instead of
1623 beginning-of-line to make sure we get past the prompt.
1625 2000-10-17 Stefan Monnier <monnier@cs.yale.edu>
1627 * diff-mode.el (diff-header-face, diff-file-header-face):
1628 Add specific setting for dark background.
1629 (diff-context-face): Renamed from diff-comment-face.
1630 Set explicitly rather than inheriting from font-lock-comment-face.
1632 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1634 * startup.el (command-line): Move the code which sets the default
1635 TTY colors to before before-init-hook.
1637 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1639 * jit-lock.el (jit-lock-stealth-time): Doc fix.
1641 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1643 * files.el (auto-mode-alist): Add .dif and .pat as diff-mode
1644 extensions, for MS-DOS.
1646 * diff-mode.el (diff-header-face, diff-file-header-face)
1647 (diff-changed-face): Define tty-specific colors.
1649 2000-10-17 Gerd Moellmann <gerd@gnu.org>
1651 * startup.el (fancy-splash-text): Realign the text.
1653 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1655 * font-lock.el (font-lock-comment-face): Define a separate default
1656 for dark-background tty's.
1658 2000-10-17 Miles Bader <miles@gnu.org>
1660 * help.el (resize-temp-buffer-window): Add hack to avoid last line
1661 being obscured by whizzy mode-lines on graphics displays.
1663 2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
1665 * info.el (Info-title-1-face, Info-title-2-face)
1666 (Info-title-3-face): Define colors for tty's.
1667 (info-header-node): Remove unneeded tty-specific definition.
1669 2000-10-16 Eli Zaretskii <eliz@is.elta.co.il>
1671 * term/pc-win.el (msdos-handle-reverse-video): Don't remove
1672 reverse from the frame parameters, and don't invert foreground and
1675 2000-10-16 Miles Bader <miles@gnu.org>
1677 * info.el (Info-set-mode-line): Use `%b' instead of hardwired
1678 string "*Info*". Call propertized-buffer-identification to spruce
1681 2000-10-16 Gerd Moellmann <gerd@gnu.org>
1683 * help.el: Provide `help' for the sake of define-minor-mode
1684 which generates defcustoms with requires.
1686 * jit-lock.el (jit-lock-after-change): If we're in text that
1687 matches a multi-line font-lock pattern, make sure the whole text
1688 will be redisplayed.
1690 * emacs-lisp/authors.el (authors-add): Don't add an entry if
1691 author's name is unknown.
1693 * eshell/esh-var.el, eshell/esh-util.el, eshell/esh-test.el,
1694 * eshell/esh-proc.el, eshell/esh-opt.el, eshell/esh-mode.el,
1695 * eshell/esh-maint.el, eshell/esh-io.el, eshell/esh-ext.el,
1696 * eshell/esh-cmd.el, eshell/esh-arg.el, eshell/em-xtra.el,
1697 * eshell/em-unix.el, eshell/em-term.el, eshell/em-smart.el,
1698 * eshell/em-script.el, eshell/em-rebind.el, eshell/em-prompt.el,
1699 * eshell/em-pred.el, eshell/em-ls.el, eshell/em-hist.el,
1700 * eshell/em-glob.el, shell/em-dirs.el, eshell/em-cmpl.el,
1701 * eshell/em-basic.el, eshell/em-banner.el, eshell/em-alias.el:
1702 Add author information.
1704 2000-10-16 Miles Bader <miles@lsi.nec.co.jp>
1706 * toolbar/up_arrow.xpm, toolbar/right_arrow.xpm:
1707 * toolbar/left_arrow.xpm, toolbar/home.xpm: Re-convert from
1708 full-color version (using the Gimp) to eliminate dithering artifacts.
1710 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1712 * font-lock.el (font-lock-syntactic-keywords): Fix docstring.
1714 * simple.el (syntax-flag-table, string-to-syntax): Remove.
1716 2000-10-15 Dave Love <fx@gnu.org>
1718 * progmodes/sh-script.el: Require skeleton and comint when
1721 * pcomplete.el (pcomplete) <defgroup>: Add :version.
1723 * whitespace.el: Doc fixes.
1724 (top-level): Don't add hooks here.
1725 (whitespace-running-emacs): Deleted.
1726 (timer): Don't require.
1727 (whitespace): Add back :version conditional on xemacs test.
1728 (whitespace-spacetab-regexp, whitespace-indent-regexp)
1729 (whitespace-ateol-regexp, whitespace-modes): Fix custom type.
1730 (whitespace-force-mode-line-update, whitespace-refresh-rescan-list)
1731 (whitespace-tickle-timer, whitespace-rescan-files-in-buffers):
1732 Avoid specific xemacs test.
1733 (whitespace-global-mode): New option.
1734 (whitespace-global-mode): New command.
1735 (whitespace-unload-hook): New function.
1737 * info.el (Info-mouse-follow-nearest-node): Use mouse-set-point.
1738 (Info-fontify-node, Info-goto-node, Info-mode-menu)
1739 (Info-fontify-node): `Goto' goes to `Go to'.
1740 (Info-fontify-node): Add help-echo to xref links.
1742 2000-10-15 Eli Zaretskii <eliz@is.elta.co.il>
1744 * eshell/em-unix.el (eshell-du-prefer-over-ange): Doc fix.
1746 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
1748 * emacs-lisp/easy-mmode.el (easy-mmode-define-syntax):
1749 Use plist-get and allow :inherit.
1751 * emacs-lisp/cl-macs.el (cl-do-arglist):
1752 Use plist-get and plist-member instead of memq.
1754 * emacs-lisp/ewoc.el (ewoc-location): New function.
1755 (ewoc-enter-after, ewoc-enter-before): Document return value.
1756 * pcvs.el (cvs-make-cvs-buffer, cvs-run-process):
1757 Don't need make-local-hook any more.
1758 (cvs-addto-collection): Return the new tin.
1759 (cvs-mode-insert): Jump to the new line.
1761 * jit-lock.el (jit-lock-fontify-buffer): Remove.
1763 * arc-mode.el (archive-zoo-summarize): Fix from gnu.emacs.bug.
1765 * font-lock.el (font-lock-syntactically-fontified): New var.
1766 (font-lock-fontify-syntactic-keywords-region): Use it.
1767 (font-lock-mode): Fix docstring. Don't need make-local-hook anymore.
1769 * diff-mode.el (diff-find-file-name): Fix regexp.
1771 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
1772 (cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.
1774 * progmodes/sh-script.el (sh-imenu-generic-expression): Fix.
1775 (sh-mode-syntax-table): Add punctuation syntax for < and >.
1776 (sh-mode): Don't make all vars local here.
1778 (sh-set-shell): Use dolist. Don't set indent-region-function.
1779 (sh-mode-syntax-table): Use pop.
1780 (sh-remember-variable): Use push.
1781 (sh-help-string-for-variable): Use memq.
1782 (sh-safe-backward-sexp): Remove.
1783 (sh-safe-forward-sexp): Add ARG.
1784 (sh-get-indent-info, sh-prev-stmt): Use it.
1785 (sh-prev-line): Simplify by using forward-comment.
1786 (sh-this-is-a-continuation): Simplify.
1787 (sh-learn-buffer-indent): Use dolist.
1788 (sh-do-nothing): Remove.
1789 (sh-set-char-syntax, sh-set-here-doc-region):
1790 Use inhibit-modification-hooks.
1791 (sh-name-style): Use mapcar and push.
1792 (sh-load-style): Use dolist.
1793 (sh-save-styles-to-buffer): Use with-current-buffer and pp.
1794 (sh-case, sh-while-getopts): Use propertize directly rather
1795 than sh-electric-rparen.
1797 2000-10-14 Stefan Monnier <monnier@cs.yale.edu>
1799 * textmodes/tex-mode.el: Require CL when compiling.
1800 (tex-mode-syntax-table): Init immediately.
1801 (tex-mode-map): Bind M-RET to latex-insert-item.
1802 (latex-mode): Set indent-line-function to latex-indent.
1803 (tex-common-initialization): Don't setup the syntax-table any more.
1804 (latex-insert-item): New skeleton.
1805 (tex-next-unmatched-end): Fix copy/paste braino.
1806 (latex-syntax-after, latex-skip-close-parens, latex-down-list)
1807 (latex-indent, latex-find-indent): New functions.
1808 (tex-indent-allhanging, tex-indent-arg, tex-latex-indent-syntax-table)
1809 (tex-indent-item, tex-indent-item-re, tex-indent-basic): New vars.
1810 (tex-compilation-parse-errors): Use with-syntax-table.
1812 2000-10-15 Miles Bader <miles@gnu.org>
1814 * font-lock.el (font-lock-comment-face): Change dark-background,
1815 color, non-tty, default to `chocolate1'.
1817 2000-10-13 John Wiegley <johnw@gnu.org>
1819 * eshell/esh-util.el (require): Added a missing `require' form,
1820 needed when compiling (for an ange-ftp macro definition).
1822 2000-10-13 Dave Love <fx@gnu.org>
1824 * toolbar/paste.pbm, toolbar/saveas.pbm: Retouch.
1826 2000-10-13 Gerd Moellmann <gerd@gnu.org>
1828 * emacs-lisp/lisp.el (down-list, backward-up-list, up-list): Doc
1831 * toolbar/*.xpm: Reduce to max. 8 colors (mogrify -colorspace
1832 transparent -colors 8).
1834 2000-10-13 Stephen Gildea <gildea@alum.mit.edu>
1836 * time-stamp.el (time-stamp): Fixed bug in new multi-line code
1837 that breaks with old list format timestamps.
1838 (time-stamp-warn-inactive, time-stamp-old-format-warn)
1839 (time-stamp-count, time-stamp-conversion-warn): Improved doc
1842 2000-10-13 John Wiegley <johnw@gnu.org>
1844 * align.el, pcomplete.el, calendar/timeclock.el,
1845 eshell/esh-module.el, eshell/eshell.el: Removed URL reference.
1847 * calendar/timeclock.el (timeclock-find-discrep): A fix to some
1848 faulty math, where holiday hours were being computing as seconds.
1850 2000-10-13 John Wiegley <johnw@gnu.org>
1852 * desktop.el (desktop-buffer-modes-to-save): Added a global for
1853 specifying what "other" kinds of buffers should be saved. This
1854 used to be hard-coded.
1855 (desktop-buffer-misc-functions): A global for specifying how
1856 auxiliary data should be determined for special buffer types.
1857 (desktop-save-buffer-p): Use `desktop-buffer-modes-to-save',
1858 instead of hard-coding the special buffer types.
1859 (desktop-save): Run `desktop-buffer-misc-functions' to gather
1860 auxiliary data, instead of hard-coding for Info buffers and dired.
1861 (desktop-buffer-info-misc-data): Aux function for determining Info
1862 buffer auxiliary info.
1863 (desktop-buffer-dired-misc-data): Likewise, but for dired buffers.
1864 (desktop-buffer-info): Changed this function to use the info
1866 (desktop-create-buffer): Be a little more careful about what
1867 `minor-mode' means before calling it. This is important for some
1870 2000-10-13 John Wiegley <johnw@gnu.org>
1872 * eshell/esh-util.el: Added a global form which declares an
1873 autoload for `parse-time-string', if that function is not already
1874 defined, and if parse-time.el is available on the user's system.
1876 * eshell/em-ls.el (eshell-ls-applicable): Extended this function
1877 to be aware of ange-ftp user info.
1878 (eshell-do-ls): Bind `ange-cache'. Also, use
1879 `eshell-file-attributes'.
1880 (eshell-ls-annotate): Use `eshell-file-attributes'.
1881 (eshell-ls-file): Made the user-id printing code a bit smarter.
1883 * eshell/esh-util.el (eshell-ange-ls-uids): Added variable, to
1884 allow identification of alias user ids in remote directories.
1885 It's manual, but there's no other way to know when the current
1886 user on the local machine, is also the owning user on the remote
1888 (fboundp): Bind `ange-cache'.
1889 (eshell-directory-files-and-attributes): Re-organized the logic a
1890 bit to use `eshell-file-attributes' instead of `file-attributes'.
1891 The former is more sensitive to directories that are read via FTP,
1892 and knows how to use ange-ftp to determine full attribute
1893 information, instead of just the name and last modtime.
1894 (eshell-current-ange-uids): Return the current user id when in a
1896 (eshell-parse-ange-ls): Parse a full directory listing that has
1897 been returned by ange-ftp.
1898 (eshell-file-attributes): This beefed up version of
1899 `file-attributes' is only special if the user is currently in a
1900 remote directory, in which case it does a lot of work to find out
1901 what the real attributes of a file are, as they appear on the
1902 remote machine. This makes usage of remote directories (i.e.,
1903 ange-ftp pathnames) much more useful. You can now use Eshell as a
1904 full-fledged FTP client, with much more manipulation ability than
1907 * eshell/em-unix.el (eshell-du-prefer-over-ange): Added a new
1908 variable, which means that Eshell's du should always be preferred
1909 in remote directories.
1910 (eshell-shuffle-files): Use `eshell-file-attributes', rather than
1911 just `file-attributes'.
1912 (eshell-mvcp-template): Bind `ange-cache', to improve performance
1913 when reading remote directories. This is an Eshell-specific
1914 variable (not part of ange-ftp).
1915 (eshell/ln): Bind `ange-cache'.
1916 (eshell/du): Added some extra logic for determining when to use
1917 Eshell's du (which is slow), and when to use the external version
1918 (which may or may not exist).
1920 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof): Call
1921 `eshell-interactive-process', rather than using
1922 `get-buffer-process', since backgrounded processes don't count in
1923 the context of this function's logic.
1925 * eshell/esh-arg.el (eshell-parse-double-quote): Moved a call to
1926 `forward-char', so that null strings are parsed correctly.
1928 2000-09-13 John Wiegley <johnw@gnu.org>
1930 * eshell/em-pred.el (eshell-pred-file-type,
1931 eshell-pred-file-links, eshell-pred-file-size): Use
1932 `eshell-file-attributes'. This is more correct over ange-ftp.
1934 * eshell/em-glob.el (eshell-extended-glob): Bind `ange-cache', so
1935 that remote file globbing is more efficient.
1937 * eshell/em-ls.el (eshell-ls-dir): Use `expand-file-name' when
1938 gathering the files and attributes within a directory.
1940 * eshell/em-unix.el (eshell/cat): If any of the files passed on
1941 the command line is a special file (not a regular file, directory
1942 or symlink), always attempt to call the external version of cat.
1944 2000-09-13 John Wiegley <johnw@gnu.org>
1946 * eshell/esh-mode.el (eshell-find-tag): Corrections to the
1947 Eshell-friendly version of find-tag.
1949 2000-10-13 Miles Bader <miles@lsi.nec.co.jp>
1951 * image-file.el (image-file-name-extensions)
1952 (image-file-name-regexps): Add autoload cookies.
1954 2000-10-13 Kenichi Handa <handa@etl.go.jp>
1956 * international/mule-cmds.el (select-safe-coding-system): If FROM
1957 is string, show it in *Warning* buffer.
1959 2000-10-13 Eli Zaretskii <eliz@is.elta.co.il>
1961 * startup.el (normal-top-level): Use display-popup-menus-p instead
1963 (command-line): Use display-graphic-p instead of window-system.
1964 (command-line-1): Use display-popup-menus-p and display-mouse-p
1965 instead of window-system.
1967 2000-10-12 Sam Steingold <sds@gnu.org>
1969 * tooltip.el (tooltip-use-echo-area): New user variable.
1970 (tooltip-show): Use it to choose between `x-show-tip' and `message'.
1972 2000-10-12 Dave Love <fx@gnu.org>
1974 * recentf.el: Maintainer's checkdoc fixes.
1976 * startup.el (normal-top-level-add-subdirs-to-load-path): Use
1977 character class, not ASCII when matching file names.
1978 (fancy-splash-head): Add trailing slash to URL.
1979 (command-line): Don't require XPM support for toolbar.
1981 * progmodes/cperl-mode.el (cperl-tips-faces): Doc fix.
1982 (cperl-invalid-face): Revert last change.
1983 (cperl-init-faces): Quote cperl-invalid-face.
1985 2000-10-12 Kenichi Handa <handa@etl.go.jp>
1987 * startup.el (fancy-splash-text): Remove superfluous quote.
1989 2000-10-12 Gerd Moellmann <gerd@gnu.org>
1991 * startup.el (fancy-splash-screens): Don't add a pre-command hook.
1992 (fancy-splash-pre-command, fancy-splash-pending-command): Removed.
1993 (command-line-1): Don't use fancy-splash-pending-command.
1994 (fancy-splash-screens-1): Goto point-min after inserting text.
1996 * calendar/diary-lib.el (diary-cyclic): Doc fix from Ed Reingold.
1998 * progmodes/scheme.el (scheme-mode-map): Use lisp-mode-shared-map
1999 instead of shared-lisp-mode-map.
2001 2000-10-12 Miles Bader <miles@lsi.nec.co.jp>
2003 * faces.el (header-line): Change tty-variant to use underlining.
2005 * isearch.el (isearch-set-lazy-highlight-faces-at): New function.
2006 (isearch-highlight): Restore lazy-isearch face properties at old
2007 position, and suppress them at new position.
2008 (isearch-dehighlight): Restore lazy-isearch face properties.
2009 (isearch-lazy-highlight-update): Add lazy-isearch overlays even
2010 over the real isearch overlay, but in that case, don't give it a
2011 face property. Use `push'.
2013 2000-10-12 Kenichi Handa <handa@etl.go.jp>
2015 * man.el (Man-getpage-in-background): Fix previous change.
2016 Decode the process output only when we are in multibyte mode.
2018 2000-10-11 Dave Love <fx@gnu.org>
2020 * info.el (Info-mode-menu): Fix some help.
2021 (info-tool-bar-map): Add entry for Info-last.
2023 * toolbar/cancel.xpm, toolbar/jump_to.xpm, toolbar/right_arrow.xpm:
2024 * toolbar/close.xpm, toolbar/left_arrow.xpm, toolbar/save.xpm:
2025 * toolbar/copy.xpm, toolbar/mail.xpm, toolbar/saveas.xpm:
2026 * toolbar/cut.xpm, toolbar/mail_compose.xpm:
2027 * toolbar/search-replace.xpm, toolbar/exit.xpm:
2028 * toolbar/mail_send.xpm, toolbar/search.xpm, toolbar/fld_open.xpm:
2029 * toolbar/new.xpm, toolbar/spell.xpm, toolbar/help.xpm:
2030 * toolbar/open.xpm, toolbar/undo.xpm, toolbar/home.xpm:
2031 * toolbar/paste.xpm, toolbar/up_arrow.xpm, toolbar/index.xpm:
2032 * toolbar/preferences.xpm, toolbar/info.xpm, toolbar/print.xpm:
2033 Reduce colour requirements to 25 overall. (Probably wants
2034 revisiting from the originals to reduce further.)
2036 2000-10-11 Eli Zaretskii <eliz@is.elta.co.il>
2038 * hexl.el (hexlify-buffer): Bind coding-system-for-write to
2039 buffer-file-coding-system, instead of raw-text.
2040 (dehexlify-buffer): Bind coding-system-for-read to
2041 buffer-file-coding-system, instead of raw-text.
2043 2000-10-11 Sam Steingold <sds@gnu.org>
2045 * progmodes/cperl-mode.el (cperl-invalid-face): double-quote
2046 `underline' - fixes the bug introduced on 2000-09-21.
2048 2000-10-11 Dave Love <fx@gnu.org>
2050 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Avoid
2052 (scheme-mode): Doc fix.
2053 (scheme-font-lock-keywords-1): Match `define-syntax'.
2055 2000-10-11 Miles Bader <miles@lsi.nec.co.jp>
2057 * faces.el (frame-set-background-mode): Pay attention to saved
2058 face specs as well as default ones. Only do anything if the
2059 bg-mode or display-type has actually changed. Use `dolist'.
2060 (region): Make dark-background `region' face less in-your-face.
2062 2000-10-10 Sam Steingold <sds@gnu.org>
2064 * chistory.el, ielm.el, ledit.el:
2065 * progmodes/inf-lisp.el, progmodes/scheme.el:
2066 Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
2068 2000-10-10 Stefan Monnier <monnier@cs.yale.edu>
2070 * textmodes/texinfo.el: Update copyright and fix typo.
2072 * desktop.el (desktop-modes-not-to-save): New var.
2073 (desktop-save-buffer-p): Use it.
2074 Also, obey desktop-buffers-not-to-save even for non-file buffers.
2075 (desktop-buffer-file): Use pop-to-buffer if switch-to-buffer fails.
2077 2000-10-10 Dave Love <fx@gnu.org>
2079 * toolbar/tool-bar.el (tool-bar-add-item)
2080 (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
2083 * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
2084 * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
2085 * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
2086 * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
2087 * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
2088 * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
2089 * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
2090 * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
2091 * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
2092 * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
2093 the .xpms; probably need retouching.
2095 2000-10-10 Miles Bader <miles@lsi.nec.co.jp>
2097 * subr.el (add-to-list): Add optional argument APPEND.
2098 * battery.el (display-battery): Use `add-to-list'.
2100 2000-10-09 Thien-Thi Nguyen <ttn@gnu.org>
2102 * play/zone.el (zone-timer, zone-wc-tbl): Rework
2103 these vars as symbol properties.
2104 (zone, zone-when-idle, zone-leave-me-alone)
2105 (zone-pgm-whack-chars): Use new symbol properties.
2107 * battery.el (display-battery): Doc spelling fix.
2109 * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
2112 2000-10-09 Dave Love <fx@gnu.org>
2114 * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
2115 has been initialized before calling tool-bar-setup.
2116 (tool-bar-add-item-from-menu): Add autoload cookie.
2118 2000-10-09 Eli Zaretskii <eliz@is.elta.co.il>
2120 * menu-bar.el (send-mail-item-name): New function.
2121 (menu-bar-tools-menu) <compose-mail>: Use it to display the value
2122 of mail-user-agent in the menu. Don't display the "Send Mail"
2123 item if mail-user-agent is nil or its value is ignore.
2124 (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
2125 if read-mail-command is nil or its value is ignore.
2127 * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
2129 2000-10-09 Miles Bader <miles@gnu.org>
2131 * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
2133 * toolbar/left_arrow.xpm: Correct image size.
2135 * jka-compr.el: Don't call `jka-compr-install' when loading (it
2136 will be done by the definition of `auto-compression-mode' if
2137 necessary. Move code to uninstall existing file-name handler
2138 before definition of `auto-compression-mode'.
2140 * image-file.el (auto-image-file-mode): Move to the end of the
2141 file, because `define-minor-mode' actually calls the mode-function
2142 if the associated variable is non-nil, which requires that all
2143 needed functions be already defined.
2145 * mouse.el (popup-menu): Balance parens.
2147 2000-10-08 Stefan Monnier <monnier@cs.yale.edu>
2149 * mouse.el (popup-menu): Move the command call outside the loop
2150 so that popup-menu returns whatever the command returns.
2152 * progmodes/etags.el: Docstring fixes. Maintainer line updated.
2153 (initialize-new-tags-table): Use run-hook-with-args-until-success.
2154 (find-tag): Use pop-to-buffer if switch-to-buffer failed.
2155 (tags-table-format-functions): Renamed from tags-table-format-hooks.
2157 * vc.el (vc-version-diff): diff-switches can be a list.
2158 Use relative filenames for prettier output.
2160 * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
2161 (vc-post-command-functions): Remove old-VC compatibility code.
2163 * newcomment.el (comment-indent-default): Autoload.
2165 * font-lock.el (font-lock-defaults): Make buffer-local.
2166 (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
2167 (font-lock-choose-keywords):
2168 Ignore LEVEL unless KEYWORDS is a list of syms.
2169 (c-keywords, c++-keywords, objc-keywords, java-keywords):
2170 Don't wrap regexp-opt things in \(...\) unnecessarily.
2172 * jit-lock.el: Don't require font-lock any more.
2173 (jit-lock-functions): Make buffer-local.
2174 (jit-lock-saved-fontify-buffer-function): Remove.
2175 (jit-lock-mode): Remove autoload cookie.
2176 Remove font-lock specific code.
2177 (jit-lock-unregister): Don't bother handling complex hooks any more.
2178 (jit-lock-refontify): New function.
2179 (jit-lock-fontify-buffer): Use it.
2180 (jit-lock-function-1): Replaced by jit-lock-fontify-now.
2181 (jit-lock-fontify-now): Renamed from jit-lock-function-1.
2182 Add optional args START and END.
2183 Never call font-lock-fontify-region directly.
2184 (jit-lock-function, jit-lock-stealth-fontify): Use it.
2186 * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
2188 2000-10-08 Dave Love <fx@gnu.org>
2190 * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
2192 * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
2194 * play/studly.el (studlify-region, studlify-word): Add autoload
2197 * play/morse.el (morse-region, unmorse-region): Add autoload
2200 * play/spook.el (spook-phrases-file): Use expand-file-name, not
2203 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
2204 insist on symbols starting with word syntax.
2205 (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
2206 (eval-defun-1): Doc fix.
2207 (indent-sexp): Use nconc to build up indent-stack.
2209 * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
2210 Gnus with little use.
2211 (mail-setup-hook): Add mail-abbrevs-setup to options.
2213 * recentf.el: Doc fixes.
2215 * vcursor.el (vcursor-cs-binding): Remove compatibility code.
2218 * timezone.el (timezone-parse-date): Doc fix. Fix regexps for (5)
2219 without timezone and (8) with timezone to enforce some whitespace.
2220 Simplify code somewhat.
2222 * options.el (list-options): Doc that you should use customize.
2224 * iswitchb.el (iswitchb-mode): Add :require.
2226 * info.el (Info-goto-node, Info-menu): Doc fix.
2227 (Info-mode-menu): Bind beginning-of-buffer, Info-edit
2228 (info-tool-bar-map): New variable.
2229 (Info-mode): Use it.
2230 (Info-edit-map): Define all in defvar.
2231 (speedbar-attached-frame): Avoid compiler warning.
2233 * toolbar/tool-bar.el (tool-bar-map): Define it empty.
2234 (global-map): Bind [tool-bar] to a filtered map.
2235 (tool-bar-add-item): Remove MAP arg. Allow PBM icons.
2236 (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
2238 (tool-bar-setup): Adjust calls of tool-bar-add-item.
2240 * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
2241 * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
2242 * toolbar/right_arrow.xpm: New files. Renamed from tigert's
2243 icons, except up_arrow, which is left-arrow rotated.
2245 * imenu.el (imenu-add-to-menubar): Fix last change.
2247 2000-10-08 Peter Breton <pbreton@ne.mediaone.net>
2249 * generic-x.el (rul-generic-mode): Remove eval-when-compile
2250 statements. Suggested by Stefan Monnier <monnier@cs.yale.edu>.
2252 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2254 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Fix
2255 typos in doc strings.
2257 * font-lock.el (font-lock-mode, global-font-lock-mode): Mention in
2258 the doc strings how to customize Font Lock faces.
2260 * mouse.el (mouse-drag-mode-line-1): Fix an off-by-one error in
2261 computing growth when dragging the header line.
2263 2000-10-08 Eli Zaretskii <eliz@is.elta.co.il>
2265 * simple.el (kill-line): Doc fix.
2267 2000-10-08 Miles Bader <miles@gnu.org>
2269 * faces.el (secondary-selection): Make foreground visible on tty.
2271 * jka-compr.el (auto-compression-mode): Move to the end of the
2272 file, because `define-minor-mode' actually calls the mode-function
2273 if the associated variable is non-nil, which requires that all
2274 needed functions be already defined.
2275 (with-auto-compression-mode): Add autoload cookie.
2277 2000-10-07 Eli Zaretskii <eliz@is.elta.co.il>
2279 * files.el (find-backup-file-name) [ms-dos]: If support for long
2280 file names is not available, behave as if version-control were set
2283 2000-10-07 Dave Love <fx@gnu.org>
2285 * net/browse-url.el (browse-url-gnome-moz-arguments): New option.
2286 (browse-url-gnome-moz): New function.
2287 (browse-url-browser-function): Use it.
2288 Suggested by Colin Walters <walters@cis.ohio-state.edu>.
2290 2000-10-07 Stefan Monnier <monnier@cs.yale.edu>
2292 * indent.el (tab-always-indent): New var.
2293 (indent-for-tab-command): Use it.
2295 * files.el (set-auto-mode): Ignore unknown -*- mode -*- rather than
2296 raise an error. This way it can still default to a sane value.
2298 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2300 * startup.el (fancy-splash-screens): Use local rather than global map.
2301 Don't use `update-menu-bindings' any more.
2302 Get rid of assumptions about keymap representation.
2304 2000-10-06 Dave Love <fx@gnu.org>
2306 * textmodes/fill.el (sentence-end-double-space)
2307 (sentence-end-without-period): Doc fix.
2308 (adaptive-fill-regexp): Purecopy.
2309 (unjustify-current-line): Use line-end-position.
2310 (fill-individual-paragraphs-prefix): Use line-beginning-position.
2312 * net/eudc-vars.el (eudc): Add :version, :link.
2314 * international/mule-conf.el (file-coding-system-alist): Use \', not $.
2316 * emacs-lisp/find-func.el (find-function-regexp): Remove spurion.
2317 Fix for define-minor-mode.
2318 (function-at-point): Alias to function-called-at-point.
2320 * custom.el (custom-declare-variable, custom-set-variables): Use mapc.
2322 * simple.el (backward-word): Doc fix.
2324 * image-file.el (image-file-name-regexp): image-file-regexps ->
2325 image-file-name-regexps.
2326 (image-file-name-extensions): Add pbm.
2328 2000-10-06 Stefan Monnier <monnier@cs.yale.edu>
2330 * smerge-mode.el (smerge-diff): Setup the buffer's default-directory
2331 and add filename to the names so that diff-mode can jump to source.
2333 * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
2334 (tex-font-lock-keywords, tex-font-lock-keywords-2)
2335 (tex-font-lock-keywords-1): Remove.
2336 (font-lock-turn-on-thing-lock): Use jit-lock-register.
2337 (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
2338 (font-lock-default-fontify-region):
2339 Expand beg..end correctly when just following a multiline region.
2340 (font-lock-fontify-anchored-keywords):
2341 Include the anchor text as part of the multiline.
2343 2000-10-06 Gerd Moellmann <gerd@gnu.org>
2345 * loadup.el (toplevel): Load `loaddefs' before `help' because the
2346 latter needs the autoloaded define-minor-mode macro during the
2349 * startup.el (command-line): For now, activate tool-bar-mode only
2350 if XPM images are supported.
2352 * mouse.el (mouse-drag-header-line): Don't allow resizing a
2353 window by dragging a header-line at the top of the frame; that's
2354 confusing because the header-line doesn't move.
2355 (mouse-drag-mode-line-1): Use event-* and posn-* functions instead
2356 of treating the event as a list. Some cleanup.
2358 2000-10-06 Miles Bader <miles@gnu.org>
2360 * simple.el (display-message-or-buffer): New function.
2361 (shell-command-on-region): Use `display-message-or-buffer'.
2363 * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
2366 * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
2367 (smbclient-prompt-regexp): Add usage note to doc string.
2368 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
2369 (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
2370 Use add-hook for adding the comint filter function, and only do so
2371 if it's not already in the global hook list.
2372 (ftp-mode, smbclient-mode, nslookup-mode): Remove redundant calls
2373 to `make-local-variable'.
2374 (nslookup-font-lock-keywords): Remove prompt entry.
2375 (nslookup): Don't set the process-filter.
2376 (finger): Exit the loop correctly when the regexps list runs out.
2377 (ftp, smbclient, smbclient-list-shares):
2378 Set the real major mode immediately, not after execing.
2379 Use `pop-to-buffer' instead of `switch-to-buffer-other-window'.
2381 * comint.el (comint-watch-for-password-prompt): Use STRING as a prompt.
2383 2000-10-05 Stefan Monnier <monnier@cs.yale.edu>
2385 * progmodes/compile.el (compile-collect-regexps): Use dolist and push.
2387 * which-func.el (which-func-format): Remove spurious space.
2388 (which-func-mode): Don't make it permanent-local.
2389 (which-func-ff-hook): Allow which-func-maxout to be nil.
2390 (which-func-update): Simplify a bit. Only run if which-func-mode is t.
2391 (which-func-mode): Simplify.
2392 Use post-command-idle-hook rather than post-command-hook.
2393 Go through all buffers and update their state.
2394 (which-function): Also try add-log-current-defun-function.
2396 * vc.el (with-vc-properties): Use conses rather than length-2 lists.
2397 (vc-checkout, vc-finish-steal, vc-checkin, vc-revert-file):
2398 Update call to with-vc-properties accordingly.
2399 (vc-comment-search-reverse, vc-comment-search-forward): Docstring fix.
2400 (vc-revert-buffer): More careful about window selection and deletion.
2401 (vc-switch-backend): Slight reorg to avoid calling `registered' twice.
2403 * pcvs.el (cvs-ediff-exit-hook): Expect delete-window to fail.
2404 (cvs-retrieve-revision): Reuse a pre-existing buffer.
2405 (cvs-dired-action): Change the default to quickdir.
2407 * newcomment.el (comment-indent): Delegate to indent-according-to-mode
2408 if comment-indent-function returns nil.
2409 (comment-indent-default): New function.
2410 (comment-indent-function): Use it and document the new semantics.
2412 * image-file.el: Docstring fixes.
2414 * help.el (help-xref-on-pp): Use match-string.
2415 (describe-variable): New arg BUFFER.
2416 Store the current buffer in the help-xref-stack.
2417 (temp-buffer-resize-mode): Use define-minor-mode.
2419 * jit-lock.el (jit-lock-mode): Use jit-lock-defer-contextually
2420 consistently with its docstring.
2421 Set jit-lock-first-unfontify-pos in an idempotent way.
2422 (jit-lock-register): Autoload and add arg CONTEXTUAL.
2424 2000-10-05 Alex Schroeder <alex@gnu.org>
2426 * sql.el (sql-mysql-options): New variable.
2427 (sql-mysql): Use it.
2429 2000-10-05 Miles Bader <miles@lsi.nec.co.jp>
2431 * image.el (image): New group.
2433 * smerge-mode.el (smerge-mine-face, smerge-other-face)
2434 (smerge-base-face, smerge-markers-face): Add dark-background variants.
2436 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2438 * net/net-utils.el (nslookup-font-lock-keywords)
2439 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2440 Ignore the value of wqindow-system; always define keywords
2442 2000-10-05 Kenichi Handa <handa@etl.go.jp>
2444 * startup.el (fancy-splash-screens): Remove the code for
2445 debugging; `(trace-to-stderr "EXITTT\n")'.
2447 2000-10-05 Miles Bader <miles@gnu.org>
2449 * diff-mode.el (diff-goto-source): Update call to
2450 `diff-hunk-status-msg' to reflect new REV variable.
2452 2000-10-04 Stefan Monnier <monnier@cs.yale.edu>
2454 * progmodes/icon.el (icon-mode):
2455 Don't gratuitously override the default for comment-column.
2457 * vc-hooks.el (vc-mode-line): Fix interactive spec.
2459 * jit-lock.el (with-buffer-unmodified): Use unwind-protect.
2460 (jit-lock-mode): Make sure font-lock-keywords-only is bound before use.
2461 (jit-lock-functions): New var.
2462 (jit-lock-function-1): Use it if non-nil.
2463 Don't switch the syntax-table. Don't set parse-sexp-lookup-properties.
2464 Set the `fontified' property before doing the fontification to avoid
2465 repeatedly going through the same error.
2466 Don't turn errors into messages.
2467 (jit-lock-register, jit-lock-unregister): New functions.
2469 * dired.el (dired-mark-pop-up): Turn comment into docstring.
2470 Use with-current-buffer.
2472 * dired-aux.el (dired-do-create-files, dired-kill-tree):
2473 Turn comment into docstring.
2475 * apropos.el (apropos-mode): Use define-derived-mode.
2477 2000-10-04 Gerd Moellmann <gerd@gnu.org>
2479 * startup.el (fancy-splash-pending-command): New variable.
2480 (fancy-splash-pre-command): New function.
2481 (fancy-splash-screens): Rewritten.
2482 (command-line-1): If fancy-splash-pending-command is set, call it
2485 2000-10-04 Dave Love <fx@gnu.org>
2487 * toolbar/tool-bar.el (tool-bar-setup): New function.
2488 (tool-bar-mode): Use it.
2490 * subr.el (substitute-key-definition): Doc fix.
2491 (play-sound-file): New command.
2493 2000-10-04 Andre Spiegel <spiegel@gnu.org>
2495 * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
2496 vc-version-backup-file-name): New functions.
2498 * files.el (basic-save-buffer): Call vc-before-save before saving.
2500 * vc-cvs.el (vc-cvs-make-version-backups): Return t if
2501 vc-cvs-stay-local-p.
2503 * vc.el (vc-revert-buffer): Handle empty diff properly.
2504 (vc-version-backup-file): New function.
2505 (vc-checkout): Create a version backup if necessary.
2506 (vc-checkin): If a version backup file exists, delete it.
2507 (vc-version-diff): Diff locally using version backups, if available.
2508 (vc-revert-file): If there's a version backup, revert locally.
2509 (vc-transfer-file): Use version backup for base version, if
2510 available. If not, ask for confirmation whether to get it from the
2511 server. Update mode line before check-in.
2513 2000-10-04 Dave Love <fx@gnu.org>
2515 * toolbar/tool-bar.el (tool-bar-setup): New function.
2516 (tool-bar-mode): Use it.
2518 2000-10-04 Peter Breton <pbreton@ne.mediaone.net>
2520 * net/net-utils.el (nslookup-font-lock-keywords)
2521 (ftp-font-lock-keywords, smbclient-font-lock-keywords):
2522 Only set if window-system is non-nil
2523 (net-utils-run-program): Returns buffer.
2524 (network-connection-reconnect): Added this function.
2527 Incorporates extensive cleanup and docfixes by
2528 Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
2529 Uses cl compile-time macros.
2530 (generic-mode-name, generic-comment-list)
2531 (generic-keywords-list, generic-font-lock-expressions)
2532 (generic-mode-function-list, generic-mode-syntax-table):
2534 (generic-mode-alist): Renamed to generic-mode-list.
2535 (generic-find-file-regexp): Default changed to "^#".
2536 (generic-read-type): Uses completing read on generic-mode-list.
2537 (generic-mode-sanity-check): removed this function.
2538 (generic-add-to-auto-mode): Removed this function
2539 (generic-mode-internal): Bind mode-specific definitions
2540 into function instead of putting them in alist.
2541 (generic-mode-set-comments): Reworked extensively.
2542 (generic-mode-find-file-hook): Simplified regexp searching
2543 (generic-make-keywords-list): Omit extra pair of parens
2545 * find-lisp.el (find-lisp-find-files-internal):
2546 Make sure directory name ends with "/".
2548 * generic-x.el (apache-conf-generic-mode):
2549 Regexp now allows leading whitespace.
2550 (rc-generic-mode): Added eval-when-compile
2551 around generic-make-keywords-list.
2552 Deleted duplicate regexp
2553 (rul-generic-mode): Added eval-when-compile
2554 around generic-make-keywords-list.
2555 (etc-fstab-generic-mode): New generic mode.
2556 (rul-generic-mode): Removed one eval-when-compile
2557 which caused a max-specpdl-size exceeded error.
2559 2000-10-04 Miles Bader <miles@gnu.org>
2561 * simple.el (minibuffer-temporary-goal-position): New variable.
2562 (next-history-element): Try to keep the position of point in the
2563 input string constant.
2565 * dired-aux.el (dired-mark-read-file-name): Add optional arg DEFAULT.
2566 (dired-do-create-files): If there's only one file, pass it in as
2567 the DEFAULT arg to dired-mark-read-file-name.
2569 2000-10-03 Stefan Monnier <monnier@cs.yale.edu>
2571 * diff-mode.el (diff-font-lock-keywords): Minor regex fix.
2572 (diff-goto-source): Be smarter when choosing REVERSE or not.
2574 * textmodes/texinfo.el (texinfo-heading-face): Forgot the var def.
2575 (texinfo-mode-menu): Add an explicit shortcut for update all.
2577 2000-10-03 Andre Spiegel <spiegel@gnu.org>
2579 * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
2580 factorize backend-specific code cleanly (this was essentially
2581 conceived by Stefan Monnier).
2582 (vc-unregister): Function removed.
2583 (vc-revert-file): New function.
2584 (vc-revert-buffer): Delegate some of the work to it.
2586 * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
2587 default branch unconditionally.
2588 (vc-rcs-set-default-branch): New function.
2589 (vc-rcs-cancel-version, vc-rcs-checkin, vc-rcs-checkout): Use it.
2590 (vc-rcs-checkin): If an appropriate default branch has been set,
2591 force creation of that branch.
2592 (vc-rcs-receive-file): Rewritten to contain only backend-specific
2593 code (as suggested by Stefan Monnier).
2595 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2597 * isearch.el (isearch-lazy-highlight-update): Don't put a lazy
2598 highlighting overlay with a different face over the overlay
2599 isearch uses to highlight the current match because that can lead
2600 to bad face combinations.
2602 * loadup.el (toplevel): Load faces before isearch.
2604 * isearch.el (isearch-faces): New custom group.
2605 (isearch): New defface; was already tested for in the code.
2606 (isearch-lazy-highlight-face): Changed to defface from defcustom.
2607 (isearch-highlight): Always use face `isearch'.
2609 2000-10-02 Dave Love <fx@gnu.org>
2611 * emacs-lisp/byte-opt.el (byte-optimize-lapcode): Don't bind
2612 unused vars. Treat byte-constant2 like byte-constant. Fix bogus
2613 comparison of opcode with operand.
2615 2000-10-03 Miles Bader <miles@gnu.org>
2617 * play/yow.el (yow): Don't display multi-line quotations in a *Help*
2618 buffer, since the echo area will now grow to accommodate them.
2620 2000-10-02 Andre Spiegel <spiegel@gnu.org>
2622 * vc-hooks.el (vc-registered): If FILE used to be registered under
2623 a certain backend, try that one first.
2625 * vc.el (vc-responsible-backend): Undo the previous change in the
2626 argument list. Handle multiple backends correctly.
2627 (vc-find-new-backend): Function removed.
2628 (vc-register): Use vc-responsible-backend, as before.
2629 (vc-next-action-on-file): Do use vc-registered, not vc-backend.
2631 2000-10-02 Gerd Moellmann <gerd@gnu.org>
2633 * startup.el (fancy-splash-head): Change message below the
2636 2000-10-02 Miles Bader <miles@lsi.nec.co.jp>
2638 * diff-mode.el (diff-goto-source): Emit a status message.
2639 (diff-test-hunk, diff-apply-hunk): Remove unneeded `let'.
2640 (diff-test-hunk): Fix doc string.
2641 (diff-apply-hunk): Only advance if `diff-advance-after-apply-hunk'.
2642 (diff-advance-after-apply-hunk): New variable.
2643 (diff-apply-hunk): Don't return a value.
2645 2000-10-01 Stefan Monnier <monnier@cs.yale.edu>
2647 * vc.el (vc-editable-p): Minor optimization.
2648 (edit-vc-file, vc-next-action-on-file): Don't use find-file.
2649 (vc-find-new-backend): New function split from vc-responsible-backend.
2650 (vc-register): Use it.
2651 (vc-responsible-backend): Remove REGISTER arg and add BACKENDS arg.
2652 (vc-unregister): Drop BACKEND arg (it doesn't work anyway).
2653 (vc-default-unregister, vc-revert-buffer): Docstring fix.
2654 (vc-clear-headers): Don't use find-file.
2655 (vc-revert-buffer): Use `and' again (must have been a braino).
2656 (vc-switch-backend): Only prompt if requested.
2657 Short circuit if nothing is to be done.
2658 Don't use vc-resynch-buffer which could lose unsaved editing.
2659 (vc-default-receive-file): Update call to vc-unregister.
2660 (with-vc-file, vc-next-action-on-file):
2661 Use vc-backend rather than vc-registered.
2662 (vc-next-action-on-file): Use intern-soft.
2663 Deal with read-only *vc-diff* buffer.
2664 (vc-transfer-file): Docstring fix.
2666 * vc-rcs.el (vc-rcs-unregister): Keep a backup of the master file.
2667 (vc-rcs-receive-file): Avoid with-vc-properties.
2668 Update call to vc-unregister.
2669 Use constant `RCS' rather than (dynamically bound) var `backend'.
2671 2000-10-01 Andre Spiegel <spiegel@gnu.org>
2673 * vc.el (vc-next-action-on-file): Update mode line only if file
2675 (vc-start-entry): New argument initial-contents. Don't visit the file
2676 if it isn't already visited. Brought documentation up-to-date.
2677 (vc-next-action, vc-register): Updated calls to vc-start-entry.
2678 (vc-checkin): New optional arg initial-contents, which is passed to
2680 (vc-finish-logentry): Make sure to bury log buffer only if there
2681 really is one. Call `vc-resynch-buffer' on log-file, not
2683 (vc-default-comment-history, vc-default-wash-log): New functions.
2684 (vc-index-of): Removed.
2685 (vc-transfer-file): Make do without the above.
2686 (vc-default-receive-file): Call comment-history unconditionally. Pass
2687 the resulting string to vc-checkin, instead of inserting it into the
2690 * vc-rcs.el (vc-rcs-receive-file): Call comment-history
2691 unconditionally. Use the comments as initial contents of the log
2692 entry buffer. Document the trick to force branch creation with no
2695 2000-10-01 Miles Bader <miles@gnu.org>
2697 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
2698 `recenter' with an arg to prevent redrawing the display.
2700 2000-09-30 Stefan Monnier <monnier@cs.yale.edu>
2702 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
2704 * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
2706 * progmodes/c-mode.el (c-mode):
2707 Don't gratuitously override the default for comment-column.
2709 * textmodes/tex-mode.el (latex-metasection-list): New var.
2710 (latex-imenu-create-index): Use it.
2711 Move the regexp construction outside loops (and use push).
2712 (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
2713 (tex-font-lock-keywords): Moved from font-lock.el.
2714 (tex-comment-indent): Remove.
2715 (tex-common-initialization): Don't set comment-indent-function.
2716 (latex-block-default): New var.
2717 (tex-latex-block): Use it to provide a default choice.
2718 Add any unknown choice to latex-block-names.
2719 Insert [...] after {...}.
2720 (tex-last-unended-begin): Simplify regexp.
2721 (tex-goto-last-unclosed-latex-block, latex-backward-sexp-1)
2722 (latex-forward-sexp-1, latex-forward-sexp): New functions.
2723 (latex-mode): Set forward-sexp-function.
2725 * textmodes/texinfo.el (texinfo-font-lock-syntactic-keywords):
2726 Add regexp for @ignore ... @end ignore.
2727 (texinfo-heading-face): New face.
2728 (texinfo-font-lock-keywords): Use it.
2729 (texinfo-mode-menu): New menu.
2730 (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
2732 (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
2733 (texinfo-section-types-regexp, texinfo-section-level-regexp)
2734 (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
2736 (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2738 * delsel.el (delete-selection-mode): Use define-minor-mode.
2740 * emacs-lisp/regexp-opt.el (regexp-opt-group): Put more parenthesis.
2742 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2744 * dired.el (dired-map-over-marks): Use modern backquotes and docstring.
2746 2000-09-30 Gerd Moellmann <gerd@gnu.org>
2748 * replace.el (keep-lines-read-args): New function.
2749 (keep-lines, flush-lines, how-many): Use keep-lines-read-args to
2750 read arguments interactively. Add parameters RSTART and REND.
2751 Operate on the active region in Transient Mark mode.
2753 * files.el (auto-mode-alist): Add pattern for `#*mail*...'.
2755 * emacs-lisp/authors.el (authors-obsolete-file-p): New function.
2756 (authors-obsolete-files-regexps): New variable.
2757 (authors-add): Don't record changes in obsolete files.
2759 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2761 * autoinsert.el (auto-insert-mode): Use define-minor-mode.
2763 * newcomment.el (comment-indent-function): Use 0 for ;;; and %%%.
2764 (comment-indent): Make sure there's a space between code and comment.
2765 Shift comments left to avoid going past fill-column.
2767 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2769 * startup.el (startup-echo-area-message): New function.
2770 (display-startup-echo-area-message): Use it.
2771 (fancy-splash-screens): Rewritten to use keymaps and a timer.
2772 (fancy-splash-default-action): New function.
2773 (fancy-splash-screens-1): New function.
2774 (fancy-splash-head): Put a help-echo and a keymap under the image.
2776 2000-09-29 Stefan Monnier <monnier@cs.yale.edu>
2778 * diff-mode.el (diff-add-log-file-name): Remove.
2779 (diff-mode): Use add-log-buffer-file-name-function.
2781 * add-log.el (find-change-log): New arg BUFFER-FILE.
2782 (add-log-file-name): Obey add-log-file-name-function.
2783 (add-log-buffer-file-name-function): New var.
2784 (add-change-log-entry): Use it.
2786 2000-09-29 Miles Bader <miles@gnu.org>
2788 * image-file.el (image-file-name-extensions): New variable.
2789 (image-file-name-regexps): Renamed from `image-file-regexps'.
2790 New default value is nil. Call `auto-image-file-mode'.
2791 (image-file-name-regexp): New function.
2792 (auto-image-file-mode): New minor mode.
2793 (insert-image-file): Don't make conditional on the image-file
2794 handler being enabled.
2795 (image-file-handler): Make the call here conditional instead.
2796 (set-image-file-handler-enabled, enable-image-file-handler)
2797 (disable-image-file-handler): Functions removed.
2799 * emacs-lisp/authors.el (authors-print): Rephrase many-files
2802 2000-09-29 Gerd Moellmann <gerd@gnu.org>
2804 * textmodes/tex-mode.el (latex-outline-regexp): Don't use `list*';
2805 it's a function from CL.
2806 (latex-imenu-create-index): Replace eval-when-compile with progn
2807 because latex-section-alist is not bound while compiling.
2809 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2811 * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
2812 (outline-mode): Use define-derived-mode.
2814 * progmodes/perl-mode.el (perl-mode):
2815 * progmodes/awk-mode.el (awk-mode):
2816 * progmodes/asm-mode.el (asm-mode):
2817 Don't gratuitously override the default for comment-column.
2819 * emacs-lisp/lisp.el (lisp-complete-symbol):
2820 Distinguish the let-binding case from the funcall case.
2821 (forward-sexp-function): New variable.
2822 (forward-sexp): Use it.
2824 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Autoload.
2825 (easy-mmode-defmap): Remove the now useless autoload.
2827 * time.el (display-time-mode): Use define-minor-mode.
2829 * subr.el (add-minor-mode): Don't eval NAME.
2830 Don't depend on the presence of TOGGLE-FUN for any special behavior.
2831 Use if rather than cond.
2833 * simple.el (read-expression-map): Define more properly.
2834 (comment-indent-hook): Remove.
2835 (string-to-syntax): Bug fix.
2837 * pcvs.el (cvs-ediff-exit-hook): Kill buffer before window.
2838 (cvs-ediff-diff): Fix typo.
2839 (cvs-revert-if-needed): Don't bother preserving read-only.
2841 * paren.el (show-paren-mode): Use define-minor-mode.
2843 * jka-compr.el (auto-compression-mode): Use define-minor-mode.
2844 (toggle-auto-compression): Remove.
2845 (jka-compr-build-file-regexp): Remove useless grouping.
2847 * diff-mode.el (diff-mode-map, diff-minor-mode-prefix):
2848 Avoid user-reserved bindings.
2849 (diff-mode, diff-minor-mode): Drop make-local-hook (done by add-hook).
2850 (diff-header-face): Revert to grey85.
2852 * cvs-status.el (cvs-status-entry-leader-re): Minor fix.
2854 * complete.el (partial-completion-mode) <defcustom>: Remove.
2855 (partial-completion-mode): Use define-minor-mode.
2856 (PC-do-completion): Understand `completion-auto-help = delay'
2857 to mean to popup the completion buffer only the second time.
2858 (PC-include-file-all-completions, PC-include-file-all-completions)
2859 (PC-include-file-all-completions): Don't quote lambda.
2861 * comint.el (comint-mode-hook): Docstring fix.
2862 (comint-mode): Use define-derived-mode.
2863 (comint-mode-map): Remove obsolete comment.
2864 (make-comint): Minor stylistic change.
2865 (comint-insert-clicked-input): Be more careful to find the overlay.
2866 Use this-command-keys rather than hardcoding mouse-2.
2868 * font-lock.el: Replace confusing (,@ with ,
2869 (tex-font-lock-keywords-1, tex-font-lock-keywords-2):
2870 Don't use regexp-opt-depth. Spice up the regexp for args.
2871 Don't distinguish between cmds that can take an opt arg or not.
2872 Use `append' and `prepend' rather than `keep'.
2874 * textmodes/tex-mode.el (latex-imenu-indent-string): Add a space.
2875 (latex-outline-regexp): New var.
2876 (latex-outline-level): New fun.
2877 (latex-section-alist): New var.
2878 (latex-imenu-create-index): Use it. Use `push' as well.
2879 (tex-shell-map): Initialize it properly.
2880 (tex-mode): Minor stylistic change.
2881 (plain-tex-mode): Use define-derived-mode.
2882 (latex-mode): Use define-derived-mode.
2883 Construct the paragraph regexps in a more readable way.
2884 Set the buffer-local outline-{level,regexp} vars.
2885 (slitex-mode): Derive from latex-mode.
2886 (tex-common-initialization): Don't kill-all-vars anymore.
2887 Add setting for comment-add and font-lock-defaults.
2888 (tex-start-shell): Use with-current-buffer and don't re-init keymap.
2889 (tex-main-file): New fun. Obey TeX-master as well and remove `.tex'.
2890 (tex-start-tex): New arg DIR (and send a chdir command for it).
2891 Also display the shell buffer and save it in tex-last-buffer-texed.
2892 (tex-region): Use expand-file-name rather than concat.
2893 Remove code made useless by changes in tex-start-tex.
2894 (tex-file): Use tex-main-file and adapt to new tex-start-tex.
2896 * map-ynp.el (map-y-or-n-p): Fix missing backquotes.
2898 2000-09-28 Dave Love <fx@gnu.org>
2900 * eshell/eshell.el (eshell) <defgroup>: Add :version.
2902 2000-09-28 Gerd Moellmann <gerd@gnu.org>
2904 * emacs-lisp/authors.el (authors-add): Use `nconc' instead of
2907 2000-09-28 Stefan Monnier <monnier@cs.yale.edu>
2909 * info.el (Info-extract-pointer): Undo last change.
2910 Instead, fix the position of the `bound' arg to re-search-backward.
2912 2000-09-27 Stefan Monnier <monnier@cs.yale.edu>
2914 * info.el (Info-extract-pointer):
2915 Widen more carefully, to avoid finding pointers in other nodes.
2916 (Info-index): Use push.
2918 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2920 * frame.el (set-frame-font): Remove call to obsolete function
2922 (set-foreground-color, set-background-color): Likewise for
2923 frame-update-face-colors.
2925 2000-09-27 Miles Bader <miles@gnu.org>
2927 * image-file.el: New file.
2929 2000-09-27 Gerd Moellmann <gerd@gnu.org>
2931 * frame.el (frame-notice-user-settings): Don't call
2932 frame-update-faces, which is a no-op now.
2934 * ediff-wind.el (ediff-control-frame-parameters): Add zero
2937 2000-09-27 Dave Love <fx@gnu.org>
2939 * mouse.el: Fix last change.
2941 2000-09-27 Miles Bader <miles@lsi.nec.co.jp>
2943 * toolbar/tool-bar.el (tool-bar-help): Use `mouse-pixel-position'.
2945 2000-09-22 Kenichi Handa <handa@etl.go.jp>
2947 * international/quail.el (quail-help): The output message is
2950 2000-09-26 Dave Love <fx@gnu.org>
2952 * mouse.el (popup-menu): If POSITION is nil, set it using
2955 2000-09-25 Sam Steingold <sds@gnu.org>
2957 * net/browse-url.el (browse-url-file-url): Check for null maps.
2959 2000-09-26 Gerd Moellmann <gerd@gnu.org>
2961 * frame.el (frame-notice-user-settings): Don't add a
2962 tool-bar-lines frame parameter to default-frame-alist in batch mode.
2964 * frame.el (frame-notice-user-settings):
2965 Make tool-bar-mode and default-frame-alist consistent.
2967 * toolbar/tool-bar.el (tool-bar-help): New function.
2969 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2971 * bytecomp.el (byte-compile-defvar-or-defconst): Only cons onto
2972 current-load-list in top-level forms. Else this leaks a cons cell
2973 every time a defun is called.
2975 * mail/mail-utils.el (rmail-dont-reply-to): Fix last change.
2977 2000-09-25 Dave Love <fx@gnu.org>
2979 * startup.el (fancy-splash-head): Check XPM is available.
2981 * autoinsert.el (auto-insert): Doc fix.
2982 (auto-insert-alist): Following GNU notices, don't say `copyright
2983 _by_'. Use line-beginning-position.
2984 (auto-insert): Check buffer-file-name is non-nil before use.
2986 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2988 * textmodes/texinfo.el (texinfo-mode): Prevent filling lines
2989 starting with `@def' or `@multitable', in addition to ones
2990 specified by the user in auto-fill-inhibit-regexp.
2992 2000-09-25 Markus Rost <rost@math.ohio-state.edu>
2994 * mail/mail-utils.el (rmail-dont-reply-to): Avoid infinite loop if
2995 rmail-dont-reply-to-names matches the empty string.
2997 2000-09-25 Gerd Moellmann <gerd@gnu.org>
2999 * startup.el (command-line-1, fancy-splash-text): Change the
3000 text to sound more friendly.
3002 2000-09-23 Thien-Thi Nguyen <ttn@gnu.org>
3004 * progmodes/hideshow.el: Update author email address.
3005 Generally, sync w/ maintainer version 5.22.
3006 (hs-hide-all-non-comment-function): New var.
3007 (hs-hide-hook, hs-show-hook, hs-minor-mode): Update docstrings.
3008 (hs-hide-all): Use `hs-hide-all-non-comment-function'.
3009 (hs-show-region): Delete this command.
3010 (hs-minor-mode-map): Change bindings to leave "C-c LETTER" alone.
3012 2000-09-22 Dave Love <fx@gnu.org>
3014 * hl-line.el (hl-line-overlay): Don't make it buffer-local.
3015 (hl-line-highlight): Specify buffer when moving overlay.
3017 * progmodes/fortran.el (fortran-mode): Locally set
3018 normal-auto-fill-function.
3019 (fortran-auto-fill-mode): Just alias to auto-fill-mode.
3020 (fortran-mode-map): Adjust auto-fill menu entry.
3022 2000-09-22 Gerd Moellmann <gerd@gnu.org>
3024 * vc-rcs.el (toplevel): Require `vc' when compiling.
3026 * startup.el (fancy-splash-head): Use splash.pbm instead of splash.xbm.
3028 2000-09-22 Andre Spiegel <spiegel@gnu.org>
3030 * vc.el (vc-switch-backend): Signal an error if the file is not
3031 registered under the new backend.
3033 * vc-rcs.el (vc-rcs-checkin): Fix bug that prevented check-in
3034 without explicit revision number.
3036 2000-09-21 Stefan Monnier <monnier@cs.yale.edu>
3038 * diff-mode.el (diff-file-header-face): Reset to its previous value.
3039 (diff-hunk-text): Correctly use offsets rather than buffer-positions.
3040 (diff-xor): New function.
3041 (diff-find-source-location): Use it. Fix a stupid name clash.
3042 (diff-hunk-status-msg): New function.
3043 (diff-apply-hunk): Drop args OTHER-FILE, DRY-RUN, POPUP and NOERROR.
3044 (diff-test-hunk): Use diff-find-source-location.
3045 (diff-goto-source): Favor the `reverse'.
3046 (diff-hunk-text): Properly handle one-sided context diffs.
3047 (diff-apply-hunk): When done, advance to the next hunk.
3049 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3051 * startup.el (command-line): If frame was created with a non-zero
3052 tool-bar-lines parameter, switch tool-bar-mode on.
3054 * add-log.el (change-log-date-face, change-log-name-face)
3055 (change-log-email-face, change-log-file-face)
3056 (change-log-list-face, change-log-conditionals-face)
3057 (change-log-function-face, change-log-acknowledgement-face):
3058 New faces, inheriting from font-lock faces.
3059 (change-log-font-lock-keywords): Use them.
3061 2000-09-21 Dave Love <fx@gnu.org>
3063 * progmodes/cperl-mode.el (top-level): Clean up
3064 `eval-when-compile's and assorted defvars.
3065 (cperl-invalid-face): Don't double-quote value. Change custom
3067 (cperl-mode): Set normal-auto-fill-function and don't zap
3069 (cperl-imenu--function-name-regexp-perl): Renamed from
3070 imenu-example--function-name-regexp-perl.
3071 (cperl-imenu--create-perl-index): Renamed from
3072 imenu-example--create-perl-index.
3073 (cperl-xsub-scan): Don't require cl.
3075 * msb.el (msb-mode-map): Use substitute-key-definition.
3076 (msb-mode): Use msb-mode-map.
3078 2000-09-21 Andre Spiegel <spiegel@gnu.org>
3080 * vc.el (vc-index-of, vc-transfer-file, vc-default-receive-file):
3082 (vc-next-action-on-file): Call vc-transfer-file at appropriate places.
3083 (vc-switch-backend): New function.
3084 (vc-prefix-map): Bind `vc-switch-backend' to `b'.
3085 (vc-register): Fix prompt.
3086 (vc-unregister, vc-default-unregister): New functions.
3087 (vc-version-diff): Handle empty buffer in sentinel.
3089 * vc-rcs.el (vc-rcs-workfile-is-newer): New function.
3090 (vc-rcs-state-heuristic): Use it to guess the state of files with
3092 (vc-rcs-find-most-recent-rev): Handle the case when a branch has
3093 been set with -b, but not created yet.
3094 (vc-rcs-fetch-master-state): With non-strict locking, compare file
3095 contents in order to find the state.
3096 (vc-rcs-checkin): Allow creation of branches with no changes.
3097 (vc-rcs-unregister, vc-rcs-receive-file)
3098 (vc-rcs-set-non-strict-locking): New functions.
3100 * vc-hooks.el (vc-name): Force correct computation of the value
3101 in case it is missing.
3103 2000-09-21 Gerd Moellmann <gerd@gnu.org>
3105 * startup.el (fancy-splash-tail): Use a different foreground
3106 color on a dark frame background.
3108 2000-09-21 Miles Bader <miles@lsi.nec.co.jp>
3110 * info.el: Use the correct capitalization when making Info-mode
3111 and Info-edit-mode `special' modes.
3113 2000-09-20 Stefan Monnier <monnier@cs.yale.edu>
3115 * diff-mode.el (diff-add-log-file-name, diff-current-defun): New funs.
3116 (diff-mode): Add support for add-log.el.
3117 (diff-hunk-text): Use char offsets rather than line offsets.
3118 (diff-find-source-location): Replace LINE with line-offset (nil
3119 if not found) and always set POS to a meaningful position.
3120 Adapt to the new char-offsets.
3121 (diff-apply-hunk): Drop support for the unused `select' POPUP.
3122 Adapt to the new diff-find-source-location.
3123 (diff-goto-source): Adapt to the new diff-find-source-location.
3125 * add-log.el (add-log-file-name): New function (split out of
3126 add-change-log-entry).
3127 (add-change-log-entry): Use it.
3128 Call add-log-file-name-function with the changelog file name if
3129 the current buffer is not associated with any file.
3130 Avoid find-file if the selected window is dedicated.
3132 * diff-mode.el (diff-find-source-location):
3133 Move code from diff-apply-hunk. Return buffer rather than file.
3134 (diff-apply-hunk): Use the new result from diff-find-source-location.
3135 (diff-goto-source): Use the new diff-find-source-location.
3137 2000-09-20 Dave Love <fx@gnu.org>
3139 * iswitchb.el: Some doc fixes.
3140 (iswitchb-mode-map): Define completely initially. Inherit
3141 minibuffer-local-map.
3142 (iswitchb-completion-help) <!iswitchb-xemacs>: Use
3144 (iswitchb-global-map): New variable.
3145 (iswitchb-summaries-to-end): Amalgamate regexps.
3146 (iswitchb-mode): New.
3147 (iswitchb-mode-hook): New variable.
3148 (iswitchb) <defgroup>: Add URL link. Use group `completion', not
3151 2000-09-20 Gerd Moellmann <gerd@gnu.org>
3153 * ehelp.el (electric-help): New defgroup.
3154 (electric-help-shrink-window): New user-option.
3155 (with-electric-help): Use it.
3157 * window.el (shrink-window-if-larger-than-buffer): If face
3158 `mode-line' has a :box, and we're on a graphical frame, add 1
3159 to the needed window height.
3161 * frame.el (frame-notice-user-settings): Add a last parameter nil
3162 to a call to `append', because the last list passed to `append' is
3163 not copied, and so subsequent calls to assq-delete-all will modify
3164 default-frame-alist.
3166 * startup.el (fancy-splash-image): Change :type.
3167 (fancy-splash-head): Use an XBM image if appropriate.
3168 (command-line-1): Show splash screens in more cases.
3170 * startup.el (fancy-splash-text): Don't quote faces.
3172 * dired.el (dired-font-lock-keywords): Undo last change.
3173 (dired-readin): Bind indent-tabs-mode to nil.
3175 * startup.el (fancy-splash-head): If frame's background mode
3176 is `dark', change the black background of the image to gray.
3177 (fancy-splash-screens): Display startup echo area message.
3178 (display-startup-echo-area-message): New function.
3180 2000-09-20 Miles Bader <miles@lsi.nec.co.jp>
3182 * faces.el (mode-line, tool-bar): Merge entries for `x' and `w32'.
3184 * info.el (info-header-node): Tweak for color ttys.
3186 * faces.el (face-valid-attribute-values): Make sure directories we
3187 search for stipples both exist and are readable before trying to
3190 * diff-mode.el (diff-apply-hunk): Jump to the correct line offset
3191 in the dry-run case.
3193 * jka-compr.el (with-auto-compression-mode): New macro.
3195 * cus-edit.el (custom-face-tag-face, custom-group-tag-face-1)
3196 (custom-group-tag-face, custom-variable-tag-face): Use relative
3197 :height and inherit from `variable-pitch' face instead of
3199 * hi-lock.el (hi-black-hb): Likewise.
3201 Reapply Gerd's change from 2000-09-18, which seems to have gotten lost:
3202 * toolbar/tool-bar.el (tool-bar-add-item-from-menu): Like in
3203 toolbar-add-item, if image doesn't have a mask add a `:mask
3206 2000-09-19 Stefan Monnier <monnier@cs.yale.edu>
3208 * diff-mode.el: Docstring fixes.
3209 (diff-header-face, diff-comment-face): New faces.
3210 (diff-font-lock-keywords): Highlight a bit differently.
3211 (diff-find-source-location): Don't return SPAN any more.
3212 (diff-hunk-text): Don't bother erasing the temp buffer.
3213 (diff-find-text): Drop argument LINE.
3214 (diff-apply-hunk): Update calls to diff-find-text.
3215 (diff-goto-source): Use pop-to-buffer again and don't raise an error.
3217 * calendar/calendar.el: Docstring fixes.
3218 (calendar-make-alist): Don't quote lambda.
3219 (calendar-star-date): Use make-local-variable.
3221 2000-09-19 Dave Love <fx@gnu.org>
3223 * toolbar/tool-bar.el: Renamed from toolbar.el.
3224 Change `toolbar' to `tool-bar' generally in symbols.
3225 Make some items invisible in `special' major modes.
3226 (tool-bar-add-item-from-menu): Renamed from toolbar-like-menu-item.
3229 * startup.el (fancy-splash-screen) <defgroup>: Fix syntax.
3231 (fancy-splash-delay, fancy-splash-image): Remove :version here.
3233 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3235 * progmodes/sh-script.el (sh-search-word): Remove call to `debug'.
3237 * files.el (find-file-suppress-same-file-warnings): New user-option.
3238 (find-file-noselect): Use it.
3240 * startup.el (fancy-splash-delay, fancy-splash-image): Add :version.
3241 (fancy-splash-screen): Defgroup.
3243 * add-log.el (change-log-font-lock-keywords): Match names
3244 more exactly for the case that font-lock-constant-face is
3247 2000-09-19 Richard M. Stallman <rms@gnu.org>
3249 * progmodes/sh-script.el (sh-search-word): Rewritten for speed.
3251 2000-09-19 Andre Spiegel <spiegel@gnu.org>
3253 * vc.el (vc-revert-buffer): Set vc-checkout-time correctly.
3255 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3257 * gnus/: Update to emacs-21-branch of the Gnus CVS repository.
3258 * gnus/binhex.el, gnus/flow-fill.el, gnus/format-spec.el
3259 * gnus/gnus-ml.el, gnus/gnus-mlspl.el, gnus/ietf-drums.el,
3260 * gnus/imap.el, gnus/mail-parse.el, gnus/mail-prsvr.el,
3261 * gnus/mail-source.el, gnus/mailcap.el, gnus/mm-bodies.el,
3262 * gnus/mm-decode.el, gnus/mm-encode.el, gnus/mm-partial.el,
3263 * gnus/mm-util.el, gnus/mm-uu.el, gnus/mm-view.el,
3264 * gnus/mml.el, gnus/nnimap.el, gnus/nnslashdot.el,
3265 * gnus/nnultimate.el, gnus/nnwarchive.el, gnus/qp.el,
3266 * gnus/rfc1843.el, gnus/rfc2045.el, gnus/rfc2047.el,
3267 * gnus/rfc2104.el, gnus/rfc2231.el, gnus/time-date.el,
3268 * gnus/utf7.el, gnus/uudecode.el, gnus/webmail.el: New files.
3270 * startup.el (fancy-splash-text): New variable.
3271 (fancy-splash-delay, fancy-splash-image): New user-options.
3272 (fancy-splash-insert, fancy-splash-head, fancy-splash-tail)
3273 (fancy-splash-screens): New functions.
3274 (command-line-1): If display has a `display' frame parameter, has
3275 colors, and we have XPM support, show more fancy splash screens.
3277 2000-09-19 Dave Love <fx@gnu.org>
3279 * map-ynp.el (map-y-or-n-p): Check use-dialog-box. Don't lose
3280 with null `help'. Use modern backquote syntax.
3282 2000-09-19 Gerd Moellmann <gerd@gnu.org>
3284 * font-lock.el (font-lock-mode): Change message telling the user
3285 that ``the buffer is too big''.
3287 * dired.el (dired-font-lock-keywords): Allow tabs and spaces,
3288 for instance for the case that tab-width is 2.
3290 2000-09-18 Gerd Moellmann <gerd@gnu.org>
3292 * toolbar/toolbar.el (toolbar-like-menu-item): Like in
3293 toolbar-add-item, if image doesn't have a mask add a `:mask
3296 2000-09-18 Miles Bader <miles@lsi.nec.co.jp>
3298 * diff-mode.el (diff-hunk-text): Add new optional arg LINE-OFFSET,
3299 and return a cons if it's non-nil.
3300 (diff-apply-hunk): Try to jump to the line in the source text
3301 corresponding to the position of point in the in the hunk.
3303 * info.el (Info-title-3-face, Info-title-2-face)
3304 (Info-title-1-face): Use face inheritance and relative sizes
3305 instead of hard-wiring things.
3307 * faces.el (secondary-selection): Make dark-background variant sane.
3309 2000-09-16 Andrew Innes <andrewi@gnu.org>
3311 * makefile.w32-in (compile-files-CMD): No need to make .elc files
3312 read-only, since they aren't under VC now.
3314 2000-09-17 Dave Love <fx@gnu.org>
3316 * tmm.el: Replace mapcar with mapc in several places.
3318 * loadhist.el (unload-feature): Maybe call elp-restore-list and
3321 * international/latin1-disp.el: New file.
3323 * calendar/cal-move.el (scroll-calendar-left)
3324 (scroll-calendar-right): Make arg optional (for active mode line).
3326 * calendar/calendar.el (calendar-mode-line-format): Make fields
3328 (calendar-read-date, calendar-read-date, calendar-window-list):
3330 (calendar-month-name): Use aref, not sref.
3332 * view.el (minor-mode-alist): Propertize the string.
3334 * international/characters.el (standard-case-table): Add entries
3337 2000-09-18 Miles Bader <miles@gnu.org>
3339 * info.el (info-node, info-xref): Add dark-background variants.
3341 * faces.el (header-line): Change defaults to be less confusing
3342 when mixed with mode-lines.
3344 * info.el (Info-fontify-node): Make a few cleanups.
3345 Add extra `help-echo' and `local-map' props to node xrefs.
3346 Use header-specific faces for node-names & xrefs.
3347 (Info-use-header-line): New variable.
3348 (info-header-xref, info-header-node): New faces.
3349 (Info-setup-header-line): New function.
3350 (Info-select-node): Call Info-setup-header-line when enabled.
3351 (Info-extract-pointer): Work even if the header line is hidden.
3352 (Info-header-line): New variable.
3354 2000-09-16 Stefan Monnier <monnier@cs.yale.edu>
3356 * vms-patch.el (print-region-function): Don't quote lambda.
3358 * tempo.el (tempo-expand-if-complete): Quote paren in docstring.
3360 * emacs-lisp/lisp-mnt.el (lm-header-prefix): Cleanup the regexp.
3361 (lm-get-header-re): Allow spaces between the header and the colon.
3362 (lm-header): Allow $ in non-RCS headers.
3363 (lm-header-multiline): Put the strings back into order.
3364 Stop at an empty line. Don't require two space chars if the
3365 line is clearly not another header line.
3367 * emacs-lisp/lmenu.el (popup-menu, popup-menu-internal)
3368 (popup-menu-popup): Remove.
3370 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3372 * toolbar/toolbar.el (toolbar-add-item): Use the same image
3373 specification if or if not tool-bar item contains an `:enabled'
3376 * menu-bar.el (menu-bar-files-menu): Disable ``Save'' if
3377 current buffer has no file name.
3379 2000-09-15 Dave Love <fx@gnu.org>
3381 * strokes.el: Sync with maintainer's current version with changes
3382 for Emacs, but avoid runtime cl and levents.
3383 (toplevel): Change autoloads and compilation requires.
3384 (strokes-version, strokes-bug-address, strokes-lift): Values
3386 (strokes-xpm-header, strokes-insinuated): New variable.
3387 (strokes): Add :link.
3388 (strokes-mode): Customized.
3389 (strokes-while-inhibiting-garbage-collector): New macro.
3390 (strokes-remassoc): Avoid remove-if.
3391 (strokes-fix-button2-command): Don't use ad-do-it.
3392 (strokes-insinuate): New function.
3393 (strokes-button-press-event-p, strokes-button-release-event-p):
3394 New functions, used instead of non-`strokes-' versions..
3395 (strokes-mouse-event-p): Rewritten.
3396 (strokes-event-closest-point): Avoid event-point.
3397 (strokes-get-grid-position): Avoid cdadr, caadr
3398 (strokes-read-stroke, strokes-read-complex-stroke): Avoid levents
3400 (strokes-help): Use with-output-to-temp-buffer.
3401 (strokes-window-configuration-changed-p): New function.
3402 (strokes-update-window-configuration): Use buffer-live-p,
3403 strokes-window-configuration-changed-p.
3404 (strokes-mode): Use strokes-insinuate. Alter mouse bindings.
3405 (strokes-char-face): New face.
3406 (strokes-char-table, strokes-base64-chars): New variable.
3407 (strokes-xpm-for-stroke, strokes-list-strokes)
3408 (strokes-xpm-char-on-p, strokes-xpm-char-bit-p)
3409 (strokes-xpm-encode-length-as-string, strokes-xpm-decode-char)
3410 (strokes-xpm-to-compressed-string, strokes-decode-buffer)
3411 (strokes-encode-buffer, strokes-xpm-for-compressed-string)
3412 (strokes-compose-complex-stroke, strokes-alphabetic-lessp): New
3415 2000-09-15 Gerd Moellmann <gerd@gnu.org>
3417 * toolbar/toolbar.el (toolbar-add-item): Use image-mask-p.
3419 * image.el (create-image): Doc fix.
3421 * toolbar/toolbar.el (toolbar-add-item): Use `:mask heuristic'
3422 instead of `:heuristic-mask t'.
3424 2000-09-14 Andrew Innes <andrewi@gnu.org>
3426 * makefile.w32-in: Revert to Unix line endings.
3428 2000-09-14 Andrew Innes <andrewi@gnu.org>
3430 * makefile.w32-in: Add bootstrap support. Also copy lisp source
3433 * makefile.nt (DONTCOMPILE): Fix typo.
3435 * shell.el (shell-write-history-on-exit): New function.
3436 (shell-dumb-shell-regexp): New custom variable.
3437 (shell-mode): Make shell-write-history-on-exit the process
3438 sentinel if shell name matches shell-dumb-shell-regexp.
3440 * w32-fns.el: Comment out before-init-hook function which resets
3441 source-directory based; this breaks bootstrap.
3443 2000-09-14 Dave Love <fx@gnu.org>
3445 * toolbar/cancel.xpm, toolbar/close.xpm, toolbar/copy.xpm,
3446 toolbar/cut.xpm, toolbar/exit.xpm, toolbar/fld_open.xpm,
3447 toolbar/help.xpm, toolbar/info.xpm, toolbar/mail.xpm,
3448 toolbar/mail_compose.xpm, toolbar/new.xpm, toolbar/open.xpm,
3449 toolbar/paste.xpm, toolbar/preferences.xpm, toolbar/print.xpm,
3450 toolbar/save.xpm, toolbar/saveas.xpm, toolbar/search-replace.xpm,
3451 toolbar/search.xpm, toolbar/spell.xpm, toolbar/undo.xpm: New.
3452 From Tuomas Kuosmanen <tigert@gimp.org>. (Gnome icons fetched
3453 from <URL:http://tigert.gimp.org/gnome/gnome-stock/>.)
3455 * toolbar/toolbar.el: New.
3457 * subdirs.el: Add toolbar.
3459 2000-09-14 Gerd Moellmann <gerd@gnu.org>
3461 * indent.el (indent-for-tab-command): Doc fix.
3463 2000-09-14 Alex Schroeder <alex@gnu.org>
3465 * ansi-color.el (ansi-colors): Doc change.
3466 (ansi-color-get-face): Simplified regexp.
3467 (ansi-color-faces-vector): Added more faces, doc change.
3468 (ansi-color-names-vector): Doc change.
3469 (ansi-color-regexp): Simplified regexp.
3470 (ansi-color-parameter-regexp): New regexp.
3471 (ansi-color-filter-apply): Doc change.
3472 (ansi-color-filter-region): Doc change.
3473 (ansi-color-apply): Use ansi-color-regexp and ansi-color-get-face,
3474 deal with zero length parameters.
3475 (ansi-color-apply-on-region): Doc change.
3476 (ansi-color-map): Doc change.
3477 (ansi-color-map-update): Removed debugging message.
3478 (ansi-color-get-face-1): Added condition-case to trap
3479 args-out-of-range errors.
3480 (ansi-color-get-face): Doc change.
3481 (ansi-color-make-face): Removed.
3482 (ansi-color-for-shell-mode): New option.
3484 2000-09-13 Kenichi Handa <handa@etl.go.jp>
3486 * international/quail.el (quail-start-translation): Translate KEY
3487 if necessary even if it doesn't have any mapping in the current
3489 (quail-start-conversion): Likewise.
3490 (quail-help): The output message is improved.
3492 2000-09-13 Miles Bader <miles@gnu.org>
3494 * comint.el (comint-output-filter): Revert to using
3495 `insert-before-markers'. Add bletcherous hack to undo damage
3496 caused by `insert-before-markers'. Put `front-sticky' property on
3497 overlays created here so that the field code understands how the
3498 overlay works. Use a let when making comint-last-prompt-overlay,
3499 so that the code is easier to read.
3501 2000-09-13 Dave Love <fx@gnu.org>
3503 * wid-edit.el (widget-default-format-handler): DTRT when
3504 doc-property is a function.
3506 2000-09-12 Francesco Potorti` <pot@gnu.org>
3508 * mail/sendmail.el (mail-mode-fill-paragraph): Do not get the
3509 filed name if it's not there.
3511 2000-09-12 Dave Love <fx@gnu.org>
3513 * simple.el (read-mail-command): Doc fix.
3514 (mail-user-agent): Add gnus-user-agent option for upcoming Gnus.
3516 * vc.el (vc-dired-listing-switches): Fix :version.
3518 * vc-hooks.el: Doc fixes.
3520 * subr.el (add-minor-mode): Use toggle-fun arg.
3522 * speedbar.el: Add :version to several defcustoms.
3524 * imenu.el (imenu--truncate-items, imenu--cleanup)
3525 (imenu--generic-function): Avoid mapcar.
3526 (imenu--replace-spaces): Function removed.
3527 (imenu--completion-buffer): Use subst-char-in-string.
3528 (imenu-add-to-menubar): Use keymap inheritance.
3530 2000-09-12 Miles Bader <miles@gnu.org>
3532 * diff-mode.el (diff-hunk-text): Use `with-temp-buffer'.
3533 (diff-mode-map): Bind `diff-test-hunk'.
3534 (diff-apply-hunk): Use `select-window' instead of `pop-to-buffer'.
3536 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3538 * bytecomp.el (byte-compile-defvar): Undo last change
3539 because it breaks '(make-variable-buffer-local (defvar ...)'
3540 which is used at least in dired.
3542 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3544 * international/quail.el (quail-define-package): Docstring
3547 2000-09-12 Kenichi Handa <handa@etl.go.jp>
3549 * international/titdic-cnv.el (quail-cxterm-package-ext-info): Add
3550 extra docstrings for "chinese-ccdospy", "chinese-ecdict",
3551 "chinese-etzy", "chinese-sw", and "chinese-ziranma". Modify the
3552 docstring of "chinese-py".
3554 * international/quail.el (quail-translation-docstring): New
3556 (quail-show-keyboard-layout): Docstring modified.
3557 (quail-select-current): Likewise.
3558 (quail-build-decode-map): Change arg MAP to MAP-LIST to avoid
3559 infinite recursive call.
3560 (quail-help): Check quail-translation-docstring. Format of the
3562 (quail-help-insert-keymap-description): Adjusted for the above
3565 2000-09-11 Gerd Moellmann <gerd@gnu.org>
3567 * bytecomp.el (byte-compile-defvar): Only cons onto
3568 current-load-list in top-level forms. Else this leaks a cons cell
3569 every time a defun is called.
3571 2000-09-11 Miles Bader <miles@lsi.nec.co.jp>
3573 * diff-mode.el (diff-apply-hunk): Function basically rewritten.
3574 Now understands non-unified diffs. Some functionality moved into
3575 `diff-hunk-text' and `diff-find-text'. Add OTHER-FILE, DRY-RUN,
3576 POPUP, and NOERROR arguments. If DRY-RUN is true, don't actually
3577 modify anything. Only reposition point in the patched file if the
3578 patch succeeds. Only pop up another window if POPUP is true.
3579 Emit a message describing what happened if successful, and at what
3580 line-offset. Automatically detect reversed hunks and do something
3582 (diff-hunk-text, diff-find-text): New functions.
3583 (diff-filter-lines): Function removed.
3584 (diff-test-hunk): New function.
3585 (diff-goto-source): Rewritten in terms of diff-apply-hunk.
3587 2000-09-10 Dave Love <fx@gnu.org>
3589 * textmodes/tildify.el: Minor doc/commentary fixes.
3590 (tildify) <defgroup>: Add :version.
3592 * faces.el (face-x-resources): Make custom type more specific.
3593 (frame-background-mode): Use mapc.
3594 (region) <defcustom>: Add :version.
3596 2000-09-08 Stefan Monnier <monnier@cs.yale.edu>
3598 * vc-sccs.el (vc-sccs-register):
3599 * vc-rcs.el (vc-rcs-register):
3600 * vc-cvs.el (vc-cvs-register): Don't clear file's properties.
3601 * vc.el (vc-register): Clear file's properties.
3603 2000-09-08 Gerd Moellmann <gerd@gnu.org>
3605 * faces.el (face-spec-set): Only face-spec-reset-face when
3608 2000-09-08 Eli Zaretskii <eliz@is.elta.co.il>
3610 * help.el (help-insert-xref-button): Fix a typo in doc string.
3612 2000-09-07 Eli Zaretskii <eliz@is.elta.co.il>
3614 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3615 Fix doc strings of chinese-py-b5, chinese-py, and chinese-tonepy input
3618 * menu-bar.el (read-mail-item-name): New function.
3619 (menu-bar-tools-menu): Use it to compute and display the package
3621 (menu-bar-tools-menu): Fix typo in GUD's help string.
3623 2000-09-07 Dave Love <fx@gnu.org>
3625 * diff-mode.el (diff-mouse-goto-source): New function.
3627 * vc-sccs.el: Doc fixes.
3628 (vc-sccs-register-switches, vc-sccs-master-templates): Add :version.
3630 * vc-rcs.el: Doc fixes.
3631 (vc-rcs-register-switches, vc-rcs-checkin-switches)
3632 (vc-rcs-checkout-switches, vc-rcs-header)
3633 (vc-rcs-master-templates): Add or change :version.
3635 * vc-cvs.el: Doc fixes.
3636 (vc-cvs-register-switches, vc-cvs-header, vc-cvs-use-edit)
3637 (vc-cvs-stay-local): Add :version.
3639 * menu-bar.el (menu-bar-options-menu): Fix the font-lock toggle.
3641 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3643 * international/quail.el (quail-help): Fix previous change.
3645 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3647 * faces.el (color-values): Doc fix.
3649 * faces.el (frame-set-background-mode): Use frame-parameter
3650 instead of frame-parameters.
3652 * frame.el (filtered-frame-list): Reduce consing.
3653 (frames-on-display-list): Call frame-parameter instead of
3656 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3658 * language/devan-util.el (devanagari-to-indian-region): In the
3659 loop, change the following char, not preceding char.
3661 2000-09-07 Gerd Moellmann <gerd@gnu.org>
3663 * menu-bar.el (menu-bar-update-buffers): Call frame-parameter
3664 instead of frame-parameters.
3666 * faces.el (set-face-attribute): Simplify by calling
3667 internal-set-lisp-face-attribute with FRAME being 0.
3669 * vc.el: Remove `Id' version control keyword.
3671 2000-09-07 Kenichi Handa <handa@etl.go.jp>
3673 * help.el (help-make-xrefs): Adjusted for the change of
3674 help-xref-mule-regexp.
3675 (help-insert-xref-button): New function.
3677 * international/mule-cmds.el (help-xref-mule-regexp-template):
3678 Include the pattern for character set.
3681 * international/quail.el: Don't require face.
3683 (quail-other-command): Dummy command to make quail-help work better.
3684 (quail-keyboard-layout-alist): Add Keyboard type "jp106".
3685 (quail-keyboard-layout-substitution): New variable.
3686 (quail-update-keyboard-layout): New function.
3687 (quail-keyboard-layout-type): New customizable variable.
3688 (quail-set-keyboard-layout): Call quail-update-keyboard-layout.
3689 (quail-keyboard-translate): Pay attention to
3690 quail-keyboard-layout-substitution.
3691 (quail-insert-kbd-layout): New function.
3692 (quail-show-keyboard-layout): New function.
3693 (quail-get-translation): If the definition is a vector of length
3694 1, and the element is a string of length 1, return the character
3696 (quail-update-current-translations): Fix the case of
3697 relative-index out of range.
3698 (quail-build-decode-map, quail-insert-decode-map): New Functions.
3699 (quail-help): Show keyboard layout by quail-insert-kbd-layout.
3700 Show key sequences for all available characters.
3701 (quail-help-insert-keymap-description): Don't show such verbose
3702 key bindings as quail-self-insert-command.
3704 * international/titdic-cnv.el (quail-cxterm-package-ext-info):
3705 Format changed, and each element now have extra documentations.
3706 (tit-process-header): Delete invalid characters from TIT-PROMPT.
3707 Adjusted for the change of quail-cxterm-package-ext-info.
3709 2000-09-06 Gerd Moellmann <gerd@gnu.org>
3711 * vc-hooks.el (toplevel): Don't require `vc' during compilation;
3712 requiring it leads to a recursive loading of vc.el and vc-hooks.el
3715 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3717 * vc.el: (toplevel): Don't require `dired' at run-time.
3718 (vc-dired-resynch-file): Remove autoload cookie.
3720 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3722 * vc.el: Made several backend functions optional.
3723 (vc-default-responsible-p): New function.
3724 (vc-merge): Use RET for first version to trigger merge-news, not
3726 (vc-annotate): Handle backends that do not support annotation.
3727 (vc-default-merge-news): Removed. The existence of a merge-news
3728 implementation is now checked on caller sites.
3730 * vc-hooks.el (vc-default-mode-line-string): Removed CVS special
3733 * vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
3734 special case that has been removed from the default in vc-hooks.el.
3736 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3738 * vc.el (vc-log-edit): Properly handle the case where FILE is nil.
3740 2000-09-05 Andre Spiegel <spiegel@gnu.org>
3742 * vc-hooks.el: Require vc during compilation.
3743 (vc-file-setprop): Use `vc-touched-properties' if bound by the new
3744 macro `with-vc-properties' in vc.el.
3745 (vc-file-getprop): Doc fix.
3746 (vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
3748 * vc.el: Require dired-aux during compilation.
3749 (vc-name-assoc-file): Moved to vc-sccs.el.
3750 (with-vc-properties): New macro.
3751 (vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
3752 vc-finish-steal): Use it.
3753 (vc-cancel-version): Moved RCS-specific code to vc-rcs.el. The call
3754 to the backend-specific function is now supposed to do the checkout,
3756 (vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
3758 * vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
3759 set file properties; that gets done in the generic code now.
3761 * vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
3762 Changed parameter list, added code from vc.el that does the
3763 checkout, possibly with a double-take.
3765 * vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
3766 (vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
3767 the above under the new name.
3768 (vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'. Changed
3769 parameter list, added checkout command.
3770 (vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
3771 properties; that gets done in the generic code now.
3773 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3775 * vc.el: Docstring fixes (courtesy of checkdoc).
3777 2000-09-05 Stefan Monnier <monnier@cs.yale.edu>
3779 * vc.el (vc-checkout-writable-buffer-hook)
3780 (vc-checkout-writable-buffer): Remove.
3781 (vc-start-entry): Always call vc-log-edit, never vc-log-mode.
3782 (vc-log-mode): Make it into a clean derived major mode.
3783 (vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
3784 vc-log-mode if log-edit is not available.
3785 (vc-dired-mode-map): Don't set-keymap-parent yet.
3786 (vc-dired-mode): Do set-keymap-parent here.
3787 (vc-dired-buffers-for-dir): Nop if dired is not loaded.
3789 2000-09-05 Gerd Moellmann <gerd@gnu.org>
3791 * faces.el (set-face-attribute, face-spec-reset-face)
3792 (face-spec-set): Avoid consing by removing calls to `apply'.
3794 * frame.el (frame-parameter): Move to C code.
3796 2000-09-05 Dave Love <fx@gnu.org>
3798 * help.el (help-manyarg-func-alist): Add ml-prefix-argument-loop,
3799 insert-before-markers-and-inherit. Now checked systematically!
3801 2000-09-05 Alex Schroeder <alex@gnu.org>
3803 * sql.el (sql-postgres): Use sql-postgres-options.
3804 (sql-postgres-options): New variable.
3806 2000-09-05 Alex Schroeder <alex@gnu.org>
3808 * sql.el (sql-mode-menu): Work around missing variable mark-active
3810 (sql-mode): Added call to easy-menu-add for XEmacs compatibility.
3811 (sql-interactive-mode): Added call to easy-menu-add for XEmacs
3814 2000-09-04 Gerd Moellmann <gerd@gnu.org>
3816 * vc.el (vc-dired-resynch-file): Add autoload cookie.
3818 * vc.el (toplevel): Require `dired' at run-time for dired-mode-map.
3820 * Makefile.in (DONTCOMPILE): Fix typo in file name.
3822 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3824 * vc-sccs.el (vc-sccs-latest-on-branch-p): Always return t; we
3825 don't support anything else under SCCS yet.
3827 * vc-hooks.el: Minor doc fixes.
3829 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3831 * vc.el (vc-next-action-on-file): Do not visit the file if it's
3832 not necessary. If verbose in state `needs-patch', do the same as
3833 under `up-to-date'. When NOT verbose and `needs-patch', check out
3834 latest version instead of `merge-news'.
3835 (vc-next-action-dired): Don't mess with default-directory here; it
3836 breaks other parts of dired. It is the job of the
3837 backend-specific functions to adjust it temporarily if they need it.
3838 (vc-next-action): Remove a special CVS case.
3839 (vc-clear-headers): New optional arg FILE.
3840 (vc-checkin, vc-checkout): Set properties vc-state and
3841 vc-checkout-time properly.
3842 (vc-finish-steal): Call steal-lock, not steal, which doesn't exist.
3843 (vc-print-log): Use new backend function `show-log-entry'.
3844 (vc-cancel-version): Do the checks in a different order. Added a
3845 FIXME concerning RCS-only code.
3847 * vc-rcs.el (vc-rcs-show-log-entry): New function.
3848 (vc-rcs-checkin, vc-rcs-checkout): Don't set all properties.
3850 * vc-cvs.el (vc-cvs-show-log-entry): New function.
3852 * vc-hooks.el (vc-default-mode-line-string): Show state
3853 `needs-patch' as a `-' too.
3855 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3857 * vc.el (vc-responsible-backend): New optional arg REGISTER.
3858 (vc-default-could-register): New function.
3859 (vc-dired-buffers-for-dir, vc-dired-resynch-file): New functions.
3860 (vc-resynch-buffer): Call vc-dired-resynch-file.
3861 (vc-start-entry, vc-finish-logentry, vc-revert-buffer): Use
3862 vc-resynch-buffer instead of vc-resynch-window.
3863 (vc-next-action-dired): Don't redisplay here, that gets done as a
3864 result of the individual file operations.
3865 (vc-retrieve-snapshot): Corrected prompt order.
3867 * vc-hooks.el (vc-after-save): Call vc-dired-resynch-file.
3869 * vc-cvs.el (vc-cvs-stay-local): Allow it to be a hostname regexp
3871 (vc-cvs-remote-p): Renamed to vc-cvs-stay-local-p. Handle
3872 hostname regexps. Updated all callers.
3873 (vc-cvs-responsible-p): Handle directories as well.
3874 (vc-cvs-could-register): New function.
3875 (vc-cvs-retrieve-snapshot): Parse "cvs update" output, keep file
3876 properties up-to-date.
3878 * vc-rcs.el (vc-rcs-register): If there is no RCS subdir, ask the
3879 user whether to create one.
3881 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3883 * vc-hooks.el (vc-file-not-found-hook): Ask the user whether to
3884 check out a non-existing file.
3886 * vc-cvs.el (vc-cvs-checkout): Do the right thing when the
3887 workfile does not exist.
3889 * vc.el (vc-version-diff): Use `require' to check for existence of
3892 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3894 * vc-cvs.el (vc-cvs-registered): Use new function
3895 vc-cvs-parse-entry to do the actual work.
3897 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3899 * vc-hooks.el (vc-find-backend-function): If function doesn't
3900 exist, return nil instead of error.
3901 (vc-call-backend): Doc fix.
3903 * vc.el (vc-do-command): Doc fix.
3904 (vc-finish-logentry): When checking in from vc-dired, choose the
3905 right backend for logentry check.
3906 (vc-dired-mode-map): Inherit from dired-mode-map.
3907 (vc-dired-mode): Local value of dired-move-to-filename-regexp
3909 (vc-dired-state-info): Removed, updated caller.
3910 (vc-default-dired-state-info): Use parentheses instead of hyphens.
3911 (vc-dired-hook): Use vc-BACKEND-dir-state, if available.
3912 (vc-dired-listing-switches): New variable.
3913 (vc-directory): Use it, instead of dired-listing-switches.
3915 * vc-cvs.el (vc-cvs-remote-p): Allow FILE to be a directory, too.
3916 (vc-cvs-dir-state): New function.
3917 (vc-cvs-dir-state-heuristic): New function, subroutine of the above.
3918 (vc-cvs-parse-entry): New function, also to be used in
3921 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3923 * vc.el (vc-revert-buffer): Hide the frame for dedicated windows
3924 *or* single-window-frames.
3926 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3928 * vc.el (vc-update-changelog): Split into generic part and default
3929 implementation. Doc string adapted.
3930 (vc-default-update-changelog): New function. Call the `rcs2log'
3931 script in exec-directory, to fix a long-standing nuisance.
3933 * vc-sccs.el (vc-sccs-update-changelog): Dummy implementation that
3934 simply signals an error.
3936 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3938 * vc-cvs.el (vc-cvs-checkout): Slight restructuring to make the
3939 control-flow more clear and to avoid running `cvs' twice.
3941 * vc.el (vc-next-action-on-file): Doc fix.
3942 (vc-maybe-resolve-conflicts): Don't just toggle smerge-mode.
3943 (vc-print-log): Eval `file' before constructing the continuation.
3945 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3947 * vc.el (vc-next-action-on-file): Corrected several messages.
3948 (vc-merge): Add prefix arg `merge-news'; handle it.
3950 * vc-cvs.el (vc-cvs-workfile-version): Removed comment that this
3951 is not reached. It is.
3952 (vc-cvs-merge): Set state to 'edited after merge.
3953 (vc-cvs-merge-news): Set workfile version to nil if not known.
3954 (vc-cvs-latest-on-branch-p): Recommented. Candidate for removal.
3956 * vc-*.el (vc-*-checkout): Switch off coding systems for checkout
3957 via stdout. (Merge from main line.)
3959 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3961 * vc.el (vc-finish-logentry): Thinko in the "same comment"
3964 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
3966 * vc.el (vc-parent-buffer, vc-parent-buffer-name): Protect them
3967 against kill-all-local-variables.
3968 (vc-log-edit): Don't save vc-parent-buffer any more.
3969 (vc-last-comment-match): Initialize to an empty string.
3970 (vc-post-command-functions): New hook.
3971 (vc-do-command): Run it.
3972 (vc-next-action-on-file): Remove unnecessary pop-to-buffer.
3973 (vc-finish-logentry): Only add the comment to the ring if it's
3974 different from the last comment entered.
3975 (vc-new-comment-index): New function.
3976 (vc-previous-comment): Use it. Make the minibuffer message
3977 slightly less terse.
3978 (vc-comment-search-reverse): Make it work forward as well. Don't
3979 set vc-comment-ring-index if no match is found. Use
3980 vc-new-comment-index.
3981 (vc-comment-search-forward): Use vc-comment-search-reverse.
3982 (vc-dired-mode-map): Don't inherit from dired-mode-map since
3983 define-derived-mode will do it for us. Bind `v' to a keymap that
3984 inherits from vc-prefix-map so that we can bind `vt' without
3986 (vc-retrieve-snapshot): Parenthesis typo.
3988 * vc-cvs.el (vc-cvs-checkin): Raise the max-correct status from 0
3989 to 1. Make sure to switch to *vc* before looking for an error
3990 message. Use vc-parse-buffer.
3992 2000-09-04 Andre Spiegel <spiegel@gnu.org>
3994 * vc.el (vc-create-snapshot, vc-default-create-snapshot): Swap DIR
3996 (vc-retrieve-snapshot): Split into two parts.
3997 (vc-default-retrieve-snapshot): New function.
3999 * vc-cvs.el ((vc-cvs-create-snapshot): Swap DIR and NAME.
4000 (vc-cvs-retrieve-snapshot): New function (untested).
4001 (vc-cvs-stay-local): Default to t.
4002 (vc-cvs-remote-p): New function and property.
4003 (vc-cvs-state): Stay local only if the above is t.
4004 (vc-handle-cvs): Removed.
4005 (vc-cvs-registered): Don't check vc-handle-cvs -- it should all be
4006 done via vc-handled-backends now.
4007 (vc-cvs-header): Escape Id.
4009 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4011 * vc.el (vc-do-command): Remove unused commands.
4012 (vc-version-diff): Make sure default-directory ends with a slash.
4013 Move the window commands into a vc-exec-after.
4014 (vc-print-log): Move more of the code into the `vc-exec-after'.
4016 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4018 * vc.el (vc-exec-after): Fix disassembly of previous sentinel.
4019 (vc-print-log): Search current revision from beginning of buffer.
4020 (vc-revert-buffer): Clear echo area after the diff is finished.
4021 (vc-prefix-map): Removed definition of "t" for terse display in vc
4023 (vc-dired-mode-map): Inherit from dired-mode-map. Added
4024 definition of "vt" for terse display.
4025 (vc-dired-mode): Fix dired-move-to-filename-regexp.
4027 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4029 * vc.el (vc-exec-after): Avoid caddr.
4031 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4033 * vc.el (vc-exec-after): New function.
4034 (vc-do-command): Use it to add a termination message for async
4036 (vc-checkout): Try to handle a missing-backend situation.
4037 (vc-version-diff): Use vc-exec-after to fix the behavior for diffs
4038 of a directory with a backend using async diffs.
4039 (vc-print-log): Use vc-exec-after and use log-view-goto-rev if
4042 * vc-sccs.el (vc-sccs-state-heuristic): Use
4043 file-ownership-preserved-p.
4045 * vc-rcs.el (vc-rcs-state-heuristic): Use
4046 file-ownership-preserved-p.
4047 (vc-rcs-checkout): Remove the error-handling for missing-rcs.
4049 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4051 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix call to
4054 * vc.el (vc-next-action-on-file): Use vc-revert-buffer to revert
4055 when there are no changes.
4057 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4059 * vc-sccs.el (vc-sccs-state-heuristic): Don't use file-writable-p.
4061 * vc-rcs.el (vc-rcs-state-heuristic): Don't use file-writable-p.
4063 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4065 * vc-hooks.el (vc-prefix-map): Move the autoload from vc.el.
4067 * vc.el (vc-prefix-map): Move the autoload to vc-hooks.el and move
4068 the `fset' outside of the defvar so that it works even if
4069 vc-prefix-map was already defined.
4070 (vc-setup-buffer): New function, split out of vc-do-command.
4071 (vc-do-command): Allow BUFFER to be t to mean `just use the
4072 current buffer without any fuss'.
4073 (vc-version-diff): Change the `diff' backend operation to just put
4074 the diff in the current buffer without erasing it. Always use
4075 *vc-diff* even for directory-diffs. Use vc-setup-buffer. Protect
4076 shrink-window-if-larger-than-buffer.
4077 (vc-print-log): Change the `print-log' backend operation to just
4078 put the log in the current buffer without erasing it. Protect
4079 shrink-window-if-larger-than-buffer.
4080 (vc-update-change-log): Fix setd typo.
4082 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Fix parenthesis.
4083 (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
4085 * vc-rcs.el (vc-rcs-print-log): Insert in the current buffer.
4086 (vc-rcs-diff): Insert in the current buffer and remove unused arg
4089 * vc-cvs.el (vc-cvs-state, vc-cvs-fetch-status): Use
4090 with-temp-file. Use the new BUFFER=t argument to vc-do-command.
4091 (vc-cvs-print-log, vc-cvs-diff): Insert in the current buffer.
4093 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4095 * vc.el (vc-workfile-unchanged-p): If checkout-time comparison is
4096 not possible, use vc-BACKEND-workfile-unchanged-p.
4097 (vc-default-workfile-unchanged-p): New function. Delegates to a
4098 full vc-BACKEND-diff.
4100 * vc-hooks.el (vc-simple-command): Removed.
4102 * vc-rcs.el (vc-rcs-workfile-unchanged-p): Use vc-do-command
4103 instead of vc-simple-command.
4104 (vc-rcs-fetch-master-state): Removed check for unlocked-changes to
4105 avoid doing a diff when opening a file.
4106 (vc-rcs-state): Added check for unlocked-changes.
4107 (vc-rcs-header): Escape Id.
4108 (vc-rcs-workfile-unchanged-p): Remove optional arg VERSION.
4109 (vc-rcs-state): Call vc-workfile-unchanged-p, not the RCS-specific
4112 * vc-sccs.el (vc-sccs-workfile-unchanged-p): Rewritten.
4113 (vc-sccs-diff): Remove optional arg CMP.
4114 (vc-sccs-state): Call vc-workfile-unchanged-p, not the
4115 SCCS-specific function.
4117 * vc-cvs.el (vc-cvs-state): Use vc-do-command instead of
4120 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4122 * vc.el (vc-editable-p): Renamed from vc-writable-p.
4123 (with-vc-file, vc-merge): Use vc-editable-p.
4124 (vc-do-command): Remove unused var vc-file and fix the
4125 doubly-defined `status' var. Add a user message when starting an
4127 (vc-restore-buffer-context, vc-resynch-buffer, vc-start-entry)
4128 (vc-finish-steal, vc-checkin, vc-finish-logentry, vc-rename-file):
4129 Use with-current-buffer.
4130 (vc-buffer-sync): Use unless.
4131 (vc-next-action-on-file): If the file is 'edited by read-only,
4132 make it read-write instead of trying to commit.
4133 (vc-version-diff, vc-update-change-log): Use `setq
4134 default-directory' rather than `cd'.
4135 (vc-log-edit): Don't forget to set default-directory in the
4138 * vc-sccs.el (vc-sccs-state): Fix obviously wrong parenthesis.
4139 (vc-sccs-state-heuristic): Use file-writable-p instead of
4141 (vc-sccs-checkout): Use `unless'.
4143 * vc-rcs.el (vc-rcs-state-heuristic): Use file-writable-p instead
4144 of comparing userids.
4145 (vc-rcs-fetch-master-state): Handle the case where rcs is missing.
4146 Simplify the logic by eliminating unreachable code.
4147 (vc-rcs-diff): Only pass `2' to vc-do-command if necessary and
4148 just do a recursive call if we need to retry.
4149 (vc-rcs-checkout): Handle the case where rcs is missing by making
4150 the buffer read-write if requested and re-signalling the error.
4152 * vc-cvs.el (vc-cvs-diff): Remove unused and unsupported argument CMP.
4154 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4156 * vc-hooks.el (vc-handled-backends): Docstring change.
4157 (vc-ignore-vc-files): Mark obsolete.
4158 (vc-registered): Check vc-ignore-vc-files.
4159 (vc-find-file-hook, vc-file-not-found-hook): Don't check
4162 * vc-cvs.el (vc-cvs-registered): Obey vc-handle-cvs.
4164 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4166 * vc.el (vc-checkout): Don't do anything special for ange-ftp
4167 files since ange-ftp already has vc-registered return nil.
4169 * vc-sccs.el (vc-sccs-state): Use with-temp-buffer.
4170 (vc-sccs-workfile-version): Use with-temp-buffer and new
4171 vc-parse-buffer and don't bother setting the property.
4172 (vc-sccs-add-triple): Use with-current-buffer and
4174 (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
4176 * vc-rcs.el (vc-rcs-find-most-recent-rev): New function. The code
4177 derives from the old vc-parse-buffer but uses the revision number
4178 rather than the date (much easier to compare robustly).
4179 (vc-rcs-fetch-master-state): Use `with-temp-buffer'. Adapt to the
4180 new vc-parse-buffer (and vc-rcs-find-most-recent-rev). Find the
4181 locking-user more directly. Check strict locking and set
4182 checkout-model appropriately.
4183 (vc-rcs-parse-locks): Remove.
4184 (vc-rcs-latest-on-branch-p): Use with-temp-buffer and adapt to the
4185 new vc-parse-buffer (and vc-rcs-find-most-recent-rev).
4186 (vc-rcs-system-release): Use with-current-buffer and
4188 (vc-rcs-register, vc-rcs-checkout): Use with-current-buffer.
4190 * vc-hooks.el (vc-parse-buffer): Lobotomize the monster.
4191 (vc-simple-command): Docstring fix.
4192 (vc-registered): Align the way the file-handler is called with the
4193 way the function itself works.
4194 (vc-file-owner): Remove.
4196 * vc-cvs.el (vc-cvs-registered): Use with-temp-buffer. Reorder
4197 extraction of fields and call to file-attributes because of a
4198 temporary bug in rcp.el.
4199 (vc-cvs-fetch-status): Use with-current-buffer.
4201 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4203 * vc.el (vc-do-command): Use file-relative-name.
4204 (vc-responsible-backend): Use vc-backend if possible.
4205 (vc-create-snapshot): Improve the `interactive' spec. Add support
4206 for branches and dispatch to backend-specific `create-snapshot'.
4207 (vc-default-create-snapshot): New function, containing the bulk of
4208 the old vc-create-snapshot.
4209 (vc-retrieve-snapshot): Improve the interactive spec.
4211 * vc-hooks.el (vc-header-alist): Move the dummy def from vc.el.
4212 (vc-backend-hook-functions): Remove.
4213 (vc-find-backend-function): Don't try to load vc-X-hooks anymore.
4214 (vc-backend): Reintroduce the test for `file = nil' now that I
4215 know why it was there (and added a comment to better remember).
4217 * vc-sccs-hooks.el: Merge into vc-sccs.el * vc-sccs.el: Merge in
4218 code from vc-sccs-hooks.el.
4219 (vc-sccs-release, vc-sccs-system-release): Remove. Don't require
4221 (vc-sccs-responsible-p): Use expand-file-name instead of concat
4222 and file-directory-p instead of file-exists-p.
4223 (vc-sccs-check-headers): Simplify the regexp.
4225 * vc-rcs-hooks.el: Merge into vc-rcs.el * vc-rcs.el: Merge in code
4226 from vc-rcs-hooks.el. Don't require 'vc anymore.
4227 (vc-rcs-responsible-p): Use expand-file-name instead of concat and
4228 file-directory-p instead of file-exists-p.
4230 * vc-cvs-hooks.el: Merge into vc-cvs.el * vc-cvs.el: Merge in code
4231 from vc-cvs-hooks.el.
4232 (proto vc-cvs-registered): Require 'vc-cvs instead of
4233 'vc-cvs-hooks. Don't require 'vc anymore.
4234 (vc-cvs-responsible-p): Use expand-file-name instead of concat and
4235 file-directory-p instead of file-exists-p.
4236 (vc-cvs-create-snapshot): New function, replacing
4238 (vc-cvs-assign-name): Remove.
4240 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4242 * vc-cvs.el (vc-cvs-header): New var.
4244 * vc-rcs.el (vc-rcs-exists): Remove.
4245 (vc-rcs-header): New var.
4247 * vc-sccs.el (vc-sccs-responsible-p, vc-sccs-register): Use
4248 `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
4249 (vc-sccs-header): New var.
4251 * vc.el (vc-do-command): Get rid of the `last' argument.
4252 (vc-header-alist): Remove, replaced by vc-X-header.
4253 (vc-insert-headers): Use vc-X-header instead of vc-header-alist.
4254 (vc-dired-hook): Use expand-file-name instead of concat.
4255 (vc-directory): Use file-name-as-directory.
4256 (vc-snapshot-precondition, vc-create-snapshot)
4257 (vc-retrieve-snapshot): Allow the command to operate on any
4260 * vc-{rcs,sccs,cvs}.el: Update calls to vc-do-command by either
4261 just removing the 'WORKFILE argument or by removing the 'MASTER
4262 argument and replacing `file' with (vc-name file).
4264 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4266 * vc.el: Update Copyright and add a crude list of backend funs.
4267 (vc-writable-p): New function.
4268 (with-vc-file): Use vc-writable-p.
4269 (vc-next-action-on-file): Update call to vc-steal-lock and cleanup.
4270 (vc-register): Avoid vc-name.
4271 (vc-locking-user): Remove.
4272 (vc-steal-lock): Make the `owner' arg non-optional.
4273 (vc-merge): Use vc-writable-p instead of vc-locking-user and
4275 (vc-default-dired-state-info): Use vc-state instead of
4276 vc-locking-user and return special strings for special states.
4277 (vc-dired-hook): Use vc-up-to-date-p instead of vc-locking-user
4278 and get rid of one of the special CVS cases.
4279 (vc-cancel-version): prettify error message with \\[...].
4280 (vc-rename-master): New function.
4281 (vc-rename-file): Use vc-BACKEND-rename-file (which might in turn
4282 use vc-rename-master) instead of vc-BACKEND-record-rename. Make
4283 the CVS special case generic.
4284 (vc-default-record-rename): Remove.
4285 (vc-file-tree-walk-internal): Only call FUNC for files that are
4286 under control of some VC backend and replace `concat' with
4288 (vc-file-tree-walk): Update docstring.
4289 (vc-version-diff, vc-snapshot-precondition, vc-create-snapshot)
4290 (vc-retrieve-snapshot): Update call to vc-file-tree-walk.
4292 * vc-sccs.el (vc-sccs-rename-file): Renamed from
4293 vc-sccs-record-rename. Use `find-file-noselect' rather than
4294 `find-file' and call `vc-rename-master' to do the actual move.
4295 (vc-sccs-diff): Remove unused `backend' variable.
4297 * vc-sccs-hooks.el (vc-sccs-registered): Preloaded trivial version
4298 to delay loading of vc-sccs until it is really used.
4299 (vc-sccs-master-templates): Preload.
4300 (vc-sccs-state): Update call to vc-sccs-parse-locks.
4301 (vc-sccs-project-dir): Remove (merged into
4302 vc-sccs-search-project-dir).
4303 (vc-sccs-search-project-dir): Rewrite using file name handling ops
4304 rather than `concat', make sure it is preloaded and don't bother
4305 to check that the file actually exists.
4306 (vc-sccs-parse-locks): Remove unused `file' argument, remove
4307 `locks' argument (use buffer's content instead) and eliminate n^2
4310 * vc-rcs.el: Update Copyright.
4311 (vc-rcs-rename-file): New function.
4312 (vc-rcs-diff): Remove unused `backend' variable.
4314 * vc-hooks.el: Update Copyright.
4315 (vc-backend): Don't accept a nil argument any more.
4316 (vc-up-to-date-p): Turn into a defsubst.
4317 (vc-possible-master): New function.
4318 (vc-check-master-templates): Use `vc-possible-master' and allow
4319 funs in vc-X-master-templates to return a non-existent file.
4321 * vc-cvs.el: Update Copyright.
4322 (vc-cvs-diff): Remove unused `backend' variable.
4323 (vc-cvs-checkout): Only toggle read-only if the buffer is setup right.
4325 * vc-cvs-hooks.el: Preload a proto vc-cvs-registered.
4327 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4329 * vc-rcs-hooks.el (vc-rcs-registered): Provide a trivial version
4330 since it can be called from vc-rcs.el.
4331 (vc-rcs-parse-locks): Cleanup to remove an n^2 behavior.
4333 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4335 * vc.el (vc-version-diff): Expand file name read from the
4336 minibuffer. Handle the case when a previous version number can't
4337 be guessed. Give suitable messages when there were no differences
4339 (vc-clear-headers): Call backend-specific implementation, if one
4341 (vc-cancel-version): Made error checks generic. When done, clear
4342 headers generically, too.
4344 * vc-rcs.el (vc-rcs-clear-headers): New function; code moved here
4345 from vc-clear-headers in vc.el.
4347 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Use vc-parse-buffer
4349 (vc-rcs-latest-on-branch-p): Made second argument VERSION
4350 optional. Handle the case when it's not there.
4352 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4354 * vc.el (vc-locking-user): Moved from vc-hooks.el.
4356 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4358 * vc-hooks.el (vc-loadup): Remove.
4359 (vc-find-backend-function): Use `require'. Also, handle the case
4360 where vc-BACKEND-hooks.el doesn't exist.
4361 (vc-call-backend): Cleanup.
4363 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4365 * vc-rcs-hooks.el (vc-rcs-templates-grabbed,
4366 vc-rcs-grab-templates)
4367 (vc-rcs-registered): Remove. The default function works as well.
4368 * vc-sccs-hooks.el (vc-sccs-templates-grabbed,
4369 vc-sccs-grab-templates)
4370 (vc-sccs-registered): Remove. The default function works as well.
4372 * vc.el (vc-version-diff): Left out a vc- in call to
4374 (vc-default-dired-state-info, vc-default-record-rename)
4375 (vc-default-merge-news): Update for the new backend argument.
4377 * vc-hooks.el (vc-find-backend-function): Return a cons cell if
4378 using the default function.
4379 (vc-call-backend): If calling the default function, pass it the
4380 backend as first argument. Update the docstring accordingly.
4381 (vc-default-state-heuristic, vc-default-mode-line-string): Update
4382 for the new backend argument.
4383 (vc-make-backend-sym): Renamed from vc-make-backend-function.
4384 (vc-find-backend-function): Use the new name.
4385 (vc-default-registered): New function.
4387 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4389 * vc.el (vc-merge): Use vc-find-backend-function.
4391 * vc-hooks.el (vc-backend-functions): Remove.
4392 (vc-loadup): Don't setup 'vc-functions.
4393 (vc-find-backend-function): New function.
4394 (vc-call-backend): Use above fun and populate 'vc-functions
4396 (vc-backend-defines): Remove.
4398 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4400 * vc.el (vc-register): Put a FIXME note for a newly found bug.
4401 Call vc-call-backend without the leading vc-.
4402 (vc-responsible-backend, vc-finish-logentry, vc-annotate)
4403 (vc-check-headers): Call vc-call-backend without the leading vc-.
4404 (vc-annotate-time-span): Replace confusing use of `cond' with `or'.
4405 (vc-annotate-display): Replace confusing use of `cond' with `or'.
4406 Call vc-call-backend without the leading vc-.
4408 * vc-cvs.el (tail): Provide vc-cvs.
4409 * vc-sccs.el (tail): Provide vc-sccs.
4410 * vc-rcs.el (tail): Provide vc-rcs and remove vc-rcs-logentry-check.
4412 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions)
4413 (vc-make-backend-function, vc-call): Pass names without leading
4414 `vc-' to vc-call-backend so we can blindly prefix them with vc-BACKEND.
4415 (vc-loadup): Don't load vc-X-hooks if vc-X is requested.
4416 (vc-call-backend): Always try to load vc-X-hooks.
4417 (vc-registered): Remove vc- in call to vc-call-backend.
4419 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4421 * vc.el (vc-process-filter): New function.
4422 (vc-do-command): Setup `vc-process-filter' for the async process.
4423 (vc-maybe-resolve-conflicts): New function to reduce
4424 code-duplication. Additionally, it puts the buffer in
4425 `smerge-mode' if applicable.
4426 (vc-next-action-on-file): Use `vc-maybe-resolve-conflicts' after
4427 calling `merge-news'.
4428 (vc-merge): Use `vc-maybe-resolve-conflicts' after calling `merge'.
4429 (vc-log-edit): New function. Replacement for `vc-log-mode' by
4430 interfacing to log-edit.el.
4431 (vc-start-entry): Call `vc-log-edit' instead of `vc-log-mode' if
4432 log-edit is available.
4433 (vc-resolve-conflicts): Delegate to `smerge-ediff' if available.
4435 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4437 * vc.el (vc-register): Remove `vc-buffer-backend' setup.
4438 (vc-log-mode-map): New name for vc-log-entry-mode and merge the
4439 defvar and the initialization.
4440 (vc-log-mode): Minor docstring fix and use vc-log-mode-map.
4442 * vc-hooks.el (vc-default-back-end, vc-buffer-backend): Remove.
4443 (vc-kill-buffer-hook): Remove `vc-buffer-backend' handling.
4445 * vc-cvs-hooks.el (vc-handle-cvs): Make it a defvar and add a FIXME.
4447 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4449 * vc.el (vc-file-clear-masterprops): Removed.
4450 (vc-checkin, vc-revert-buffer): Removed calls to the above.
4451 (vc-version-diff): Use buffer-size without argument.
4452 (vc-register): Heed vc-initial-comment.
4454 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Fix regexp for
4457 * vc-rcs.el (vc-rcs-register): Parse command output to find master
4458 file name and workfile version.
4459 (vc-rcs-checkout): Removed call to vc-file-clear-masterprops.
4461 * vc-cvs.el (vc-cvs-merge-news, vc-cvs-checkout): Removed call to
4462 vc-file-clear-masterprops.
4464 * vc-sccs.el (vc-sccs-checkout): Removed call to
4465 vc-file-clear-masterprops. If writable, set vc-state to 'edited
4466 rather than user login name.
4469 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4471 * vc.el (vc-workfile-unchanged-p): Remove unused argument
4472 `want-differences-if-changed' and simplify.
4473 (vc-next-action-on-file) [needs-merge]: Resynch the buffer.
4474 (vc-revert-buffer): Use `unchanged-p' rather than vc-diff's status
4475 output (which is invalid for async vc-diff) to decide whether to
4476 do the revert silently or not.
4478 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4480 * vc-hooks.el (vc-loadup): Load files quietly.
4481 (vc-call-backend): Oops, brain fart.
4483 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4485 * vc-cvs.el (vc-cvs-state): Typo.
4486 (vc-cvs-merge-news): Return the status code rather than the error msg.
4488 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4490 * vc.el (with-vc-file, vc-next-action, vc-version-diff)
4491 (vc-dired-mark-locked): Replaced usage of vc-locking-user with
4492 vc-state or vc-up-to-date-p.
4493 (vc-merge): Use vc-backend-defines to check whether merging is
4494 possible. Set state to 'edited after successful merge.
4496 * vc-hooks.el (vc-locking-user): If locked by the calling user,
4497 return that name. Redocumented.
4499 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4501 * vc.el (vc-recompute-state, vc-next-action-on-file): Update to
4502 new `vc-state' semantics.
4503 (vc-finish-steal): Set 'vc-state to 'edited rather than setting
4504 'vc-locking-user to the current user.
4505 (vc-merge): Inline vc-backend-merge. Comment out code that I
4506 don't understand and hence can't adapt to the new `vc-state' and
4507 `vc-locking-user' semantics.
4508 (vc-backend-merge): Remove.
4510 * vc-{sc,r}cs.el (vc-{sc,r}cs-check{in,out}): Update 'vc-state
4511 rather than 'vc-locking-user.
4513 * vc-rcs-hooks.el (vc-rcs-consult-headers): Adapt to new `vc-state'.
4515 * vc-hooks.el (vc-user-login-name): Simplify the code a tiny bit.
4516 (vc-state): Don't use 'reserved any more. Just use the same
4517 convention as the one used for vc-<backend>-state where the
4518 locking user (as a string) is returned.
4519 (vc-locking-user): Update, based on the above convention. The
4520 'vc-locking-user property has disappeared.
4521 (vc-mode-line, vc-default-mode-line-string): Adapt to new `vc-state'.
4523 * vc-cvs.el (vc-cvs-state): Don't overwrite a non-heuristic state
4524 with a heuristic one.
4525 (vc-cvs-merge-news): Just use 'edited for the case with conflicts.
4526 (vc-cvs-checkin): Do a trivial parse to set the state in case of
4527 error. That allows us to get to 'needs-merge even in the
4528 stay-local case. There's still no way to detect 'needs-patch in
4529 such a setup (or to force an update for that matter).
4530 (vc-cvs-logentry-check): Remove, the default works as well.
4532 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4534 * vc-cvs.el (vc-cvs-print-log, vc-cvs-diff): Run cvs asynchronously.
4536 * vc.el (vc-do-command): kill-all-local-variables, to reset any
4537 major-mode in which the buffer might have been put earlier. Use
4538 `remove' and `when'. Allow `okstatus' to be `async' and use
4539 `start-process' in this case.
4540 (vc-version-diff): Handle the case where the diff looks empty
4541 because of the use of an async process.
4543 2000-09-04 Andre Spiegel <spiegel@gnu.org>
4545 * vc.el (vc-next-action-on-file): Removed optional parameter
4546 `simple'. Recompute state unconditionally.
4547 (vc-default-toggle-read-only): Removed.
4549 * vc-hooks.el (vc-backend-functions): Removed vc-toggle-read-only.
4550 (vc-toggle-read-only): Undid prev change.
4552 * vc-cvs.el (vc-cvs-stay-local): Renamed from
4553 vc-cvs-simple-toggle. Redocumented.
4554 (vc-cvs-state): If locality is wanted, use vc-cvs-state-heuristic.
4555 (vc-cvs-toggle-read-only): Removed.
4557 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4559 * vc.el (vc-backend-dispatch, vc-annotate-mode-syntax-table): Remove.
4560 (vc-prefix-map): Move from vc-hooks.el and make autoloaded.
4561 (vc-release-greater-or-equal-p): Move to vc-rcs.el.
4562 (vc-file-clear-masterprops): Braindead "fix". It was a nop and
4563 still is. So maybe it should be removed.
4564 (vc-head-version, vc-find-binary): Remove.
4565 (vc-recompute-state): Move from vc-hooks.el.
4566 (vc-next-action-on-file): Add a `simple' argument to allow
4567 avoiding the `recompute' step (use for vc-cvs-simple-toggle).
4568 (vc-default-toggle-read-only, vc-default-record-rename): New funs.
4569 (vc-next-action, vc-dired-hook): Use vc-state instead of vc-cvs-status.
4570 (vc-dired-mode-map): Properly defvar it.
4571 (vc-print-log): Call log-view-mode if available.
4572 (small-temporary-file-directory): defvar instead of use boundp.
4573 (vc-merge-news): Moved to vc-cvs.el.
4574 (vc-default-merge-news): New function.
4576 * vc-sccs.el: Require 'vc and 'vc-sccs-hooks.
4577 (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
4578 (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
4579 unknown `vc-latest-version' function. It should probably refer to
4580 vc-workfile-version or somesuch, but it's very unclear to me and I
4581 don't have SCCS to test things.
4583 * vc-sccs-hooks.el: Provide 'vc-sccs-hooks.
4584 (vc-sccs-state-heuristic): Fix typo.
4585 (vc-sccs-workfile-unchanged-p): Add missing argument.
4587 * vc-rcs.el: Require vc and vc-rcs-hooks.
4588 (vc-rcs-trunk-p, vc-rcs-branch-part): Move to vc-rcs-hooks.
4589 (vc-rcs-backend-release-p): Remove (use vc-rcs-release-p).
4590 (vc-release-greater-or-equal-p): Move from vc.
4591 (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part,
4592 vc-rcs-minor-part, vc-rcs-previous-version): Remove duplicates.
4593 (vc-rcs-checkout): Add a missing `new-version' argument in the
4594 call to vc-rcs-latest-on-branch-p. Hopefully that was the right one.
4596 * vc-rcs-hooks.el: Provide 'vc-rcs-hooks.
4597 (vc-rcs-trunk-p, vc-rcs-branch-part): Moved from vc-rcs.el.
4598 (vc-rcs-latest-on-branch-p): Use the `version' argument rather
4599 than the apparently unbound `workfile-version'.
4601 * vc-hooks.el (vc-master-templates): Def the obsolete var.
4602 (vc-file-prop-obarray): Use `make-vector'.
4603 (vc-backend-functions): Add new hookable functions
4604 vc-toggle-read-only, vc-record-rename and vc-merge-news.
4605 (vc-loadup): If neither backend nor default functions exist, use
4606 the backend function rather than nil.
4607 (vc-call-backend): If the function if not bound yet, try to load
4608 the non-hook file to see if it provides it.
4609 (vc-call): New macro plus use it wherever possible.
4610 (vc-backend-subdirectory-name): Use neither `vc-default-back-end'
4611 nor `vc-find-binary' since it's only called from
4612 vc-mistrust-permission which is only used once the backend is known.
4613 (vc-checkout-model): Fix parenthesis.
4614 (vc-recompute-state, vc-prefix-map): Move to vc.el.
4616 * vc-cvs.el: Require 'vc and 'vc-cvs-hooks (for compiler warnings).
4617 (vc-cvs-release, vc-cvs-system-release): Remove.
4618 (vc-cvs-use-edit, vc-cvs-simple-toggle): New config variables.
4619 (vc-cvs-dired-state-info): Use `cvs-state' and slightly different
4621 (vc-cvs-parse-status, vc-cvs-state): Move from vc-cvs-hooks.el.
4622 (vc-cvs-toggle-read-only): First cut at a function to allow a
4623 cvs-status-free vc-toggle-read-only.
4624 (vc-cvs-merge-news): Move from cvs-merge-news in vc.el.
4625 (vc-cvs-checkin): Use vc-recompute-state+vc-state instead of
4626 vc-cvs-status. Also set vc-state rather than vc-locking-user.
4627 (vc-cvs-checkout): Modify access rights directly if the user
4628 requested not to use `cvs edit'. And refresh the mode line.
4630 * vc-cvs-hooks.el: Provide 'vc-cvs-hooks.
4631 (vc-cvs-state, vc-cvs-parse-status): Move to vc-cvs.el.
4633 2000-09-04 Stefan Monnier <monnier@cs.yale.edu>
4635 * vc-cvs.el (vc-cvs-checkout): Docstring fix. Added a `(if
4636 workfile' that got lost when the code was extracted from vc.el.
4637 And merged the tail with the rest of the code (not possible in the
4638 old vc.el where the tail was shared among all backends). And
4639 explicitly set the state to 'edited if `writable' is set.
4641 * vc-cvs-hooks.el (vc-cvs-registered): Use expand-file-name.
4642 (vc-cvs-state): Be careful to return the value from
4644 (vc-cvs-parse-status): Use expand-file-name. Don't set 'vc-state
4645 property but return it instead. Also be careful to handle a nil
4646 or "" `rev' when workfile is non-nil (it was handled properly when
4649 * vc.el: Removed those pesky unnecessary `(function' quotes.
4650 (vc-annotate-mode-map, vc-annotate-mode-syntax-table): Initialize
4651 directly in the defvar.
4652 (vc-do-command): Bind inhibit-read-only so as to properly handle
4653 the case where the destination buffer has been made read-only.
4654 (vc-diff): Delegate to vc-version-diff in all cases.
4655 (vc-version-diff): Setup the *vc-diff* buffer as was done in vc-diff.
4656 (vc-annotate-mode-variables): Removed (code moved partly to
4657 defvars and partly to vc-annotate-add-menu).
4658 (vc-annotate-mode): Turned into a derived-mode.
4659 (vc-annotate-add-menu): Moved in code in
4660 vc-annotate-mode-variables.
4661 (vc-update-change-log): Use make-temp-file if available.
4663 2000-09-04 Martin Lorentzson <martinl@delysid.gnu.org>
4665 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): References to
4666 `vc-checkout-model' updated to `vc-cvs-update-model'.
4668 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4670 * vc.el (vc-next-action-on-file): Added handling of state
4672 (vc-checkout-carefully): Is now practically obsolete, unless the
4673 above is too slow to be enabled unconditionally.
4674 (vc-update-change-log): Fixed typo.
4676 * vc-sccs.el (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
4678 * vc-sccs-hooks.el (vc-sccs-state): Somewhat rewritten.
4679 Now handles state `unlocked-changes'.
4680 (vc-sccs-workfile-unchanged-p): New function, to support the above.
4682 * vc-rcs.el (vc-rcs-steal-lock): Renamed from `vc-rcs-steal'.
4684 * vc-rcs-hooks.el (vc-rcs-state): Fixed typo.
4685 (vc-rcs-fetch-master-state): Bug fixes. Recognize state
4687 (vc-rcs-workfile-unchanged-p): Renamed from
4688 `vc-rcs-workfile-unchanged'. This is not a real backend-specific
4689 function yet, but supposed to become one soon.
4691 * vc-hooks.el (vc-backend-functions): Renamed `vc-steal' to
4693 (vc-call-backend): Changed error message.
4694 (vc-state): Added description of state `unlocked-changes'.
4696 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4698 * vc-cvs-hooks.el (vc-cvs-registered): Fixed bug that caused it to
4699 always return t in CVS-controlled directories.
4701 * vc.el (vc-responsible-backend): New function.
4702 (vc-register): Largely rewritten.
4703 (vc-admin): Removed (implementation moved into vc-register).
4704 (vc-checkin): Redocumented.
4705 (vc-finish-logentry): If no backend defined yet (because we are in
4706 the process of registering), use the responsible backend.
4708 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
4709 Updated function lists.
4710 (vc-call-backend): Fixed typo.
4712 * vc-sccs.el, vc-rcs.el, vc-cvs.el (vc-BACKEND-responsible-p):
4714 (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.
4715 Removed query option. Redocumented.
4717 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4719 * vc-rcs.el, vc-cvs.el: Updated everything to use `vc-checkout-model'.
4721 * vc.el: Updated callers of `vc-checkout-required' to use
4722 `vc-checkout-model'.
4724 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4726 * vc-rcs.el (vc-rcs-backend-release-p): function added. other
4727 stuff updated to reference this function instead of the old
4728 `vc-backend-release-p'.
4730 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4732 * vc-sccs-hooks.el (vc-uses-locking): Renamed to
4733 vc-checkout-model. Return appropriate values. Updated callers.
4735 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4737 * vc.el (vc-backend-release, vc-backend-release-p): Moved to vc-rcs.el.
4738 (vc-backend-revert): Function moved into `vc-revert';
4739 `vc-next-action' must be updated to accomodate this change.
4740 (vc-backend-steal): Function moved into `vc-finish-steal'.
4741 (vc-backend-logentry-check): Function moved into
4742 `vc-finish-logentry'.
4743 (vc-backend-printlog): Function moved into `vc-print-log'.
4744 (vc-backend-uncheck): Function moved into `vc-cancel-version'.
4745 (vc-backend-assign-name): Function moved into
4746 `vc-create-snapshot'.
4748 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4750 * vc-rcs-hooks.el, vc-cvs-hooks.el (vc-uses-locking):
4751 Rename to vc-checkout-model. Return appropriate values.
4754 * vc-hooks.el (vc-backend-hook-functions): Rename vc-uses-locking
4755 to vc-checkout-model.
4756 (vc-checkout-required): Rename to vc-checkout-model.
4757 Re-implement and re-comment.
4758 (vc-after-save): Use vc-checkout-model.
4760 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4762 * vc.el (vc-workfile-unchanged-p,vc-diff,vc-version-diff):
4763 Update to use the vc-BACKEND-diff functions instead.
4764 `vc-diff' is now working.
4766 * vc-rcs.el (vc-rcs-logentry-check): New function.
4768 * vc-cvs.el (vc-cvs-logentry-check): New function.
4770 * vc-sccs.el (vc-sccs-diff): Function changed name from
4771 `vc-backend-diff'. This makes `vc-diff' work.
4773 * vc-hooks.el (vc-backend-functions): Add `vc-diff' to the list
4774 of functions possibly implemented in a vc-BACKEND library.
4775 (vc-checkout-required): Fix bug that caused an error to be
4776 signaled during `vc-after-save'.
4779 This checkin is made with our new VC code base for the very first time.
4780 A simple `(vc-checkin (buffer-file-name))' was used to perform it.
4782 * vc-cvs.el (vc-cvs-revert,vc-cvs-checkout): Function calls to
4783 `vc-checkout-required' updated to `vc-cvs-uses-locking'.
4785 * vc-hooks.el (vc-backend-hook-functions): `vc-checkout-required'
4786 updated to `vc-uses-locking'.
4787 (vc-checkout-required): Call to backend function.
4788 `vc-checkout-required' updated to `vc-uses-locking' instead.
4790 * vc-rcs-hooks.el (vc-rcs-fetch-master-state): Function calls to
4791 `vc-checkout-required' updated to `vc-rcs-uses-locking'.
4793 * vc.el (vc-checkin): Merge with `vc-backend-checkin' and update
4794 to match the split into various backends.
4795 (vc-backend-checkin): Remove. Merge with `vc-checkin'.
4796 (vc-retrieve-snapshot): Bug fix.
4798 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4800 * vc-sccs.el (vc-sccs-release): Doc fix.
4802 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4804 * vc.el (vc-next-action-on-file): Bug found and fixed.
4805 (vc-checkout, vc-version-other-window, vc-retrieve-snapshot)
4806 (vc-cancel-version): Handle of vc-BACKEND-checkout updated.
4808 * vc-rcs.el (vc-rcs-checkin, vc-rcs-previous-version)
4809 (vc-rcs-checkout): Name space cleaned up. No more revision number
4810 crunching function names that are not prefixed with vc-rcs.
4811 (vc-rcs-checkout-model): Function added. References to
4812 `vc-checkout-model' replaced.
4814 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4816 * vc.el (vc-next-action-on-file): Rewritten for the new state model.
4817 (vc-backend-merge-news): Renamed to `vc-merge-news'. (Specific parts
4818 still need to be split, and implemented for RCS).
4820 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4822 * vc-sccs-hooks.el (vc-sccs-state-heuristic): Bug found and fixed.
4824 * vc-sccs.el (vc-sccs-admin): Added the query-only option as
4825 required by the vc.el file.
4827 * vc-rcs.el (vc-rcs-admin): Added the query-only option as
4828 required by the vc.el file.
4829 (vc-rcs-exists): Function added.
4831 * vc-cvs.el (vc-cvs-admin): Added the query-only option as
4832 required by the vc.el file.
4834 * vc.el (vc-admin): Updated to handle selection of appropriate
4835 backend. Current implementation is crufty and need re-thinking.
4837 * vc-hooks.el (vc-parse-buffer): Bug found and fixed.
4839 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4841 * vc-cvs.el (vc-cvs-annotate-difference): Updated to handle
4842 beginning of annotate buffers correctly.
4844 * vc.el (vc-annotate-get-backend, vc-annotate-display-default)
4845 (vc-annotate-add-menu, vc-annotate, vc-annotate-display): Annotate
4846 functionality updated quite a lot to support multiple backends.
4847 Variables `vc-annotate-mode', `vc-annotate-buffers',
4848 `vc-annotate-backend' added.
4850 * vc-hooks.el (vc-backend-functions): `vc-annotate-command',
4851 `vc-annotate-difference' added to supported backend functions.
4853 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4855 * vc-rcs.el, vc-sccs.el, vc-cvs.el (vc-*-checkout):
4856 Use with-temp-file instead of /bin/sh. Merged from mainline
4858 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4860 * vc-sccs-hooks.el (vc-sccs-registered): Updated.
4862 * vc-rcs-hooks.el (vc-rcs-registered): Updated.
4864 * vc-cvs-hooks.el (vc-cvs-registered): Updated.
4866 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4868 * vc-hooks.el: vc-state-heuristic added to
4869 vc-backend-hook-functions.
4871 * vc-sccs-hooks.el (vc-sccs-registered): Bug fix.
4873 * vc-rcs-hooks.el (vc-rcs-registered): Bug fix.
4875 * vc.el, vc-sccs-hooks.el, vc-rcs-hooks.el, vc-hooks.el: Rename
4876 `vc-uses-locking' to `vc-checkout-required'. Rename the `locked'
4877 state to `reserved'.
4879 * vc-cvs.el, vc-cvs-hooks.el: Rename `vc-uses-locking' to
4880 `vc-checkout-required'. Rename the `locked' state to `reserved'.
4882 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4884 * vc-rcs-hooks.el: Implement new state model. Hardly anything
4887 * vc-rcs.el (vc-rcs-latest-on-branch-p): Move to vc-rcs-hooks.el.
4889 * vc.el (vc-update-change-log): Use small-temporary-file-directory,
4890 if defined. (Merged from main line, slightly adapted.)
4892 * vc-cvs.el (vc-cvs-annotate-difference): Handle possible
4893 millenium problem (merged from mainline).
4895 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4897 * vc-cvs.el: Split the annotate feature into a BACKEND-specific
4898 part and moved the non-BACKEND stuff to vc.el.
4900 * vc.el: Split the annotate feature into a BACKEND specific part
4901 and moved it from the vc-cvs.el file to this one.
4903 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4905 * vc-hooks.el: Implement new state model.
4906 (vc-state, vc-state-heuristic, vc-default-state-heuristic): New funs.
4907 (vc-locking-user): Simplify. Now only needed if the file is
4908 locked by somebody else.
4909 (vc-lock-from-permissions): Remove. Functionality is in
4910 vc-sccs-hooks.el and vc-rcs-hooks.el now.
4911 (vc-mode-line-string): New name for former vc-status. Adapted.
4912 (vc-mode-line): Adapt to use the above. Remove optional parameter.
4914 * vc-cvs-hooks.el (vc-cvs-state, vc-cvs-state-heuristic): New funs.
4915 Various simplifications and adaptations all over the place.
4917 * vc-sccs-hooks.el (vc-sccs-state, vc-sccs-state-heuristic): New funs.
4918 Simplify and adapt the rest.
4920 * vc.el (vc-resynch-window): Add TODO comment: check for
4921 interaction with view mode according to recent RCS change.
4922 (vc-backend-merge-news): Merge "CMUP" patch from mainline.
4924 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4926 * vc.el: Convert the remaining function comments to docstrings.
4928 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4930 * vc.el (vc-backend-release, vc-release-greater-or-equal)
4931 (vc-backend-release-p, vc-trunk-p, vc-branch-p, vc-branch-part)
4932 (vc-minor-part, vc-previous-version): Functions that operate and
4933 compare revision numbers got proper documentation. Comments added
4934 about their possible removal.
4936 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4938 * vc.el (vc-latest-on-branch-p): Function removed and replaced in
4939 the vc-backend.el files.
4941 * vc-sccs.el (vc-sccs-latest-on-branch-p): Function added.
4943 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-trunk-p)
4944 (vc-rcs-branch-p, vc-rcs-branch-part, vc-rcs-minor-part)
4945 (vc-rcs-previous-version): Functions added.
4947 * vc-cvs.el (vc-cvs-latest-on-branch-p): Function added.
4949 * vc-rcs-hooks.el (vc-rcs-master-templates): Extra `)' removed.
4951 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
4953 * vc-hooks.el (vc-master-templates): Is really obsolete.
4954 Comment out the definition for now. What is the right procedure
4956 (vc-registered, vc-backend, vc-buffer-backend, vc-name): Largely
4958 (vc-default-registered): Remove.
4959 (vc-check-master-templates): New function; does mostly what the
4961 (vc-locking-user): Don't rely on the backend to set the property.
4963 * vc-rcs-hooks.el (vc-rcs-master-templates): Use simpler values.
4964 Rewrite documentation.
4965 (vc-rcs-templates-grabbed): New variable.
4966 (vc-rcs-grab-templates): New function.
4967 (vc-rcs-registered): Rewrite to use above mechanism.
4969 * vc-sccs-hooks.el (vc-sccs-master-templates): Use simpler values.
4970 Rewrite documentation.
4971 (vc-sccs-templates-grabbed): New variable.
4972 (vc-sccs-grab-templates): New function.
4973 (vc-sccs-registered): Rewrite to use above mechanism.
4974 (vc-sccs-search-project-dir): Rename from vc-search-sccs-project-dir.
4975 Don't throw the result, simply return it.
4977 * vc-cvs-hooks.el (vc-cvs-master-templates): Remove.
4978 (vc-cvs-find-master): Remove. Code is now in vc-cvs-registered.
4979 (vc-cvs-registered): Does the check itself now. Simplify.
4981 * vc-cvs.el (vc-cvs-revert): Merge and adapt "unedit" patch
4984 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4986 * vc-cvs.el (vc-cvs-diff): New function.
4988 * vc-sccs.el (vc-sccs-diff): New function.
4990 * vc-rcs.el (vc-rcs-diff): New function.
4991 (vc-rcs-checkout): Bug (typo) found and fixed.
4992 (vc-rcs-register-switches): New variable.
4994 * vc.el (vc-backend-diff): Function removed and placed in the
4997 2000-09-04 Martin Lorentzson <martinl@gnu.org>
4999 * vc-cvs.el (vc-cvs-checkout): Function `vc-cvs-checkout' added.
5001 * vc.el (vc-backend-checkout): Function removed and replaced in
5002 the vc-backend.el files.
5004 * vc-sccs.el (vc-sccs-checkout): Added function `vc-sccs-checkout'.
5006 * vc.el (vc-backend-admin): Removed and replaced in the
5007 vc-backend.el files.
5009 * vc.el (Martin): Removed all the annotate functionality since it
5010 is CVS backend specific.
5012 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5014 * spec.txt: Added specification of vc-state.
5016 * vc-sccs-hooks.el (vc-sccs-master-properties):
5017 Remove handling of vc-latest-version and
5018 vc-your-latest-version. What used to be vc-latest-version, is now
5019 returned as vc-workfile-version.
5020 (vc-sccs-workfile-version): Adapt.
5022 2000-09-04 Dave Love <fx@gnu.org>
5024 * vc.el: [Merged from mainline.]
5025 (vc-dired-mode): Make the dired-move-to-filename-regexp
5026 regexp match the date, to avoid treating date as file size.
5027 Add YYYY S option to WESTERN/
5029 2000-09-04 Dave Love <fx@gnu.org>
5031 * vc.el: Require `compile' when compiling.
5032 (vc-logentry-check-hook): New option.
5033 (vc-steal-lock): Use compose-mail.
5034 (vc-dired-mode-map): Defvar when compiling.
5035 (vc-add-triple, vc-record-rename, vc-lookup-triple): Moved to
5036 vc-sccs.el and renamed. Callers changed.
5037 (vc-backend-checkout, vc-backend-logentry-check)
5038 (vc-backend-merge-news): Doc fix.
5039 (vc-default-logentry-check): New function.
5040 (vc-backend-checkin, vc-backend-revert, vc-backend-steal)
5041 (vc-backend-uncheck, vc-backend-print-log, vc-backend-assign-name)
5042 (vc-backend-merge): Doc fix. Use backend functions.
5043 (vc-check-headers): Use backend functions.
5045 * vc-cvs.el: Require vc when compiling.
5046 (vc-cvs-register-switches): Doc fix.
5047 (vc-annotate-color-map, vc-annotate-menu-elements): Fix custom type.
5048 (vc-cvs-print-log, vc-cvs-assign-name, vc-cvs-merge)
5049 (vc-cvs-check-headers, vc-cvs-steal, vc-cvs-revert, vc-cvs-checkin):
5050 New functions (code from vc.el).
5051 (vc-annotate-display-default): Fix interactive spec.
5052 (vc-annotate-time-span): Doc fix.
5054 * vc-rcs.el: Require vc when compiling.
5055 (vc-rcs-print-log, vc-rcs-assign-name, vc-rcs-merge)
5056 (vc-rcs-check-headers, vc-rcs-steal, vc-rcs-uncheck, vc-rcs-revert)
5057 (vc-rcs-checkin): New functions (code from vc.el).
5058 (vc-rcs-previous-version, vc-rcs-system-release, vc-rcs-checkout):
5060 (vc-rcs-release): Deleted. (Duplicated vc-rcs-system-release).
5062 * vc-sccs.el: Require vc when compiling.
5063 (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
5064 (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
5066 (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
5068 (vc-sccs-add-triple, vc-sccs-record-rename)
5069 (vc-sccs-lookup-triple): Moved from vc.el and renamed.
5070 (vc-sccs-admin): Doc fix.
5072 2000-09-04 Martin Lorentzson <martinl@gnu.org>
5074 * vc-rcs.el (vc-rcs-trunk-p, vc-rcs-branch-p, vc-rcs-branch-part)
5075 (vc-rcs-minor-part, vc-rcs-previous-version, vc-rcs-release)
5076 (vc-rcs-release-p, vc-rcs-admin, vc-rcs-checkout): New functions
5079 * vc-sccs.el (vc-admin-sccs): Added from vc.el
5081 * vc-cvs.el: Moved the annotate functionality from vc.el.
5082 (vc-cvs-admin, vc-cvs-fetch-status): Added from vc.el.
5084 2000-09-04 Dave Love <fx@gnu.org>
5086 * vc.el (vc-backend-release): Call vc-system-release.
5088 * vc-sccs.el (vc-sccs-system-release):
5089 Renamed from vc-sccs-backend-release.
5091 * vc-rcs.el (vc-rcs-system-release):
5092 Renamed from vc-rcs-backend-release.
5094 * vc-cvs.el (vc-cvs-system-release):
5095 Renamed from vc-cvs-backend-release.
5097 2000-09-04 Dave Love <fx@gnu.org>
5099 * vc.el (vc-rcs-release, vc-cvs-release, vc-sccs-release): Moved to
5101 (vc-backend-release): Dispatch to backend functions.
5102 (vc-backend-release-p): Don't mention CVS, RCS. [The SCCS case
5103 probably needs attention.]
5105 * vc-sccs.el, vc-rcs.el (vc-sccs-release): Moved from vc.el.
5106 (vc-sccs-backend-release): New function.
5108 * vc-cvs.el (vc-cvs-release): Moved from vc.el.
5109 (vc-cvs-backend-release): New function.
5111 * vc.el (vc-dired-mode, vc-dired-reformat-line, vc-dired-purge):
5113 (vc-fetch-cvs-status): Moved to vc-cvs.el and renamed.
5114 (vc-default-dired-state-info): New function.
5115 (vc-dired-state-info): Dispatch to backends.
5116 (vc-dired-hook): Doc fix. Simplify, pending removal of CVS specifics.
5118 * vc-cvs.el (vc-cvs-dired-state-info, vc-cvs-fetch-status): Moved
5119 from vc.el and renamed.
5121 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5123 * vc.el (vc-file-clear-masterprops, vc-latest-on-branch-p)
5124 (vc-version-other-window, vc-backend-assign-name): Removed
5125 references to vc-latest-version; sometimes changed into
5126 vc-workfile-version.
5128 * vc-rcs-hooks.el (vc-master-workfile-version): Renamed to
5129 vc-rcs-master-workfile-version.
5130 (vc-rcs-workfile-version): Use the above. Don't call
5131 vc-latest-version (that was unreachable code, anyway).
5132 (vc-rcs-fetch-master-properties): Doc fix.
5134 * vc-hooks.el (vc-latest-version, vc-your-latest-version): Removed.
5135 (vc-backend-hook-functions): Removed them from this list, too.
5136 (vc-fetch-properties): Removed.
5137 (vc-workfile-version): Doc fix.
5139 * vc-rcs-hooks.el (vc-rcs-consult-headers): New function.
5140 (vc-rcs-workfile-version, vc-rcs-locking-user)
5141 (vc-rcs-uses-locking): Use it.
5143 * vc-hooks.el (vc-consult-rcs-headers):
5144 Moved into vc-rcs-hooks.el, under the name
5145 vc-rcs-consult-headers.
5147 * vc-cvs-hooks.el (vc-cvs-workfile-version): Don't consult RCS
5149 (vc-cvs-find-master): Use this name only; correct different
5150 versions of the name.
5152 * vc-sccs-hooks.el (vc-sccs-master-locks, vc-sccs-master-locking-user):
5154 (vc-sccs-locking-user): Use the latter.
5156 * vc-rcs-hooks.el (vc-rcs-master-locks, vc-rcs-master-locking-user):
5159 * vc-hooks.el (vc-master-locks, vc-master-locking-user):
5161 vc-rcs-hooks.el and vc-sccs-hooks.el. These properties and access
5162 functions are implementation details of those two backends.
5164 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5166 * vc-rcs-hooks.el (vc-rcs-fetch-master-properties)
5167 (vc-rcs-parse-locks): RCS-specific code moved here from vc-hooks.
5169 * vc-sccs-hooks.el (vc-sccs-fetch-master-properties)
5170 (vc-sccs-parse-locks): SCCS-specific code moved here from
5173 * vc-cvs-hooks.el (vc-cvs-fetch-master-properties): CVS-specific
5174 code moved here from vc-hooks.
5176 * vc-hooks.el (vc-parse-locks, vc-fetch-master-properties): Split
5177 into back-end specific parts and removed. Callers not updated
5178 yet; because I guess these callers will disappear into back-end
5179 specific files anyway.
5181 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5183 * vc.el (with-vc-file, vc-next-action-on-file, vc-merge)
5184 (vc-backend-checkout): Changed calls to `vc-checkout-model' to
5187 * vc-hooks.el (vc-checkout-model): Renamed to vc-uses-locking.
5188 Store yes/no in the property, and return t/nil. Updated all
5191 * vc-sccs-hooks.el (vc-sccs-checkout-model): Renamed to
5192 vc-sccs-uses-locking. Don't set property.
5193 (vc-sccs-locking-user): Don't set property.
5195 * vc-cvs-hooks.el (vc-cvs-checkout-model): Renamed to
5196 vc-cvs-uses-locking. Don't set property here; leave that to
5198 (vc-cvs-locking-user): Reflect above change. Streamlined.
5200 * vc-rcs-hooks.el (vc-rcs-checkout-model): Renamed to
5201 vc-rcs-uses-locking.
5202 (vc-rcs-locking-user): Reflect above change.
5204 2000-09-04 Dave Love <fx@gnu.org>
5206 * vc-sccs-hooks.el (vc-sccs-checkout-model): New function.
5208 * vc-rcs-hooks.el (vc-rcs-checkout-model): New function.
5210 * vc-hooks.el (vc-checkout-model): Punt to backends.
5212 * vc-cvs-hooks.el (vc-cvs-checkout-model): New function.
5214 * vc.el (vc-fetch-cvs-status): Use renamed vc-cvs-parse-status.
5216 * vc-rcs-hooks.el (vc-rcs-workfile-version, vc-rcs-locking-user):
5219 * vc-sccs-hooks.el (vc-sccs-workfile-version, vc-sccs-locking-user):
5222 * vc-cvs-hooks.el (vc-handle-cvs): Doc fix.
5223 (vc-cvs-workfile-version, vc-cvs-locking-user): New functions.
5225 * vc-hooks.el (vc-default-locking-user): New function.
5226 (vc-locking-user, vc-workfile-version): Punt to backends.
5228 2000-09-04 Dave Love <fx@gnu.org>
5230 * vc-hooks.el (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff)
5231 (vc-master-workfile-version): Moved from vc-hooks.
5233 * vc-rcs-hooks.el: Fix duplicate code in last change.
5235 * vc-rcs-hooks.el: Require vc-hooks when compiling.
5236 (vc-rcs-master-templates): Improve :type.
5237 (vc-rcsdiff-knows-brief, vc-rcs-lock-from-diff,
5238 vc-master-workfile-version): Moved from vc-hooks.
5240 * vc-sccs-hooks.el: Require vc-hooks when compiling.
5241 (vc-sccs-master-templates): Improve :type.
5242 (vc-sccs-lock-file): Moved/renamed from vc-hooks.el vc-lock-file.
5244 * vc-hooks.el (vc-lock-file): Moved to vc-sccs-hooks and renamed.
5246 * vc-cvs-hooks.el: Require vc-hooks when compiling.
5247 (vc-cvs-master-templates): Improve :type. Use
5248 vc-cvs-find-cvs-master.
5249 (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status): Moved here
5251 (vc-vc-find-cvs-master): Renamed to vc-cvs-find-cvs-master.
5253 * vc-hooks.el (vc-handle-cvs, vc-cvs-parse-status, vc-cvs-status):
5254 Moved to vc-cvs-hooks.
5256 * vc-hooks.el: Add doc strings in various places. Simplify the
5258 (vc-handled-backends): New user variable.
5259 (vc-parse-buffer, vc-insert-file, vc-default-registered): Minor
5262 2000-09-04 Dave Love <fx@gnu.org>
5264 * vc.el: Some doc fixes for autoloaded and interactive functions.
5265 Fix compilation warnings from ediff stuff.
5266 (vc-rcs-release, vc-cvs-release, vc-sccs-release): Custom fix.
5268 * vc-sccs-hooks.el (vc-sccs-master-templates): Add :version.
5270 * vc-cvs-hooks.el (vc-cvs-master-templates): Add :version.
5272 * vc-rcs-hooks.el (vc-rcs-master-templates): Add :version.
5274 2000-09-04 Dave Love <fx@gnu.org>
5276 * vc-hooks.el (vc-backend-hook-functions, vc-backend-functions):
5278 (vc-make-backend-function, vc-loadup, vc-call-backend)
5279 (vc-backend-defines): New functions.
5281 * vc-hooks.el: Various doc fixes.
5282 (vc-default-back-end, vc-follow-symlinks): Custom fix.
5283 (vc-match-substring): Function removed. Callers changed to use
5285 (vc-lock-file, vc-consult-rcs-headers, vc-kill-buffer-hook):
5288 2000-09-04 Dave Love <fx@gnu.org>
5290 * vc-sccs-hooks.el (vc-sccs-master-templates): Fix doc, custom
5292 (vc-sccs-project-dir, vc-search-sccs-project-dir)
5293 (vc-sccs-registered): Doc fix.
5295 * vc-cvs-hooks.el (vc-cvs-master-templates): Fix doc, custom type.
5296 (vc-cvs-registered): Doc fix.
5298 * vc-rcs-hooks.el (vc-rcs-master-templates): Fix doc, custom type.
5299 (vc-rcs-registered): Doc fix.
5301 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5303 * vc-rcs-hooks.el, vc-cvs-hooks.el, vc-sccs-hooks.el: New file.
5305 * vc-hooks.el: vc-registered has been renamed
5306 vc-default-registered. Some functions have been moved to the
5307 backend specific files. they all support the
5308 vc-BACKEND-registered functions.
5310 2000-09-04 Andre Spiegel <spiegel@inf.fu-berlin.de>
5312 * vc-hooks.el: This is 1998-11-11T18:47:32Z!kwzh@gnu.org from the emacs sources
5314 * vc.el: This is 1999-03-13T05:04:24Z!kwzh@gnu.org from the emacs sources
5316 2000-09-04 Dave Love <fx@gnu.org>
5318 * mouse.el (mouse-major-mode-menu, mouse-popup-menubar): Run
5319 menu-bar-update-hook.
5321 * help.el (help-manyarg-func-alist): Add
5322 find-operation-coding-system.
5324 * wid-edit.el (widget-sexp-validate): Fix garbled code.
5326 * custom.el (custom-set-variables): Print message about errors in
5329 2000-09-03 Andrew Innes <andrewi@gnu.org>
5331 * makefile.w32-in: Change to DOS line endings.
5333 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5335 * mouse.el (mouse-popup-menubar): Supply the prompt string for
5336 minor-mode keymaps, if they don't have one.
5338 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5340 * eshell/esh-module.el (eval-when-compile): Don't lose if
5341 esh-module.el's file name is truncated to DOS 8+3 limits.
5343 2000-09-01 John Wiegley <johnw@gnu.org>
5345 * pcomplete.el (pcomplete-dirs-or-entries): Added a missing
5346 predicate, which caused entries in the completion list to be
5349 2000-08-30 John Wiegley <johnw@gnu.org>
5351 * eshell/esh-mode.el (eshell-mode): Bound C-c M-d to toggle direct
5352 sending to subprocesses. Also, hook pre-command-hook if
5353 `eshell-send-direct-to-subprocesses' is non-nil.
5354 (eshell-send-direct-to-subprocesses): New config variable. If t,
5355 subprocess input is send immediately.
5356 (eshell-toggle-direct-send): New function.
5357 (eshell-self-insert-command): New function.
5358 (eshell-intercept-commands): New function.
5359 (eshell-send-input): If direct subprocess sending is enabled,
5360 don't echo any input to the Eshell buffer. Let the subprocess
5361 handle that. This requires "stty echo" in bash, for example.
5363 2000-08-28 John Wiegley <johnw@gnu.org>
5365 * eshell/esh-var.el (pcomplete/eshell-mode/unset): Added
5366 completion function for Eshell's implementation of `unset'.
5368 2000-09-02 Eli Zaretskii <eliz@is.elta.co.il>
5370 * info.el (Info-directory-list): Doc fix.
5372 2000-08-31 Peter Breton <pbreton@ne.mediaone.net>
5374 * filecache.el (file-cache-add-directory-using-find): Don't quote
5375 wildcards on MS-DOS. Suggested by Eli Zaretskii <eliz@is.elta.co.il>.
5377 2000-08-31 Kenichi Handa <handa@etl.go.jp>
5379 * help.el (help-make-xrefs): Don't make hyperlinks for incorrect
5382 2000-08-30 Andrew Innes <andrewi@gnu.org>
5384 * timer.el (run-with-idle-timer): Undo last change, so that timer
5385 is not activated immediately if Emacs is already idle. Some
5386 existing code relies on this behaviour.
5388 2000-08-30 Miles Bader <miles@gnu.org>
5390 * frame.el (set-frame-font): Do completion of font-name for
5393 2000-08-30 Kenichi Handa <handa@etl.go.jp>
5395 * international/quail.el (quail-start-translation): Bind locally
5396 last-command-event, last-command, and this-command.
5397 (quail-start-conversion): Likewise.
5398 (quail-self-insert-command): Fix docstring.
5400 2000-08-29 Gerd Moellmann <gerd@gnu.org>
5402 * progmodes/executable.el
5403 (executable-make-buffer-file-executable-if-script-p): Check that
5404 buffer contains at least 2 characters.
5406 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
5408 * help.el (help-make-xrefs, help-xref-mule-regexp): Doc fix.
5410 2000-08-29 Dave Love <fx@gnu.org>
5412 * diff-mode.el (diff-mode) <defgroup>: Add :version.
5413 (diff-mode-shared-map): Bind mouse-2.
5414 (diff-imenu-generic-expression): New variable.
5415 (diff-mode): Use it.
5417 * mouse.el (mouse-major-mode-menu): Use local-key-binding.
5418 (mouse-popup-menubar): Add minor mode menus.
5419 (popup-menu): Check for lookup-key returning number.
5421 2000-08-29 Miles Bader <miles@gnu.org>
5423 * comint.el (comint-send-input): Create overlays using the proper
5424 front/read-advance arguments.
5426 2000-08-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
5428 * ps-print.el: Even/odd pages printing. Doc fix.
5429 (ps-print-version): New version number (6.0).
5430 (ps-setup, ps-print-page-p, ps-background-text, ps-background-image)
5431 (ps-background, ps-begin-file, ps-begin-job): Code fix.
5432 (ps-print-duplex-feature): Variable eliminated.
5433 (ps-even-or-odd-pages): New variable.
5435 * progmodes/ebnf2ps.el: Doc fix.
5436 (ebnf-version): New version (3.3).
5437 (ebnf-user-arrow): Change variable customization to sexp.
5438 (ebnf-user-arrow): Function eliminated.
5439 (ebnf-eps-finish-and-write, ebnf-insert-ebnf-prologue): Code fix.
5441 2000-08-29 Kenichi Handa <handa@etl.go.jp>
5443 * help.el (help-xref-mule-regexp): New variable.
5444 (help-make-xrefs): Handle help-xref-mule-regexp.
5446 * international/mule-cmds.el (help-xref-mule-regexp-template): New
5448 (describe-input-method): Temporarily activate the specfied input
5449 method to display the information.
5450 (describe-language-environment): Hyperlinks to mule related items.
5452 * international/mule-diag.el (charset-multibyte-form-string): New
5454 (list-character-sets-1): Use charset-multibyte-form-string.
5455 (describe-character-set): New function.
5456 (describe-coding-system): Hyperlinks to safe character sets.
5458 * international/quail.el (quail-help): New arg PACKAGE.
5459 Hyperlinks to mule related items.
5460 (quail-help-insert-keymap-description): Use
5461 substitute-command-keys instead of describe-bindings.
5462 (quail-translation-help): Hyperlinks to mule related items.
5464 2000-08-28 John Wiegley <johnw@gnu.org>
5466 * eshell/esh-util.el (eshell-flatten-list): It's not too wise to
5467 have a defsubst call itself. Made `eshell-flatten-list' back into
5470 * eshell/em-smart.el (eshell-smart-redisplay): Added a safety
5471 catch, in case re-centering point at bottom messes up the display.
5472 This happens frequently in Emacs 21, due I believe to variable
5475 * eshell/esh-mode.el (eshell-find-tag): Require `etags', in order
5476 to call `find-tag-interactive'.
5478 * eshell/em-dirs.el (eshell/cd): Use buffered printing to display
5479 the list of remember directories.
5481 2000-08-28 John Wiegley <johnw@gnu.org>
5483 * align.el: Test align-region-separate to see if it's a symbol.
5485 2000-08-28 John Wiegley <johnw@gnu.org>
5487 * eshell/esh-util.el (eshell-flatten-list): Made this function
5488 into a defsubst form. It gets used very frequently, although
5489 calls don't occur all that often.
5491 * eshell/em-dirs.el (eshell/cd): Flatten the argument list before
5494 * eshell/esh-cmd.el (eshell-rewrite-while-command):
5495 (eshell-rewrite-for-command): Use `eshell-copy-handles' instead of
5497 (eshell-copy-handles): Created a new macro for duplicating the
5498 current set of open handles. This is needed by the looping
5500 (eshell-do-eval): Fixed while and if, so that the eshell-test-body
5501 is not incorrectly stomped on.
5503 * eshell/em-cmpl.el (eshell-cmpl-use-paring): Mirror
5504 declaration for pcomplete-use-paring.
5505 (eshell-cmpl-initialize): Set pcomplete-use-paring based on the
5506 value of eshell-cmpl-use-paring.
5507 * pcomplete.el (pcomplete-use-paring): New config variable, to
5508 indicate whether paring should be used.
5509 (pcomplete-do-complete): If pcomplete-use-paring is t, pare out
5510 completion alternatives that have already been used.
5512 * eshell/esh-mode.el (eshell-repeat-argument): Added function,
5513 bound to C-c C-y, which will repeat the previous N arguments
5514 (based on prefix argument).
5515 (eshell-mode): Bind C-c C-y to eshell-repeat-argument.
5517 * eshell/esh-cmd.el (eshell/which): Don't kill the *Help* buffer
5518 if there is no *Help* buffer. This is for XEmacs, which renames
5519 its help buffers uniquely. TODO: Find out what the current buffer
5522 * eshell/esh-util.el (eshell-read-passwd-file): Only keep the
5523 first entry that correlates to a passwd/group number. Later
5524 entries (used for group/user name aliasing to multiple IDs) are
5527 * eshell/em-xtra.el (eshell/expr):
5528 * eshell/em-unix.el (eshell/du, eshell/cat, eshell/make)
5529 (eshell-grep, eshell/diff, eshell/locate):
5530 * eshell/em-dirs.el (eshell-dirs-substitute-cd): Flatten the
5531 argument list, before passing it to the system command.
5533 * eshell/esh-mode.el (eshell-find-tag): Added a special version of
5534 `find-tag' for use at final position in Eshell buffers (which
5535 otherwise triggers an error on Emacs 21).
5536 (eshell-mode): Bind M-. to `eshell-find-tag' with the Eshell
5537 buffer, if it is currently bound to `find-tag'.
5539 * pcmpl-gnu.el (pcmpl-gnu-makefile-regexps): Include GNUmakefile
5540 in the list of matched Makefile names.
5541 (pcmpl-gnu-make-rule-names): If GNUmakefile exists in the current
5542 directory, prefer its contents to Makefile.
5544 * eshell/em-dirs.el (eshell/cd): cd commands that look up
5545 directory parts (like "cd old new", or "cd =regexp"), are now case
5546 sensitive on non-Windows/DOS platforms.
5548 * eshell/esh-mode.el (eshell-parse-command-input): When a user
5549 types RET after an open delimiter (like "), display a message
5550 indicating that Eshell is waiting for the closing delimiter.
5552 * eshell/esh-var.el (eshell/unset): Added a command for unsetting
5553 environment variables.
5555 * eshell/em-unix.el (eshell/diff): Added logic to fail more
5556 gracefully if the user enters incorrect arguments.
5558 * eshell/esh-mode.el (eshell-mode): Disable auto-fill-function in
5561 * eshell/esh-var.el (eshell-interpolate-variable):
5562 * eshell/esh-mode.el (eshell-move-argument):
5563 * eshell/em-unix.el (eshell-du-sum-directory):
5564 * eshell/em-rebind.el (eshell-delchar-or-maybe-eof):
5565 * eshell/em-ls.el (eshell-ls-decorated-name): Use /= instead of
5568 * eshell/em-unix.el (eshell-shuffle-files): Added use of `apply',
5569 to ensure the `preserve' flag gets propagated when doing recursive
5572 2000-08-28 Stefan Monnier <monnier@cs.yale.edu>
5574 * eshell/em-hist.el (eshell-put-history, eshell-get-history):
5575 Don't convert \n into \0177 in memory.
5576 (eshell-read-history, eshell-write-history): Convert \n to \0177,
5577 and back again, when reading and writing.
5579 2000-08-28 Eli Zaretskii <eliz@is.elta.co.il>
5581 * eshell/esh-util.el (eshell-processp): Added to relieve constant
5582 testing of `fboundp' on `processp'.
5584 * eshell/esh-proc.el (eshell/kill): Use eshell-processp.
5585 (eshell/jobs): Don't call process-list if it is not bound.
5586 (eshell-gather-process-output): Support systems where async
5587 subprocesses aren't supported.
5588 (eshell-scratch-buffer, eshell-last-sync-output-start): New
5591 * eshell/esh-cmd.el (eshell-resume-eval): Handle the case when
5592 eshell-do-eval returns t.
5593 (eshell-do-pipelines-synchronously): New defmacro.
5594 (eshell-execute-pipeline): Call it instead of eshell-do-pipelines
5595 when async subprocesses aren't supported.
5596 (eshell-do-eval): Use eshell-processp. Don't throw eshell-defer
5597 if async subprocesses aren't supported.
5598 (eshell-resume-command): Don't assume STATUS is a string.
5600 * eshell/em-unix.el (eshell/rm): Use eshell-processp.
5602 * eshell/esh-io.el (eshell-virtual-targets): Doc fix.
5603 (eshell-close-target, eshell-get-target): Use eshell-processp.
5604 (eshell-print, eshell-error, eshell-errorn, eshell-printn): Doc
5606 (eshell-get-target, eshell-create-handles): Doc fix.
5608 2000-08-28 Miles Bader <miles@lsi.nec.co.jp>
5610 * eshell/em-smart.el (eshell-smart-maybe-jump-to-end): Change the
5611 criterion to include commands that output something, as long as it
5612 leaves both the command and the end-of-buffer visible when the
5614 (eshell-review-quick-commands): Adjust the help doc string
5617 2000-08-28 Peter Breton <pbreton@ne.mediaone.net>
5619 * locate.el (locate): Cleaned up locate command's interactive prompting
5620 Thanks to Fran
\e,Ag
\e(Bois_Pinard <pinard@iro.umontreal.ca> for suggestions.
5622 * filecache.el (file-cache-case-fold-search): New variable
5623 (file-cache-assoc-function): New variable
5624 (file-cache-minibuffer-complete): Use file-cache-assoc-function.
5625 Use file-cache-case-fold-search variable
5626 (file-cache-add-file): Use file-cache-assoc-function
5627 (file-cache-delete-file): likewise
5628 (file-cache-directory-name): likewise
5629 (file-cache-debug-read-from-minibuffer): likewise
5631 2000-08-28 Gerd Moellmann <gerd@gnu.org>
5633 * abbrev.el (list-abbrevs): Add optional parameter LOCAL.
5634 (abbrev-table-name): New function.
5635 (prepare-abbrev-list-buffer): Add optional parameter LOCAL.
5636 If non-nil list local abbrev, only.
5638 2000-08-28 Stanislav Shalunov <shalunov@internet2.edu>
5640 * mail/uce.el (uce-reply-to-uce): Remove hard-coded "*Article*"
5641 from Gnus support code, and use special article copy buffer
5642 `(gnus-original-article-buffer)' instead. This allows to get rid
5643 of article-hide-headers usage (which breaks in the latest Gnus
5644 version). Thanks to Detlev Zundel.
5646 2000-08-28 Kenichi Handa <handa@etl.go.jp>
5648 * international/quail.el (quail-use-package): Hide "... loaded"
5650 (quail-start-translation, quail-start-conversion): Likewise.
5652 * international/kkc.el (kkc-region): Hide "... loaded" message.
5654 2000-08-27 Dave Love <fx@gnu.org>
5656 * emacs-lisp/bytecomp.el (mapc): Use byte-compile-funarg.
5658 2000-08-27 Miles Bader <miles@gnu.org>
5660 * faces.el (read-face-font, read-face-and-attribute): Tweak prompts.
5662 2000-08-27 Kenichi Handa <handa@etl.go.jp>
5664 * international/ja-dic-cnv.el (skkdic-convert): Insert (require
5665 'ja-dic-cnv), not (require 'skkdic-cnv).
5667 2000-08-26 Miles Bader <miles@gnu.org>
5669 * faces.el (face-x-resources): Add entry for :inherit.
5670 * cus-face.el (custom-face-attributes): Add support for :inherit
5671 attribute. Add support for relative face heights.
5672 (custom-face-attributes-get): Treat `nil' as being a default value
5673 for :inherit (as well as `unspecified').
5675 * faces.el (set-face-attribute): Update doc string.
5676 (face-attribute-name-alist): Add :inherit.
5677 (face-valid-attribute-values): Handle :inherit.
5678 (face-read-string): Rephrase prompt to be less confusing.
5679 Assume that DEFAULT is a string, since we must return a string.
5680 (face-read-integer): Use `format' to turn DEFAULT into an
5681 acceptable default for face-read-string. Match NEW-VALUE against
5682 the string "unspecified", not the symbol `unspecified', since
5683 that's what face-read-string returns.
5684 (read-face-attribute): Lookup a name for old-value in valid, and
5685 use it as a default if we find one. Treat all values from
5686 face-read-string as strings. If the default is used, don't do any
5687 more processing on the value, just use the old value directly.
5688 (read-face-and-attribute, modify-face): Tweak prompt.
5689 (read-face-name): Don't assume prompt ends with a space.
5691 * faces.el (describe-face): Add support for :inherit attribute.
5693 2000-08-25 Kenichi Handa <handa@etl.go.jp>
5695 * terminal.el (terminal-emulator): Fix args to `concat'. Now
5696 concat doesn't accept interger.
5698 * international/kkc.el: Remove SKK from Keywords. Require
5699 ja-dic-utl instead of skkdic-utl.
5701 * international/ja-dic-cnv.el: Renamed from skkdic-cnv.el.
5702 Provide ja-dic-cnv instead of skkdic-cnv.
5703 (ja-dic-filename): Renamed from skkdic-filename. Referers changed
5704 (iso-2022-7bit-short): Add safe-charsets property.
5705 (skkdic-convert-postfix): Search Japanese chou-on character in
5706 addition to Hiragana character.
5707 (skkdic-convert-prefix, skkdic-collect-okuri-nasi): Likewise.
5708 (skkdic-convert): Change file names from skkdic.el to ja-dic.el
5709 (batch-skkdic-convert): Likewise.
5711 * international/ja-dic-utl.el: Renamed from skkdic-utl.el.
5712 Provide ja-dic-utl instead of skkdic-utl.
5713 (skkdic-lookup-key): Load ja-dic/ja-dic, not skkdic/skkdic.
5715 2000-08-24 Dave Love <fx@gnu.org>
5717 * disp-table.el (standard-display-default): Make the test of `l'
5720 * language/european.el ("Latin-8", "Latin-9"): Add input methods,
5723 * international/iso-ascii.el: Make pilcrow convenient string
5724 consistent with section.
5725 (iso-ascii-display): Set up multibyte characters as well as
5728 2000-08-24 Kenichi Handa <handa@etl.go.jp>
5730 * international/mule-cmds.el (reset-language-environment): Set
5731 default-process-coding-system to '(undecided . iso-latin-1), which
5732 makes process I/O almost consistent with file I/O. Call this
5733 function when mule-cmds.el[c] is loaded.
5735 2000-08-22 Andrew Innes <andrewi@gnu.org>
5737 * makefile.w32-in: New file.
5739 2000-08-22 Miles Bader <miles@lsi.nec.co.jp>
5741 * comint.el (comint-output-filter): Compare end of
5742 comint-last-output-overlay with the start of the newly inserted
5743 text, not the end, when deciding whether to extend it.
5744 Set saved-point's insertion type to advance after insertion.
5746 * shell.el (shell-font-lock-keywords): Remove prompt highlighting,
5747 since this is now done independently of font-lock mode.
5749 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5751 * server.el (server-kill-new-buffers): New user option.
5752 (server-existing-buffer): New buffer-local variable.
5753 (server-visit-files): When using an existing buffer, set
5754 server-existing-buffer to t.
5755 (server-buffer-done): If server-kill-new-buffers is t, kill the
5756 buffer, unless it was already present before visiting it with
5759 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
5761 * man.el (Man-init-defvars): Don't reset Man-fontify-manpage-flag,
5762 even if the display doesn't support colors: some displays will
5763 support bold/underline faces.
5765 2000-08-21 Gerd Moellmann <gerd@gnu.org>
5767 * emacs-lisp/cl.el (cl-macroexpand): Doc fix.
5769 * startup.el (command-line): If user's init file had an error,
5770 add explanatory text to *Messages*.
5772 2000-08-21 Kenichi Handa <handa@etl.go.jp>
5774 * man.el (Man-getpage-in-background): Decode the process output by
5775 the system locale coding system.
5777 2000-08-20 Dave Love <fx@gnu.org>
5779 * wid-edit.el (widget-choose, widget-choice-mouse-down-action):
5780 Don't test x-popup-menu.
5781 (function) <complete-function>: Complete only fbound symbols.
5782 <validate, value>: New.
5783 (variable) <complete-function>: Complete only bound symbols.
5784 (coding-system): Add :base-only, :complete-function, :validate,
5785 :value, :prompt-match.
5786 (widget-coding-system-prompt-value): Use read-coding-system and
5788 (editable-field): Add :help-echo.
5789 (widget-push-button-gui, widget-push-button-cache)
5790 (widget-gui-action, widget-editable-list-gui): COmment out, along
5792 (widget-at): Make arg optional.
5793 (widget-echo-help): Adjust for current help-echo calling sequence.
5794 (widget-specify-field, widget-specify-button)
5795 (widget-specify-insert, widget-get-sibling, widget-image-find)
5796 (widget-convert, widget-insert, widget-leave-text)
5797 (widget-beginning-of-line, widget-end-of-line, widget-kill-line)
5798 (widget-setup, widget-field-find, widget-before-change)
5799 (widget-after-change, widget-default-complete)
5800 (widget-default-create, widget-default-delete)
5801 (widget-push-button-value-create, editable-field)
5802 (widget-field-prompt-value, widget-field-validate)
5803 (widget-choice-value-create, widget-choice-action)
5804 (widget-choice-validate, widget-checklist-add-item)
5805 (widget-radio-add-item, widget-radio-chosen)
5806 (widget-radio-value-inline, widget-editable-list-value-create)
5807 (widget-editable-list-entry-create)
5808 (widget-documentation-link-add)
5809 (widget-documentation-string-value-create)
5810 (widget-regexp-validate, widget-file-complete)
5811 (widget-sexp-validate, widget-plist-convert-widget)
5812 (widget-plist-convert-widget, widget-alist-convert-widget)
5813 (widget-alist-convert-widget, widget-color-complete): Simplify,
5814 particularly to avoid bindings which aren't optimized out.
5816 * emacs-lisp/lisp.el (defun-prompt-regexp, parens-require-spaces):
5818 (down-list, backward-up-list, up-list, kill-sexp)
5819 (backward-kill-sexp, mark-sexp): Make arg optional.
5820 (lisp-complete-symbol): Add optional arg PREDICATE.
5822 * cus-start.el: Add display-buffer-reuse-frames,
5823 file-coding-system-alist.
5825 2000-08-20 Gerd Moellmann <gerd@gnu.org>
5827 * startup.el (command-line): Clear realized faces after
5828 modifying TTY color mappings.
5830 2000-08-20 Miles Bader <miles@gnu.org>
5832 * faces.el (face-attr-match-p): Don't return true if ATTRS are
5833 merely a subset of FACE's attributes.
5835 2000-08-19 Miles Bader <miles@gnu.org>
5837 * comint.el (comint-output-filter): Save the point with a marker,
5838 not just a buffer position.
5840 * international/mule.el (set-buffer-process-coding-system): Make
5841 interactive prompt less confusing.
5843 2000-08-19 Gerd Moellmann <gerd@gnu.org>
5845 * hilit-chg.el: General cleanup of doc strings, comments and
5848 2000-08-19 Miles Bader <miles@gnu.org>
5850 * emacs-lisp/bytecomp.el (byte-compile-beginning-of-line):
5851 Compiler macro removed; beginning-of-line is no longer always
5852 equivalent to forward-line, in the presence of fields.
5854 * comint.el (comint-output-filter): Remove ad-hoc saving of
5855 restriction, and just use save-restriction, now that it works
5856 correctly. Don't adjust comint-last-input-start to account for
5857 our insertion; it shouldn't have moved because we don't use
5858 insert-before-markers anymore. Comment out call to
5859 `force-mode-line-update'; why is it here?
5861 * gud.el (gud-basic-call): Temporarily widen gud comint buffer
5862 while checking for prompt to delete. Use `forward-line 0'
5863 instead of beginning-of-line.
5864 (gud-filter): Temporarily widen gud comint buffer while
5867 2000-08-18 Stefan Monnier <monnier@cs.yale.edu>
5869 * progmodes/sh-script.el: Big bag of typos.
5871 * textmodes/ispell.el (ispell-menu-map-needed): Put back the boundp
5872 check since ispell-process is not bound when ispell is not yet loaded.
5874 2000-08-18 Dave Love <fx@gnu.org>
5876 * image.el (find-image): Copy `spec' before using plist-put.
5878 2000-08-18 Gerd Moellmann <gerd@gnu.org>
5880 * textmodes/ispell.el (ispell-dictionary-alist-6): Add
5883 * bindings.el (esc-map): Bind `C-delete' and `C-backspace' to
5884 backward-kill-sexp, analogous to kill-sexp.
5886 * progmodes/icon.el (icon-indent-line)
5887 (icon-is-continuation-line): Handle comments specially.
5889 2000-08-17 Ken Stevens <k.stevens@ieee.org>
5891 * ispell.el: Set to standard author/maintainer/keyword fields.
5892 Fine tuning to menu map appearance and operation, and added help.
5893 Remove `start' and `end' error messages when compiling.
5894 (ispell-choices-win-default-height): Fixed comment string.
5895 (ispell-dictionary-alist-1): Fixed regexp in castellano and
5896 castellano8 dictionaries.
5897 (ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
5898 (ispell-dictionary-alist-4): Fixed regexp in francais-tex
5899 dictionary, added italiano dictionary.
5900 (ispell-skip-region-alist): Removed regexp thrashing when `-' is a
5902 (ispell-tex-skip-alists): Added psfig support.
5903 (ispell-skip-html): Renamed from ispell-skip-sgml.
5904 (ispell-begin-skip-region-regexp, ispell-skip-region)
5905 (ispell-minor-check): Improved html skipping support to skip across
5906 code, and recognize `&' commands without propper `;' syntax;
5907 (ispell-process-line): Fix alignment error when manually
5908 correcting spelling.
5909 (ispell): Fix comment string.
5910 (ispell-add-per-file-word-list): Always put word list on new line.
5912 2000-08-17 Gerd Moellmann <gerd@gnu.org>
5914 * format.el (format-encode-run-method): Fix error message to say
5915 `encode' instead of `decode'. Use save-window-excursion around
5916 shell-command-on-region as in format-decode-run-method because
5917 shell-command-on-region can display a buffer with error output.
5918 (format-decode): Don't record undo information for the decoding.
5919 (format-annotate-function): Add parameter FORMAT-COUNT. Make
5920 that number part of the temporary buffer name so that more than
5921 one decoding using a temporary buffer can happen safely.
5923 * enriched.el (enriched-annotation-regexp): Use `A-Z' instead
5924 of `A-z' in the regexp.
5926 * hilit-chg.el: Fix typos in commentary.
5928 * help.el (view-emacs-news): Rewritten for new naming scheme
5931 * startup.el (command-line): Pop to *Messages* in case an error
5932 is signaled while loading user-init-file.
5934 2000-08-17 Andreas Schwab <schwab@suse.de>
5936 * files.el (insert-directory): Don't lose original file name,
5937 undoing an undocumented change.
5939 2000-08-17 Alex Schroeder <alex@gnu.org>
5941 * sql.el (sql-magic-go): Use comint-bol.
5942 (sql-copy-column): Use comint-line-beginning-position.
5943 (comint-line-beginning-position): Define a replacement for
5944 comint-line-beginning-position if it is not fboundp.
5946 2000-08-17 Alex Schroeder <alex@gnu.org>
5948 * sql.el (sql-mode-map): TAB is no longer defined in sql-mode-map;
5949 it didn't have any effect anyway.
5951 2000-08-17 Alex Schroeder <alex@gnu.org>
5953 * sql.el (sql-postgres): Jason Beegan's patch uses the parameters
5954 --pset and pager=off instead of sending \\o|cat at the beginning
5957 2000-08-17 Miles Bader <miles@gnu.org>
5959 * progmodes/octave-inf.el: Add compatibility definition of
5960 comint-line-beginning-position.
5962 2000-08-17 Kenichi Handa <handa@etl.go.jp>
5964 * startup.el (normal-top-level): Look in each dir in load-path for
5965 a leim-list.el file too. This assures of loading leim-list.el
5966 that is created at Emacs installation time even if a user have his
5969 2000-08-17 Miles Bader <miles@gnu.org>
5971 * hi-lock.el (hi-yellow, hi-pink, hi-green, hi-blue): Force the
5972 foreground color to black if the background is dark.
5974 2000-08-16 Stefan Monnier <monnier@cs.yale.edu>
5976 * loadhist.el (unload-feature): Typo.
5978 * finder.el (finder-compile-keywords):
5979 * cus-dep.el (custom-make-dependencies): Add local-variable settings
5980 to the generated file.
5982 * mail/mh-e.el (mh-make-local-vars):
5983 Replace make-variable-buffer-local with make-local-variable.
5986 * options.el (Edit-options-{set,toggle,t,nil}):
5987 * mail/mailabbrev.el (mail-abbrevs-mode):
5988 * textmodes/tex-mode.el (tex-expand-files):
5989 * textmodes/outline.el (outline-minor-mode): Don't quote lambda.
5991 * term/bg-mouse.el (bg-mouse-report): screen-height -> frame-height.
5993 * emacs-lisp/ewoc.el (ewoc-locate): Default POS to (point).
5994 (ewoc-goto-prev, ewoc-goto-next): Remove arg POS.
5995 Allow going past the last element.
5996 * pcvs.el (cvs-mode-previous-line, cvs-mode-next-line, cvs-mode-mark)
5997 (cvs-mode-unmark-up, cvs-get-marked): Update calls to ewoc.
5998 (cvs-mouse-toggle-mark): Don't move point.
5999 (cvs-revert-if-needed): Avoid re-eval of local variables and modes.
6001 * progmodes/compile.el (grep): Provide a default set of files.
6002 (next-error): Docstring fix.
6003 (compilation-find-file): Avoid find-file (fails in a dedicated window).
6005 * emacs-lisp/easy-mmode.el (define-minor-mode):
6006 Use `symbol-value' to keep the byte-compiler quiet.
6008 * diff-mode.el (diff-mode-map): Bind diff-apply-hunk.
6009 (diff-find-source-location): New fun, extracted from diff-goto-source.
6010 (diff-goto-source): Use it.
6011 (diff-next-complex-hunk, diff-filter-lines): New function.
6012 (diff-apply-hunk): New command.
6014 * smerge-mode.el (smerge-mode-menu): Doc fix.
6016 * msb.el (msb-mode): Define it in terms of define-minor-mode.
6018 2000-08-16 Dave Love <fx@gnu.org>
6020 * windmove.el (windmove) <defgroup>: Add :version.
6022 * net/goto-addr.el: Don't require browse-url. Require thingatpt.
6023 (goto-address-fontify-p, goto-address-highlight-p)
6024 (goto-address-url-face, goto-address-url-mouse-face)
6025 (goto-address-mail-face, goto-address-mail-mouse-face): Doc fix.
6026 (goto-address-url-regexp): Use thing-at-point-url-regexp.
6027 (goto-address-fontify, goto-address-at-mouse): Simplify,
6028 (goto-address-at-point): browse-url-url-at-point,
6029 goto-address-find-address-at-point can return nil.
6030 (goto-address-find-address-at-point): Return nil on failure.
6032 * align.el (align) <defgroup>: Add :version.
6034 * calculator.el (calculator): Add :version.
6035 (calculator): Use two lines for calculator window if `modeline'
6038 * play/5x5.el: Doc fixes.
6039 (5x5) <defgroup>: Add :version.
6041 * play/fortune.el (fortune) <defgroup>: Add :version.
6042 (fortune-append): Fix error message.
6043 (fortune-from-region): Doc fix.
6045 * play/pong.el (pong): Doc fix.
6047 * play/morse.el: Keywords, commentary, autoloads.
6049 2000-08-16 Eli Zaretskii <eliz@is.elta.co.il>
6051 * desktop.el (desktop-save): Don't look at symbol-value of a
6052 member of minor-mode-alist, unless it is boundp.
6054 2000-08-16 Sam Steingold <sds@gnu.org>
6056 * buff-menu.el (list-buffers-noselect): Use `dolist' instead Of
6057 `while'; use `with-current-buffer' instead of `save-excursion'.
6058 Removed unnecessary kludges now that "*Buffer List*" is excluded.
6060 2000-08-16 Kenichi Handa <handa@etl.go.jp>
6062 * international/ccl.el (declare-ccl-program): Docstring modified.
6063 (ccl-execute-with-args): Likewise.
6065 2000-08-16 Miles Bader <miles@gnu.org>
6067 * progmodes/sql.el: Add compatibility definition of
6068 comint-line-beginning-position.
6070 2000-08-15 Gerd Moellmann <gerd@gnu.org>
6072 * buff-menu.el (list-buffers-noselect): Set `buffer' as well as
6073 'buffer-menu' property.
6074 (Buffer-menu-buffer): Use `buffer' property if `buffer-name'
6076 (Buffer-menu-execute): When deleting, test `(and buf (buffer-name
6077 buf))', instead of `(Buffer-menu-buffer nil)', to see if buffer
6080 * buff-menu.el (list-buffers-noselect): Don't display the
6081 *Buffer List* buffer.
6083 * font-lock.el: Require jit-lock to prevent a very late
6084 `Loading jit-lock' message.
6086 * emacs-lisp/cust-print.el, emacs-lisp/cl-specs.el
6087 * emacs-lisp/edebug.el, progmodes/hideif.el: Change authors'
6090 2000-08-15 Miles Bader <miles@gnu.org>
6092 * textmodes/ispell.el (ispell-graphic-p): New constant.
6093 (ispell-choices-win-default-height, ispell-help): Use
6094 `ispell-graphic-p' instead of `xemacsp'.
6096 2000-08-15 Dave Love <fx@gnu.org>
6098 * simple.el: Autoload widget-convert when compiling.
6099 (mail-user-agent): Doc fix.
6101 * help.el (function-called-at-point, variable-at-point): Use
6103 (help-manyarg-func-alist): Add insert-and-inherit.
6105 * thingatpt.el (thing-at-point-url-regexp): Prepend `\<'.
6107 * delsel.el (delsel-unload-hook): New function.
6109 * find-file.el: Doc fixes. Move provide to end.
6110 (ff) <defgroup>: Add :link.
6111 (ff-goto-click): Deleted.
6112 (ff-mouse-find-other-file, ff-mouse-find-other-file-other-window):
6113 Use mouse-set-point.
6115 * textmodes/tildify.el: Doc fixes.
6116 (tildify) <defgroup>: Add:version.
6118 * progmodes/glasses.el (glasses) <defgroup>: Add :version.
6119 (glasses-custom-set): Use set-default, not set.
6120 (minor-mode-alist): Propertize the lighter.
6121 (glasses-mode): Provide optional arg.
6123 * progmodes/cwarn.el (cwarn) <defgroup>: Add :version, :link.
6124 (global-cwarn-mode): Don't make it a user option. Unquote lambda.
6125 (cwarn-font-lock-feature-keywords-alist): Don't make it a user
6126 option. Provide :type.
6127 (cwarn-configuration): Provide :type.
6128 (cwarn-mode): Doc fix.
6130 * add-log.el (change-log-merge): Doc fix.
6131 (change-log-redate): New command.
6133 * net/browse-url.el (browse-url-filename-alist): Add a clause for
6135 (browse-url): Use dolist, not mapcar.
6136 (browse-url-at-point): Check for null url.
6137 (browse-url-event-buffer, browse-url-event-point): Functions
6139 (browse-url-at-mouse, browse-url-netscape): Simplify.
6141 * msb.el (msb--few-menus, msb--very-many-menus): Use current Gnus
6143 (msb--init-file-alist, msb--aggregate-alist, msb--add-separators):
6144 Fix previous change to mapcan.
6145 (msb--init-file-alist, msb--add-separators)
6146 (msb--make-keymap-menu): Simplify.
6147 (msb--choose-file-menu): Use copy-sequence.
6148 (msb-mode-map): Add title to keymap.
6149 (msb-unload-hook): New function.
6151 * bs.el: Fix indentation.
6152 (bs) <defgroup>: Add :links.
6154 (bs-apply-sort-faces): Don't use window-system.
6155 (bs-mode-font-lock-keywords): Avoid testing for XEmacs.
6157 2000-08-15 Eli Zaretskii <eliz@is.elta.co.il>
6159 * calendar/timeclock.el (timeclock-file): Run .timelog through
6160 convert-standard-filename.
6162 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6164 * emacs-lisp/authors.el: New file.
6166 * paren.el (show-paren-priority): New user option.
6167 (show-paren-function): Set overlay priorities to
6168 show-paren-priority.
6170 2000-08-14 Miles Bader <miles@gnu.org>
6172 * comint.el (comint-bol): Use `forward-line 0' instead of calling
6173 beginning-of-line with inhibit-field-text-motion bound.
6175 2000-08-14 Gerd Moellmann <gerd@gnu.org>
6177 * calendar/timeclock.el: New file.
6179 2000-08-14 David Ponce <david@dponce.com>
6181 * recentf.el (recent-dialog-mode-map): Bind down-mouse-1 to
6182 `widget-button-click'. so that one can use left mouse button to
6183 click on dialog buttons.
6185 2000-08-14 Emmanuel Briot <briot@gnat.com>
6187 * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
6188 identifiers, since XML is case sensitive
6190 2000-08-12 Miles Bader <miles@gnu.org>
6192 * comint.el (comint-output-filter): Don't bother frobbing
6193 window-start, it doesn't seem to be necessary.
6195 * comint.el (comint-send-string, comint-send-region): Make into
6196 real functions. Snapshot the prompt before sending.
6198 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6200 * info.el (Info-find-emacs-command-nodes): Rewrite to use
6201 technique similar to Info-index, instead of relying on specific
6202 names of relevant Index nodes.
6203 (Info-goto-emacs-command-node): Bind Info-history to nil when
6204 going to the first node found by Info-find-emacs-command-nodes.
6206 2000-08-11 Eli Zaretskii <eliz@is.elta.co.il>
6208 * menu-bar.el (menu-bar-help-menu): Add a :help string.
6210 2000-08-10 Miles Bader <miles@gnu.org>
6212 * comint.el (comint-output-filter): Doc fixes & misc code cleanup.
6214 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6216 * info.el (Info-file-list-for-emacs): More elements for the
6217 autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
6220 2000-08-10 Miles Bader <miles@lsi.nec.co.jp>
6222 * comint.el (comint-send-input): Make the newline boundary overlay
6223 rear-nonsticky. Use `insert' instead of `insert-before-markers'.
6224 (comint-output-filter): Use `insert' instead of
6225 `insert-before-markers'. Extend comint-last-output-overlay when
6226 necessary since we can't rely on insert-before-markers to do it.
6227 * gud.el (gud-filter): Use `with-current-buffer' instead of
6228 save-excursion when inserting the output, so that point gets
6229 updated correctly; the old method relied on a rather dodgy
6230 side-effect of comint-output-filter to avoid the effect of
6233 2000-08-10 Eli Zaretskii <eliz@is.elta.co.il>
6235 * files.el (recover-file): Call insert-directory instead of
6236 invoking `ls' directly.
6238 2000-08-10 Miles Bader <miles@gnu.org>
6240 * comint.el (comint-highlight-prompt, comint-highlight-prompt-face)
6241 (comint-last-prompt-overlay): New variables.
6242 (comint-output-filter): Implement prompt highlighting.
6243 (comint-snapshot-last-prompt): New function.
6244 (comint-send-input): Snapshot the last prompt.
6245 Use comint-highlight-input-face.
6246 (comint-highlight-input-face): Renamed from `comint-highlight-face'.
6247 Use defface instead of defcustom.
6248 (send-invisible, comint-send-eof): Snapshot the last prompt.
6249 (comint-delchar-or-maybe-eof): Use comint-send-eof.
6250 (comint-mode): Make `comint-last-prompt-overlay' buffer-local.
6252 2000-08-09 Stefan Monnier <monnier@cs.yale.edu>
6254 * emacs-lisp/regexp-opt.el (make-bool-vector): Remove.
6255 (regexp-opt-group): Use a list of chars for `letters'.
6256 (regexp-opt-charset): `chars' is now a list of chars.
6257 Use a char-table rather than a vector so it works for multibyte chars.
6259 * pcvs.el (cvs-menu): Don't move point. Use popup-menu.
6260 Set cvs-minor-current-files to the selected fileinfo.
6261 (cvs-get-marked): Accept fileinfos in cvs-minor-current-files.
6262 (cvs-mode-insert): Manually macroexpand `ignore-errors'.
6264 2000-08-09 Eli Zaretskii <eliz@is.elta.co.il>
6266 * files.el (insert-directory): Don't call access-file on
6267 directories on DOS and Windows.
6269 2000-08-09 Kenichi Handa <handa@etl.go.jp>
6271 * international/ccl.el (ccl-embed-data): Make ccl-program-vector
6272 longer if necessary.
6273 (ccl-embed-code): Call ccl-embed-data to store CODE in
6276 2000-08-09 Miles Bader <miles@gnu.org>
6278 * comint.el (comint-output-filter): Properly handle the case where
6279 the text surrounded by comint-last-output-overlay was deleted.
6281 2000-08-08 Gerd Moellmann <gerd@gnu.org>
6283 * info.el (Info-insert-dir): Use Info-additional-directory-list if
6285 (Info-file-list-for-emacs): Remove "info" from the list because
6286 that leads to trying to use the documentation from file `info'
6287 in various situations where it isn't appropriate, for instance
6290 * ffap.el (ffap-read-file-or-url-internal): Handle case that
6291 DIR and/or STRING are nil.
6293 * progmodes/compile.el (compilation-setup): Make variable
6294 compilation-error-screen-columns buffer-local, as some comment
6295 in the code suggests it should be.
6297 * files.el (auto-mode-interpreter-regexp): New variable.
6298 (set-auto-mode): Use it.
6300 * indent.el (indent-for-tab-command): Doc fix.
6302 * mouse-sel.el (mouse-sel-mode): Doc fix.
6304 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Handle `#N='
6307 * help.el (print-help-return-message): When
6308 display-buffer-reuse-frames is set, let the help window been quit,
6309 instead of deleting it, which might delete a reused frame.
6311 2000-08-08 Eli Zaretskii <eliz@is.elta.co.il>
6313 * dired-aux.el (dired-do-create-files): On DOS/Windows, allow to
6314 rename a directory to a name that differs only by its letter case.
6316 2000-08-08 Kenichi Handa <handa@etl.go.jp>
6318 * international/quail.el (quail-define-rules): Handle Quail decode
6319 map correctly. Add code for supporting annotations.
6320 (quail-install-decode-map): New function.
6321 (quail-defrule-internal): New optional arguments decode-map and
6323 (quail-advice): New function.
6325 2000-08-07 Sam Steingold <sds@gnu.org>
6327 * emacs-lisp/cl-indent.el (toplevel): Indent `defclass',
6328 `defconst', `define-condition', `with-slots'.
6329 * font-lock.el (lisp-font-lock-keywords-2): Added `with-' and `do-'.
6331 2000-08-03 Miles Bader <miles@gnu.org>
6333 * comint.el (comint-use-prompt-regexp-instead-of-fields):
6335 (comint-prompt-regexp, comint-get-old-input): Document dependence on
6336 comint-use-prompt-regexp-instead-of-fields.
6337 (comint-send-input): Add `input' field property to stuff we send to
6338 the process, if comint-use-prompt-regexp-instead-of-fields is nil.
6339 (comint-output-filter): Add `output' field property to process
6340 output, if comint-use-prompt-regexp-instead-of-fields is nil.
6341 (comint-replace-by-expanded-history)
6342 (comint-get-old-input-default, comint-show-output)
6343 (comint-backward-matching-input, comint-forward-matching-input)
6344 (comint-next-prompt, comint-previous-prompt): Use field
6345 properties if comint-use-prompt-regexp-instead-of-fields is nil.
6346 (comint-line-beginning-position): New function.
6347 (comint-bol): Use comint-line-beginning-position. Make ARG optional.
6348 (comint-replace-by-expanded-history-before-point): Use
6349 comint-line-beginning-position and line-end-position.
6350 (comint-last-output-overlay): New variable.
6351 (comint-mode): Make `comint-last-output-overlay' buffer-local.
6353 * shell.el (shell-prompt-pattern): Doc change.
6354 (shell-backward-command): Use line-beginning-position.
6356 * gud.el (gud-gdb-complete-command): Use
6357 comint-line-beginning-position.
6359 * ielm.el (ielm-indent-line): Detect a "prompt" line by seeing if
6360 comint-bol doesn't actually go to the beginning of the line.
6362 * hippie-exp.el (try-expand-line): Only use comint-prompt-regexp
6363 if comint-use-prompt-regexp-instead-of-fields is non-nil.
6364 (try-expand-line-all-buffers): Likewise.
6366 * progmodes/sql.el (sql-magic-go): Use comint-bol instead of
6367 explicitly matching comint-prompt-regexp.
6368 (sql-copy-column): Use comint-line-beginning-position instead of
6369 explicitly matching comint-prompt-regexp.
6371 * progmodes/octave-inf.el (inferior-octave-complete): Use
6372 comint-line-beginning-position.
6374 * progmodes/inf-lisp.el (inferior-lisp-prompt): Doc change.
6376 * progmodes/idlw-shell.el (idlwave-shell-send-command): When
6377 looking for a prompt, use `forward-line 0' instead of
6378 `beginning-of-line', to avoid getting caught by an input field.
6380 2000-08-07 Gerd Moellmann <gerd@gnu.org>
6382 * files.el (shell-quote-wildcard-pattern): Make sure to return
6383 PATTERN, in the Unix case.
6385 2000-08-07 Eli Zaretskii <eliz@is.elta.co.il>
6387 * play/zone.el (zone): Discard any pending input before running
6388 the randomly-chosen pgm.
6390 2000-08-07 Kenichi Handa <handa@etl.go.jp>
6392 * emacs-lisp/bytecomp.el (byte-compile-fix-header): Fix the way of
6393 checking the existence of any multibyte characters.
6395 2000-08-06 Gerd Moellmann <gerd@gnu.org>
6397 * help.el (describe-mode): Test minor-mode symbol for being
6398 bound before testing its value for being nil.
6400 * pcvs-util.el, cvs-status.el, pcvs.el: Use `nth' instead of
6401 `first', `second', and `third'.
6403 * emacs-lisp/cl.el (third...tenth): Undo change of 2000-08-05.
6404 (second): Make it an alias for `cadr'.
6406 2000-08-06 Eli Zaretskii <eliz@is.elta.co.il>
6408 * bs.el (bs-apply-sort-faces): Don't use window-system, since all
6409 types of display support faces now.
6411 2000-08-05 Gerd Moellmann <gerd@gnu.org>
6413 * pcvs.el (require): Require `cl' during compilation, only.
6415 * emacs-lisp/cl.el (first, ..., tenth): Make them macros.
6416 (toplevel): Remove `remq' and `remove' from autoloads.
6417 (cl-fake-autoloads): New variable. If set, arrange for an error
6418 when CL functions etc. are autoloaded.
6420 2000-08-04 Eli Zaretskii <eliz@is.elta.co.il>
6422 * play/zone.el (zone, zone-pgm-stress): Don't use window-system.
6424 * hi-lock.el (hi-lock-unface-buffer): If a menu of regexps is
6425 popped up, but the user clicks outside the menu, return an empty
6426 regexp (that causes unhighlight-regexp to have no effect).
6428 * menu-bar.el (menu-bar-games-menu): Add Zone.
6430 * hi-lock.el (toplevel): Require font-lock.
6432 2000-08-03 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6434 * progmodes/ebnf2ps.el: Get around a bug on skip-chars-forward.
6435 (ebnf-8-bit-chars): New var for bug fix.
6436 (ebnf-string): Bug fix.
6438 2000-08-03 Sam Steingold <sds@gnu.org>
6440 * pcvs.el (cvs-do-commit): Use `buffer-substring-no-properties'
6441 instead of `buffer-string'.
6442 (require 'cl): Always, not just when compiling.
6443 `ignore-errors' in `interactive', `list*', `defun*' &c make this
6446 2000-08-03 Eli Zaretskii <eliz@is.elta.co.il>
6448 * international/mule-cmds.el (select-safe-coding-system): Make
6449 the message text about selecting a safe coding system more clear.
6451 2000-08-02 Gerd Moellmann <gerd@gnu.org>
6453 * hi-lock.el: New file.
6455 * play/zone.el: New file.
6457 * replace.el (occur): Set tab-width in the *Occur* buffer to the
6458 value of tab-width in the original buffer. Choose a line number
6459 format that's a multiple of the original buffer's tab width, so
6460 that lines appear right.
6462 * textmodes/ispell.el (ispell): New function, replacing an alias.
6463 Spell-check active region if in transient-mark-mode and mark
6464 is active; otherwise spell-check buffer.
6466 2000-08-02 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6468 * ps-mule.el: Fix a customization problem on
6469 ps-mule-font-info-database-default.
6471 2000-08-02 Eli Zaretskii <eliz@is.elta.co.il>
6473 * progmodes/ebrowse.el (ebrowse-tree-mode-map): Use
6474 display-mouse-p instead of window-system.
6475 (ebrowse-member-mode-map): Ditto.
6477 2000-08-01 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6479 * progmodes/ebnf2ps.el: Update ps-print functions call.
6480 Indentation fix. Doc fix.
6481 (ebnf-version): New version number (3.2).
6482 (ebnf-format-color, ebnf-begin-job): Code fix.
6484 2000-08-01 Eli Zaretskii <eliz@is.elta.co.il>
6486 * net/net-utils.el (nslookup-font-lock-keywords): Don't condition
6487 font lock support on window-system.
6488 (ftp-font-lock-keywords, smbclient-font-lock-keywords): Likewise.
6490 * textmodes/ispell.el (ispell-highlight-spelling-error): Use
6491 display-color-p, if fboundp, instead of window-system.
6493 2000-07-31 Eli Zaretskii <eliz@is.elta.co.il>
6495 * calendar/appt.el (appt-disp-window): Use display-multi-frame-p
6496 instead of window-system.
6498 * wid-edit.el (widget-choose): Use display-mouse-p instead of
6500 (widget-choice-mouse-down-action): Use display-popup-menus-p
6501 instead of window-system.
6503 * strokes.el (strokes-file): Run the file name through
6504 convert-standard-filename.
6505 (strokes-mode): Call display-mouse-p instead of looking at
6506 window-system. Change the error message accordingly.
6508 * progmodes/cpp.el (toplevel): Support faces on tty's.
6510 * play/landmark.el (lm-font-lock-face-O, lm-font-lock-face-X)
6511 (lm-plot-square, lm-init-display): Don't use window-system.
6513 * play/gomoku.el (gomoku-font-lock-O-face, gomoku-font-lock-X-face)
6514 (gomoku-plot-square, gomoku-init-display): Don't use window-system.
6516 * mail/rmail.el (rmail-start-mail): Use display-multi-frame-p
6517 instead of looking at window-system.
6519 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6521 * iswitchb.el (iswitchb-entryfn-p): Test this-command instead
6522 of testing if iswitchb-prepost-hooks is bound, because the
6523 latter will always be true when invoking a recursive minibuffer
6524 from an active Iswitchb buffer.
6526 2000-07-30 Eli Zaretskii <eliz@is.elta.co.il>
6528 * files.el (shell-quote-wildcard-pattern): New function.
6529 (insert-directory): Call it. Only prepend "\" to command on Unix
6530 and GNU/Linux systems.
6532 2000-07-30 Gerd Moellmann <gerd@gnu.org>
6534 * eshell/esh-groups.el: Change custom :link file names
6535 from `eshell.info' to `eshell'.
6537 2000-07-30 Francis Wright <fjw@maths.qmw.ac.uk>
6539 * dired.el (dired-build-subdir-alist): Expand subdirectory names
6540 correctly in recursive ange-ftp listings.
6542 2000-07-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
6544 * ps-print.el: Fix bug 1: if ps-font-size-internal,
6545 ps-header-font-size-internal and
6546 ps-header-title-font-size-internal variables are not set,
6547 ps-nb-pages and ps-line-lengths-internal crashes. Fix bug 2: if
6548 face text property is (foreground-color . COLOR) or
6549 `(background-color . COLOR)', ps-print crashes. Doc fix.
6550 (ps-print-version): New version number (5.2.4).
6551 (ps-plot-region): Code fix.
6552 (ps-nb-pages, ps-line-lengths-internal): Bug fix 1.
6553 (ps-face-attribute-list, ps-face-attributes, ps-face-background):
6556 2000-07-30 Milan Zamazal <pdm@freesoft.cz>
6558 * glasses.el (glasses-make-readable): Fix uncapitalization of
6559 identifiers like `myXMLDocument'.
6561 2000-07-28 Karl Fogel <kfogel@red-bean.com>
6563 * mail/mail-hist.el (mail-hist-previous-input)
6564 (mail-hist-next-input): Do the obvious code factorization.
6565 (mail-hist-retrieve-and-insert): New func, contains common
6567 If inserting a message body, leave point at top.
6569 2000-07-28 Sam Steingold <sds@gnu.org>
6571 * net/ange-ftp.el (ange-ftp-verify-visited-file-modtime):
6572 Use `<=', not `<' to compare times!
6573 (ange-ftp-ls): Remove.
6575 2000-07-27 Gerd Moellmann <gerd@gnu.org>
6577 * play/cookie1.el: Add explanation of how to make cookie.el
6578 compatible with strfile(1) to comment.
6580 * subr.el (remove, remq): New functions.
6582 * midnight.el (clean-buffer-list-kill-never-regexps): Correctly
6583 escape `*' in regexps.
6584 (midnight-find): Reverse order of arguments in the funcall of
6587 * bindings.el (completion-ignored-extensions): Add `.la', `.lo',
6590 * play/meese.el: Add Commentary section.
6592 2000-07-27 Alex Schroeder <alex@gnu.org>
6594 * sql.el (sql-ms): Added autoload cookie.
6595 (sql-ingres, sql-solid, sql-mysql, sql-informix, sql-sybase)
6596 (sql-oracle): Ditto.
6597 (sql-help): Doc change.
6599 (sql-mode-oracle-font-lock-keywords): Added PL/SQL keywords, data
6600 types and exceptions.
6602 2000-07-27 Alex Schroeder <alex@gnu.org>
6604 * sql.el (sql-placeholder-history): New variable.
6605 (sql-query-placeholders-and-send): New function that will query
6606 the user and replace placeholders with user input.
6607 (sql-oracle): If running on NT, set comint-input-sender to
6608 sql-query-placeholders-and-send.
6610 (sql-stop): If in the SQLi buffer, insert stop notification, else
6611 present it as a message.
6613 2000-07-27 Alex Schroeder <alex@gnu.org>
6615 * sql.el (sql-input-ring-separator): Doc change.
6616 (sql-input-ring-file-name): Doc change.
6617 (sql-interactive-mode): Use `sql-input-ring-separator' and
6618 `sql-input-ring-file-name' to set the comint-mode equivalents
6619 without making them local variables.
6620 (sql-stop): Don't bind `sql-input-ring-separator' and
6621 `sql-input-ring-file-name' dynamically to their comint-mode
6624 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6626 * international/mule.el (register-char-codings): New function.
6627 (make-coding-system): Handle `safe-chars' specification in the arg
6630 * international/mule-cmds.el
6631 (find-coding-systems-region-subset-p): This function deleted.
6632 (sort-coding-systems-predicate): New variable.
6633 (sort-coding-systems): New function.
6634 (find-coding-systems-region): Use
6635 find-coding-systems-region-internal.
6636 (find-coding-systems-string): Use find-coding-systems-region.
6637 (find-coding-systems-for-charsets): Check
6638 char-coding-system-table.
6639 (select-safe-coding-system-accept-default-p): New variable.
6640 (select-safe-coding-system): Mostly rewritten. New argument
6642 (select-message-coding-system): Call select-safe-coding-system
6643 with ACCEPT-DEFAULT-P arg.
6644 (reset-language-environment): Reset default-sendmail-coding-system
6645 to the default value iso-latin-1.
6646 (set-language-environment): Don't set the obsolete variable
6647 charset-origin-alist.
6649 * international/codepage.el (cp-coding-system-for-codepage-1):
6650 Give `safe-chars' property to make-coding-system.
6652 * mail/sendmail.el (sendmail-send-it): Improve the way to avoid
6653 calling select-message-coding-system twice.
6655 * language/cyrillic.el (cyrillic-koi8): Use `safe-chars' property
6656 instead of `safe-charsets'.
6657 (cyrillic-alternativnyj): Likewise.
6658 (ccl-encode-alternativnyj): Don't check the charset
6661 2000-07-27 Kenichi Handa <handa@etl.go.jp>
6663 * composite.el (compose-chars-after): Preserve match data.
6665 2000-07-26 Sam Steingold <sds@gnu.org>
6667 * net/ange-ftp.el (ange-ftp-file-newer-than-file-p): New function.
6668 (ange-ftp-real-file-newer-than-file-p): New function.
6669 (ange-ftp-verify-visited-file-modtime): Use `float-time'.
6670 (ange-ftp-dot-to-slash): Removed (use `subst-char-in-string').
6672 * tooltip.el (tooltip-float-time): Removed (use `float-time').
6673 * midnight.el (midnight-float-time): Ditto.
6675 2000-07-26 Andreas Schwab <schwab@suse.de>
6677 * files.el (normal-backup-enable-predicate): Correct
6678 interpretation of the return value of compare-strings.
6680 2000-07-26 Gerd Moellmann <gerd@gnu.org>
6682 * isearch.el (isearch-resume): New function.
6683 (isearch-done): Add something to command-history to resume
6685 (isearch-yank-line, isearch-yank-word): Use
6686 buffer-substring-no-properties instead of buffer-substring.
6688 * textmodes/flyspell.el (flyspell-mouse-map): Use `map' instead
6689 of flyspell-mouse-map.
6691 * progmodes/make-mode.el (makefile-mode-abbrev-table): Remove
6692 duplicate definition.
6693 (makefile-mode): Remove duplicate setting of local-abbrev-table.
6695 * progmodes/m4-mode.el (m4-mode-abbrev-table): New variable.
6696 (m4-mode): Set local-abbrev-table to m4-mode-abbrev-table.
6698 2000-07-25 Sam Steingold <sds@gnu.org>
6700 * net/ange-ftp.el: Get modtime over the net.
6701 (ange-ftp-file-modtime): New function.
6702 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6703 (ange-ftp-file-attributes, ange-ftp-verify-visited-file-modtime):
6705 (ange-ftp-dot-to-slash): New function.
6706 (ange-ftp-fix-name-for-vms): Use it.
6708 * midnight.el (midnight-buffer-display-time): Use
6709 `with-current-buffer'.
6711 2000-07-25 Gerd Moellmann <gerd@gnu.org>
6713 * find-dired.el: Update copyright notice.
6714 (find-dired): Offer to kill a running `find'.
6716 * enriched.el (enriched-face-ans): For a `foreground-color'
6717 property, return '(("x-color" COLOR))' so that COLOR will be
6718 output as a parameter of the x-color annotation. Likewise for the
6719 `background-color' property. In the case of normal face
6720 properties, don't return annotations for unspecified foreground
6721 and background face attributes.
6723 2000-07-25 Kenichi Handa <handa@etl.go.jp>
6725 * language/japan-util.el (japanese-katakana-region): Fix handling
6728 2000-07-25 Miles Bader <miles@gnu.org>
6730 * simple.el (line-move): Pass INHIBIT-CAPTURE-PROPERTY argument to
6731 constrain-to-field. Pass nil ESCAPE-FROM-EDGE argument to
6734 2000-07-24 Andrew Innes <andrewi@gnu.org>
6736 * timer.el (timer-activate-when-idle): Add optional parameter
6737 DONT-WAIT. Update docstring.
6738 (run-with-idle-timer): Specify extra parameter to
6739 timer-activate-when-idle, so that timer will be activated
6740 immediately if Emacs is already idle.
6742 * w32-fns.el (w32-using-nt): Fix docstring.
6744 2000-07-24 Dave Love <fx@gnu.org>
6746 * mouse.el (popup-menu): Set last-command-event.
6747 (mouse-major-mode-menu-prefix): Declare.
6749 2000-07-24 Gerd Moellmann <gerd@gnu.org>
6751 * textmodes/flyspell.el: Update to author's version 1.5d.
6753 * progmodes/hideshow.el: Update copyright notice.
6755 * vcursor.el: Set maintainer to FSF, since author cannot
6758 2000-07-24 Eli Zaretskii <eliz@is.elta.co.il>
6760 * info.el (Info-goto-emacs-key-command-node): Leave a space after
6763 * mouse.el (popup-menu): Run the keymap through indirect-function,
6764 in case it was defined with define-prefix-key. If the menu is a
6765 list of keymaps, look up the binding of user's choice in each one
6767 (mouse-popup-menubar): If the global and local menu-bar keymaps
6768 don't have a prompt string, create one and insert it into the
6769 keymap. Don't barf if current-local-map returns nil.
6771 2000-07-24 Francis Wright <fjw@maths.qmw.ac.uk>
6773 * dired.el (dired-sort-R-check): Added to allow recursive listing
6775 (dired-sort-other): Use it.
6777 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6779 * Release of cc-mode 5.27
6781 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6783 * cc-engine.el (c-looking-at-inexpr-block): Replaced a call to
6784 c-beginning-of-statement-1 that caused a bad case of recursion
6785 which could consume a lot of CPU in large classes in languages
6786 that have in-expression classes (i.e. Java and Pike).
6788 * cc-engine.el (c-guess-basic-syntax): Check for in-expression
6789 statements before top level constructs (i.e. case 6 is moved
6790 before case 5 and is now case 4) to catch in-expression
6791 classes in top level expressions correctly.
6793 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6795 * cc-engine.el (c-guess-basic-syntax): Less naive handling of
6796 objc-method-intro. Case 4 removed and case 5I added.
6798 * cc-langs.el (c-append-paragraph-start): New variable used by
6799 c-common-init to get paragraph-start correct.
6800 * cc-langs.el (c-common-init): Use c-append-paragraph-start to
6801 initialize paragraph-start to make it correct both with and
6802 without the javadoc special case.
6804 * cc-mode.el (java-mode): Use c-append-paragraph-start to
6805 initialize paragraph-start for javadoc markup.
6807 * cc-vars.el (c-style-variables-are-local-p): Incompatible
6808 change by defaulting this to t. It's motivated by the
6809 confusing behavior that otherwise arise from the style system
6810 when editing both java and non-java files at the same time
6811 (see the comments about style setting in c-common-init).
6813 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6815 * cc-cmds.el (c-indent-new-comment-line): Added a kludge
6816 similar to the one in c-fill-paragraph to check the fill
6817 prefix from the adaptive fill function for sanity.
6819 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6821 * cc-defs.el (c-end-of-defun-1): Fixed forward scanning into
6824 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6826 * cc-mode.texi Documented the change of cpp-macro.
6828 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6830 * cc-align.el (c-lineup-multi-inher): Handle lines with
6831 leading comma nicely. Extended to handle member initializers
6834 * cc-engine.el: (c-beginning-of-inheritance-list,
6835 c-guess-basic-syntax): Fixed recognition of inheritance lists
6836 when the lines begins with a comma.
6838 * cc-mode.texi: Updated doc for c-lineup-multi-inher.
6840 * cc-vars.el (c-offsets-alist): Changed default for
6841 member-init-cont to c-lineup-multi-inher since it now handles
6842 member initializers and indents better for leading commas.
6844 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6846 * cc-cmds.el (c-electric-brace): Fixed some bugs in the state
6847 handling that caused class open lines to be recognized as
6848 statement-conts in some cases.
6850 * cc-cmds.el (c-indent-new-comment-line): Keep the fill prefix
6851 guessed by the adaptive fill function unless point is on the
6852 first line of a block comment.
6854 * cc-engine.el (c-forward-syntactic-ws): Fixed an infloop bug
6855 when the buffer ends with a macro continuation char.
6857 * cc-engine.el (c-guess-basic-syntax): Added support for
6858 function definitions as statements in Pike. The first
6859 statement in a lambda block is now labeled defun-block-intro
6860 instead of statement-block-intro.
6862 * cc-engine.el (c-narrow-out-enclosing-class): Whack the state
6863 so that the class surrounding point is selected, not the one
6864 innermost in the state.
6866 * cc-engine.el (c-guess-basic-syntax): Fixed bug in
6867 recognition of switch labels having hanging multiline
6870 * cc-engine.el (c-beginning-of-member-init-list): Broke out
6871 some code in c-guess-basic-syntax to a separate function.
6872 * cc-engine.el (c-just-after-func-arglist-p): Fixed
6873 recognition of member inits with multiple line arglists.
6874 * cc-engine.el (c-guess-basic-syntax): New case 5B.3 to detect
6875 member-init-cont when the commas are in funny places.
6877 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6879 * cc-defs.el (c-auto-newline): Removed this macro since it's
6882 * cc-engine.el (c-looking-at-bos): New helper function.
6883 * cc-engine.el (c-looking-at-inexpr-block): More tests to tell
6884 inexpr and toplevel classes apart in Pike.
6886 * cc-engine.el (c-guess-basic-syntax): Fixed bogus recognition
6889 * cc-langs.el, cc-mode.el (c-Pike-inexpr-class-key): New
6890 constant, since "class" can introduce an in-expression class
6893 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6895 * cc-align.el (c-gnu-impose-minimum): Don't impose minimum
6896 indentation on cpp-macro lines.
6898 * cc-engine.el (c-guess-basic-syntax): Made the cpp-macro
6899 a syntax modifier like comment-intro, to make it possible to
6900 get syntactic indentation for preprocessor directives. It's
6901 incompatible wrt to lineup functions on cpp-macro, but it has
6902 no observable effect in the 99.9% common case where cpp-macro
6905 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6907 * cc-engine.el (c-guess-basic-syntax): Fixed bug with missed
6908 member-init-cont when the preceding arglist is several lines.
6910 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6912 * cc-styles.el (c-style-alist): The basic offset for the BSD
6913 style corrected to 8.
6915 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6917 * cc-styles.el (c-style-alist): Adjusted the indentation of
6918 brace list openers in the gnu style.
6920 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6922 * cc-cmds.el (c-indent-command): Obey c-syntactic-indentation.
6924 * cc-cmds.el (c-electric-brace, c-electric-slash,
6925 c-electric-star, c-electric-semi&comma, c-electric-colon,
6926 c-electric-lt-gt, c-electric-paren): Don't reindent old lines
6927 when c-syntactic-indentation is nil.
6929 * cc-engine.el (c-beginning-of-statement-1): Fixed bug where
6930 we were left at comments preceding the first statement when
6931 reaching the beginning of the buffer.
6933 * cc-vars.el (c-syntactic-indentation): New variable to turn
6934 off all syntactic indentation.
6936 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6938 * cc-cmds.el (c-fill-paragraph): Keep one or two spaces
6939 between the text and the block comment ender when it hangs,
6940 depending on how many there are before the fill.
6942 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6944 * cc-engine.el (c-beginning-of-closest-statement): New helper
6945 function to go back to the closest preceding statement start,
6946 which could be inside a conditional statement.
6947 * cc-engine.el (c-guess-basic-syntax): Use
6948 c-beginning-of-closest-statement in cases 10B.2, 17B and 17C.
6950 * cc-engine.el (c-guess-basic-syntax): Better handling of
6951 arglist-intro, arglist-cont-nonempty and arglist-close when
6952 the arglist is nested inside parens. Cases 7A, 7C and 7F
6955 * cc-langs.el (c-Java-javadoc-paragraph-start): Brought
6956 up-to-date with javadoc 1.2.
6958 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6960 * cc-engine.el (c-beginning-of-statement-1): Fixed handling of
6961 multiline Pike type decls.
6963 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6965 * cc-cmds.el (c-indent-new-comment-line): Always break
6966 multiline comments in multiline mode, regardless of
6969 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6971 * cc-engine.el (c-guess-basic-syntax): Fixed bug with
6972 fully::qualified::names in C++ member init lists. Preamble in
6975 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
6977 * cc-langs.el (c-common-init): Handling of obsolete variables
6978 moved to c-initialize-cc-mode. More compatible style override
6979 when using global style variables.
6980 * cc-mode.el (c-initialize-cc-mode): Handling of obsolete
6981 variables moved here.
6983 * cc-mode.texi: Documented the special behavior of
6984 c-special-indent-hook as a style variable. Don't talk about
6985 doing (c-make-styles-buffer-local t) in a mode hook, since
6986 that's already too late to work right.
6988 * cc-styles.el (c-make-styles-buffer-local): Flag style
6989 variable localness in c-style-variables-are-local-p to make
6990 the compatibility measure in c-common-init work well.
6992 * cc-styles.el (c-set-style-1): c-special-indent-hook can no
6993 longer contain set-from-style.
6994 * cc-styles.el (c-initialize-builtin-style): Don't check for
6995 set-from-style on c-special-indent-hook.
6996 * cc-styles.el (c-copy-tree): Obsolete. The standard function
6997 copy-alist is sufficient now.
6999 * cc-styles.el (c-set-style, c-set-style-1,
7000 c-get-style-variables): Fixes to variable initialization so
7001 that duplicate entries in styles have the same effect
7002 regardless of DONT-OVERRIDE.
7004 * cc-styles.el (c-set-style-2): Fixed bug where the
7005 initialization of inheriting styles failed when the
7006 dont-override flag is set.
7008 * cc-vars.el (c-special-indent-hook): Don't use set-from-style
7011 2000-07-24 Martin Stjernholm <bug-cc-mode@gnu.org>
7013 * cc-defs.el (c-forward-comment): Removed the workaround
7014 introduced in 5.38 since it had worse side-effects. If a line
7015 contains the string "//\"", it regarded the // as a comment
7016 start since the \ temporarily doesn't have escape syntax.
7018 2000-07-17 Emmanuel Briot <briot@act-europe.fr>
7020 * ada-mode.el Got rid of all byte-compiler warnings on Emacs Load
7021 ada-xref.el before ada-prj.el, so that the Project menu is created
7022 when ada-prj tries to add to it.
7023 (ada-activate-keys-for-case): Suppress the characters that are not
7024 part of the Ada syntax. Better compatibility with else-mode
7025 (ada-adjust-case-interactive): When auto-casing is not active,
7026 correctly insert newlines (used to insert only ^M). Prevent the
7027 syntax table from being changed in case of an error
7028 (or '_' becomes part of a word and some commands are confused).
7029 Do nothing if ada-auto-case is nil.
7030 (ada-after-keyword-p): Ignore keywords that are also attributes
7031 (ada-batch-reformat): Update usage comment
7032 (ada-call-from-contextual-menu): New function
7033 (ada-case-read-exceptions): Reinitialize the casing exception list
7034 first to nil first, so that the casing exception file can be
7036 (ada-check-defun-name): Handles "configure" keyword for gnatdist
7038 (ada-compile-goto-error): Fix regexp used to detect a file:line
7039 anywhere in the error message
7040 (ada-contextual-menu-last-point): New variable
7041 (ada-create-keymap): If the variable delete-key-deletes-forward is
7042 t on XEmacs, it means that DEL should delete one character
7044 (ada-create-menu): Use :included instead of :visible for XEmacs.
7045 New submenu "Options".
7046 (ada-end-stmt-re): Correctly indent "select ... then abort"
7048 (ada-fill-comment-paragraph): Correctly delete all leading '--'
7049 even if they don't match ada-fill-comment-prefix Fix handling of
7050 paragraphs on the first or last line of a file.
7051 (ada-format-paramlist): Fix handling of default parameter values.
7052 (ada-get-body-name): New function.
7053 (ada-get-current-indent): Optimized by searchling directly for an
7054 existing generic part or a statement outside of it. Handle
7055 ada-indent-align-comments when indenting comments Replaced some
7056 regexps by testing directly the next character. This results in a
7057 huge speedup on some files. New indentation scheme for renames
7058 statements. Stop looking for the 'while' or 'for' associated with
7059 a 'loop' at the first semicolon encountered. A "return" can also
7060 match an anonymous access subprogram declaration.
7061 (ada-get-indent-noindent): Ignore strings and comments when
7062 looking for the keywords "record" and "private".
7063 (ada-goto-matching-decl-start): When matching "if", make sure we
7064 are not in fact seeing "end if". Ignore "when" statements except
7065 when initial keyword was "begin". Fix handling of nested
7066 procedures. Add a recursive call to this function to skip over
7067 other 'end' statmts. Fix indentation for "when .. => begin"
7068 (ada-in-open-paren-p): Fix indentation for complex boolean
7069 expressions, where 'and then', 'or else' and parenthesis
7070 statements are mixed up.
7071 (ada-in-paramlist-p): Skip comments while searching for the
7072 beginning Fix handling of operator declarations.
7073 (ada-indent-align-comments): New variable
7074 (ada-indent-current): Change the syntax table only in the
7075 protected section, so that we are sure it is restored correctly.
7076 (ada-indent-on-previous-lines): Use ada-use-indent and
7077 ada-with-indent Correctly indent "select ... then"
7078 (ada-indent-region): Slight speedup.
7079 (ada-indent-renames): New variable.
7080 (ada-last-which-function-subprog, ada-last-which-function-line):
7082 (ada-looking-at-semi-private): Correctly indent the 'private'
7083 keyword when it is the first word in a package declaration.
7084 (ada-loose-case-word): Stop searching if at the end of the buffer.
7085 (ada-loose-case-word, ada-capitalize-word): Recase the whole word
7086 even if point is not initially at the end of the word.
7087 (ada-matching-decl-start-re): Add "when".
7088 (ada-mode): Add support for abbrev-mode, outline-mode and
7089 which-func-mode Override the old find-file.el entry in
7090 ff-special-constructs since it is using the obsolete
7091 ada-spec-suffix variable
7092 (ada-no-auto-case): New function
7093 (ada-scan-paramlist): When parsing the argument type, accept
7094 spaces (as in "X 'Class", generated by Rational Rose).
7095 (ada-other-file-name): No longer loads the other file.
7096 (ada-popup-menu): Save and restore the current buffer and cursor
7097 position before and after displaying the menu.
7098 (ada-search-ignore-complex-boolean): New function.
7099 (ada-uncomment-region): Emacs21 already knows how to delete
7100 comments not starting in the first column.
7101 (ada-use-indent): New variable
7102 (ada-which-function): New function.
7103 (ada-with-indent): New variable
7104 (ada-xemacs): evaluate it at compile time too, so that ada-mode.el
7105 can be batch-compiled from the command line.
7107 * ada-xref.el: Got rid of all byte-compiler warnings on Emacs.
7108 Add to the menu when the file is loaded, not in ada-mode-hook.
7109 Add -toolbar to the default ddd command Switches moved from
7110 ada-prj-default-comp-cmd and ada-prj-default-make-cmd to
7111 ada-prj-default-comp-opt
7112 (ada-add-ada-menu): Remove the map and name parameters Add the Ada
7113 Reference Manual to the menu
7114 (ada-check-current): rewritten as a call to ada-compile-current
7115 (ada-compile): Removed.
7116 (ada-compile-application, ada-compile-current, ada-check-current):
7117 Set the compilation-search-path so that compile.el automatically
7118 finds the sources in src_dir. Automatic scrollong of the
7119 compilation buffer. C-uC-cC-c asks for confirmation before
7121 (ada-compile-current): New parameter, prj-field
7122 (ada-complete-identifier): Load the .ali file before doing
7124 (ada-find-ali-file-in-dir): prepend build_dir to obj_dir to
7125 conform to gnatmake's behavior.
7126 (ada-find-file-in-dir): New function
7127 (ada-find-references): Set the environment variables for gnatfind
7128 (ada-find-src-file-in-dir): New function.
7129 (ada-first-non-nil): Removed
7130 (ada-gdb-application): Add support for jdb, the java debugger.
7131 (ada-get-ada-file-name): Load the original-file first if not done
7133 (ada-get-all-references): Handles the new ali syntax (parent types
7134 are found between <>).
7135 (ada-initialize-runtime-library): New function
7136 (ada-mode-hook): Always load a project file when a file is opened,
7137 so that the casing exceptions are correctly read.
7138 (ada-operator-re): Add all missing operators ("abs", "rem", "**").
7139 (ada-parse-prj-file): Use find-file-noselect instead of find-file
7140 to open the project file, since the latter does not work with
7141 speedbar Get default values before loading the prj file, or the
7142 default executable file name is wrong. Use the absolute value of
7143 src_dir to initialize ada-search-directories and
7144 compilation-search-path,... Add the standard runtime library to
7145 the search path for find-file.
7146 (ada-prj-default-debugger): Was missing an opening '{'
7147 (ada-prj-default-bind-opt, ada-prj-default-link-opt): New
7149 (ada-prj-default-gnatmake-opt): New variable
7150 (ada-prj-find-prj-file): Handles non-file buffers For non-Ada
7151 buffers, the project file is the default one Save the windows
7152 configuration before displaying the menu.
7153 (ada-prj-src-dir, ada-prj-obj-dir, ada-prj-comp-opt,...): Removed
7154 (ada-read-identifier): Fix xrefs on operators (for "mod", "and",
7155 ...) regexp-quote identifiers names to support operators +,
7157 (ada-remote): New function.
7158 (ada-run-application): Erase the output buffer before starting the
7159 run Support remote execution of the application. Use
7160 call-process, or the arguments are incorrectly parsed
7161 (ada-set-default-project-file): Reread the content of the active
7162 project file, not the one from the current buffer When a project
7163 file is set as the default project, all directories are
7164 automatically associated with it.
7165 (ada-set-environment): New function
7166 (ada-treat-cmd-string): New special variable ${current}
7167 (ada-treat-cmd-string): Revised. The substitution is now done for
7168 any ${...} substring
7169 (ada-xref-current): If no body was found, compiles the spec
7170 instead. Setup ADA_{SOURCE,OBJECTS}_PATH before running the
7171 compiler to get rid of command line length limitations.
7172 (ada-xref-get-project-field): New function
7173 (ada-xref-project-files): New variable
7174 (ada-xref-runtime-library-specs-path)
7175 (ada-xref-runtime-library-ali-path): New variables
7176 (ada-xref-set-default-prj-values): Default run command now does a
7177 cd to the build directory. New field: main_unit Provide a default
7178 file name even if the current buffer has no prj file.
7181 Rewritten to show a tabbed-dialog.
7182 (ada-prj-add-ada-menu): Remove the map and name parameters.
7183 (ada-prj-display-page, ada-prj-field, ada-prj-initialize-values):
7185 (ada-prj-load-directory, ada-prj-subdirs-of): New functions
7186 (ada-prj-load-from-file): New function
7187 (ada-prj-save): Always save fields that depend on the current buffer
7188 (ada-prj-show-value): New function
7190 * ada-stmt.el (ada-stmt-add-to-ada-menu): Hide the menu if not in
7191 Ada mode. This will allow us to display the Ada menu in any buffer
7192 we want (for project items).
7193 (ada-header-tmpl): Use ada-fill-comment-prefix to put the correct
7194 number of spaces in the header.
7196 2000-07-24 Dave Love <fx@gnu.org>
7198 * ediff-init.el (ediff-region-help-echo): Bind face-help.
7200 2000-07-23 Noah Friedman <friedman@splode.com>
7202 * type-break.el (type-break): perform autosave.
7203 Suggested by Stephen Gildea <gildea@intouchsys.com>.
7204 (type-break-do-query): Cancel query schedule while performing
7205 actual query, to avoid possibility of a second query being made
7206 while first one is already in progress.
7207 (type-break-time-stamp-format): New variable.
7208 (type-break-time-stamp): New function.
7209 (type-break-time-warning): Use it.
7210 (type-break-keystroke-warning): Use it.
7211 (type-break-noninteractive-query): Use it.
7213 * emacs-lisp/eldoc.el (eldoc-minor-mode-string): Add autoload
7215 Use add-minor-mode to set minor-mode-alist, if available.
7216 (eldoc-echo-area-use-multiline-p): New user option.
7217 (eldoc-echo-area-multiline-supported-p): New variable.
7218 (eldoc-docstring-format-sym-doc): Use them.
7219 (eldoc-mode): If not using idle timers, append to local post and
7220 pre command hooks. Suggested by David Byers <davby@ida.liu.se>.
7221 (eldoc-display-message-no-interference-p): Don't interfere with
7223 Add autoload cookie for eldoc-mode minor-mode-alist initialization.
7224 (eldoc-function-arglist): New function.
7225 (eldoc-function-argstring): Use it.
7227 * menu-bar.el (menu-bar-files-menu [recover-session]): Make sure
7228 auto save directory exists before calling directory-files.
7230 2000-07-23 Dave Love <fx@gnu.org>
7232 * international/iso-transl.el (iso-transl-char-map): Fix ^e, ^i,
7235 2000-07-21 Dave Love <fx@gnu.org>
7237 * ediff-init.el (ediff-region-help-echo): Modify to use overlay
7238 now passed to the function. It now works properly.
7240 * smerge-mode.el (smerge-mode-menu): Fill it out.
7242 2000-07-20 Gerd Moellmann <gerd@gnu.org>
7244 * info-look.el (info-lookup): If *info* is shown in another frame
7245 on the same display, select that frame, instead of switching to
7246 the Info buffer in another window of the selected frame.
7248 * simple.el (universal-argument-map): Bind numeric keypad keys
7249 kp-0 to kp-9 and kp-subtract.
7250 (digit-argument): Handle these keys.
7252 2000-07-20 Dave Love <fx@gnu.org>
7254 * net/goto-addr.el (goto-address-fontify): Don't bother with
7255 buffer-modified and read-only stuff -- irrelevant with overlays.
7256 Put an extra property on the overlays and use it to clean up in
7257 case goto-address is re-run.
7259 2000-07-19 Richard M. Stallman <rms@gnu.org>
7261 * timer.el (run-with-idle-timer): Doc fix.
7263 * mail/mail-utils.el (mail-strip-quoted-names):
7264 Handle case where <...> appears inside "...".
7265 Use replace-match to edit the string more simply.
7266 (rmail-dont-reply-to): Cope with an unmatched ".
7268 2000-07-19 Dave Love <fx@gnu.org>
7270 * ediff-init.el (ediff-region-help-echo): Partially fix for Emacs
7273 * mouse.el (popup-menu): Allow a list of keymaps for menu arg.
7274 (mouse-popup-menubar, mouse-popup-menubar-stuff): New functions.
7275 (global-map): Bind c-down-mouse-3 to mouse-popup-menubar-stuff.
7277 2000-07-19 Gerd Moellmann <gerd@gnu.org>
7279 * textmodes/refer.el: Correct maintainer's email address.
7281 * progmodes/hideif.el: Correct author's email address.
7282 Fix typo in comment.
7286 * mail/mailheader.el: Correct author's mail address.
7288 * gnus/parse-time.el: Correct author's mail address.
7290 2000-07-19 Colin Walters <walters@cis.ohio-state.edu>
7292 * comint.el (comint-highlight-input, comint-highlight-face):
7294 (comint-input-ring-file-name): Change custom type.
7295 (comint-mode-map): Bind mouse-2.
7296 (comint-insert-clicked-input): New function.
7297 (comint-send-input): Handle input highlighting.
7299 2000-07-18 Stefan Monnier <monnier@cs.yale.edu>
7301 * mouse.el (popup-menu): New function.
7302 (mouse-major-mode-menu): Use it.
7304 2000-07-18 Dave Love <fx@gnu.org>
7306 * bindings.el (mode-line-mule-info, mode-line-modified): help-echo
7309 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7311 * faces.el (face-font-selection-order)
7312 (face-font-family-alternatives): Add custom type.
7314 2000-07-18 Dave Love <fx@gnu.org>
7316 * cus-edit.el (custom-variable-reset-saved)
7317 (custom-variable-reset-standard): Remove unused bindings.
7319 * rect.el (open-rectangle-line): Remove unused let.
7321 * hl-line.el (hl-line-highlight): Check hl-line-mode.
7323 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7325 * cdl.el: Fix `Maintainer' keyword.
7327 * play/pong.el: Add author's email address.
7329 2000-07-17 Sam Steingold <sds@gnu.org>
7331 * files.el (insert-directory): Call `split-string' instead of
7334 2000-07-18 Gerd Moellmann <gerd@gnu.org>
7336 * mail/vms-pmail.el: Change maintainer to FSF.
7338 * net/goto-addr.el: Change maintainer to FSF.
7340 * recentf.el: Update from author.
7342 * info.el (Info-title-face-alist): Removed.
7344 2000-07-18 Eli Zaretskii <eliz@is.elta.co.il>
7346 * eshell/eshell.el (eshell): Replace links to eshell.info with
7347 links to eshell, to avoid problems on systems where the manual is
7348 installed as `eshell'.
7349 * eshell/esh-cmd.el (eshell-cmd): Ditto.
7350 * eshell/em-smart.el (eshell-smart): Ditto.
7351 * eshell/em-banner.el (eshell-banner): Ditto.
7352 * eshell/em-alias.el (eshell-alias, eshell-bad-command-tolerance): Ditto.
7354 * eshell/em-unix.el (eshell-shuffle-files): Don't disable
7355 same-file check in the MS-DOS version (it does support inodes).
7357 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Doc fix.
7359 * eshell/eshell.el (eshell-directory-name):
7360 Run default directory name through convert-standard-filename.
7362 2000-07-18 Kenichi Handa <handa@etl.go.jp>
7364 * international/mule-cmds.el (select-safe-coding-system):
7365 Fix typo in the comment.
7367 * language/european.el (compound-text):
7368 Force katakana-jisx0201 to be designated to G1.
7370 * international/mule-conf.el (oldjis-newjis-jisroman-ascii):
7371 Don't translate some national variant characters of latin-jisx0201.
7372 (x-ctext): Force katakana-jisx0201 to be designated to G1.
7374 * international/kkc.el (kkc-after-update-conversion-functions):
7376 (kkc-update-conversion): Run functions in it at the tail.
7378 2000-07-16 John Wiegley <johnw@gnu.org>
7380 * lisp/align.el (align-newline-and-indent):
7381 Adding new function. for auto-aligning blocks of code on RET.
7382 (align-region): Fixed badly formatted minibuffer message.
7384 2000-07-17 Kenichi Handa <handa@etl.go.jp>
7386 * international/kkc.el (kkc-show-conversion-list-count): Customize it.
7387 (kkc-region): Update kkc-next-count and kkc-prev-count here. Show
7388 the conversion list at first if appropriate.
7389 (kkc-next): Don't update kkc-next-count here.
7390 (kkc-prev): Don't update kkc-prev-count here.
7391 (kkc-show-conversion-list-update): Fix setting up of conversion
7394 2000-07-16 Stefan Monnier <monnier@cs.yale.edu>
7396 * mouse.el (mouse-major-mode-menu-1): Get the submenu with lookup-key.
7398 2000-07-16 Dave Love <fx@gnu.org>
7400 * cus-edit.el (custom-buffer-create-internal): Use a help-echo
7401 function to be more specific.
7403 * wid-edit.el (widget-specify-field, widget-specify-button): Allow
7404 non-string help-echo.
7405 (widget-types-convert-widget): Defsubst it.
7406 (widget-echo-help): Try to cope with a help-echo function of two
7409 2000-07-15 Jason Rumney <jasonr@gnu.org>
7411 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
7412 Declare as obsolete.
7414 * term/w32-win.el: Make FONTNAME arg to set-fontset-font a cons.
7416 2000-07-14 Gerd Moellmann <gerd@gnu.org>
7418 * hilit-chg.el: Fix typo.
7420 2000-07-14 Dave Love <fx@gnu.org>
7422 * info.el (Info-mode-menu): Fix use of :help, :enable.
7424 2000-07-14 Stefan Monnier <monnier@cs.yale.edu>
7426 * emacs-lisp/easymenu.el (easy-menu-convert-item-1): Intern the label.
7428 2000-07-13 Dave Love <fx@gnu.org>
7430 * emacs-lisp/easymenu.el: Doc fixes.
7431 (easy-menu-remove): Defalias to ignore.
7433 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback):
7434 Call throw correctly.
7436 2000-07-13 Gerd Moellmann <gerd@gnu.org>
7438 * faces.el (frame-background-mode): Doc fix.
7440 * simple.el (eval-expression-print-length): Change custom type to
7441 allow entering nil as value.
7443 2000-07-13 Dave Love <fx@gnu.org>
7445 * progmodes/fortran.el (fortran-imenu-generic-expression):
7446 Change definition layout.
7447 (fortran-mode-menu): Reinstate customize entries.
7449 * cus-edit.el (custom-group-menu-create, customize-menu-create):
7450 Use :filter, per old XEmacs code.
7452 2000-07-12 Gerd Moellmann <gerd@gnu.org>
7454 * term.el (term-send-raw-meta): Strip modifiers from the keyboard
7455 event when deciding what to send to the terminal.
7457 2000-07-12 Dave Love <fx@gnu.org>
7459 * cus-start.el: Add optional version as 4th element of specs and
7460 use it for several things new in v21. Remove load-path. Fix type
7461 of line-number-display-limit.
7463 2000-07-11 Dave Love <fx@gnu.org>
7465 * progmodes/fortran.el: Don't require easymenu.
7466 Use repeat counts in various regexps.
7467 (fortran-mode-syntax-table): Defvar directly.
7468 (fortran-font-lock-keywords-1, fortran-font-lock-keywords-2)
7469 (fortran-font-lock-keywords-3, fortran-font-lock-syntactic-keywords):
7470 Use defvar, not defconst.
7471 (fortran-mode-map): Change locals in `let'. Use `fortran-auto-fill'.
7472 (fortran-mode): Set fortran-comment-line-start-skip,
7473 fortran-comment-line-start-skip, dabbrev-case-fold-search.
7474 (fortran-comment-indent): Use defsubst.
7475 (fortran-indent-comment, fortran-indent-to-column, fortran-break-line):
7476 Use fortran-comment-indent, not fortran-comment-indent-function.
7477 (fortran-comment-region, fortran-electric-line-number): Simplify.
7478 (fortran-auto-fill): New function.
7479 (fortran-do-auto-fill): Deleted.
7480 (fortran-find-comment-start-skip):
7481 Check for non-null comment-start-skip.
7482 (fortran-auto-fill-mode, fortran-fill-statement):
7483 Use fortran-auto-fill.
7484 (fortran-fill): Use fortran-auto-fill. Check for null
7485 comment-start-skip. Simplify final clause and use end-of-line finally.
7487 * widget.el (widget-plist-member): New alias.
7489 2000-07-11 Eli Zaretskii <eliz@is.elta.co.il>
7491 * eshell/esh-module.el (toplevel): Reference
7492 byte-compile-current-file only if it is bound.
7494 2000-07-10 Gerd Moellmann <gerd@gnu.org>
7496 * dired.el: Don't require `dired-aux'.
7498 2000-07-10 Miles Bader <miles@lsi.nec.co.jp>
7500 * dired-aux.el (dired-show-file-type): New function.
7501 * dired.el (dired-mode-map): Bind `w' to dired-show-file-type.
7502 (dired-show-file-type): Add autoload.
7504 2000-07-10 Kenichi Handa <handa@etl.go.jp>
7506 * international/mule-diag.el (describe-font): Adjusted for the
7507 change of fontset-info.
7508 (print-fontset): Likewise.
7510 2000-07-09 Stefan Monnier <monnier@cs.yale.edu>
7512 * mouse.el (mouse-drag-region): Use functionp rather than fboundp.
7514 2000-07-07 Gerd Moellmann <gerd@gnu.org>
7516 * bindings.el: Bind `[delete]' to delete-char.
7518 * dired.el (dired-find-alternate-file): New function.
7519 (dired-mode-map): Bind `a' to dired-find-alternate-file.
7520 (toplevel): Require dired-aux when compiling.
7521 (dired-buffers): Move defvar within file to avoid compiler warning.
7523 * info.el (Info-last-search): Variable removed.
7524 (Info-search-history): New variable.
7525 (Info-search): New Info-search-history.
7527 * battery.el, info-look.el: Change author's mail address.
7529 2000-07-07 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
7531 * mail/rmail.el (rmail-clear-headers): Don't throw an error
7532 if rmail-ignored-headers is nil.
7533 (rmail-retry-failure): Bind rmail-ignored-headers and
7534 rmail-displayed-headers to nil.
7536 2000-07-06 Gerd Moellmann <gerd@gnu.org>
7538 * lpr.el (lpr-page-header-switches): Add `-h' switch.
7539 (print-region-1): Don't hard code `-h' here.
7541 * Makefile.in (TAGS-LISP): Don't use `$(lispsource)'.
7543 2000-07-01 Francesco Potorti` <pot@gnu.org>
7545 * rmail.el (mail-unsent-separator): Changed "the" to "\\w+", as
7546 exim can use "your message" instead of "the message".
7548 2000-07-06 Stefan Monnier <monnier@cs.yale.edu>
7550 * facemenu.el: Docstrings fixes.
7551 (facemenu-get-face): Don't use internal-find-face.
7552 (facemenu-iterate): Rename arg to match the docstring.
7554 * newcomment.el (uncomment-region): Be more careful when skipping
7555 backwards over `=' not to bump into BOBP.
7557 2000-07-05 Michael Kifer <kifer@cs.sunysb.edu>
7559 * ediff-diff.el (ediff-wordify): Use syntax table.
7560 * ediff-init.el (ediff-has-face-support-p): Use
7561 ediff-color-display-p.
7562 (ediff-color-display-p): Use display-color-p, changed to defun
7564 Got rid of special cases for NeXT and OS/2.
7565 * ediff-wind.el (ediff-setup-control-frame): Set proper modeline
7568 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7570 * emacs-lisp/lucid.el: Require CL.
7571 (copy-tree, remprop): Remove, it's provided by CL.
7572 (map-keymap): Define in terms of cl-map-keymap.
7573 (extent-property, set-extent-end-glyph): New functions.
7575 * emacs-lisp/cl-extra.el (cl-map-keymap): Handle char-tables.
7577 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7579 * Makefile.in (DONTCOMPILE): Add comment that the name may
7580 not be changed without changing the make-dist script.
7582 * emacs-lisp/cl-extra.el (cl-old-mapc): Removed; don't defalias mapc.
7583 (cl-mapc): Use mapc instead of cl-old-mapc.
7585 2000-07-05 Andrew Innes <andrewi@gnu.org>
7587 * makefile.nt: Add support for `bootstrap' and related targets.
7589 2000-07-05 Stefan Monnier <monnier@cs.yale.edu>
7591 * emacs-lisp/easymenu.el (easy-menu-define): Docstring fix.
7592 (easy-menu-do-define): Use `menu-item' format.
7593 Handle case where easy-menu-create-menu returns a symbol.
7594 Manually call the potential top-level filter in the function binding.
7595 (easy-menu-filter-return): New arg NAME.
7596 Convert to a keymap if MENU is an XEmacs menu.
7597 (easy-menu-convert-item-1): New. Extracted from easy-menu-do-add-item.
7598 (easy-menu-converted-items-table, easy-menu-convert-item):
7599 New var and fun to memoize easy-menu-convert-item-1.
7600 (easy-menu-do-add-item): Use it.
7601 (easy-menu-create-menu): Use easy-menu-convert-item.
7602 Wrap easy-menu-filter-return around any :filter specification.
7603 Don't convert the menu if a filter was specified.
7604 Tell easy-menu-make-symbol not to check for MENU being an expression.
7605 (easy-menu-make-symbol): New arg NOEXP.
7607 2000-07-05 Gerd Moellmann <gerd@gnu.org>
7609 * emacs-lisp/lisp-mode.el (eval-defun-2): Remove parameter
7610 EVAL-DEFUN-ARG-INTERNAL; always print to minibuffer.
7611 (eval-defun): If called with prefix arg, instrument code for
7614 * emacs-lisp/edebug.el (edebug-eval-defun): Make doc string
7615 similar to that of eval-defun.
7617 2000-07-04 Dave Love <fx@gnu.org>
7619 * hl-line.el (hl-line-overlay): Make it permanent-local.
7621 * calendar/todo-mode.el: Replaced with a working version, based on
7622 1998-01-12T11:43:22Z!os10000@seidel-space.de tidied up.
7624 2000-07-03 Miles Bader <miles@lsi.nec.co.jp>
7626 * paths.el (prune-directory-list): New function.
7627 (Info-default-directory-list): Rewritten to more methodically
7628 enumerate a big list of possible info directories (based on the
7629 list used by the standalone info reader).
7631 * info.el (info-initialize): Use prune-directory-list to remove
7632 non-existent directories from Info-directory-list.
7634 * paths.el (Info-default-directory-list): Try a list of possible
7635 info-directories instead of a single one. Add the possible
7636 info directory "/usr/share/info".
7638 * woman.el (woman-man.conf-path): Explicitly include the debian
7639 man-db config file "/etc/manpath.config".
7640 (woman-parse-man.conf): Also handle MANDATORY_MANPATH entries, as
7641 are present in `manpath.config'.
7642 (woman-manpath): Include "/usr/share/man".
7644 2000-07-03 Gerd Moellmann <gerd@gnu.org>
7646 * frame.el (blink-cursor-mode): Don't hide cursor initially.
7648 * startup.el (command-line): Initialize blink-cursor based
7651 * frame.el (blink-cursor): Default to nil if not running under
7654 * faces.el (face-spec-set): Ignore invalid attributes like 20.x.
7655 (face-x-resources): Remove duplicate entry for :font.
7657 * textmodes/refer.el (refer-find-entry-internal): Use some-window
7658 instead of cycling through windows with next-window.
7660 * term/sup-mouse.el (sup-pos-to-window): Use some-window instead
7661 of cycling through windows with next-window.
7663 * term/bg-mouse.el (bg-window-from-x-y): Use some-window instead
7664 of cycling through windows with next-window.
7666 * emacs-lisp/edebug.el (edebug-window-live-p, edebug-window-list)
7667 (edebug-get-displayed-buffer-points): Use walk-windows/some-window
7668 instead of cycling through windows with next-window.
7670 * calendar/appt.el (appt-select-lowest-window): Use walk-windows
7671 instead of cycling through windows with next-window.
7673 * dabbrev.el (dabbrev--find-expansion): Use walk-windows instead
7674 of cycling through windows with next-window.
7676 * terminal.el (te-process-output): Use walk-windows instead of
7677 cycling through windows with next-window.
7679 * server.el (server-switch-buffer): Use some-window instead of
7680 cycling through windows with next-window.
7682 * window.el (some-window): New function.
7683 (walk-windows): Remove reference to walk-windows-start.
7685 * hilit19.el (hilit-lookup-face-create): Don't set face colors to nil.
7687 2000-07-03 Richard Stallman <rms@gnu.org>
7689 * window.el (walk-windows): Guarantee termination by keeping a list
7690 of all the windows already handled.
7692 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7694 * mouse.el (mouse-show-mark, mouse-save-then-kill): Don't use
7697 * man.el (Man-notify-when-ready): Don't use window-system. If
7698 Man-notify-method is newframe, and the display is not
7699 multi-frame, select the frame created for the man page.
7700 (Man-init-defvars): Doc fix.
7702 2000-06-28 Gerd Moellmann <gerd@gnu.org>
7704 * faces.el (region): Change background color for light background.
7706 * ediff-wind.el (ediff-setup-control-frame): Remove :box
7707 attribute from mode-line face of Ediff control frame.
7709 * replace.el (query-replace-map): Bind `e' like `E'.
7711 2000-06-28 Eli Zaretskii <eliz@is.elta.co.il>
7713 * menu-bar.el (menu-bar-edit-menu) <mark-whole-buffer>:
7714 Change name to "Select All".
7716 * dos-fns.el (convert-standard-filename): Fix last change.
7718 2000-06-27 Gerd Moellmann <gerd@gnu.org>
7720 * help.el (describe-variable): Don't insert a second `'s' in front
7721 of the string `value is shown below'. Since the syntax-table is
7722 set to emacs-lisp-mode-syntax-table, forward-sexp skips over
7723 an existing `'s', so that this won't be deleted.
7725 * pcmpl-cvs.el, pcmpl-gnu.el, pcmpl-linux.el, pcmpl-rpm.el:
7726 * pcmpl-unix.el: New files.
7728 2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
7730 * wid-edit.el (widget-member): Use the new plist-member.
7732 2000-06-26 Gerd Moellmann <gerd@gnu.org>
7734 * replace.el (perform-replace): Undo change of 2000-04-04.
7735 Instead, move backward 1 character at the end of the loop when
7738 * faces.el (fringe): Change face for different backgrounds.
7740 * eshell/esh-module.el (toplevel): Load defgroup's differently;
7743 * eshell/*.el: Change spelling of the Free Software Foundation.
7745 * eshell/esh-toggle.el: Removed.
7747 * Makefile.in (DONTCOMPILE): Add eshell/esh-group.el.
7749 * menu-bar.el (menu-bar-tools-menu): Call read-mail-command
7752 2000-06-26 Alex Schroeder <alex@gnu.org>
7754 * sql.el (sql-interactive-mode-map): Use `kbd' in calls to
7755 `define-key'; instead of checking `(emacs-version)' check for
7756 `set-keymap-parent' and `set-keymap-name' directly. Add entries
7757 for `;' and `o' which might be electric.
7759 (sql-electric-stuff): New user option.
7760 (sql-magic-go): New function which uses `sql-electric-stuff'.
7761 (sql-magic-semicolon): New function which uses
7762 `sql-electric-stuff'.
7764 (sql-accumulate-and-indent): Insert newline if `comint-accumulate'
7767 (sql-oracle-options): New variable.
7768 (sql-oracle): Use it.
7770 (sql-imenu-generic-expression): Doc change.
7771 (sql-find-sqli-buffer): Make sure the default-value of sql-buffer
7774 (sql-informix): Added command line parameter "-" to force
7775 sql-informix-program to use stdout.
7777 2000-06-25 Eli Zaretskii <eliz@is.elta.co.il>
7779 * international/codepage.el (cp-coding-system-for-codepage-1): Doc fix.
7780 (cp864-decode-table): Doc fix.
7781 (cp720-decode-table): New variable, supports the Arabic OEM
7782 codepage used by Windows.
7783 (cp737-decode-table): New, Greek OEM codepage used by Windows.
7785 2000-06-23 Dave Love <fx@gnu.org>
7787 * font-lock.el (font-lock-support-mode) <defgroup>: Add :version.
7788 (font-lock-fontify-anchored-keywords): Use
7789 line-beginning-position.
7790 (global-font-lock-mode): Use mapc.
7792 2000-06-23 Stefan Monnier <monnier@cs.yale.edu>
7794 * eshell/esh-module.el: Require CL when compiling.
7796 2000-06-23 Gerd Moellmann <gerd@gnu.org>
7798 * comint.el (comint-substitute-in-file-name): Call replace-match
7799 with second and third arg t.
7801 * cus-edit.el (custom-button-face, custom-button-pressed-face):
7802 Specify foreground color.
7804 * faces.el (tool-bar, mode-line, header-line): Specify foreground
7807 * Makefile.in (DONTCOMPILE): Add eshell/esh-maint.el.
7809 * eshell/esh-cmd.el (eshell-rewrite-for-command): Use cdr and
7810 cddr instead of cdddr.
7812 * eshell/esh-util.el (eshell-sublist): Use eshell-copy-list
7813 instead of copy-list.
7815 * eshell/esh-mode.el (eshell-mode): Use eshell-copy-list instead
7818 * subdirs.el: Add eshell subdirectory.
7820 * eshell: New subdirectory containing the Eshell package.
7822 * pcomplete.el: New file.
7824 2000-06-23 Paul Eggert <eggert@twinsun.com>
7826 * mail/mailpost.el (post-mail-send-it): Make sure file has
7827 proper permissions from birth.
7829 * files.el (basic-save-buffer-2): When temporarily setting
7830 file modes, set them to current modes plus 0200, not to 0777.
7832 * emerge.el (emerge-make-temp-file): Make sure file has proper
7833 permissions from birth.
7835 2000-06-22 Eli Zaretskii <eliz@is.elta.co.il>
7837 * files.el (make-backup-file-name-1): On DOS/Windows, run the
7838 backup file name through convert-standard-filename.
7840 * dos-fns.el (convert-standard-filename): Convert leading
7841 directories as well. When long file names are supported, convert
7842 characters that are invalid in Windows file names.
7844 2000-06-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
7846 * ps-print.el: Fix bug: if ^L is the very first buffer character,
7847 ps-print crashes. New feature: page selection for printing. Create
7848 raw-text-unix coding system for XEmacs. Doc fix.
7849 (ps-print-version): New version number (5.2.3).
7850 (ps-plot-region): Bug fix.
7851 (ps-setup, ps-init-output-queue, ps-output, ps-begin-job, ps-end-file)
7852 (ps-header-sheet, ps-generate, ps-end-job): Code fix.
7853 (ps-restore-selected-pages, ps-selected-pages, ps-print-page-p): New
7855 (ps-selected-pages, ps-last-selected-pages, ps-first-page)
7856 (ps-last-page): New vars.
7858 2000-06-21 Gerd Moellmann <gerd@gnu.org>
7860 * progmodes/sh-script.el (sh-while-getopts): Fix handling of
7861 empty option string.
7863 2000-06-21 Eli Zaretskii <eliz@is.elta.co.il>
7865 * man.el (man): Doc fix.
7867 2000-06-21 Kenichi Handa <handa@etl.go.jp>
7869 * international/mule-cmds.el (set-language-info-alist): Docstring
7872 2000-06-20 Gerd Moellmann <gerd@gnu.org>
7874 * version.el (emacs-version): Use ISO date format.
7876 * emulation/pc-select.el (pc-selection-mode): Bind `M-\d'
7877 instead of `M-backspace'.
7879 * simple.el (turn-off-auto-fill): New function.
7881 2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
7883 * jit-lock.el (with-buffer-prepared-for-jit-lock):
7884 Renamed from with-buffer-prepared-for-font-lock and use
7885 inhibit-modification-hooks rather than setting *-change-functions.
7886 Update all functions to use the new name.
7887 (jit-lock-first-unfontify-pos): New semantics (and doc).
7888 (jit-lock-mode): Make non-interactive.
7889 Don't automatically turn on font-lock.
7890 Set jit-lock-first-unfontify-pos to indicate deferred-contextual mode.
7891 Always use jit-lock-after-change.
7892 Remove and restore font-lock-after-change-function.
7893 (turn-on-jit-lock, jit-lock-after-fontify-buffer)
7894 (jit-lock-after-unfontify-buffer): Remove.
7895 (jit-lock-stealth-fontify):
7896 Reset jit-lock-first-unfontify-pos to point-max rather than to nil.
7897 (jit-lock-after-change): Set the `fontified' text-prop to nil.
7899 2000-06-20 Sam Steingold <sds@gnu.org>
7901 * emacs-lisp/cl-indent.el (toplevel): Indent
7902 `print-unreadable-object' properly. Untabify.
7904 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7906 * textmodes/reftex.el (reftex-find-citation-regexp-format):
7907 Support for bibentry.
7908 (reftex-compile-variables): Fixed problem with end of section-re.
7910 * texmodes/reftex-dcr.el (reftex-view-crossref,
7911 reftex-view-crossref-from-bibtex):
7912 Deal with changed `reftex-find-citation-regexp-format'.
7913 (reftex-view-regexp-match, reftex-view-crossref-from-bibtex):
7914 Replaced `remprop' with `put'.
7915 (reftex-view-crossref, reftex-view-crossref-when-idle):
7916 Support for bibentry.
7918 * textmodes/reftex-vars.el (reftex-cite-format-builtin):
7919 New entry for bibentry package.
7921 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
7922 Regexp also matches "\nobibliography".
7924 * textmodes/reftex-global.el (reftex-renumber-simple-labels):
7925 Call `reftex-ensure-write-access' before doing anything.
7926 (reftex-ensure-write-access): New function.
7928 2000-06-14 Carsten Dominik <dominik@strw.leidenuniv.nl>
7930 * progmodes/idlwave.el: File re-installed (update to version 4.2)
7932 * progmodes/idlw-shell.el: File re-installed (update to version 4.2)
7934 * progmodes/idlw-rinfo.el: File re-installed (update to version 4.2)
7936 * progmodes/idlw-toolbar.el: File re-installed (update to version 4.2)
7939 2000-06-20 Dave Love <fx@gnu.org>
7941 * faces.el (frame-background-mode): Use set-default, not set, in
7943 (frame-update-faces, frame-update-face-colors): Define with
7946 * enriched.el (enriched-decode-foreground)
7947 (enriched-decode-background): Don't use internal-find-face.
7949 * apropos.el: Doc fixes.
7951 * cus-edit.el (customize-changed-options): Check arg.
7952 (customize-version-lessp): Don't require decimal point.
7954 * custom.el (defcustom, defgroup): Doc fix.
7956 * newcomment.el (comment) <defgroup>: Add :version.
7957 (comment-multi-line): Doc fix.
7959 * emulation/mlsupport.el (define-hooked-local-abbrev,
7960 define-hooked-global-abbrev): Fix, using define-abbrev.
7962 2000-06-19 Gerd Moellmann <gerd@gnu.org>
7964 * menu-bar.el (menu-bar-edit-menu): Add menu item for marking
7967 2000-06-19 Dave Love <fx@gnu.org>
7969 * menu-bar.el (menu-bar-options-save): New function.
7970 (menu-bar-options-menu): Use it.
7971 (menu-bar-options-menu) <toggle-global-lazy-font-lock-mode>:
7974 2000-06-19 Andreas Schwab <schwab@suse.de>
7976 * progmodes/etags.el (tags-query-replace): Put new parameters
7977 START and END at the end, for backward compatibility.
7979 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7981 * international/codepage.el:
7982 (cp-coding-system-for-codepage-1): Delete special codes for
7983 generating xxx-dos coding system because now a CCL based coding
7984 system can handle EOL conversion by default.
7986 * international/mule.el (make-coding-system): Generate subsidiary
7987 coding systems for EOL handling variants even for a CCL based
7990 2000-06-19 Kenichi Handa <handa@etl.go.jp>
7992 * international/isearch-x.el (isearch-minibuffer-input-method)
7993 (isearch-minibuffer-input-method-function): These variables
7995 (isearch-with-input-method): Don't use the above variables.
7996 (isearch-process-search-multibyte-characters): Likewise. Call
7997 read-string with the arg INHERIT-INPUT-METHOD t.
7999 2000-06-17 Stefan Monnier <monnier@cs.yale.edu>
8001 * font-lock.el (font-lock-after-fontify-buffer)
8002 (font-lock-after-unfontify-buffer): No need to call back to jit-lock.
8004 * jit-lock.el (jit-lock-mode): Force jit-refontify when turned on.
8005 Use consistent make-local-variable style for font-lock-fontified.
8006 (jit-lock-fontify-buffer):
8007 Don't bother checking for font-lock-mode and jit-lock-mode.
8009 * time.el: Remove trailing ^M that prevent CVS-merging.
8011 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8013 * Makefile.in (distclean): New target.
8015 2000-06-16 Stefan Monnier <monnier@cs.yale.edu>
8017 * Makefile.in (srcdir): Define for update-subdirs.
8019 2000-06-16 Gerd Moellmann <gerd@gnu.org>
8021 * find-lisp.el: New file.
8023 2000-06-16 Andrew Innes <andrewi@gnu.org>
8025 * time.el (display-time-mail-function): New variable, to allow
8026 external packages to indicate when new mail is available.
8027 (display-time-update): Use it.
8029 2000-06-16 Kenichi Handa <handa@etl.go.jp>
8031 * international/mule.el (mule-version): Change version name to
8032 SAKAKI. AOI has already been used by Meadow.
8034 * international/quail.el (quail-show-guidance-buf): To find the
8035 bottom window (but minibuffer), pay attention to the height of
8038 2000-06-15 Eli Zaretskii <eliz@is.elta.co.il>
8040 * arc-mode.el (archive-mode-map): Use the new menu-item format for
8041 menu-bar menus. Add help strings. Don't remove the Edit menu
8042 from the menu bar, as the menu bar has enough space now.
8044 * Makefile.in (SHELL): Make sure /bin/sh is used.
8046 * woman.el (woman-man-buffer): Fix bold and underlined CJK
8047 characters, which use series of two ^H characters instead of one.
8049 2000-06-15 Gerd Moellmann <gerd@gnu.org>
8051 * info.el (Info-find-in-tag-table-1, Info-find-in-tag-table)
8052 (Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
8054 (Info-find-node-2): Try a case-sensitive search first, then
8055 do a case-insensitive search.
8057 * menu-bar.el (menu-bar-help-menu): Add menu item for non-English
8060 * complete.el (PC-env-vars-alist): New variable.
8061 (PC-complete-as-file-name): New function.
8062 (partial-completion-mode): Initialize PC-env-vars-alist from
8063 process-environment.
8064 (PC-do-completion): Handle completion of env vars.
8066 * info.el (Info-set-mode-line): Show file name in mode line,
8067 use `*Info*' instead of `Info:'.
8069 * startup.el (command-line-1): Change copyright messages to year
8072 2000-06-15 Dave Love <fx@gnu.org>
8074 * net/goto-addr.el (goto-address-fontify): Use keymap property,
8077 2000-06-15 Kenichi Handa <handa@etl.go.jp>
8079 * international/mule.el (set-buffer-file-coding-system): Almost
8080 rewritten to handle `undecided' as no-op.
8082 2000-06-14 Gerd Moellmann <gerd@gnu.org>
8084 * Makefile.in: New file.
8086 * Makefile: Removed.
8088 * net/goto-addr.el (goto-address): Don't bind C-c RET locally.
8089 (goto-address-highlight-keymap): Bind C-c RET.
8091 2000-06-14 Kenichi Handa <handa@etl.go.jp>
8093 * mail/sendmail.el (sendmail-send-it): The temporary buffer
8094 inherits buffer-file-coding-system of the current buffer.
8096 * tar-mode.el (tar-extract): For goto-char, use (point-min), not
8097 0. Give correct argument to set-auto-coding-function.
8098 (tar-expunge): For goto-char, use (point-min), not 0.
8099 (tar-clear-modification-flags): For goto-char, use (point-min), not 1.
8100 (tar-subfile-save-buffer): Likewize.
8102 * international/mule.el
8103 (after-insert-file-set-buffer-file-coding-system): Call
8104 set-buffer-file-coding-system with the arg FORCE t.
8106 2000-06-13 Gerd Moellmann <gerd@gnu.org>
8108 * mail/sendmail.el (mail-specify-envelope-from): Initialize to
8109 nil. Contemporary sendmails issue an X-Authentication-Warning if
8110 the sender is set with `-f'.
8112 2000-06-13 Dave Love <fx@gnu.org>
8114 * help.el (describe-function-1): Kluge around cases of functions
8115 fset to subrs whose doc doesn't match their symbol-name.
8117 * image.el (insert-image): Default STRING to a space.
8119 * info.el Doc fixes.
8120 (Info-build-node-completions): Match Ref tags.
8122 2000-06-13 Eli Zaretskii <eliz@is.elta.co.il>
8124 * frame.el (display-multi-frame-p, display-multi-font-p): New
8125 defaliases for display-graphic-p.
8127 * hl-line.el: Fixed a typo in commentary.
8129 2000-06-13 Kenichi Handa <handa@etl.go.jp>
8131 * language/tibet-util.el (tibetan-tibetan-to-transcription): Typo
8134 2000-06-12 Dave Love <fx@gnu.org>
8136 * image.el (insert-image): Save a little consing.
8138 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8140 * language/tibet-util.el: Convert all tibetan-1-column characters
8141 to the corresponding tibetan characters.
8142 (tibetan-add-components): Delete code for the special treatment of
8145 * language/tibetan.el (tibetan-composable-pattern): Fix previous
8147 (tibetan-vowel-transcription-alist): More rules added.
8148 (tibetan-composite-vowel-alist): New variable.
8149 (tibetan-precomposition-rule-alist): More rules added.
8151 2000-06-12 Stefan Monnier <monnier@cs.yale.edu>
8153 * startup.el (command-line): Only call menu-bar-mode if interactive.
8155 * thingatpt.el (toplevel symbol-properties):
8156 * textmodes/makeinfo.el (makeinfo-compile):
8157 * progmodes/make-mode.el (makefile-pickup-filenames-as-targets):
8158 * progmodes/hideif.el (hif-compress-define-list)
8159 (hide-ifdef-use-define-alist):
8160 * net/ange-ftp.el (ange-ftp-vms-delete-file-entry)
8161 (ange-ftp-vms-add-file-entry):
8162 * menu-bar.el (menu-bar-update-buffers, menu-bar-update-buffers):
8163 * man.el (Man-build-man-command):
8164 * mail/rnewspost.el (news-reply-header-hook):
8165 * info.el (Info-insert-dir):
8166 * emulation/mlconvert.el (backward-word, forward-word, setq):
8167 * emacs-lisp/gulp.el (gulp-send-requests):
8168 * emacs-lisp/byte-opt.el (byte-compile-log-lap-1)
8169 (byte-optimize-inline-handler, byte-optimize-form-code-walker)
8170 (byte-optimize-apply, end of file):
8171 * emacs-lisp/advice.el (ad-advice-class-completion-table)
8172 (ad-make-freeze-definition):
8173 * startup.el (command-line, command-line-1): Don't quote lambdas.
8175 * pcvs.el (cvs-parse-process): Don't blindly refresh all cookies.
8176 (cvs-cleanup-removed): New function.
8177 (cvs-cleanup-functions): New var.
8178 (cvs-cleanup-collection): Use cvs-cleanup-functions to allow the user
8179 some flexibility in specifying additional entries to auto-cleanup.
8180 (cvs-quickdir): New function.
8181 (cvs-mode-insert): Use cvs-fileinfo-from-entries.
8182 (cvs-mode-imerge): Use smerge-ediff rather than vc-resolve-conflicts.
8183 (cvs-mode-find-file): Check that we are on a filename or dirname
8184 when invoked through a mouse-click.
8185 (cvs-full-path): Remove.
8186 (cvs-dired-action): Re-introduced.
8187 (cvs-dired-noselect): Use it.
8188 (vc-post-command-functions): use this new hook if available.
8190 * pcvs-info.el (cvs-fi-up-to-date-face, cvs-fi-unknown-face): New vars.
8191 (cvs-status-map): Don't inherit from cvs-mode-map anymore.
8192 (cvs-filename-map, cvs-dirname-map): Remove.
8193 (cvs-default-action): Remove.
8194 (cvs-add-face): Use `keymap' rather than `local-map' property, and only
8195 if the arg is really a keymap.
8196 (cvs-fileinfo-pp): Don't use any special map for file and dir names.
8197 Don't hardcode the mapping from state (aka type) to face, but check
8198 the var cvs-fi-<type>-face instead.
8199 (cvs-fileinfo-from-entries): New function.
8201 * pcvs-defs.el (cvs-default-ignore-marks, cvs-diff-ignore-marks):
8203 (cvs-find-file-and-jump): Change default to be safer.
8204 (cvs-mode-diff-map): Define it as a function as well.
8205 (cvs-mode-map): Refer to the function variant of cvs-mode-diff-map.
8206 Bind mouse-2 in this global map rather than with text-properties.
8208 * pcvs-parse.el (cvs-parse-table): Look for conflict markers in the
8209 file to resolve the ambiguity between C(conflict) and C(need-merge).
8211 2000-06-12 Kenichi Handa <handa@etl.go.jp>
8213 * international/mule.el (set-buffer-file-coding-system): If
8214 CODING-SYSTEM is nil, set buffer-file-coding-system to nil
8217 2000-06-12 Dave Love <fx@gnu.org>
8219 * wid-edit.el (widget-specify-button): Really suppress the face if
8222 2000-06-11 Gerd Moellmann <gerd@gnu.org>
8224 * term/x-win.el (x-colors): Add colors from recent rgb.txt.
8226 2000-06-11 Stefan Monnier <monnier@cs.yale.edu>
8228 * imenu.el (imenu-generic-expression): Docstring fix.
8230 * composite.el (composition-function-table): Move the `put'
8231 below the autoload cookie so we can load the file before loaddefs.
8233 * avoid.el (mouse-avoidance-random-shape): Don't quote lambda.
8235 * emacs-lisp/autoload.el (make-autoload): Use `cond'.
8236 Handle easy-mmode-define-global-mode.
8237 For complex macros like define-minor-mode that can generate
8238 several autoload entries, try to autoload entries in the
8241 * emacs-lisp/easy-mmode.el (define-minor-mode):
8242 If KEYMAP is a symbol, just use it.
8243 Use byte-compile-current-file and load-file-name to infer the
8244 proper :require to pass to defcustom.
8245 Wrap the hook var into `progn' so as not to autoload it.
8246 Add a :autoload-end cookie.
8247 Be more careful about the evaluation of KEYMAP.
8248 (easy-mmode-define-global-mode): Add a :autoload-end cookie.
8249 (define-derived-mode): Move define-abbrev-table outside of defvar.
8251 2000-06-10 Stefan Monnier <monnier@cs.yale.edu>
8253 * Makefile (EMACSOPT): Remove --no-init-file (implied by -batch).
8254 (autoloads): Explicitly load `autoload' to bootstrap without loaddefs.
8255 (backup-compiled-files): Ignore errors during `tar'.
8256 (bootstrap): Make autoloads before elc files.
8258 2000-06-10 Kenichi Handa <handa@etl.go.jp>
8260 * international/mule.el (set-buffer-file-coding-system): If one of
8261 undecided-XXX is specified, change only EOL conversion.
8263 * international/mule-conf.el (unix): New alias for the coding
8264 system undecided-unix.
8266 2000-06-09 Dave Love <fx@gnu.org>
8268 * tar-mode.el (tar-copy): Supply MUSTBENEW arg to write-region.
8270 * progmodes/executable.el: Byte compile dynamic.
8271 (executable-insert): Change custom type.
8272 (executable-find): Add autoload cookie.
8273 (executable-make-buffer-file-executable-if-script-p): New
8274 function. After Noah Friedman.
8276 * files.el (after-save-hook): Customize, with
8277 executable-make-buffer-file-executable-if-script-p as an option.
8279 2000-06-09 Kenichi Handa <handa@etl.go.jp>
8281 * ps-mule.el (ps-mule-font-info-database-bdf): Prefer the font
8282 "tib24p-mule.bdf" for Tibetan.
8284 * composite.el (decompose-composite-char): Declare it as obsolete.
8286 * man.el (Man-fontify-manpage): Pay attention to underline and
8287 overstrike pattern for CJK characters (e.g. __^H^H and X^H^HX).
8289 2000-06-08 Gerd Moellmann <gerd@gnu.org>
8291 * thingatpt.el (forward-thing): Use functionp instead of fboundp.
8292 Set maintainer to FSF since author isn't reachable.
8294 2000-06-08 Dave Love <fx@gnu.org>
8296 * international/mule-cmds.el (select-safe-coding-system): If
8297 DEFAULT-CODING-SYSTEM is not specified, also check the most
8298 preferred coding-system if buffer-file-coding-system is
8299 `undecided'. From Handa.
8301 2000-06-08 Kenichi Handa <handa@etl.go.jp>
8303 * international/mule.el
8304 (after-insert-file-set-buffer-file-coding-system): If the buffer
8305 size is greater than INSERTED, judget that we are not visiting.
8307 2000-06-07 Rajesh Vaidheeswarran <rv@gnu.org>
8309 * whitespace.el (defgroup whitespace): Comment out `:version'.
8310 XEmacs 20.4 has problems defining the group with this present.
8311 We'll have this commented out till get resolve the problem.
8313 2000-06-07 Gerd Moellmann <gerd@gnu.org>
8315 * align.el: Update from author.
8317 2000-06-07 Jari Aalto <jari.aalto@poboxes.com>
8319 * apropos.el (apropos-mode-hook): New user variable.
8320 (apropos-mode): Run apropos-mode-hook.
8322 2000-06-07 David Ponce <david@dponce.com>
8324 * recentf.el: Fixed recentf-edit-list and recentf-open-more-files
8325 commands. Require `wid-edit' at run-time.
8327 2000-06-07 David Ponce <david@dponce.com>
8329 * recentf.el: Added some "Commentary".
8330 (recentf-open-more-files, recentf-edit-list): Minor changes to
8331 move the point at the top of the file list. This behaviour is
8332 consistent with the menu one when the list contains a lot of
8334 (recentf-cleanup): Now displays the number of items removed from
8336 (recentf-relative-filter) New menu filter to show filenames
8337 relative to `default-directory'.
8339 2000-06-07 Vinicius Jose Latorre <vinicius@cpqd.com.br>
8341 * ps-print.el: XEmacs compatibility. Doc fix. Can select page size
8342 with/without giving an error if PostScript printer doesn't have this
8343 kind of page size. Zebra Stripe continues or restarts on next page.
8344 Manual/automatic paper feeding. Switch or not the header.
8345 (ps-print-version): New version number (5.2.2).
8346 (ps-windows-system): Include emx as a Windows system.
8347 (ps-setup, ps-begin-file, ps-color-values, ps-screen-to-bit-face)
8348 (ps-generate-postscript-with-faces, ps-generate-postscript-with-faces)
8349 (ps-background-text): Code fix.
8350 (ps-error-handler-message, ps-user-defined-prologue)
8351 (ps-print-prologue-header, ps-printer-name)
8352 (ps-print-control-characters, ps-n-up-filling, ps-zebra-color)
8353 (ps-line-number-step, ps-spool-config, ps-default-fg, ps-default-bg)
8354 (ps-use-face-background): Customization fix.
8355 (ps-n-up-database): Data fix.
8356 (ps-warn-paper-type, ps-zebra-stripe-follow, ps-manual-feed)
8357 (ps-switch-header): New vars.
8358 (ps-xemacs-color-name, ps-face-foreground-name)
8359 (ps-face-background-name, ps-boolean-constant): New funs.
8361 2000-06-07 Dave Love <fx@gnu.org>
8363 * allout.el: New version from Manheimer.
8365 2000-06-07 Kenichi Handa <handa@etl.go.jp>
8367 * textmodes/fill.el (fill-find-break-point): Check the validity of
8370 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8372 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
8373 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
8374 Call display-color-p and display-mouse-p instead of looking at
8377 2000-06-06 Dave Love <fx@gnu.org>
8379 * image.el (find-image): Doc fix. Return nil if image not found.
8380 (put-image, insert-image): Make STRING arg optional.
8382 2000-06-06 Kenichi Handa <handa@etl.go.jp>
8384 * language/vietnamese.el: Remove eval-when-compile.
8385 (viet-viscii-nonascii-translation-table): Define it as a
8386 translation table made from viet-viscii-decode-table.
8387 (viet-viscii-encode-table): Define it as a translation table made
8388 from the reverse map of above.
8389 (viet-vscii-nonascii-translation-table): Define it as a
8390 translation table made from viet-vscii-decode-table.
8391 (viet-vscii-encode-table): Define it as a translation table made
8392 from the reverse map of above.
8393 (ccl-decode-viscii): Use translate-character.
8394 (ccl-encode-viscii, ccl-encode-viscii-font)
8395 (ccl-decode-vscii, ccl-encode-vscii, ccl-encode-vscii-font):
8398 * language/cyrillic.el: Remove eval-when-compile.
8399 (cyrillic-koi8-r-nonascii-translation-table): Define it as a
8400 translation table made from cyrillic-koi8-r-decode-table.
8401 (cyrillic-koi8-r-encode-table): Define it as a translation table
8402 made from the reverse map of above.
8403 (ccl-decode-koi8): Use translate-character.
8404 (ccl-encode-koi8, ccl-encode-koi8-font): Likewize
8405 (cyrillic-alternativnyj-nonascii-translation-table): Define it as
8406 a translation table made from cyrillic-alternativnyj-decode-table.
8407 (cyrillic-alternativnyj-encode-table): Define it as a translation
8408 table made from the reverse map of above.
8409 (ccl-decode-alternativnyj): Use translate-character.
8410 (ccl-encode-alternativnyj, ccl-encode-alternativnyj-font):
8413 * international/mule-diag.el (non-iso-charset-alist): Specify
8414 translation table symbol instead of translation table itself.
8415 (list-block-of-chars): CHARSET may be a translation table symbol.
8417 * international/mule.el (make-coding-system): If CODING-SYSTEM
8418 already exists, override it.
8420 * international/fontset.el: Use family `proportional' for Tibetan
8423 * international/ccl.el (ccl-compile-translate-character): Don't
8424 check if Rrr has property translation-table.
8425 (ccl-compile-map-multiple): Modified to avoid compiler warning.
8427 2000-06-05 Gerd Moellmann <gerd@gnu.org>
8429 * info.el: Bind case-fold-search to t when searching in case
8430 a user sets it to nil in a hook.
8432 2000-06-05 Stefan Monnier <monnier@cs.yale.edu>
8434 * autoarg.el (autoarg-mode, autoarg-kp-mode):
8435 * hl-line.el (hl-line-mode): Use the new :global key argument.
8437 * tar-mode.el (tar-header-block-recompute-checksum): Remove.
8438 (tar-clip-time-string): Prepend a space.
8439 (tar-grind-file-mode): Construct a string rather than modifying one.
8440 (tar-header-block-summarize): Fix docstring.
8441 Use `format' rather than an error-prone set of copy-loops.
8443 * diff-mode.el (diff-font-lock-keywords, diff-hunk-header-re)
8444 (diff-goto-source, diff-unified->context, diff-context->unified)
8445 (diff-reverse-direction, diff-fixup-modifs): Fix the regexps to
8446 understand the format output by the `-p' argument to diff.
8448 * progmodes/sh-script.el (sh-symbol-list, sh-number-or-symbol-list)
8449 (sh-re-done): Use defconst.
8450 (sh-indent-supported-here, sh-electric-rparen-needed-here): Add defvar.
8451 (sh-help-string-for-variable, sh-guess-basic-offset):
8452 Don't quote lambdas.
8453 (sh-electric-rparen, sh-electric-hash, sh-search-word): Docstring typo.
8454 (sh-regexp-for-done, sh-kw-alist, sh-kw): Moved to before their use.
8456 * mail/mh-comp.el (mh-send-sub): Check mh-etc is bound before using it.
8457 (mh-letter-mode): Derive from text-mode.
8458 This implicitly means that it now calls kill-all-local-variables.
8459 Also remove the Emacs-18 compatibility code.
8461 * emacs-lisp/autoload.el (make-autoload): Simplify docstring.
8462 Make use of symbol-property doc-string-elt.
8463 Use memq rather than a sequence of eq.
8464 (doc-string-elt): Fix the wrong or missing previously unused values.
8465 (autoload-print-form): New function extracted from
8466 generate-file-autoloads to allow recursion when handling progn
8467 so that defvar's and defun's docstrings are properly printed.
8468 (generate-file-autoloads): Use it.
8470 * emacs-lisp/easy-mmode.el (easy-mmode-define-global-mode): Autoload.
8471 Use find-file-hooks in the minor-mode function.
8472 Be careful not to loop indefinitely in the post-command-hook function.
8474 2000-06-05 Michael Kifer <kifer@cs.sunysb.edu>
8476 * ediff-init.el (ediff-has-face-support-p): Make it paint faces on
8478 * ediff-diff.el (ediff-exec-process): Use --binary for fine
8479 differences whenever appropriate.
8480 * viper-cmd.el (viper-smart-suffix-list): Rearranged list members.
8481 * viper.el (find-file, find-file-other-window): Get viper to do
8484 2000-06-04 Stefan Monnier <monnier@cs.yale.edu>
8486 * jit-lock.el (jit-lock-saved-fontify-buffer-function): New var.
8487 (jit-lock-fontify-buffer): New function for JIT refontification.
8488 (jit-lock-mode): Fix docstring.
8489 Use jit-lock-fontify-buffer for font-lock-fontify-buffer-function.
8490 Remove jit-lock-after-change from the _local_ hook.
8491 (jit-lock-function-1): Fix docstring.
8493 * info.el (Info-on-current-buffer): Initialize info.
8495 * newcomment.el (comment-indent): Ignore comment-indent-hook.
8497 * progmodes/tcl.el (tcl-indent-for-comment):
8498 Ignore comment-indent-hook.
8500 * emacs-lisp/easy-mmode.el: Require CL during compilation.
8501 (easy-mmode-define-toggle): Remove (inline into define-minor-mode).
8502 (easy-mmode-pretty-mode-name): Rename from easy-mmode-derive-name
8503 and improve to use the lighter to guess the capitalization.
8504 (define-minor-mode): Inline code from easy-mmode-define-toggle.
8505 Add keyword arguments to specify global-ness or the custom group.
8506 Add local-map and help-echo properties to the lighter.
8507 (easy-mmode-define-navigation): Add the errors to debug-ignored-errors.
8508 (easy-mmode-define-global-mode): New macro.
8510 2000-06-02 Dave Love <fx@gnu.org>
8512 * wid-edit.el: byte-compile-dynamic since we typically don't use
8513 all the widgets. Don't require cl or widget. Remove
8514 eval-and-compile. Don't autoload finder-commentary. Doc fixes.
8515 (widget-read-event): Removed. Callers changed to use read-event.
8516 (widget-button-release-event-p): Renamed from
8517 button-release-event-p.
8518 (widget-field-add-space, widget-field-use-before-change):
8520 (widget-specify-field): Use keymap property, not local-map.
8521 (widget-specify-button): Obey :suppress-face.
8522 (widget-specify-insert): Use modern backquote syntax.
8523 (widget-image-directory): Renamed from widget-glyph-directory.
8524 (widget-image-enable): Renamed from widget-glyph-enable.
8525 (widget-image-find): Replaces widget-glyph-find.
8526 (widget-button-pressed-face): Move defvar.
8527 (widget-image-insert): Replaces widget-glyph-insert.
8528 (widget-convert): Use keywordp.
8529 (widget-leave-text, widget-children-value-delete): Use mapc.
8530 (widget-keymap): Remove XEmacs stuff.
8531 (widget-field-keymap, widget-text-keymap): Define all inside defvar.
8532 (widget-button-click): Don't set point at the click, but re-centre
8533 if we scroll out of window. Rewritten for images v. glyphs &c.
8534 (widget-tabable-at): Use POS arg, not point.
8535 (widget-beginning-of-line, widget-end-of-line)
8536 (widget-item-value-create, widget-sublist, widget-princ-to-string)
8537 (widget-sexp-prompt-value, widget-echo-help): Simplify.
8538 (widget-default-create): Use widget-image-insert; some rewriting.
8539 (widget-visibility-value-create)
8540 (widget-push-button-value-create, widget-toggle-value-create): Use
8541 widget-image-insert.
8542 (checkbox): Create on and off images dynamically.
8543 (documentation-link): Change :help-echo.
8544 (widget-documentation-link-echo-help): Remove.
8546 2000-06-02 Stefan Monnier <monnier@cs.yale.edu>
8548 * log-edit.el (log-edit-done): Thinko in the "same comment" detection.
8550 * emacs-lisp/easy-mmode.el (easy-mmode-derive-name): New function.
8551 (easy-mmode-define-toggle, define-minor-mode): Use it.
8552 (easy-mmode-define-keymap): Docstring fix.
8553 (define-derived-mode): Default PARENT to fundamental-mode.
8554 Add the derived-mode-parent symbol-property.
8555 (easy-mmode-derived-mode-p): New function.
8557 2000-06-02 Dave Love <fx@gnu.org>
8559 * files.el (convert-standard-filename): Doc fix.
8560 (normal-backup-enable-predicate): New function.
8561 (backup-enable-predicate): Use it to replace the lambda form.
8563 * calendar/todo-mode.el: [This needs more work on the outline
8565 (todo) <defgroup>: Add :version.
8566 (todo-add-category): Don't use pushnew.
8567 (todo-cmd-raise): Fix typo.
8568 (todo-top-priorities): Change temp buffer name.
8569 (todo-category-alist): Avoid redundant lambda.
8570 (todo-mode): Set paragraph-separate, outline-regexp from todo-prefix.
8571 Use outline-next-heading.
8573 * autoarg.el: Rewritten to use define-minor-mode.
8574 (autoarg-kp-digits, autoarg-kp-mode-map): New variable.
8575 (autoarg-kp-mode, autoarg-kp-digit-argument): New command.
8577 2000-06-02 Kenichi Handa <handa@etl.go.jp>
8579 * isearch.el (isearch-other-meta-char): Fix previous change.
8581 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8583 * log-edit.el (log-edit-mode): Make vc-comment-ring-index local.
8584 (log-edit-done): Only add the comment to the ring if it's different
8585 from the last comment entered.
8587 * isearch.el (isearch-highlight): Turn internal-find-face into facep.
8589 2000-06-01 Dave Love <fx@gnu.org>
8591 * hl-line.el: Rewritten using define-minor-mode.
8593 * help.el (describe-function-1): Distinguish special form from
8594 builtin function. Sanity-check presence of arglist for builtins.
8596 2000-06-01 Kenichi Handa <handa@etl.go.jp>
8598 * international/characters.el: Fix syntax/category setting of
8601 * language/tibet-util.el (tibetan-add-components): Fixes for new
8602 encoding of Tibetan characters.
8603 (tibetan-decompose-precomposition-alist): New variable.
8604 (tibetan-decompose-region): Convert precomposed characters to
8605 non-precomposed characters.
8606 (tibetan-decompose-string): Likewise.
8607 (tibetan-composition-function): Fix args to
8608 thibetan-compose-string.
8610 * language/tibetan.el (tibetan-composable-pattern): More
8611 characters included.
8612 (tibetan-consonant-transcription-alist): Rule for "R" added.
8613 (tibetan-subjoined-transcription-alist): Rules for "+W", "+Y", and
8615 (tibetan-base-to-subjoined-alist): Rule for "RA" added.
8617 * language/lao-util.el (lao-composition-function): Fix args to
8620 * language/thai-util.el (thai-composition-function): Fix args to
8623 * isearch.el (isearch-update): Set disable-point-adjustment to t
8624 to prevent the point moving to the end of a composition when a
8625 part of a composition is searched.
8626 (isearch-other-meta-char): If the key invoking this command can be
8627 mapped by function-key-map to a printing char, call
8628 isearch-process-search-char directly.
8630 2000-06-01 Stefan Monnier <monnier@cs.yale.edu>
8632 * emacs-lisp/bytecomp.el:
8634 * international/mule-cmds.el:
8635 * international/mule-util.el:
8636 * international/mule.el:
8639 * faces.el: Update calls to make-obsolete with a WHEN argument.
8641 * byte-run.el (make-obsolete, make-obsolete-variable):
8642 Add an optional WHEN argument and change the format of the
8643 symbol-property information.
8644 * emacs-lisp/bytecomp.el (byte-compile-log): Don't quote lambda.
8645 (byte-compile-obsolete, byte-compile-variable-ref): Understand the
8646 new obsolete-symbol-property format and print WHEN if it is provided.
8648 2000-05-31 Dave Love <fx@gnu.org>
8650 * loadhist.el (loadhist-hook-functions): Remove
8651 before-change-function, after-change-function.
8652 (unload-feature): Deal with symbols which are both bound and
8655 * mouse.el (mouse-save-then-kill-delete-region): Don't bind
8656 before-change-function, after-change-function.
8658 * simple.el (newline): Don't bind before-change-function,
8659 after-change-function.
8661 2000-05-31 Rajesh Vaidheeswarran <rv@gnu.org>
8663 * whitespace.el (whitespace-rescan-timer-time): Update interval
8664 set to 600 seconds (10 minutes) instead of 60 seconds since
8665 a large number of whitespace buffers causes emacs to `freeze'
8666 for a considerable amount of time.
8668 * whitespace.el: Updated email address
8670 2000-05-31 Dave Love <fx@gnu.org>
8672 * add-log.el (change-log-font-lock-keywords) <function>: Add
8673 pattern for function of change.
8674 (change-log-font-lock-keywords) <acknowledgements>: Amalgamate
8675 acknowledgements patterns.
8677 2000-05-31 Kenichi Handa <handa@etl.go.jp>
8679 * isearch.el (isearch-printing-char): If keyboard coding system is
8680 being used, call isearch-process-search-multibyte-characters.
8682 * international/isearch-x.el: Mostly rewritten.
8684 * international/quail.el (quail-start-conversion): Don't include
8685 unhandled events in the returned events, but set them in
8686 unread-command-events. Exit if all inputs are deleted.
8688 2000-05-30 Jason Rumney <jasonr@gnu.org>
8690 * w32-fns.el (w32-charset-info-alist): Add each charset separately.
8692 * term/w32-win.el: Doc changes to reduce diffs with x-win.el.
8693 Reenable code to create initial fontsets.
8694 Use set-fontset-font in place of put-charset-property.
8696 2000-05-30 Gerd Moellmann <gerd@gnu.org>
8698 * progmodes/perl-mode.el (perl-indent-line): When looking for a
8699 label, ensure that the first colon isn't followed by another.
8701 * paths.el (Info-default-directory-list): Doc fix.
8703 * net/net-utils.el (finger-X.500-host-regexps): New user-option.
8704 (finger): If HOST matches a regexp from finger-X.500-host-regexps,
8705 send a query containing USER only, not USER@HOST.
8707 * mail/rmail.el (rmail-widen-to-current-msgbeg): Use rmail-msgbeg
8708 and rmail-msgend to compute the restriction at the end, instead of
8711 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8713 * dabbrev.el (dabbrev-expand): Don't display messages in the
8714 echo area if the minibuffer window is active.
8716 * jit-lock.el (jit-lock-mode): Add after change function to
8719 2000-05-29 Christoph Wedler <Christoph.Wedler@sap.com>
8721 * antlr-mode.el: New commands: hide/unhide actions,
8722 upcase/downcase literals.
8723 (antlr-tiny-action-length): New user option.
8724 (antlr-hide-actions): New command. Suggested by
8725 Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
8726 (antlr-mode-map): New binding [C-c C-v].
8727 (antlr-mode-menu): New entries.
8728 (antlr-downcase-literals): New command.
8729 (antlr-upcase-literals): Ditto.
8731 * antlr-mode.el: Minor changes: indendation, mode-name.
8732 (antlr-indent-line): Indent cpp directive at column 0.
8733 (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
8735 * antlr-mode.el: XEmacs bug workaround, XEmacs hint.
8736 (antlr-font-lock-additional-keywords): Workaround for intentional
8737 bug in XEmacs version of font-lock.
8738 (antlr-mode): Set symbol property `mode-name' to "Antlr". Could
8739 be used by a smarter version of `buffers-menu-grouping-function'.
8741 2000-05-29 Gerd Moellmann <gerd@gnu.org>
8743 * tmm.el (tmm-prompt): Recognize menu item definitions of the for
8744 `(menu-item ...)' when looking for the position of DEFAULT-ITEM.
8746 2000-05-29 Kenichi Handa <handa@etl.go.jp>
8748 * international/encoded-kb.el
8749 (encoded-kbd-iso2022-designation-map): Pay attention to that
8750 charset-iso-final-char return -1 for eight-bit-control and
8753 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8755 * speedbar.el (speedbar-use-images, speedbar-update-flag)
8756 (speedbar-easymenu-definition-base): Use display-graphic-p where
8757 available, instead of window-system.
8759 2000-05-28 Eli Zaretskii <eliz@is.elta.co.il>
8761 * international/codepage.el (cp-coding-system-for-codepage-1): Add
8762 eight-bit-graphic and eight-bit-control to safe charsets for cpNNN
8765 2000-05-26 Dave Love <fx@gnu.org>
8767 * disp-table.el (standard-display-underline): Don't use
8770 * mail/reporter.el: Maintainer change. Doc fixes.
8771 (reporter-version): Deleted.
8773 * emacs-lisp/elp.el: Maintainer change.
8774 (elp-help-address, elp-submit-bug-report, elp-version): Deleted.
8776 2000-05-26 Stefan Monnier <monnier@cs.yale.edu>
8778 * add-log.el (add-change-log-entry): Merge the current entry with the
8779 previous one if the previous one is empty.
8781 2000-05-26 Dave Love <fx@gnu.org>
8783 * loadhist.el (unload-feature): Fix interactive spec [from
8784 lijnzaad@ebi.ac.uk].
8786 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Use
8787 subr-arity to check primitives.
8788 (byte-compile-flush-pending, byte-compile-file-form-progn)
8789 (byte-compile-normal-call, byte-compile-list, byte-compile-concat)
8790 (byte-compile-insert, byte-compile-funcall): Use mapc instead of
8793 2000-05-26 Kenichi Handa <handa@etl.go.jp>
8795 * international/fontset.el: Set family names of non-latin charsets
8796 in default fontset to "*".
8798 * international/mule-diag.el (print-fontset): Combine family part
8799 and registry part of the fontname by "-*-" instead of "-".
8801 * international/mule-cmds.el (encode-coding-char): Make strings
8802 multibyte before calling encode-coding-string.
8804 2000-05-25 Stefan Monnier <monnier@cs.yale.edu>
8806 * derived.el: Fix keywords.
8807 (define-derived-mode): Only define if needed.
8809 * simple.el (fill-comment, comment-column, comment-start)
8810 (comment-start-skip, comment-end, comment-indent-function)
8811 (block-comment-start, block-comment-end, indent-for-comment)
8812 (set-comment-column, kill-comment, comment-padding, comment-region)
8813 (comment-multi-line, indent-new-comment-line): Remove.
8815 * bindings.el (esc-map): Change ; to comment-dwim and use the new
8816 function names for comment operations.
8818 * newcomment.el: Add abundant autoload cookies.
8819 (comment-style): Don't depend on runtime data at compile-time.
8820 (comment-indent-hook): Remove.
8821 (comment-indent): Check if comment-indent-hook is bound.
8822 (comment-region): Docstring fix.
8824 2000-05-25 Dave Love <fx@gnu.org>
8826 * emacs-lisp/elp.el (elp-restore-function): Don't use obsolete
8827 byte-code-function-p.
8829 * mail/rmailsum.el: Add provide.
8831 * net/goto-addr.el (goto-address-fontify): Add help-echo property.
8833 * smerge-mode.el (smerge-diff-switches): Don't use list* in
8836 2000-05-25 Michael Kifer <kifer@cs.sunysb.edu>
8838 * ediff-diff.el (ediff-exec-process): delete --binary option from
8839 non-buffer ediff jobs.
8841 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8843 * hilit-chg.el (highlight-changes-mode): Ask about color or
8844 grayscale support, not about window-system.
8846 * ffap.el (ffap-menu-text-plist): Use display-mouse-p, not
8848 (ffap-highlight): Always default to t.
8850 * emacs-lisp/edebug.el (edebug-emacs-19-specific): Call
8851 display-popup-menus-p instead of looking at window-system.
8853 * disp-table.el (standard-display-g1, standard-display-graphic):
8854 Only refuse to use string glyphs on X and MS-Windows.
8856 * avoid.el: Remove window-system from commentary, suggest to use
8857 display-*-p instead.
8859 * apropos.el (apropos-print): Use display-mouse-p instead of
8862 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8864 * international/codepage.el (cp-decoding-vector-for-codepage):
8865 Fill up unsupported characters with their own codes. From Kenichi
8868 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8870 * international/mule-diag.el (describe-char-after): Use
8871 display-graphic-p instead of window-system, so that this function
8874 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il>
8876 * international/codepage.el (cp-make-coding-systems-for-codepage):
8877 Remove the eight-bit-graphic and eight-bit-control charsets from
8878 the list of charsets which we convert into `?'.
8880 2000-05-25 Kenichi Handa <handa@etl.go.jp>
8882 * international/mule-conf.el: Specify CHARSET-ID explicitely for
8884 (mule-unicode-0100-24ff, japanese-jisx0213-1,
8885 japanese-jisx0213-2): New charsets.
8887 * international/fontset.el: Setup default fontset for new charsets.
8889 2000-05-24 Dave Love <fx@gnu.org>
8891 * info.el (Info-find-node-2): Restructure [following "Vadim
8892 S. Solomin" <sovs@uic.nnov.ru>].
8894 * icomplete.el: Fix header for Finder.
8896 2000-05-24 Eric M. Ludlam <zappo@ultranet.com>
8898 * rmailout.el (rmail-output-to-rmail-file): Added optional param
8901 * rmail.el (rmail-automatic-folder-directives): New user variable.
8902 (rmail-show-message): Add call to `rmail-auto-file' during
8904 (rmail-auto-file): New function.
8906 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8908 * ediff-diff.el (ediff-forward-word): Take syntactic word class into
8910 (ediff-test-utility,ediff-diff-mandatory-option)
8911 (ediff-reset-diff-options): Utilities for proper initialization of
8912 ediff-diff-options and ediff-diff3-options on Windows.
8914 * ediff-init.el (ediff-merge-filename-prefix): New customizable
8917 * ediff-mult.el (ediff-filegroup-action): Use
8918 ediff-merge-filename-prefix.
8920 2000-05-24 Michael Kifer <kifer@cs.sunysb.edu>
8922 * viper-ex.el (ex-write): Set selective display to nil.
8924 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8926 * language/hebrew.el (iso-8859-8-e, iso-8859-8-i): For now, just
8927 aliases for hebrew-iso-8bit.
8929 2000-05-24 Eli Zaretskii <eliz@is.elta.co.il>
8931 * woman.el: New version from Francis J. Wright
8932 <F.J.Wright@Maths.QMW.ac.uk>.
8933 (woman-parse-colon-path): Support Cygwin-style //d/foo/bar file
8934 names in environment variables regardless of the path separator.
8935 (woman-topic-all-completions-1): Don't call file-name-directory-p
8936 on all files, since woman-file-regexp already filters out any
8939 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8941 * international/quail.el (quail-start-translation): Don't change
8942 modified-p of the current buffer.
8943 (quail-start-conversion): Likewise.
8945 * international/kkc.el (kkc-region): Don't change modified-p of
8948 * language/japanese.el (iso-2022-jp): Exclude katakana-jisx0201 to
8950 (iso-2022-jp-2): Exclude katakana-jisx0201 to conform to RFC1554.
8952 2000-05-23 Eric M. Ludlam <zappo@ballista.ultranet.com>
8954 * speedbar.el (speedbar-easymenu-definition-base): Image toggle fix.
8955 (speedbar-insert-button): Invisible text property fix.
8956 (speedbar-directory-plus): Renamed from speedbar-directory-+
8957 (speedbar-directory-minus): Renamed from speedbar-directory--
8958 (speedbar-page-plus): Renamed from speedbar-file-+
8959 (speedbar-page-minus): Renamed from speedbar-file--
8960 (speedbar-page): Renamed from speedbar-file-
8961 (speedbar-tag): Renamed from speedbar-tag-
8962 (speedbar-tag-plus): Renamed from speedbar-tag-+
8963 (speedbar-tag-minus): Renamed from speedbar-tag--
8964 (speedbar-expand-image-button-alist): Use above renames.
8966 * sb-dir-plus.xpm: Renamed from sb-dir+.xpm
8967 * sb-dir-minus.xpm: Renamed from sb-dir-.xpm
8968 * sb-pg-plus.xpm: Renamed from sb-file+.xpm
8969 * sb-pg-minus.xpm: Renamed from sb-file-.xpm
8970 * sb-pg.xpm: Renamed from sb-file.xpm
8971 * sb-tag-plus.xpm: Renamed from sb-tag+.xpm
8972 * sb-tag-minus.xpm: Renamed from sb-tag-.xpm
8974 2000-05-24 Kenichi Handa <handa@etl.go.jp>
8976 * international/quail.el (quail-show-guidance-buf): Set
8977 current-input-method of the guidance buffer to the name of the
8978 curren input method.
8980 2000-05-23 Stefan Monnier <monnier@cs.yale.edu>
8982 * progmodes/compile.el (compile-internal): Style typo.
8984 * mail/mh-e.el (mh-do-not-confirm, mh-folder-mode):
8985 quote vars and functions in the docstring.
8987 * newcomment.el (comment-make-extra-lines): Don't use `assert'.
8989 * completion.el (dynamic-completion-mode, dynamic-completion-mode):
8990 Don't quote lambdas.
8992 * ffap.el (ffap-highlight): Use facep rather than internal-find-face.
8994 2000-05-23 Gerd Moellmann <gerd@gnu.org>
8996 * startup.el (command-line): Determine source file of compiled
8997 user init file differently. Warn if compiled user init file
8998 is older than its source file.
9000 * ffap.el (ffap-url-regexp): Add `https'.
9002 2000-05-23 Eli Zaretskii <eliz@is.elta.co.il>
9004 * files.el (make-backup-file-name-1): Replace slashes with `!'
9005 rather than `|' (which is not allowed on Windows). Replace the
9006 drive letters with a string "drive_X".
9008 2000-05-23 Gerd Moellmann <gerd@gnu.org>
9010 * progmodes/sh-script.el (sh-ancestor-alist): Add `bash2'.
9012 * files.el (interpreter-mode-alist): Add `bash2'.
9014 2000-05-22 Dave Love <fx@gnu.org>
9016 * loadhist.el (feature-symbols, file-provides, file-requires): Use
9018 (feature-file): Avoid calling symbol-name. Doc fix.
9019 (file-set-intersect, file-dependents): Use dolist, not mapcar.
9020 (loadhist-hook-functions): Add mouse-position-function.
9021 (unload-feature): Change uses of mapcar.
9023 * files.el (parse-colon-path): Doc fix.
9024 (auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
9025 (set-auto-mode): Use mapc.
9027 * complete.el (PC-look-for-include-file): Use :alnum: character
9029 (partial-completion-mode): Add autoload cookie.
9031 2000-05-22 Sam Steingold <sds@gnu.org>
9033 * info.el (Info-fontify-node): Fixed the call to
9034 `add-text-properties' (bug introduced on 2000-05-18).
9036 2000-05-22 Dave Love <fx@gnu.org>
9038 * bindings.el: Remove debug-ignored-errors set in other files.
9040 * progmodes/etags.el: Add to debug-ignored-errors.
9041 (visit-tags-table-buffer): Clear out buffers holding old tables
9042 when making a new list.
9043 (etags-recognize-tags-table, tags-recognize-empty-tags-table): Use
9046 * completion.el: Doc fixes. Add to debug-ignored-errors. Don't
9048 (cmpl-string-case-type): Use character classes.
9051 * textmodes/ispell.el:
9054 * progmodes/compile.el: Add to debug-ignored-errors.
9056 * dabbrev.el: Add to debug-ignored-errors.
9057 (dabbrev-completion): Use mapc.
9059 2000-05-22 Eli Zaretskii <eliz@is.elta.co.il>
9061 * woman.el (From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
9062 (woman-mapcan, woman-parse-man.conf)
9063 (woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
9064 (woman-reset-emulation, woman-select-symbol-fonts): New functions.
9065 (woman-parse-colon-path): Call woman-mapcan. Recognize Cygwin
9067 (woman-man.conf-path, woman-use-own-frame): New defcustoms.
9068 (woman-manpath): Call woman-parse-man.conf.
9069 (woman-emulation): New defcustom, defaults to nroff.
9070 (woman-font-support): New defconst.
9071 (woman-use-symbol-font): New defcustom.
9072 (woman-menu): Add new menu items: "Colored/BW", "Advanced",
9074 Many functions: Doc fix.
9076 2000-05-22 Kenichi Handa <handa@etl.go.jp>
9078 * international/quail.el (quail-simple-translation-keymap): Map
9079 128..255 to quail-self-insert-command.
9080 (quail-keyboard-layout-alist): Add definition for "pc102-de".
9082 2000-05-22 Stefan Monnier <monnier@cs.yale.edu>
9084 * help.el (help-manyarg-func-alist): Typo.
9086 * emacs-lisp/sregex.el: Rewritten to take advantage of shy-groups and
9087 intervals which makes it heaps simpler.
9089 * newcomment.el (comment-region-internal): Go back to BEG after quoting
9090 the nested comment markers.
9092 * subr.el (remove-hook): Don't turn the hook's value into a list.
9094 2000-05-21 Dave Love <fx@gnu.org>
9096 * edmacro.el (edmacro-parse-keys): Return vector if any elements
9097 are invalid characters.
9099 * international/mule-util.el (detect-coding-with-priority): Use
9100 mapc. Remove redundant lambda.
9102 * international/mule-diag.el (list-non-iso-charset-chars)
9103 (describe-fontset): Remove redundant lambda.
9105 * emulation/crisp.el (brief-mode): New alias.
9107 * emacs-lisp/ring.el (ring-elements): New function.
9109 * emacs-lisp/easymenu.el (easy-menu-create-menu)
9110 (easy-menu-do-add-item): Use keywordp.
9112 * emacs-lisp/byte-opt.el: Update side-effect free function lists.
9114 * replace.el: Doc and error message fixes.
9115 (replace-highlight): Use facep, not internal-find-face.
9117 2000-05-20 Stefan Monnier <monnier@cs.yale.edu>
9119 * international/ccl.el (ccl-compile-map-multiple): Don't quote lambda.
9121 * log-edit.el (log-edit-done): Cleanup trailing empty lines.
9122 (log-edit-insert-changelog): Drop `:' as well.
9124 * log-view.el: Fix file description.
9125 (log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
9127 (log-view-font-lock-keywords): Only use cvs-filename-face if present.
9128 (log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.
9130 * emacs-lisp/easy-mmode.el: Update copyright and commentary.
9131 (easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
9132 Print a status message if the toggle is called interactively.
9133 (define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
9134 for global minor modes and use `defcustom' for them.
9136 (easy-mmode-define-derived-mode): Remove.
9137 (define-derived-mode): Fancier default docstring.
9138 (easy-mmode-define-navigation): Signal an error rather than (ding).
9140 * newcomment.el (comment-styles): New `box-multi'.
9141 (comment-normalize-vars): Better default for comment-continue to
9142 avoid whitespace-only continuations.
9143 (comment-search-forward): Always move even in the no-syntax case.
9144 (comment-padright): Only obey N if it's only obeyed for padleft.
9145 (comment-make-extra-lines): Better handling of empty continuations.
9146 Use `=' for the filler if comment-start has only one character.
9147 (uncomment-region): Try handling the special `=' filler.
9148 (comment-region): Allow LINES even if MULTI is nil.
9149 (comment-box): Choose box style based on comment-style.
9151 2000-05-20 Kenichi Handa <handa@etl.go.jp>
9153 * international/ccl.el (ccl-compile-write-string): Make STR unibyte.
9154 (ccl-compile-write-repeat): If ARG is string, make it unibyte.
9156 2000-05-20 Kenichi HANDA <handa@etl.go.jp>
9158 * mail/rmail.el (rmail-decode-quoted-printable): Use delete-region
9159 and insert, not subst-char-in-region.
9161 * international/mule-diag.el (list-character-sets-1): Handle
9162 charsets eight-bit-control and eight-bit-graphic.
9163 (list-iso-charset-chars): Likewise.
9164 (list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
9165 charactes as is. Use indent-to to align characters.
9167 * international/mule-cmds.el (find-multibyte-characters): Never
9168 exclude charsets eight-bit-control and eight-bit-graphic.
9170 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9172 * progmodes/ada-mode.el (ada-mode, ada-create-case-exception):
9173 Don't quote lambdas.
9175 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Set comment-add.
9177 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9179 * gud.el (gud-jdb-directories): Doc fix.
9181 2000-05-19 Stefan Monnier <monnier@cs.yale.edu>
9183 * newcomment.el: New file.
9185 2000-05-19 Gerd Moellmann <gerd@gnu.org>
9187 * files.el (auto-mode-alist): Add pattern for POSIX `.shrc'.
9189 2000-05-18 Andreas Schwab <schwab@suse.de>
9191 * dired.el (dired-between-files): Also skip lines beginning with
9194 2000-05-18 Gerd Moellmann <gerd@gnu.org>
9196 * msb.el (msb-menu-cond): Add choice `user'.
9198 2000-05-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9200 * ps-print.el: Compatibility, customization and doc fix.
9201 (ps-printer-name-option): Replace defconst by defvar.
9202 (ps-postscript-code-directory): XEmacs compatibility.
9203 (ps-header-sheet, ps-setup, ps-begin-file, ps-begin-job): Code
9205 (ps-user-defined-prologue, ps-print-prologue-header)
9206 (ps-xemacs-face-kind-p, ps-face-bold-p, ps-face-italic-p): XEmacs
9207 compatibility and code fix.
9208 (ps-print-background-image, ps-print-background-text):
9210 (ps-line-number-start, ps-n-up-on): New vars.
9212 2000-05-18 Espen Skoglund <esk@ira.uka.de>
9214 * pascal.el (pascal-indent-alist, pascal-indent-comment): Changed
9215 the indent-comment function to just return the appropriate indent.
9217 2000-05-18 Eric M. Ludlam <zappo@ultranet.com>
9219 * sb-dir+.xpm, sb-dir-.xpm, sb-dir.xpm, sb-file+.xpm, sb-file-.xpm,
9220 sb-file.xpm, sb-mail.xpm, sb-tag+.xpm, sb-tag-.xpm, sb-tag-gt.xpm,
9221 sb-tag-type.xpm, sb-tag-v.xpm, sb-tag.xpm: New Files
9223 2000-05-18 Dave Love <fx@gnu.org>
9225 * info.el (Info-fontify-node): Add intangible property as well as
9228 * calendar/appt.el (appt-make-list): Match all lines of entry.
9229 From "Stefan M. Walther (SMW)" <walther@netz.klinik.uni-mainz.de>
9231 2000-05-18 Kenichi Handa <handa@etl.go.jp>
9233 * international/mule-diag.el (describe-char-after): Call
9234 internal-char-font, not char-font. If internal-char-font returns
9235 nil, display "-- none --".
9237 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9239 * image.el (image-type-available-p): Don't reference image-types
9242 2000-05-17 Stefan Monnier <monnier@cs.yale.edu>
9244 * autoarg.el (autoarg-mode): Typo in the :set argument.
9246 2000-05-17 Eli Zaretskii <eliz@is.elta.co.il>
9248 * startup.el (command-line-1): Don't signal an error if the
9249 directory for auto-save-list files does not yet exist.
9251 2000-05-17 Kenichi Handa <handa@etl.go.jp>
9253 * international/mule-conf.el (arabic-iso8859-6): Fix typo.
9255 2000-05-16 Stefan Monnier <monnier@cs.yale.edu>
9257 * subr.el (remove-hook): `setq' hook-value, not `set'.
9259 2000-05-16 Sam Steingold <sds@gnu.org>
9261 * info.el (debug-ignored-errors): More errors to ignore.
9263 2000-05-16 Dave Love <fx@gnu.org>
9265 * cus-edit.el: Don't require cl or easymenu.
9266 (custom-variable-prompt): Test standard-value property, not
9269 2000-05-16 Sam Steingold <sds@gnu.org>
9271 * subr.el (add-hook): `setq' hook-value, not `set'.
9273 2000-05-16 Gerd Moellmann <gerd@gnu.org>
9275 * startup.el (command-line-1): Mention the FAQ in the startup
9278 * help.el (view-emacs-FAQ): Change `emacs-faq' to `efaq'.
9280 * progmodes/compile.el (compilation-parse-errors): Collect
9281 `nomessage' regexps last.
9283 * dired.el (dired-mode-map): Use dired-do-query-replace-regexp.
9285 * dired-aux.el (dired-do-query-replace-regexp): Add `-regexp'
9286 to the function name.
9288 2000-05-15 Dave Love <fx@gnu.org>
9290 * speedbar.el (speedbar-recenter): Typo.
9291 (speedbar-expand-line): Make arg optional.
9292 (speedbar-mode): Avoid a compiler warning.
9294 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9296 * progmodes/sh-script.el (sh-while-getopts) <sh>: Handle case that
9297 user-specified option string is empty.
9299 * mouse.el (mouse-yank-at-click): Doc fix.
9301 2000-05-15 Eli Zaretskii <eliz@is.elta.co.il>
9303 * term/internal.el (IT-character-translations): More updates of
9304 latin-iso8859-14 and latin-iso8859-15 from the latest ISO/IEC
9307 2000-05-15 Gerd Moellmann <gerd@gnu.org>
9309 * env.el (getenv): New function, interactively callable.
9310 (setenv, getenv): Remove autoload cookies.
9312 * loadup.el: Load `env'.
9314 * progmodes/f90.el: Change author's mail address.
9316 2000-05-14 Dave Love <fx@gnu.org>
9318 * mail/rmail.el (rmail-show-message-hook): Customize and offer
9319 goto-addr as an option.
9321 * help.el (help-xref-stack): Doc fix.
9322 (help-xref-following): New variable.
9323 (help-make-xrefs): Use it.
9324 (help-xref-go-back): Use position information from stack element.
9325 (help-follow): Make position in stack element a pair. Use
9326 help-xref-following.
9328 * autoarg.el: New file.
9330 * faces.el: Declare more functions obsolete.
9332 * viet-util.el, thai-util.el, tibet-util.el.elc, slovak.el
9333 * misc-lang.el, romanian.el, korea-util.el.elc, lao-util.el
9334 * japan-util.el, greek.el, hebrew.el, european.el, ethio-util.el
9335 * english.el, czech.el, devan-util.el, cyril-util.el, china-util.el:
9336 Remove all the setup-...-environment functions.
9338 2000-05-13 Eric M. Ludlam <zappo@ultranet.com>
9340 * speedbar.el: Updated the commentary section. xemacs20p now uses
9341 >= when detecting. Require `defimage' safely.
9342 (speedbar-easymenu-definition-base): Add toggle for images.
9343 (speedbar-easymenu-definition-special): Add flush cache & expand.
9344 (speedbar-visiting-tag-hook): Set new defaults. Added options.
9345 (speedbar-reconfigure-keymaps-hook): New variable.
9346 (speedbar-frame-parameters): Updated documentation.
9347 (speedbar-use-imenu-flag): Updated custom tag
9348 (speedbar-dynamic-tags-function-list): New variable.
9349 (speedbar-tag-hierarchy-method): Updated doc & custom.
9350 (speedbar-indentation-width, speedbar-indentation-width) New
9352 (speedbar-hide-button-brackets-flag): Customizable.
9353 (speedbar-vc-indicator): Doc update.
9354 (speedbar-ignored-path-expressions): Updated default value.
9355 (speedbar-supported-extension-expressions): Updated default value.
9356 (speedbar-syntax-table): Remove {} paren status.
9357 (speedbar-file-key-map, speedbar-buffers-key-map): Add "=" to act
9358 as "+". Added overlay aliases.
9359 (speedbar-mode): Use `speedbar-mode-line-update' instead of
9360 `force-mode-line-update'.
9361 (speedbar-mode, speedbar-quick-mouse, speedbar-click)
9362 (speedbar-double-click): Use `speedbar-mouse-set-point' instead of
9364 (speedbar-reconfigure-keymaps): Run configure keymap hooks.
9365 (speedbar-item-info-tag-helper): Revamped to handle a wider range
9366 of arbitrary text, and new helper functions.
9367 (speedbar-item-copy, speedbar-item-rename): Fixed trailing \ in
9369 (speedbar-make-button): Call `speedbar-insert-image-button-maybe'.
9370 (speedbar-directory-buttons): Update path search/expansion.
9371 (speedbar-make-tag-line): Pay attention to
9372 `speedbar-indentation-width'. Use more care w/ invisible
9374 (speedbar-change-expand-button-char): Call
9375 `speedbar-insert-image-button-maybe'.
9376 (speedbar-apply-one-tag-hierarchy-method): Deleted (and replaced).
9377 (speedbar-sort-tag-hierarchy, speedbar-prefix-group-tag-hierarchy)
9378 (speedbar-trim-words-tag-hierarchy)
9379 (speedbar-simple-group-tag-hierarchy): New functions
9380 (speedbar-create-tag-hierarchy): Update doc, use new tag hooks.
9381 (speedbar-insert-imenu-list, speedbar-insert-etags-list): New
9383 (speedbar-mouse-set-point): New function
9384 (speedbar-power-click): Updated documentation.
9385 (speedbar-line-token, speedbar-goto-this-file): Handle more types
9387 (speedbar-expand-line, speedbar-contract-line): Make more robust
9389 (speedbar-expand-line): Takes universal argument to flush the
9391 (speedbar-flush-expand-line): New function.
9392 (speedbar-tag-file): Use new `speedbar-fetch-dynamic-tags' fn.
9393 Use new generator insertion method.
9394 (speedbar-fetch-dynamic-tags): New function.
9395 (speedbar-fetch-dynamic-imenu): Removed code now handled in
9396 `speedbar-fetch-dynamic-imenu'.
9397 (speedbar-fetch-dynamic-etags): Fix current buffer problem.
9398 (speedbar-buffer-easymenu-definition): Added "Kill Buffer", and
9399 "Revert Buffer" menu items.
9400 (speedbar-buffer-buttons-engine): Be smarter when creating a
9401 filename tag (for expansion purposes.).
9402 (speedbar-highlight-one-tag-line,
9403 (speedbar-unhighlight-one-tag-line, speedbar-recenter-to-top)
9404 (speedbar-recenter): New functions.
9405 (defimage-speedbar): Image loading abstraction.
9406 (speedbar-directory-+, speedbar-directory--, speedbar-file-+)
9407 (speedbar-file--, speedbar-file-, speedbar-tag-, speedbar-tag-+)
9408 (speedbar-tag--, speedbar-tag-gt, speedbar-tag-v)
9409 (speedbar-tag-type, speedbar-tag-mail): New images.
9410 (speedbar-expand-image-button-alist): New variable.
9411 (speedbar-insert-image-button-maybe): Insert an image over some
9414 2000-05-13 Kenichi Handa <handa@etl.go.jp>
9416 * international/mule-cmds.el (encode-coding-char): An ASCII
9417 character is always encodable.
9419 * international/mule-conf.el: Add more information in descriptions
9422 * international/mule-diag.el (describe-char-after): New function.
9423 (describe-font-internal): Adjusted for the change of font-info.
9424 (describe-font): Likewise.
9425 (print-fontset): Rewritten for the new fontset implementation.
9426 (describe-fontset): Include fontset alias names in completion.
9427 (list-fontsets): Adjusted for the change of print-fontset.
9429 * simple.el (what-cursor-position): If DETAIL is non-nil, call
9430 describe-char-after instead of displaying the detail in the echo
9432 (syntax-code-table): Format changed.
9433 (string-to-syntax): Adjusted for the above change.
9435 2000-05-12 Stefan Monnier <monnier@cs.yale.edu>
9437 * font-lock.el (lisp-font-lock-keywords-1): Add define-minor-mode.
9439 2000-05-12 Dave Love <fx@gnu.org>
9441 * calendar/todo-mode.el: Remove some compatibility stuff and CL
9442 dependence. Use line-{beginning,end}-position, not
9443 point-at{b,e}ol. Some doc fixes.
9444 (todo-position): New function. Fix callers of position to use it.
9445 (todo-save-top-priorities, todo-print): Use with-temp-buffer.
9447 2000-05-12 Gerd Moellmann <gerd@gnu.org>
9449 * time.el (display-time-mail-icon): Use `:ascent center'.
9451 * ange-ftp.el (ange-ftp-skip-msgs): Include 500 code.for
9452 handling FTP security extensions.
9454 2000-05-11 Dave Love <fx@gnu.org>
9456 * calendar/todo-mode.el: New file.
9458 2000-05-11 Gerd Moellmann <gerd@gnu.org>
9460 * comint.el (comint-read-input-ring): Move reference to
9461 comint-input-ring-size outside of the save-excursion. It was
9462 causing the default value to be the only one ever seen.
9464 * font-lock.el: Update copyright. Remove Simon Marshall's email
9465 address on request from him.
9467 * subr.el (substitute-key-definition): Add comment describing
9468 the meaning of PREFIX.
9470 2000-05-10 Stefan Monnier <monnier@cs.yale.edu>
9472 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix regexp.
9474 * subr.el (add-hook, remove-hook): Make hook buffer-local if needed..
9475 (add-minor-mode): Don't make the variable buffer-local and add a
9476 reference to define-minor-mode in the docstring.
9478 * pcvs.el (cvs-cleanup-collection): Remove obsolete code for
9479 HEADER/FOOTER and fix bug with trailing empty directory.
9480 (cvs-append-to-ignore): Use vc-editable-p if available.
9481 (cvs-dir-member-p): Remove obsolete code for HEADER/FOOTER.
9482 (vc-do-command): Tweak advice to handle the new VC.
9484 * log-view.el (log-view-goto-rev): New function for the new VC.
9485 (log-view-minor-wrap): Use mark-active.
9487 * log-edit.el (cvs-changelog-full-paragraphs): Mark obsolete.
9488 (log-edit-changelog-full-paragraphs): New var.
9489 (log-edit-insert-changelog): Remove a lonely leading `* file'.
9490 (log-edit-narrow-changelog, log-edit-changelog-paragraph)
9491 (log-edit-changelog-subparagraph, log-edit-changelog-entry)
9492 (log-edit-changelog-ours-p, log-edit-changelog-entries)
9493 (log-edit-changelog-insert-entries, log-edit-insert-changelog-entries):
9494 Replace the `cvs' prefix with `log-edit'.
9496 * iswitchb.el (iswitchb-completion-help): Unquote lambda.
9498 * diff-mode.el (diff-font-lock-keywords): Recognize comments.
9499 (diff-font-lock-defaults): Explicitly turn off multiline.
9500 (diff-end-of-hunk): Handle comments and fix end-of-buffer bug.
9501 (diff-ediff-patch): Fix call to ediff-patch-file.
9502 (diff-end-of-file, diff-reverse-direction, diff-fixup-modifs):
9505 * frame.el (automatic-hscrolling): Typo.
9507 * cvs-status.el (cvs-status-minor-wrap): Use mark-active.
9509 2000-05-09 Sam Steingold <sds@goems.com>
9511 * apropos.el (apropos-print): use `describe-face' instead of
9512 `customize-face-other-window'.
9514 2000-05-09 Dave Love <fx@gnu.org>
9516 Changes mostly following Richard Sharman <rsharman@wave.home.com>.
9518 * help.el (describe-variable): Have customize button pop the
9519 help-xref stack when invoked.
9520 (help-xref-symbol-regexp): Add `face'.
9521 (help-make-xrefs): Check for quoted face names and adapt regexp
9522 submatch numbers to cope.
9523 (help-xref-interned): Maybe insert face doc too. Separate
9524 sections with a line of hyphens.
9526 * faces.el: Some doc fixes. Declare some functions obsolete.
9527 (describe-face): Add customize button. Return the help
9530 2000-05-09 Eli Zaretskii <eliz@is.elta.co.il>
9532 * term/internal.el (IT-character-translations): Fix last change.
9534 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9536 * woman.el: New file
9537 (from Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk>).
9539 2000-05-08 Eli Zaretskii <eliz@is.elta.co.il>
9541 * term/internal.el (IT-character-translations): Update ASCII
9542 simulations for greek-iso8859-7, add latin-iso8859-14 and
9545 * international/mule-cmds.el (set-language-info-alist): Call
9546 define-prefix-command with 3 arguments, to make the map suitable
9549 2000-05-07 Dave Love <fx@gnu.org>
9551 * time.el: Small doc fixes from Pavel Jan
\e,Am
\e(Bk ml.
9553 2000-05-05 Dave Love <fx@gnu.org>
9555 * emacs-lisp/cl-macs.el: Doc fixes; mainly avoid duplicating arg
9556 list in doc string. Don't quote keyword symbols.
9557 * emacs-lisp/cl.el: Likewise
9558 * emacs-lisp/cl-seq.el: Likewise
9560 2000-05-05 Gerd Moellmann <gerd@gnu.org>
9562 * abbrev.el (abbrev-mode): Make ARG optional.
9564 2000-05-04 Gerd Moellmann <gerd@gnu.org>
9566 * progmodes/ebrowse.el: Change file name `EBROWSE' to `BROWSE'.
9568 * files.el (auto-mode-alist): Change `EBROWSE' to `BROWSE'.
9570 * subr.el (substitute-key-definition): Clarify documentation.
9572 2000-05-04 Milan Zamazal <pdm@freesoft.cz>
9574 * glasses.el (glasses-convert-to-unreadable): Use
9575 `glasses-separator' instead of the hard-wired "_".
9576 (glasses-mode): Call `glasses-make-unreadable' only in a single
9579 2000-05-04 Eli Zaretskii <eliz@is.elta.co.il>
9581 * term/internal.el (cjk-codepages-alist): Add associations for
9582 Chinese and Korean codepages. Remove FIXME comment.
9584 2000-05-03 Dave Love <fx@gnu.org>
9586 * time.el (display-time-mail-face, display-time-use-mail-icon):
9588 (display-time-mail-icon): New variable.
9589 (display-time-string-forms): Use the above. Fix the local-map.
9591 2000-05-03 Gerd Moellmann <gerd@gnu.org>
9593 * replace.el (query-replace-map): Add binding for `E'.
9594 (query-replace-help): Extend help text.
9595 (perform-replace): Allow editing the replacement string.
9597 * make-mode.el (makefile-mode-abbrev-table): New variable.
9598 (makefile-mode): Set local abbrev table to
9599 makefile-mode-abbrev-table.
9600 (makefile-font-lock-keywords): Fontify includes and conditionals.
9602 * subr.el (add-minor-mode): Handle AFTER for keymaps. Don't
9605 * mailabbrev.el (mail-abbrev-insert-alias): Renamed from
9606 mail-interactive-insert-alias.
9607 (mail-abbrev-complete-alias): New command.
9608 (mail-mode-map): Bind it to `M-TAB'.
9610 2000-05-03 Kenichi Handa <handa@etl.go.jp>
9612 * language/lao-util.el (lao-compose-region): New function.
9614 2000-05-02 Gerd Moellmann <gerd@gnu.org>
9616 * files.el (recover-session): Make directories as necessary
9617 if they don't exist yet.
9619 * calendar/cal-french.el
9620 (french-calendar-multibyte-special-days-array)
9621 (french-calendar-special-days-array): Change French text.
9622 (calendar-french-date-string): Change output.
9623 (calendar-goto-french-date): Likewise.
9625 2000-05-02 Per Abrahamsen <abraham@dina.kvl.dk>
9627 * wid-edit.el (widget-default-active): Obey `:always-active'.
9628 (widget-documentation-string-value-create): Set `:always-active'.
9630 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9632 * startup.el (auto-save-list-file-prefix): For ms-dos, set the
9633 default prefix to `~/_emacs.d/auto-save.list/_s'.
9634 (normal-top-level): Create the directory for auto-save files, if
9635 it doesn't already exist (in the ms-dos case only).
9637 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
9639 * international/mule-cmds.el (set-language-environment): Don't
9640 concat an integer (dos-codepage), use format instead.
9642 2000-05-02 Dave Love <fx@gnu.org>
9644 * help.el (help-xref-on-pp): Check for constant symbols.
9646 2000-04-29 Gerd Moellmann <gerd@gnu.org>
9648 * startup.el (normal-top-level): Put a condition-case around
9649 the code loading subdirs.el.
9651 2000-04-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9653 * ps-print.el: Upside-down and face background color printing,
9654 line number step, doc fix.
9655 (ps-print-version): New version number (5.2).
9656 (ps-setup, ps-prologue-file, ps-begin-file, ps-begin-job)
9657 (ps-face-attribute-list, ps-plot-with-face): Code fix.
9658 (ps-spool-config): Var fix.
9659 (ps-printer-name-option): Const fix.
9660 (ps-print-upside-down, ps-use-face-background)
9661 (ps-line-number-step): New vars.
9662 (ps-window-system, ps-lp-system): New consts.
9663 (ps-face-background): New fun.
9665 2000-04-28 Richard Stallman <rms@gnu.org>
9667 * files.el (make-auto-save-file-name):
9668 Apply auto-save-file-name-transforms to visited file name
9669 before generating auto save file name.
9670 (auto-save-file-name-transforms): New variable.
9672 * files.el (backup-enable-predicate):
9673 Correctly test for a file under a temporary directory.
9675 2000-04-28 Gerd Moellmann <gerd@gnu.org>
9677 * subr.el (add-minor-mode): Rewritten.
9679 2000-04-28 Kenichi Handa <handa@etl.go.jp>
9681 * mail/sendmail.el (sendmail-send-it): Set
9682 buffer-file-coding-system to the selected coding system for MIME
9685 2000-04-27 Gerd Moellmann <gerd@gnu.org>
9687 * dired.el (dired-move-to-filename-regexp): Allow format where
9688 YYYY is followed by two spaces.
9690 * progmodes/etags.el (etags-tags-completion-table): Add a `:'
9691 in the second character class of the regexp.
9693 * mail/mh-comp.el (mh-send-sub): Look for mh-comp-formfile in
9696 * textmodes/texinfmt.el (texinfo-format-xref): Don't try to insert
9699 * subr.el (add-minor-mode): Use `set' instead of `setq'.
9701 * gud.el (gud-gdb-find-file): Call find-file-noselect with NOWARN
9704 2000-04-27 Sen Nagata <sen@eccosys.com>
9706 * emacs-lisp/crm.el (crm-completion-table): New variable.
9707 (crm-collection-fn, crm-test-completion)
9708 (completing-read-multiple): Use it.
9710 2000-04-27 Dave Love <fx@gnu.org>
9712 * help.el (locate-library): Use mapc.
9713 (help-manyarg-func-alist): Add call-process-region.
9715 2000-04-26 Gerd Moellmann <gerd@gnu.org>
9717 * subr.el (add-minor-mode): Make argument MAP optional.
9719 * desktop.el (desktop-save): Save list of minor modes.
9720 (desktop-create-buffer): Restore minor modes.
9721 (desktop-minor-mode-table): New user-option.
9723 * subr.el (add-minor-mode): New function.
9725 * image.el (find-image): New function.
9726 (defimage): Rewritten to find image at load time.
9728 * startup.el (normal-top-level-add-to-load-path): Handle
9729 case that the default directory is not in load-path.
9731 * help.el: Old patch from Stefan Monnier.
9732 (help-xref-on-pp): New function.
9733 (describe-variable): Use it to display xrefs in a symbol's value.
9735 2000-04-26 Stefan Monnier <monnier@cs.yale.edu>
9737 * cus-edit.el (custom-face): Fix parenthesis.
9739 2000-04-26 Kenichi Handa <handa@etl.go.jp>
9741 * mail/rmail.el (rmail-expunge): When there are no deleted
9742 messages, do nothing.
9744 2000-04-26 Dave Love <fx@gnu.org>
9746 * international/mule-cmds.el (locale-translation-file-name):
9748 (set-locale-environment): Set it here (at runtime).
9750 2000-04-25 Gerd Moellmann <gerd@gnu.org>
9752 * replace.el (perform-replace): Add parameters START and END. Use
9753 them instead of the check for a region in Transient Mark mode.
9754 (query-replace-read-args): Return two more list elements for the
9755 start and end of the region in Transient Mark mode.
9756 (query-replace, query-replace-regexp, query-replace-regexp-eval)
9757 (map-query-replace-regexp, replace-string, replace-regexp): Add
9758 optional last arguments START and END and pass them to
9761 * progmodes/ebrowse.el (ebrowse-tags-query-replace): Construct a
9762 form with additional arguments for perform-replace.
9764 * progmodes/etags.el (tags-query-replace): Add parameters START
9765 and END. Construct a form with additional arguments for
9768 * simple.el (shell-command): Set default directory for "*Shell
9769 Command Output" buffer.
9771 * language/european.el (iso-latin-4): Fix typo.
9773 * emacs-lisp/crm.el: New file.
9775 2000-04-24 Dave Love <fx@gnu.org>
9777 * cus-edit.el (Custom-set, Custom-save, Custom-reset-current)
9778 (Custom-reset-saved, Custom-reset-standard)
9779 (custom-group-value-create, custom-group-set, custom-group-save)
9780 (custom-group-reset-current, custom-group-reset-saved)
9781 (custom-group-reset-standard): Use mapc.
9782 (custom-buffer-create-internal): Disable undo when creating items.
9784 (custom-face): Avoid redundant lambda.
9786 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9788 * startup.el (auto-save-list-file-prefix): Set default to
9789 `~/.emacs.d/auto-save-list/.saves-' for systems other than MS-DOS.
9791 2000-04-24 Sam Steingold <sds@gnu.org>
9793 * time-stamp.el (time-stamp-string-preprocess): Always convert
9794 `field-result' to a string.
9796 2000-04-24 Gerd Moellmann <gerd@gnu.org>
9798 * frame.el (scrolling): New group.
9799 (automatic-hscrolling): New user-option.
9801 * startup.el (command-line-x-option-alist): Add `-lsp' and
9804 2000-04-19 Dave Love <fx@gnu.org>
9806 * emacs-lisp/cl-extra.el (cl-old-mapc): Fix definition.
9807 (cl-mapc): Rename from mapc. Fix the funcall.
9809 2000-04-19 Gerd Moellmann <gerd@gnu.org>
9811 * simple.el (clone-indirect-buffer-other-window): New command.
9812 (clone-indirect-buffer): Add optional arg NORECROD.
9813 (toplevel): Bind `C-x 4 c' to clone-indirect-buffer-other-window.
9815 * help.el (resize-temp-buffer-window): Use count-screen-lines.
9817 * window.el (count-screen-lines): New function.
9818 (shrink-window-if-larger-than-buffer): Use count-screen-lines
9819 instead of window-buffer-height.
9821 * progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
9822 non-existing variable comint-input-sentinel.
9823 (inferior-lisp-args-to-list): Removed.
9824 (inferior-lisp): Use split-string instead of
9825 inferior-lisp-args-to-list.
9827 * hexl.el (hexl-insert-hex-string): New command.
9829 * emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
9832 2000-04-18 Gerd Moellmann <gerd@gnu.org>
9834 * mail/sendmail.el (mail-do-fcc): Prevent inserting a newline
9835 at the start of an existing but empty folder.
9837 2000-04-18 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9839 * ps-mule.el: Customization fix, doc fix.
9840 (ps-multibyte-buffer): Customization fix.
9842 2000-04-17 Richard M. Stallman <rms@gnu.org>
9844 * subr.el (read-passwd): Use read-char-exclusive.
9846 2000-04-17 Gerd Moellmann <gerd@gnu.org>
9848 * textmodes/texinfo.el (texinfo-insert-@email)
9849 (texinfo-insert-@emph, texinfo-insert-@quotation)
9850 (texinfo-insert-@strong, texinfo-insert-@url): New functions.
9851 (texinfo-mode-map): Add key bindings for them.
9853 * files.el (basic-save-buffer-2): Use a template with `$'
9854 instead of `#' for VMS.
9856 * simple.el (clone-indirect-buffer): New function.
9858 2000-04-16 Stephen Eglen <stephen@gnu.org>
9860 * iswitchb.el (iswitchb-case): New function. If the user input
9861 contains any upper-case characters, the search is made
9864 2000-04-17 Stefan Monnier <monnier@cs.yale.edu>
9866 * textmodes/texinfo.el (texinfo-mode-syntax-table): Add \n as
9868 (texinfo-font-lock-syntactic-keywords): New var.
9869 (texinfo-font-lock-keywords): Remove comment regexp.
9870 (texinfo-insert-block): New function.
9871 (texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
9872 (texinfo-mode): Use define-derived-mode. Tweak comment-start-skip
9873 and font-lock-defaults. Use regexp-opt for outline-regexp.
9874 (texinfo-environments): New var.
9875 (texinfo-environment-regexp): Use regexp-opt and
9876 texinfo-environments.
9878 * textmodes/ispell.el (ispell-menu-map-needed): Check that
9879 ispell-process is bound since this might be eval'd before ispell
9881 (ispell-message): Use a tiny bit less magic and a bit more hard
9882 data to figure out what kind of sc-cite-regexp to use.
9884 * emacs-lisp/regexp-opt.el (regexp-opt-depth): Fix the regexp.
9886 * calendar/diary-lib.el (fancy-diary-display, mark-diary-entries)
9887 (insert-cyclic-diary-entry): Unquote the lambda.
9889 * gud.el (gud-jdb-build-source-files-list): Fix typo.
9891 * files.el (backup-enable-predicate): Unquote the lambda.
9893 * cus-edit.el (custom-face, face): Unquote the lambda.
9895 2000-04-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9897 * ps-print.el: Check for line-beginning-position definition.
9899 * ps-print.el: Fix counting lines in a region.
9900 (ps-print-version): New version number (5.1.5).
9901 (ps-spool-without-faces, ps-spool-with-faces): Adjust code.
9902 (ps-printing-region): Fun code fix.
9904 2000-04-15 Gerd Moellmann <gerd@gnu.org>
9906 * gud.el (gud-jdb-build-source-files-list): Change file-exists-p
9907 to file-directory-p.
9909 2000-04-14 Gerd Moellmann <gerd@gnu.org>
9911 * gud.el (gud-jdb-build-source-files-list): Check that directory
9912 exists before calling directory-files.
9914 2000-04-13 Dave Love <fx@gnu.org>
9916 * emacs-lisp/trace.el: Change maintainer. Use new backquote
9919 * emacs-lisp/cl-specs.el: Remove when, unless.
9921 * emacs-lisp/cl-extra.el: Don't quote keywords.
9922 (cl-old-mapc): New variable.
9924 (cl-map-intervals): Use with-current-buffer. Don't check for
9925 next-property-change.
9926 (cl-map-overlays): Use with-current-buffer.
9928 (copy-tree, remprop): Define unconditionally.
9930 * emacs-lisp/cl-compat.el (keywordp): Remove.
9932 * emacs-lisp/edebug.el (edebug-keywordp): Remove. Change callers
9934 (edebug-spec): Enable keywordp.
9936 * cus-edit.el (custom-sort-items): Avoid symbol-name with new
9939 * cus-start.el: Use keywordp.
9941 2000-04-13 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
9943 * diary-lib.el (include-other-diary-files): Fix the fix of
9944 2000-02-18 by doing a save-excursion.
9946 2000-04-13 Vinicius Jose Latorre <vinicius@cpqd.com.br>
9948 * ps-print.el: Customization fix, doc fix.
9949 (ps-print-version): New version number (5.1.4).
9950 (ps-article-author, ps-article-subject, ps-info-file, ps-info-node)
9951 (ps-print-preprint): Adjust code.
9952 (ps-printer-name, ps-lpr-switches, ps-user-defined-prologue)
9953 (ps-print-prologue-header, ps-print-control-characters)
9954 (ps-spool-config): Customization fix.
9956 2000-04-13 Eli Zaretskii <eliz@is.elta.co.il>
9958 * textmodes/ispell.el (ispell-menu-map): Menu items rearranged and
9959 converted to the new menu-item format, names silightly changed,
9962 Support for spelling without async subprocesses:
9964 * textmodes/ispell.el (ispell-cmd-args, ispell-output-buffer)
9965 (ispell-session-buffer): New variables.
9966 (ispell-start-process, ispell-process-status,
9967 ispell-accept-output, ispell-send-string): New functions, for
9968 Ispell invocation when async subprocesses aren't supported.
9969 (ispell-word, ispell-pdict-save, ispell-command-loop,
9970 ispell-process-line, ispell-buffer-local-parsing): Replace calls
9971 to process-send-string with calls to ispell-send-string, and
9972 accept-process-output with ispell-accept-output.
9973 (ispell-init-process): Call ispell-process-status instead of
9974 process-status with.
9975 (ispell-init-process): Call ispell-start-process. Call
9976 ispell-accept-output and ispell-send-string. Don't call
9977 process-kill-without-query and kill-process if they are unbound.
9978 (ispell-async-processp): New function.
9980 2000-04-12 Dave Love <fx@gnu.org>
9982 * info.el: Add debug-ignored-errors.
9983 (Info-mode-menu): Add some items.
9984 (Info-directory): Add autoload cookie.
9986 * menu-bar.el (menu-bar-options-menu): Make `mule' always visible.
9987 Modify `truncate-lines'. Make `describe-language-environment'
9988 always visible and add help. Modify `describe-key' help. Invoke
9989 Info-directory from `info'. New entry `emacs-manual'.
9991 2000-04-10 Gerd Moellmann <gerd@gnu.org>
9993 * progmodes/ebrowse.el (ebrowse-tree-mode): Use
9994 propertized-buffer-identification.
9995 (ebrowse-update-member-buffer-mode-line): Likewise.
9996 (ebrowse--mode-strings): Removed.
9997 (ebrowse--mode-line-props): Removed.
9999 * files.el (auto-mode-alist): Add `EBROWSE'.
10001 * progmodes/ebrowse.el (ebrowse-read): Skip forward over white
10002 space before testing for end of buffer.
10003 (ebrowse-load): Removed.
10004 (ebrowse-revert-tree-buffer-from-file): Rewritten.
10005 (ebrowse-create-tree-buffer): Rewritten.
10006 (ebrowse-tree-mode): Read tree from buffer.
10008 * progmodes/ebrowse-ffh.el: Removed.
10010 2000-04-10 Kenichi Handa <handa@etl.go.jp>
10012 * language/vietnamese.el (viet-vscii-decode-table): Fix a bug.
10014 2000-04-10 Gerd Moellmann <gerd@gnu.org>
10016 * jit-lock.el (with-buffer-unmodified): Fix bug introduced by `)'
10017 at the wrong place.
10019 2000-04-09 Dave Love <fx@gnu.org>
10021 * files.el (backup-enable-predicate): Use
10022 temporary-file-directory, small-temporary-file-directory.
10023 (make-backup-file-name-function, backup-directory-alist): New
10025 (make-backup-file-name-1): New function.
10026 (make-backup-file-name): Use it.
10027 (find-backup-file-name): Likewise. Use format for clarity, not
10029 (file-newest-backup): Use make-backup-file-name.
10031 2000-04-09 Gerd Moellmann <gerd@gnu.org>
10033 * progmodes/ebrowse-ffh.el: New file.
10035 * progmodes/ebrowse.el (ebrowse-find-file-hook-fn): Moved
10037 (ebrowse-load): Add autoload.
10039 * finder.el (finder-commentary): Add autoload cookie.
10041 * mail/rfc2368.el: Correct author's email address.
10043 * progmodes/ebrowse.el: New file.
10045 * emacs-lisp/easymenu.el (easy-menu-create-menu): Process menu
10047 (easy-menu-do-add-item): Ditto.
10048 (easy-menu-define): Extend doc string.
10050 * jit-lock.el (with-buffer-unmodified): Use
10051 restore-buffer-modified-p.
10052 (with-buffer-prepared-for-font-lock): Use with-buffer-unmodified.
10053 (jit-lock-function, jit-lock-stealth-fontify): Don't use
10054 with-buffer-unmodified.
10056 2000-04-08 Dave Love <fx@gnu.org>
10058 * emacs-lisp/edebug.el: Fix specs for dolist, dotimes, push, pop,
10061 2000-04-07 Mikio Nakajima <minakaji@osaka.email.ne.jp>
10063 * viper-util.el (viper-put-on-search-overlay): New subroutine.
10064 (viper-flash-search-pattern): No operation when using Emacs
10065 doesn't support face.
10066 Use `viper-put-on-search-overlay'.
10068 2000-04-04 Gerd Moellmann <gerd@gnu.org>
10070 * isearch.el (isearch-mode-map): Define M-C-s like C-s and M-C-r
10073 * progmodes/make-mode.el: Some doc fixes.
10074 (makefile-mode-abbrev-table): New variable.
10075 (makefile-mode): Set local abbrev table to makefile-mode-abbrev-table.
10076 (makefile-font-lock-keywords): Fontify includes and conditionals.
10077 (toplevel): Require `dabbrev' and `add-log' when compiling.
10079 * replace.el (perform-replace): Don't move forward one char
10080 when MATCH-AGAIN is nil, and REGEXP-FLAG is t. We don't want
10081 to do that because it leaves point 1 position after the last
10082 replacement, after everything has been replaced.
10084 * jit-lock.el (with-buffer-unmodified): New macro.
10085 (with-buffer-prepared-for-font-lock): Don't preserve buffer's
10087 (jit-lock-function-1): Extracted from jit-lock-function; not
10088 preserving buffer's modified state.
10089 (jit-lock-function, jit-lock-stealth-fontify): Call
10090 jit-lock-function-1.
10092 * mail/rfc2368.el: Remove supernumerary copyright line.
10094 2000-04-04 Milan Zamazal <pdm@freesoft.cz>
10096 * glasses.el: Provide facilities for inserting space before left
10097 parentheses and uncapitalization of identifiers.
10098 (glasses-mode): Try to remove old overlays in all cases.
10100 2000-04-03 Gerd Moellmann <gerd@gnu.org>
10102 * progmodes/compile.el (compile-internal): Display the compilation
10103 buffer in a different frame, if it's already displayed there.
10105 * mail/rfc2368.el: New file.
10107 * simple.el (sendmail-user-agent-compose): Recognize a `body'
10108 header and insert its value as mail body.
10110 * subr.el (member-ignore-case): New function.
10112 * dabbrev.el (dabbrev-ignored-regexps): New user-option.
10113 (dabbrev--find-expansion): Ignore buffers matching a regexp
10114 from dabbrev-ignored-regexps.
10116 * jka-compr.el (jka-compr-compression-info-list): Add `.z'
10117 to extensions handled by gzip.
10119 2000-04-03 Richard M. Stallman <rms@gnu.org>
10121 * files.el (insert-directory): List the total free space
10122 along with the used space.
10124 * textmodes/fill.el (fill-individual-paragraphs): If a no-prefix
10125 line is followed by one that matches CITATION-REGEXP, end the
10128 2000-04-03 Markus Rost <rost@delysid.gnu.org>
10130 * mail/rmailsum.el (rmail-user-mail-address-regexp): New option.
10131 (rmail-make-basic-summary-line): Use that option.
10133 2000-04-03 Kenichi Handa <handa@etl.go.jp>
10135 * international/mule-cmds.el (encoded-string-description):
10136 Rewritten. Try pretty description for ISO 2022 escape sequences
10137 only if CODING-SYSTEM is based on ISO 2022. Use uppercase letters
10138 for hexadecimal format.
10140 2000-04-01 Dave Love <fx@gnu.org>
10142 * cpp.el: Change customization group to `c' from `C'.
10144 * vcursor.el (vcursor-move): Use display-color-p.
10146 * international/mule-util.el: Provide mule-utils.
10147 (string-to-sequence): Simplify and speed up.
10149 * international/mule.el (make-coding-system): Purecopy doc-string.
10151 * international/mule-cmds.el: Various menu changes.
10152 (describe-specified-language-support): Handle `Default'.
10153 (set-language-info): Purecopy `info'.
10155 2000-03-31 Andrew Innes <andrewi@gnu.org>
10157 * vc.el (vc-backend-diff): Return the correct status if we had to
10158 retry the rcsdiff command without the --brief option.
10160 2000-03-31 Dave Love <fx@gnu.org>
10162 * help.el (help-manyarg-func-alist): Correct several omissions.
10164 * add-log.el: Don't require cl, fortran.
10165 (add-log-current-defun-function): Doc fix.
10166 (change-log-version-number-regexp-list): Remove SCCS part. Doc
10168 (change-log-version-rcs): Function deleted.
10169 (change-log-version-number-search): Doc fix. Use
10170 vc-workfile-version. Avoid CL dolist.
10171 (add-change-log-entry): Just call add-log-current-defun to get
10172 defun. Simplify somewhat.
10173 (change-log-get-method-definition-1): Likewise.
10174 (add-log-current-defun): Return nil if calling
10175 add-log-current-defun-function does so. Move Fortran stuff to
10176 fortran.el. Return string without properties.
10178 * textmodes/ooutline.el (outline-font-lock-keywords): Use :upper:
10179 and :alpha: char classes.
10181 * mail/supercite.el: Defvar curline when compiling.
10182 (sc-citation-root-regexp, sc-citation-nonnested-root-regexp)
10183 (sc-get-address, sc-attribs-extract-namestring): Use [:alnum:]
10184 rather than a-zA-Z0-9 to allow non-ASCII characters.
10186 2000-03-31 Gerd Moellmann <gerd@gnu.org>
10188 * emacs-lisp/byte-opt.el: Fix byte-compiler warnings format.
10190 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10191 Re-enable new code.
10193 * lpr.el (print-region-1): Use -d to specify printer name for
10194 systems `usg-unix-v*, `dgux', `hpux', `irix'.
10196 2000-03-31 Dave Love <fx@gnu.org>
10198 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Look
10199 for function definition in symbol's function value slot first
10200 instead of first consulting byte-compile-function-environment.
10202 2000-03-31 Kenichi Handa <handa@etl.go.jp>
10204 * language/european.el ("Polish"): New language environment.
10205 (setup-polish-environment): New function.
10207 2000-03-30 Gerd Moellmann <gerd@gnu.org>
10209 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10212 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Fix bug
10213 trying to `load' the symbol of an autoload instead of the file
10214 recorded in the autoload. Fix error messages.
10216 2000-03-30 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10218 * ps-print.el: PostScript programming fix for ghostview, doc fix.
10219 (ps-print-version): New version number (5.1.3).
10220 (ps-begin-file, ps-begin-job, ps-set-color, ps-do-despool, ps-setup)
10221 (ps-insert-file, ps-output-boolean, ps-plot-with-face)
10222 (ps-generate-postscript-with-faces): Code fix.
10223 (ps-color-values): XEmacs compatibility.
10224 (ps-print-background-image, ps-print-background-text, ps-printer-name)
10225 (ps-default-fg, ps-default-bg): Adjust customization.
10226 (ps-zebra-color): Adjust customization, renaming old ps-zebra-gray var.
10227 (ps-color-scale): Renaming old ps-color-value fun.
10228 (ps-print-headers): Replace ps-print-header group to avoid conflict
10229 with ps-print-header variable.
10230 (ps-print-miscellany): New group.
10231 (ps-format-color, ps-rgb-color): New funs.
10232 (ps-default-foreground): New var.
10233 (ps-printer-name-option): New const.
10235 2000-03-30 Peter Breton <pbreton@ne.mediaone.net>
10237 * net/net-utils.el:
10238 (network-connection-host, network-connection-service): New variables
10239 (network-connection-mode): New mode, derived from comint-mode
10240 (network-connection-mode-setup): New function, saves host and
10241 service information in local variables.
10244 (locate-word-at-point): Added this function
10245 (locate): Default to using locate-word-at-point as input
10246 Run dired-mode-hook
10248 2000-03-29 Dave Love <fx@gnu.org>
10250 * calendar/appt.el: Doc fixes.
10251 (appt-check): Convert min-to-app to a string before passing to
10252 appt-disp-window-function or concat.
10253 (appt-delete-window): Remove test for frame-root-window.
10254 (appt-select-lowest-window, appt-convert-time): Simplify.
10256 * emacs-lisp/bytecomp.el: Doc fixes.
10257 (byte-compile-file-form-autoload): Update
10258 byte-compile-function-environment.
10260 2000-03-29 Andreas Schwab <schwab@suse.de>
10262 * emacs-lisp/autoload.el: Also print defsubst doc string
10265 * dired.el (dired-insert-directory): If dired-free-space-program
10266 failed just delete its output.
10268 2000-03-29 Dave Love <fx@gnu.org>
10270 * international/iso-cvt.el: Move provide to end. Doc fixes.
10271 (iso-iso2sgml-trans-tab, iso-sgml2iso-trans-tab): New variables.
10272 (iso-iso2sgml, iso-sgml2iso): New functions.
10273 (iso-cvt-define-menu): Fix some entries and use backquote for
10276 * format.el (format-alist): Use iso-cvt functions for SGML/HTML.
10278 2000-03-28 Gerd Moellmann <gerd@gnu.org>
10280 * emacs-lisp/lisp-mnt.el (lm-last-modified-date): Add parameter
10281 ISO-DATE. If non-nil, return date in ISO 8601 format.
10283 2000-03-26 Stefan Monnier <monnier@cs.yale.edu>
10285 * log-edit.el (log-edit-mode-map): Inherit from vc-log-mode-map
10286 if it ever becomes used.
10287 (log-edit-mode-hook): Default to vc-log-mode-hook.
10288 (log-edit-mode): Fix the docstring.
10290 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix and reenable
10293 2000-03-26 Dave Love <fx@gnu.org>
10295 * net/browse-url.el (browse-url): Re-fix case of
10296 browse-url-browser-function being an alist.
10297 (browse-url): Add :link to defgroup.
10299 * files.el: Doc fixes.
10300 (file-truename): Include `[' in wildcard characters.
10301 (automount-dir-prefix): Customize.
10302 (find-file-wildcards): Add :version.
10303 (find-file-noselect): Simplify a mapcar call.
10305 * emacs-lisp/lisp-mode.el (lisp-eval-defun): Make arglist
10306 compatible with inf-lisp version.
10307 (eval-defun-1): Fix custom-declare-variable case.
10309 2000-03-25 Stefan Monnier <monnier@cs.yale.edu>
10311 * cus-edit.el (hook): Use `dolist' instead of CL's `mapc'.
10313 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10315 * Makefile (COMPILE_FIRST): New macro.
10316 (compile-files): Compile files from COMPILE_FIRST first.
10318 * emacs-lisp/bytecomp.el (byte-compile-eval): Disable new
10321 * emacs-lisp/lisp.el (beginning-of-defun-raw): Add regexp
10322 matching open parenthesis in column 0 to defun-prompt-regexp
10323 only if open-paren-in-column-0-is-defun-start is set.
10325 * sun-curs.el: Require CL at compile-time only.
10327 * msb.el (msb--choose-file-menu): Use `(apply #'list ...)'
10328 instead of copy-list which is a function from CL.
10329 (msb--choose-menu, msb--mode-menu-cond)
10330 (msb--create-buffer-menu-2): Use dolist instead of mapc.
10331 (msb--init-file-alist): Use mapcar instead of mapcan.
10332 (msb--aggregate-alist): Use mapcar instead of mapcan. Fix
10333 `(' in column 0 in doc string.
10334 (msb--add-separators): Use mapcar instead of mapcan.
10336 * cus-dep.el: Require CL at compile-time only.
10338 2000-03-24 Stefan Monnier <monnier@cs.yale.edu>
10340 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
10341 (byte-compile-warnings): New warning `noruntime'.
10342 (byte-compile-constants, byte-compile-variables): Fix docstring.
10343 (byte-compile-initial-macro-environment): Use `byte-compile-eval' to
10344 execute `eval-whenc-compile's body.
10345 (byte-compile-unresolved-functions): Fix docstring.
10346 (byte-compile-eval): New function.
10347 (byte-compile-callargs-warn): Check if the function will be available
10348 at runtime (via property `byte-compile-noruntime').
10349 (byte-compile-print-syms): New function.
10350 (byte-compile-warn-about-unresolved-functions): Also warn about
10351 `noruntime' functions (and use `byte-compile-print-syms').
10352 (byte-compile-file): Capitalize the message.
10354 2000-03-24 Gerd Moellmann <gerd@gnu.org>
10356 * mail/rmail.el (rmail-confirm-expunge): New user-option.
10357 (rmail-expunge): Ask for confirmation depending on the setting
10358 of rmail-confirm-expunge.
10360 2000-03-23 Gerd Moellmann <gerd@gnu.org>
10362 * Makefile (bootstrap-clean): If $(emacs) exists, build
10363 loaddefs.el first. A loaddefs.el that's not up-to-date might
10364 cause a bootstrap failure because things don't autoload as
10367 2000-03-23 Dave Love <fx@gnu.org>
10369 * net/browse-url.el: Restore previous use of
10370 browse-url-maybe-new-window.
10372 2000-03-23 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10374 * ps-print.el: Skip banner page fix.
10375 (ps-print-version): New version number (5.1.2).
10376 (ps-begin-file, ps-end-file, ps-generate): Code fix.
10378 2000-03-23 Dave Pearson <davep@davep.org>
10380 * net/quickurl.el Changed the type of parameter passed to the
10381 function defined by `quickurl-format-function'. Before only the
10382 text of the URL was passed. Now the whole URL structure is passed
10383 and the function is responsible for extracting the parts it
10384 requires. Changed the default of `quickurl-format-function'
10386 (quickurl-insert): Changed the `funcall' of
10387 `quickurl-format-function' to match the above change.
10388 (quickurl-list-insert): Changed the `url' case so that it makes
10389 use of `quickurl-format-function', previous to this the format was
10392 2000-03-22 Gerd Moellmann <gerd@gnu.org>
10394 * startup.el: Change some spellings for the X Window System.
10396 2000-03-22 Stefan Monnier <monnier@cs.yale.edu>
10398 * progmodes/make-mode.el (makefile-warn-suspicious-lines): clean
10399 up the code and the regexp and make sure the cursor is temporarily
10400 moved to the suspicious line while querying the user.
10402 2000-03-22 Jason Rumney <jasonr@gnu.org>
10404 * w32-fns.el (w32-charset-info-alist): Initialize.
10406 2000-03-22 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10408 * ps-print.el: N-up last page fix.
10409 (ps-print-version): New version number (5.1.1).
10410 (ps-end-file, ps-end-job, ps-generate): Code fix.
10412 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10414 * files.el (find-file-run-dired): Update docstring.
10415 (find-directory-functions): New hook.
10416 (find-file-noselect): Run find-directory-functions rather than
10417 calling dired directly.
10419 * menu-bar.el (pcl-cvs): Add an entry for PCL-CVS' global menu.
10421 * pcvs.el: Add a minimal leading commentary.
10422 (cvs-make-cvs-buffer): Change the header part by removing the startup
10423 message and adding a `Module' entry. Also replace the FOOTER and
10424 HEADER special fileinfos with the new support in ewoc for updating
10425 its own footer and header.
10426 (cvs-update-header): Update to use the header/footer of the ewoc.
10427 (cvs-mode): Use define-derived-mode and set truncate-lines to t.
10428 (cvs-is-within-p): New function.
10429 (cvs-mode-run): Take advantage of `save-some-buffers's new ability
10430 to only examine some subset of the buffers.
10432 * pcvs-info.el (cvs-fileinfo-pp): Use the new property-preserving
10433 `format' instead of our own ad-hoc functions.
10434 Remove HEADER and FOOTER cases, now handled in the EWOC.
10435 (cvs-fileinfo<): Remove HEADER and FOOTER cases.
10437 * pcvs-parse.el (cvs-parse-run-table): Change message for unknown
10438 output to avoid scaring the user.
10439 (cvs-parse-table): Catch message for non-up-to-date commits.
10441 * pcvs-defs.el (cvs-startup-message): Remove.
10442 (cvs-global-menu): New autoloaded menu.
10444 * pcvs-util.el (cvs-string-fill): Remove.
10446 * emacs-lisp/ewoc.el (ewoc--create-special-node): Remove.
10447 (ewoc--refresh-node): Don't take the whole EWOC but only the relevant
10448 PP part of it and also make it work for footers and headers.
10449 (ewoc-create): Drop POS and BUFFER arguments.
10450 Use the DLL's dummy node to store the end-of-footer position.
10451 (ewoc-map, ewoc-invalidate): Update call to ewoc--refresh-node.
10452 (ewoc-refresh): Remove unused `header' variable.
10453 (ewoc-(get|set)-hf): New functions.
10455 * log-view.el (log-view-(msg|file)-(prev|next)): Rename from
10456 log-view-*-(message|file) and use easy-mmode-define-navigation.
10457 (log-view-message-re): Match SCCS format as well.
10458 And match the revision line rather than the dashed separator line.
10459 (log-view-mode): Use the new define-derived-mode.
10460 (log-view-current-tag): Fill in with an actual implementation.
10462 * cvs-status.el (cvs-status-(prev|next)): Rename from
10463 cvs-status-(prev|next)-entry and use easy-mmode-define-navigation.
10464 (cvs-tree-dstr-*): Rename from cvstree-dstr-* and use two ascii chars
10465 to let the output "breathe" a little more (more readable).
10466 (cvs-status-mode): Use the new define-derived-mode.
10468 * smerge-mode.el (smerge-auto-leave): New function and variable.
10469 (smerge-basic-map): Rename from smerge-basic-keymap.
10470 Change the bindings for smerge-diff-*.
10471 (smerge-*-map): Use easy-mmode-defmap.
10472 (smerge-(next|prev)): Use easy-mmode-define-navigation.
10473 (smerge-keep-*): Use smerge-auto-leave.
10475 2000-03-21 Jason Rumney <jasonr@gnu.org>
10477 * cus-edit.el (custom-button-face): Use 3D look for w32.
10478 (custom-button-pressed-face): Likewise.
10480 2000-03-21 Gerd Moellmann <gerd@gnu.org>
10482 * progmodes/etags.el (tags-case-fold-search): New user-option.
10483 (tags-loop-eval): New function. Bind case-fold-search around eval
10484 depending on the value of tags-case-fold-search.
10485 (tags-loop-continue): Use tags-loop-eval.
10486 (find-tag-in-order): Bind case-fold-search depending on the value
10487 of tags-case-fold-search.
10489 2000-03-21 Stefan Monnier <monnier@cs.yale.edu>
10491 * diff-mode.el (diff-mode-*-map): use `easy-mmode-defmap'.
10492 (diff-end-of-hunk): Return the end position for use in
10493 `easy-mmode-define-navigation'.
10494 (diff-recenter): Remove.
10495 (diff-(next|prev)-*): Rename `diff-*-(prev|next)' and defined in terms
10496 of `easy-mmode-define-navigation'.
10497 (diff-kill-*): Rename `diff-*-kill' (for consistency with the
10498 previous renaming) and fix to use new names.
10499 (diff-merge-strings): Use \n as separator: simpler, faster.
10500 (diff-mode): Use `define-derived-mode'.
10502 * derived.el (define-derived-mode): Don't autoload anymore.
10503 Prefer the macro-only version provided by easy-mmode.el.
10505 * emacs-lisp/easy-mmode.el (define-derived-mode): New name for
10506 `easy-mmode-define-derived-mode'.
10507 Use `combine-run-hooks'.
10508 (easy-mmode-define-navigation): New macro.
10510 * subr.el (combine-run-hooks): New function.
10512 2000-03-21 Kenichi HANDA <handa@etl.go.jp>
10514 * term/x-win.el: Fontsets related initialization is simplified.
10516 * international/mule-diag.el (describe-font): Don't refer to
10517 global-fontset-alist, instead call font-list.
10518 (describe-fontset, list-fontsets, mule-diag): Likewise.
10519 (print-fontset): Adjusted for the change of fontset
10522 * international/fontset.el (x-charset-registries): Variable
10523 removed, instead the corresponding data is stored in the default
10525 (register-alternate-fontnames): Function removed.
10526 (resolved-ascii-font): Variable removed.
10527 (x-compose-font-name): Ignore the second argument REDOCE.
10528 (x-complement-fontset-spec): Complement only an ASCII font and
10529 element for those charsets than can use that ASCII font.
10530 (generate-fontset-menu): Don't refer to global-fontset-alist,
10531 instead call fontset-list.
10532 (uninstantiated-fontset-alist): Variable removed.
10533 (x-style-funcs-alist): Likewise.
10534 (fontset-default-styles): Likewise.
10535 (x-modify-font-name): Function removed.
10536 (create-fontset-from-fontset-spec): Ignore the argument
10538 (create-fontset-from-ascii-font): Docsting adjusted for the above
10540 (instantiate-fontset, resolve-fontset-name): Functions removed.
10541 (fontset-list): Now implemented by C code.
10543 * faces.el (read-face-font): Fix TABLE arg to completing-read.
10544 (describe-face): Include `font' attribute in the description.
10546 2000-03-21 Kenichi Handa <handa@etl.go.jp>
10548 * international/quail.el (quail-set-keyboard-layout): Typo fixed.
10550 2000-03-20 Gerd Moellmann <gerd@gnu.org>
10552 * rcompile.el, rlogin.el, telnet.el, net-utils.el, quickurl.el,
10553 ange-ftp.el, browse-url.el, goto-addr.el, webjump.el,
10554 zone-mode.el, snmp-mode.el: Moved to net subdirectory.
10556 * jit-lock.el (with-buffer-prepared-for-font-lock): Add comment
10557 about behavior of set-buffer-modified-p wrt redisplay.
10559 2000-03-19 Richard M. Stallman <rms@gnu.org>
10561 * view.el (view-mode-disable): Kill local binding of view-read-only.
10563 2000-03-18 Gerd Moellmann <gerd@gnu.org>
10565 * font-lock.el (font-lock-apply-syntactic-highlight): if VALUE
10566 is a string, convert it to a syntax cell using string-to-syntax.
10568 * simple.el (syntax-code-table, syntax-flag-table): New variables.
10569 (string-to-syntax): New function.
10571 * ange-ftp.el (ange-ftp-try-passive-mode): New user-option.
10572 (ange-ftp-get-process): If ange-ftp-try-passive-mode is set,
10573 try to use passive ftp mode.
10575 2000-03-17 Gerd Moellmann <gerd@gnu.org>
10577 * progmodes/awk-mode.el (awk-font-lock-keywords): Add `else'.
10579 * simple.el (append-to-buffer): Update point of windows after
10582 * abbrev.el (inverse-add-abbrev): Identify word by first moving
10583 forward then moving backward. Reindent.
10585 * frame.el (other-frame): Call x-focus-frame only if
10586 focus-follows-mouse is off.
10588 2000-03-17 Dave Love <fx@gnu.org>
10590 * pcvs-util.el (cvs-strings->string): Rename
10591 replace-regexps-in-string.
10593 2000-03-17 Stefan Monnier <monnier@cs.yale.edu>
10595 * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the
10596 regexp for labels cannot span several lines.
10598 * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless
10599 `(setq :<key> ':<key>)' to the macro expansion.
10601 2000-03-16 Dave Love <fx@gnu.org>
10603 * progmodes/f90.el (f90): Put custom group under `languages', not
10605 (f90-mode-hook): Customize.
10606 (f90-mode): Set add-log-current-defun-function.
10607 (f90-current-defun): New function.
10609 2000-03-16 Gerd Moellmann <gerd@gnu.org>
10611 * cus-edit.el (custom-variable-tag-face): Handle case that
10612 default face's height is not a number.
10613 (custom-face-tag-face, custom-group-tag-face-1)
10614 (custom-group-tag-face): Ditto.
10615 (custom-group-tag-face-1): Add :group.
10617 * info.el (Info-fontify-maximum-menu-size): Increase to 100000.
10619 2000-03-15 Gerd Moellmann <gerd@gnu.org>
10621 * pcvs-defs.el (toplevel): Remove autoload cookie for form
10622 requiring easymenu.
10624 2000-03-15 Vinicius Jose Latorre <vinicius@cpqd.com.br>
10626 * ps-print.el: PostScript user-defined prologue, PostScript error
10628 (ps-print-version): New version number (5.1).
10629 (ps-user-defined-prologue, ps-error-handler-message)
10630 (ps-print-prologue-0, ps-error-handler-alist): New vars.
10631 (ps-setup, ps-begin-file, ps-begin-job): Code fix.
10632 (ps-insert-string): New function.
10634 2000-03-15 Kenichi Handa <handa@etl.go.jp>
10636 * international/ccl.el (ccl-compile-expression): Don't generate
10637 invalid self-assignment code.
10639 2000-03-14 Dave Love <fx@gnu.org>
10641 * subr.el (replace-regexp-in-string): Renamed from
10642 replace-regexps-in-string. Doc fix.
10644 2000-03-12 Dave Love <fx@gnu.org>
10646 * cus-edit.el: Doc fixes.
10647 (customize-set-variable, customize-save-variable): Rename args for
10649 (custom-variable-tag-face, custom-face-tag-face)
10650 (custom-group-tag-face-1, custom-group-tag-face): Modify from
10651 style which user identify as hyperlink.
10652 (hook): Don't add undefined functions to the hook.
10653 (debug-ignored-errors): Transfer message from bindings.el.
10655 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10657 * recentf.el (recentf-keep-non-readable-files-p): Remove
10658 double/nested definition.
10660 2000-03-12 Dave Love <fx@gnu.org>
10662 * facemenu.el (facemenu-get-face): Use display-color-p.
10663 * enriched.el (enriched-decode-foreground): Likewise.
10664 (enriched-decode-background): Likewise.
10665 * isearch.el (isearch-highlight): Likewise.
10666 * info-look.el (info-lookup): Likewise.
10667 * simple.el (completion-setup-function): Likewise.
10669 * textmodes/text-mode.el (text-mode-hook): Add flyspell-mode to
10672 * bindings.el (mode-line-format): Fix line-number and
10673 column-number items. Add help-echo for the background.
10674 (mode-line-mule-info): Modify help-echo.
10676 * avoid.el (mouse-avoidance-mode): Add autoload cookie to
10679 * files.el (load-file): Allow completion to .elc.
10681 * man.el: Doc fixes.
10682 (Man-init-defvars): Use display-color-p to set fontification.
10684 * play/hanoi.el (hanoi-internal): Don't use oddp.
10686 2000-03-12 Gerd Moellmann <gerd@gnu.org>
10688 * arc-mode.el (archive-zip-update): Add `-P' for pkzip.
10690 * emacs-lisp/re-builder.el: Remove RCS Id, remove history comment.
10692 2000-03-12 Detlev Zundel <detlev.zundel@stud.uni-karlsruhe.de>
10694 * emacs-lisp/re-builder.el (reb-re-syntax): Fix typo in `:type'.
10697 2000-03-10 Stefan Monnier <monnier@cs.yale.edu>
10699 * font-lock.el (font-lock-keywords): Fix the doc now that
10700 regexp-opt-depth is unnecessary.
10701 (save-buffer-state): Set an edebug spec.
10702 (font-lock-fontify-anchored-keywords): Properly handle the case when
10703 the matcher goes past the limit.
10705 * cvs-status, log-edit.el, log-view.el, pcvs-defs.el, pcvs-info.el,
10706 pcvs-parse.el, pcvs-util.el, pcvs.el: New files.
10708 * emacs-lisp/ewoc.el: New file. This is a merge of elib-node.el,
10709 dll.el and cookie.el (from Elib) with heavy renaming and other
10712 * emacs-lisp/easy-mmode.el (easy-mmode-defmap, easy-mmode-defsyntax):
10713 Autoload the functions used.
10714 (easy-mmode-define-syntax): Fix CL typo.
10715 (easy-mmode-define-derived-mode): Improve the docstring generation.
10717 2000-03-10 Gerd Moellmann <gerd@gnu.org>
10719 * textmodes/texinfo.el (texinfo-version): Variable and function
10722 2000-03-09 Stefan Monnier <monnier@cs.yale.edu>
10724 * emacs-lisp/easy-mmode.el (easy-mmode-define-keymap): Extend to
10725 allow more flexibility.
10726 (easy-mmode-set-keymap-parents, easy-mmode-define-syntax): New
10728 (easy-mmode-defmap, easy-mmode-defsyntax)
10729 (easy-mmode-define-derived-mode): New macros.
10731 2000-03-09 Didier Verna <didier@xemacs.org>
10733 * rect.el (replace-rectangle): New function.
10735 2000-03-09 Dave Love <fx@gnu.org>
10737 * progmodes/fortran.el (fortran-comment-line-start): Define as
10739 (fortran-comment-line-start-skip): Don't match cpp stuff.
10740 (font-lock-keywords): Add * to comment-chars. Grok cpp stuff.
10741 (fortran-mode-map): Remove over-eager custom-menu-create for now.
10742 (fortran-mode): Don't set fortran-comment-line-start-skip,
10743 fortran-comment-line-start here. Set comment-start,
10744 add-log-current-defun.
10745 (fortran-fill-paragraph): Adjust to try to DTRT with cpp stuff.
10746 (fortran-current-defun): New function.
10748 2000-03-09 Gerd Moellmann <gerd@gnu.org>
10750 * emacs-lisp/re-builder.el: New file.
10752 * mouse.el (mouse-drag-region): Don't run up-event handler
10753 if hscroll has changed.
10755 * octave-mod.el (octave-font-lock-keywords): To font-lock the
10756 builtin operators, use `font-lock-builtin-face' for Emacs and
10757 `font-lock-preprocessor-face' otherwise.
10759 * font-lock.el (lisp-font-lock-keywords-1): Highlight
10760 `(defun (setf foo)' differently.
10762 2000-03-08 Stefan Monnier <monnier@cs.yale.edu>
10764 * emacs-lisp/regexp-opt.el: Update copyright and leading comment.
10765 (regexp-opt): Update comment and adapt the code the new meaning of
10766 the `paren' argument of regex-opt-group for shy-groups.
10767 (regexp-opt-depth): Handle shy groups as well as backslashed
10769 (regexp-opt-group): Turn the leading comment into a docstring.
10770 Allow `paren' to be a string (the string to use to open a group).
10771 Remove open-presuf and close-presuf. Instead of checking for `all
10772 one-char' and then later on check for `several one-char', handle
10773 both cases close together. Also apply a more generic algorithm
10774 for suffixes (the mirror image of the algorithm used for
10775 prefixes). Use shy-groups. Use nreverse rather than reverse.
10776 (regexp-opt-try-suffix): Removed.
10778 * cmuscheme.el (inferior-scheme-mode-map): Define it independently
10779 from comint-mode-map, so we can just inherit from it. Also, move
10780 the initialization into the `defvar' since there's no docstring
10781 anyway and it's fairly short.
10782 (inferior-scheme-mode): Define it as derived-mode: the code is
10783 shorter and this way we inherit from comint-mode-map rather than
10786 * subr.el (replace-regexps-in-string): Properly handle the case
10787 where we match an empty string.
10789 * comint.el (comint-exec-1): Add the current-dir to the exec-path
10790 when the command has a directory component (such as "./testml").
10791 Also fix a typo in the comment.
10793 2000-03-08 Gerd Moellmann <gerd@gnu.org>
10795 * Makefile (compile-files): Compile files one by one because
10796 that's the only way to ensure a clean compilation environment for
10797 each individual file.
10799 * frame.el (other-frame): Call x-focus-frame.
10801 2000-03-07 Dave Love <fx@gnu.org>
10803 * recentf.el (recentf-keep-non-readable-files-p): Add :set,
10804 :require to defcustom.
10806 * emacs-lisp/cl.el: Remove expt, delete, rassoc from autoloads
10809 * files.el (auto-mode-alist): Add configure.in.
10811 * progmodes/autoconf.el: New file.
10813 2000-03-07 Gerd Moellmann <gerd@gnu.org>
10815 * mail/mh-e.el: Change maintainer to `none'.
10817 * recentf.el (recentf-keep-non-readable-files-p): Quote args
10818 to remove-hook and add-hook.
10820 2000-03-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
10822 * sendmail.el (mail-send-nonascii): Add a new value `mime' and use
10824 (mail-send): Test mail-send-nonascii also for the new `mime' value.
10825 (sendmail-send-it): Conditionally add MIME headers specifying the
10826 used character set.
10828 2000-03-07 Dave Love <fx@gnu.org>
10830 * winner.el: Fix keywords, autoload cookies. Split
10831 eval-when-compile form to avoid compilation failure.
10833 2000-03-07 Miyashita Hisashi <himi@bird.scphys.kyoto-u.ac.jp>
10835 * international/mule.el: Modify comment about coding system
10836 property `coding-category'.
10837 (make-coding-system): New argument EOL-TYPE. Pay attention to
10838 coding-category property of PROPERTIES.
10840 * international/mule-conf.el (coding-category-utf-8,
10841 coding-category-utf-16-be, coding-category-utf-16-le): New coding
10842 categories. Include them in the argument for set-coding-priority.
10844 * international/mule-cmds.el (reset-language-environment): Include
10845 coding-category-utf-8, coding-category-utf-16-be, and
10846 coding-category-utf-16-le in the argument for set-coding-priority.
10847 (reset-language-environment): Initialize coding-category-utf-8,
10848 coding-category-utf-16-be, and coding-category-utf-16-le to nil.
10850 2000-03-06 Karl Fogel <kfogel@red-bean.com>
10852 * bookmark.el (bookmark-file-or-variation-thereof): New func, for
10853 code abstracted out of `bookmark-jump-noselect'. Now tries info
10854 extensions as well as compression extensions.
10855 (bookmark-jump-noselect): Use above new func.
10857 2000-03-03 Gerd Moellmann <gerd@gnu.org>
10859 * strokes.el: Change maintainer's mail address.
10861 2000-03-03 Kenichi Handa <handa@etl.go.jp>
10863 * international/mule-diag.el (list-character-sets): Make help-echo
10864 string by substitute-command-keys.
10865 (list-character-sets): Likewise.
10866 (sort-listed-character-sets): Call help-setup-xref.
10868 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10870 * time.el (display-time-mail-file): Add `none' to the list of
10873 2000-03-01 Dave Love <fx@gnu.org>
10875 * help.el (help-xref-go-back): Don't try to set position.
10877 * international/mule-diag.el (list-character-sets): Call
10878 help-setup-xref. Add help-echo to xrefs.
10879 (list-character-sets-1): Add help-echo to xrefs.
10881 2000-03-02 Gerd Moellmann <gerd@gnu.org>
10883 * frame.el (blink-cursor-mode): Switch cursor on when turning
10886 * add-log.el (add-log-current-defun): Add support for
10889 * mail/rmail.el (rmail-quit-hook): New variable.
10891 2000-03-01 Dave Love <fx@gnu.org>
10893 * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Fix syntax of |.
10895 * help.el (help-xref-button): Add help-echo arg.
10896 (describe-function-1, describe-variable, help-make-xrefs): Use it.
10898 * faces.el (list-faces-display): Supply help-echo with
10901 * facemenu.el (list-text-properties-at): Set help-xref-stack to
10904 2000-03-01 Gerd Moellmann <gerd@gnu.org>
10906 * image.el (defimage): Look for image files in load-path.
10908 * frame.el (busy-cursor-delay-seconds): Change type to
10911 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10913 * recentf.el (recentf): Added version tag to the defgroup of
10916 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10918 * recentf.el (recentf-cleanup): Changed to remove excluded file
10920 (recentf-edit-list-action): `recentf-edit-list' checkbox widget
10921 action to select/unselect a file.
10922 (recentf-edit-list): Code cleanup and improvement.
10923 (recentf-open-more-files-action): `recentf-open-more-files' button
10924 widget action to open a file.
10925 (recentf-open-more-files): No more use standard completion but
10927 (recentf-more-collection): Deleted.
10928 (recentf-more-history): Deleted.
10929 (recentf-setup-more-completion): Deleted.
10931 2000-03-01 David Ponce <david.ponce@wanadoo.fr>
10933 * recentf.el (recentf-mode): No more needs that Emacs is running
10934 under a window-system.
10936 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10938 * recentf.el (recentf-edit-list): New command to edit the recent
10939 list which allow the user to remove files.
10940 (recentf-edit-selected-items): New global variable, used by
10941 `recentf-edit-list' to hold the list of files to be removed from
10943 (recentf-make-menu-items): Updated to display a "Edit list..."
10944 menu item. Minor code cleanup.
10946 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10948 * recentf.el (recentf-open-more-files): New command to open files
10949 that are not displayed in the menu.
10950 (recentf-more-collection): New global variable holding the set of
10951 permissible completions used by `recentf-open-more-files'.
10952 (recentf-more-history): New global variable holding the history list
10953 used by `recentf-open-more-files' completion.
10954 (recentf-setup-more-completion): New function to setup completion for
10955 `recentf-open-more-files'.
10956 (recentf-make-menu-items): Updated to display a "More..." menu item.
10958 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10960 * recentf.el (recentf-menu-action): Doc fixed.
10962 1999-03-01 David Ponce <david.ponce@wanadoo.fr>
10964 * recentf.el (recentf-menu-filter): Doc updated.
10965 (recentf-update-menu-hook): Allow menu filters to force menu update.
10966 (recentf-make-menu-items): New menu filter handling.
10967 (recentf-make-menu-item): New helper function.
10968 (recentf-menu-elements): New menu handling function.
10969 (recentf-sort-ascending): Updated to new menu filter handling.
10970 (recentf-sort-descending): Updated to new menu filter handling.
10971 (recentf-sort-basenames-ascending): New menu filter function.
10972 (recentf-sort-basenames-descending): New menu filter function.
10973 (recentf-show-basenames): New menu filter function.
10974 (recentf-show-basenames-ascending): New menu filter function.
10975 (recentf-show-basenames-descending): New menu filter function.
10977 2000-02-29 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
10979 * diary-lib.el (list-diary-entries): Don't try to go forward at
10980 the end of the buffer.
10982 2000-02-29 Kenichi Handa <handa@etl.go.jp>
10984 * international/mule-diag.el (list-character-sets): Completely
10986 (sort-listed-character-sets): New function.
10987 (list-character-sets-1): Completely rewritten.
10988 (list-character-sets-2): New function.
10989 (non-iso-charset-alist): New variable.
10990 (decode-codepage-char): New function.
10991 (charset-history): New variable.
10992 (read-charset) (list-block-of-chars)
10993 (list-iso-charset-chars)
10994 (list-non-iso-charset-chars)
10995 (list-charset-chars): New functions.
10996 (mule-diag): Call list-character-sets-2, not
10997 list-character-sets-2.
10998 (dump-charsets): Likewise.
11000 2000-02-29 Gerd Moellmann <gerd@gnu.org>
11002 * dired-x.el (dired-filename-at-point): Add `@' to valid
11003 file name characters.
11004 (dired-filename-at-point): Handle ange-ftp file names.
11006 * frame.el (frame-notice-user-settings): Use assq-delete-all
11007 instead of assoc-delete-all.
11008 (frame-notice-user-settings): Ditto.
11010 * subr.el (assq-delete-all): Renamed from assoc-delete-all.
11013 2000-02-28 Eli Barzilay <eli@cs.cornell.edu>
11015 * calculator.el (calculator-use-menu): New option.
11016 (calculator-initial-bindings): Changed some bindings to work as
11018 (calculator-forced-input): Removed.
11019 (calculator-restart-other-mode): New variable.
11020 (calculator-mode-map): Set up menu.
11022 2000-02-28 Jari Aalto <jari.aalto@poboxes.com>
11024 * font-lock.el (java-keywords): Added missing java 1.2.2 Javadoc
11027 2000-02-28 Michael Kifer <kifer@cs.sunysb.edu>
11029 * viper-cmd.el (viper-envelop-ESC-key): added the option to
11030 translate all ESC key sequences.
11031 (viper-goto-mark-subr): restore markers for files for which
11033 * viper-init.el (viper-translate-all-ESC-keysequences): new variable.
11034 * viper-util.el (viper-set-replace-overlay-glyphs,
11035 viper-set-replace-overlay): always check if the replacement
11037 * viper.el (viper-vi-state-mode-list): added major modes.
11038 * ediff-wind.el: minor comment changes.
11039 * ediff.el: copyright notice date fix.
11041 2000-02-27 Jason Rumney <jasonr@gnu.org>
11043 * faces.el (face-font-family-alternatives): Add arial to helv.
11044 (mode-line, header-line, tool-bar): Same default as x for w32.
11045 (fixed-pitch, variable-pitch): Remove wildcard as it prevents
11046 face-font-family-alternatives from working.
11047 * term/w32-win.el (mouse-set-font): Do not build fontset from
11050 2000-02-25 Sam Steingold <sds@goems.com>
11052 * emacs-lisp/cl-indent.el (toplevel): Indent `pprint-logical-block'
11055 2000-02-25 Richard M. Stallman <rms@gnu.org>
11057 * mail/rmail.el (rmail-resend): Verify buffer is really Rmail.
11059 2000-02-25 Gerd Moellmann <gerd@gnu.org>
11061 * emacs-lisp/helper.el (Helper-describe-mode): Make buffer
11064 * frame.el (busy-cursor-delay-seconds): New option.
11066 2000-02-24 Gerd Moellmann <gerd@gnu.org>
11068 * frame.el (show-cursor-in-non-selected-windows): New option.
11070 2000-02-24 Edward M. Reingold <reingold@emr.cs.uiuc.edu>
11072 * diary-lib.el (include-other-diary-files): Undo the selective
11073 display in any included file and don't kill it.
11075 2000-02-24 Eli Zaretskii <eliz@is.elta.co.il>
11077 * dired.el (dired-mode-map): Don't remove "Edit" from the menu
11078 bar. Menu items converted to (menu-item format, help strings
11080 [downcase, upcase]: Don't enable on MS-DOS.
11081 [symlink, symlinks]: Don't show if make-symbolic-link is not
11083 [chown, chgrp]: Don't show on MS-DOS and MS-Windows.
11085 2000-02-23 Dave Love <fx@gnu.org>
11087 * simple.el (zap-to-char, kill-line, kill-region, kill-word)
11088 (backward-kill-word): Revert addition of * to interactive spec --
11091 * paragraphs.el: (kill-paragraph, backward-kill-paragraph)
11092 (backward-kill-sentence, kill-sentence): Likewise.
11094 * gud.el (gud-jdb-build-class-source-alist): Prepend space to
11095 scratch buffer name.
11096 (gud-format-command): Use int-to-string in ?l case. Simplify
11099 * term/w32-win.el (internal-face-interactive): Update prompt for
11100 new read-face-name.
11102 * mail/footnote.el (footnote): Add :version to defgroup.
11103 (footnote-section-tag-regexp): Customize.
11104 (footnote-start-tag, footnote-end-tag): New option.
11105 (footnote-latin-regexp): New variable.
11106 (Footnote-latin): New function.
11107 (footnote-style-alist): Add element for latin style.
11108 (footnote-style): Moved.
11109 (Footnote-goto-footnote): Use eq to test arg.
11111 * mouse.el (mouse-drag-mode-line-1): Remove `growth =' message.
11113 * emacs-lisp/byte-opt.el: Change old backquote syntax.
11114 (byte-compile-trueconstp): Include keywords.
11115 (byte-optimize-quote, byte-optimize-lapcode): Use
11116 byte-compile-const-symbol-p.
11117 (byte-optimize-char-before): New optimization.
11119 * emacs-lisp/bytecomp.el: Change old backquote syntax.
11120 (byte-compile-const-symbol-p): New function.
11121 (byte-compile-constp, byte-compile-out-toplevel)
11122 (byte-compile-form, byte-compile-form, byte-compile-variable-ref):
11125 * subr.el (define-key-after): Default AFTER to t. Doc fix.
11127 2000-02-23 Kenichi Handa <handa@etl.go.jp>
11129 * international/encoded-kb.el: Be sure to update minor-mode-alist
11130 and minor-mode-map-alist.
11131 (encoded-kbd-self-insert-iso2022-8bit): Handle ISO's single shift
11132 codes SS2 and SS3 correctly.
11133 (encoded-kbd-self-insert-ccl): New function.
11134 (encoded-kbd-setup-keymap): New function.
11135 (encoded-kbd-mode): Handle CCL based coding system. Setup keymap
11136 by calling encoded-kbd-setup-keymap.
11138 * emacs-lisp/lisp-mode.el: Don't change syntax of multibyte
11140 (lisp-mode-variables): Set multibyte-syntax-as-symbol to t
11143 2000-02-22 Dave Love <fx@gnu.org>
11145 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table)
11146 (lisp-mode-map, lisp-interaction-mode-map): Define all inside
11148 (lisp-mode-syntax-table): Set up for #|...|# comments.
11149 (lisp-imenu-generic-expression): Purecopy strings. Use syntax
11150 classes. Match `defface'.
11151 (emacs-lisp-mode-hook): Add checkdoc-minor-mode to options.
11152 (eval-defun-1): Fix for defcustom.
11153 (lisp-indent-region): Doc fix.
11155 * subr.el (when, unless, split-string): Doc fix.
11156 (read-passwd): Move call of clear-this-command-keys to the right
11158 (replace-regexps-in-string): New function.
11160 2000-02-22 Gerd Moellmann <gerd@gnu.org>
11162 * help.el (describe-variable): Set syntax table to
11163 emacs-lisp-mode-syntax-table when moving forward over the
11166 2000-02-22 Dave Love <fx@gnu.org>
11168 * xt-mouse.el: Doc fixes.
11169 (xterm-mouse-position-function): New function, replacing advice of
11171 (xterm-mouse-mode): Use it. Don't turn on under a window system.
11173 * emacs-lisp/cl-indent.el: Remove bogus spec for define-condition.
11175 2000-02-21 Gerd Moellmann <gerd@gnu.org>
11177 * format.el (format-annotate-single-property-change): Handle
11178 properties.with dotted-list values.
11179 (format-proper-list-p): New function.
11181 * enriched.el (enriched-face-ans): Handle '(foreground-color
11182 . COLOR) and (background-color . COLOR).
11184 2000-02-20 Dave Love <fx@gnu.org>
11186 * textmodes/flyspell.el (flyspell-mouse-map): Change definition
11187 and assignments to it.
11188 (flyspell-mode-on): Define flyspell-local-mouse-map, inheriting
11190 (make-flyspell-overlay): Use it.
11191 (flyspell-correct-word/mouse-keymap): Change XEmacs test.
11193 * emacs-lisp/lisp-mnt.el: Don't require emacsbug at top level.
11194 (lm-get-header-re): Defun, not defsubst.
11195 (lm-get-package-name): Defun, not defsubst. Simplify.
11196 (lm-version): Doc fix. Simplify.
11197 (lm-header, lm-header-multiline, lm-header-multiline, lm-summary)
11198 (lm-crack-address, lm-last-modified-date, lm-commentary)
11199 (lm-verify, lm-synopsis): Simplify.
11200 (lm-report-bug): Require emacsbug. Use compose-mail.
11202 2000-02-20 Gerd Moellmann <gerd@gnu.org>
11204 * dired.el (dired-mode): Call propertized-buffer-identification
11205 to set mode-line-buffer-identification to something having
11206 the right text properties.
11208 * bindings.el (propertized-buffer-identification): New function.
11210 2000-02-20 Dave Love <fx@gnu.org>
11212 * frame.el (display-mouse-p): Use variable xterm-mouse-mode and
11213 check for t-mouse too.
11215 * cus-start.el: Make echo-keystrokes `number'.
11217 2000-02-20 Eli Zaretskii <eliz@is.elta.co.il>
11219 * menu-bar.el (menu-bar-goto-menu) [next-tag, next-tag-otherw]:
11220 Don't call ring-empty-p unless tags-location-ring is bound.
11221 From Noah Friedman <friedman@splode.com>.
11223 2000-02-18 Thien-Thi Nguyen <ttn@gnu.org>
11225 * progmodes/hideshow.el (hs-flag-region): No longer use
11226 `intangible' overlay property.
11228 (hs-toggle-hiding): New command.
11229 (hs-mouse-toggle-hiding): Use `hs-toggle-hiding'.
11231 (hs-minor-mode): Move call to `hs-grok-mode-type' early on.
11232 Fix omission bug: Run `hs-minor-mode-hook' for both activation
11235 2000-02-18 Gerd Moellmann <gerd@gnu.org>
11237 * emacs-lisp/cl-macs.el (caar, cadr, cdar, cddr): Add defsetfs.
11239 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11241 * emacs-lisp/cl-indent.el (lisp-indent-259): Indentation fix.
11243 * progmodes/pascal.el (pascal-mode-syntax-table): Change syntax
11244 of `*' to handle `(* ... *)' comments.
11246 2000-02-17 Eli Zaretskii <eliz@is.elta.co.il>
11248 * faces.el (list-faces-display): Use display-mouse-p instead of
11251 * menu-bar.el (global-map): Menu-bar items converted to the new
11252 format (menu-item..., rearranged for better CUA compliance, and
11253 their names changed for better clarity. Help strings added.
11255 * international/mule-cmds.el (mule-menu-keymap)
11256 (describe-language-environment-map, set-coding-system-map)
11257 (setup-language-environment-map): Convert to new (menu-item...
11258 form, add help strings. Change names of menu items for better
11259 clarity. "Mule" menu-bar item removed (it's now in the "Options"
11262 2000-02-17 Gerd Moellmann <gerd@gnu.org>
11264 * dired-aux.el (dired-do-copy): Remove spurious character.`n'
11267 2000-02-16 Dave Love <fx@gnu.org>
11269 * faces.el: Don't require custom. Add more specific :groups to
11271 (set-face-attribute): Purecopy args.
11272 (read-face-name): Default to name at point and use it in prompt.
11273 Remove colon from arg in all callers.
11274 (list-faces-display): Hyperlink to face descriptions and customize
11277 2000-02-16 Per Abrahamsen <abraham@dina.kvl.dk>
11279 * wid-edit.el (widget-match-inline): An atom never matches a
11282 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11284 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11285 at ':' characters by call to split-string.
11287 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11289 * textmodes/bibtex.el: Added RCS version identification.
11291 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11293 * textmodes/bibtex.el: Some temporary comments removed.
11294 (bibtex-field-name, bibtex-entry-type): Made the relationship
11296 (bibtex-field-const): Allow capital letters.
11297 (bibtex-start-of-string): Deleted because unused.
11299 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11300 use the term 'reference' to describe a bibtex entry as a whole.
11301 Further, reference keys are no longer called 'labels'.
11302 (bibtex-keys): Renamed to bibtex-reference-keys.
11303 (bibtex-reformat-previous-labels): Renamed to
11304 bibtex-reformat-previous-reference-keys.
11305 (bibtex-reference-type): Renamed to bibtex-entry-type.
11306 (bibtex-reference-head): Renamed to bibtex-entry-head.
11307 (bibtex-reference-maybe-empty-head): Renamed to
11308 bibtex-entry-maybe-empty-head.
11309 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11310 (bibtex-search-reference): Renamed to bibtex-search-entry.
11311 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11312 bibtex-enclosing-entry-maybe-empty-head.
11313 (bibtex-entry-field-alist, bibtex-entry-head,
11314 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11315 bibtex-map-entries, bibtex-search-entry,
11316 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11317 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11318 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11319 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11320 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11321 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11322 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11324 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11326 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11328 (bibtex-format-field-delimiters): New function, functionality
11329 extracted from bibtex-format-entry.
11330 (bibtex-autokey-get-yearfield-digits): New function, functionality
11331 extracted from bibtex-autokey-get-yearfield.
11333 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11334 entries in order to avoid stack overflow in the regexp matcher if
11335 field contents become large.
11336 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11337 bibtex-field-string-part-not-braced,
11338 bibtex-field-string-part-no-inner-braces,
11339 bibtex-field-string-part-1-inner-brace,
11340 bibtex-field-string-part-2-inner-braces,
11341 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11342 bibtex-field-string-quoted, bibtex-field-string,
11343 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11344 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11345 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11346 as parsing is now performed by the following functions.
11347 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11348 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11349 bibtex-parse-field-string, bibtex-search-forward-field-string,
11350 bibtex-parse-association, bibtex-field-name-for-parsing,
11351 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11352 bibtex-search-forward-field, bibtex-search-backward-field,
11353 bibtex-start-of-field, bibtex-end-of-field,
11354 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11355 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11356 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11357 bibtex-parse-string, bibtex-search-forward-string,
11358 bibtex-search-backward-string, bibtex-start-of-string,
11359 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11360 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11361 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11362 entries. Instead of reporting the results of the parsing by
11363 match-beginning or match-end, these functions return data structures
11364 that hold the corresponding positions.
11365 (bibtex-enclosing-field): Changed to also report field boundaries by
11366 return values rather than by match-beginning or match-end. The
11367 following functions have been adapted to use the new parsing
11369 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11370 bibtex-enclosing-field, bibtex-format-entry,
11371 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11372 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11373 bibtex-print-help-message, bibtex-end-of-entry,
11374 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11375 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11376 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11377 method for parsing.
11378 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11379 bibtex-map-entries, bibtex-flash-head,
11380 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11381 bibtex-autokey-change, bibtex-autokey-get-namefield,
11382 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11383 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11384 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11385 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11386 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11387 order to make the new binding of case-fold-search immediately
11390 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11392 * textmodes/bibtex.el: Copyright notice is up to date.
11393 Added constant 'bibtex-maintainer-salutation.
11395 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11396 than make-temp-name, use match-string-no-properties and eliminate
11397 a quadratic behavior when building bibtex-strings.
11399 * bibtex.el (bibtex-reference-key): Accept string entries whose
11400 reference key contains upper case letters.
11402 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11404 * bibtex.el (bibtex-reference-head): Allow entries to start with
11407 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11409 * bibtex.el: Hiding of entry bodies is not longer provided by
11410 bibtex.el directly. Instead the hideshow package can be used.
11411 Added a special bibtex entry to hs-special-modes-alist.
11412 (bibtex-hs-forward-sexp): Added for hideshow.el.
11414 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11416 * textmodes/bibtex.el (bibtex-mode): Replaced manual splitting of path
11417 at ':' characters by call to split-string.
11419 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11421 * textmodes/bibtex.el: Added RCS version identification.
11423 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11425 * textmodes/bibtex.el: Some temporary comments removed.
11426 (bibtex-field-name, bibtex-entry-type): Made the relationship
11428 (bibtex-field-const): Allow capital letters.
11429 (bibtex-start-of-string): Deleted because unused.
11431 * textmodes/bibtex.el: Unified some nomenclature. We no longer
11432 use the term 'reference' to describe a bibtex entry as a whole.
11433 Further, reference keys are no longer called 'labels'.
11434 (bibtex-keys): Renamed to bibtex-reference-keys.
11435 (bibtex-reformat-previous-labels): Renamed to
11436 bibtex-reformat-previous-reference-keys.
11437 (bibtex-reference-type): Renamed to bibtex-entry-type.
11438 (bibtex-reference-head): Renamed to bibtex-entry-head.
11439 (bibtex-reference-maybe-empty-head): Renamed to
11440 bibtex-entry-maybe-empty-head.
11441 (bibtex-key-in-reference): Renamed to bibtex-key-in-entry.
11442 (bibtex-search-reference): Renamed to bibtex-search-entry.
11443 (bibtex-enclosing-reference-maybe-empty-head): Renamed to
11444 bibtex-enclosing-entry-maybe-empty-head.
11445 (bibtex-entry-field-alist, bibtex-entry-head,
11446 bibtex-font-lock-keywords, bibtex-skip-to-valid-entry,
11447 bibtex-map-entries, bibtex-search-entry,
11448 bibtex-enclosing-entry-maybe-empty-head, bibtex-format-entry,
11449 bibtex-generate-autokey, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11450 bibtex-submit-bug-report, bibtex-entry, bibtex-print-help-message,
11451 bibtex-make-field, bibtex-end-of-entry, bibtex-sort-buffer,
11452 bibtex-find-entry-location, bibtex-validate, bibtex-find-text,
11453 bibtex-kill-entry, bibtex-clean-entry, bibtex-reformat,
11454 bibtex-complete-key, bibtex-String) : Use the new nomenclature.
11456 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11458 * textmodes/bibtex.el (bibtex-strings, bibtex-keys): Removed redundant
11460 (bibtex-format-field-delimiters): New function, functionality
11461 extracted from bibtex-format-entry.
11462 (bibtex-autokey-get-yearfield-digits): New function, functionality
11463 extracted from bibtex-autokey-get-yearfield.
11465 * textmodes/bibtex.el: Completely reimplemented parsing of bibtex
11466 entries in order to avoid stack overflow in the regexp matcher if
11467 field contents become large.
11468 (bibtex-cfield, bibtex-name-in-cfield, bibtex-text-in-cfield,
11469 bibtex-field-string-part-not-braced,
11470 bibtex-field-string-part-no-inner-braces,
11471 bibtex-field-string-part-1-inner-brace,
11472 bibtex-field-string-part-2-inner-braces,
11473 bibtex-field-string-part-3-inner-braces, bibtex-field-string-braced,
11474 bibtex-field-string-quoted, bibtex-field-string,
11475 bibtex-field-string-or-const, bibtex-field-text, bibtex-field,
11476 bibtex-name-in-field, bibtex-text-in-field, bibtex-reference-infix,
11477 bibtex-string, bibtex-key-in-string, bibtex-text-in-string): Deleted
11478 as parsing is now performed by the following functions.
11479 (bibtex-parse-nested-braces, bibtex-parse-field-string-braced,
11480 bibtex-parse-quoted-string, bibtex-parse-field-string-quoted,
11481 bibtex-parse-field-string, bibtex-search-forward-field-string,
11482 bibtex-parse-association, bibtex-field-name-for-parsing,
11483 bibtex-parse-field-name, bibtex-parse-field-text, bibtex-parse-field,
11484 bibtex-search-forward-field, bibtex-search-backward-field,
11485 bibtex-start-of-field, bibtex-end-of-field,
11486 bibtex-start-of-name-in-field, bibtex-end-of-name-in-field,
11487 bibtex-start-of-text-in-field, bibtex-end-of-text-in-field,
11488 bibtex-parse-string-prefix, bibtex-parse-string-postfix,
11489 bibtex-parse-string, bibtex-search-forward-string,
11490 bibtex-search-backward-string, bibtex-start-of-string,
11491 bibtex-end-of-string, bibtex-start-of-reference-key-in-string,
11492 bibtex-end-of-reference-key-in-string, bibtex-start-of-text-in-string,
11493 bibtex-end-of-text-in-string): New functions for the parsing of bibtex
11494 entries. Instead of reporting the results of the parsing by
11495 match-beginning or match-end, these functions return data structures
11496 that hold the corresponding positions.
11497 (bibtex-enclosing-field): Changed to also report field boundaries by
11498 return values rather than by match-beginning or match-end. The
11499 following functions have been adapted to use the new parsing
11501 (bibtex-skip-to-valid-entry, bibtex-search-reference,
11502 bibtex-enclosing-field, bibtex-format-entry,
11503 bibtex-autokey-get-namefield, bibtex-autokey-get-titlestring,
11504 bibtex-parse-keys, bibtex-complete, bibtex-pop, bibtex-mode,
11505 bibtex-print-help-message, bibtex-end-of-entry,
11506 bibtex-ispell-abstract, bibtex-validate, bibtex-next-field,
11507 bibtex-find-text, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11508 bibtex-kill-field, bibtex-empty-field, bibtex-fill-entry): Use the new
11509 method for parsing.
11510 (bibtex-assoc-of-regexp, bibtex-skip-to-valid-entry,
11511 bibtex-map-entries, bibtex-flash-head,
11512 bibtex-enclosing-reference-maybe-empty-head, bibtex-format-entry,
11513 bibtex-autokey-change, bibtex-autokey-get-namefield,
11514 bibtex-autokey-get-names, bibtex-autokey-get-titlestring,
11515 bibtex-autokey-get-titles, bibtex-parse-keys, bibtex-pop, bibtex-mode,
11516 bibtex-end-of-entry, bibtex-ispell-abstract, bibtex-sort-buffer,
11517 bibtex-validate, bibtex-remove-OPT-or-ALT, bibtex-remove-delimiters,
11518 bibtex-kill-field, bibtex-kill-entry): Use let* instead of let in
11519 order to make the new binding of case-fold-search immediately
11522 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11524 * textmodes/bibtex.el: Copyright notice is up to date.
11525 Added constant 'bibtex-maintainer-salutation.
11527 * textmodes/bibtex.el (bibtex-mode): use with-temp-buffer rather
11528 than make-temp-name, use match-string-no-properties and eliminate
11529 a quadratic behavior when building bibtex-strings.
11531 * bibtex.el (bibtex-reference-key): Accept string entries whose
11532 reference key contains upper case letters.
11534 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11536 * bibtex.el (bibtex-reference-head): Allow entries to start with
11539 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11541 * bibtex.el: Hiding of entry bodies is not longer provided by
11542 bibtex.el directly. Instead the hideshow package can be used.
11543 Added a special bibtex entry to hs-special-modes-alist.
11544 (bibtex-hs-forward-sexp): Added for hideshow.el.
11546 2000-02-15 Dirk Herrmann <D.Herrmann@tu-bs.de>
11548 * bibtex.el (bibtex-entry-field-alist): Added booktitle field to
11549 proceedings entry type (for cross referencing). Thanks to Wagner
11550 Toledo Correa for the suggestion.
11552 * bibtex.el: Added `reftex-view-crossref-from-bibtex' to menu.
11554 2000-02-14 Kenichi Handa <handa@etl.go.jp>
11556 * international/characters.el: Setup case table for Vietnamese.
11558 2000-02-12 Gerd Moellmann <gerd@gnu.org>
11560 * uniquify.el (toplevel): Require CL at compile time.
11561 (uniquify-push): Removed.
11563 * shadowfile.el (shadow-when): Removed.
11565 * tempo.el (tempo-dolist, tempo-mapc): Removed.
11566 (tempo-process-and-insert-string): Use dolist instead of
11569 * textmodes/sgml-mode.el (sgml-mode-common): Remove `$' from
11570 regexp for paragraph-start.
11572 * mail/mail-utils.el (rmail-dont-reply-to): Remove leading
11575 2000-02-10 Dave Love <fx@gnu.org>
11577 * wid-edit.el: (widgets) [defgroup]: Remove url link.
11578 (widget-color-choice-list, widget-color-history, widget-mouse-help):
11580 (widget-specify-field, widget-specify-button): Don't use
11581 widget-mouse-help as help-echo property.
11582 (default): Use #'ignore for :validate and :mouse-down-action.
11583 (checkbox): Add help-echo.
11584 (widget-sexp-validate): Rewritten to clarify error messages.
11585 (character): Use char-valid-p in :match function.
11586 (widget-color-complete): Use facemenu-color-alist.
11587 (widget-color-action): Use facemenu-read-color.
11589 * emacs-lisp/cl-macs.el: Don't bother testing for defalias. Don't
11590 set up `caar' &c that we now have.
11592 2000-02-09 Ray Blaak <blaak@gnu.org>
11594 * delphi.el: Make resourcestring a declaration region, like const
11597 2000-02-09 Dave Love <fx@gnu.org>
11599 * bindings.el (mode-line-input-method-map): New variable.
11600 (mode-line-mule-info): Use it; fix last change.
11601 (mode-line-mode-menu): Move definition.
11602 (mode-line-mouse-sensitive-p): Deleted.
11603 (mode-line-mode-name): Don't use mode-line-mouse-sensitive-p.
11604 (make-mode-line-mouse-sensitive): Deleted. Body moved to top
11607 * startup.el (command-line-1): Don't call
11608 make-mode-line-mouse-sensitive.
11610 2000-02-07 Francesco Potorti` <F.Potorti@cnuce.cnr.it>
11612 * mail/rmail.el (rmail-retry-failure): Use
11613 rmail-beginning-of-message before rmail-toggle-header, because the
11614 former toggles headers.
11616 2000-02-06 Stefan Monnier <monnier@cs.yale.edu>
11618 * diff-mode.el (diff-kill-junk): New interactive function.
11619 (diff-reverse-direction): Use delete-and-extract-region.
11620 (diff-post-command-hook): Restrict the area so that the hook also works
11621 outside of any diff hunk. This is necessary for the minor-mode.
11622 (diff-mode): Use toggle-read-only and minor-mode-overriding-map-alist.
11623 (diff-minor-mode): Setup the hooks for header-hunk rewriting.
11625 * font-lock.el (font-lock-keywords): Fix doc for multiline matches.
11626 (font-lock-add-keywords): Make it work even if font-lock-mode is nil,
11627 so that it can be used more easily in <foo>-mode-hook. Also make sure
11628 to avoid duplicate entries.
11629 (font-lock-update-removed-keyword-alist): Renamed `major-mode'->`mode'.
11630 (font-lock-remove-keywords): Just as was done for `add', allow it to
11631 work even if font-lock-mode is nil. Also make sure we don't modify
11632 any pre-existing list by forcing a copy-sequence. Finally rename
11633 `major-mode' to `mode'.
11634 (font-lock-fontify-syntactic-anchored-keywords)
11635 (font-lock-fontify-anchored-keywords)
11636 (font-lock-fontify-keywords-region): Use line-end-position.
11637 Don't make `font-lock-multiline' local (it's now done in
11638 font-lock-set-defaults).
11639 (font-lock-set-defaults): Make `font-lock-multiline' local. Also
11640 move the `font-lock-fontified' creation to inside the `unless'.
11642 2000-02-06 Andrew Innes <andrewi@gnu.org>
11644 * term/w32-win.el (x-handle-args): Comment out call to message,
11645 which occurs before window system is initialized.
11647 * makefile.nt: Add support for recompiling lisp code.
11649 2000-02-04 Dave Love <fx@gnu.org>
11651 * bindings.el (mode-line-mule-info): Fix/extend last change.
11653 * completion.el: Replace completion-dolist with dolist.
11655 * tar-mode.el: Replace tar-dolist, tar-dotimes with dolist,
11658 2000-02-04 Carsten Dominik <dominik@strw.leidenuniv.nl>
11660 * textmodes/reftex.el (reftex-compile-variables): regexp-quote the
11661 environment names before they go into the section regexp.
11663 * textmodes/reftex-global.el (reftex-change-label): add `A-Z' to
11664 char class in regexp.
11666 * textmodes/reftex-parse.el (reftex-with-special-syntax): Bind
11667 `case-fold-search' to nil.
11669 * progmodes/idlwave.el (idlwave-template): Respect
11670 `idlwave-abbrev-change-case'.
11671 (idlwave-rw-case, idlwave-elif, idlwave-case, idlwave-for,
11672 idlwave-if, idlwave-procedure, idlwave-function, idlwave-repeat,
11673 idlwave-while): respect `idlwave-reserved-word-upcase'.
11674 (idlwave-rw-case): New function.
11675 (idlwave-statement-match): Fixed problem with assignment regexp.
11676 (idlwave-font-lock-keywords): Improved regexp for keyword
11678 (idlwave-surround): New argument LENGTH to support padding of
11679 operators longer than 1 char.
11681 * progmodes/idlw-shell.el (idlwave-shell-print): Fixed bug with
11682 idlwave-shell-expression-overlay. Implemented printing of
11683 expressions on higher levels of the calling stack.
11684 (idlwave-shell-display-level-in-calling-stack): Restore stack
11686 (idlwave-retrieve-expression-from-level): New function.
11687 (idlwave-shell-last-calling-stack): Variable removed.
11688 (idlwave-shell-reset): Argument action reversed (`visible' to
11689 `hidden'). Also remove stop-line overlay.
11690 (idlwave-shell-calling-stack-routine): New variable.
11691 (idlwave-shell-parse-stack-and-display): Messages now display
11692 negative level numbers.
11693 (idlwave-shell-mode): Set `modeline-format'.
11694 (idlwave-shell-display-line): Set `idlwave-shell-mode-line-info'.
11695 (idlwave-shell-make-new-bp-overlay): Fixed glyph display for Emacs
11697 (idlwave-shell-print-expression-function): New option.
11699 * progmodes/idlw-toolbar.el (idlwave-toolbar-add-everywhere,
11700 idlwave-toolbar-remove-everywhere): Keybindings prefix is now
11701 `tool-bar' instead of `toolbar'.
11703 2000-02-02 Dave Love <fx@gnu.org>
11705 * emacs-lisp/cl.el: Use bytecomp-load-hook, not
11706 emacs-lisp-mode-hook. Don't check for defalias being defined.
11708 * emacs-lisp/cl-extra.el (cl-builtin-gethash, cl-builtin-remhash)
11709 (cl-builtin-maphash, cl-builtin-clrhash): Remove definitions. Use
11710 the new builtins directly.
11712 * whitespace.el (whitespace): Add :version to defgroup.
11714 * tooltip.el (tooltip-gud-tips-p, tooltip-gud-toggle-dereference):
11717 * thingatpt.el (sexp-at-point, symbol-at-point)
11718 (number-at-point, list-at-point): Add autoload cookie.
11720 * recentf.el (recentf): Add :version to defgroup.
11722 * quickurl.el (quickurl): Add :version to defgroup.
11724 * elide-head.el (elide-head): Use point-marker more.
11726 * bs.el (bs): Add :version to defgroup.
11728 * autorevert.el (global-auto-revert-mode): Add autoload cookie.
11730 * progmodes/delphi.el (delphi): Add :version to defgroup.
11732 2000-02-02 Gerd Moellmann <gerd@gnu.org>
11734 * ange-ftp.el (ange-ftp-write-region): Handle case that
11735 succeeding process operation sets a different coding system.
11737 * calculator.el: New file.
11739 2000-02-02 Eli Zaretskii <eliz@is.elta.co.il>
11741 * frame.el (frames-on-display-list, framep-on-display): New
11743 (display-mouse-p, display-popup-menus-p, display-graphic-p)
11744 (display-selections-p, display-screens, display-pixel-width)
11745 (display-pixel-height, display-mm-width, display-mm-height)
11746 (display-backing-store, display-save-under, display-planes)
11747 (display-color-cells, display-visual-class): New functions.
11749 * term/tty-colors.el (tty-color-gray-shades): New function.
11751 * faces.el (display-color-p): Use framep-on-display.
11752 (display-grayscale-p): New function.
11754 2000-01-31 Dave Love <fx@gnu.org>
11756 * emacs-lisp/fontset.el (standard-fontset-spec): Purecopy it.
11757 (create-fontset-from-x-resource): Don't concat integers.
11759 2000-01-31 Inge Frick <inge@nada.kth.se>
11761 * view.el: Some changes in documentation. Removed some trailing
11762 whitespace. Changed some parameter names to agree with
11764 (view-mode-exit): Keep entry in `view-return-to-alist' only when a
11765 window is not deleted. Modifies change 1998-04-26.
11767 2000-01-31 Gerd Moellmann <gerd@gnu.org>
11769 * windmove.el: New file.
11771 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11772 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11773 progmodes/ebnf-yac.el: Update copyright and license info.
11775 * jit-lock.el (jit-lock-function): Widen before calculating end
11777 (jit-lock-stealth-chunk-start): Rewritten.
11779 * info.el (Info-title-face-alist): Removed.
11780 (Info-title-1-face, Info-title-2-face, Info-title-3-face): New
11782 (Info-fontify-node): Use these faces.
11784 2000-01-30 Gerd Moellmann <gerd@gnu.org>
11786 * emacs-lisp/cl-specs.el (cl-lambda-list, cl-macro-list)
11787 (cl-macro-list1): Recognize `&allow-other-keys' instead of
11788 `&allow-other-keywords'.
11790 * mail/mh-utils.el (mh-find-progs): Add directory `etc' to
11791 the list of directories scanned heuristically.
11793 * Makefile (DONTCOMPILE): Remove term-nasty.el; doesn't seem to
11796 2000-01-30 Jason Rumney <jasonr@gnu.org>
11798 * w32-fns.el: Define w32-tty-standard-colors.
11800 * startup.el (command-line): Use w32-tty-standard-colors when in
11803 2000-01-30 Dave Love <fx@gnu.org>
11805 * jka-compr.el (jka-compr-load): Fix up load-history.
11807 * emacs-lisp/cl.el: Replace autoloads for dolist, dotimes.
11809 * emacs-lisp/cl-macs.el: Revert previous change.
11811 2000-01-29 Dave Love <fx@gnu.org>
11813 * facemenu.el: Purecopy various strings.
11815 * timezone.el (timezone-fix-time): Window against 69 for two-digit
11816 years. Deal with three-digit years.
11818 * help.el (help-xref-symbol-regexp, help-xref-info-regexp): Use
11819 defconst, purecopy.
11820 (help-back-label): Purecopy it.
11822 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11824 * iswitchb.el (iswitchb-use-frame-buffer-list): New configuration
11825 variable. If non-nil, order the buffer list according to the
11826 currently selected frame.
11827 (iswitchb-make-buflist): If iswitchb-use-frame-buffer-list is
11828 non-nil, pass the selected frame to function buffer-list.
11830 2000-01-29 Vinicius Jose Latorre <vinicius@cpqd.com.br>
11832 * progmodes/ebnf2ps.el (ebnf-syntax): Doc fix
11834 2000-01-28 Dave Love <fx@gnu.org>
11836 * emacs-lisp/cl-macs.el: Remove dotimes, dolist.
11838 * emacs-lisp/cl.el: Remove stuff for dotimes, dolist, push, pop.
11839 Don't use lisp-indent-hook property.
11842 * subr.el: Move out indent and edebug specs for when and unless.
11844 * emacs-lisp/lisp-mode.el: Add indent specs for dolist, dotimes,
11847 * emacs-lisp/edebug.el: Add specs for push, pop, dotimes, dolist,
11850 2000-01-28 Gerd Moellmann <gerd@gnu.org>
11852 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Recognize
11853 `collecting' as synonym for `collect'.
11855 * ange-ftp.el (ange-ftp-copy-file-internal): Quote new name
11856 for the case it contains spaces.
11858 * simple.el (what-cursor-position): Change formatting of
11861 * frame.el (delete-other-frames): New function.
11862 (toplevel): Bind it to C-x 5 1.
11864 * sort.el (sort-numeric-base): New option.
11865 (sort-numeric-fields): If number starts with `0' or `0[xX[',
11866 interpret it as octal or hexadecimal. Use sort-numeric-base
11869 * progmodes/glasses.el: New file.
11871 2000-01-27 Gerd Moellmann <gerd@gnu.org>
11873 * mail/mail-utils.el (rmail-dont-reply-to): Replace matched
11874 userids differently.
11876 * progmodes/ebnf2ps.el, progmodes/ebnf-bnf.el,
11877 progmodes/ebnf-iso.el, progmodes/ebnf-otz.el,
11878 progmodes/ebnf-yac.el: New files.
11880 2000-01-26 Dave Love <fx@gnu.org>
11882 * emacs-lisp/checkdoc.el (checkdoc-interactive-loop): Don't lose
11883 on a function with an empty body. [From Eric Ludlam.]
11885 2000-01-25 Andre Spiegel <spiegel@gnu.org>
11887 * vc.el (vc-version-diff): Make sure file name is expanded.
11889 2000-01-25 Gerd Moellmann <gerd@gnu.org>
11891 * scroll-bar.el (scroll-bar-timer): Variable removed.
11892 (scroll-bar-toolkit-scroll): Don't use a timer.
11894 2000-01-25 Kenichi Handa <handa@etl.go.jp>
11896 * language/thai-util.el (thai-composition-function): Delete
11899 2000-01-24 Dave Love <fx@gnu.org>
11901 * fortran.el (fortran-mode): Use beginning-of-defun-function,
11902 end-of-defun-function.
11904 * font-lock.el (turn-on-font-lock): Don't depend on window-system
11907 2000-01-22 Jason Rumney <jasonr@gnu.org>
11909 * term/w32-win.el (w32_create_initial_fontsets): Disabled as it
11910 conflicts with new face support.
11912 2000-01-22 Richard M. Stallman <rms@gnu.org>
11914 * replace.el (query-replace): Rename last arg to DELIMITED.
11915 (map-query-replace-regexp, query-replace-regexp-eval): Likewise.
11916 (query-replace-regexp): Likewise.
11918 2000-01-20 Richard M. Stallman <rms@gnu.org>
11920 * subr.el (with-syntax-table): Use make-symbol, not gensym.
11922 * emacs-lisp/lisp.el (beginning-of-defun-function):
11923 Variable renamed from beginning-of-defun.
11924 Do not call make-variable-buffer-local.
11925 (beginning-of-defun-raw): Use new variable name; doc fix.
11926 (beginning-of-defun): Doc fix.
11927 (end-of-defun-function): Variable renamed from end-of-defun.
11928 Do not call make-variable-buffer-local.
11929 (end-of-defun): Use new variable name; doc fix.
11931 * subr.el (dolist, dotimes): Copied from cl-macs.el
11934 * mail/undigest.el (rmail-digest-end-regexps):
11935 Variable replaces rmail-digest-end-regexp.
11936 Allows multiple regexps for detecting the end line.
11937 (undigestify-rmail-message): Corresponding changes.
11939 2000-01-19 Dave Love <fx@gnu.org>
11941 * files.el (user-init-file): Don't declare here -- is primitive.
11943 * startup.el (command-line): Check for compiled user-init-file and
11944 set to uncompiled version if necessary.
11946 2000-01-18 Gerd Moellmann <gerd@gnu.org>
11948 * mail/undigest.el (rmail-digest-end-regexp): New user option.
11949 (undigestify-rmail-message): Use it.
11951 * ange-ftp.el (ange-ftp-skip-msgs): Add regexp for EPRT.
11953 2000-01-17 Gerd Moellmann <gerd@gnu.org>
11955 * tmm.el (tmm-goto-completions): Adapt to prompt being part
11958 2000-01-14 Gerd Moellmann <gerd@gnu.org>
11960 * emacs-lisp/copyright.el (copyright-update): Removed the
11961 requirement for a trailing space from `copyright-regexp', to
11962 support copyrights with owner specified on a separate line..
11964 * align.el: New file.
11966 * menu-bar.el (menu-bar-tools-menu): Add EUDC submenu.
11968 * net/eudc.el (toplevel): Define EUDC menu for Emacs.
11970 2000-01-13 Dave Love <fx@gnu.org>
11972 * ph.el: Removed. (Obsoleted by EUDC.)
11974 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11976 * net/eudc.el (toplevel): Remove autoloaded code installing
11977 menu with easymenu, because that causes build problems.
11979 * frame.el (frame-notice-user-settings): New variable.
11980 (frame-notice-user-settings): Don't modify frame parameters
11981 if called a second time.
11983 2000-01-13 Richard M. Stallman <rms@gnu.org>
11985 * frame.el (frame-notice-user-settings):
11986 Notice default-frame-parameters even for non-window frames.
11988 2000-01-13 Gerd Moellmann <gerd@gnu.org>
11990 * net/eudc-bob.el (eudc-bob-play-sound-at-point): Play sounds
11992 (eudc-bob-can-display-inline-images): Extend for Emacs.
11993 (eudc-bob-toggle-inline-display): Ditto.
11994 (eudc-bob-display-jpeg): Ditto.
11996 2000-01-12 Gerd Moellmann <gerd@gnu.org>
11998 * net/eudc-bob.el, net/eudc-export.el, net/eudc-hotlist.el,
11999 net/eudc-vars.el, net/eudc.el, net/eudcb-bbdb.el,
12000 net/eudcb-ldap.el, net/eudcb-ph.el, net/ldap.el: New files.
12002 * add-log.el (add-change-log-entry): Fix error trying an `(insert
12005 * subdirs.el: Add `net' directory.
12007 * net: New directory.
12009 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): Renamed from
12010 eval-last-sexp. Don't bind debug-on-error here.
12011 (eval-last-sexp): New function. Bind debug-on-error if
12012 eval-expression-debug-on-error is non-nil.
12013 (eval-defun-2, eval-defun): Likewise.
12015 * simple.el (eval-expression): Don't bind debug-on-error if
12016 eval-expression-debug-on-error is nil. Detect changed
12017 debug-on-error, and propagate new value to global binding, if
12018 eval-expression-debug-on-error is non-nil,
12019 (eval-expression-debug-on-error): Change doc string.
12021 2000-01-11 Richard M. Stallman <rms@gnu.org>
12023 * emacs-lisp/edebug.el (with-syntax-table): Add a def-edebug-spec.
12025 * emacs-lisp/lisp-mode.el (with-syntax-table):
12026 Set up lisp-indent-function property.
12028 * subr.el (with-syntax-table): Moved from simple.el.
12030 * simple.el (with-syntax-table): Moved to subr.el.
12032 2000-01-11 Gerd Moellmann <gerd@gnu.org>
12034 * tmm.el (tmm-shortcut): Delete region after prompt instead
12037 * textmodes/fill.el (fill-common-string-prefix): New function.
12038 (fill-context-prefix): Use the longest common prefix of first
12039 and second line fill prefix, if there is one.
12041 2000-01-11 Richard M. Stallman <rms@gnu.org>
12043 * array.el (array-mode): Don't use make-variable-buffer-local.
12044 Use make-local-variable for `truncate-lines'.
12046 2000-01-11 Jari Aalto <jari.aalto@poboxes.com>
12048 * add-log.el (add-log-current-defun): Handle user-defined
12049 add-log-current-function returning nil,
12051 * add-log.el (add-change-log-entry): Insert version number
12052 if having found a current function
12054 * add-log.el (add-log-current-defun): Call
12055 `add-log-current-defun-function'. Try matches at level 0 and
12056 level 1. Strip whitespace from defun found.
12058 2000-01-10 John Wiegley <johnw@gnu.org>
12060 * allout.el (isearch-done/outline-provisions): Added `edit'
12061 argument to correspond with the current definition of
12064 2000-01-10 Dave Love <fx@gnu.org>
12066 * elide-head.el (elide-head): Use point-marker, not point.
12068 2000-01-10 Gerd Moellmann <gerd@gnu.org>
12070 * vc-hooks.el (vc-parse-buffer): Handle mixtures of dates
12071 before and after the year 2000.
12073 * textmodes/ispell-merged.el (xemacsp, version18p, version-20p):
12074 Add ispell- prefix.
12076 2000-01-10 Ken Stevens <k.stevens@ieee.org>
12078 * ispell.el: Only define dictionaries in menus when they exist.
12079 (version18p): New variable.
12080 (version20p): New variable.
12081 (xemacsp): New variable.
12082 (ispell-choices-win-default-height): Fix for XEmacs visibility.
12083 (ispell-dictionary-alist1): Added Brasileiro dictionary.
12084 (ispell-dictionary-alist6): Russian command lines no longer accept
12085 run-together words.
12086 (ispell-local-dictionary-alist): Add koi8-r to customize definition.
12087 (ispell-dictionary-alist): Add koi8-r to customize definition.
12088 (check-ispell-version): Added documentation string. Returns
12089 library path when called non-interactively.
12090 (ispell-menu-map-needed): Uses new variables.
12091 (ispell-library-path): New variable.
12092 (ispell-decode-string): XEmacs fix for bogus variable bindings.
12093 (ispell-word): Improved documentation string. Test for valid
12094 character mappings. Correctly check typed in word changes that can
12095 result in single words split into multiple words. Returns
12097 (ispell-command-loop): Fixes XEmacs display bugs. Show word to
12098 replace in recursive query replace mode. Help message for
12099 recursive edit mode.
12100 (ispell-show-choices): Protect against bad framepop bindings.
12101 (ispell-help): Fix to work with XEmacs.
12102 (ispell-highlight-spelling-error): Use new variables.
12103 (ispell-overlay-window): Fix to work with XEmacs.
12104 (ispell-parse-output): Passed and returns location information
12105 tracking spelling corrections. Doesn't recheck same word on
12107 (ispell-init-process): Protect against bogus XEmacs variable binding.
12108 Fix call to single argument in sleep-for. Use new variables.
12109 (ispell-region): Passed and returns location information tracking
12110 spelling corrections. Doesn't check same word on current line.
12111 Improved documentation string. Doesn't resend a line already
12112 checked to the ispell process - fixes bug in LaTeX parsing.
12113 (ispell-begin-skip-region-regexp): No longer skips <TT> in SGML.
12114 (ispell-skip-region): No longer skips <TT> in SGML.
12115 (ispell-process-line): Tracks location information with spelling
12116 corrections. Added documentation string. Accounts for words
12117 already accepted on this line. Don't allow query-replace on line
12118 starting with math characters. Doesn't resend a line already sent
12119 to ispell process. Fixes alignment error bug.
12121 2000-01-10 Richard M. Stallman <rms@gnu.org>
12123 * dired-x.el (dired-guess-shell-alist-default):
12124 Suggest xloadimage, which is free, not xv, which isn't.
12126 * ange-ftp.el (ange-ftp-file-name-nondirectory):
12127 Don't ever include the host name or user name in the value.
12129 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12131 * textmodes/texinfmt.el (texinfo-format-scan): Use ?\n instead
12134 2000-01-09 Stephen Eglen <stephen@gnu.org>
12136 * dired-x.el (dired-guess-shell-alist-default): Suggest xv
12139 2000-01-09 Per Abrahamsen <abraham@dina.kvl.dk>
12141 * cus-edit.el (custom-hook-convert-widget): Fix comment.
12143 2000-01-09 Gerd Moellmann <gerd@gnu.org>
12145 * progmodes/cperl-mode.el: Replace ^F with ^L.
12147 * sendmail.el (toplevel): Provide `sendmail' when compiling
12148 before `require'ing rmail and mailalias to prevent infinite
12151 2000-01-08 Dave Love <fx@gnu.org>
12153 * emacs-lisp/backquote.el: Remove inappropriate customization
12154 (allowing custom.el to use backquote).
12156 2000-01-07 Dave Love <fx@gnu.org>
12158 * add-log.el (add-log-debugging): Deleted.
12159 (add-change-log-entry): Treat a backup FILE-NAME as its parent
12160 file. Remove debugging code.
12161 (change-log-get-method-definition, change-log-name): Add doc.
12162 (change-log-sortable-date-at): New function.
12163 (change-log-merge): New command.
12165 * time.el (display-time-string-forms): Make the Mail string active.
12166 (display-time-update): Provide help-echo for load average.
12168 * bindings.el (make-mode-line-mouse2-map): New function.
12169 (mode-line-modified): Use it and simplify.
12170 (mode-line-mule-info): Provide help-echo info.
12171 (minor-mode-alist): Activate the strings.
12172 (make-mode-line-mouse-sensitive): Simplify for
12173 mode-line-buffer-identification.
12175 2000-01-07 Gerd Moellmann <gerd@gnu.org>
12177 * play/pong.el: New file.
12179 2000-01-06 Dave Love <fx@gnu.org>
12181 * array.el: Assorted cleanups for compiler warnings, doc strings,
12182 `array-' prefix for symbols.
12184 2000-01-05 Dave Love <fx@gnu.org>
12186 * textmodes/outline.el (outline-mode-menu-bar-map): Add
12187 outline-headers-as-kill.
12188 (outline-mode): Define imenu-generic-expression.
12189 (outline-headers-as-kill): New command.
12191 * textmodes/otext-mode.el (text-mode): Remove page-delimiter's `^'
12192 from paragraph-start.
12193 (paragraph-indent-minor-mode): New command.
12195 * progmodes/fortran.el (fortran-mode-map): Don't bind M-C-a,
12196 M-C-e, M-C-h, C-j, C-xnd, TAB.
12197 (fortran-mode): Set beginning-of-defun, end-of-defun.
12198 (fortran-column-ruler): Simplify.
12199 (fortran-mark-subprogram, fortran-narrow-to-subprogram): Deleted.
12200 (fortran-with-subprogram-narrowing): Likewise.
12201 (fortran-indent-subprogram): Call mark-defun.
12202 (fortran-check-for-matching-do): Change narrowing.
12204 * emacs-lisp/cl-extra.el (cl-make-hash-table): Use make-hash-table.
12205 (cl-lucid-hash-tag): Delete.
12206 (cl-hash-table-p): Correct test for native table.
12207 (cl-hash-table-count): Use hash-table-count.
12209 * browse-url.el (browse-url): Fix case of
12210 browse-url-browser-function being an alist.
12212 2000-01-05 Carsten Dominik <cd@gnu.org>
12214 * textmodes/reftex-vars.el (reftex-parse-file-extension)
12215 (reftex-index-phrase-file-extension): New options.
12217 * textmodes/reftex-index.el (reftex-index-visit-phrases-buffer):
12218 Use new option `reftex-index-phrase-file-extension'.
12220 * textmodes/reftex.el (reftex-access-parse-file): Use new option
12221 `reftex-parse-file-extension'.
12223 2000-01-05 Dave Love <fx@gnu.org>
12225 * emacs-lisp/lisp.el (beginning-of-defun): New variable.
12226 (beginning-of-defun-raw): Use it.
12227 (end-of-defun): New variable.
12228 (end-of-defun): Use it.
12229 (check-parens): New command.
12231 2000-01-05 Thien-Thi Nguyen <ttn@delysid.gnu.org>
12233 * progmodes/hideshow.el (hs-discard-overlays, hs-flag-region)
12234 (hs-show-block): Don't use `mapcar' when not accumulating.
12236 Fix buglet in local variables initialization.
12238 2000-01-05 Andreas Schwab <schwab@suse.de>
12240 * hscroll.el (hscroll): Doc fix.
12242 2000-01-05 Carsten Dominik <cd@gnu.org>
12244 * progmodes/idlw-shell.el (idlwave-shell-toggle-toolbar): require
12247 * progmodes/idlwave.el (idlwave-load-system-rinfo): load must read
12248 file idlw-rinfo.el.
12249 (idlwave-customize): load must read file idlw-shell.el.
12250 (idlwave-create-customize-menu): load must read file idlw-shell.el.
12252 2000-01-05 Carsten Dominik <dominik@astro.uva.nl>
12254 * progmodes/idlw-shell.el: Also provide idlwave-shell
12255 * progmodes/idlw-rinfo.el: Also provide idlwave-rinfo
12256 * progmodes/idlw-toolbar.el: Also provide idlwave-toolbar
12258 * textmodes/reftex-dcr.el: renamed from reftex-vcr.el, provide
12259 both reftex-dcr and reftex-vcr.
12261 * textmodes/reftex.el: Renamed reftex-vcr.el to reftex-dcr.el
12263 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12265 * ps-print.el: PostScript code now is in separate files, doc fix.
12266 (ps-print-version): New version number (5.0.3).
12267 (ps-header-lines, ps-left-header, ps-right-header): No more buffer
12269 (ps-spool-config): Initialization fix.
12270 (ps-print-prologue-1, ps-print-prologue-2)
12271 (ps-print-duplex-feature): PostScript code moved to separated file.
12272 (ps-background-image): Little code reformating.
12273 (ps-begin-file, ps-begin-job): Fix code.
12274 (ps-postscript-code-directory, ps-mark-code-directory): New vars.
12275 (ps-prologue-file): New fun.
12277 2000-01-05 Vinicius Jose Latorre <vinicius@cpqd.com.br>
12279 * ps-vars.el: Eliminated.
12281 * ps-mule.el: ps-vars eliminated, ps-multibyte-buffer now is
12284 * ps-print.el: ps-vars eliminated, doc fix.
12285 (ps-print-version): New version number (5.0.2).
12286 (ps-spool-config): Initialization fix.
12287 (ps-print-customize): New fun.
12289 2000-01-04 Gerd Moellmann <gerd@gnu.org>
12291 * autorevert.el (auto-revert-mode): Return value of
12294 2000-01-04 Dave Love <fx@gnu.org>
12296 * bindings.el (make-mode-line-mouse-sensitive): Fix the toggle
12299 2000-01-03 Dave Love <fx@gnu.org>
12301 * elide-head.el (elide-head) [defgroup]: Add :version.
12303 * emacs-lisp/cl-extra.el (cl-emacs-type): Remove defvar.
12304 (cl-not-hash-table, cl-clrhash, cl-maphash, cl-hash-table-count): Use
12305 `cl-hash-table-p', not `hash-table-p'.
12306 (cl-map-keymap, cl-map-keymap-recursively): Remove compatibility code.
12308 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12310 * faces.el (face-read-integer, read-face-attribute)
12311 (color-defined-p, color-values): unspecified-{f,b}g are now
12314 2000-01-03 Martin Stjernholm <bug-cc-mode@gnu.org>
12316 * progmodes/cc-cmds.el (c-fill-paragraph): Count number of spaces
12317 at comment end, and re-insert them after filling.
12319 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12321 * progmodes/idlwave.el: Rename idlwave-*.el into idlw-*.el
12322 * progmodes/idlw-rinfo.el, progmodes/idlw-shell.el,
12323 progmodes/idlw-toolbar.el: Renamed from idlwave-*.el.
12325 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12327 * term/x-win.el (xw-defined-colors): Call color-supported-p,
12328 the new name of face-color-supported-p.
12330 * term/w32-win.el (xw-defined-colors): Likewise.
12332 2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
12334 * simple.el (completion-setup-function): Count completion-size
12335 from minibuffer-prompt-end, not from point-min.
12337 2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
12339 * faces.el (read-face-attribute, defined-colors, color-defined-p):
12340 Pass the frame to tty-color-* functions.
12341 (display-color-p, frame-set-background-mode): Pass the frame to
12342 tty-display-color-p.
12344 * term/tty-colors.el (tty-defined-color-alist): Renamed from
12346 (tty-color-alist, tty-modify-color-alist): New functions.
12347 (tty-color-define, tty-color-clear, tty-color-approximate)
12348 (tty-color-translate, tty-color-by-index, tty-color-desc): Accept
12349 an optional parameter FRAME.
12351 2000-01-01 Gerd Moellmann <gerd@gnu.org>
12353 * image.el (create-image, defimage): Don't assume image data is a
12356 * image.el (defimage): Handle specifications containing :data
12358 (image-type-from-data): New function.
12359 (image-type-from-file-header): Use it.
12360 (create-image): Add parameter DATA-P.
12362 See ChangeLog.8 for earlier changes.
12364 ;; Local Variables:
12365 ;; coding: iso-2022-7bit