elisp/lsdb.git
22 years ago* lsdb.el (lsdb-temp-buffer-show-function): Fix the last change.
ueno [Wed, 1 May 2002 18:04:17 +0000 (18:04 +0000)]
* lsdb.el (lsdb-temp-buffer-show-function): Fix the last change.
(lsdb-wl-temp-buffer-show-function): Likewise.

22 years ago* README: Fix typo.
ueno [Wed, 1 May 2002 17:50:24 +0000 (17:50 +0000)]
* README: Fix typo.

22 years ago* lsdb.el (lsdb-temp-buffer-show-function): New user option.
ueno [Wed, 1 May 2002 17:49:01 +0000 (17:49 +0000)]
* lsdb.el (lsdb-temp-buffer-show-function): New user option.
(lsdb-pop-up-windows): New user option.
(lsdb-fit-window-to-buffer): Splitted from lsdb-temp-buffer-show-function.
(lsdb-mode-show-buffer): New function.
(lsdb-gnus-update-record): Don't show LSDB buffer when
lsdb-pop-up-windows is nil.
(lsdb-wl-update-record): Likewise.
(lsdb-mew-update-record): Likewise.
(lsdb-wl-insinuate): Set wl-summary-toggle-disp-off-hook,
wl-summary-toggle-disp-folder-on-hook,
wl-summary-toggle-disp-folder-off-hook, and
wl-summary-toggle-disp-folder-message-resumed-hook.
(lsdb-wl-temp-buffer-show-function): New function.
From Yuuichi Teranishi <teranisi@gohome.org>.

22 years ago* README: Fix typo.
ueno [Tue, 30 Apr 2002 22:06:14 +0000 (22:06 +0000)]
* README: Fix typo.

* lsdb.el (lsdb-interesting-header-alist): Use comma as a delimiter of
AKA field.
(lsdb-complete-name-highlight): Use isearch-lazy-highlight-face if it exists.

22 years ago* README: Add description about secondary hash tables.
ueno [Tue, 30 Apr 2002 10:00:27 +0000 (10:00 +0000)]
* README: Add description about secondary hash tables.

22 years ago* bbdb-to-lsdb.el: Verify bbdb-record-name is non-nil. lsdb-0_4
ueno [Tue, 30 Apr 2002 04:27:04 +0000 (04:27 +0000)]
* bbdb-to-lsdb.el: Verify bbdb-record-name is non-nil.

22 years agoFix the last change.
ueno [Tue, 30 Apr 2002 04:15:13 +0000 (04:15 +0000)]
Fix the last change.

22 years agoFix the last change.
ueno [Tue, 30 Apr 2002 04:09:47 +0000 (04:09 +0000)]
Fix the last change.

22 years ago* lsdb.el: Increment the version number.
ueno [Tue, 30 Apr 2002 03:53:39 +0000 (03:53 +0000)]
* lsdb.el: Increment the version number.

22 years agoNew file.
ueno [Tue, 30 Apr 2002 03:53:21 +0000 (03:53 +0000)]
New file.

22 years ago* lsdb.el (lsdb-lookup-full-name-functions): New user option.
ueno [Tue, 30 Apr 2002 02:35:01 +0000 (02:35 +0000)]
* lsdb.el (lsdb-lookup-full-name-functions): New user option.
(lsdb-update-record-functions): New user option.
(lsdb-secondary-hash-tables): Defcustom.
(lsdb-address-cache): Rename from lsdb-reverse-hash-table.
(lsdb-secondary-hash-table-start): Define as function.
(lsdb-load-hash-tables): Load a whole list of secondary hash tables.
(lsdb-save-hash-tables): Save a whole list of secondary hash tables.
(lsdb-maybe-load-secondary-hash-tables): Rename from lsdb-maybe-build-reverse-hash-table.
(lsdb-lookup-full-name-from-address-cache): New function.
(lsdb-update-address-cache): New function.
(lsdb-lookup-full-name-by-fuzzy-matching): New function.
(lsdb-last-highlight-overlay): New variable.
(lsdb-complete-name-highlight): New function.
(lsdb-complete-name-highlight-update): New function.
(lsdb-complete-name): Highlight matched pattern.
(lsdb-mode): Use make-local-hook instead of make-local-variable.

22 years ago* lsdb.el (lsdb-entry-type-alist): Add AKA.
ueno [Mon, 29 Apr 2002 16:51:40 +0000 (16:51 +0000)]
* lsdb.el (lsdb-entry-type-alist): Add AKA.
(lsdb-reverse-hash-table): New function.
(lsdb-hash-tables-are-dirty): Rename from lsdb-hash-table-is-dirty.
(lsdb-secondary-hash-table-start-format): New constant.
(lsdb-secondary-hash-table-start): New macro.
(lsdb-read): Splitted from lsdb-load-file.
(lsdb-load-hash-tables): New function.
(lsdb-insert-hash-table): New function.
(lsdb-save-hash-tables): Rename from lsdb-save-file.
(lsdb-maybe-build-reverse-hash-table): New function.
(lsdb-maybe-load-hash-tables): Rename from lsdb-maybe-load-file.
(lsdb-update-record): Look for the existing record from the reverse hash table.

22 years ago* lsdb.el (lsdb-extract-address-components): Swap the return value.
ueno [Mon, 29 Apr 2002 14:02:18 +0000 (14:02 +0000)]
* lsdb.el (lsdb-extract-address-components): Swap the return value.
(lsdb-update-record): Follow the over change.
(lsdb-expose-x-face): Inherit 'lsdb-record property after calling
lsdb-insert-x-face-function.

22 years ago* lsdb.el (lsdb-interesting-header-alist): Ass List-Id, X-Sequence, lsdb-0_3
ueno [Sun, 28 Apr 2002 15:00:08 +0000 (15:00 +0000)]
* lsdb.el (lsdb-interesting-header-alist): Ass List-Id, X-Sequence,
Delivered-To to collect mailing-list entries.
(lsdb-entry-type-alist): Assert read-only property for creation-date and
last-modified.
(lsdb-update-records): Don't collect field-body if it doesn't match the
REGEXP element of lsdb-interesting-header-alist.
(lsdb-complete-name): Sort candidates by the position in string where
the pattern appears.

22 years ago* lsdb.el (lsdb-save-file): Reduce the actual size of the hash table
ueno [Sun, 28 Apr 2002 05:28:28 +0000 (05:28 +0000)]
* lsdb.el (lsdb-save-file): Reduce the actual size of the hash table
before saving it.

22 years ago* lsdb.el (lsdb-save-file): Check whether coding-system-name is bound. lsdb-0_2
ueno [Sun, 28 Apr 2002 03:38:12 +0000 (03:38 +0000)]
* lsdb.el (lsdb-save-file): Check whether coding-system-name is bound.
(lsdb-mode): Use static-if.

22 years ago* lsdb.el (lsdb-insert-x-face-asynchronously): Check whether the
ueno [Sun, 28 Apr 2002 03:19:51 +0000 (03:19 +0000)]
* lsdb.el (lsdb-insert-x-face-asynchronously): Check whether the
marker buffer is deleted.

* README: Add instruction for x-face-e21.

22 years ago* lsdb.el (lsdb-insert-x-face-asynchronously): Don't generate the work
ueno [Sun, 28 Apr 2002 02:49:27 +0000 (02:49 +0000)]
* lsdb.el (lsdb-insert-x-face-asynchronously): Don't generate the work
buffer when the X-Face is found in cache.

22 years ago* lsdb.el (lsdb-wl-insinuate): Add lsdb-mode-save to wl-save-hook.
ueno [Sun, 28 Apr 2002 02:06:13 +0000 (02:06 +0000)]
* lsdb.el (lsdb-wl-insinuate): Add lsdb-mode-save to wl-save-hook.

22 years ago* lsdb.el: Added Mew interface.
ueno [Sun, 28 Apr 2002 01:59:39 +0000 (01:59 +0000)]
* lsdb.el: Added Mew interface.
(lsdb-mode-hide-buffer): New command.
(lsdb-mew-insinuate): New function.
(lsdb-mew-update-record): New function.

* README: Add instruction for Mew.

22 years ago* lsdb.el (lsdb-mode-save): Don't ask user for saving the database.
ueno [Sat, 27 Apr 2002 19:32:01 +0000 (19:32 +0000)]
* lsdb.el (lsdb-mode-save): Don't ask user for saving the database.

22 years ago* README: Add description about MU-CITE.
ueno [Sat, 27 Apr 2002 17:55:24 +0000 (17:55 +0000)]
* README: Add description about MU-CITE.

22 years ago* xbm-thumb.el: Removed.
ueno [Sat, 27 Apr 2002 17:54:58 +0000 (17:54 +0000)]
* xbm-thumb.el: Removed.
* LSDB-ELS (lsdb-modules-to-compile): Remove xbm-thumb.

22 years ago* lsdb.el (lsdb-expose-x-face): Fix the last change.
ueno [Sat, 27 Apr 2002 17:54:16 +0000 (17:54 +0000)]
* lsdb.el (lsdb-expose-x-face): Fix the last change.

22 years ago* lsdb.el: Simplify X-Face rendering stuff.
ueno [Sat, 27 Apr 2002 17:49:55 +0000 (17:49 +0000)]
* lsdb.el: Simplify X-Face rendering stuff.
(lsdb-x-face): Abolish.
(lsdb-display-small-x-face): Abolish.
(lsdb-uncompface-program): Abolish.
(lsdb-x-face-command-alist): New user option.
(lsdb-insert-x-face-function): Set default to lsdb-insert-x-face-asynchronously.
(lsdb-shell-file-name): New user option.
(lsdb-shell-command-switch): New user option.
(lsdb-print-record-hook): Rename from lsdb-display-record-hook.
(lsdb-print-record): Call lsdb-print-record-hook.
(lsdb-mode-line-buffer-identification) [XEmacs]: Simplified.
(lsdb-x-face-available-image-type): New function.
(lsdb-call-process-on-string): Abolish.
(lsdb-mirror-bits): Abolish.
(lsdb-mirror-bytes): Abolish.
(lsdb-convert-x-face-to-xbm): Abolish.
(lsdb-insert-x-face-asynchronously): New function.

22 years ago* lsdb.el (lsdb-display-small-x-face): Fixed custom type.
ueno [Sat, 27 Apr 2002 13:12:44 +0000 (13:12 +0000)]
* lsdb.el (lsdb-display-small-x-face): Fixed custom type.

22 years ago* LSDB-ELS (lsdb-modules-to-compile): Add xbm-thumb.
ueno [Sat, 27 Apr 2002 13:09:01 +0000 (13:09 +0000)]
* LSDB-ELS (lsdb-modules-to-compile): Add xbm-thumb.
* xbm-thumb.el: New file.

* lsdb.el: Require static and path-util.
(lsdb-x-face): New custom group.
(lsdb-display-small-x-face): New user option.
(lsdb-x-face-scale-factor): Abolish.
(lsdb-uncompface-program): New user option.
(lsdb-insert-x-face-function): Set default to lsdb-insert-x-face.
(lsdb-display-records-sort-predicate): New user option.
(lsdb-display-records): Sort records with lsdb-display-records-sort-predicate.
(lsdb-pointer-xpm): New constant.
(lsdb-xemacs-modeline-left-extent): New variable.
(lsdb-xemacs-modeline-right-extent): New variable.
(lsdb-modeline-buffer-identification): New function.
(lsdb-modeline-string): New variable.
(lsdb-mode): Set up mode-line-buffer-identification.
(lsdb-modeline-update): New function.
(lsdb-narrow-to-record): Applied the patch from
Hideyuki SHIRAI <shirai@rdmg.mgcs.mei.co.jp>.
(lsdb-mode-save): Don't ask whether to save the database when
the argument 'ask is passed.
(lsdb-insert-x-face-with-x-face-e21): Abolish.
(lsdb-insert-x-face-with-xemacs-glyph): Abolish.
(lsdb-call-process-on-string): New function.
(lsdb-mirror-bits): New function.
(lsdb-mirror-bytes): New constant.
(lsdb-convert-x-face-to-xbm): New function.
(lsdb-insert-x-face): New function.

22 years ago* lsdb.el (lsdb-insert-entry): Check entry's score here.
ueno [Fri, 26 Apr 2002 23:00:28 +0000 (23:00 +0000)]
* lsdb.el (lsdb-insert-entry): Check entry's score here.
(lsdb-mode-edit-entry): Compare entry contents.

22 years ago* lsdb.el: Require pces for find-coding-system.
ueno [Fri, 26 Apr 2002 22:46:00 +0000 (22:46 +0000)]
* lsdb.el: Require pces for find-coding-system.
(lsdb-file-coding-system): Call find-coding-system when setting the default value.
(lsdb-save-file): Convert coding-system-name into string.
(lsdb-lookup-records): Splitted from lsdb-mode-lookup.
(lsdb-mu-attribution): New function.
(lsdb-mu-set-attribution): New function.
(lsdb-mu-get-prefix-method): New function.
(lsdb-mu-get-prefix-register-method): New function.
(lsdb-mu-get-prefix-register-verbose-method): New function.
(lsdb-mu-insinuate): New function.
(lsdb-mu-history): New variable.

22 years ago* README: New file. lsdb-0_1
ueno [Fri, 26 Apr 2002 19:03:24 +0000 (19:03 +0000)]
* README: New file.

22 years ago* lsdb.el (lsdb-mode-map): Bind [backspace]
ueno [Fri, 26 Apr 2002 14:34:16 +0000 (14:34 +0000)]
* lsdb.el (lsdb-mode-map): Bind [backspace]
(lsdb-mode-lookup): Prepare lsdb-hash-table.

22 years ago* lsdb.el (lsdb-mode-map): Bind [space] and [delete].
ueno [Fri, 26 Apr 2002 14:31:32 +0000 (14:31 +0000)]
* lsdb.el (lsdb-mode-map): Bind [space] and [delete].

22 years ago* lsdb.el (lsdb-current-record): New function.
ueno [Fri, 26 Apr 2002 14:23:56 +0000 (14:23 +0000)]
* lsdb.el (lsdb-current-record): New function.
(lsdb-current-entry): Use it.
(lsdb-mode-add-entry): Use it.
(lsdb-mode-delete-entry): Use it.
(lsdb-mode-edit-entry): Use it.

22 years ago* lsdb.el (lsdb-maphash) [Emacs]: Fixed.
ueno [Fri, 26 Apr 2002 12:45:22 +0000 (12:45 +0000)]
* lsdb.el (lsdb-maphash) [Emacs]: Fixed.

22 years ago* lsdb.el: Check whether make-hash-table is a subr.
ueno [Fri, 26 Apr 2002 12:23:15 +0000 (12:23 +0000)]
* lsdb.el: Check whether make-hash-table is a subr.

22 years ago* lsdb.el (lsdb-print-record-function): Abolish.
ueno [Fri, 26 Apr 2002 10:10:20 +0000 (10:10 +0000)]
* lsdb.el (lsdb-print-record-function): Abolish.
(lsdb-insert-x-face-function): Add setting for XEmacs' xface glyph.
(lsdb-known-entry-names): New variable.
(lsdb-temp-buffer-show-function): Don't call
shrink-window-if-larger-than-buffer twice.
(lsdb-display-records): Fixed.
(lsdb-insert-entry): Collect entry names for later completion.
(lsdb-mode-map): Bind n and p.
(lsdb-narrow-to-record): Simplified.
(lsdb-mode-lookup-history): New variable.
(lsdb-mode-lookup): New command.
(lsdb): New alias.
(lsdb-mode-add-entry): Complete entry names.
(lsdb-mode-next-record): New command.
(lsdb-mode-previous-record): New command.
(lsdb-wl-insinuate): Add autoload cookie.
(lsdb-insert-x-face-with-xemacs-glyph): New function.

22 years ago* lsdb.el: Fix the last change.
ueno [Fri, 26 Apr 2002 06:48:46 +0000 (06:48 +0000)]
* lsdb.el: Fix the last change.

22 years ago* lsdb.el (lsdb-mode-save): Fixed.
ueno [Fri, 26 Apr 2002 06:42:21 +0000 (06:42 +0000)]
* lsdb.el (lsdb-mode-save): Fixed.

22 years ago* lsdb.el (lsdb-edit-form-mode-hook): New user option.
ueno [Fri, 26 Apr 2002 06:21:15 +0000 (06:21 +0000)]
* lsdb.el (lsdb-edit-form-mode-hook): New user option.
(lsdb-insert-entry): New function.
(lsdb-print-record): Use it.
(lsdb-mode-map): New keymap.
(lsdb-mode-quit-window): Emulate quit-window in Emacs 21.
(lsdb-narrow-to-record): New function.
(lsdb-current-entry): New function.
(lsdb-mode-add-entry): New command.
(lsdb-mode-delete-entry): New command.
(lsdb-mode-edit-entry): New command.
(lsdb-mode-save): Rename from lsdb-offer-save.
(lsdb-edit-form-buffer): New variable.
(lsdb-edit-form-done-function): New variable.
(lsdb-previous-window-configuration): New variable.
(lsdb-edit-form-mode-map): New variable.
(lsdb-edit-form-mode): New major mode.
(lsdb-edit-form): New function.
(lsdb-edit-form-done): New function.
(lsdb-edit-form-exit): New function.

22 years ago* lsdb.el (lsdb-interesting-header-alist): Collect X-URL, X-URI and X-Face.
ueno [Fri, 26 Apr 2002 02:13:03 +0000 (02:13 +0000)]
* lsdb.el (lsdb-interesting-header-alist): Collect X-URL, X-URI and X-Face.
(lsdb-entry-type-alist): Increase the score of 'www.
(lsdb-insert-x-face-function): New user option.
(lsdb-display-record-hook): New user option.
(lsdb-font-lock-keywords): Stop highlighting when a runaway "\r" is found.
(lsdb-display-records): New function.
(lsdb-display-record): Use it.
(lsdb-entry-score): New inline function.
(lsdb-print-record): Use it.
(lsdb-expose-x-face): New function.
(lsdb-x-face-scale-factor): New variable.
(lsdb-insert-x-face-with-x-face-e21): New function.

22 years ago* lsdb.el (lsdb-wl-hide-buffer): New function.
ueno [Thu, 25 Apr 2002 19:40:07 +0000 (19:40 +0000)]
* lsdb.el (lsdb-wl-hide-buffer): New function.

22 years ago* lsdb.el (lsdb-complete-name): Call lsdb-maybe-load-file before
ueno [Thu, 25 Apr 2002 19:34:00 +0000 (19:34 +0000)]
* lsdb.el (lsdb-complete-name): Call lsdb-maybe-load-file before
building completion table.

22 years agoFix typo.
ueno [Thu, 25 Apr 2002 19:31:47 +0000 (19:31 +0000)]
Fix typo.

22 years ago* lsdb.el: Add instructions for Wanderlust.
ueno [Thu, 25 Apr 2002 19:09:26 +0000 (19:09 +0000)]
* lsdb.el: Add instructions for Wanderlust.
(lsdb-gnus-insinuate-message): Abolish.
(lsdb-gethash) [Emacs]: Fixed.

22 years ago* lsdb.el (lsdb-complete-name): Don't throw an error when there is no
ueno [Thu, 25 Apr 2002 17:30:41 +0000 (17:30 +0000)]
* lsdb.el (lsdb-complete-name): Don't throw an error when there is no
candidate.

22 years ago* lsdb.el (lsdb-update-record): Duplicate record before puthash.
ueno [Thu, 25 Apr 2002 17:22:55 +0000 (17:22 +0000)]
* lsdb.el (lsdb-update-record): Duplicate record before puthash.
(lsdb-last-candidates): New variable.
(lsdb-complete-name): Use it.

22 years ago* lsdb.el (lsdb-entry-type-alist): Increase score of 'organization.
ueno [Thu, 25 Apr 2002 16:40:10 +0000 (16:40 +0000)]
* lsdb.el (lsdb-entry-type-alist): Increase score of 'organization.

22 years ago* lsdb.el (lsdb-offer-save): Rename from lsdb-gnus-offer-save.
ueno [Thu, 25 Apr 2002 16:36:03 +0000 (16:36 +0000)]
* lsdb.el (lsdb-offer-save): Rename from lsdb-gnus-offer-save.

22 years ago* lsdb.el (lsdb-hash-table-is-dirty): New variable.
ueno [Thu, 25 Apr 2002 16:32:43 +0000 (16:32 +0000)]
* lsdb.el (lsdb-hash-table-is-dirty): New variable.
(lsdb-gnus-offer-save): Use it.

22 years ago* lsdb.el (lsdb-interesting-header-alist): Add 'attribution.
ueno [Thu, 25 Apr 2002 16:15:38 +0000 (16:15 +0000)]
* lsdb.el (lsdb-interesting-header-alist): Add 'attribution.

22 years agoImporting the Lovely Sister Database. start
ueno [Thu, 25 Apr 2002 15:52:01 +0000 (15:52 +0000)]
Importing the Lovely Sister Database.