2006-08-18 Joost Kremers * ebib.el (ebib): renamed the keys buffer to index buffer and the fields buffer to entry buffer. (ebib-key): new. to enable customisation of the command keys through .ebibrc. (ebib-index-mode-map): moved key definitions to .ebibrc. (ebib-entry-mode-map): same. (ebib-strings-mode-map): same. 2006-08-17 Joost Kremers * ebib.el (ebib-add-entry): rewrote to use ebib-insert-entry. 2006-08-15 Joost Kremers * ebib.el (ebib-delete-entry): split into three functions. (ebib-remove-key-from-buffer): split off from ebib-delete-entry. (ebib-remove-entry-from-db): split off from ebib-delete-entry. (ebib-edit-keyname): new. because it partially does the same as ebib-delete-entry, i split up the latter. 2006-08-13 Joost Kremers * ebib.el (ebib-edit-field): added special clause for the annote field, so that the user is dropped into the multiline edit buffer. 2005-11-18 Joost Kremers * ebib.el (ebib-read-string): changed so that it does not store the braces or quotes surrounding the string. (ebib-match-quote-forward): added a check to make sure that when a double quote is found at the search limit, this isn't mistakenly taken as the matching quote if it is escaped by a backslash. 2005-11-17 Joost Kremers * ebib.el (ebib-fields-mode-map): bound C-x k to ebib-quit-fields-buffer. (ebib-strings-mode-map): bound C-x b to ebib-lower, and C-x k to ebib-quit-strings-buffer. 2005-11-05 Joost Kremers * ebib.el (ebib-load-bibtex-file): use file-readable-p instead of file-exits-p. 2005-11-04 Joost Kremers * ebib.el (ebib-format-fields): new. formats the fields and calls a function to output them. (ebib-fill-fields-buffer): moved the actual formatting and printing code to ebib-format-fields. (ensure-extension): new. make sure a filename has a specific extension. (ebib-load-bibtex-file): changed to use ensure-extension. (remove-from-string): changed to function. (symbol-or-string): same. (ebib-extract-bibfile): new. looks for a \bibliography command in the current buffer and reads its filename. (ebib-get-db-from-filename): new. retrieve a bibtex database based on filename. (ebib-get-local-database): new. finds a database to associate with the LaTeX file in the current buffer. (ebib-insert-bibtex-key): removed option to use a prefix argument. instead uses ebib-get-local-database to select a database to get the keys from. (ebib-entry-summary): new. reads the key at point and displays its entry in a *Help* buffer. 2005-11-03 Joost Kremers * ebib.el (ebib-prefix): changed to function. (next-elem): same. (prev-elem): same. (ebib-get-obl-fields): same. (ebib-get-opt-fields): same. 2005-11-02 Joost Kremers * ebib.el (when-entries): new. execute BODY when there is a database open and it contains entries. (ebib-prev-entry): test whether there are entries in the current database. (ebib-next-entry): same. (ebib-prev-entry): test whether there are entries in the current database. (ebib-next-entry): same. (ebib-goto-first-entry): same. (ebib-goto-last-entry): same. (ebib-edit-entry): same. (ebib-entry-page-up): same. (ebib-entry-page-down): same. (ebib-delete-entry): same. (ebib-select-entry): same. (ebib-export-entry): same. (ebib-search-next): same. (ebib-edit-strings): test whether a database is open. (ebib-edit-preamble): same. (ebib-search): test whether there are entries in the current database, and ask for search string inside the function, rather than in (interactive). (ebib-export-preamble): test whether a database is open. (ebib-next-database): same. (ebib-prev-database): same. (disabled): new. does nothing except beep. used to disable C-x k and C-x b in the fields and strings buffers. 2005-11-02 Steve Youngs * ebib.el (ebib-init): Don't do anything with `ebib-keys-mode-map' here. (ebib-initial-keys-map): Removed. (ebib-full-keys-map): Removed. (ebib-keys-mode-map): Merge them into here. (ebib-load-bibtex-file): Don't do anything with `ebib-keys-mode-map' here. (ebib-close-database): Ditto. (ebib-fill-keys-buffer): Ditto. (ebib-switch-to-database-nth): Make it compatible with GNU/Emacs. 2005-11-02 Joost Kremers * ebib.el (ebib-keys-mode): added C-x k and C-x b redefinitions to ebib-initial-keys-map. (ebib-fields-mode): same. (ebib-strings-mode): same. (ebib-t): removed. 2005-11-02 Steve Youngs * ebib.el (ebib-init): Copy the "initial keys" keymap into `ebib-keys-mode-map'. (ebib-initial-keys-map): Define all the keys inside the variable definition instead of at top level. (ebib-full-keys-map): Ditto. Also make this keymap's parent be `ebib-initial-keys-map' to save on double defining some keys. (ebib-switch-to-database-nth): New. Convenience function for switching between databases. (ebib-fill-keys-buffer): Set the local keymap to `ebib-keys-mode-map'. (ebib-load-bibtex-file): Copy the "full keys" keymap into `ebib-keys-mode-map'. (ebib-close-database): Copy the "initial keys" keymap into `ebib-keys-mode-map' and reset the local map. (ebib-fields-mode-map): Define the keys in the variable definition instead of at top level. (ebib-strings-mode-map): Ditto. (ebib-help-mode-map): Ditto.