(apropos-match-face): Doc fix.
[bpt/emacs.git] / lisp / ChangeLog
index 8cb9e52..fa2ddc8 100644 (file)
@@ -1,8 +1,98 @@
+2005-11-12  Kim F. Storm  <storm@cua.dk>
+
+       * simple.el (what-cursor-position): Print (EOB) instead of (100%)
+       when point is at end-of-buffer.
+
+       * apropos.el (apropos-match-face): Doc fix.
+       (apropos-sort-by-scores): Add new choice `verbose'.
+       (apropos-documentation-sort-by-scores): New defcustom.
+       (apropos-pattern): Now contains the pattern entered by the user.
+       (apropos-pattern-quoted): New defvar.
+       (apropos-regexp): New defvar, containing the regexp corresponding
+       to apropos-pattern.
+       (apropos-all-words-regexp): Renamed from apropos-all-regexp.
+       (apropos-read-pattern): New defun.  Use it to read pattern arg in
+       interactive calls; returns list of words for a word list, and
+       string for a regexp.
+       (apropos-parse-pattern): Renamed from apropos-rewrite-regexp.  Now
+       parses a list of words or regexp as returned by apropos-read-pattern.
+       (apropos-calc-scores): Return nil if apropos-regexp doesn't match.
+       (apropos-score-doc): Return a very high score if the string
+       entered by the user matches literally.
+       (apropos-variable): Doc fix.  Use apropos-read-pattern.
+       (apropos-command): Doc fix.  Use apropos-read-pattern and
+       apropos-parse-pattern.  Call apropos-print with nosubst=t.
+       (apropos, apropos-value): Doc fix. Use apropos-read-pattern and
+       apropos-parse-pattern.
+       (apropos-documentation): Doc fix. Use apropos-read-pattern and
+       apropos-parse-pattern.  Locally bind apropos-sort-by-scores to
+       apropos-documentation-sort-by-scores.  Call apropos-print with
+       nosubst=t.
+       (apropos-documentation-internal): Pass doc string through
+       substitute-key-definition before adding text properties.
+       Highlight substring matching literal user input if possible.
+       (apropos-documentation-check-doc-file): Remove locals beg and end.
+       Fix calculation of score (as added twice).  Pass doc string through
+       substitute-key-definition before adding text properties.
+       (apropos-documentation-check-elc-file): Pass doc string through
+       substitute-key-definition before adding text properties.
+       Highlight substring matching literal user input if possible.
+       (apropos-print): Add new arg NOSUBST; if set, command and variable
+       doc strings have already been passed through substitute-key-definition.
+       Add code to handle apropos-accumulator items without score element
+       for backwards compatibility (e.g. with woman package).
+       Only show scores if apropos-sort-by-scores is `verbose'.
+
+2005-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * jka-cmpr-hook.el (jka-compr-install): Use push and dolist.
+       Add jka-compr-load-suffixes to load-suffixes.
+
+       * jka-compr.el: Require 'jka-cmpr-hook.
+       (jka-compr-info-compress-message, jka-compr-info-compress-program)
+       (jka-compr-info-compress-args, jka-compr-info-uncompress-message)
+       (jka-compr-info-uncompress-program, jka-compr-info-uncompress-args)
+       (jka-compr-info-can-append, jka-compr-info-strip-extension)
+       (jka-compr-info-file-magic-bytes, jka-compr-get-compression-info)
+       (jka-compr-info-regexp): Remove.  Provided by jka-cmpr-hook.
+       (jka-compr-uninstall): Remove entries from
+       jka-compr-added-to-file-coding-system-alist after they are used.
+       (jka-compr-error): Remove unused var `curbuf'.
+       (jka-compr-file-local-copy): Remove unused var `notfound'.
+
+2005-11-10  Romain Francoise  <romain@orebokech.com>
+
+       * apropos.el (apropos-calc-scores): Use `apropos-pattern'.
+
+2005-11-11  Nick Roberts  <nickrob@snap.net.nz>
+
+       * progmodes/gud.el (gud-menu-map): Move parentheses.
+       (gdb): New command gud-pv.
+
+2005-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * tar-mode.el: Remove spurious or unnecessary leading stars
+       in docstrings.
+       (tar-header-block-tokenize): Also obey default-file-name-coding-system.
+       (tar-parse-octal-integer-safe): Use mapc.
+       (tar-header-block-summarize): Remove unused var `ck'.
+       (tar-summarize-buffer): Don't clear the modified-p bit if it wasn't
+       cleared before.  Obey default-enable-multibyte-characters.
+       Use mapconcat.  Simplify setting of tar-header-offset.
+       (tar-mode-map): Move initialization inside delcaration.
+       (tar-flag-deleted): Use `abs'.
+       (tar-expunge-internal): Remove unused var `line'.
+       (tar-expunge-internal): Don't hardcode point-min==1.
+       (tar-expunge): Widen while doing set-buffer-multibyte.
+       (tar-rename-entry): Use file-name-coding-system.
+       (tar-alter-one-field): Don't hardcode point-min==1.
+       (tar-subfile-save-buffer): string-as-unibyte works on unibyte strings.
+       (tar-pad-to-blocksize): Don't hardcode point-min==1.  Clarify the code.
+
 2005-11-10  Masatake YAMATO  <jet@gyve.org>
 
-       * add-log.el: (add-log-current-defun): Handle 
-       class::method notation of c++.
-       Fix incorrect comment.
+       * add-log.el (add-log-current-defun): Handle class::method
+       notation of c++. Fix incorrect comment.
 
 2005-11-10  Alan Mackenzie  <acm@muc.de>
 
 
        * man.el (Man-highlight-references): Set an empty
        string to `Man-arguments' if it is nil.
-       Suggested by Reiner Steib <reinersteib+gmane@imap.cc>.
+       Suggested by Reiner Steib <Reiner.Steib@gmx.de>.
+
+2005-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * Makefile.in (mh-loaddefs.el, loaddefs.el): Better follow the
+       commenting conventions.
+
+       * cus-dep.el (custom-make-dependencies): Simplify.
+       Better follow the commenting conventions.
 
 2005-11-09  Richard M. Stallman  <rms@gnu.org>
 
-       * apropos.el (apropos-pattern): Renamed from apropos-regexp.
-       (apropos-orig-pattern): Renamed from apropos-orig-regexp.
+       * apropos.el (apropos-pattern): Rename from apropos-regexp.
+       (apropos-orig-pattern): Rename from apropos-orig-regexp.
        All uses changed.
        (apropos-rewrite-regexp): Doc fix.
-       (apropos-variable, apropos-command, apropos, apropos-value): 
+       (apropos-variable, apropos-command, apropos, apropos-value):
        Change prompt; carry through the argument renaming.
 
 2005-11-09  Luc Teirlinck  <teirllm@auburn.edu>
 
 2005-11-07  Masatake YAMATO  <jet@gyve.org>
 
-       * man.el (Man-reference-regexp): Accpet spaces between
+       * man.el (Man-reference-regexp): Accept spaces between
        `Man-name-regexp' and `Man-section-regexp'.
        (Man-apropos-regexp): New variable.
        (Man-abstract-xref-man-page): Use value for `Man-target-string'