(region): Make dark-background `region' face less in-your-face.
[bpt/emacs.git] / lisp / ChangeLog
index d0c4ba6..d23eac1 100644 (file)
@@ -1,3 +1,187 @@
+2000-10-11  Miles Bader  <miles@gnu.org>
+
+       * faces.el (frame-set-background-mode): Pay attention to saved
+       face specs as well as default ones.  Only do anything if the
+       bg-mode or display-type has actually changed.  Use `dolist'.
+
+2000-10-10  Sam Steingold  <sds@gnu.org>
+
+       * chistory.el, ielm.el, ledit.el:
+       * progmodes/inf-lisp.el, progmodes/scheme.el:
+       Use `lisp-mode-shared-map' instead of `shared-lisp-mode-map'.
+
+2000-10-10  Dave Love  <fx@gnu.org>
+
+       * toolbar/tool-bar.el (tool-bar-add-item)
+       (tool-bar-add-item-from-menu): Don't favour XPM icons on mono
+       display.
+
+       * startup.el (command-line): Don't require XPM support for toolbar.
+
+       * toolbar/attach.pbm, toolbar/cancel.pbm, toolbar/close.pbm:
+       * toolbar/copy.pbm, toolbar/cut.pbm, toolbar/exit.pbm:
+       * toolbar/fld_open.pbm, toolbar/help.pbm, toolbar/home.pbm:
+       * toolbar/index.pbm, toolbar/info.pbm, toolbar/jump_to.pbm:
+       * toolbar/left_arrow.pbm, toolbar/mail.pbm, toolbar/mail_compose.pbm:
+       * toolbar/mail_send.pbm, toolbar/new.pbm, toolbar/open.pbm:
+       * toolbar/paste.pbm, toolbar/preferences.pbm, toolbar/print.pbm:
+       * toolbar/right_arrow.pbm, toolbar/save.pbm, toolbar/saveas.pbm:
+       * toolbar/search-replace.pbm, toolbar/search.pbm, toolbar/spell.pbm:
+       * toolbar/undo.pbm, toolbar/up_arrow.pbm: New files straight from
+       the .xpms; probably need retouching.
+
+2000-10-10  Miles Bader  <miles@lsi.nec.co.jp>
+
+       * subr.el (add-to-list): Add optional argument APPEND.
+       * battery.el (display-battery): Use `add-to-list'.
+
+2000-10-09  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * play/zone.el (zone-timer, zone-wc-tbl): Rework
+       these vars as symbol properties.
+       (zone, zone-when-idle, zone-leave-me-alone,
+       zone-pgm-whack-chars): Use new symbol properties.
+
+       * battery.el (display-battery): Doc spelling fix.
+
+       * vc.el (with-vc-file, edit-vc-file): Specify `indent-function'
+       property.
+
+2000-10-09  Dave Love  <fx@gnu.org>
+
+       * toolbar/tool-bar.el (tool-bar-mode): Check whether tool-bar-map
+       has been initialized before calling tool-bar-setup.
+       (tool-bar-add-item-from-menu): Add autoload cookie.
+
+2000-10-09  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * menu-bar.el (send-mail-item-name): New function.
+       (menu-bar-tools-menu) <compose-mail>: Use it to display the value
+       of mail-user-agent in the menu.  Don't display the "Send Mail"
+       item if mail-user-agent is nil or its value is ignore.
+       (menu-bar-tools-menu) <rmail>: Don't display the "Read Mail" item
+       if read-mail-command is nil or its value is ignore.
+
+       * mouse.el ([header-line mouse-1]): Bind to mouse-select-window.
+
+2000-10-09  Miles Bader  <miles@gnu.org>
+
+       * toolbar/up_arrow.xpm: Flip to put highlight in correct place.
+       Correct image size.
+       * toolbar/left_arrow.xpm: Correct image size.
+
+       * jka-compr.el: Don't call `jka-compr-install' when loading (it
+       will be done by the definition of `auto-compression-mode' if
+       necessary.  Move code to uninstall existing file-name handler
+       before definition of `auto-compression-mode'.
+
+       * image-file.el (auto-image-file-mode): Move to the end of the
+       file, because `define-minor-mode' actually calls the mode-function
+       if the associated variable is non-nil, which requires that all
+       needed functions be already defined.
+
+       * mouse.el (popup-menu): Balance parens.
+
+2000-10-08  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * mouse.el (popup-menu): Move the command call outside the loop
+       so that popup-menu returns whatever the command returns.
+
+       * progmodes/etags.el: Docstring fixes.  Maintainer line updated.
+       (initialize-new-tags-table): Use run-hook-with-args-until-success.
+       (find-tag): Use pop-to-buffer if switch-to-buffer failed.
+       (tags-table-format-functions): Renamed from tags-table-format-hooks.
+
+       * vc.el (vc-version-diff): diff-switches can be a list.
+       Use relative filenames for prettier output.
+
+       * pcvs.el (cvs-append-to-ignore, cvs-vc-command-advice)
+       (vc-post-command-functions): Remove old-VC compatibility code.
+
+       * newcomment.el (comment-indent-default): Autoload.
+
+       * font-lock.el (font-lock-defaults): Make buffer-local.
+       (font-lock-turn-on-thing-lock): Use jit-lock-refontify.
+       (font-lock-choose-keywords):
+       Ignore LEVEL unless KEYWORDS is a list of syms.
+       (c-keywords, c++-keywords, objc-keywords, java-keywords):
+       Don't wrap regexp-opt things in \(...\) unnecessarily.
+
+       * jit-lock.el: Don't require font-lock any more.
+       (jit-lock-functions): Make buffer-local.
+       (jit-lock-saved-fontify-buffer-function): Remove.
+       (jit-lock-mode): Remove autoload cookie.
+       Remove font-lock specific code.
+       (jit-lock-unregister): Don't bother handling complex hooks any more.
+       (jit-lock-refontify): New function.
+       (jit-lock-fontify-buffer): Use it.
+       (jit-lock-function-1): Replaced by jit-lock-fontify-now.
+       (jit-lock-fontify-now): Renamed from jit-lock-function-1.
+       Add optional args START and END.
+       Never call font-lock-fontify-region directly.
+       (jit-lock-function, jit-lock-stealth-fontify): Use it.
+
+       * emacs-lisp/regexp-opt.el (regexp-opt): Add \<...\> if PAREN=`words'.
+
+2000-10-08  Dave Love  <fx@gnu.org>
+
+       * progmodes/ada-mode.el (ada-mode-menu): Add name to menu map.
+
+       * progmodes/icon.el (icon-mode-map): Add name to menu-bar keymap.
+
+       * play/studly.el (studlify-region, studlify-word): Add autoload
+       cookie.
+
+       * play/morse.el (morse-region, unmorse-region): Add autoload
+       cookie.
+
+       * play/spook.el (spook-phrases-file): Use expand-file-name, not
+       concat.
+
+       * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Don't
+       insist on symbols starting with word syntax.
+       (lisp-mode-shared-map): Renamed from shared-lisp-mode-map.
+       (eval-defun-1): Doc fix.
+       (indent-sexp): Use nconc to build up indent-stack.
+
+       * mail/sendmail.el: Byte-compile-dynamic since it gets loaded by
+       Gnus with little use.
+       (mail-setup-hook): Add mail-abbrevs-setup to options.
+
+       * recentf.el: Doc fixes.
+
+       * vcursor.el (vcursor-cs-binding): Remove compatibility code.
+       Clean up remainder.
+
+       * timezone.el (timezone-parse-date): Doc fix.  Fix regexps for (5)
+       without timezone and (8) with timezone to enforce some whitespace.
+       Simplify code somewhat.
+
+       * options.el (list-options): Doc that you should use customize.
+
+       * iswitchb.el (iswitchb-mode): Add :require.
+
+       * info.el (Info-goto-node, Info-menu): Doc fix.
+       (Info-mode-menu): Bind beginning-of-buffer, Info-edit
+       (info-tool-bar-map): New variable.
+       (Info-mode): Use it.
+       (Info-edit-map): Define all in defvar.
+       (speedbar-attached-frame): Avoid compiler warning.
+
+       * toolbar/tool-bar.el (tool-bar-map): Define it empty.
+       (global-map): Bind [tool-bar] to a filtered map.
+       (tool-bar-add-item): Remove MAP arg.  Allow PBM icons.
+       (tool-bar-add-item-from-menu): Use tool-bar-map, not tb-map.
+       Allow PBM icons.
+       (tool-bar-setup): Adjust calls of tool-bar-add-item.
+
+       * toolbar/index.xpm, toolbar/jump_to.xpm, toolbar/attach.xpm:
+       * toolbar/up_arrow.xpm, toolbar/left_arrow.xpm, toolbar/home.xpm:
+       * toolbar/right_arrow.xpm: New files.  Renamed from tigert's
+       icons, except up_arrow, which is left-arrow rotated.
+
+       * imenu.el (imenu-add-to-menubar): Fix last change.
+
 2000-10-08  Peter Breton  <pbreton@ne.mediaone.net>
 
        * generic-x.el (rul-generic-mode): Remove eval-when-compile
 
 2000-10-06  Dave Love  <fx@gnu.org>
 
-       * textmodes/fill.el (sentence-end-double-space) 
+       * textmodes/fill.el (sentence-end-double-space)
        (sentence-end-without-period):  Doc fix.
        (adaptive-fill-regexp): Purecopy.
        (unjustify-current-line): Use line-end-position.
        and add filename to the names so that diff-mode can jump to source.
 
        * font-lock.el (font-lock-defaults-alist): Remove the TeX entries.
-       (tex-font-lock-keywords, tex-font-lock-keywords-2) 
+       (tex-font-lock-keywords, tex-font-lock-keywords-2)
        (tex-font-lock-keywords-1): Remove.
        (font-lock-turn-on-thing-lock): Use jit-lock-register.
        (font-lock-turn-off-thing-lock): Use jit-lock-unregister.
        * emacs-lisp/easy-mmode.el (define-derived-mode): Tweak generated
        docstring parts.
 
-       * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp) 
+       * net/net-utils.el (nslookup-prompt-regexp, ftp-prompt-regexp)
        (smbclient-prompt-regexp): Add usage note to doc string.
        (ftp-font-lock-keywords, smbclient-font-lock-keywords): Removed.
        (ftp-mode, smbclient-mode): Don't set `font-lock-defaults'.
 
        * image.el (image): New group.
 
-       * smerge-mode.el (smerge-mine-face, smerge-other-face) 
+       * smerge-mode.el (smerge-mine-face, smerge-other-face)
        (smerge-base-face, smerge-markers-face): Add dark-background variants.
 
 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
 
        * net/net-utils.el (nslookup-font-lock-keywords)
-       (ftp-font-lock-keywords, smbclient-font-lock-keywords): 
+       (ftp-font-lock-keywords, smbclient-font-lock-keywords):
        Ignore the value of wqindow-system; always define keywords
 
 2000-10-05  Kenichi Handa  <handa@etl.go.jp>
 
 2000-10-04  Andre Spiegel  <spiegel@gnu.org>
 
-       * vc-hooks.el (vc-before-save, vc-default-make-version-backups, 
+       * vc-hooks.el (vc-before-save, vc-default-make-version-backups,
        vc-version-backup-file-name): New functions.
 
        * files.el (basic-save-buffer): Call vc-before-save before saving.
-       
-       * vc-cvs.el (vc-cvs-make-version-backups): Return t if 
+
+       * vc-cvs.el (vc-cvs-make-version-backups): Return t if
        vc-cvs-stay-local-p.
 
        * vc.el (vc-revert-buffer): Handle empty diff properly.
 2000-10-04  Peter Breton  <pbreton@ne.mediaone.net>
 
        * net/net-utils.el (nslookup-font-lock-keywords)
-       (ftp-font-lock-keywords, smbclient-font-lock-keywords): 
+       (ftp-font-lock-keywords, smbclient-font-lock-keywords):
        Only set if window-system is non-nil
        (net-utils-run-program): Returns buffer.
        (network-connection-reconnect): Added this function.
 
-       * generic.el: 
-       Incorporates extensive cleanup and docfixes by 
+       * generic.el:
+       Incorporates extensive cleanup and docfixes by
        Stefan Monnier (monnier+gnu/emacs@flint.cs.yale.edu).
        Uses cl compile-time macros.
        (generic-mode-name, generic-comment-list)
        into function instead of putting them in alist.
        (generic-mode-set-comments): Reworked extensively.
        (generic-mode-find-file-hook): Simplified regexp searching
-       (generic-make-keywords-list): Omit extra pair of parens 
+       (generic-make-keywords-list): Omit extra pair of parens
 
-       * find-lisp.el (find-lisp-find-files-internal): 
+       * find-lisp.el (find-lisp-find-files-internal):
        Make sure directory name ends with "/".
 
-       * generic-x.el (apache-conf-generic-mode): 
+       * generic-x.el (apache-conf-generic-mode):
        Regexp now allows leading whitespace.
        (rc-generic-mode): Added eval-when-compile
        around generic-make-keywords-list.
        around generic-make-keywords-list.
        (etc-fstab-generic-mode): New generic mode.
        (rul-generic-mode): Removed one eval-when-compile
-       which caused a max-specpdl-size exceeded error. 
+       which caused a max-specpdl-size exceeded error.
 
 2000-10-04  Miles Bader  <miles@gnu.org>
 
 
 2000-10-03  Andre Spiegel  <spiegel@gnu.org>
 
-       * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to 
+       * vc.el (vc-transfer-file, vc-default-receive-file): Rewritten to
        factorize backend-specific code cleanly (this was essentially
        conceived by Stefan Monnier).
        (vc-unregister): Function removed.
-       (vc-revert-file): New function.
+       (vc-revert-file): New function.
        (vc-revert-buffer): Delegate some of the work to it.
 
        * vc-rcs.el (vc-rcs-fetch-master-state): Parse and remember
        * vc-hooks.el (vc-registered): If FILE used to be registered under
        a certain backend, try that one first.
 
-       * vc.el (vc-responsible-backend): Undo the previous change in the 
+       * vc.el (vc-responsible-backend): Undo the previous change in the
        argument list.  Handle multiple backends correctly.
        (vc-find-new-backend): Function removed.
        (vc-register): Use vc-responsible-backend, as before.
 
 2000-10-01  Andre Spiegel  <spiegel@gnu.org>
 
-       * vc.el (vc-next-action-on-file): Update mode line only if file 
+       * vc.el (vc-next-action-on-file): Update mode line only if file
        is visited.
        (vc-start-entry): New argument initial-contents.  Don't visit the file
        if it isn't already visited.  Brought documentation up-to-date.
-       (vc-next-action, vc-register): Updated calls to vc-start-entry. 
-       (vc-checkin): New optional arg initial-contents, which is passed to 
+       (vc-next-action, vc-register): Updated calls to vc-start-entry.
+       (vc-checkin): New optional arg initial-contents, which is passed to
        vc-start-entry.
        (vc-finish-logentry): Make sure to bury log buffer only if there
        really is one.  Call `vc-resynch-buffer' on log-file, not
 
        * vc-rcs.el (vc-rcs-receive-file): Call comment-history
        unconditionally.  Use the comments as initial contents of the log
-       entry buffer.  Document the trick to force branch creation with no 
+       entry buffer.  Document the trick to force branch creation with no
        changes.
 
 2000-10-01  Miles Bader  <miles@gnu.org>
 
        * emacs-lisp/lisp.el (lisp-complete-symbol): Only jump 2 not 3 levels.
 
-       * progmodes/c-mode.el (c-mode): 
+       * progmodes/c-mode.el (c-mode):
        Don't gratuitously override the default for comment-column.
 
        * textmodes/tex-mode.el (latex-metasection-list): New var.
        (latex-imenu-create-index): Use it.
        Move the regexp construction outside loops (and use push).
-       (tex-font-lock-keywords-1, tex-font-lock-keywords-2) 
+       (tex-font-lock-keywords-1, tex-font-lock-keywords-2)
        (tex-font-lock-keywords): Moved from font-lock.el.
        (tex-comment-indent): Remove.
        (tex-common-initialization): Don't set comment-indent-function.
        (texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
        New functions.
        (texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
-       (texinfo-section-types-regexp, texinfo-section-level-regexp) 
+       (texinfo-section-types-regexp, texinfo-section-level-regexp)
        (texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
        Remove declaration.
        (texinfo-show-structure): Use outline-regexp and texinfo-section-list.
        * textmodes/outline.el (outline-minor-mode): Use define-minor-mode.
        (outline-mode): Use define-derived-mode.
 
-       * progmodes/perl-mode.el (perl-mode): 
+       * progmodes/perl-mode.el (perl-mode):
        * progmodes/awk-mode.el (awk-mode):
        * progmodes/asm-mode.el (asm-mode):
        Don't gratuitously override the default for comment-column.
        (partial-completion-mode): Use define-minor-mode.
        (PC-do-completion): Understand `completion-auto-help = delay'
        to mean to popup the completion buffer only the second time.
-       (PC-include-file-all-completions, PC-include-file-all-completions) 
+       (PC-include-file-all-completions, PC-include-file-all-completions)
        (PC-include-file-all-completions): Don't quote lambda.
 
        * comint.el (comint-mode-hook): Docstring fix.
 
        * frame.el (frame-notice-user-settings): Don't call
        frame-update-faces, which is a no-op now.
-       
+
        * ediff-wind.el (ediff-control-frame-parameters): Add zero
        tool-bar-lines.
 
 
        * frame.el (frame-notice-user-settings): Don't add a
        tool-bar-lines frame parameter to default-frame-alist in batch mode.
-       
+
        * frame.el (frame-notice-user-settings):
        Make tool-bar-mode and default-frame-alist consistent.
 
 2000-08-14  Emmanuel Briot  <briot@gnat.com>
 
        * xml.el (xml-parse-tag, xml-parse-attlist): Do not downcase
-        identifiers, since XML is case sensitive
+       identifiers, since XML is case sensitive
 
 2000-08-12  Miles Bader  <miles@gnu.org>
 
        (ada-adjust-case-interactive): When auto-casing is not active,
        correctly insert newlines (used to insert only ^M).  Prevent the
        syntax table from being changed in case of an error
-        (or '_' becomes part of a word and some commands are confused).
+       (or '_' becomes part of a word and some commands are confused).
        Do nothing if ada-auto-case is nil.
        (ada-after-keyword-p): Ignore keywords that are also attributes
        (ada-batch-reformat): Update usage comment