Fix.
[elisp/mu-cite.git] / ChangeLog
index e938ea9..4c853e9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+1999-07-28  Katsumi Yamaoka   <yamaoka@jpl.org>
+
+       * README.en: (How to use): Remove the part.
+       (load-path): Document that FLIM should be included in `load-path'.
+       (Installation): Add expositions how to use make options LISPDIR and
+       VERSION_SPECIFIC_LISPDIR; add the clause for installing as a
+       XEmacs package.
+       (What's MU): Remove the clause for std11; add description about
+       mu-register.el; update required packages.
+       (TopLevel):Remove RCS magic cookie.
+
+       * mu-cite.el (mu-cite-ml-count-field-list): Modify tag string for
+       `choice'; use `const' with the arg nil for the menu separator;
+       delete element which value is nil when the symbol value is set.
+       (mu-cite-top-format): New implementation for customization using
+       `mu-cite-choose-top-format' and `mu-cite-custom-set-variable'.
+       (mu-cite-prefix-format): New implementation for customization using
+       `mu-cite-choose-prefix-format' and `mu-cite-custom-set-variable'.
+       (mu-cite-custom-set-variable): New function.
+       (mu-cite-choose-top-format): New widget.
+       (mu-cite-choose-prefix-format): New widget.
+
+       (widget-mu-cite-method-prompt-value): Abolish function.
+       (mu-cite-method): Abolish widget.
+       (widget-mu-cite-method-prompt-value-history): Abolish variable.
+       (mu-cite-method-list): Abolish function.
+
+1999-07-22  Katsumi Yamaoka   <yamaoka@jpl.org>
+
+       * mu-register.el (mu-cite-load-registration-file): Check for the
+       existence of `buffer-file-coding-system' or `file-coding-system'.
+
+       * mu-cite.el (string-compare-from-top): Don't use `aref'.
+
+1999-07-21  Katsumi Yamaoka   <yamaoka@jpl.org>
+
+       * mu-register.el (mu-cite-load-registration-file): Use
+       `file-coding-system' instead of `buffer-file-coding-system' for old
+       Emacsen.
+
+       * mu-cite.el (string-compare-from-top): Use `aref' instead of
+       `sref'.
+       (TopLevel): Require `widget' for old Emacsen.
+
+       * mu-bbdb.el (TopLevel): Don't require `path-util'.
+
+1999-07-21  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       * mu-cite.el (mu-cite-method-list): New function.
+       (widget-mu-cite-method-prompt-value-history): New variable.
+       (mu-cite-method): New widget.
+       (widget-mu-cite-method-prompt-value): New function.
+       (widget-mu-cite-method-action): New function.
+       (mu-cite-prefix-format): Use `mu-cite-method'.
+       (mu-cite-top-format): Likewise.
+
+1999-07-21  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       * mu-register.el (mu-citation-name-alist): Deleted.
+       (mu-cite-load-registration-file): Initialize value of
+       `mu-registration-symbol' if it is not bound.
+       (mu-cite-save-registration-file): Use `(symbol-value
+       mu-registration-symbol)' instead of `mu-citation-name-alist'.
+       (mu-register-get-citation-name): Likewise.
+       (mu-register-add-citation-name): Use `(set-alist
+       mu-registration-symbol ...)'.
+
+1999-07-20  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       * mu-cite.el (mu-cite-obsolete-variable-alist): Revert to define;
+       use it to define obsolete-variable-aliases in XEmacs.
+       - Try to set value of obsolete variables to new variables after
+         `mu-cite-load-hook' is run in non XEmacs emacsen.
+
+1999-07-20  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       * mu-cite.el (mu-cite-load-hook): Deleted the definition as a user
+       option.
+
+       * mu-bbdb.el (mu-bbdb-load-hook): Deleted the definition as a
+       variable.
+
+1999-07-20  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       * mu-cite.el (string-compare-from-top): Revert to use `sref'
+       instead of `aref'; use `char-next-index'.
+
+       * mu-cite.el (detect-paragraph-cited-prefix): Use
+       `line-beginning-position' and `line-end-position'.
+
+       * mu-cite.el (detect-paragraph-cited-prefix): Revert not to use
+       `incf'.
+
+       * mu-cite.el (mu-cite-original): Revert to use `or' instead of
+       'unless'.
+
+       * mu-cite.el (detect-paragraph-cited-prefix): Revert to use `if'
+       instead of `when'.
+
+       * mu-cite.el (mu-cite-original): Revert to use `if' instead of
+       `when'.
+
+       * mu-cite.el:
+       - Don't require `cl' when compile time.
+       - Don't require `emu'.
+       - Require `pcustom' instead of `custom'.
+       - Add autoload setting for `mu-bbdb-get-prefix-method',
+         `mu-bbdb-get-prefix-register-method' and
+         `mu-bbdb-get-prefix-register-verbose-method'.
+       (mu-cite-default-methods-alist): Add setting for
+       `mu-bbdb-get-prefix-method', `mu-bbdb-get-prefix-register-method'
+       and `mu-bbdb-get-prefix-register-verbose-method'.
+       (mu-cite-get-field-value): Add DOC-string; Revert to use `if'
+       instead of `when'.
+       (mu-cite-get-ml-count-method): Add DOC-string; revert to use `if'
+       instead of `when'; use `match-string'.
+       (mu-cite-get-value): Add DOC-string.
+       (char-category): New function.
+       (fill-cited-region): Add DOC-string; revert to use `if' instead of
+       `when'.
+       (compress-cited-prefix): Likewise.
+
+1999-07-20  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       * mu-bbdb.el (mu-bbdb-get-prefix-method): Add DOC-string.
+       (mu-bbdb-get-prefix-register-method): Likewise.
+       (mu-bbdb-get-prefix-register-verbose-method): Likewise.
+       - Delete setting for `mu-cite/default-methods-alist'.
+
+1999-07-20  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       * mu-bbdb.el: Don't use `module-installed-p'.
+
 1999-07-19  Katsumi Yamaoka   <yamaoka@jpl.org>
 
-       * mu-bbdb.el (TopLevel): Use `mu-cite-default-methods-alist'
-       instead of `mu-cite/default-methods-alist'.
-       (mu-cite/get-bbdb-prefix-register-method): Use
-       `mu-cite-minibuffer-history' instead of
+       * mu-cite.el (mu-cite-get-prefix-register-verbose-method): Move
+       function to mu-register.el.
+       (mu-cite-get-prefix-register-method): Likewise.
+       (mu-cite-get-prefix-method): Likewise.
+       (mu-cite-save-registration-file): Likewise.
+       (mu-cite-load-registration-file): Likewise.
+       (mu-cite-add-citation-name): Likewise.
+       (mu-cite-get-citation-name): Likewise.
+
+       (mu-cite-minibuffer-history): Move variable to mu-register.el.
+       (mu-cite-citation-name-alist): Likewise.
+       (mu-cite-registration-symbol): Likewise.
+       (mu-cite-registration-file-modes): Likewise.
+       (mu-cite-registration-file-coding-system-for-write): Likewise.
+       (mu-cite-registration-file-coding-system-for-read): Likewise.
+       (mu-cite-allow-null-string-registration): Likewise.
+       (mu-cite-registration-file): Likewise.
+
+       (mu-cite-registration-file): Move macro to mu-register.el.
+
+       * MU-ELS: (mu-modules-to-compile): Add `mu-register'.
+
+1999-07-19  MORIOKA Tomohiko  <tomo@m17n.org>
+
+       * mu-cite.el (TopLevel): Add autoload setting for
+       `mu-cite-get-prefix-method', `mu-cite-get-prefix-register-method'
+       and `mu-cite-get-prefix-register-verbose-method'.
+
+       * mu-bbdb.el (mu-bbdb-history): New variable.
+       (mu-bbdb-get-prefix-register-method): Use it instead of
        `mu-cite/minibuffer-history'.
-       (mu-bbdb-get-prefix-register-verbose-method): Use
+       (mu-bbdb-get-prefix-register-verbose-method): Likewise.
+
+       * mu-register.el: New file. The name of variables and functions
+       were changed from the past as follows:
+       mu-registration-file            <- mu-cite/registration-file
+       mu-registration-symbol          <- mu-cite/registration-symbol
+       mu-register-get-citation-name   <- mu-cite/get-citation-name
+       mu-register-add-citation-name   <- mu-cite/add-citation-name
+
+       * MU-ELS: Remove RCS magic cookie.
+
+1999-07-19  Katsumi Yamaoka   <yamaoka@jpl.org>
+
+       * mu-cite.el (mu-cite-save-registration-file): Use `save-buffer'
+       instead of `save-buffer-as-coding-system' if the value of
+       `mu-cite-registration-file-coding-system-for-write' is nil.
+       (mu-cite-load-registration-file): Use `insert-file-contents'
+       instead of `insert-file-contents-as-coding-system' if the value of
+       `mu-cite-registration-file-coding-system-for-read' is nil.
+
+       (TopLevel): Don't warn for the obsolete variables if the value of
+       `noninteractive' is non-nil.
+       (mu-cite-registration-file): Likewise.
+
+       * mu-bbdb.el (mu-bbdb-get-prefix-register-verbose-method): Use
        `mu-cite-get-value' instead of `mu-cite/get-value'.
        (mu-bbdb-get-prefix-register-method): Likewise.
        (mu-bbdb-get-prefix-method): Likewise.
 
-       (mu-bbdb-load-hook): Use `defcustom' instead of `defvar'.
-       (mu-bbdb): New customization group.
-
-       (TopLevel): Define old functions as obsolete aliases.
-
        (mu-bbdb-set-attr): Renamed from `mu-cite/set-bbdb-attr'.
        (mu-bbdb-get-prefix-register-verbose-method): Renamed from
        `mu-cite/get-bbdb-prefix-register-verbose-method'.
        `VERSION_SPECIFIC_LISPDIR' from the command line arguments.
 
        * MU-CFG (PACKAGEDIR): New variable.
-       (MU_DIR): Use `VERSION_SPECIFIC_LISPDIR' instead of `LISPDIR'.
        (VERSION_SPECIFIC_LISPDIR): New variable.
        (TopLevel): Delete code to detect APEL 7.3 or later.
        (load-path): Modernize the way of adding the paths of APEL, FLIM,