aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Fogel1996-01-05 21:57:54 +0000
committerKarl Fogel1996-01-05 21:57:54 +0000
commit60d0378e485ded218121a8b8d6ce582e47882fac (patch)
tree4a35d0591e361768b22d08e9776645240468c410
parente934d70045d1b6cf59ca3cc03f1990c7ee6fe47e (diff)
downloademacs-60d0378e485ded218121a8b8d6ce582e47882fac.tar.gz
emacs-60d0378e485ded218121a8b8d6ce582e47882fac.zip
"cyclic.com" addresses changed to "red-bean.com".
<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.
-rw-r--r--lisp/bookmark.el22
1 files changed, 12 insertions, 10 deletions
diff --git a/lisp/bookmark.el b/lisp/bookmark.el
index 551454e1e41..7afecd3d20d 100644
--- a/lisp/bookmark.el
+++ b/lisp/bookmark.el
@@ -2,8 +2,8 @@
2 2
3;; Copyright (C) 1993, 1994, 1995 Free Software Foundation 3;; Copyright (C) 1993, 1994, 1995 Free Software Foundation
4 4
5;; Author: Karl Fogel <kfogel@cyclic.com> 5;; Author: Karl Fogel <kfogel@red-bean.com>
6;; Maintainer: Karl Fogel <kfogel@cyclic.com> 6;; Maintainer: Karl Fogel <kfogel@red-bean.com>
7;; Created: July, 1993 7;; Created: July, 1993
8;; Author's Update Number: see variable `bookmark-version'. 8;; Author's Update Number: see variable `bookmark-version'.
9;; Keywords: bookmarks, placeholders, annotations 9;; Keywords: bookmarks, placeholders, annotations
@@ -47,7 +47,7 @@
47;; bookmark-bmenu-check-position, and some of the Lucid compatibility 47;; bookmark-bmenu-check-position, and some of the Lucid compatibility
48;; stuff). 48;; stuff).
49 49
50;; Kudos (whatever they are) go to Jim Blandy <jimb@cyclic.com> 50;; Kudos (whatever they are) go to Jim Blandy <jimb@red-bean.com>
51;; for his eminently sensible suggestion to separate bookmark-jump 51;; for his eminently sensible suggestion to separate bookmark-jump
52;; into bookmark-jump and bookmark-jump-noselect, which made many 52;; into bookmark-jump and bookmark-jump-noselect, which made many
53;; other things cleaner as well. 53;; other things cleaner as well.
@@ -83,7 +83,7 @@
83 83
84;;;; Code: 84;;;; Code:
85 85
86(defconst bookmark-version "2.6.19" 86(defconst bookmark-version "2.6.20"
87 "Version number of bookmark.el. This is not related to the version 87 "Version number of bookmark.el. This is not related to the version
88of Emacs bookmark comes with; it is used solely by bookmark's 88of Emacs bookmark comes with; it is used solely by bookmark's
89maintainers to avoid version confusion.") 89maintainers to avoid version confusion.")
@@ -659,7 +659,7 @@ This expects to be called from point-min in a bookmark file."
659 (pp new-list (current-buffer)) 659 (pp new-list (current-buffer))
660 (save-buffer)) 660 (save-buffer))
661 (goto-char (point-min)) 661 (goto-char (point-min))
662 (message "Upgrading bookmark format from 0 to %d... done." 662 (message "Upgrading bookmark format from 0 to %d...done"
663 bookmark-file-format-version) 663 bookmark-file-format-version)
664 ) 664 )
665 665
@@ -1330,7 +1330,7 @@ for a file, defaulting to the file defined by variable
1330 (write-file file) 1330 (write-file file)
1331 (kill-buffer (current-buffer)) 1331 (kill-buffer (current-buffer))
1332 (if (>= baud-rate 9600) 1332 (if (>= baud-rate 9600)
1333 (message (format "Saving bookmarks to file %s... done." file))) 1333 (message (format "Saving bookmarks to file %s...done" file)))
1334 )))) 1334 ))))
1335 1335
1336 1336
@@ -1379,7 +1379,7 @@ explicitly."
1379 (error (format "Invalid bookmark list in %s." file)))) 1379 (error (format "Invalid bookmark list in %s." file))))
1380 (kill-buffer (current-buffer))) 1380 (kill-buffer (current-buffer)))
1381 (if (and (null no-msg) (>= baud-rate 9600)) 1381 (if (and (null no-msg) (>= baud-rate 9600))
1382 (message (format "Loading bookmarks from %s... done" file)))) 1382 (message (format "Loading bookmarks from %s...done" file))))
1383 (error (format "Cannot read bookmark file %s." file)))) 1383 (error (format "Cannot read bookmark file %s." file))))
1384 1384
1385 1385
@@ -1414,7 +1414,6 @@ explicitly."
1414 (define-key bookmark-bmenu-mode-map "k" 'bookmark-bmenu-delete) 1414 (define-key bookmark-bmenu-mode-map "k" 'bookmark-bmenu-delete)
1415 (define-key bookmark-bmenu-mode-map "\C-d" 'bookmark-bmenu-delete-backwards) 1415 (define-key bookmark-bmenu-mode-map "\C-d" 'bookmark-bmenu-delete-backwards)
1416 (define-key bookmark-bmenu-mode-map "x" 'bookmark-bmenu-execute-deletions) 1416 (define-key bookmark-bmenu-mode-map "x" 'bookmark-bmenu-execute-deletions)
1417 (define-key bookmark-bmenu-mode-map "\C-k" 'bookmark-bmenu-delete)
1418 (define-key bookmark-bmenu-mode-map "d" 'bookmark-bmenu-delete) 1417 (define-key bookmark-bmenu-mode-map "d" 'bookmark-bmenu-delete)
1419 (define-key bookmark-bmenu-mode-map " " 'next-line) 1418 (define-key bookmark-bmenu-mode-map " " 'next-line)
1420 (define-key bookmark-bmenu-mode-map "n" 'next-line) 1419 (define-key bookmark-bmenu-mode-map "n" 'next-line)
@@ -1515,7 +1514,7 @@ Bookmark names preceded by a \"*\" have annotations.
1515\\[bookmark-bmenu-rename] -- rename this bookmark \(prompts for new name\). 1514\\[bookmark-bmenu-rename] -- rename this bookmark \(prompts for new name\).
1516\\[bookmark-bmenu-delete] -- mark this bookmark to be deleted, and move down. 1515\\[bookmark-bmenu-delete] -- mark this bookmark to be deleted, and move down.
1517\\[bookmark-bmenu-delete-backwards] -- mark this bookmark to be deleted, and move up. 1516\\[bookmark-bmenu-delete-backwards] -- mark this bookmark to be deleted, and move up.
1518\\[bookmark-bmenu-execute-deletions] -- delete marked bookmarks. 1517\\[bookmark-bmenu-execute-deletions] -- delete bookmarks marked with `\\[bookmark-bmenu-delete]'.
1519\\[bookmark-bmenu-save] -- save the current bookmark list in the default file. 1518\\[bookmark-bmenu-save] -- save the current bookmark list in the default file.
1520 With a prefix arg, prompts for a file to save in. 1519 With a prefix arg, prompts for a file to save in.
1521\\[bookmark-bmenu-load] -- load in a file of bookmarks (prompts for file.) 1520\\[bookmark-bmenu-load] -- load in a file of bookmarks (prompts for file.)
@@ -1891,6 +1890,7 @@ and then move up one line"
1891(defun bookmark-bmenu-execute-deletions () 1890(defun bookmark-bmenu-execute-deletions ()
1892 "Delete bookmarks marked with \\<Buffer-menu-mode-map>\\[Buffer-menu-delete] commands." 1891 "Delete bookmarks marked with \\<Buffer-menu-mode-map>\\[Buffer-menu-delete] commands."
1893 (interactive) 1892 (interactive)
1893 (message "Deleting bookmarks...")
1894 (let ((hide-em bookmark-bmenu-toggle-filenames) 1894 (let ((hide-em bookmark-bmenu-toggle-filenames)
1895 (o-point (point)) 1895 (o-point (point))
1896 (o-str (save-excursion 1896 (o-str (save-excursion
@@ -1922,7 +1922,9 @@ and then move up one line"
1922 (setq bookmark-alist-modification-count 1922 (setq bookmark-alist-modification-count
1923 (1+ bookmark-alist-modification-count)) 1923 (1+ bookmark-alist-modification-count))
1924 (if (bookmark-time-to-save-p) 1924 (if (bookmark-time-to-save-p)
1925 (bookmark-save)))) 1925 (bookmark-save))
1926 (message "Deleting bookmarks...done")
1927 ))
1926 1928
1927 1929
1928(defun bookmark-bmenu-rename () 1930(defun bookmark-bmenu-rename ()