(string-compare-from-top): Don't use `aref'.
[elisp/mu-cite.git] / ChangeLog
index a018aef..ddc1310 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+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-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): 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-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'.
+       (mu-bbdb-get-prefix-register-method): Renamed from
+       `mu-cite/get-bbdb-prefix-register-method'.
+       (mu-bbdb-get-prefix-method): Renamed from
+       `mu-cite/get-bbdb-prefix-method'.
+       (mu-bbdb-get-attr): Renamed from `mu-cite/get-bbdb-attr'.
+
+       (TopLevel): Require `path-util' for picking up `module-installed-p'.
+       (TopLevel): Require `cl' at the compile time.
+
+       (Keywords, Maintainer): Add comments.
+       (Author): Change mail address.
+       (Copyright): Belong to FSF.
+
+       * ftp.in: New file.
+
+       * Makefile (ARC_DIR): Default to "/pub/elisp/mu".
+
+1999-07-17  Kenji Itoh        <keit@tpj.co.jp>
+
+       * mu-cite.el (mu-cite-original): Add autoload cookie.
+       * latex-math-symbol.el (latex-math-decode-region): Likewise.
+       (latex-math-decode-buffer): Likewise.
+
+       * Makefile (release): New target.
+       (tar): New implementation.
+       (clean): Use the variables `RM' and `GOMI'.
+       (install-package): New target.
+       (package): New target.
+       (install): Accept the arguments `PREFIX', `LISPDIR' and
+       `VERSION_SPECIFIC_LISPDIR'.
+       (elc): Likewise.
+
+       (ARC_DIR, VERSION, FILES, GOMI): New variables.
+       (VERSION_SPECIFIC_LISPDIR, PACKAGEDIR, LISPDIR): New variables.
+       (PREFIX): Default to "NONE".
+       (XEMACS, CP, RM, TAR, RELEASE, API, PACKAGE): New variables.
+
+       * MU-MK (install-mu-package): New function.
+       (compile-mu-package): New function.
+       (config-mu-package): New function.
+       (config-mu): Extract the values of `LISPDIR' and
+       `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,
+       LISPDIR, VERSION_SPECIFIC_LISPDIR, CUSTOM and `default-directory'.
+       (default-load-path): New variable.
+
 1999-07-16  Katsumi Yamaoka   <yamaoka@jpl.org>
 
-       * (mu-cite-version): Update to 8.0.
+       * mu-cite.el (mu-cite-version): Update to 8.0.
 
-       * (mu-cite-eval-format): Don't use `save-excursion'.
-       * (mu-cite-get-value): Save excursion while evaluating a function.
+       (mu-cite-eval-format): Don't use `save-excursion'.
+       (mu-cite-get-value): Save excursion while evaluating a function.
 
-       * (mu-cite-save-registration-file): New implementation.
-       * (mu-cite-load-registration-file): Likewise.
+       (mu-cite-save-registration-file): New implementation.
+       (mu-cite-load-registration-file): Likewise.
 
-       * (mu-cite-registration-file-modes): New user option.
-       * (mu-cite-registration-file-coding-system-for-write): Likewise.
-       * (mu-cite-registration-file-coding-system-for-read): Likewise.
+       (mu-cite-registration-file-modes): New user option.
+       (mu-cite-registration-file-coding-system-for-write): Likewise.
+       (mu-cite-registration-file-coding-system-for-read): Likewise.
 
-       * (TopLevel): Treat old variables and functions as obsolete.
+       (TopLevel): Treat old variables and functions as obsolete.
 
-       * (TopLevel): Require `custom'.
-       * (TopLevel): Require `emu' for picking up `char-category' for
+       (TopLevel): Require `custom'.
+       (TopLevel): Require `emu' for picking up `char-category' for
        XEmacs.
-       * (TopLevel): Require `poe' for picking up some macros, e.g.
-       `with-temp-buffer', for old Emacsen.
-       * (TopLevel): Require `cl' at the compile time.
+       (TopLevel): Require `poe' for picking up some macros,
+       e.g. `with-temp-buffer', for old Emacsen.
+       (TopLevel): Require `cl' at the compile time.
 
-       * (mu-cite-top-format, mu-cite-registration-file,
+       (mu-cite-top-format, mu-cite-registration-file,
        mu-cite-prefix-format, mu-cite-pre-cite-hook,
        mu-cite-post-cite-hook, mu-cite-ml-count-field-list,
        mu-cite-load-hook, mu-cite-instantiation-hook,
        mu-cite-allow-null-string-registration, citation-mark-chars,
        citation-disable-chars): Use `defcustom' instead of `defvar'.
 
-       * (mu-cite): New customization group.
+       (mu-cite): New customization group.
 
-       * (mu-cite-original): Renamed from `mu-cite/cite-original'.
-       * (mu-cite-version, mu-cite-top-format,
+       (mu-cite-original): Renamed from `mu-cite/cite-original'.
+       (mu-cite-version, mu-cite-top-format,
        mu-cite-save-registration-file, mu-cite-registration-symbol,
        mu-cite-registration-file, mu-cite-prefix-format,
        mu-cite-pre-cite-hook, mu-cite-post-cite-hook, mu-cite-mu-cite.el,