summaryrefslogtreecommitdiff
path: root/lisp/bookmark.el
Commit message (Collapse)AuthorAgeFilesLines
* (bookmark-read-annotation-mode, bookmark-edit-annotation-mode)Lute Kamstra2005-05-261-3/+3
| | | | (bookmark-bmenu-mode): Use run-mode-hooks.
* (bookmark-write-file): Catch errors writing file.Karl Fogel2005-04-111-1/+3
| | | | This is the same change as saveplace.el at 2005-04-10T23:32:00Z!rms@gnu.org.
* (menu-bar-bookmark-map): Add ellipsis to "Jump toJuri Linkov2005-03-281-6/+6
| | | | | Bookmark", "Set Bookmark", "Insert Contents", "Insert Location", "Rename Bookmark", "Delete Bookmark".
* (bookmark-jump): Nice error if BOOKMARK is nil.Richard M. Stallman2004-12-271-0/+2
|
* * bookmark.el (bookmark-bmenu-relocate): New function, asKarl Fogel2004-06-131-1/+16
| | | | | | | suggested by David J. Biesack <David.Biesack@sas.com>. (bookmark-bmenu-mode-map): Bind `bookmark-bmenu-relocate' to "R". (bookmark-bmenu-mode): Describe binding in doc string. (bookmark-set-filename): Save the bookmark list if it's time.
* (bookmark-send-edited-annotation): Fix docstring.Juanma Barranquero2004-04-151-2/+4
| | | | (bookmark-edit-annotation-mode): Add mode name.
* (bookmark-get-bookmark): Use assoc-string.Richard M. Stallman2003-12-291-4/+1
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (bookmark-completing-read): Use a popup menu if activated from the mouse.Stefan Monnier2003-08-111-212/+81
| | | | | | | | | | | | | | | | | | | | | Return a string, instead of a list of one string. (bookmark-edit-annotation): Remove unused vars. (bookmark-jump, bookmark-relocate, bookmark-insert-location) (bookmark-rename, bookmark-insert, bookmark-delete): Adjust calls to bookmark-completing-read. (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames) (bookmark-bmenu-mark, bookmark-bmenu-select, bookmark-bmenu-unmark) (bookmark-bmenu-delete, bookmark-bmenu-list): Use inhibit-read-only and erase-buffer. (bookmark-menu-delete, bookmark-menu-rename, bookmark-menu-locate) (bookmark-menu-jump, bookmark-menu-insert) (bookmark-popup-menu-and-apply-function) (bookmark-menu-popup-paned-bookmark-menu): Remove. (bookmark-menu-build-paned-menu): Remove by folding it into bookmark-menu-popup-paned-menu. (menu-bar-bookmark-map): Move the define-key statements here. Use the "non-menu" commands since they now pop up a menu if needed. (bookmark-exit-hook-internal): Simplify.
* Don't redo key bindings on loading, put them only in loaddefs.el.Andreas Schwab2003-08-021-57/+34
|
* (bookmark-menu-length): Fix typo in group name.Markus Rost2002-11-181-1/+1
|
* * bookmark.el (bookmark-file-or-variation-thereof): Restore vc-backendKarl Fogel2002-06-121-11/+17
| | | | | check, thanks to Robert Thorpe <robert.thorpe@antenova.com> for noticing. Redocument.
* (bookmark-file-or-variation-thereof): Doc fix.Richard M. Stallman2002-06-081-3/+3
|
* * bookmark.el (bookmark-file-or-variation-thereof): Just useKarl Fogel2002-06-081-13/+12
| | | | Info-suffix-list, as suggested by Stefan Monnier.
* Doc fix.Pavel Janík2001-12-201-1/+1
|
* Converted backquote to the new style.Sam Steingold2001-11-271-21/+20
|
* (bookmark-write-file): Bind print-length andGerd Moellmann2001-09-041-15/+16
| | | | print-level to nil. From Tom Capey <tomc@edina.co.uk>.
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-2/+2
|
* (bookmark-insert-location, bookmark-bmenu-list)Eli Zaretskii2001-06-241-16/+20
| | | | | | (bookmark-bmenu-hide-filenames): Add help-echo to mouse-highlighted text. (bookmark-bmenu-show-filenames): Remove help-echo property from the whitespace.
* (bookmark-get-bookmark): Handle case thatGerd Moellmann2001-03-281-5/+7
| | | | BOOKMARK is not a string.
* (bookmark-get-bookmark): Use assoc-ignore-case ifGerd Moellmann2001-03-061-2/+5
| | | | bookmark-completion-ignore-case it t.
* new backquote syntaxSam Steingold2001-01-121-55/+55
|
* * bookmark.el: Provide a generic exit hook, as suggested by OvidiuKarl Fogel2000-12-131-10/+16
| | | | | | | | | | Predescu <ovidiu@cup.hp.com>: (bookmark-exit-hook): new var. (bookmark-exit-hook-internal): new func, replaces old raw lambda form in `kill-emacs-hook', and runs new `bookmark-exit-hooks'. No longer tests for the bookmark feature, as logically that feature must have been provided if this function is running. Removed ;;;###autoload before the `add-hook' call.
* Applied this patch from Eli Zaretskii. Pretty much taking on faithKarl Fogel2000-06-061-4/+4
| | | | | | | | | | | that it works, because I can't build the 20.6 raw tree... 2000-05-25 Eli Zaretskii <eliz@is.elta.co.il> * bookmark.el (bookmark-insert-location, bookmark-bmenu-list) (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames): Call display-color-p and display-mouse-p instead of looking at window-system.
* (bookmark-file-or-variation-thereof): New func, forGerd Moellmann2000-03-061-17/+17
| | | | | | code abstracted out of `bookmark-jump-noselect'. Now tries info extensions as well as compression extensions. (bookmark-jump-noselect): Use above new func.
* (bookmark-bmenu-mode-map): Bind RET like f.Richard M. Stallman1999-12-091-0/+1
|
* Delete some XEmacs compatibility code.Richard M. Stallman1999-05-231-12/+5
| | | | (bookmark-jump-noselect): Check vc-backend.
* (bookmark-save-flag, bookmark-version-control): UseAndreas Schwab1998-06-241-2/+3
| | | | `other' widget type.
* Changes so bookmark list mode works with Info:Richard M. Stallman1998-05-261-24/+29
| | | | | | | (bookmark-jump-noselect): Use an inner save-window-excursion. (bookmark-bmenu-switch-other-window): Temporarily set pop-up-windows, same-window-buffer-names, and same-window-regexps, to override Info's special display behaviors.
* (bookmark-bmenu-mode-map): Use quit-window for q.Richard M. Stallman1998-03-081-9/+1
| | | | (bookmark-bmenu-quit): Function deleted.
* (bookmark-load): Use `bookmark-import-new-list' toRichard M. Stallman1997-08-221-125/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | load the new list carefully, renaming bookmarks as necessary. In docstring, mention new renaming behavior. Optional arg OVERWRITE replaces inaccurately-named REVERT. If file loaded was bookmark-default-file, then set bookmarks-already-loaded to t. (bookmark-import-new-list): New func. (bookmark-maybe-rename): New func, helper to above. (bookmark-set-name): Accept bookmark as either string (behaves same as before) or list (treat it as a bookmark record). (bookmark-set, bookmark-maybe-load-default-file) (bookmark-jump-noselect, bookmark-rename) (bookmark-show-annotation): Discard pointless `progn's. (bookmark-bmenu-mark, bookmark-bmenu-unmark) (bookmark-bmenu-backup-unmark, bookmark-bmenu-delete-backwards): Renormalize position after all else is done. (bookmark-edit-annotation-mode, bookmark-bmenu-list) (bookmark-show-annotation, bookmark-show-all-annotations): Use `x' instead of `(not (eq x nil))'. (bookmark-yank-word): Inner save-excursion changed to progn. (bookmark-send-annotation, bookmark-send-edited-annotation) (bookmark-insert): Use buffer-string instead of buffer-substring. (bookmark-make-cell): Make sure annotation and info-node strings contain no text properties. (bookmark-relocate): Remember to rebuild bmenu buffer after a bookmark has been relocated. (bookmark-bmenu-check-position): Return a meaningful value -- callers have apparently been assuming this anyway. (bookmark-build-xemacs-menu): Unused function deleted. (bookmark-version): Removed this variable; the Emacs version suffices.
* Make global bindings only via loaddefs.el.Richard M. Stallman1997-07-101-12/+6
|
* (bookmark, bookmark-use-annotations)Richard M. Stallman1997-04-121-9/+8
| | | | (bookmark-save-flag, bookmark-save-flag): Doc fixes.
* Add defgroup's; use defcustom for user vars.Richard M. Stallman1997-04-121-21/+46
|
* Added mouse-selection feature for bookmark list buffer.Richard M. Stallman1997-03-301-7/+47
| | | | | | | | | | | (bookmark-bmenu-other-window-with-mouse): New function. (bookmark-bmenu-mode-map): Bind mouse-2. (bookmark-bmenu-list, bookmark-insert-location, bookmark-bmenu-hide-filenames): Put text property on bookmarks. (bookmark-bmenu-show-filenames): Remove text property from white spaces generated by `move-to-column'. (bookmark-bmenu-bookmark): Use `buffer-substring-no-properties' instead of `buffer-substring'.
* (bookmark-jump-noselect): Use goto-char instead ofKenichi Handa1997-02-261-2/+2
| | | | | forward-char/backward-char to pay attention to multibyte characters..
* (bookmark-default-file): Use convert-standard-filename.Richard M. Stallman1996-09-011-3/+1
|
* (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.