summaryrefslogtreecommitdiff
path: root/lisp/bookmark.el
Commit message (Collapse)AuthorAgeFilesLines
* (bookmark-bmenu-delete-backwards)Richard M. Stallman1996-05-091-34/+29
| | | | | | | | (bookmark-write, bookmark-relocate, bookmark-insert-buffer-name) (bookmark-insert-current-bookmark, bookmark-send-edited-annotation) (bookmark-read-annotation, bookmark-read-annotation-text-func) (bookmark-send-annotation, bookmark-insert-file-format-version-stamp): Doc fixes.
* (bookmark-locate): ;;;###autoload this alias.Karl Fogel1996-05-081-3/+5
| | | | | | (bookmark-bmenu-mode-map): bind C-c C-c to bookmark-bmenu-this-window, analogously to other Emacs listing modes such as *grep* and *occur*. (bookmark-version): upped to 2.6.4.
* (bookmark-make): take optional arg `info-node', pass it on toKarl Fogel1996-05-081-31/+53
| | | | | | | | | | | | | bookmark-make-cell. (bookmark-make-cell): if new optional arg `info-node' is non-nil, make it be the bookmark's info-node. (bookmark-info-current-node): new func. (bookmark-set): call bookmark-make, passing result from above bookmark-info-current-node. (bookmark-send-annotation): same as above. (bookmark-locate): defalias to bookmark-insert-location for backward compatibility. (bookmark-version): upped to 2.6.3.
* Comment change.Richard M. Stallman1996-03-021-1/+1
|
* (bookmark-alist-from-buffer): Fix error text.Karl Heuer1996-01-251-7/+7
| | | | | | (bookmark-maybe-upgrade-file-format, bookmark-set): Likewise. (bookmark-send-annotation, bookmark-send-edited-annotation): Likewise. (bookmark-load): Delete redundant format call.
* (bookmark-write-file, bookmark-load): Delete format call inside message.Karl Heuer1996-01-251-4/+4
|
* Update FSF's address.Erik Naggum1996-01-141-13/+12
|
* "cyclic.com" addresses changed to "red-bean.com".Karl Fogel1996-01-051-10/+12
| | | | | | | | <bookmark-bmenu-mode-map>: don't bind C-k. <bookmark-bmenu-mode>: better key description. <bookmark-bmenu-execute-deletions>: display message while working. <bookmark-version>: upped to 2.6.20. <bookmark-load>: fixed "done" message, duh.
* (bookmark-save-flag, bookmark-read-annotation-text-func,Karl Heuer1996-01-041-8/+8
| | | | bookmark-rename, bookmark-bmenu-mode, bookmark-menu-rename): Doc fix.
* Removed all `bookmark-xemacsp' conditional code relating to menus. DoKarl Fogel1995-12-301-6/+71
| | | | | | | | | | ";;;###autoloads" the as they were done in 2.6.13. (bookmark-version): new var, set to 2.6.19. (baud-rate): set to 19200 if not already bound. (bookmark-make): don't call `set-text-properties' on a Lisp string if this is XEmacs, because it won't work. (buffer-substring-no-properties): if this is not fboundp, then fset it to `buffer-substring-without-properties'.
* Update address in comment.Karl Heuer1995-08-171-1/+1
|
* (bookmark-make): Strip text properties off name.Karl Heuer1995-07-171-36/+30
| | | | | (bookmark-make-cell): Use `buffer-substring-no-properties'. (bookmark-yank-word): Use buffer-substring-no-properties.
* Make doc strings and argument names consistent where necessary.Richard M. Stallman1995-06-181-153/+200
| | | | | | | | | | Moved user variables to own section. (bookmark-alist): Better doc string. (bookmark-insert-current-bookmark): Doc string. (bookmark-insert-buffer-name): Doc string. (bookmark-set): Take optional NAME argument. (bookmark-bmenu-select): Use member to test for string's presence. Use a more efficent test at end, as suggested by Mikio Nakajima.
* Fix capitalization in menu bar.Karl Heuer1995-05-301-7/+7
|
* (menu-bar-bookmark-map): Autoload each formRichard M. Stallman1995-04-061-12/+22
| | | | | | | used to set up this variable's value, so that the whole job is done in loaddefs.el. (bookmark-menu-locate, bookmark-menu-jump, bookmark-menu-insert) (bookmark-menu-delete, bookmark-menu-rename): Add autoloads.
* (bookmark-automatically-show-annotations): new var.Karl Fogel1995-03-201-4/+9
| | | | (bookmark-jump): only show annotation if above var is non-nil.
* (bookmark-bmenu-2-window): go to correct position as well asKarl Fogel1995-03-151-15/+30
| | | | | | correct buffer. (bookmark-bmenu-other-window): same. (bookmark-bmenu-switch-other-window): same.
* Removed C-v bindings; they were inconsistent.Karl Fogel1995-03-131-33/+53
| | | | | | | | | | | | | Defvarred some variables to nil, solely to avoid compilation warnings. Use "Author's Update Number:" instead of "Version:". (bookmark-history): new var. (bookmark-completing-read): use `bookmark-history'. (bookmark-historicize-string): new macro. Use this everywhere `bookmark-completing-read' is used, because `completing-read' won't get a chance to add to `bookmark-history' if we were invoked via a menu. (bookmark-rename): use `bookmark-history' when reading the new name. No need for the strange C-o binding anymore.
* (bookmark-buffer-name): Be smarter about deducing a name.Richard M. Stallman1995-03-111-24/+39
| | | | | | | | (bookmark-insert-buffer-name): Use bookmark-buffer-name. Replaces bookmark-insert-current-file-name. (bookmark-make-cell): Use set-text-properties, not format, to clear text properties.
* Insure that all entry points call `bookmark-maybe-load-default-file'.Richard M. Stallman1995-03-111-562/+1273
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed format of bookmark-alist and therefore of bookmark files. Have version stamps in bookmark files. Automatically upgrade old bookmark files to new format. Changed name of default bookmark file to ".emacs.bmk". Replaced "Bookmark-menu" with "bookmark-bmenu". The capitalization signified nothing; "bmenu" means "buffer-menu" -- that is, bmenu code is for the dired-like of bookmarks that appears when `list-bookmarks' is run, and the "bookmark-menu" prefix is for the menu-bar. Internally, use an alist instead of hardcoded list-positions for storing bookmark information. Applied <johng@media.mit.edu>'s patches for annotation support: (bookmark-send-annotation, bookmark-read-annotation-mode) (bookmark-edit-annotation-mode, bookmark-default-annotation-text) (bookmark-read-annotation-text-func, bookmark-read-annotation) (bookmark-send-edited-annotation, bookmark-edit-annotation): New functions. (bookmark-get-bookmark, bookmark-get-bookmark-record) (bookmark-name-from-full-record, bookmark-set-name) (bookmark-get-annotation, bookmark-set-annotation) (bookmark-get-info-node, bookmark-set-info-node) (bookmark-get-filename, bookmark-set-filename) (bookmark-get-position, bookmark-set-position) (bookmark-get-front-context-string, bookmark-set-front-context-string) (bookmark-get-rear-context-string, bookmark-set-rear-context-string): New subroutines. (bookmark-file-format-version, bookmark-end-of-version-stamp-marker): New variables. (bookmark-grok-file-format-version, bookmark-maybe-upgrade-file-format) (bookmark-upgrade-version-0-alist, bookmark-upgrade-file-format-from-0) (bookmark-insert-file-format-version-stamp): New functions. (bookmark-maybe-load-default-file): Renamed from bookmark-try-default-file'. (bookmark-old-default-file): New variable. (bookmark-default-file): Renamed from `bookmark-file'. New initial value, ".emacs.bmk". (bookmark-make-cell): Use backquote. Produce with the new format (Format Version 1). Use `format' to strip text-properties. (bookmark-write-file): Use `pp' instead of `princ'. Call `bookmark-insert-file-format-version-stamp'. (bookmark-all-names, bookmark-menu-popup-paned-bookmark-menu) (bookmark-menu-build-paned-menu, bookmark-menu-popup-paned-menu) (bookmark-insert-location): New functions. (bookmark-completing-read): New function. Everyone who called `completing-read' in the interactive spec now calls this. (bookmark-load-hook): New hook. (bookmark-make-menu-alist): Function deleted. (bookmark-popup-menu-and-apply-function): replaces `bookmark-make-menu-with-function'. (bookmark-load): Use `bookmark-alist-from-buffer'. Call `bookmark-maybe-upgrade-file-format'. (bookmark-set): If Info mode, record Info-current-node. Use `bookmark-bmenu-surreptitiously-rebuild-list'. (bookmark-buffer-file-name): Handle Info files. (bookmark-buffer-name): If Info mode, return Info-current-node. (bookmark-jump-noselect): For info node, use Info-goto-node. Use the helper functions, don't mess with the raw alist (except in completion, which we'll take care of later). Don't count on `bookmark-search-size' being correct; use the length of `forward-str' and `behind-str' instead. (bookmark-relocate): Use the helper functions; don't mess with the raw alist except in completion. (bookmark-rename): C-o in minibuffer now inserts old name. (bookmark-delete): New arg BATCH. (bookmark-bmenu-execute-deletions): Was `bookmark-bmenu-execute'. Just call bookmark-delete with the BATCH arg. Set the modification count and maybe save when done. Save point intuitively. (bookmark-insert-current-file-name): Just use `file-name-nondirectory'. (bookmark-location): Made non-interactive. (bookmark-bmenu-list): Replaces `list-bookmarks'. Delete arg ANNOTATION. Use mapcar to simplify. If not interactive-p, then use `set-buffer' instead of `switch-to-buffer'. (bookmark-kill-line): New function, used instead of kill-line. (bookmark-search-size): Init to 16 instead of 500.
* (bookmark-file): Use ~/emacs.bmk on windows-nt.Richard M. Stallman1994-11-011-1/+1
|
* Comment change.Richard M. Stallman1994-06-171-1/+1
|
* (bookmark-file): Alternate default on ms-dos.Richard M. Stallman1994-05-201-1/+4
|
* Doc fixes.Richard M. Stallman1994-05-161-30/+28
| | | | (bookmark-relocate): Rename arg.
* Update copyright.Karl Heuer1994-05-031-1/+1
|
* (kill-emacs-hook): Don't autoload this hook.Richard M. Stallman1994-03-101-1/+5
| | | | | | (bookmark-menu-bar-delete, bookmark-menu-bar-rename) (bookmark-menu-bar-locate, bookmark-menu-bar-jump) (bookmark-menu-bar-insert): Add autoloads.
* (menu-bar-bookmark-map): Autoload the whole setup.Richard M. Stallman1994-03-101-8/+13
|
* Don't repeat at load time any bindings that are autoloaded.Richard M. Stallman1993-12-231-1/+2
|
* (bookmark-load, bookmark-write-file):Richard M. Stallman1993-10-261-2/+2
| | | | Bind enable-local-variables instead of enable-local-eval.
* upped version to 2.5Karl Fogel1993-10-251-10/+21
| | | | | | | | | | | | | Got rid of ###autoload to put a bookmark menu on the menu-bar. Now it will appear on the File menu, fourth item down. menu-bar.el will be modified to do this. (bookmark-load, bookmark-write-file): made enable-local-eval be nil when loading a bookmark file, since bookmark context strings can contain eval forms from the files in which the bookmarks are set, and we don't want them evalled when .emacs-bkmrks is found! upped version to 2.4.1 after doing this.
* (bookmark-write): Add numbered backups for bookmark file.Richard M. Stallman1993-10-131-296/+824
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (bookmark-version-control): New variable. (bookmark-jump): bookmark-jump now gives a default value if no bookmark is entered manually. (bookmark-set): Default to bookmark-current-bookmark or buffer-name the way bookmark-jump does. (ctl-x-map): Check if C-x r is a prefix before using it as one. Include string "Bookmarks" in defining [menu-bar bookmark] in global-map in the menu-bar code. (menu-bar-bookmark-map): Supply t as 4th arg of autoload. (bookmark-jump-noselect): New subroutine taken from bookmark-jump. Support compressed files. (bookmark-jump): Call bookmark-jump-noselect. Offer to relocate if necessary, but change default dir to that of the old bookmark in read-file-name. (bookmark-set, bookmark-rename, bookmark-delete, bookmark-write-file, bookmark-load, Bookmark-menu-show-filenames, Bookmark-menu-hide-filenames, Bookmark-menu-bookmark, Bookmark-menu-save, Bookmark-menu-load): Fixed the save-excursion bugs by wrapping things in save-window-excursion as well. (bookmark-make-menu-bar-alist): Added sorting. (bookmark-map): Added new keybindings. (bookmark-try-default-file): Set bookmarks-already-loaded to t after the load. (list-bookmarks): Added bookmark menu stuff. (Bookmark-menu-*): New functions.
* (bookmark-alist): Move defvar before first use.Richard M. Stallman1993-08-141-5/+5
|
* Doc fixes.Richard M. Stallman1993-08-141-82/+113
|
* New version from Fogel.Richard M. Stallman1993-08-141-46/+33
|
* New version from Fogel.Richard M. Stallman1993-08-131-170/+140
|
* entered into RCSRichard M. Stallman1993-08-101-0/+776