New org capture template
[emacs.git] / .emacs.d / elisp / icicle / bookmark+-chg.el
1 ;;; bookmark+-chg.el - Change logs for Bookmark+ libraries.
2 ;;
3 ;; Filename: bookmark+-chg.el
4 ;; Description: Change logs for Bookmark+ libraries.
5 ;; Author: Drew Adams
6 ;; Maintainer: Drew Adams (concat "drew.adams" "@" "oracle" ".com")
7 ;; Copyright (C) 2000-2012, Drew Adams, all rights reserved.
8 ;; Created: Fri Sep 15 07:58:41 2000
9 ;; Last-Updated: Wed May 16 08:25:04 2012 (-0700)
10 ;; By: dradams
11 ;; Update #: 14938
12 ;; URL: http://www.emacswiki.org/cgi-bin/wiki/bookmark+-chg.el
13 ;; Keywords: bookmarks, bookmark+
14 ;; Compatibility: GNU Emacs: 20.x, 21.x, 22.x, 23.x
15 ;;
16 ;; Features that might be required by this library:
17 ;;
18 ;; None
19 ;;
20 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
21 ;;
22 ;;; Commentary:
23 ;;
24 ;; Change log for the Bookmark+ libraries, which extend standard
25 ;; library `bookmark.el'. This file contains no code, so you need
26 ;; not load it.
27 ;;
28 ;; The Bookmark+ libraries are these:
29 ;;
30 ;; `bookmark+.el' - main (driver) code library
31 ;; `bookmark+-mac.el' - Lisp macros
32 ;; `bookmark+-lit' - (optional) code for highlighting bookmarks
33 ;; `bookmark+-bmu.el' - code for the `*Bookmark List*' (bmenu)
34 ;; `bookmark+-1.el' - other (non-bmenu) required code
35 ;; `bookmark+-key.el' - key and menu bindings
36 ;;
37 ;; `bookmark+-doc' - documentation (comment-only file)
38 ;; `bookmark+-chg' - change log (this file)
39 ;;
40 ;; The documentation (in `bookmark+-doc.el') includes how to
41 ;; byte-compile and install Bookmark+. The documentation is also
42 ;; available in these ways:
43 ;;
44 ;; 1. From the bookmark list (`C-x r l'):
45 ;; Use `?' to show the current bookmark-list status and general
46 ;; help, then click link `Doc in Commentary' or link `Doc on the
47 ;; Web'.
48 ;;
49 ;; 2. From the Emacs-Wiki Web site:
50 ;; http://www.emacswiki.org/cgi-bin/wiki/BookmarkPlus.
51 ;;
52 ;; 3. From the Bookmark+ group customization buffer:
53 ;; `M-x customize-group bookmark-plus', then click link
54 ;; `Commentary'.
55 ;;
56 ;; (The commentary links in #1 and #3 work only if you put library
57 ;; `bookmark+-doc.el' in your `load-path'.)
58 ;;
59 ;;
60 ;; ****** NOTE ******
61 ;;
62 ;; WHENEVER you update Bookmark+ (i.e., download new versions of
63 ;; Bookmark+ source files), I recommend that you do the
64 ;; following:
65 ;;
66 ;; 1. Delete ALL existing BYTE-COMPILED Bookmark+ files
67 ;; (bookmark+*.elc).
68 ;; 2. Load Bookmark+ (`load-library' or `require').
69 ;; 3. Byte-compile the source files.
70 ;;
71 ;; In particular, ALWAYS LOAD `bookmark+-mac.el' (not
72 ;; `bookmark+-mac.elc') BEFORE YOU BYTE-COMPILE new versions of
73 ;; the files, in case there have been any changes to Lisp macros
74 ;; (in `bookmark+-mac.el').
75 ;;
76 ;; (This is standard procedure for Lisp: code that depends on
77 ;; macros needs to be byte-compiled anew after loading the
78 ;; updated macros.)
79 ;;
80 ;; ******************
81 ;;
82 ;;
83 ;; ****** NOTE ******
84 ;;
85 ;; On 2010-06-18, I changed the prefix used by package Bookmark+
86 ;; from `bookmarkp-' to `bmkp-'. THIS IS AN INCOMPATIBLE CHANGE.
87 ;; I apologize for the inconvenience, but the new prefix is
88 ;; preferable for a number of reasons, including easier
89 ;; distinction from standard `bookmark.el' names.
90 ;;
91 ;; This change means that YOU MUST MANUALLY REPLACE ALL
92 ;; OCCURRENCES of `bookmarkp-' by `bmkp-' in the following
93 ;; places, if you used Bookmark+ prior to this change:
94 ;;
95 ;; 1. In your init file (`~/.emacs') or your `custom-file', if
96 ;; you have one. This is needed if you customized any
97 ;; Bookmark+ features.
98 ;;
99 ;; 2. In your default bookmark file, `bookmark-default-file'
100 ;; (`.emacs.bmk'), and in any other bookmark files you might
101 ;; have.
102 ;;
103 ;; 3. In your `*Bookmark List*' state file,
104 ;; `bmkp-bmenu-state-file' (`~/.emacs-bmk-bmenu-state.el').
105 ;;
106 ;; 4. In your `*Bookmark List*' commands file,
107 ;; `bmkp-bmenu-commands-file' (`~/.emacs-bmk-bmenu-commands.el'),
108 ;; if you have one.
109 ;;
110 ;; You can do this editing in a virgin Emacs session (`emacs
111 ;; -Q'), that is, without loading Bookmark+.
112 ;;
113 ;; Alternatively, you can do this editing in an Emacs session
114 ;; where Bookmark+ has been loaded, but in that case you must
115 ;; TURN OFF AUTOMATIC SAVING of both your default bookmark file
116 ;; and your `*Bookmark List*' state file. Otherwise, when you
117 ;; quit Emacs your manually edits will be overwritten.
118 ;;
119 ;; To turn off this automatic saving, you can use `M-~' and `M-l'
120 ;; in buffer `*Bookmark List*' (commands
121 ;; `bmkp-toggle-saving-bookmark-file' and
122 ;; `bmkp-toggle-saving-menu-list-state' - they are also in the
123 ;; `Bookmark+' menu).
124 ;;
125 ;;
126 ;; Again, sorry for this inconvenience.
127 ;;
128 ;; ******************
129
130 ;;(@> "Index")
131 ;;
132 ;; If you have library `linkd.el' and Emacs 22 or later, load
133 ;; `linkd.el' and turn on `linkd-mode' now. It lets you easily
134 ;; navigate around the sections of this doc. Linkd mode will
135 ;; highlight this Index, as well as the cross-references and section
136 ;; headings throughout this file. You can get `linkd.el' here:
137 ;; http://dto.freeshell.org/notebook/Linkd.html.
138 ;;
139 ;; (@> "CHANGE LOG FOR `bookmark+-1.el'")
140 ;; (@> "CHANGE LOG FOR `bookmark+-bmu.el'")
141 ;; (@> "CHANGE LOG FOR `bookmark+-key.el'")
142 ;; (@> "CHANGE LOG FOR `bookmark+-lit.el'")
143 ;; (@> "CHANGE LOG FOR `bookmark+-mac.el'")
144 ;; (@> "CHANGE LOG FOR `bookmark+.el'")
145
146 ;;;(@* "CHANGE LOG FOR `bookmark+-1.el'")
147 ;;
148 ;; 2012/05/16 dadams
149 ;; Added: bmkp-string-less-case-fold-p.
150 ;; bmkp-list-all-tags: List tags alphabetically. Thx to Anders Johansson for the suggestion.
151 ;; 2012/05/05 dadams
152 ;; bookmark-store, bmkp-make-function-bookmark, bmkp-unomit-all, bmkp-url-target-set:
153 ;; Added optional arg NO-MSG-P.
154 ;; bookmark-store, bookmark-set, bmkp-record-visit, bmkp-make-function-bookmark,
155 ;; bmkp-current-bookmark-list-state, bmkp-unomit-all, bmkp-url-target-set, bmkp-file-target-set,
156 ;; bmkp-replace-existing-bookmark:
157 ;; Pass NO-MSG-P to *-refresh/rebuild-menu-list, *-surreptitiously-rebuild-list, *-store.
158 ;; 2012/05/04 dadams
159 ;; bmkp-remove-tags, bmkp-all-tags(-regexp)-alist-only
160 ;; bmkp(-(auto)file(-this-dir))(-(all|some)-tags)(-regexp)-alist-only,
161 ;; bmkp-specific-(buffers|files)-alist-only, bmkp-sort-omit, bmkp-url-target-set,
162 ;; bmkp-autofile-remove-tags. bmkp-default-handler-for-file, bmkp-set-bookmark-file-bookmark,
163 ;; bmkp-set-desktop-bookmark, bmkp-set-variable-list-bookmark,
164 ;; bmkp-create-variable-list-bookmark, bmkp-jump-dired,
165 ;; bmkp-find-file-(all|some)-tags(-regexp)(-other-window):
166 ;; Use lexical-let(*), to get closures for free vars in lambdas.
167 ;; bmkp-regexp-filtered-(file-name|tags)-alist-only: Moved let inside lambda.
168 ;; bmkp-make-dired-record: Use car instead of (lambda (x) (car x)).
169 ;; 2012/05/01 dadams
170 ;; Added: bmkp-tagged-bookmark-p (alias), bmkp-tagged-cp.
171 ;; bmkp-(add|remove)-tags: Return negative nb-* if changed from (un)tagged to not (un)tagged.
172 ;; bmkp-paste-replace-tags: Do not call bmkp-remove-all-tags unless there are tags to remove.
173 ;; 2012/04/27 dadams
174 ;; bmkp-edit-(tags|bookmark-record): Use bmkp-with-output-to-plain-temp-buffer.
175 ;; 2012/04/18 dadams
176 ;; Do not try to define bmkp-global-auto-idle-bookmark-mode for Emacs 21 (no define-globalized*).
177 ;; 2012/04/16 dadams
178 ;; bmkp-bookmark-description: List tags as strings on separate lines.
179 ;; Add newline after annotation.
180 ;; 2012/04/13 dadams
181 ;; Added: bmkp-(flagged|modified)-bookmark-p, bmkp-(flagged|modified)-cp.
182 ;; bookmark-store, bookmark-set-name, bookmark-prop-set, bmkp-edit-bookmark-record(s)-send,
183 ;; bmkp-replace-existing-bookmark, bmkp-delete-bookmarks:
184 ;; Use (equivalent of) eq version of add-to-list.
185 ;; 2012/04/10 dadams
186 ;; Added: bmkp-count-multi-mods-as-one-flag.
187 ;; bmkp-edit-bookmark-records-send, bmkp-set-tag-value-for-bookmarks, bmkp-remove-tags-from-all,
188 ;; bmkp-rename-tag, bmkp-purge-notags-autofiles,
189 ;; bmkp-delete(-all)-autonamed(-for)(-this-buffer)(-no-confirm), bmkp-delete-bookmarks,
190 ;; bmkp-delete(-all)-temporary(-bookmarks|-no-confirm):
191 ;; Corrected bookmark-save to bookmark-save-flag in bindings to nil.
192 ;; Use bmkp-count-multi-mods-as-one-flag for the binding.
193 ;; 2012/04/09 dadams
194 ;; bookmark-relocate, bmkp-edit-bookmark-records-send, bmkp-set-tag-value, bmkp-file-target-set,
195 ;; bmkp-autofile-set:
196 ;; Added optional arg NO-UPDATE-P. Use it to inhibit display refreshing.
197 ;; bmkp-edit-bookmark-records-send, bmkp-set-tag-value-for-bookmarks, bmkp-remove-tags-from-all,
198 ;; bmkp-rename-tag, bmkp-purge-notags-autofiles, delete-all-autonamed-for-this-buffer
199 ;; bmkp-delete(-all)-temporary-(bookmarks|no-confirm), bmkp-delete-bookmarks,
200 ;; bmkp-delete-autonamed(-this-buffer)(-no-confirm):
201 ;; Bind bookmark-save to nil around iteration, to inhibit saving until finished.
202 ;; bmkp-(add|remove)(-all)-tags, bmkp-paste-(add|replace)-tags, bmkp-autofile-(add|remove)-tags:
203 ;; Swapped order of args MSGP and NO-UPDATE-P (put MSGP last).
204 ;; bmkp-(add|remove)(-all)-tags, bmkp-autofile-(add|remove)-tags:
205 ;; Use NO-UPDATE-P also to inhibit display refreshing.
206 ;; bmkp-remove-tags-from-all: Pass non-nil NO-UPDATE-P arg to bmkp-remove-tags.
207 ;; 2012/04/07 dadams
208 ;; Added: bmkp-new-bookmark-default-names (option & function).
209 ;; Redefine bookmark-make-record (for all Emacs versions) to use bmkp-new-bookmark-default-names.
210 ;; bookmark-set: Use bmkp-new-bookmark-default-names (multiple defaults).
211 ;; Moved the region-text default value stuff to fn bmkp-new-bookmark-default-names.
212 ;; bmkp-completing-read-1: Handle a cons DEFAULT.
213 ;; Added soft require of thingatpt+.el.
214 ;; 2012/04/06 dadams
215 ;; Added: bmkp-auto-idle-bookmark-min-distance, bmkp-not-near-other-auto-idle-bmks,
216 ;; bmkp-auto-idle-bookmarks.
217 ;; bmkp-autotemp-bookmark-predicates:
218 ;; Changed default value to include bmkp-autonamed-bookmark(-this-buffer)-p.
219 ;; bookmark-store: Add the bookmark to bmkp-auto-idle-bookmarks (if appropriate).
220 ;; bookmark-delete: Remove the bookmark from bmkp-auto-idle-bookmarks.
221 ;; bmkp-auto-idle-bookmark-mode:
222 ;; Bind bmkp-setting-auto-idle-bmk-p. Do nothing if bmkp-not-near-other-auto-idle-bmks says so.
223 ;; 2012/04/05 dadams
224 ;; Added (Emacs 21+): bmkp-global-auto-idle-bookmark-mode, bmkp-turn-on-auto-idle-bookmark-mode.
225 ;; bmkp-auto-idle-bookmark-mode (Emacs 21+):
226 ;; Made it local:
227 ;; Removed keyword :global, added keyword :require.
228 ;; Timer function does nothing if the mode is not enabled (i.e., for the current buffer).
229 ;; bmkp-auto-idle-bookmark-mode (Emacs 20):
230 ;; Changed interactive spec to handle toggle symbol.
231 ;; Timer function does nothing if the mode is not enabled (for the current buffer, if local).
232 ;; Change message to mention buffer when the mode is local.
233 ;; Removed: bmkp-auto-idle-bookmark-mode-hook.
234 ;; Added autoload cookie for Emacs 20 defcustom for bmkp-auto-idle-bookmark-mode.
235 ;; bmkp-auto-idle-bookmark-mode-timer: Use nil as default value.
236 ;; bmkp-auto-idle-bookmark-mode: If timer is non-nil, set it to nil (and cancel it).
237 ;; 2012/04/04 dadams
238 ;; Added: bmkp-auto-idle-bookmark-mode(-delay|-hook|-lighter|-set-function),
239 ;; bmkp-temporary-bookmarking-mode-lighter, bmkp-auto-idle-bookmark-mode-timer.
240 ;; bmkp-temporary-bookmarking-mode: Added lighter.
241 ;; bookmark-set: Pass INTERACTIVEP arg, not constant MSGP, to bmkp-light-(bookmarks|this-buffer).
242 ;; 2012/04/03 dadams
243 ;; Moved to bookmark+-bmu.el: bmkp-face-prop.
244 ;; 2012/04/02 dadams
245 ;; bmkp-toggle-autonamed-bookmark-set/delete, bmkp-set-autonamed-bookmark(-at-line),
246 ;; bmkp-delete-bookmarks:
247 ;; Made POSITION, NUMBER, ALLP optional.
248 ;; 2012/03/18 dadams
249 ;; Added: bmkp-modified-bookmarks, redefinition of bookmark-set-name.
250 ;; bookmark-store, bookmark-set-name, bookmark-prop-set, bmkp-replace-existing-bookmark:
251 ;; Add the bookmark to bmkp-modified-bookmarks.
252 ;; bookmark-rename: Call bmkp-rename-for-marked-and-omitted-lists _after_ set new name w/ prop.
253 ;; bookmark-save: Reset bmkp-modified-bookmarks. Call bmkp-refresh/rebuild-menu-list.
254 ;; bmkp-rename-for-marked-and-omitted-lists: Fixed typo: marked -> omitted.
255 ;; bmkp-edit-bookmark-name-and-file:
256 ;; Save each of bmk name and file name only if changed (bug fix). Provide default file name.
257 ;; If no automatic save, and modifications, ask user whether to save.
258 ;; bmkp-edit-bookmark-records-send:
259 ;; Add updated bookmarks to bmkp-modified-bookmarks.
260 ;; Merge sanity-check dolist with main dolist.
261 ;; Set bmkp-bmenu-marked-bookmarks to names in bmkp-modified-bookmarks, not in edited-bookmarks.
262 ;; bmkp-edit-bookmark-record: Use (shallow) copy of bmkp-edit-bookmark-orig-record, not original.
263 ;; bmkp-edit-bookmark-record-send: Add updated bookmark to bmkp-modified-bookmarks.
264 ;; bmkp-record-visit: Let-bind bmkp-modified-bookmarks to itself, so will be restored.
265 ;; bmkp-refresh-menu-list: Pass no FILTEREDP if no current filter (start anew).
266 ;; bmkp-bookmark-name-member: If a name in NAMES is unpropertized, don't try to match property.
267 ;; bmkp-replace-existing-bookmark: For propertize bookmark-current-bookmark with bmkp-full-record.
268 ;; 2012/03/13 dadams
269 ;; bmkp-incremental-filter-delay:
270 ;; Use bookmark-search-delay as default value, if available. Else use 0.2 (not 0.6).
271 ;; 2012/03/11 dadams
272 ;; bmkp-revert-bookmark-file: Added p to interactive spec (forgot).
273 ;; 2012/03/06 dadams
274 ;; Added: bmkp-revert-bookmark-file.
275 ;; bookmark-load: If bookmark-file buffer already existed, do not kill it after loading.
276 ;; 2012/03/04 dadams
277 ;; Added: bmkp-refresh/rebuild-menu-list.
278 ;; bookmark-store, bookmark-send-edited-annotation, bookmark-delete,
279 ;; bmkp-edit-bookmark-record(s)-send, bmkp-edit-tags-send, bmkp-update-autonamed-bookmark,
280 ;; bmkp-remove(-all)-tags, bmkp-add-tags, bmkp-file-target-set, bmkp-refresh/rebuild-menu-list:
281 ;; Use bmkp-refresh/rebuild-menu-list.
282 ;; bookmark-load:
283 ;; Use bmkp-refresh/rebuild-menu-list only if interactive. Do not call *-surreptitiously-*.
284 ;; bmkp-edit-bookmark-record(s)-send: Added optional arg MSGP. Raise read error if batch.
285 ;; bmkp-record-visit:
286 ;; Added optional arg BATCHP. Do not bookmark-bmenu-surreptitiously-rebuild-list if BATCHP.
287 ;; bmkp-edit-tags-send: Added optional arg BATCHP, and pass it to bmkp-record-visit.
288 ;; bmkp-refresh-menu-list: Use bmkp-bookmark-name-from-record only when BOOKMARK is non-nil.
289 ;; bmkp-paste-replace-tags, bmkp-(compilation|occur)-target-set-all:
290 ;; Raise error with OK message if user cancels.
291 ;; bmkp-purge-notags-autofiles, bmkp-delete-all-temporary-bookmarks: Added optional arg MSGP.
292 ;; bmkp-purge-notags-autofiles, bmkp-delete-all-temporary-bookmarks,
293 ;; bmkp-delete-temporary-no-confirm:
294 ;; Call bmkp-refresh/rebuild-menu-list after the dolist. Inhibit refresh for bookmark-delete.
295 ;; bmkp-jump-bookmark-file: Removed reference to current-prefix-arg: prompt only if SWITCHP.
296 ;; bmkp-delete-all-autonamed-for-this-buffer:
297 ;; Added optional arg MSGP. Prompt for confirmation only if MSGP.
298 ;; bmkp-delete-autonamed-this-buffer-no-confirm:
299 ;; Added optional arg NO-REFRESH-P. Inhibit refresh for bookmark-delete.
300 ;; Unless NO-REFRESH-P, call bmkp-refresh/rebuild-menu-list after the dolist.
301 ;; bmkp-delete-autonamed-no-confirm:
302 ;; Call bmkp-delete-autonamed-this-buffer-no-confirm with NO-REFRESH-P.
303 ;; Call bmkp-refresh/rebuild-menu-list after the dolist.
304 ;; bmkp-delete-bookmarks:
305 ;; Added optional arg MSGP. Prompt for confirmation only if MSGP.
306 ;; Raise error with OK message if user cancels.
307 ;; Call bmkp-refresh/rebuild-menu-list after the dolist. Inhibit refresh for bookmark-delete.
308 ;; Use bmkp-this-buffer-alist-only, not bookmark-alist, for selecting bookmarks.
309 ;; Use `...', etc. when echoing deleted bookmarks.
310 ;; 2012/03/02 dadams
311 ;; bookmark-load:
312 ;; Changed last arg from NO-MSG-P to BATCHP. If non-nil, act with no prompt, saving or not.
313 ;; If nil, prompt user whether to save before loading. If user quits with C-g, do not load.
314 ;; bookmark-maybe-load-default-file: Pass symbol nosave, not t, as last arg to bookmark-load.
315 ;; bmkp-switch-bookmark-file-create: Last arg is now the complement: BATCHP, not INTERACTIVEP.
316 ;; bmkp-temporary-bookmarking-mode: Pass nosave as last arg to bookmark-load, since do save here.
317 ;; bmkp-default-handlers-for-file-types: Added eval-when-compile to require cl.el for Emacs 20.
318 ;; bmkp-maybe-save-bookmarks: Added optional arg SAME-COUNT-P.
319 ;; bmkp-record-visit: Pass non-nil arg to bmkp-maybe-save-bookmarks to prevent changing mod count.
320 ;; bookmark-store: Call bmkp-refresh-menu-list if Bookmark List is displayed.
321 ;; bmkp-toggle-saving-bookmark-file: Added optional arg MSGP - show message only if non-nil.
322 ;; bmkp-find-file(-other-window): Added missing FIL arg for error format string.
323 ;; bmkp-temporary-bookmarking-mode: Pass a MSGP arg to bmkp-toggle-saving-bookmark-file.
324 ;; 2012/02/29 dadams
325 ;; bmkp-completing-read-lax: Bind & restore C-M-w, C-M-u, SPC, and ? (so can insert SPC, ? etc.).
326 ;; 2012/02/28 dadams
327 ;; bmkp-file-target-set: Call bmkp-refresh-menu-list if Bookmark List is displayed.
328 ;; Renamed option bmkp-default-handler-associations to bmkp-default-handlers-for-file-types.
329 ;; bmkp-default-handler-associations is NOW OBSOLETE - RENAME IT IF YOU HAVE CUSTOMIZED IT.
330 ;; bmkp-same-file-p: Take advantage of Emacs 24 function, file-equal-p. Thx to Michael Albinus.
331 ;; bmkp-find-file(-other-window):
332 ;; Added optional args CREATE-AUTOFILE-P & MSGP (new arg order). Prefix arg creates bookmark.
333 ;; Use bmkp-default-handlers-for-file-types even for files not bookmarked.
334 ;; 2012/02/26 dadams
335 ;; Added: bmkp-(autofile|autonamed)-history, bmkp-autofile-(all|some)-tags(-regexp)-alist-only,
336 ;; bmkp-autofile(-(all|some)-tags(-regexp))-jump(-other-window).
337 ;; bmkp-types-alist: Added entries for (autofile|autonamed).
338 ;; Everywhere that read-file-name is used:
339 ;; Bind icicle-unpropertize-completion-result-flag to t, for read-file-name.
340 ;; No longer alias bmkp-autofile*-jump to bmkp-find-file. The *-autofile-*jump commands use
341 ;; bmkp-read-bookmark-for-type and bmkp-jump-1, not read-file-name and find-file.
342 ;; bmkp-find-file(-other-window):
343 ;; Added optional args FILE MUST-EXIST-P.
344 ;; Use read-file-name and either bookmark-jump or find-file, not just find-file (and no PRED).
345 ;; bmkp-find-file-*-tags(-regexp)(-other-window):
346 ;; Added optional FILE arg.
347 ;; Use bookmark-jump, not find-file - so only autofiles with the tags are candidates.
348 ;; Bind icicle-must-pass-after-match-predicate. Use PRED for read-file-name only if no Icicles.
349 ;; The new bmkp-find-file* commands are bound to ... C-f, not ... a.
350 ;; bmkp-default-handler-associations: Correct docstring: double backslashes.
351 ;; 2012/02/21 dadams
352 ;; bmkp-jump-to-type(-other-window): Corrected ALIST: If no HISTORY do not call *-alist-only.
353 ;; 2012/02/20 dadams
354 ;; bookmark-handle-bookmark: Handle, in priority, new property file-handler.
355 ;; bookmark-default-handler: Handle new property file-handler.
356 ;; bmkp-make-record-for-target-file:
357 ;; Use new property file-handler, not handler, for default handler.
358 ;; Use file-handler with play-sound-file, not handler with bmkp-sound-jump (deprecated).
359 ;; bmkp-default-handler-for-file: Return function bmkp-user, not a lambda that applies it to file.
360 ;; bmkp-handler-pred:
361 ;; Return t if TYPE is handler or file-handler. Do not match a lambda that applies the handler.
362 ;; bmkp-default-handler-associations, bookmark-alist, bmkp-jump-to-type:
363 ;; Updated doc string to reflect new implementation of file handlers using prop file-handler.
364 ;; 2012/02/19 dadams
365 ;; Added: bmkp-handler-pred, bmkp-temporary-history, bmkp-w32-browser-jump.
366 ;; bmkp-types-alist: Added bmkp-temporary-history.
367 ;; bmkp-read-bookmark-for-type: Prepend a space before "bookmark" in prompt.
368 ;; bmkp-jump-to-type:
369 ;; Use lax completion.
370 ;; When call bmkp-read-bookmark-for-type:
371 ;; Do not append a space to TYPE name passed.
372 ;; Pass a predicate arg returned by bmkp-handler-pred when TYPE is not a known type.
373 ;; bmkp-*-jump(-other-window): Remove space after TYPE name passed to bmkp-read-bookmark-for-type.
374 ;; bmkp-(specific-(buffers|files)|temporary)-jump(-other-window):
375 ;; Pass specific HIST arg to bmkp-read-bookmark-for-type.
376 ;; 2012/02/16 dadams
377 ;; Updated for Emacs 24+:
378 ;; bookmark-set: Do not set bookmark-(yank-point|current-buffer) if set.
379 ;; bmkp-make-gnus-record: Be able to bookmark from article buffer, as well as summary buffer.
380 ;; bmkp-jump-gnus: Go to article buffer if location field says to.
381 ;; Use bmkp-make-gnus-record (not gnus-summary-bookmark-make-record) for Emacs 24+ also.
382 ;; 2012/02/14 dadams
383 ;; bmkp-set-desktop-bookmark: Provide default for read-file-name. Thx to Markus Grunwald.
384 ;; Provide all bookmarked desktop files as Icicles proxy candidates.
385 ;; 2012/02/08 dadams
386 ;; bmkp-autofile-set: Use MSGP also for the case where the bookmark already exists.
387 ;; bmkp-remove-dups: Redefined to use a hash table.
388 ;; 2012/02/07 dadams
389 ;; bmkp-same-file-p: Test compare-strings result using t, not non-nil. Thx to Michael Heerdegen.
390 ;; 2012/02/04 dadams
391 ;; Added: bmkp-tags-for-completion, bmkp-tags-in-bookmark-file.
392 ;; Use bmkp-tags-for-completion for tags completing everywhere - updated doc strings.
393 ;; bmkp-list-all-tags: Added args current-only-p and (optional) msgp.
394 ;; Different prefix arg values for different behaviors.
395 ;; bmkp-tags-list: Added optional arg current-only-p. Use bmkp-tags-for-completion by default.
396 ;; 2012/01/20 dadams
397 ;; bmkp(-autofile)-(add|remove)-tags(-from-all), bmkp-find-file-(all|some)-tags(-other-window),
398 ;; bmkp(-file(-this-dir))-(all|some)-tags-jump(-other-window):
399 ;; Let user use a prefix arg to refresh tags list. Add this info to doc string.
400 ;; 2012/01/14 dadams
401 ;; Corrected bmkp-same-file-p: call to compare-strings.
402 ;; 2012/01/13 dadams
403 ;; bmkp-same-file-p: Handle case-sensitivity for local files, at least (not yet done for remote).
404 ;; 2012/01/08 dadams
405 ;; Added: bmkp-autonamed-this-buffer-bookmark-p.
406 ;; bmkp-autotemp-bookmark-predicates: Updated doc string for *-autonamed-this-buffer-bookmark-p.
407 ;; bmkp-autonamed-bookmark-for-buffer-p: Updated doc string to mention it just checks the name.
408 ;; bmkp-autonamed-this-buffer-alist-only:
409 ;; Use bmkp-this-buffer-p, not bmkp-autonamed-bookmark-for-buffer-p.
410 ;; 2011/12/30 dadams
411 ;; Renamed bmkp-edit-bookmark to bmkp-edit-bookmark-name-and-file.
412 ;; Added aliases: bmkp-bookmark-(data|name)-from-record.
413 ;; Added: bmkp-get-bookmark-in-alist, bmkp-bookmark-record-from-name,
414 ;; bmkp-edit-bookmark-records-(number|send|mode(-map)),
415 ;; bookmark-alist-from-buffer (redefinition), bmkp-edit-bookmark-orig-record,
416 ;; bmkp-rename-for-marked-and-omitted-lists.
417 ;; Use new names (aliases) bmkp-bookmark-(data|name)-from-record.
418 ;; bookmark-get-bookmark-record: Use redefinition for all Emacs versions (updated doc string).
419 ;; bookmark-get-bookmark: Use bmkp-bookmark-record-from-name, with no MEMP check.
420 ;; bookmark-store: Use bmkp-get-bookmark-in-alist to test whether bookmark exists.
421 ;; Set the bookmark name also, not just the data, for an existing bookmark.
422 ;; Unconditionally always put full bookmark on name as property bmkp-full-record.
423 ;; bookmark-send-edited-annotation, bookmark-rename:
424 ;; Do bookmark-bmenu-surreptitiously-rebuild-list only if no bmenu display window.
425 ;; bookmark-rename:
426 ;; Return OLD if if BATCHP is non-nil and NEW is nil. Do not prompt for name if BATCHP.
427 ;; Use bmkp-rename-for-marked-and-omitted-lists (rename in those lists too).
428 ;; Unconditionally always put full bookmark on name as property bmkp-full-record.
429 ;; Use bmkp-bookmark-record-from-name, not bookmark-get-bookmark, to get full record.
430 ;; bookmark-delete, bmkp-edit-bookmark-name-and-file, bmkp-edit-bookmark-record,
431 ;; bmkp-edit-tags(-send), bmkp-toggle-autonamed-bookmark-set/delete:
432 ;; Use bmkp-get-bookmark-in-alist, not bookmark-get-bookmark.
433 ;; bookmark-load: Call bmkp-refresh-menu-list only if display is visible, and with NO-MSG-P arg.
434 ;; bookmark-show-annotation: Do not raise error if not a valid bookmark.
435 ;; bmkp-edit-bookmark-record: Record bmkp-edit-bookmark-orig-record. Strip properties from name.
436 ;; Updated edit-buffer text.
437 ;; bmkp-edit-bookmark-record-send: Rewrote similarly to bmkp-edit-bookmark-records-send. No args.
438 ;; bmkp-default-bookmark-name:
439 ;; Use bmkp-bookmark-record-from-name, not bookmark-get-bookmark, requiring membership in ALIST.
440 ;; bmkp-save-menu-list-state, bmkp-get-tag-value: Added optional arg MSGP, and status messages.
441 ;; bmkp-make-function-bookmark: Use bmkp-bookmark-record-from-name, not bookmark-get-bookmark.
442 ;; bmkp-autonamed-bookmark(-for-buffer)-p:
443 ;; Use bmkp-bookmark-name-from-record, not bookmark-get-bookmark and bookmark-name-from-*.
444 ;; bmkp-get-tag-value, bmkp-has-tag-p: Removed unused arg MSGP.
445 ;; bmkp-delete-bookmark-name-from-list:
446 ;; For unpropertized DELNAME, Set BNAMES to result of delete call.
447 ;; For propertized DELNAME, delete also unpropertized matches.
448 ;; bmkp-(compilation|occur)-target-set-all: Do not prompt or show message unless MSGP.
449 ;; bmkp-describe-bookmark-internals: Use a copy of the bookmark. Strip properties from name.
450 ;; bmkp-set-autonamed-regexp-buffer: Pass MSGP, do not hardcode.n
451 ;; Doc string improvements.
452 ;; 2011/12/24 dadams
453 ;; bmkp-refresh-menu-list: Added progress message.
454 ;; bmkp-jump-bookmark-file: Pass NO-MSG-P arg to bookmark-load.
455 ;; 2011/12/21 dadams
456 ;; Added: bmkp-orphaned(-local|-remote)-file-(alist-only|bookmark-p),
457 ;; bmkp-dired-wildcards-bookmark-p.
458 ;; bookmark-load:
459 ;; Call (bmkp-refresh-menu-list (bookmark-bmenu-bookmark)), not (bmkp-bmenu-refresh-menu-list).
460 ;; 2011/12/19 dadams
461 ;; bookmark-set, bmkp-handle-region-default: Use line-end-position, not end-of-line + point.
462 ;; 2011/12/17 dadams
463 ;; bmkp-remote-file-p:
464 ;; If file-remote-p not available, match /...: (same as ffap-ftp-regexp). Return match.
465 ;; bmkp-same-file-p: Redefined to use new bmkp-remote-file-p. Thx to M. Heerdegen & M. Albinus.
466 ;; 2011/12/15 dadams
467 ;; bmkp-dired-this-dir-bookmark-p: Use file-name-directory, in case filename has wildcards.
468 ;; 2011/12/13 dadams
469 ;; bmkp-handle-region-default: Limit buffer-substring-no-properties positions to point-min/max.
470 ;; 2011/12/06 dadams
471 ;; bmkp-last-as-first-bookmark-file:
472 ;; Removed autoload cookie to avoid void-variable error for bookmark-default-file.
473 ;; bmkp-edit-bookmark, bookmark-rename: Use bmkp-completing-read-lax, not read-from-minibuffer.
474 ;; 2011/12/05 dadams
475 ;; bmkp-this-buffer-p:
476 ;; Do not use buffer-file-name (for Dired). Wrap bookmark-buffer-file-name with condition-case.
477 ;; bookmark-save: Swap write order, so last message is about the bookmark file, not customize.
478 ;; 2011/12/03 dadams
479 ;; Renamed: bmkp-use-bookmark-file-create to bmkp-switch-bookmark-file-create.
480 ;; Added: bmkp-last-as-first-bookmark-file, bookmark-maybe-load-default-file (redefinition),
481 ;; bookmarks-already-loaded (redefinition), bmkp-default-bookmark-file.
482 ;; bookmark-save: Update and save bmkp-last-as-first-bookmark-file.
483 ;; bookmark-load: New default for reading file name, and require an existing file (match).
484 ;; Update and save bmkp-last-as-first-bookmark-file. Update bmkp-sorted-alist.
485 ;; bmkp-switch-bookmark-file (no longer used): New default for reading file name.
486 ;; bmkp-switch-bookmark-file-create: Added optional arg INTERACTIVEP. New default for reading
487 ;; file name. Use bookmark-load, not bmkp-switch-bookmark-file. Require confirmation only for
488 ;; new, empty file. Added final message.
489 ;; bmkp-switch-to-last-bookmark-file: Use bmkp-last-as-first-bookmark-file as first fallback.
490 ;; bmkp-set-bookmark-file-bookmark: Use bmkp-read-bookmark-file-name, not read-file-name.
491 ;; New default for reading file name.
492 ;; bmkp-temporary-bookmarking-mode: Use bookmark-load, not bmkp-switch-bookmark-file.
493 ;; Removed: bookmark-maybe-message. Use only message now, not bookmark-maybe-message.
494 ;; bmkp-autofile-set: For Emacs 23.3+, provide multiple defaults for file name.
495 ;; 2011/11/30 dadams
496 ;; bmkp-same-file-p: Avoid having Tramp prompt for passwords, when possible. Thx to M. Heerdegen.
497 ;; bmkp-toggle-autotemp-on-set: Removed ARG (copy/paste typos).
498 ;; 2011/11/28 dadams
499 ;; bmkp-set-bookmark-file-bookmark: Prompt user for bookmark name here, to make clear what it is.
500 ;; 2011/11/27 dadams
501 ;; bookmark-write-file: If write error, do not overwrite message. And show error msg for 4 sec.
502 ;; 2011/11/18 dadams
503 ;; Renamed: bmkp-bookmark-image-bookmark-p to bmkp-image-bookmark-p.
504 ;; Added: bmkp-image-alist-only, bmkp-image-jump(-other-window), bmkp-image-history.
505 ;; bookmark-handle-bookmark: If bmk has handler but it's not a function, use default handler.
506 ;; bmkp-autotemp-bookmark-predicates: Update doc string to include bmkp-image-bookmark-p.
507 ;; bmkp-types-alist: Added entry for images.
508 ;; 2011/11/15 dadams
509 ;; bookmark-relocate: Redefine without using old-*. Update Dired location too.
510 ;; Added: bmkp-cycle-this-file(/buffer)(-other-window),
511 ;; bmkp-(next|previous)-bookmark-this-file(/buffer)(-repeat),
512 ;; bmkp-this-file(/buffer)-bmenu-list, bmkp-this-file/buffer-alist-only.
513 ;; Renamed bmkp-this-buffer-cycle-sort-comparer to bmkp-this-file/buffer-cycle-sort-comparer.
514 ;; bmkp-this-buffer-p: Return nil if bookmark has a file diff from buffer.
515 ;; bmkp-this-file-p:
516 ;; Ensure bmkp-file-bookmark-p and bookmark-buffer-file-name. Use bmkp-same-file-p.
517 ;; 2011/11/09 dadams
518 ;; bmkp-jump-dired, bmkp-jump-man: Added bmkp-select-buffer-other-window to other-window fns.
519 ;; 2011/11/08 dadams
520 ;; bmkp-edit-bookmark: For new file name, use read-file-name, not read-from-minibuffer.
521 ;; 2011/11/03 dadams
522 ;; Renamed: bmkp-autoname-bookmark to bmkp-autoname-bookmark-function-default.
523 ;; 2011/11/01 dadams
524 ;; Added: bmkp-temporary-jump(-other-window).
525 ;; bmkp-bookmark-description: Title now indicates whether temporary.
526 ;; 2011/10/31 dadams
527 ;; Added: bmkp-toggle-autotemp-on-set, bmkp-autotemp-all-when-set-p.
528 ;; bookmark-set: If bmkp-autotemp-all-when-set-p call bmkp-make-bookmark-temporary.
529 ;; 2011/10/28 dadams
530 ;; Added: bmkp-delete-temporary-no-confirm.
531 ;; bmkp-delete-all-temporary-bookmarks: Rewrote (it was just a stub).
532 ;; bmkp-bmenu-menubar-menu:
533 ;; Added: bmkp-temporary-bookmarking-mode, bmkp-delete-all-temporary-bookmarks,
534 ;; bmkp-bmenu-toggle-marked-temporary/savable.
535 ;; bmkp-bmenu-show-menu: Added: bmkp-bmenu-show-only-temporary.
536 ;; bmkp-bmenu-mark-menu:
537 ;; Added: bmkp-bmenu-mark-temporary-bookmarks, bmkp-bmenu-mark-autonamed-bookmarks.
538 ;; bmkp-bmenu-mouse-3-menu: Added: bmkp-bmenu-toggle-temporary.
539 ;; bookmark-bmenu-mode: Updated doc string.
540 ;; 2011/10/27 dadams
541 ;; Added: bmkp-autotemp-bookmark-predicates, bmkp-temporary-bookmarking-mode(-hook),
542 ;; bmkp-delete-all-temporary-bookmarks, bmkp-make-bookmark-(savable|temporary),
543 ;; bmkp-toggle-temporary-bookmark, bmkp-temporary-alist-only, bmkp-temporary-bookmark-p.
544 ;; bookmark-set: Make bookmark temporary, if bmkp-autotemp-bookmark-predicates says to.
545 ;; bookmark-write-file: Do not save temporary bookmarks (bmkp-temporary-bookmark-p).
546 ;; 2011/10/25 dadams
547 ;; bmkp-empty-file: Added optional arg CONFIRMP. By default, no confirmation if not interactive.
548 ;; 2011/08/09 dadams
549 ;; Bind icicle-unpropertize-completion-result-flag to t for all calls to completing-read.
550 ;; 2011/08/07 dadams
551 ;; Added: bmkp-guess-default-handler-for-file-flag, bmkp-file-bookmark-handlers.
552 ;; bmkp-file-bookmark-p: Use bmkp-file-bookmark-handlers, which means also image-bookmark-jump.
553 ;; bmkp-make-record-for-target-file (need to keep in sync with diredp-bookmark):
554 ;; Instead of image-bookmark-make-record, use explicit function that includes file and type.
555 ;; bmkp-default-handler-for-file:
556 ;; Use bmkp-guess-default only if bmkp-guess-default-handler-for-file-flag is non-nil.
557 ;; bmkp-default-handler-associations: Updated doc string.
558 ;; 2011/08/05 dadams
559 ;; bmkp-file-bookmark-p: Allow handler to be bmkp-default-handler-for-file, e.g. for image files.
560 ;; bmkp-all-tags-alist-only: Corrected.
561 ;; bmkp-refresh-menu-list: Ensure BOOKMARK is a string.
562 ;; bmkp-every: Removed unused binding.
563 ;; 2011/05/08 dadams
564 ;; Just put some definitions in alphabetic order - no real change.
565 ;; 2011/04/25 dadams
566 ;; bmkp-bookmark-description: Added optional arg NO-IMAGE.
567 ;; bmkp-url-target-set: Protect url-get-url-at-point with fboundp.
568 ;; bmkp-(file-target|autofile)-set, bmkp-autofile-(add|remove)-tags:
569 ;; Added buffer-file-name as a default possibility. Removed URL functions for that purpose.
570 ;; 2011/04/24 dadams
571 ;; Added: bmkp-purge-notags-autofiles.
572 ;; bookmark-delete: Redefined to accept either bookmark or name as arg.
573 ;; bmkp-(url|file|compilation|occur)-target-set(-all), bmkp-autofile-(set|(add|remove)-tags):
574 ;; Removed optional args when read prefix.
575 ;; bmkp-occur-target-set-all: Made PREFIX arg optional too.
576 ;; Added some missing autoload cookies. Removed some from non-def sexps.
577 ;; 2011/04/21 dadams
578 ;; Added: bmkp-copied-tags, bmkp-copy-tags, bmkp-paste-add-tags, bmkp-paste-replace-tags..
579 ;; 2011/04/20 dadams
580 ;; bmkp-remove-all-tags: Added optional arg no-cache-update-p.
581 ;; 2011/04/19 dadams
582 ;; bmkp-make-record-for-target-file: Fixed backquotes on lambdas.
583 ;; 2011/04/17 dadams
584 ;; bmkp-edit-tags: Do not apply bmkp-full-tag to the tags.
585 ;; 2011/04/16 dadams
586 ;; Added: bmkp-edit-tags(-send|-mode(-map)), bmkp-return-buffer.
587 ;; bookmark-(rename|relocate|send-edited-annotation), bmkp-update-autonamed-bookmark,
588 ;; bmkp-(add|remove(-all)-tags:
589 ;; Wrap with-current-buffer around bmkp-refresh-menu-list.
590 ;; bookmark-(store|rename|write-file): Test emacs-major-version, not just (boundp 'print-circle).
591 ;; bmkp-autofile-add-tags: Fix interactive args - forgot to include DIR arg (= nil).
592 ;; 2011/04/15 dadams
593 ;; Added: bmkp-autofile-alist-only, bmkp-autofile-bookmark-p.
594 ;; 2011/04/13 dadams
595 ;; Added: bmkp-autofile-jump(-other-window) (aliases), bmkp-find-file(-other-window).
596 ;; bmkp-find-file-(all|some)-tags(-regexp)(-other-window): Bind use-file-dialog to nil.
597 ;; 2011/04/12
598 ;; Added: bmkp-bookmark-name-member, bmkp-names-same-bookmark-p, bmkp-sort-omit,
599 ;; bmkp-remove-omitted, bmkp-delete-bookmark-name-from-list, bmkp-bookmark-a-file (alias),
600 ;; bmkp-autofile-(add|remove)-tags, bmkp-(un)tag-a-file (aliases),
601 ;; bmkp-get-autofile-bookmark, bmkp-find-file-(all|some)-tags(-regexp)(-other-window).
602 ;; Removed: bmkp-remove-assoc-dups, bmkp-sort-and-remove-dups.
603 ;; Applied renaming: bmkp-bmenu-omitted-list to bmkp-bmenu-omitted-bookmarks.
604 ;; bookmark-store: Redefine for all Emacs versions now:
605 ;; Put the bookmark on the name as property bmkp-full-record. Use bmkp-maybe-save-bookmarks.
606 ;; Return the bookmark.
607 ;; bookmark-get-bookmark: Redefine for all Emacs versions now:
608 ;; If BOOKMARK is a bookmark-name string that has property bmkp-full-record, return that value.
609 ;; bookmark-send-edited-annotation: Make sure it's the annotation buffer that gets killed.
610 ;; bookmark-default-handler: Return nil, like vanilla (but why?).
611 ;; bookmark-location: Pass full bookmark to the various "get" functions.
612 ;; bookmark-rename: Put bmkp-full-record property on new name.
613 ;; bookmark-delete:
614 ;; Use bmkp-delete-bookmark-name-from-list: If name has bmkp-full-record property, use that
615 ;; with name to find bookmark to delete.
616 ;; Pass full bookmark to unlight.
617 ;; bmkp-edit-bookmark: Save if either is non-empty, not if both are. Thx to Michael Heerdegen.
618 ;; bmkp-edit-bookmark-record: Bind print-circle to t around pp.
619 ;; bmkp-default-bookmark-name:
620 ;; Use bookmark-name-from-full-record plus bookmark-get-bookmark, not assoc.
621 ;; If BNAME is nil (no default) then do not try to look it up in alist.
622 ;; bookmark-write-file: Unpropertize only for Emacs 20 or nil bmkp-propertize-bookmark-names-flag.
623 ;; Bind print-circle to t around pp.
624 ;; bmkp-save-menu-list-state: Make it interactive (a command). Bind print-circle.
625 ;; Use bmkp-maybe-unpropertize-bookmark-names on alists and name lists.
626 ;; Bind print-circle to t around pp.
627 ;; bmkp-unomit-all: Use bmkp-delete-bookmark-name-from-list, not delete.
628 ;; bmkp-dired-this-dir-bookmark-p: Use bmkp-same-file-p, not string=.
629 ;; bmkp-url-target-set, bmkp-replace-existing-bookmark:: Return the bookmark.
630 ;; bmkp-file-target-set: Return bookmark. Added arg MSGP: msg if no file yet.
631 ;; bmkp-autofile-set:
632 ;; Added DIR arg and MSGP arg: msg if no file yet. Return the bookmark.
633 ;; If read absolute file name, create bmk in its dir, not in default-directory. Else use DIR.
634 ;; Use bmkp-get-autofile-bookmark, so uses bmkp-same-file-p for each file part (not equal).
635 ;; bmkp-marked-bookmark-p, bmkp-omitted-bookmark-p: Use bmkp-bookmark-name-member, not member.
636 ;; bookmark-location: Pass full bookmark to the various "get" functions.
637 ;; bmkp-choose-navlist-from-bookmark-list, bmkp-cycle-this-buffer:
638 ;; Use bmkp-sort-omit, not bmkp-sort-and-remove-dups.
639 ;; bmkp-bookmark-description, bmkp-describe-bookmark-internals: Add Bookmark `' to title.
640 ;; bmkp-make-bookmark-list-record: Use bmkp-maybe-unpropertize-bookmark-names on lists.
641 ;; bmkp-printable-p: Bind print-circle to t around prin1.
642 ;; bmkp-delete-autonamed(-this-buffer)-no-confirm:
643 ;; Do nothing if bookmarks not loaded. Thx to Christoph Scholtes.
644 ;; 2011/04/03 dadams
645 ;; Added: bmkp-make-record-for-target-file, bmkp-replace-existing-bookmark (not used).
646 ;; bmkp-file-this-dir-bookmark-p: Corrected it to compare directory to default-directory.
647 ;; bmkp-file-target-set: Added arg NO-OVERWRITE (pass to bookmark-store).
648 ;; Use (new) bmkp-make-record-for-target-file.
649 ;; bmkp-autofile-set: Do nothing if bookmark with same name, file and dir exists.
650 ;; Else create one, even if the bookmark name is the same.
651 ;; You can have multiple autofile bookmarks with the same name (diff files).
652 ;; 2011/04/02 dadams
653 ;; Added: bmkp-autofile-set, bmkp-file-this-dir-(all|some)-tags(-regexp)-jump(-other-window),
654 ;; bmkp-file-this-dir-(all|some)-tags(-regexp)-alist-only.
655 ;; 2011/04/01 dadams
656 ;; Moved key and menu bindings to (new) bookmark+-key.el.
657 ;; Added: bmkp-(dired|file)-this-dir-alist-only, bmkp-(dired|file)-this-dir-bookmark-p,
658 ;; bmkp-file-this-dir-jump(-other-window).
659 ;; Renamed: bmkp-dired-jump-current(*) to bmkp-dired-this-dir-jump(*).
660 ;; bmkp-dired-this-dir-jump(-other-window): Use bmkp-dired-this-dir-alist-only.
661 ;; bmkp-types-alist: Added (dired|file)-this-dir.
662 ;; Bound bmkp-(dired|file)-this-dir-jump to C-d and C-f in bookmark-jump(-other-window)-map.
663 ;; bmkp-jump-dired, bmkp-jump-man: Treat null bmkp-jump-display-function as display-buffer.
664 ;; 2011/03/26 dadams
665 ;; Added: bmkp-file-(all|some)-tags(-regexp)-(alist-only|jump(-other-window)).
666 ;; bmkp-jump-menu: Added the new commands, but not Emacs 20, to avoid crash if byte-compiled.
667 ;; bmkp-bookmark-jump*-other-window: Simplified doc strings - refer to same-window version.
668 ;; 2011/03/17 dadams
669 ;; bmkp-describe-bookmark: Added 10-pixel margin around thumbnail image.
670 ;; 2011/03/11 dadams
671 ;; Protect use of mouse-wheel-*-event with boundp. Thx to Chris Poole.
672 ;; 2011/03/04 dadams
673 ;; bmkp-bookmark-description, bmkp-describe-bookmark: Added clickable thumbnail to the help.
674 ;; bmkp-bookmark-description: Split file name into dir & relname, so shorter line, in help.
675 ;; 2011/03/03 dadams
676 ;; Added: bmkp-all-exif-data, bmkp-bookmark-image-bookmark-p.
677 ;; bmkp-bookmark-description: Handle image EXIF data.
678 ;; 2011/01/03 dadams
679 ;; Removed autoload cookies from non def* sexps and from define-key and define-prefix-command.
680 ;; Added some missing autoload cookies for commands, in particular redefined standard commands.
681 ;; 2010/12/10 dadams
682 ;; Added defalias for bookmark-name-from(-full)-record, to fix gratuitous Emacs name change.
683 ;; 2010/10/22 dadams
684 ;; Uncommented key bindings for mouse wheel, since Emacs bug #6256 has now been fixed.
685 ;; bmkp-repeat-command: Don't bother to let-bind repeat-previous-repeated-command,
686 ;; and use setq, not let, for last-repeatable-command. Thx to Stefan Monnier.
687 ;; 2010/09/28 dadams
688 ;; Added: bmkp-delete-autonamed(-this-buffer)-no-confirm.
689 ;; 2010/09/25 dadams
690 ;; Added: option bmkp-default-bookmark-name, bmkp-annotated-alist-only.
691 ;; Added: bmkp-(next|previous)-*(-repeat), using macro bmkp-define-next+prev-cycle-commands.
692 ;; bmkp-default-bookmark-name: Respect option.
693 ;; bookmark-edit-annotation-mode, bookmark-edit-annotation:
694 ;; Use bmkp-annotated-alist-only (and new bmkp-default-bookmark-name).
695 ;; bookmark-send-edited-annotation:
696 ;; End in orig buffer, not bmenu buffer. Delete edit window. Thx to Joe Bloggs.
697 ;; 2010/09/24 dadams
698 ;; Added: bmkp-autonamed(-this-buffer)-jump(-other-window). Bound to C-x j # (#|.) and menus.
699 ;; Added, using bmkp-define-cycle-command:
700 ;; bmkp-cycle-(autonamed|bookmark-list|desktop|dired|gnus|info|lighted|(local-|remote-)file|
701 ;; man|non-file|remote-file|specific-(buffers|files)|variable-list|url)
702 ;; (-other-window).
703 ;; Added redefinitions: bookmark-edit-annotation(-mode).
704 ;; Renamed: *varlist* to *variable-list*.
705 ;; bmkp-autoname-format: Added ^ to anchor numeral at beginning.
706 ;; bookmark--jump-via: Don't update autonamed if using w32 association.
707 ;; bmkp-update-autonamed-bookmark: bmkp-refresh-menu-list only if buffer list is displayed.
708 ;; *-(relocate|rename), *-update-autonamed-bookmark, *-remove-all-tags, *-(add|remove)-tags:
709 ;; Don't create bookmark-list buffer if doesn't exist.
710 ;; bookmark-show-(annotation|all-annotations): Restore selected window and frame focus.
711 ;; bmkp-completing-read-(buffer|file)-name: Added optional NO-DEFAULT-P arg.
712 ;; bmkp-describe-bookmark: Default to highlighted bookmarks on line, if there are any.
713 ;; bmkp-specific-(buffers|files)-jump(-other-window): Allow empty input, to end loop.
714 ;; bmkp-cycle: Ensure bmkp-current-nav-bookmark is a bookmark, else redefine. Use %9d, not %d.
715 ;; bmkp-cycle-other-window: Added optional STARTOVERP arg here too.
716 ;; 2010/09/20 dadams
717 ;; bmkp-choose-navlist-of-type: Empty input means "any".
718 ;; 2010/09/16 dadams
719 ;; bmkp-read-bookmark-file-name:
720 ;; Removed extra default-filename in call to read-file-name. Thx to Pedro Insua.
721 ;; 2010/08/22 dadams
722 ;; Added: bmkp-regexp-filtered-annotation-alist-only.
723 ;; 2010/08/20 dadams
724 ;; Added: bmkp-read-bookmark-file-name.
725 ;; bookmark-save, bookmark-load, bmkp-switch-bookmark-file, bmkp-use-bookmark-file-create:
726 ;; Use bmkp-read-bookmark-file-name.
727 ;; 2010/08/19 dadams
728 ;; Require gnus-sum.el when compile (for macro). Thx to S. Nemec.
729 ;; 2010/08/18 dadams
730 ;; Removed eval-when-compile for bookmark+-lit.el.
731 ;; Replaced defvar of bmkp-edit-bookmark-record-mode-map with a define-key after derived mode.
732 ;; 2010/08/17 dadams
733 ;; bmkp-edit-bookmark: Made interactive. Bound to C-x p E. Added optional INTERNALP arg.
734 ;; bmkp-info-bookmark-p: Return nil if a different handler.
735 ;; 2010/08/15 dadams
736 ;; Moved bmkp-define-file-sort-predicate, bmkp-menu-bar-make-toggle to bookmark+-mac.el.
737 ;; Require: bookmark.el, bookmark+-mac.el.
738 ;; Require for compile: bookmark+-bmu.el, bookmark+-lit.el (soft).
739 ;; Ensure this file is loaded before compiling.
740 ;; bmkp-set-bookmark-file-bookmark: Added missing arg for error format string.
741 ;; 2010/08/08 dadams
742 ;; bookmark-jump: Added optional arg DISPLAY-FUNCTION (Emacs 24).
743 ;; bookmark-handle-bookmark:
744 ;; Move non-default handler call outside condition-case.
745 ;; Updated for Emacs 24: Use error condition bookmark-error-no-filename. Added props for it.
746 ;; bookmark-default-handler: Updated for Emacs 24:
747 ;; Signal condition bookmark-error-no-filename, not file-error, and pass (stringp FILE).
748 ;; bookmark-make-record-default: Added optional args NO-CONTEXT, POSITION (Emacs 24), and VISITS.
749 ;; bookmark-load: Updated for Emacs 24: Wrap with abbreviate-file-name.
750 ;; bmkp-jump-1: Allow arg to be a bookmark or its name.
751 ;; bmkp-gnus-bookmark-p: Updated for Emacs 24: Added gnus-summary-bookmark-jump.
752 ;; bmkp-jump-gnus: Different gnus-fetch-group call for Emacs 20, 21.
753 ;; bmkp-make-(desktop|varlist|bookmark-(file|list))-record: Call *-record-default with NO-CONTEXT.
754 ;; w3m-current-title: Use w3m-current-title as bookmark name.
755 ;; bmkp-w3m-set-new-buffer-name, bmkp-jump-w3m*: Require w3m.
756 ;; bmkp-make-gnus-record: Get bookmark name from gnus-summary-article-header.
757 ;; Update for Emacs 24: Bypass bmkp specific Gnus, man, and woman code.
758 ;; 2010/08/06 dadams
759 ;; Added (and bound the commands):
760 ;; bmkp-(compilation|occur)-target-set(-all), bmkp-(file|url)-target-set,
761 ;; bmkp-default-handler-associations, bmkp-compilation-file+line-at,
762 ;; bmkp-default-handler-(for-file|user), bmkp-sound-jump.
763 ;; bmkp-occur-create-autonamed-bookmarks: Do not define it for Emacs < 22. Protect wrt POS, BUF.
764 ;; Added to Bookmark menu: bmkp-(file|url)-target-set, bmkp-set-(bookmark-file|desktop)-bookmark.
765 ;; 2010/08/04 dadams
766 ;; bmkp-edit-bookmark: Use new bookmark name for update of dired-directory. Thx to Kai Tetzlaff.
767 ;; 2010/08/03 dadams
768 ;; bmkp-make-url-browse-record: Remove text properties from URL arg.
769 ;; 2010/07/17 dadams
770 ;; Added: bmkp-url-jump-(other-window), bmkp-url(-browse)-(alist-only|bookmark-p), bmkp-url-cp,
771 ;; bmkp-url-history, bmkp-make-url-browse-record, bmkp-jump-url-browse.
772 ;; bmkp-sort-comparer: Use bmkp-url-cp, not bmkp-w3m-cp.
773 ;; bmkp-types-alist: w3m -> url.
774 ;; bookmark-alist: Updated doc string to mention LOCATION. W3M -> URL.
775 ;; bmkp-bookmark-description: Treat URL. Set no-position-p depending on start.
776 ;; Bind bmkp-url-jump*. Replace W3M by URL in menu items.
777 ;; 2010/07/14 dadams
778 ;; Created from bookmark+.el code.
779
780 ;;;(@* "CHANGE LOG FOR `bookmark+-bmu.el'")
781 ;;
782 ;; 2012/05/05 dadams
783 ;; bookmark-bmenu-(un)mark(-all), bmkp-bmenu-regexp-mark, bmkp-bmenu-toggle-marks,
784 ;; bmkp-bmenu-mark-bookmarks-satisfying, bmkp-bmenu-toggle-marked-temporary/savable,
785 ;; bmkp-bmenu-(un)mark-bookmarks-tagged-regexp:
786 ;; Added optional arg MSG-P.
787 ;; bookmark-bmenu-(un)mark(-all), bookmark-bmenu-execute-deletions, bmkp-bmenu-regexp-mark,
788 ;; bmkp-bmenu-toggle-show-only-(un)marked, bmkp-bmenu-mark-bookmarks-satisfying,
789 ;; bmkp-bmenu-toggle-marks, bmkp-bmenu-toggle-marked-temporary/savable,
790 ;; bmkp-bmenu-toggle-temporary, bmkp-bmenu-make-sequence-from-marked,
791 ;; bmkp-bmenu-(un)omit(-marked), bmkp-bmenu-(un)mark-bookmarks-tagged-regexp,
792 ;; bmkp-bmenu-mark/unmark-bookmarks-tagged-*, bmkp-bmenu-change-sort-order,
793 ;; bmkp-reverse(-multi)-sort-order:
794 ;; Pass NO-MSG-P to *-refresh/rebuild-menu-list, *-surreptitiously-rebuild-list, *-store.
795 ;; bmkp-bmenu-mark/unmark-bookmarks-tagged-(all/none|some/not-all):
796 ;; Swapped last two args, so consistent order.
797 ;; bmkp-bmenu-(un)mark-bookmarks-tagged-*: Updated arg order in calls to b-b-m/u-b-t-(a/n|s/n-a).
798 ;; bmkp-bmenu-(un)mark-bookmarks-tagged-regexp, bmkp-bmenu-mark/unmark-bookmarks-tagged-*:
799 ;; Added status message.
800 ;; 2012/05/01 dadams
801 ;; Added redefinition of bookmark-bmenu-delete-backwards (they broke its movement).
802 ;; Added aliases: bmkp-bmenu-flag-for-deletion(-backwards). Bind to d, k, C-d (same as aliases).
803 ;; bmkp-bmenu-(add|remove)-tags, bmkp-bmenu-(add|remove)-tags-(to|from)-marked:
804 ;; Automatically re-sort if # tagged bmks changed and sort order is tagged first/last (s t).
805 ;; Added: bmkp-bmenu-sort-tagged-before-untagged.
806 ;; Bind bmkp-bmenu-sort-tagged-before-untagged to s t.
807 ;; Bind bmkp-bmenu-sort-by-last-bookmark-access to s d, not s t.
808 ;; Bind bmkp-bmenu-sort-by-last-local-file-access to s f d, not s f t.
809 ;; Bind bmkp-bmenu-sort-by-local-file-type to s f k, not s f d.
810 ;; 2012/04/28 dadams
811 ;; bookmark-bmenu-(un)mark(-all), bmkp-bmenu-regexp-mark, bmkp-bmenu-mark-bookmarks-satisfying,
812 ;; bmkp-bmenu-toggle-marks, bmkp-bmenu-(un)mark-bookmarks-tagged-regexp,
813 ;; bmkp-bmenu-mark/unmark-bookmarks-tagged-(all/none|some/not-all):
814 ;; Added optional arg NO-RE-SORT-P.
815 ;; Automatically re-sort if marks changed and if sort order is marked first/last (s >).
816 ;; Changed all non-interactive calls of bookmark-bmenu-(un)mark to pass non-nil NO-RE-SORT-P.
817 ;; bmkp-bmenu-toggle-marks: Call bookmark-bmenu-ensure-position at start.
818 ;; 2012/04/27 dadams
819 ;; bmkp-bmenu-edit-marked: Use bmkp-with-output-to-plain-temp-buffer.
820 ;; 2012/04/13 dadams
821 ;; Added: bmkp-bmenu-sort-(flagged|modified)-before-un(flagged|modified), bmkp-flagged-bookmarks.
822 ;; Bound bmkp-bmenu-sort-(flagged|modified)-before-un(flagged|modified) to s D, s *.
823 ;; bookmark-bmenu-(un)mark: Delete bookmark from bmkp-flagged-bookmarks.
824 ;; bookmark-bmenu-mark: Use (equivalent of) eq version of add-to-list.
825 ;; bookmark-bmenu-delete: Add bookmark to bmkp-flagged-bookmarks.
826 ;; bmkp-bmenu-list-1: Always reset bmkp-(flagged|modified)-bookmarks.
827 ;; Flag bookmarks if bmkp-flagged-bookmark-p.
828 ;; bmkp-bmenu-refresh-menu-list: C-u resets bmkp-flagged-bookmarks too.
829 ;; 2012/04/10 dadams
830 ;; bmkp-bmenu-load-marked-bookmark-file-bookmarks:
831 ;; Use bmkp-refresh-menu-list, not bmkp-refresh/rebuild-menu-list.
832 ;; bmkp-bmenu-(add|remove)-tags-(to|from)-marked, bmkp-bmenu-paste-(add|replace)-tags-to-marked:
833 ;; Corrected bookmark-save to bookmark-save-flag in bindings to nil.
834 ;; Use bmkp-count-multi-mods-as-one-flag for the binding.
835 ;; Call bmkp-refresh-menu-list.
836 ;; 2012/04/09 dadams
837 ;; bmkp-bmenu-set-tag-value, bmkp-bmenu-remove-tags, bmkp-bmenu-paste-(add|replace)-tags:
838 ;; Added nil NO-UPDATE-P arg in calls to bmkp-set-tag-value, bmkp-remove-tags,
839 ;; bmkp-paste-(add|replace)-tags.
840 ;; bmkp-bmenu-add-tags-to-marked, bmkp-bmenu-remove-tags-from-marked,
841 ;; bmkp-bmenu-paste-(add|replace)-tags-to-marked:
842 ;; Bind bookmark-save to nil around iteration, to inhibit saving until finished.
843 ;; New arg order for calls to bmkp-(add|remove)-tags.
844 ;; Pass non-nil NO-UPDATE-P arg to bmkp-paste-(add|replace)-tags.
845 ;; 2012/04/03 dadams
846 ;; Moved here from bookmark+-1.el: bmkp-face-prop.
847 ;; 2012/03/19 dadams
848 ;; Added: bmkp-*-mark.
849 ;; bmkp-bmenu-list-1, bmkp-bmenu-mode-status-help: Use bmkp-*-mark for *.
850 ;; 2012/03/18 dadams
851 ;; bookmark-bmenu-delete: Remove bookmark from bmkp-modified-bookmarks also.
852 ;; bmkp-bmenu-list-1: RESET-P resets bmkp-modified-bookmarks also. Insert modified marks (*).
853 ;; bmkp-bmenu-refresh-menu-list:
854 ;; When revert from file: Reset *-marked-bookmarks, *-modified-bookmarks, *-omitted-bookmarks.
855 ;; Bind bmkp-bmenu-filter-function to nil for bmkp-refresh-menu-list.
856 ;; bmkp-bmenu-toggle-show-only-(un)marked:
857 ;; Save display, so bmkp-bmenu-before-hide-marked-alist is up-to-date.
858 ;; bmkp-bmenu-mode-status-help: Added legend for markings.
859 ;; bmkp-bmenu-edit-marked: Use (shallow) copies of bookmarks, not originals.
860 ;; Added bmkp-save-menu-list-state to Bookmark+ menu.
861 ;; 2012/03/13 dadams
862 ;; bmkp-bmenu-read-filter-input:
863 ;; If C-g then restore previous display.
864 ;; Use only one catch and test while condition.
865 ;; Do not try to pop an empty list.
866 ;; bmkp-bmenu-filter-((bookmark|file)-name|annotation|tags)-incrementally:
867 ;; Use run-with-idle-timer, not run-with-timer
868 ;; 2012/03/11 dadams
869 ;; Added Revert to Saved (bmkp-revert-bookmark-file) to menu.
870 ;; 2012/03/07 dadams
871 ;; bmkp-bmenu-load-marked-bookmark-file-bookmarks: Use bmkp-sorted-alist to load in display order.
872 ;; 2012/03/06 dadams
873 ;; bookmark-bmenu-mode: Reorg.
874 ;; bmkp-bmenu-refresh-menu-list:
875 ;; Call bmkp-refresh-menu-list also when revert file. Use yes-or-no-p, not y-or-n-p.
876 ;; 2012/03/05 dadams
877 ;; bmkp-bmenu-mode-status-help: Added Autosave bookmarks and Autosave list display to info at top.
878 ;; 2012/03/04 dadams
879 ;; Added: bmkp-bmenu-load-marked-bookmark-file-bookmarks.
880 ;; Bind bmkp-toggle-saving-menu-list-state to C-M-~, not M-l.
881 ;; Bind bmkp-bmenu-load-marked-bookmark-file-bookmarks to M-l. Add it to menu.
882 ;; 2012/03/02 dadams
883 ;; bookmark-bmenu-list: Reset marked and omitted lists to () if a name is not a current bmk.
884 ;; 2012/02/28 dadams
885 ;; Added face bmkp-file-handler.
886 ;; bmkp-bmenu-mode-status-help: Added bmkp-file-handler to face legend.
887 ;; bmkp-bmenu-propertize-item: Propertize file-handler bookmarks, with bmkp-file-handler.
888 ;; 2011/12/31 dadams
889 ;; Define macro with-buffer-modified-unmodified for Emacs 23.1, in addition to Emacs < 23.
890 ;; 2011/12/30 dadams
891 ;; Added aliases: bmkp-bookmark-(data|name)-from-record.
892 ;; Added: bmkp-bmenu-show-or-edit-annotation, bmkp-bmenu-edit-bookmark-record,
893 ;; bmkp-bmenu-edit-marked.
894 ;; Renamed bmkp-bmenu-edit-bookmark to bmkp-bmenu-edit-bookmark-name-and-file.
895 ;; bookmark-bmenu-mark: Propertize bookmark name with bmkp-full-record before adding to list.
896 ;; bookmark-bmenu-list:
897 ;; Added optional arg MSGP. Show status messages.
898 ;; Propertize bookmark names if not already propertized, in marked and omitted lists.
899 ;; bookmark-bmenu-mode: Updated doc string.
900 ;; bmkp-bmenu-make-sequence-from-marked:
901 ;; Use bmkp-get-bookmark-in-alist, not bookmark-get-bookmark.
902 ;; Bind bmkp-bmenu-show-or-edit-annotation (not *-show-annotation) to a.
903 ;; Bind bmkp-bmenu-edit-bookmark-name-and-file to r now, not E.
904 ;; Bind bmkp-bmenu-edit-marked to E and T > e.
905 ;; Bind bmkp-bmenu-edit-bookmark-record to e.
906 ;; bmkp-bmenu-quit: Show progress messages.
907 ;; bmkp-bmenu-tags-menu: Added bmkp-bmenu-edit-marked.
908 ;; bmkp-bmenu-mouse-3-menu:
909 ;; Added: bmkp-bmenu-edit-tags.
910 ;; Replaced *-rename and *-relocate with bmkp-bmenu-edit-bookmark-name-and-file.
911 ;; 2011/12/24 dadams
912 ;; Added: bookmark-bmenu-toggle-filenames, with optional arg NO-MSG-P.
913 ;; bookmark-bmenu-surreptitiously-rebuild-list, bookmark-bmenu-(show|hide)-filenames:
914 ;; Added progress messages and optional arg NO-MSG-P.
915 ;; bookmark-bmenu-(show|hide)-filenames, bookmark-bmenu-toggle-filenames:
916 ;; Correct FORCE behavior and doc strings.
917 ;; bmkp-bmenu-refresh-menu-list: Pass (not) MSG-P to bmkp-refresh-menu-list.
918 ;; 2011/12/21 dadams
919 ;; Added: bmkp-bmenu-mark-orphaned-local-file-bookmarks,
920 ;; bmkp-bmenu-show-only-orphaned-local-files, bmkp-bmenu-mark-variable-list-bookmarks.
921 ;; bmkp-bmenu-refresh-menu-list: Added optional args ARG and MSGP, so you can revert from file.
922 ;; bookmark-bmenu-mode: Updated and reordered doc string.
923 ;; Bind O M, O S to orphaned commands, not omit commands. Changed omit bindings to use -, not O.
924 ;; Bind bmkp-bmenu-mark-variable-list-bookmarks to V M.
925 ;; bmkp-bmenu-show-menu: Reordered. Added: *-w3m-urls, *-variable-lists, *-orphaned-local-files.
926 ;; bmkp-bmenu-mark-menu: Reordered. Added: *-w3m-*, *-variable-list-*, *-orphaned-local-file-*.
927 ;; 2011/12/19 dadams
928 ;; Added: with-buffer-modified-unmodified.
929 ;; bookmark-bmenu-((un)mark|delete), bookmark-bmenu-(show|hide)-filenames:
930 ;; Use with-buffer-modified-unmodified.
931 ;; bookmark-bmenu-show-filenames, bmkp-bmenu-mouse-3-menu: Use line-(beginning|end)-position.
932 ;; 2011/12/15 dadams
933 ;; bmkp-bmenu-propertize-item: Use bmkp-local-directory face also for Dired (e.g. with wildcards).
934 ;; bmkp-bmenu-mode-status-help: Clarify legend for remote and local dirs/Dired.
935 ;; 2011/12/08 dadams
936 ;; bmkp-bmenu-mouse-3-menu: Use easymenu to build the menu. Conditionalize some items.
937 ;; Bind down-mouse-3, not mouse-3, to bmkp-bmenu-mouse-3-menu. (bind mouse-3 to ignore).
938 ;; Added eval-when-compile for easymenu.el.
939 ;; 2011/12/05 dadams
940 ;; bmkp-bmenu-menubar-menu: Reordered items regarding bookmark files.
941 ;; bmkp-bmenu-mode-status-help: Correct intro text, reorder, use marker for position TOP.
942 ;; bookmark-bmenu-mode: Changed intro text slightly.
943 ;; 2011/12/03 dadams
944 ;; bmkp-bmenu-list-1: Print current bookmark file at top of display.
945 ;; Increased bmkp-bmenu-header-lines to 5.
946 ;; bookmark-bmenu-mode: Updated doc string for binding changes and new option.
947 ;; bmkp-bmenu-regexp-mark: Mention right-padding of bookmark names in doc string.
948 ;; bmkp-bmenu-mode-status-help: Reorder Current Status items, to put bookmark file first.
949 ;; Bind L to bmkp-switch-bookmark-file-create, not bmkp-switch-bookmark-file.
950 ;; 2011/11/19 dadams
951 ;; bmkp-bmenu-image-bookmark-icon-file: Default to an existing Emacs image file, not nil.
952 ;; 2011/11/18 dadams
953 ;; Added: bmkp-bmenu-mark-image-bookmarks, bmkp-bmenu-show-only-image-files,
954 ;; bmkp-bmenu-image-bookmark-icon-file.
955 ;; bmkp-bmenu-list-1: Show icon image for image-file bookmarks.
956 ;; bookmark-bmenu-mode: Add to doc string: bmkp-image-jump, bmkp-bmenu-mark-image-bookmarks,
957 ;; bmkp-bmenu-show-only-image-files.
958 ;; bmkp-bmenu-mode-status-help: Added image icon to legend.
959 ;; Bound keys: M-I M-M, M-I M-S to *-mark-image-bookmarks *-show-only-image-files.
960 ;; Added to menus (Mark, Show): bmkp-bmenu-mark-image-bookmarks, bmkp-bmenu-show-only-image-files.
961 ;; 2011/11/01 dadams
962 ;; bookmark-bmenu-mode: Changed mode-name var for mode line: Bookmarks, not Bookmark Menu.
963 ;; Updated doc string for autofile & temporary jump commands.
964 ;; 2011/10/31 dadams
965 ;; bookmark-bmenu-mode: Updated doc string with bmkp-toggle-autotemp-on-set.
966 ;; bmkp-bmenu-menubar-menu: Added: bmkp-toggle-autotemp-on-set.
967 ;; 2011/10/27 dadams
968 ;; Added: bmkp-X-mark, bmkp-bmenu-toggle-marked-temporary/savable, bmkp-bmenu-toggle-temporary,
969 ;; bmkp-bmenu-mark-autonamed-bookmarks, bmkp-bmenu-show-only-temporary,
970 ;; bmkp-bmenu-mark-temporary-bookmarks.
971 ;; bmkp-bmenu-list-1: Mark with X in place of a, if bookmark is temporary.
972 ;; bookmark-bmenu-mode: Mode-line major-mode name indicates when in temporary bookmarking mode.
973 ;; Updated doc string with temporary bookmark commands.
974 ;; bmkp-t-mark: Changed default attributes.
975 ;; Bind: M-L to bmkp-temporary-bookmarking-mode, M-X to bmkp-bmenu-toggle-marked-temporary/savable
976 ;; X M to bmkp-bmenu-mark-temporary-bookmarks, X S to bmkp-bmenu-show-only-temporary,
977 ;; C-M-X to bmkp-bmenu-toggle-temporary.
978 ;; bmkp-bmenu-show-only-bookmark-files: Bind to Y S, not X S.
979 ;; bmkp-bmenu-mark-bookmark-file-bookmarks: Bind to Y M, not X M.
980 ;; 2011/07/01 dadams
981 ;; bmkp-bmenu-change-sort-order, bmkp(-multi)-reverse-sort-order: Handle null CURRENT-BMK.
982 ;; 2011/04/24 dadams
983 ;; Added to Tags menu: Purge Autofiles with No Tags.
984 ;; 2011/04/23 dadams
985 ;; Bound bmkp-bmenu-set-tag-value-for-marked to T > v and added to bmkp-bmenu-tags-menu.
986 ;; bmkp-bmenu-mouse-3-menu: Added bmkp-rename-tag.
987 ;; 2011/04/22 dadams
988 ;; Bound *-copy-tags to T c, T M-w, *-paste(-add|replace)-tags to T p, T C-y, T q.
989 ;; 2011/04/21 dadams
990 ;; Added: bmkp-bmenu-copy-tags, bmkp-bmenu-paste-add-tags(-to-marked),
991 ;; bmkp-bmenu-paste-replace-tags(-for-marked).
992 ;; Bound and added to menus: bmkp-bmenu-paste-add-tags-to-marked,
993 ;; bmkp-bmenu-paste-replace-tags-for-marked.
994 ;; Added to This Bookmark menu: bmkp-bmenu-copy-tags, bmkp-bmenu-paste(-add|replace)-tags.
995 ;; 2011/04/19 dadams
996 ;; Added: bmkp-bmenu-unmark-bookmarks-tagged-regexp. Bound it to T u %. Added it to menu.
997 ;; 2011/04/16 dadams
998 ;; Added: bmkp-edit-tags-send. Bound it to T e in bookmark-bmenu-mode-map.
999 ;; bookmark-bmenu-mode: Updated help text for tags editing.
1000 ;; bmkp-maybe-unpropertize-bookmark-names:
1001 ;; Test emacs-major-version, not just (boundp 'print-circle).
1002 ;; 2011/04/15 dadams
1003 ;; Added: bmkp-bmenu-mark-autofile-bookmarks, bmkp-bmenu-show-only-autofiles.
1004 ;; And added them to menus.
1005 ;; bookmark-bmenu-mode-map:
1006 ;; Bind bmkp-bmenu-mark-autofile-bookmarks, bmkp-bmenu-show-only-autofiles to A M, A S.
1007 ;; Bind bookmark-bmenu-show-all-annotations to M-a, not A.
1008 ;; Bind bmkp-bmenu-search-marked-bookmarks-regexp to M-s a M-s, not M-a.
1009 ;; Bind *-mark-url-bookmarks, *-show-only-urls to M-u M-m, M-u M-s, not M-u M, M-u S.
1010 ;; bookmark-bmenu-mode: Updated help to reflect latest bindings.
1011 ;; 2011/04/13 dadams
1012 ;; bmkp-bmenu-tags-menu: Added: bmkp-(un)tag-a-file.
1013 ;; 2011/04/12
1014 ;; Added: bmkp-propertize-bookmark-names-flag, bmkp-maybe-unpropertize-bookmark-names,
1015 ;; bmkp-bmenu-get-marked-files.
1016 ;; Renamed: bmkp-bmenu-omitted-list to bmkp-bmenu-omitted-bookmarks.
1017 ;; bmkp-bmenu-define-full-snapshot-command:
1018 ;; Bind print-circle to t around pp. Use bmkp-maybe-unpropertize-bookmark-names on lists.
1019 ;; bookmark-bmenu-(show|hide)-filenames, bmkp-bmenu-toggle-show-only-(un)marked,
1020 ;; bmkp-bmenu-(un)omit-marked:
1021 ;; Fit one-window frame only if selected window is *Bookmark List*.
1022 ;; bookmark-bmenu-bookmark: Added optional arg FULL. Non-nil means return full bookmark record.
1023 ;; bookmark-bmenu-unmark, bookmark-bmenu-delete, bmkp-bmenu-unomit-marked:
1024 ;; Use bmkp-delete-bookmark-name-from-list, not delete.
1025 ;; bookmark-bmenu-execute-deletions: Pass full bookmark, not name, to delete, and don't use assoc.
1026 ;; bookmark-bmenu-rename: Use bmkp-bmenu-goto-bookmark-named instead of just searching for name.
1027 ;; bmkp-bmenu-toggle-marks, bmkp-bmenu-unomit-marked, bmkp-bmenu-define-jump-marked-command,
1028 ;; bmkp-bmenu-mouse-3-menu:
1029 ;; Use bmkp-bookmark-name-member, not member.
1030 ;; bmkp-bmenu-make-sequence-from-marked: Do not invoke bookmark-bmenu-list when no displayed list.
1031 ;; bmkp-bmenu-define-command: Use bmkp-maybe-unpropertize-bookmark-names on *-omitted-bookmarks.
1032 ;; bmkp-bmenu-list-1: Use bmkp-sort-omit, not bmkp-sort-and-remove-dups.
1033 ;; Pass full bookmark to bmkp-bmenu-propertize-item.
1034 ;; bmkp-bmenu-propertize-item:
1035 ;; First arg is now a full bookmark, not a bookmark name. Get bookmark name from it.
1036 ;; Put prop bmkp-bookmark-name on buffer text with propertized bookmark-name string as value.
1037 ;; String has property bmkp-full-record with value the full bookmark record, with string as car.
1038 ;; Return propertized bookmark-name string.
1039 ;; bmkp-bmenu-isearch-marked-bookmarks(-regexp), bmkp-bmenu-dired-marked,
1040 ;; bmkp-bmenu-(search|query-replace)-marked-bookmarks-regexp:
1041 ;; Use bmkp-sort-omit, not bmkp-sort-and-remove-dups.
1042 ;; bmkp-bmenu-goto-bookmark-named:
1043 ;; If NAME has property bmkp-full-record then go to the bookmark it indicates. Otherwise, just
1044 ;; go to the first bookmark with the same name.
1045 ;; bookmark-bmenu-mode: Added bmkp-save-menu-list-state (now a command) to the mode help.
1046 ;; 2011/04/02 dadams
1047 ;; bookmark-bmenu-mode: Added to mode help: bmkp-file-this-dir-(all|some)-tags(-regexp)-jump.,
1048 ;; Create/Set section, with bmkp-autofile-set.
1049 ;; 2011/04/01 dadams
1050 ;; bookmark-bmenu-mode: Added to mode help: bmkp-(dired|file)-this-dir-jump.
1051 ;; 2011/03/26 dadams
1052 ;; bookmark-bmenu-mode: Added new file-with-tags jump commands to the help.
1053 ;; 2011/03/05 dadams
1054 ;; bmkp-bmenu-edit-bookmark: Use bmkp-refresh-menu-list, not *-surreptitiously-rebuild-list.
1055 ;; 2011/02/11 dadams
1056 ;; Faces: Better defaults for dark background.
1057 ;; 2011/01/03 dadams
1058 ;; Removed autoload cookies from non def* sexps and from define-key.
1059 ;; Added missing autoload cookies for commands, in particular redefined std commands & defalias.
1060 ;; 2010/12/10 dadams
1061 ;; Added defalias for bookmark-name-from(-full)-record, to fix gratuitous Emacs name change.
1062 ;; 2010/09/24 dadams
1063 ;; Added: bmkp-bmenu-show-only-autonamed. Bound to # S. Added to bmkp-bmenu-show-menu.
1064 ;; bookmark-bmenu-mode: Updated doc string for autonamed jumps, show.
1065 ;; Renamed varlist to variable-list everywhere.
1066 ;; 2010/08/22 dadams
1067 ;; Added: bmkp-bmenu-filter-annotation-incrementally, bookmark-bmenu-relocate (Emacs 20, 21),
1068 ;; bmkp-bmenu-filter-alist-by-annotation-regexp. Bound, added to menus and help.
1069 ;; 2010/08/18 dadams
1070 ;; Removed eval-when-compile for bookmark+-(lit|1).el.
1071 ;; bmkp-bmenu-propertize-item: Inconsequential simplification.
1072 ;; 2010/08/17 dadams
1073 ;; bmkp-bmenu-edit-bookmark: Added optional arg INTERNALP (prefix arg), for editing record.
1074 ;; 2010/08/15 dadams
1075 ;; Moved to bookmark+-mac.el:
1076 ;; bmkp-define-sort-command, bmkp-replace-regexp-in-string, bmkp-assoc-delete-all.
1077 ;; Renamed: bmkp-barf-if-not-in-menu-list to bmkp-bmenu-barf-if-not-in-menu-list.
1078 ;; Require bookmark.el, bookmark+-mac.el.
1079 ;; Require when compile: bookmark+-1.el, bookmark+-lit.el (soft).
1080 ;; 2010/07/17 dadams
1081 ;; Added: bmkp-bmenu-mark-url-bookmarks, bmkp-bmenu-show-only-urls, bmkp-bmenu-sort-by-url.
1082 ;; Removed: bmkp-bmenu-sort-by-w3m-url.
1083 ;; Replaced face bmkp-w3m by bmkp-url.
1084 ;; bookmark-bmenu-mode: Added mark and show URL commands.
1085 ;; bookmark-bmenu-mode, *-status-help, *-sort-by-bookmark-type, *-define-sort-command: w3m -> url.
1086 ;; Bind bmkp-bmenu-sort-by-url, not bmkp-bmenu-sort-by-w3m-url.
1087 ;; Bind bmkp-bmenu-mark-url-bookmarks, bmkp-bmenu-show-only-urls.
1088 ;; Replace W3M by URL in menu items.
1089 ;; 2010/07/14 dadams
1090 ;; Created from bookmark+.el code.
1091
1092 ;;;(@* "CHANGE LOG FOR `bookmark+-key.el'")
1093 ;;
1094 ;; 2012/02/26 dadams
1095 ;; Bind:
1096 ;; bmkp-this-file/buffer-bmenu-list to C-x p , not C-x p ..
1097 ;; bmkp-(file|dired)-this-dir-jump* to C-x j . f|d not C-x j C-f|C-d.
1098 ;; bmkp-file-this-dir-*-tags(-regexp)-jump* to C-x j t . [%][*+] not C-x j t C-f [%][*+].
1099 ;; bmkp-this-buffer-jump* to C-x j , , not C-x j ..
1100 ;; bmkp-autonamed-this-buffer-jump* to C-x j , # not C-x j # ..
1101 ;; bmkp-autonamed-jump* to C-x j # not C-x j # #.
1102 ;; bmkp-autofile-jump* in all Emacs versions.
1103 ;; bmkp-find-file(-other-window), which is new, to C-x j C-f.
1104 ;; new autofile tags jump commands bmkp-autofile-(all|some)-tags(-regexp)-jump* to
1105 ;; C-x j t a [%][*+], which was for bmkp-find-file-*-tags*.
1106 ;; bmkp-find-file-(all|some)-tags(-regexp)* to C-x j t C-f [%] [*+] not C-x j t a [%] [*+].
1107 ;; Add to menus: bmkp-autofile-*. Rename menu items for bmkp-find-file: Find Autofile....
1108 ;; Rename menu Bookmarked File to Find File or Autofile. For Emacs 20-21, make it a single item.
1109 ;; bmkp-jump-tags-menu, bmkp-find-file-menu: Do not add Autofile tags items for Emacs 20.
1110 ;; 2012/02/21 dadams
1111 ;; Added bindings for: bmkp-autofile-(all|some)-tags(-regexp)-jump(-other-window),
1112 ;; bmkp-find-file(-other-window) (was same as *autofile*).
1113 ;; Changed bindings:
1114 ;; *-this-dir*: . [df] (was C-d/C-f), *this-buffer*: , (was .), *find-file*tags*: C-f (was a).
1115 ;; Define *autofile* for all Emacs versions. Separate bindings from *find-file* cmds.
1116 ;; 2011/12/30 dadams
1117 ;; Added aliases: bmkp-bookmark-(data|name)-from-record.
1118 ;; Bind E to bmkp-edit-bookmark-record, not bmkp-edit-bookmark.
1119 ;; Bind r to bmkp-edit-bookmark-name-and-file, not bookmark-rename. Ditto in menu.
1120 ;; Use bmkp-get-bookmark-in-alist, not bookmark-get-bookmark in :visible conditions.
1121 ;; menu-bar-bookmark-map: Added bmkp-edit-bookmark-record.
1122 ;; bmkp-tags-menu: Added bmkp-edit-tags.
1123 ;; 2011/12/14 dadams
1124 ;; Removed conditions :enable bookmark-alist.
1125 ;; 2011/12/09 dadams
1126 ;; Commented out menu items with complex :enable conditions, replacing them with simple ones.
1127 ;; Reason: too slow, especially in Emacs 20.
1128 ;; 2011/12/05 dadams
1129 ;; menu-bar-bookmark-map: Reordered items regarding bookmark files.
1130 ;; 2011/12/03 dadams
1131 ;; Bind C-x p L to bmkp-switch-bookmark-file-create, not bmkp-switch-bookmark-file.
1132 ;; Reordered bookmark-file items in menu-bar-bookmark-map.
1133 ;; 2011/11/18 dadams
1134 ;; Bind bmkp-image-jump(-other-window) to C-x (4) j M-i.
1135 ;; bmkp-jump-menu: Add bmkp-image-jump-other-window.
1136 ;; 2011/11/15 dadams
1137 ;; Bind *-this-file/buffer*, not *-this-buffer*.
1138 ;; 2011/11/01 dadams
1139 ;; Bind alias bmkp-autofile-jump(-*), not bmkp-find-file(-*) to C-x j a, so Icicles picks up key.
1140 ;; Bind bmkp-bookmark-file-jump to C-x j y, not C-x j x. Bind bmkp-temporary-jump(-*) to C-x j x.
1141 ;; bmkp-jump-menu: Bind bmkp-(autofile|temporary)-jump-other-window.
1142 ;; 2011/10/31 dadams
1143 ;; Bind bmkp-toggle-autotemp-on-set to C-x p x. Move bmkp-set-bookmark-file-bookmark to C-x p y.
1144 ;; menu-bar-bookmark-map: Added: bmkp-toggle-autotemp-on-set.
1145 ;; 2011/10/28 dadams
1146 ;; menu-bar-bookmark-map:
1147 ;; Added: bmkp-delete-all-temporary-bookmarks, bmkp-temporary-bookmarking-mode. Reordered.
1148 ;; bmkp-options-menu: Added: bmkp-toggle-saving-menu-list-state, bmkp-toggle-saving-bookmark-file.
1149 ;; 2011/04/24 dadams
1150 ;; Added to Bookmarks menu and its Tags submenu: Purge Autofiles with No Tags.
1151 ;; 2011/04/23 dadams
1152 ;; bmkp-tags-menu:
1153 ;; Added bmkp-set-tag-value, bmkp-(add|remove|copy)-tags, bmkp-paste-(add|replace)-tags.
1154 ;; 2011/04/21 dadams
1155 ;; Bound: bmkp-copy-tags, bmkp-paste-add-tags, bmkp-paste-replace-tags.
1156 ;; 2011/04/16 dadams
1157 ;; Added: bmkp-tags-map. Bound tag commands to prefix C-x p t.
1158 ;; 2011/04/14 dadams
1159 ;; Renamed menu Jump To Bookmark to just Jump To, in menu-bar-bookmark-map.
1160 ;; 2011/04/13 dadams
1161 ;; Added:
1162 ;; bmkp-find-file-menu (bmkp-find-file(-(all|some)-tags(-regexp)(-other-window)),
1163 ;; bmkp-jump-tags-menu (what was in main, plus bmkp-find-file-*-tags-regexp*),
1164 ;; bmkp-tags-menu (list all, rename, remove from all, (un)tag a file).
1165 ;; bmkp-jump(-other-window)-map:
1166 ;; Added bmkp-find-file(-other-window) to menu.
1167 ;; Bound keys for bmkp-find-file-(all|some)-tags(-regexp)(-other-window): C-x (4) j t a...
1168 ;; 2011/04/02 dadams
1169 ;; Added bindings for (new) bmkp-autofile-set,
1170 ;; bmkp-file-this-dir-(all|some)-tags(-regexp)-jump(-other-window).
1171 ;; 2011/04/01 dadams
1172 ;; Added to bmkp-jump-menu: bmkp-(dired|file)-this-dir-jump-other-window.
1173 ;; Created from code in bookmark+-1.el.
1174
1175 ;;;(@* "CHANGE LOG FOR `bookmark+-lit.el'")
1176 ;;
1177 ;; 2012/04/28 dadams
1178 ;; bmkp-make/move-overlay-of-style, bmkp-make/move-fringe: Use FRONT-ADVANCE arg for make-overlay.
1179 ;; 2011/12/30 dadams
1180 ;; Added aliases: bmkp-bookmark-(data|name)-from-record.
1181 ;; bmkp-bookmarks-lighted-at-point: Include only bookmarks in bookmark-alist.
1182 ;; bmkp-light-bookmark: Do nothing if BOOKMARK is not a bookmark or bookmark name.
1183 ;; bmkp-a-bookmark-lighted-at-pos: Return nil if no bookmark (at POS) in bookmark-alist.
1184 ;; 2011/11/15 dadams
1185 ;; Applied renaming: bmkp-this-buffer-cycle-sort-comparer to *-this-file/buffer*.
1186 ;; 2011/08/09 dadams
1187 ;; Bind icicle-unpropertize-completion-result-flag to t for all calls to completing-read.
1188 ;; 2011/04/12
1189 ;; bmkp-cycle-lighted-this-buffer: Use bmkp-sort-omit, not bmkp-sort-and-remove-dups.
1190 ;; 2011/04/01 dadams
1191 ;; bmkp-light-bookmark(s): Don't call bookmark-handle-bookmark. Wrap with with-current-buffer.
1192 ;; 2011/01/03 dadams
1193 ;; Added autoload cookies: defcustoms and commands.
1194 ;; 2010/12/10 dadams
1195 ;; Added defalias for bookmark-name-from(-full)-record, to fix gratuitous Emacs name change.
1196 ;; 2010/09/25 dadams
1197 ;; Added: bmkp-set-lighting-for(bookmarks|(-this)-buffer). Requested by Joe Bloggs.
1198 ;; bmkp-set-lighting-for-bookmark: Added LIGHT-NOW-P arg (from prefix arg).
1199 ;; 2010/09/11 dadams
1200 ;; Removed eval-when-compile for bookmark+-bmu, bookmark+-1.
1201 ;; 2010/08/15 dadams
1202 ;; Require: bookmark.el.
1203 ;; Require when compile: bookmark+-bmu.el, bookmark+-1.el, pp+.el (soft).
1204 ;; Applied renaming of bmkp-barf-if-not-in-menu-list to bmkp-bmenu-barf-if-not-in-menu-list.
1205 ;; bmkp-light-bookmark(s): Added missing arg to throw call.
1206 ;; bmkp-light-bookmarks: Use bmkp-remove-if, not remove-if.
1207 ;; bmkp-light-bookmarks-in-region, bmkp-light-non-autonamed-this-buffer:
1208 ;; Use bmkp-remove-if-not, not remove-if-not.
1209 ;; bmkp-read-set-lighting-args: Use pp-read-expression-map only if bound (pp+.el).
1210 ;; 2010/07/03 dadams
1211 ;; bmkp-set-lighting-for-bookmark, bmkp-bmenu-set-lighting-for-marked:
1212 ;; Use *-refresh-menu-list, not *-surreptitiously-*.
1213 ;; 2010/07/01 dadams
1214 ;; Created.
1215
1216 ;;;(@* "CHANGE LOG FOR `bookmark+-mac.el'")
1217 ;;
1218 ;; **************************************************************************************************
1219 ;; NOTE: If you byte-compile Bookmark+ (recommended), then WHENEVER `bookmark+-mac.el' is updated,
1220 ;; you must load `bookmark+-mac.el' (not just `bookmark+-mac.elc'), then compile it, then
1221 ;; RECOMPILE *ALL* of the other Bookmark+ source files as well. This is normal for Lisp: code
1222 ;; that depends on macros needs to be byte-compiled anew after loading the updated macros.
1223 ;; **************************************************************************************************
1224 ;;
1225 ;; 2012/04/27
1226 ;; Added: bmkp-with-output-to-plain-temp-buffer.
1227 ;; 2012/04/12 dadams
1228 ;; bmkp-define-sort-command: Do not bmkp-bmenu-goto-bookmark-named unless current-bmk (play safe).
1229 ;; 2012/04/11 dadams
1230 ;; bmkp-define-sort-command: In function def, change order to: fn, reverse-fn, unsorted.
1231 ;; 2011/12/30 dadams
1232 ;; bmkp-define-cycle-command: Applied renaming of bmkp-sort-and-remove-dups to bmkp-sort-omit.
1233 ;; bmkp-define-file-sort-predicate: Updated doc string of generated functions.
1234 ;; Added renamings of bookmark-name-from(-full)-record, bookmark-get-bookmark-record.
1235 ;; 2011/04/12
1236 ;; bmkp-define-cycle-command: Use bmkp-sort-omit, not bmkp-sort-and-remove-dups.
1237 ;; 2011/01/03 dadams
1238 ;; Added autoload cookies: defmacro.
1239 ;; 2010/09/25 dadams
1240 ;; Added: bmkp-define-next+prev-cycle-commands.
1241 ;; 2010/09/24 dadams
1242 ;; Added: bmkp-define-cycle-command.
1243 ;; 2010/08/18 dadams
1244 ;; Removed eval-when-compile for bookmark+-(bmu|1).el.
1245 ;; 2010/08/15 dadams
1246 ;; Created, from code in other Bookmark+ files.
1247
1248 ;;;(@* "CHANGE LOG FOR `bookmark+.el'")
1249 ;;
1250 ;; 2012/02/26 dadams
1251 ;; Version 3.4.0.
1252 ;; 2011/12/30 dadams
1253 ;; Version 3.3.0.
1254 ;; 2011/04/12 dadams
1255 ;; Version 3.2.2.
1256 ;; 2011/04/01 dadams
1257 ;; Require bookmark+-key.el (new). Version 3.2.1.
1258 ;; 2011/01/03 dadams
1259 ;; Added autoload cookies: defconst, command.
1260 ;; 2010/08/19
1261 ;; bmkp-version-number: Version 3.2.0.
1262 ;; 2010/08/15 dadams
1263 ;; Require bookmark+-mac.el.
1264 ;; Do not ensure loaded before compile (not needed here now).
1265 ;; 2010/07/14 dadams
1266 ;; Version 3.1.1.
1267 ;; Moved main content of bookmark+.el to new files bookmark+-1.el and bookmark+-bmu.el.
1268 ;; 2010/07/13 dadams
1269 ;; Version 3.1.0.
1270 ;; Added redefinitions: bookmark-bmenu-(1|2)-window, bookmark-bmenu-other-window-with-mouse,
1271 ;; bookmark-bmenu-this-window, bookmark-bmenu-switch-other-window.
1272 ;; Added: bmkp-last-bookmark-file, bmkp-switch-to-last-bookmark-file.
1273 ;; Removed pre-23 version of bookmark-bmenu-switch-other-window.
1274 ;; bookmark-load: Use bmkp-last-bookmark-file when read file name. Added missing prefix arg.
1275 ;; Save old current as bmkp-last-bookmark-file.
1276 ;; bookmark-bmenu-list: If bookmark file has changed do not restore state saved from other file.
1277 ;; Save old current as bmkp-last-bookmark-file.
1278 ;; bmkp-bmenu-list-1: Do not use bmkp-bmenu-title if it is empty ("").
1279 ;; bookmark-bmenu-mode: Added to doc string: bmkp-switch-bookmark-file.
1280 ;; bookmark-bmenu-other-window: Do not bind bookmark-automatically-show-annotations (per vanilla).
1281 ;; bookmark-bmenu-show-annotation: Ensure in bmenu list and on a bookmark line.
1282 ;; bmkp-switch-bookmark-file: Use bmkp-last-bookmark-file when read file name.
1283 ;; bmkp-bmenu-define-full-snapshot-command: Set bmkp-last-bookmark-file.
1284 ;; bmkp-bookmark-description: Fixed typo: bmkp-bookmark-file-bookmark-p (not desktop).
1285 ;; bmkp-make-bookmark-file-record: Use arg file (not bmkp-non-file-filename) as filename entry.
1286 ;;
1287 ;; Added more autoload cookies.
1288 ;; 2010/07/09 dadams
1289 ;; Added: bmkp-bmenu-mark-bookmark-file-bookmarks, bmkp-bmenu-show-only-bookmark-files,
1290 ;; bmkp-bookmark-file-jump, bmkp-set-bookmark-file-bookmark, bmkp-bookmark-file-history,
1291 ;; bmkp-use-bookmark-file-create, bmkp-bookmark-file, bmkp-bookmark-file-alist-only,
1292 ;; bmkp-bookmark-file-bookmark-p, bmkp-jump-bookmark-file, bmkp-make-bookmark-file-record.
1293 ;; bmkp-types-alist, bmkp-buffer-names, bmkp-bmenu-mode-status-help, bmkp-bmenu-propertize-item,
1294 ;; bmkp-this-buffer-p, bmkp-last-specific-buffer-p, bmkp-specific-buffers-alist-only,
1295 ;; bmkp-bookmark-description, bookmark-bmenu-mode: Updated for bookmark-file bookmarks.
1296 ;; bookmark--jump-via: Added a catch, so a handler can skip all other processing when it's done.
1297 ;; bookmark-load: Final msg says whether overwritten.
1298 ;; Bound and added to menus: bmkp-set-bookmark-file-bookmark,
1299 ;; bmkp-bmenu-mark-bookmark-file-bookmarks,
1300 ;; bmkp-bmenu-show-only-bookmark-files, bmkp-bookmark-file-jump.
1301 ;; 2010/07/07 dadams
1302 ;; bookmark-handle-bookmark: Bind use-dialog-box, use-file-dialog to nil.
1303 ;; bookmark-location: From Emacs 23: Use location property and -- Unknown location --.
1304 ;; bmkp-switch-bookmark-file: Bind insert-default-directory to nil.
1305 ;; bmkp-empty-file: Expand FILE. Return FILE.
1306 ;; 2010/07/03 dadams
1307 ;; Added: bmkp-bmenu-describe-marked, bmkp-bookmark-description.
1308 ;; bmkp-describe-bookmark: Rewrote to use bmkp-bookmark-description.
1309 ;; Bound bmkp-bmenu-describe-marked to C-h >.
1310 ;; bmkp-bmenu-menubar-menu: Added bmkp-bmenu-describe-(marked|bookmark).
1311 ;; Updated doc string of bookmark-alist.
1312 ;; 2010/07/01 dadams
1313 ;; Added: bmkp-bmenu-mark-lighted-bookmarks, bmkp-bmenu-set-tag-value-for-marked,
1314 ;; bmkp-bmenu-show-only-tagged, bmkp-occur-create-autonamed-bookmarks,
1315 ;; bmkp-set-autonamed-bookmark, bmkp-set-autonamed-bookmark-at-line,
1316 ;; bmkp-set-autonamed-regexp-buffer, bmkp-set-autonamed-regexp-region,
1317 ;; bmkp-set-tag-value-for-navlist, bmkp-prompt-for-tags-flag, bmkp-menu-bar-make-toggle,
1318 ;; bmkp-same-creation-time-p, bmkp-set-tag-value-for-bookmarks,
1319 ;; bmkp(-bmenu)-highlight-menu, bmkp-options-menu.
1320 ;; Renamed: bmkp-use-region-flag to bmkp-use-region,
1321 ;; bmkp-bmenu-jump-menu to bmkp-jump-menu.
1322 ;; Removed: bmkp-cycle-this-buffer-buff (unused).
1323 ;; Soft-require new library bookmark+-lit.el.
1324 ;; Split off new file bookmark+-chg.el from bookmark+-doc.el.
1325 ;; Changed default values of faces bmkp->-mark, bmkp-t-mark.
1326 ;; bmkp-crosshairs-flag: Added :set instead of add-hook at top level.
1327 ;; bmkp-use-region: Changed from boolean to choice - added cycling-too value.
1328 ;; bookmark-set: Added INTERACTIVEP arg. Prompt for tags when bmkp-prompt-for-tags-flag.
1329 ;; Auto-highlight when set, per bmkp-auto-light-when-set.
1330 ;; bookmark--jump-via: Auto-highlight when jump, per bmkp-auto-light-when-jump.
1331 ;; Set BOOKMARK to result of bmkp-update-autonamed-bookmark.
1332 ;; Bind orig-buff when running hook.
1333 ;; bookmark-default-handler: Pass the bookmark too as an arg to bmkp-goto-position.
1334 ;; bookmark-relocate, bookmark-rename, bmkp-bmenu-list-1, bmkp-remove(-all)-tags, bmkp-add-tags:
1335 ;; Add 0 as FRAME arg to get-buffer-window.
1336 ;; bookmark-delete: Remove any highlighting on bookmark.
1337 ;; bmkp-bmenu-list-1: Add highlight-overrides indicator.
1338 ;; bmkp-completing-read-1: Added (not laxp) guard for first branch of main if.
1339 ;; bmkp-crosshairs-highlight: Assign a priority. Make the cmd a no-op for Emacs 20-21.
1340 ;; bmkp-choose-navlist-*, bmkp-navlist-bmenu-list, bmkp-jump-in-navlist*,
1341 ;; bmkp-cycle(-this-buffer*):
1342 ;; Set bmkp-current-nav-bookmark to bookmark, not to its name.
1343 ;; bmkp-update-autonamed-bookmark: Do not set bmkp-current-nav-bookmark to the name.
1344 ;; Call bmkp-refresh-menu-list even if menu list is not displayed.
1345 ;; Pass the bookmark name to bmkp-refresh-menu-list.
1346 ;; Return the updated BOOKMARK.
1347 ;; bmkp-refresh-menu-list: Set window point also.
1348 ;; bmkp-goto-position:
1349 ;; Added BOOKMARK arg. When bmkp-save-new-location-flag, update BOOKMARK. Return indicator.
1350 ;; bmkp-create-varlist-bookmark: Call bookmark-set with INTERACTIVEP arg.
1351 ;; bmkp-cycle(-this-buffer*): Added STARTOVERP arg. Pass OTHER-WINDOW, STARTOVERP to bmkp-cycle-1.
1352 ;; bmkp-cycle-1: Added STARTOVERP arg. If non-nil pop-up-frames, then inhibit showing annotation.
1353 ;; Use region only if bmkp-use-region value is cycling-too.
1354 ;; Use eq for *-list-position test. If *-list-position returns nil, then reset.
1355 ;; Use save-selected-window, unlesl OTHER-WINDOW.
1356 ;; bmkp-(next|previous)-bookmark(-this-buffer|-w32): Added STARTOVERP arg. C-u: start over at 1.
1357 ;; Bind highlight cmds: *-map: h,H,u,U,C-u,=,C-up|down. *-bmenu-*map: H+,H>+,H>H,HH,HS,H>U,HU.
1358 ;; *-jump-map: h. Bind TS in *-bmenu-*map.
1359 ;; Add bmkp-occur-create-autonamed-bookmarks to occur-mode-map as C-c b.
1360 ;; Menus: Added Highlight, Toggle Option. Added light to Jump To, Show, Mark, mouse. Reorder.
1361 ;; 2010/06/23 dadams
1362 ;; Split the change log off from file bookmark+-doc.el to new file bookmark+-chg.el.
1363 ;; 2010/06/21 dadams
1364 ;; Renamed: bmkp-toggle-autoname-bookmark-set/delete to bmkp-toggle-autonamed-bookmark-set/delete,
1365 ;; bmkp-autonamed-bookmarks-alist-only to bmkp-autonamed-this-buffer-alist-only,
1366 ;; bmkp-bookmark-autoname-p to bmkp-autonamed-bookmark-for-buffer-p,
1367 ;; Added: bmkp-autonamed-alist-only, bmkp-non-autonamed-alist-only, bmkp-autonamed-bookmark-p,
1368 ;; bmkp-completing-read-1: Use DEFAULT as default. Use just (not lax) - no non-t.
1369 ;; Use DEFAULT if empty input only if DEFAULT is non-nil.
1370 ;; bmkp-choose-navlist-of-type: Added pseudo-type "any".
1371 ;; bmkp-specific-buffers-alist-only: Exclude desktop etc. bookmarks.
1372 ;; bmkp-update-autonamed-bookmark: Arg can be a bookmark (not just name).
1373 ;; 2010/06/19 dadams
1374 ;; RENAMED bookmarkp* TO bmkp*. ***** THIS IS AN INCOMPATIBLE CHANGE ******
1375 ;;
1376 ;; If you have existing customizations, or if you have bookmarks that have the (internal) tag
1377 ;; "bmkp-jump", then YOU MUST REPLACE occurrences of "bookmarkp" by "bmkp" EVERYWHERE. This
1378 ;; includes replacing occurrences in (1) your bookmarks file (bookmark-default-file), (2) your
1379 ;; state file (bmkp-bmenu-state-file), and (3) your command file (bmkp-bmenu-commands-file).
1380 ;;
1381 ;; Changed *-bmenu-w32-open-select binding to M-o from M-v.
1382 ;; 2010/06/11 dadams
1383 ;; Wrap all (require '* nil t) in condition-case.
1384 ;; 2010/06/07 dadams
1385 ;; Fix deskstop bookmarks for Emacs < 22. Protect:
1386 ;; *-release-lock with fboundp, *-buffer-args-list with boundp, *-dir with Emacs version #,
1387 ;; 2010/05/30 dadams
1388 ;; Added: bookmarkp-(next|previous)-bookmark-w32(-repeat). Bound to C-x p (next|prior).
1389 ;; 2010/05/29 dadams
1390 ;; *-bmenu-list, *-choose-navlist-from-bookmark-list, *-bmenu-define(-full-snapshot)-command,
1391 ;; *-save-menu-list-state, -make-bookmark-list-record:
1392 ;; Add/restore bookmarkp-bmenu-filter-pattern to/from state.
1393 ;; *-jump-bookmark-list: Set bookmarkp-latest-bookmark-alist to bookmark-alist.
1394 ;; Reordered Bookmark menu and added items:
1395 ;; Set Bookmark, Delete Autonamed Bookmark, Delete All Autonamed Bookmarks Here,
1396 ;; Delete Bookmarks Here, Delete Bookmark, Rename Bookmark, Bookmark List for This Buffer,
1397 ;; Bookmark List for Navlist, Set Navlist to Bookmarks of Type,
1398 ;; Set Navlist from Bookmark-List Bookmark, Insert Bookmark Contents, Insert Bookmark Location.
1399 ;; Added to Bookmark+ menu: Set Navlist *.
1400 ;; Added to bookmarkp-bmenu-jump-menu: In Navigation List.
1401 ;; Added :enable entries for menu items.
1402 ;; Updated bookmark-bmenu-mode doc string for cycling, navlist, and options.
1403 ;; Corrected bindings of bookmarkp-jump-in-navlist(-other-window).
1404 ;; 2010/05/26 dadams
1405 ;; Added:
1406 ;; bookmarkp-choose-navlist-(from-bookmark-list|of-type), bookmarkp-crosshairs-highlight,
1407 ;; bookmarkp-cycle(-this-buffer)(-other-window), bookmarkp-delete-bookmarks,
1408 ;; bookmarkp-jump-in-navlist(-other-window), bookmarkp-navlist-bmenu-list,
1409 ;; bookmarkp-(next|previous)-bookmark(-this-buffer)(-repeat),
1410 ;; bookmarkp-toggle-autoname-bookmark-set/delete, bookmarkp-autoname-bookmark(-function),
1411 ;; bookmarkp-autonamed-bookmarks-alist-only, bookmarkp-autoname-format,
1412 ;; bookmarkp-bookmark-autoname-p, bookmarkp-crosshairs-flag,
1413 ;; bookmarkp-this-buffer-cycle-sort-comparer, bookmarkp-current-bookmark-list-state,
1414 ;; bookmarkp-cycle-1, bookmarkp-list-position, bookmarkp-position-cp,
1415 ;; bookmarkp-current-nav-bookmark, bookmarkp-cycle-this-buffer-buff, bookmarkp-nav-alist,
1416 ;; bookmarkp-update-autonamed-bookmark, bookmarkp-delete-all-autonamed-for-this-buffer.
1417 ;; Bound:
1418 ;; bookmarkp-choose-navlist-from-bookmark-list, bookmark-insert-location,
1419 ;; bookmarkp-navlist-bmenu-list, bookmarkp-choose-navlist-of-type, bookmarkp-delete-bookmarks,
1420 ;; bookmarkp-toggle-autoname-bookmark-set/delete, bookmarkp-jump-in-navlist(-other-window),
1421 ;; bookmarkp-(next|previous)-bookmark(-this-buffer)-repeat.
1422 ;; bookmark--jump-via: Update the name and position of an autonamed bookmark.
1423 ;; 2010/05/22 dadams
1424 ;; *-this-buffer-p: Return nil for bookmarks not really associated with a buffer.
1425 ;; *-default-handler, *-goto-position: Forgot comma to eval file-name when no-such-file error.
1426 ;; *-show-annotation: Bind buffer-read-only to nil for updating.
1427 ;; 2010/05/19 dadams
1428 ;; Added: bookmarkp-this-buffer-bmenu-list. Bound to `C-x p .'.
1429 ;; menu-bar-bookmark-map:
1430 ;; Added bookmarkp-this-buffer-bmenu-list. Added separators.
1431 ;; Added vanilla items edit, write, load, to impose order. Renamed item edit.
1432 ;; 2010/05/16 dadams
1433 ;; bookmark-set: Quoted history arg. Thx to S. Nemec.
1434 ;; bookmarkp-bmenu-define-full-snapshot-command: Use quote comma, not quote, for *-specific-*.
1435 ;; 2010/05/15 dadams
1436 ;; Replace *same-(buffer|file)-jump* by *specific-(buffers|files)-jump*: read multiple buff/files.
1437 ;; Renamed: *same-(buffer|file)* to *-last-specific-(buffer|file)* for pred, alist, and var.
1438 ;; Renamed: *same-(buffer|file)* to *specific-(buffer|file)* for hist, *types*, mark/show cmds.
1439 ;; Renamed: *-selected-buffers-alist* to *-specific-buffers-alist*.
1440 ;; Added: *-specific-files-alist*, *-(all|some)-tags(-regexp)-alist-only.
1441 ;; *-completing-read-(buffer|file)-name: Use (buffer|file)-name-history, not *-same-*-history.
1442 ;; *-read-tags-completing: Rewrote to correctly handle cons and string tags, error handling, etc.
1443 ;; *-bmenu-(add|remove)-tags-*-marked: Error handling.
1444 ;; *(all|some)-tags(-regexp)-jump*: Use *-(all|some)-tags(-regexp)-alist-only.
1445 ;; 2010/05/11 dadams
1446 ;; Added: bookmarkp-bmenu-mark-same-(buffer|file)-bookmarks, bookmarkp-this-(buffer|file)-p,
1447 ;; bookmarkp-this-(buffer|file)-alist-only, bookmarkp-bmenu-show-only-same-(buffer|file),
1448 ;; bookmarkp-completing-read-(buffer|file)-name, bookmarkp-same-(buffer|file)-history,
1449 ;; bookmarkp-(same|this)-(buffer|file)-alist-only, bookmarkp-last-same-(buffer|file),
1450 ;; bookmarkp-(same|this)-(buffer|file)-jump(-other-window), bookmarkp-(buffer|file)-names,
1451 ;; bookmarkp-same-(buffer|file)-as-last-p, bookmarkp-other-window-pop-to-flag,
1452 ;; bookmarkp-select-buffer-other-window.
1453 ;; Use bookmarkp-select-buffer-other-window instead of switch-to-buffer-other-window everywhere.
1454 ;; Bound = (b|f) (M|S), C-x j (=|.) (b|f) to (same|current)-(buffer|file) commands.
1455 ;; *-types-alist: Handle same-(buffer|file) too.
1456 ;; *-bmenu-list, *-bmenu-define-full-snapshot-command, *-save-menu-list-state:
1457 ;; Handle bookmarkp-last-same-(buffer|file) as part of state.
1458 ;; 2010/05/05 dadams
1459 ;; bookmarkp-create-varlist-bookmark, bookmarkp-make-varlist-record:
1460 ;; Added optional arg BUFFER-NAME.
1461 ;; bookmark-alist: Corrected doc string wrt BUFFER-NAME and region context strings.
1462 ;; 2010/05/04 dadams
1463 ;; Added: bookmarkp-create-varlist-bookmark.
1464 ;; bookmarkp-jump-varlist: If bookmark's buffer doesn't exist, use current buffer and show msg.
1465 ;; 2010/04/24 adams
1466 ;; Added: bookmarkp-bmenu-show-only-varlists, bookmarkp-set-restrictions-bookmark,
1467 ;; bookmarkp-set-varlist-bookmark, bookmarkp-varlist-jump, bookmarkp-varlist,
1468 ;; bookmarkp-jump-varlist, bookmarkp-make-varlist-record, bookmarkp-printable-p,
1469 ;; bookmarkp-printable-vars+vals, bookmarkp-read-variables-completing,
1470 ;; bookmarkp-read-variable, bookmarkp-varlist-alist-only, bookmarkp-varlist-bookmark-p,
1471 ;; bookmarkp-varlist-history.
1472 ;; Bound bookmarkp-bmenu-show-only-varlists to V S, bookmarkp-varlist-jump to C-x j v (and menu).
1473 ;; *-types-alist: Added bookmarkp-varlist-history.
1474 ;; *-bmenu-mode-status-help, *-bmenu-propertize-item, *-describe-bookmark: Handle varlist bmks.
1475 ;; *-bmenu-w32-open-select: Changed binding to M-v from V.
1476 ;; *-bmenu-mode: Updated doc string.
1477 ;; 2010/04/17 dadams
1478 ;; bookmark-set: Numeric prefix arg means use all bookmarks as completion candidates.
1479 ;; Simplified the prompt.
1480 ;; bookmarkp-completing-read-1:
1481 ;; Use icicle-transform-multi-completion in icicle-delete-candidate-object
1482 ;; Ensure loaded before byte-compile (put a require after provide).
1483 ;; Move bookmarkp-replace-regexp-in-string before macro bookmarkp-define-sort-command (uses it).
1484 ;; bookmarkp-bmenu-w32-open-with-mouse, bookmarkp-bmenu-mouse-3-menu:
1485 ;; Use with-current-buffer, not save-excursion of set-buffer.
1486 ;; bookmarkp-make-dired-record, bookmarkp-jump-dired: Use dolist, not mapcar (just side effect).
1487 ;; bookmarkp-(some|all)-tags-jump(-other-window): Removed extraneous arg in error call.
1488 ;; 2010/04/16 dadams
1489 ;; Added: bookmarkp-completing-read-1, bookmarkp-completing-read-lax,
1490 ;; bookmarkp-selected-buffers-alist-only.
1491 ;; bookmark-set: Use bookmark-completing-read-lax w/ buffer's bookmarks, not read-from-minibuffer.
1492 ;; bookmark-completing-read: Define using bookmarkp-completing-read-1.
1493 ;; 2010/04/09 dadams
1494 ;; bookmarkp-edit-bookmark: Update dired-directory property along with filename property.
1495 ;; 2010/03/28 dadams
1496 ;; bookmarkp-goto-position: Don't funcall bookmarkp-jump-display-function if it is nil.
1497 ;; 2010/03/28 dadams
1498 ;; bookmark-default-handler: Don't funcall bookmarkp-jump-display-function if it is nil.
1499 ;; 2010/03/27 dadams
1500 ;; Changed the customization group from bookmarkp to bookmark-plus.
1501 ;; Moved doc and change history from bookmark+.el to this new file, bookmark+-doc.el.
1502 ;; bookmarkp-commentary-button: Use bookmark+-doc.el, not bookmark+.el.
1503 ;; 2010/03/17 dadams
1504 ;; Added: bookmarkp-toggle-bookmark-set-refreshes, bookmarkp-refresh-latest-bookmark-list,
1505 ;; bookmarkp-after-set-hook.
1506 ;; 2010/03/16 dadams
1507 ;; Fixed parens placement (typo) for last change to define *-jump-woman for Emacs 20.
1508 ;; 2010/03/11 dadams
1509 ;; Define bookmarkp-jump-woman also for Emacs 20 (just raise an error).
1510 ;; *-show-annotation: Typo: bookmark -> bmk-name.
1511 ;; 2010/03/10 dadams
1512 ;; Added: bookmarkp-bookmark-creation-cp, bookmarkp-bmenu-sort-by-creation-time (bind: s0, menu).
1513 ;; *-make-record-default: Add entry: created.
1514 ;; *-describe-bookmark: Add creation time to description.
1515 ;; 2010/03/03 dadams
1516 ;; *-sort-and-remove-dups: Do not set bookmarkp-sorted-alist to the result.
1517 ;; *-bmenu-list-1: Set bookmarkp-sorted-alist to the result of calling *-sort-and-remove-dups.
1518 ;; 2010/03/02 dadams
1519 ;; Added: bookmarkp-sorted-alist.
1520 ;; *-bmenu-list-1: Use bookmarkp-sorted-alist.
1521 ;; *-sort-and-remove-dups: Set bookmarkp-sorted-alist to the result.
1522 ;; All *-cp (and hence *-define-file-sort-predicate):
1523 ;; Accept bookmark names as args, in addition to bookmarks.
1524 ;; bookmark-alpha-p: Don't use bookmarkp-make-plain-predicate, to avoid infinite recursion.
1525 ;; 2010/02/28 dadams
1526 ;; Added: bookmarkp-send-bug-report.
1527 ;; bookmarkp-bmenu-mode-status-help: Rewrote to provide only Bookmark+ help. Added help buttons.
1528 ;; Fixed Commentary typos.
1529 ;; 2010/02/26 dadams
1530 ;; Added: bookmarkp-desktop-change-dir, bookmarkp-desktop-kill, bookmarkp-desktop-delete.
1531 ;; *-jump-desktop: Call *-desktop-change-dir.
1532 ;; *-read-bookmark-for-type: Added optional arg ACTION.
1533 ;; 2010/02/24 dadams
1534 ;; *-bmenu-list: Handle case null last-bookmark-file (due to old file format). Thx to Seb Luque.
1535 ;; *-make-record-default: protect dired-buffers with boundp. Thx to Janek Schwarz.
1536 ;; 2010/02/16 dadams
1537 ;; bookmarkp-define-sort-command: Add msg suffix about repeating.
1538 ;; bookmarkp-msg-about-sort-order: Added optional arg SUFFIX-MSG.
1539 ;; 2010/02/15 dadams
1540 ;; Added: bookmark-bmenu-switch-other-window (redefinition for Emacs 20-22).
1541 ;; *-bmenu-mode: Added redefinition, instead of advising.
1542 ;; *-send-edited-annotation, *-relocate, *-rename, *-bmenu-refresh-menu-list,
1543 ;; *-remove(-all)-tags, *-add-tags:
1544 ;; Refresh the menu list, to pick up changes.
1545 ;; *-refresh-menu-list: Added optional arg BOOKMARK: go to it.
1546 ;; Do not bind bookmark-bmenu-relocate unless it's defined.
1547 ;; *-handler-cp: Respect case-fold-search.
1548 ;; 2010/02/14 dadams
1549 ;; Renamed bookmark-bmenu-list-1 to bookmarkp-bmenu-list-1.
1550 ;; Added faces: bookmarkp-(a|t|>|D)-mark, bookmarkp-heading (don't use bookmark-menu-heading).
1551 ;; Added redefinitions: bookmark-send-edited-annotation, bookmark(-bmenu)-show-annotation,
1552 ;; bookmark-show-all-annotations.
1553 ;; *-bmenu-mark, *-bmenu-delete, *-bmenu-list-1: Add faces to marks.
1554 ;; *-bmenu-list-1 and everywhere: Get rid of "% " before menu-list title.
1555 ;; *-bmenu-list-1: Use "a", not "*", as annotation mark.
1556 ;; Add "t" mark for tags. Add an extra space before bookmark name.
1557 ;; *-bmenu-marks-width: change value from 2 to 4, for the tags column and the extra space.
1558 ;; 2010/02/13 dadams
1559 ;; Added: bookmarkp-desktop-history,
1560 ;; bookmarkp-desktop-jump (bound to C-x j K; added to menu),
1561 ;; bookmarkp-bookmark-list-jump (bound to C-x j B; added to menu),
1562 ;; bookmarkp-bookmark-list-alist-only, bookmarkp-bookmark-list-history.
1563 ;; *-types-alist: Added entries for desktops and bookmark-lists.
1564 ;; *-describe-bookmark: Added optional arg, to show full (internal) info.
1565 ;; Bind it to ? in bookmark-map.
1566 ;; *-jump-bookmark-list: Pop to the bookmark-list (to show it).
1567 ;; *-bmenu-mark-w3m-bookmarks: Typo: wrong predicate.
1568 ;; *(-bmenu)-remove-all-tags: Raise error if no tags to remove.
1569 ;; *-bmenu-remove-all-tags: Require confirmation if interactive.
1570 ;; *-bmenu-remove-tags: Added optional arg MSGP.
1571 ;; Menus: Added "..." as needed.
1572 ;; *-bmenu-mouse-3-menu: Guard bookmark-bmenu-relocate with fboundp.
1573 ;; 2010/02/12 dadams
1574 ;; Added: bookmarkp-bmenu-define-jump-marked-command. Bound to M-c and added to menu.
1575 ;; Changed bookmarkp-toggle-saving-bookmark-file binding to M-~ (M-s conflicts w isearch-multi).
1576 ;; Updated bookmark-bmenu-mode doc string.
1577 ;; 2010/02/11 dadams
1578 ;; Added: bookmarkp-types-alist,
1579 ;; bookmarkp-(dired|gnus|info|man|region|w3m|(non-|local-|remote-)file)-history.
1580 ;; bookmark-completing-read: Added optional HIST arg.
1581 ;; *-(relocate|rename|insert(-location)): Added bookmark default for interactive use.
1582 ;; *-jump-dired: Handle bookmarkp-jump-display-function.
1583 ;; *-read-bookmark-for-type: Added optional HIST arg.
1584 ;; *-jump-to-type(-other-window),
1585 ;; *-(dired|file|gnus|info|man|region|w3m|(local-|non-|remote-)file)-jump*(-other-window):
1586 ;; Use type-specific history var.
1587 ;; 2010/02/09 dadams
1588 ;; Added: bookmarkp-get-tag-value.
1589 ;; bookmark--jump-via: Handle special bookmark tag bookmarkp-jump.
1590 ;; 2010/02/08 dadams
1591 ;; Renamed: bookmarkp-bmenu-dired-marked-local to bookmarkp-bmenu-dired-marked.
1592 ;; bookmarkp-bmenu-dired-marked: Handle remote bookmarks if Emacs > 23.1.
1593 ;; Support tags with values.
1594 ;; Added: bookmarkp-tag-name, bookmarkp-full-tag, bookmarkp(-bmenu)-set-tag-value.
1595 ;; Renamed variable (not fn) bookmarkp-tags-list to bookmarkp-tags-alist.
1596 ;; Use bookmarkp-full-tag everywhere for tag completion.
1597 ;; *-has-tag-p: Use assoc-default, not member.
1598 ;; *-read-tag(s)-completing: CANDIDATE-TAGS is now an alist.
1599 ;; *-list-all-tags: Added optional arg FULLP (prefix arg).
1600 ;; *-tags-list: Added optional arg NAMES-ONLY-P.
1601 ;; *-(add|remove|rename)-tags: Use copy-alist, not copy-sequence. Alist, not list, membership.
1602 ;; *-rename-tag: Raise error if no tag with old name.
1603 ;; *-bmenu-mark-bookmarks-tagged-regexp, *-regexp-filtered-tags-alist-only, *-describe-bookmark,
1604 ;; *-(all|some)-tags-regexp-jump(-other-window):
1605 ;; Use bookmarkp-tag-name.
1606 ;; *-bmenu-mark/unmark-bookmarks-tagged-(all|some)/(none|not-all), *-define-tags-sort-command:
1607 ;; Use assoc-default, not member.
1608 ;; Added: bookmarkp-bmenu-add-tags, bookmarkp-bmenu-remove(-all)-tags.
1609 ;; *-bmenu-mouse-3-menu: Use bookmarkp-bmenu-add-tags, bookmarkp-bmenu-remove(-all)-tags.
1610 ;; Added bookmarkp-bmenu-set-tag-value.
1611 ;; *-bmenu-mark-bookmarks-satisfying: Made it a command (interactive).
1612 ;; 2010/02/07 dadams
1613 ;; *-write-file: Corrected handling of ALT-MSG.
1614 ;; Cleanup.
1615 ;; *-remove-tags: Don't call *-get-tags twice.
1616 ;; *-bmenu-(un)mark-bookmarks-tagged(-not)-(all|none|some):
1617 ;; Don't duplicate what bookmarkp-read-tags-completing does.
1618 ;; *-add-tags, *-remove-tags(-from-all): TAGS arg must be a list from the beginning.
1619 ;; *-remove-tags-from-all, *-rename-tag: Use bookmark-all-names - don't mapcar car over alist.
1620 ;; *-all-tags-regexp-jump: Corrected to use same pred as *-all-tags-regexp-jump-other-window.
1621 ;; *-(some|all)-tags-jump(-other-window): Use bookmarkp-has-tag-p - don't repeat the definition.
1622 ;; *-read-tag(s)-completing: Removed unnecessary or.
1623 ;; 2010/02/06 dadams
1624 ;; *-write-file, *-empty-file: Corrected handling of ALT-MSG.
1625 ;; 2010/02/05 dadams
1626 ;; Added: bookmarkp-same-file-p, bookmarkp-empty-file.
1627 ;; Bound bookmarkp-empty-file to C-x p 0, and added it to menus.
1628 ;; *-bmenu-list, *-switch-bookmark-file: Use bookmarkp-same-file-p.
1629 ;; bookmark-write-file: Added optional ALT-MSG arg.
1630 ;; 2010/02/04 dadams
1631 ;; Added: bookmarkp-bmenu-omit, bookmarkp-list-all-tags. Added to mouse-3 menu, Tags menus.
1632 ;; 2010/02/01 dadams
1633 ;; Added: bookmarkp-current-bookmark-file, bookmarkp-switch-bookmark-file,
1634 ;; (redefinition of) bookmark-load, (redefinition of) bookmark-save,
1635 ;; bookmarkp-toggle-saving-bookmark-file, bookmarkp-last-save-flag-value.
1636 ;; *-bmenu-list: Restore bookmarkp-current-bookmark-file if appropriate.
1637 ;; *-bmenu-mode-status-help: Show bookmarkp-current-bookmark-file.
1638 ;; *-bmenu-define-full-snapshot-command, *-save-menu-list-state:
1639 ;; Save bookmarkp-current-bookmark-file.
1640 ;; Bound bookmarkp-switch-bookmark-file to L and C-x r L. Added both load commands to both menus.
1641 ;; *-toggle-saving-menu-list-state: Changed binding to M-l. Error if init value is nil.
1642 ;; Bound *-toggle-saving-bookmark-file to M-s and added to menu.
1643 ;; Added bookmark-write to bookmarkp-bmenu-menubar-menu (Save As).
1644 ;; bookmarkp-bmenu-menubar-menu: Added :help strings everywhere.
1645 ;; bookmarkp-bmenu-mode-status-help: Added face legend.
1646 ;; 2010/01/31 dadams
1647 ;; Added: bookmarkp-tags-list, bookmarkp-read-tag-completing, bookmarkp-use-w32-browser-p,
1648 ;; bookmarkp-bmenu-w32-open(-select|-with-mouse). Bind *-w32* to M-RET, V, M-mouse-2.
1649 ;; *-default-handler: Call w32-browser if bookmarkp-use-w32-browser-p.
1650 ;; *-bmenu-unomit-marked: Don't try to return to original position (duh).
1651 ;; *-bmenu-goto-bookmark-named: Use eobp as loop condition. Call bookmark-bmenu-ensure-position.
1652 ;; *-read-tags-completing:
1653 ;; Added arg UPDATE-TAGS-LIST-P. Call bookmark-maybe-load-default-file.
1654 ;; Use bookmarkp-tags-list if CANDIDATE-TAGS is nil. Update that var if UPDATE-TAGS-LIST-P.
1655 ;; *-(add|remove)-tags: Added arg NO-CACHE-UPDATE-P. If nil, call bookmarkp-tags-list.
1656 ;; *-remove-tags-from-all, *-rename-tag, *-bmenu-(add|remove)-tags-(to|from)-marked:
1657 ;; Call bookmarkp-tags-list.
1658 ;; *-remove-tags-from-all: Pass nil as tags arg to bookmarkp-read-tags-completing.
1659 ;; *-rename-tag: Use bookmarkp-read-tag-completing, not read-string.
1660 ;; 2010/01/29 dadams
1661 ;; bookmarkp-describe-bookmark: Handle desktop bookmarks specifically.
1662 ;; Added: bookmarkp-menu-popup-max-length.
1663 ;; bookmark-completing-read: Use bookmarkp-menu-popup-max-length.
1664 ;; bookmarkp-bmenu-state-file: Added missing default value for const.
1665 ;; Don't add jump-other entry to menu-bar-bookmark-map (just use Jump To submenu).
1666 ;; 2010/01/28 dadams
1667 ;; bookmarkp-(all|some)-tags(-regexp)-jump(-other-window): Error if no bookmarks with the tags.
1668 ;; bookmarkp-(all|some)-tags-jump(-other-window): Handle case where user enters no tags.
1669 ;; Use :advertised-binding property for bookmark-jump(-other-window).
1670 ;; Added: bookmarkp-bmenu-jump-menu.
1671 ;; Added bookmarkp-bmenu-jump-menu to menu-bar-bookmark-map and bookmarkp-bmenu-menubar-menu.
1672 ;; 2010/01/27 dadams
1673 ;; Added: bookmarkp-every, bookmarkp-(all|some)-tags(-regexp)-jump(-other-window).
1674 ;; 2010/01/26 dadams
1675 ;; Added: bookmarkp-bmenu-dired-marked-local. Bound to M-d >.
1676 ;; 2010/01/23 dadams
1677 ;; Added: bookmarkp-handler-cp, bookmarkp-desktop-no-save-vars, bookmarkp-set-desktop-bookmark,
1678 ;; bookmarkp-make-desktop-record, bookmarkp-jump-desktop, bookmarkp-desktop-read,
1679 ;; bookmarkp-desktop-alist-only, bookmarkp-desktop-bookmark-p,
1680 ;; bookmarkp-bmenu-mark-desktop-bookmarks, bookmarkp-bmenu-show-only-desktops,
1681 ;; face bookmarkp-desktop.
1682 ;; bookmarkp-bmenu-sort-by-bookmark-type: Add bookmarkp-handler-cp to the list (last).
1683 ;; bookmarkp-bmenu-propertize-item: Add face bookmarkp-desktop for desktop bookmarks.
1684 ;; Bound: bookmarkp-set-desktop-bookmark to C-x p K, C-x r K,
1685 ;; bookmarkp-bmenu-mark-desktop-bookmarks to K M (and Mark menu),
1686 ;; bookmarkp-bmenu-show-only-desktops to K S (and Show menu).
1687 ;; bookmark-bmenu-mode doc string: Updated for new commands.
1688 ;; Added autoload cookies for all defcustoms.
1689 ;; 2010/01/20 dadams
1690 ;; Added: bookmarkp-bmenu-mode-status-help. Bound to C-h m, ?.
1691 ;; 2010/01/19 dadams
1692 ;; bookmarkp-remote-file-bookmark-p: Include remote Dired bookmarks. Thx to Simon Harrison.
1693 ;; Added: bookmarkp-describe-bookmark-internals, bookmarkp-bmenu-describe-this+move-(down|up),
1694 ;; defalias for list-bookmarks.
1695 ;; bookmarkp-describe-bookmark: Reformatted help output. Added more info about Dired bookmarks.
1696 ;; bookmarkp-bmenu-describe-this-bookmark:
1697 ;; C-u calls bookmarkp-describe-bookmark-internals. Bound also to C-h C-RET.
1698 ;; 2010/01/18 dadams
1699 ;; Added: bookmarkp-dired-subdirs.
1700 ;; bookmarkp-make-dired-record, bookmarkp-jump-dired: Handle inserted and hidden dirs.
1701 ;; bookmarkp-jump-dired: Use expand-file-name, not concat.
1702 ;; 2010/01/17 dadams
1703 ;; Added:
1704 ;; bookmarkp-jump(-other-window)-map, bookmarkp-jump-1, bookmark-all-names (redefined),
1705 ;; bookmarkp-read-bookmark-for-type, bookmarkp-dired-jump-current(-other-window),
1706 ;; bookmarkp-(dired|(local-|remote-|non-)file|gnus|info|man|region|w3m)-jump(-other-window),
1707 ;; bookmarkp-jump-to-type(-other-window).
1708 ;; bookmark-jump(-other-window): Use bookmarkp-jump-1.
1709 ;; bookmark-completing-read: Added optional args ALIST and PRED.
1710 ;; bookmarkp-default-bookmark-name: Added optional arg ALIST.
1711 ;; 2010/01/14 dadams
1712 ;; bookmark-bmenu-surreptitiously-rebuild-list: Put back save-excursion & save-window-excursion.
1713 ;; 2010/01/02 dadams
1714 ;; Renamed *-bmenu-check-position to *-bmenu-ensure-position, per Emacs 23.2. Added defalias.
1715 ;; 2010/01/01 dadams
1716 ;; *-bmenu-(un)mark, *-bmenu-other-window, *-bmenu-rename: Call bookmark-bmenu-check-position.
1717 ;; *-bmenu-delete: Don't call bookmark-bmenu-check-position again at end.
1718 ;; *-bmenu-edit-bookmark: Call bookmark-bmenu-check-position at beginning, not end.
1719 ;; 2009/12/30 dadams
1720 ;; Added: bookmarkp-bmenu-header-lines, bookmarkp-bmenu-marks-width. Use everywhere.
1721 ;; 2009/12/29 dadams
1722 ;; Added: bookmarkp-make-bookmark-list-record, bookmarkp-jump-bookmark-list, face
1723 ;; bookmarkp-bookmark-list.
1724 ;; *-bmenu-propertize-item: Highlight bookmark-list bookmarks.
1725 ;; *-bmenu-refresh-menu-list: Set bookmarkp-latest-bookmark-alist to refreshed list.
1726 ;; Face *-local-directory: Made dark background version the inverse of light.
1727 ;; *-bmenu-list-1: Use eq, not equal, test for bookmarkp-omitted-alist-only as filter fn.
1728 ;; *-bmenu-define(-full-snapshot)-command: Include bookmarkp-bmenu-omitted-list in saved state.
1729 ;; 2009/12/26 dadams
1730 ;; Added: bookmarkp-bmenu-omitted-list, bookmarkp-bmenu-show-only-omitted, bookmarkp-unomit-all,
1731 ;; bookmarkp-bmenu-omit/unomit-marked, bookmarkp-bmenu-(un-)omit-marked,
1732 ;; bookmarkp-omitted-alist-only.
1733 ;; Bind *-bmenu-omit/unomit-marked, *-bmenu-show-only-omitted, *-unomit-all to O>,OS,OU.
1734 ;; Added omit/un-omit stuff to Bookmark+ menu.
1735 ;; bookmarkp-remove-assoc-dups, bookmarkp-sort-and-remove-dups: Added optional arg OMIT.
1736 ;; bookmark-delete: Update bookmarkp-bmenu-omitted-list.
1737 ;; bookmarkp-save-menu-list-state, bookmark-bmenu-list:
1738 ;; Save/restore bookmarkp-bmenu-omitted-list as part of state.
1739 ;; bookmark-bmenu-list-1: Treat omitted list when bookmarkp-omitted-alist-only.
1740 ;; bookmarkp-marked-bookmark-p: Arg can now be a bookmark (or a bookmark name).
1741 ;; bookmarkp-bmenu-unmark-all: Start by going forward 2 lines, not 1, if user hit RET.
1742 ;; bookmarkp-bmenu-make-sequence-from-marked:
1743 ;; Added optional arg DONT-OMIT-P. If nil, omit marked bookmarks.
1744 ;; If the seq bookmark already exists, prompt to add to it or replace it.
1745 ;; Go to the new bookmark in the menu list.
1746 ;; 2009/12/15 dadams
1747 ;; Added: bookmarkp-sequence-jump-display-function, bookmarkp-sequence, bookmarkp-function,
1748 ;; bookmarkp-bmenu-make-sequence-from-marked, bookmarkp-jump-sequence,
1749 ;; bookmarkp-sequence-bookmark-p, bookmarkp-make-function-bookmark,
1750 ;; bookmarkp-jump-function, bookmarkp-function-bookmark-p.
1751 ;; bookmarkp-describe-bookmark: Update for sequence and function bookmarks.
1752 ;; bookmark-bmenu-list: Use condition-case when read from bookmarkp-bmenu-state-file.
1753 ;; Bind emacs-lisp-mode-hook to nil.
1754 ;; bookmark-bmenu-surreptitiously-rebuild-list: Use save-current-buffer.
1755 ;; bookmarkp-bmenu-propertize-item: Add faces to function and sequence bookmarks.
1756 ;; bookmarkp-bmenu-menubar-menu: Add *-make-sequence-*-from-marked, *-make-function-bookmark.
1757 ;; bookmark--jump-via: Call *-record-visit with BATCH arg, to preserver point in menu list.
1758 ;; bookmark-bmenu-list-1: fit-frame only if buffer is *Bookmark List*.
1759 ;; 2009/12/13 dadams
1760 ;; *-alist-only: Call bookmark-maybe-load-default-file.
1761 ;; 2009/12/11 dadams
1762 ;; Added: bookmarkp-list-defuns-in-commands-file, bookmarkp-remove-dups.
1763 ;; 2009/12/06 dadams
1764 ;; Added: bookmarkp-bmenu-mouse-3-menu (bound to mouse-3),
1765 ;; bookmarkp-bmenu-(menubar|define-command|sort|show|tags|mark)-menu.
1766 ;; bookmark-bmenu-delete: Remove newly flagged bookmark from bookmarkp-bookmark-marked-list.
1767 ;; bookmarkp-define-tags-sort-command: Save macroexpanded definition in
1768 ;; bookmarkp-bmenu-commands-file.
1769 ;; 2009/12/04 dadams
1770 ;; Added: bookmarkp-bmenu-define-full-snapshot-command (bound to C),
1771 ;; bookmarkp-define-tags-sort-command.
1772 ;; bookmarkp-bmenu-mark-bookmarks-tagged-regexp: Removed extra forward-line if we mark line.
1773 ;; 2009/12/03 dadams
1774 ;; Added: bookmarkp-bmenu-define-command (bound to c), bookmarkp-bmenu-commands-file.
1775 ;; bookmark-bmenu-list: Read bookmarkp-bmenu-commands-file.
1776 ;; bookmarkp-sort-and-remove-dups: Bug fix - return the list even when null sort function.
1777 ;; 2009/11/01 dadams
1778 ;; Added: *-bmenu-check-position (redefinition), bmkext-jump-* defaliases.
1779 ;; *-(w3m|man|gnus)-bookmark-p: Recognize the aliases.
1780 ;; *-jump-man: Bind Man-notify-method.
1781 ;; *-bmenu-goto-bookmark-named: Check the text property, instead of searching.
1782 ;; *-bmenu-bookmark: Wrap in condition-case.
1783 ;; 2009/10/31 dadams
1784 ;; Added: bookmark-bmenu-list-1. bookmarkp-toggle-saving-menu-list-state (C-t),
1785 ;; bookmarkp-bmenu-state-file, bookmarkp-bmenu-first-time-p,
1786 ;; bookmarkp-last-bmenu-(bookmark|state-file), bookmark-exit-hook-internal
1787 ;; (redefinition), bookmarkp-save-menu-list-state.
1788 ;; bookmark-bmenu-list: Restore menu-list state if appropriate. Call bookmark-bmenu-list-1.
1789 ;; bookmarkp-bmenu-quit: If *-bmenu-state-file is non-nil, save the state.
1790 ;; bookmark-write-file: Use case, not cond.
1791 ;; bookmark-set: Use command name as default for man-page bookmark name.
1792 ;; bookmark-delete: Update bookmarkp-latest-bookmark-alist.
1793 ;; 2009/10/28 dadams
1794 ;; Renamed: bookmarkp-bookmark-marked-p to bookmarkp-marked-bookmark-p
1795 ;; bookmarkp-bmenu-sort-by-gnus-thread to bookmarkp-bmenu-sort-by-Gnus-thread.
1796 ;; Added: bookmarkp-man, bookmarkp-make-(wo)man-record, bookmarkp-jump-(wo)man,
1797 ;; bookmarkp-man-bookmark-p, bookmarkp-bmenu-mark-man-bookmarks,
1798 ;; bookmarkp-bmenu-show-only-man-pages, bookmarkp-man-alist-only.
1799 ;; *-bmenu-propertize-item: Handle (wo)man bookmarks. Use bookmarkp-info-bookmark-p.
1800 ;; *-regexp-filtered-*: Use bookmarkp-remove-if-not.
1801 ;; *-write-file: Remove text properties from file name also.
1802 ;; *-regexp-filtered-(tags|(bookmark|file)-name)-alist-only: Use *-remove-if-not.
1803 ;; 2009/10/26 dadams
1804 ;; Added: bookmarkp-bmenu-mark-*-bookmarks, bmenu-mark-bookmarks-satisfying.
1805 ;; Bound those and *-show-only-* accordingly.
1806 ;; bookmarkp-file-alist-only: Redefined to just use *-file-bookmark-p.
1807 ;; 2009/10/25 dadams
1808 ;; bookmarkp-bmenu-propertize-item: Put bookmark name on line as text property.
1809 ;; bookmark-bmenu-bookmark: Get bookmark name from text property bookmarkp-bookmark-name.
1810 ;; Removed: bookmarkp-latest-sorted-alist.
1811 ;; bookmark-bmenu-list: Use bookmarkp-bmenu-title only if defined.
1812 ;; 2009/10/21 dadams
1813 ;; Added: bookmarkp-barf-if-not-in-menu-list. Use in place of its body.
1814 ;; Added: bookmarkp-bmenu-mark-bookmarks-tagged-regexp. Bound to T m %.
1815 ;; Added: bookmarkp-record-visit. Use in *--jump-via. Replaces next two removals.
1816 ;; Removed: bookmarkp-add-or-update-time, bookmarkp-increment-visits.
1817 ;; Renamed: *-record-(end|front|rear)-context(-region)-string'.
1818 ;; New names: bookmarkp-(end-)position-(pre|post)-context(-region).
1819 ;; *-bmenu-describe-this-bookmark: Added *-barf-if-not-in-menu-list.
1820 ;; *-bmenu-(un)mark-all, *-bmenu-regexp-mark, *-bmenu-toggle-marks:
1821 ;; Removed with-current-buffer.
1822 ;; 2009/10/20 dadams
1823 ;; Added: bookmarkp-bmenu-filter-function, bookmarkp-bmenu-title.
1824 ;; Removed: bookmarkp-bmenu-called-from-inside-p.
1825 ;; *-bmenu-list:
1826 ;; Removed TITLE arg. Get title from bookmarkp-bmenu-title or default.
1827 ;; Use interactive-p and absence of menu list, not *-bmenu-called-from-inside-p, as the
1828 ;; criterion for removing marks. Fixes bugs such as bookmark creation removing marks.
1829 ;; *-define-sort-command, *-bmenu-execute-deletions, *-increment-visits,
1830 ;; *-add-or-update-time, *-bmenu-show-only-*, *-bmenu-show-all,
1831 ;; *-bmenu-refresh-menu-list, *-bmenu-toggle-show-only-(un)marked,
1832 ;; *-bmenu-filter-alist-by-regexp, *-bmenu-reverse(-multi-sort)-order,
1833 ;; *-bmenu-change-sort-order:
1834 ;; Do not bind or set *-called-from-inside-p.
1835 ;; *-bmenu-show-only-*, *-bmenu-show-all, *-bmenu-filter-alist-by-regexp:
1836 ;; Set *-bmenu-filter-function, *-bmenu-title.
1837 ;; *-bmenu-show-all:
1838 ;; Set *-latest-bookmark-alist to bookmark-alist.
1839 ;; *-bmenu-refresh-menu-list: Fix so that it in fact refreshes.
1840 ;; Do not use *-bmenu-surreptitiously-rebuild-list and *-bmenu-check-position.
1841 ;; Bind bookmark-alist to last alist (filtered or not), and call *-bmenu-list.
1842 ;; *-bmenu-surreptitiously-rebuild-list:
1843 ;; Do not use save*-excursion. Do not get current title and pass it to *-bmenu-list.
1844 ;; *-file-alist-only:
1845 ;; Removed optional arg. We have *-local-file-alist-only for that.
1846 ;; *-regexp-filtered-alist-only, *-bmenu-filter-alist-by-regexp:
1847 ;; Remove REGEXP arg - use bookmarkp-bmenu-filter-pattern.
1848 ;; *-bmenu-filter-incrementally:
1849 ;; Raise error if not in *Bookmark List*.
1850 ;; Use just bookmarkp-bmenu-filter-alist-by-regexp in timer - pass no regexp arg.
1851 ;; Added: bookmarkp-some, *-bmenu-filter-(file-name|tags)-incrementally,
1852 ;; *-bmenu-filter-alist-by-(file-name|tags)-regexp,
1853 ;; *-regexp-filtered-(file-name|tags)-alist-only.
1854 ;; Renamed: *-bmenu-filter-incrementally to *-bmenu-filter-bookmark-name-incrementally,
1855 ;; *-bmenu-filter-alist-by-regexp to *-bmenu-filter-alist-by-bookmark-name-regexp,
1856 ;; *-regexp-filtered-alist-only to *-regexp-filtered-bookmark-name-alist-only.
1857 ;; Bound these commands to P B, P F, and P T. Updated bookmark-bmenu-mode doc string.
1858 ;; 2009/10/18 dadams
1859 ;; Added: *-bmenu-filter-(incrementally|delay|prompt|pattern|timer|alist-by-regexp),
1860 ;; *-bmenu-read-filter-input, *-regexp-filtered-alist-only,
1861 ;; *-bmenu-cancel-incremental-filtering.
1862 ;; *-bmenu-execute-deletions: Don't update menu list if this is a no-op.
1863 ;; Updated Commentary.
1864 ;; Thx to Thierry Volpiatto.
1865 ;; Added: *-marked-cp, *-bmenu-sort-marked-before-unmarked. Bound to s >.
1866 ;; *-define-sort-command: Use copy-sequence for default value.
1867 ;; 2009/10/17 dadams
1868 ;; Added: *-read-tags-completing, *-set-union, *-tag-history, *-describe-bookmark,
1869 ;; *-bmenu-describe-this-bookmark. Bound *-bmenu-describe-this-bookmark to C-h RET.
1870 ;; Use *-read-tags-completing instead of *-read-tags.
1871 ;; *-sort-orders-for-cycling-alist: Use copy-sequence.
1872 ;; *-bmenu-change-sort-order: Use member, not memq.
1873 ;; *-get-bookmark: Handle case of non-string, non-cons. Document NOERROR in doc string.
1874 ;; *-bmenu-execute-deletions: Fix so marks aren't removed if when delete. Thx to Thierry.
1875 ;; Convert recorded time to an Emacs time spec:
1876 ;; *-make-record-default, -add-or-update-time: Use current-time, not bookmark-float-time.
1877 ;; *-get-visit-time: Convert a deprecated time entry to an Emacs time spec.
1878 ;; *-bookmark-last-access-cp: Convert recorded time to a number for comparison.
1879 ;; Added: *-bmenu-show-filenames (redef of vanilla: put props on whole line, fit frame).
1880 ;; Removed: old-bookmark-insert-location.
1881 ;; *-insert-location: Do not call original. Redefined: do not add text properties.
1882 ;; *-bmenu-list, *-bmenu-hide-filenames: Put properties on line up to max width.
1883 ;; *-bmenu-goto-bookmark-named: Allow trailing whitespace, since we use the whole line now.
1884 ;; *-bmenu-list: Use pop-to-buffer, not switch-to-buffer. Use do-list, not mapcar.
1885 ;; *-bmenu-hide-filenames: fit-frame-if-one-window.
1886 ;; *-bmenu-propertize-item: Better help-echo text.
1887 ;; Updated bookmark-alist doc string to mention visits, time, and tags entries.
1888 ;; 2009/10/16 dadams
1889 ;; Added tags feature.
1890 ;; Added: *-(get|read)-tags, *-has-tag-p, *-remove(-all)-tags(-from-all),
1891 ;; *-bmenu-remove-tags-from-marked, *-add-tags(-to-marked), *-rename-tag,
1892 ;; *-bmenu-(un)mark-bookmarks-tagged-(all|none|some|not-all),
1893 ;; *-bmenu-mark/unmark-bookmarks-tagged-(all/none|some/not-all).
1894 ;; Bound to prefix key T.
1895 ;; *-bmenu-mode: Updated doc string.
1896 ;; Added: bookmarkp-default-bookmark-name. Use as default instead of *-current-bookmark.
1897 ;; Renamed: *-maybe-save-bookmark to *-maybe-save-bookmarks.
1898 ;; Menu-list commands: Raise an error if command is used outside the menu list.
1899 ;; 2009/10/15 dadams
1900 ;; Added: *-bmenu-(search|query-replace)-marked-bookmarks-regexp. Bound to M-a, M-q.
1901 ;; Renamed: *-non-marked-bookmarks-only to *-unmarked-bookmarks-only,
1902 ;; *-bookmark-marked-alist to *-bmenu-marked-bookmarks.
1903 ;; *-increment-visits, *-add-or-update-time:
1904 ;; Set *-bmenu-called-from-inside-p to t, so we don't remove marks.
1905 ;; Redefined *-bmenu-bookmark to get name from *-latest-sorted-alist. Thx to Thierry V.
1906 ;; *-bmenu-surreptitiously-rebuild-list, *-bmenu-list:
1907 ;; Removed optional arg DONT-TOGGLE-FILENAMES-P.
1908 ;; *-bmenu-execute-deletions, *-bmenu-toggle-show-only-(un)marked, *-bmenu-(un)mark-all,
1909 ;; *-bmenu-regexp-mark, *-bmenu-toggle-marks:
1910 ;; Do not bother with *-bmenu-toggle-filenames and rebuilding the menu list.
1911 ;; 2009/10/14 dadams
1912 ;; Added: *-bmenu-delete (redefinition), *-isearch-bookmarks,
1913 ;; *-bmenu-isearch(-marked)-bookmarks(-regexp), *-isearch-next-bookmark-buffer.
1914 ;; Bound multi-isearch commands to M-s a C(-M)-s.
1915 ;; 2009/10/13 dadams
1916 ;; Added: *-make-dired-record, *-jump-dired, *-dired-bookmark-p, *-dired-alist-only,
1917 ;; *-bmenu-show-only-dired. Bound *-bmenu-show-only-dired to M-d.
1918 ;; bookmarkp-file-bookmark-p: Include bookmarks that have the Dired handler.
1919 ;; Moved *-sort-orders-for-cycling-alist defcustoms after *-define-sort-command calls.
1920 ;; Call bookmarkp-msg-about-sort-order only when interactive.
1921 ;; *-add-or-update-time, *-increment-visits: Do not save each time we access a bookmark.
1922 ;; Updated doc string of bookmark-alist and Commentary.
1923 ;; 2009/10/09 dadams
1924 ;; Added: bookmarkp-bmenu-delete-marked. Bound it to D.
1925 ;; bookmarkp-sort-orders-for-cycling-alist.
1926 ;; Renamed: bookmarkp-sort-functions-alist to bookmarkp-sort-orders-alist,
1927 ;; bookmarkp-sort-function to bookmarkp-sort-comparer.
1928 ;; bookmark-bmenu-execute-deletions: Added optional arg, for *-bmenu-delete-marked.
1929 ;; *-sort-function: Changed default value to sorting by bookmark type (`s k').
1930 ;; *-bmenu-change-sort-order: Use *-sort-orders-for-cycling-alist, not all sort orders.
1931 ;; Updated Commentary and doc string (bookmark-bmenu-mode).
1932 ;; 2009/10/08 dadams
1933 ;; Added: *-bmenu-sort-by-(w3m-url|gnus-thread), *-(gnus|w3m)-cp, *-cp-not,
1934 ;; *-local-file-(accessed|updated)-more-recently-cp, *-bmenu-sort-by-bookmark-type.
1935 ;; Renamed: *-bmenu-sort-by(-last)-file-(size|type|access|update) to
1936 ;; *-bmenu-sort-by(-last)-local-file-(size|typeaccess|update),
1937 ;; *-file-visited-more-recently-cp to *-local-file-accessed-more-recently-cp,
1938 ;; *-file-(size|type)-cp to *-local-file-(size|type)-cp.
1939 ;; Removed: *-file-(device|gid(-chg)|inode|last-(access|update|status-change)|links|modes
1940 ;; |uid)-cp.
1941 ;; Bound *-bmenu-sort-by-bookmark-type to `s k'.
1942 ;; *-define-file-sort-predicate: Use *-file-bookmark-p, not *-local-file-bookmark-p.
1943 ;; *-msg-about-sort-order: Added optional arg PREFIX-ARG. Use in: *-show-(all|only-*).
1944 ;; 2009/10/07 dadams
1945 ;; Renamed: *-bmenu-sort-by-last-visit-time to *-bmenu-sort-by-last-bookmark-access,
1946 ;; *-bmenu-sort-by-visit-frequency to *-bmenu-sort-by-bookmark-visit-frequency,
1947 ;; *-visited-more-recently-cp to *-bookmark-last-access-cp.
1948 ;; 2009/10/06 dadams
1949 ;; Added: bookmarkp-msg-about-sort-order.
1950 ;; bookmark-completing-read: Simple sort when use menu-bar menu.
1951 ;; 2009/10/05 dadams
1952 ;; Added: *-make-plain-predicate, *-reverse-multi-sort-order, *-multi-sort,
1953 ;; *-define-file-sort-predicate, *-bmenu-sort-by-file-*, *-file-attribute-*-cp,
1954 ;; and aliases *-file-*-cp, *-current-sort-order.
1955 ;; Redefined sorting to allow multi-predicates:
1956 ;; Redefined: *-sort-function, *-sort-and-remove-dups, *-define-sort-command,
1957 ;; *-sort-functions-alist.
1958 ;; Bound keys with `s f' prefix to file-sorting commands
1959 ;; *-current-sort-order: Use rassoc instead of rassq now.
1960 ;; Swap keys s and S. S is now bookmark-bmenu-save. s is not the sorting prefix key.
1961 ;; bookmark-bmenu-mode: Mention S key explicitly here (even though it is also
1962 ;; mentioned in the vanilla part of the doc string).
1963 ;; 2009/10/04 dadams
1964 ;; *-bmenu-change-sort-order-repeat: Require repeat.el.
1965 ;; Renamed: bookmarkp-current-sec-time to bookmarkp-float-time.
1966 ;; *-float-time: Added arg, so it's the same as float-time (for Emacs 20).
1967 ;; Bind *-reverse-sort-order to `S R'.
1968 ;; *-remote-file-bookmark-p: Removed extra rem-file in last and.
1969 ;; *-non-file-bookmark-p: Ensure it's not a remote file, before calling file-exists-p.
1970 ;; 2009/10/03 dadams
1971 ;; Added: bookmarkp-file-remote-p, bookmarkp-buffer (face).
1972 ;; bookmarkp-non-file (face): Changed to gray.
1973 ;; *-default-handler, *-bmenu-propertize-item, *-(info|file)-bookmark-p:
1974 ;; Support Emacs 20-21 Info-node bookmarks.
1975 ;; bookmarkp-bmenu-propertize-item: Use different face for existing buffers.
1976 ;; Use bookmarkp-non-file-filename.
1977 ;; bookmarkp-non-file-bookmark-p: Include buffer bookmarks for nonexistent buffers.
1978 ;; bookmarkp-remote-file-bookmark-p: Use bookmarkp-file-remote-p.
1979 ;; bookmark-handle-bookmark:
1980 ;; Redefine for all Emacs versions. Handle buffer (non-file) bookmarks.
1981 ;; Reordered some function definitions.
1982 ;; 2009/10/02 dadams
1983 ;; Added: bookmarkp-bmenu-goto-bookmark-named, bookmarkp-latest-sorted-alist.
1984 ;; *-sort-and-remove-dups: Set *-latest-sorted-alist (not used yet).
1985 ;; *-define-sort-command, *-bmenu-change-sort-order, *-reverse-sort-order:
1986 ;; Bind *-bmenu-called-from-inside-p to t, to prevent losing marks.
1987 ;; Restore cursor position to same bookmark after sorting - use *-goto-bookmark-named.
1988 ;; *-bmenu-surreptitiously-rebuild-list, *-bmenu-list: Added arg DONT-TOGGLE-FILENAMES-P.
1989 ;; *-bmenu-execute-deletions, *-bmenu-toggle-show-only-(un)marked:
1990 ;; Call *-surreptitiously-* with arg DONT-TOGGLE-FILENAMES-P.
1991 ;; *-bmenu-hide-filenames: Simplify - don't get to position by searching backward.
1992 ;; *-handle-region-default: Use forward-line, not goto-line.
1993 ;; Thx to Thierry V.
1994 ;; 2009/10/01 dadams
1995 ;; Added: bookmarkp-some-unmarked-p.
1996 ;; Renamed: *-bmenu-toggle-show-only-<TYPE> to *-bmenu-show-only-<TYPE>,
1997 ;; *-bmenu-called-from-inside-flag to *-bmenu-called-from-inside-p.
1998 ;; bookmarkp-some-marked-p: Do not test bookmarkp-bookmark-marked-alist.
1999 ;; Arg must be required (explicit). Changed calls accordingly.
2000 ;; bookmark-bmenu-mode: Cleaned up doc string.
2001 ;; bookmark-bmenu-((un)mark|rename|edit-*|toggle-marks|surreptitiously-rebuild-list),
2002 ;; bookmarkp-root-or-sudo-logged-p, bookmarkp-jump-w3m-(new-session|only-one-tab),
2003 ;; bookmarkp-some-marked-p:
2004 ;; Inline let vars used only once.
2005 ;; bookmarkp-bmenu-toggle-show-only-marked:
2006 ;; Test bookmarkp-some-unmarked-p, not bookmarkp-some-marked-p,
2007 ;; and include *-before-hide-unmarked in the test.
2008 ;; bookmarkp-bmenu(-toggle)-show-only-*: Display status message.
2009 ;; bookmarkp-bmenu-toggle-show-only-(un)marked: Fit frame.
2010 ;; bookmark-prop-set: Fixed, so it handles old bookmark format also.
2011 ;; 2009/10/01 Thierry Volpiatto
2012 ;; Removed: bookmarkp-bmenu-restore-marks.
2013 ;; bookmark-bmenu-list:
2014 ;; Do the mark restoration in line, at the same time as the annotation * restoration.
2015 ;; Simplify use of START and END.
2016 ;; 2009/09/30 dadams
2017 ;; bookmarkp-bmenu-regexp-mark: Remove binding of bookmark-alist.
2018 ;; bookmark-bmenu-(un)mark, bookmarkp-bmenu-edit-bookmark (remove first call only),
2019 ;; bookmark-bmenu-other-window, bookmark-bmenu-rename, bookmarkp-bmenu-restore-marks:
2020 ;; Remove bookmark-bmenu-check-position (done by bookmark-bmenu-bookmark anyway).
2021 ;; bookmark-insert-location: Fix interactive spec for Emacs < 22.
2022 ;; bookmark-location: Return "" instead of raising error, if no location found.
2023 ;; bookmarkp-current-sec-time: Move the let: do not call current-time unless we need to.
2024 ;; bookmarkp-bmenu-unmark-all: forward-line only 1, not 2. Thx to Thierry.
2025 ;; bookmark-bmenu-mode: Updated doc string - bindings and mention options.
2026 ;; bookmarkp-bmenu-propertize-item: For buffer, check also against " - no file -".
2027 ;; 2009/09/29 dadams
2028 ;; bookmark-bmenu-unmark: Use delete, not remove.
2029 ;; Removed: bookmark-bmenu-check-position, bookmarkp-maybe-sort.
2030 ;; Added: bookmarkp-sort-and-remove-dups, bookmarkp-remove-assoc-dups,
2031 ;; bookmarkp-face-prop, bookmarkp-bad-bookmark, bookmark-menu-heading (Emacs 20,21),
2032 ;; bookmark-bmenu-bookmark (redefinition).
2033 ;; *-bmenu-toggle-show-only-*: Do not call-interactively.
2034 ;; bookmarkp-bmenu-(un)mark-all:
2035 ;; Handle bookmark-bmenu-toggle-filenames (wrapper).
2036 ;; Remove bookmark-bmenu-check-position - just ensure within menu list.
2037 ;; bookmarkp-bmenu-mark-all: Move save-excursion so it applies to all movements.
2038 ;; Message stating number marked.
2039 ;; bookmarkp-bmenu-unmark-all: Use with-current-buffer ensure in menu list.
2040 ;; Use bookmark-bmenu-unmark.
2041 ;; Fixed U bindings for bookmarkp-bmenu-unmark-all.
2042 ;; bookmarkp-bmenu-regexp-mark:
2043 ;; Remove bookmark-bmenu-check-position - just ensure in menu list.
2044 ;; bookmarkp-bmenu-toggle-marks: Use forward-line 2, to ensure in menu list.
2045 ;; Message stating number marked.
2046 ;; bookmark-bmenu-list, bookmarkp-bmenu-propertize-item: Use bookmarkp-face-prop.
2047 ;; bookmark-bmenu-list: Don't start applying the faces until column 2.
2048 ;; Removed key bindings in bookmark-map for *-toggle-show-only-*.
2049 ;; Redefined faces, esp. for a light background.
2050 ;; Use font-lock-face or face property, depending on Emacs version.
2051 ;;
2052 ;; 2009-06-09 to 2009-09-27 Thierry Volpiatto and dadams
2053 ;; New features, as follows.
2054 ;; See also the change log at
2055 ;; http://mercurial.intuxication.org/hg/bookmark-icicle-region/.
2056 ;; 2090-09-27 Rewrote sorting and unmarking code. (+ Updates to doc, names.)
2057 ;; Unmarking is now like Dired & query-replace.
2058 ;; Sorting is via one sort function; sort predicates do all the sorting.
2059 ;; Can now cycle sort orders with S S S...
2060 ;; Sort cmds now cycle among normal, reverse, off.
2061 ;; Add: *-define-sort-command (macro), *-assoc-delete-all, *-upcase,
2062 ;; *-get-visits-count, *-get-visit-time, *-sort-functions-alist.
2063 ;; Remove docstring from defalias (for Emacs 20).
2064 ;; 2009-09-26 Fix *-bmenu-mode doc (defadvice).
2065 ;; 2009-09-25 *-bmenu-edit, *-bmenu-sort-1: Fix bmk retrieval code.
2066 ;; Redefine *-bmenu-unmark. Add: *-bmenu-toggle-marks.
2067 ;; Bind *-bmenu-unmark-all-bookmarks to M-DEL. Reorder code.
2068 ;; Rename: *-bmenu-unmark-all-(bookmarks|(delete|mark)-flag)',
2069 ;; *-bmenu-unmark-all-bookmarks-1.
2070 ;; Change sort predicates in defalias. Rename bmk entry visit to visits.
2071 ;; Remove: *-bmenu-show-number-of-visit.
2072 ;; 2009-09-22 Rewrote sorting code. Renamed unmarking fns.
2073 ;; 2009-09-21 Rename mark/unmark cmds to have -bmenu.
2074 ;; Add: *-bmenu-called-from-inside-flag - set it in (un)hide marks fns.
2075 ;; 2009-09-20 *-write-file: Remove text properties before saving.
2076 ;; Remove all marks only in current display.
2077 ;; 2009-09-19 *-current-sec-time: Protect with fboundp for Emacs 20.
2078 ;; *-bmenu-sort-1: Add msg showing sort method.
2079 ;; Change key S-A to S-S (A is annotations).
2080 ;; 2009-09-18 Improve sorting by visit frequency. Always increment when jump.
2081 ;; Fix increment visit fn. Allow sorting by last visited.
2082 ;; When visit values are equal, sort with string-lessp.
2083 ;; Add TIME bookmark-alist entry. *-make-record-default: Add time entry.
2084 ;; Fix: bad parens, errors in sorting predicate. Rename fns.
2085 ;; Use single fn to sort using diff methods.
2086 ;; Add: *-bmenu-refresh-alist (bind to g).
2087 ;; 2009-09-16 Add: *-toggle-sorting-by-most-visited, *-reset-visit-flag,
2088 ;; *-bmenu-show-number-of-visit.
2089 ;; Redefine *-prop-set. Improve *-toggle-sorting-by-most-visited.
2090 ;; Add auto-doc to header. *-bmenu-mode: Add missing key.
2091 ;; Update menu-list after jumping.
2092 ;; Increment save counter when jump with visit flag.
2093 ;; 2009-09-15 Record number of visits. Added sorting by most visits.
2094 ;; 2009-09-14 Add doc string. Update defadvice doc string wrt keys.
2095 ;; 2009-09-12 Add: fns to mark all, unmark D or > or all, *-bmenu-reset-alist.
2096 ;; Fix keymap (Emacs 20). *-unmark-all-bookmarks1: Move the save-excursion.
2097 ;; 2009-09-11 Add: *-bmenu-check-position (redef to improve performance),
2098 ;; *-unmark-all-bookmarks, *-current-list-have-marked-p,
2099 ;; *-bookmark-marked-p, *-(non-)marked-bookmarks-only.
2100 ;; *-bmenu-hide-unmarked: Add toggling. Restore lost fn.
2101 ;; Reorder code. Bind cmds in *-bmenu-mode-map.
2102 ;; *-bmenu-hide-marked: Do not hide if no marked in current filter.
2103 ;; Improve: *-bmenu-hide(-not)-marked-bookmark, (un)hide marked fns.
2104 ;; 2009-09-10 Fix *--restore-all-mark, *-bmenu-regexp-mark.
2105 ;; *-bmenu-list: Add *-restore-all-mark.
2106 ;; *-bmenu-mark: Push marked bmk to marked list.
2107 ;; Add: bookmarkp-bookmark-marked-list, *-bmenu-quit.
2108 ;; 2009-09-09 *-maybe-sort-alist: Use copy-sequence.
2109 ;; So remove fixes for *-rename, *-edit-bookmark.
2110 ;; *-yank, *-rename', *-set: Fix yanking.
2111 ;; Remove non-file bmks from file-only list.
2112 ;; Add: *-bmenu-list-only-non-file-bookmarks, *-maybe-message (Emacs 20),
2113 ;; *-bmenu-mark-bookmark-matching-regexp, *-bmenu-hide-marked-bookmark,
2114 ;; *-bmenu-hide-not-marked-bookmark, *-bmenu-mark (redefinition).
2115 ;; *-write-file: Improve performance.
2116 ;; *-non-file-alist-only: Remove unused def.
2117 ;; Fix: hide marked/unmarked with toggle-filenames, keymap for Emacs 20.
2118 ;; Improve comments, doc strings.
2119 ;; *-bmenu-mark-bookmark-matching-regexp: Fix while loop.
2120 ;; 2009-09-08 bookmark-store: Remove duplicate setq of *-current-bookmark.
2121 ;; 2009-09-07 Reorganize (reorder), add comments, improve doc strings.
2122 ;; Change binding of *-bmenu-relocate from R to M-r.
2123 ;; 2009-09-06 bookmark-rename: Redefine with new arg BATCH.
2124 ;; *-bmenu-rename: Go to new pos, not old.
2125 ;; *-edit-bookmark, bookmark-rename: Fix display update for Emacs 20.
2126 ;; 2009-09-05 Add: *-edit-bookmark, *-bmenu-edit-bookmark, *-maybe-save-bookmark.
2127 ;; 2009-09-04 Require cl. Allow RET in Emacs 20. Add doc string.
2128 ;; *-fix-bookmark-alist-and-save:
2129 ;; 2009-09-03 Fix *-fix-bookmark-alist-and-save:
2130 ;; Use error, not message. Change value for setcdr.
2131 ;; Do not use push with non-var (cl).
2132 ;; bookmark-delete:
2133 ;; Redefine, to fix vanilla bug: increment count even when BATCHP is non-nil.
2134 ;; *-non-file-name: Change to - no file -. *-bmenu-list: Add arg FILTER-ON.
2135 ;; *-bmenu-execute-deletions: Use delete, not remove.
2136 ;; Add: *-replace-regexp-in-string.
2137 ;; bookmark-set: Fix *-yank-point for region case. Fix bad parens.
2138 ;; 2009-09-02 Add: *-non-file-filename. *-fix-bookmark-alist-and-save: Fix msg.
2139 ;; Require cl (gensym). *-at-bol/eol' -> line-*-position (for Emacs 20).
2140 ;; Redefine *-bmenu-execute-deletions,
2141 ;; *-bmenu-surreptitiously-rebuild-list.
2142 ;; Update current filtered display - do not reload & display all bmks.
2143 ;; Add redefinitions of *-bmenu-rename', *-yank-word to fix vanilla bugs:
2144 ;; *-bmenu-rename: Do not call *-bmenu-list twice.
2145 ;; *-yank-word: Do not insert whitespace.
2146 ;; Rename *-last-bookmark-alist-in-use to *-latest-bookmark-alist.
2147 ;; 2009-09-01 Fix: Loading of new doc for bookmark-alist (add vacuous defvar).
2148 ;; *-bmenu-(list|hide-filenames): start -> end, end -> start.
2149 ;; Removed extraneous quote mark that caused problems.
2150 ;; Save only if condition-case exits OK.
2151 ;; 2009-08-31 Fixes: Test for non-file bmk. Filename for Gnus bmks.
2152 ;; Compatibility of bookmark-alist with vanilla Emacs.
2153 ;; Require info.el and ffap.el when needed.
2154 ;; Add: *-line-number-at-pos (for Emacs 20),
2155 ;; *-bmenu-other-window (redefinition).
2156 ;; Rename *-propertize-bookmark-list to *-propertize-bmenu-item.
2157 ;; 2009-08-30 Fix: Increment *-alist-modification-count when relocate region,
2158 ;; and maybe save.
2159 ;; Move code adding properties to bookmarks out of *-bmenu-list.
2160 ;; mapc -> mapcar. *-bmenu-hide-filenames: Redefine.
2161 ;; 2009-08-29 Remove refresh code.
2162 ;; 2009-08-27 Added: *-local-directory-bookmark-p, *-local-file-alist-only,
2163 ;; *-non-file-alist-only.
2164 ;; *-file-bookmark-p: Redefined to exclude bmks with handlers.
2165 ;; Renamed fns and faces.
2166 ;; 2009-08-25 Fit frame after display menu list.
2167 ;; Refresh list when toggle filename visibility.
2168 ;; 2009-08-24 Fix: *-bmenu-list for remote files, bookmark-set, *-remote-file-bookmark-p.
2169 ;; Ensure arg to file-remote-p is not nil.
2170 ;; Recenter region only if it is visible.
2171 ;; 2009-08-23 Remove old *-location. *-bmenu-list: Add isw3m.
2172 ;; bookmark-set:
2173 ;; Redefine for older Emacs. Use a default prompt for gnus, w3m.
2174 ;; Use *-name-length-max for title when region is active.
2175 ;; Ensure bookmark is on one line.
2176 ;; 2009-08-22 Try to handle tramp ftp files.
2177 ;; Do not fail if bookmark has empty filename entry.
2178 ;; Show region end pos using exchange-point-and-mark.
2179 ;; 2009-08-21 Remove all cl stuff (list*, loop, etc.). Add *-remove-if(-not).
2180 ;; Remove compile-time require of cl.
2181 ;; Add predicates *-(region|gnus|w3m|info|(remote-|local-)file)-bookmark-p.
2182 ;; Redefine alist-only functions to optimize and use new preds.
2183 ;; 2009-08-20 *--jump-via: Fix to show relocated region before ask whether to save.
2184 ;; *-relocate-region: Fix ar-str. Rename a var. Add: *-region-activated-p.
2185 ;; Revert chgs.
2186 ;; 2009-08-19 Update/fix commentary: bookmark-alist, linkd.
2187 ;; *-default-handler, *-handle-region-default:
2188 ;; Get bmk record from name only once.
2189 ;; *-save-new-region-location: Move t inside progn.
2190 ;; 2009-08-16 Use prefix bookmarkp where appropriate.
2191 ;; 2009-08-15 Improve comments, doc strings. Rename fns, vars.
2192 ;; Add :group with prefix bookmarkp.
2193 ;; 2009-08-09 Fix doc strings.
2194 ;; 2009-08-08 bookmark-set: Update doc string. Show keys in C-h m.
2195 ;; 2009-08-07 *-jump: Fix to jump in same window (thx to Henry Atting).
2196 ;; *-at-bol/eol' -> line-*-position.
2197 ;; 2009-08-01 bookmark-store: Fix for Emacs 20.
2198 ;; 2009-07-27 Ensure we start on an empty w3m buffer. Add: *-w3m-allow-multi-tabs.
2199 ;; 2009-07-24 *-bmenu-mode-map: Define some new keys.
2200 ;; 2009-07-23 *-bmenu-list: Add path to file in help-echo.
2201 ;; 2009-07-19 Fix title underline. Highlight bookmark if root logged with tramp.
2202 ;; Add face for sudo.
2203 ;; 2009-07-18 Add: filter functions, option for bookmark-bmenu-list.
2204 ;; Remove toggle region.
2205 ;; *-bmenu-list-only-files-entries: Add prefix arg to show remote.
2206 ;; 2009-07-14 Add a forgotten test.
2207 ;; 2009-07-13 Fix errors. Give pos in msg even if no search.
2208 ;; *-from-bob/eob: Fixed like old strict.
2209 ;; Remove *-relocate-region-(method|from-limits).
2210 ;; Remove unused code in record fns. Add: *-relocate-region-function.
2211 ;; 2009-07-12 Do not pass args to relocation routines. Remove use of flet.
2212 ;; Use skip-chars-*ward. Use forward-line, not beginning-of-line.
2213 ;; Remove save-excursion around message. Correct typo f(ree var BMK).
2214 ;; 2009-07-11 Fix *-relocate-region-strict. Rename fns, adjust defcustom.
2215 ;; Save relocated region after pushing mark. Add comments.
2216 ;; 2009-07-10 New retrieve fn. Add looking-* fns.
2217 ;; 2009-07-08 Simplify record fns. Add doc strings. Add: *-save-relocated-position.
2218 ;; Fix: updating when relocate (wrt new record fns), string closing,
2219 ;; free vars, parens, names.
2220 ;; 2009-07-06 Fix: *-bmenu-list wrt windows, Info colors.
2221 ;; 2009-07-04 Rename fns to record, vars, args of retrieve fns. Big changes, fixes.
2222 ;; 2009-07-01 Fix comments. *-retrieve-region-strict: improve when out of context.
2223 ;; 2009-06-30 Fix: free vars, *-retrieve-region, provide (name).
2224 ;; 2009-06-29 Fix: w3m handler, file name for non-file, *-simple-retrieve-position.
2225 ;; Add: *-retrieve-region-strict.
2226 ;; 2009-06-28 Add: *-retrieve-region-method-is, *-retrieve-region-lax,
2227 ;; fns to retrieve regions.
2228 ;; Use buffer again, not buffer-name.
2229 ;; 2009-06-27 Fix wrong-type error no such file. Renamed faces. Add: *-prop-set.
2230 ;; Load gnus at compile time. Protect tramp-file-name-regexp with boundp.
2231 ;; 2009-06-25 Fixes for older Emacs compatibility.
2232 ;; 2009-06-24 Improve *-default-handler.
2233 ;; Add: *-always-save-relocated-position, *-prop-get.
2234 ;; 2009-06-23 Use search-regexp, not re-search-regexp. Add Gnus bmks. Add doc.
2235 ;; Fix *-bmenu-list.
2236 ;; 2009-06-21 Fix: *-default-handler for Info. Improve doc strings, commentary.
2237 ;; Fixes to be compatible with Emacs 20-22.
2238 ;; Use defcustom for *-list-only-regions-flag.
2239 ;; *jump: Put prefix arg in interactive spec. Use buffer-name, not buffer.
2240 ;; Remove require of Tramp and inline Tramp fns.
2241 ;; Remove tests for display-(color|mouse)-p.
2242 ;; w3m-bookmark-(jump|make-record): require w3m.
2243 ;; 2009-06-20 Update context strings when relocate.
2244 ;; Fix: bookmark-get-*: search from point-min.
2245 ;; 2009-06-19 Fix: *-make-record-default, *-toggle-use-only-regions, *-default-handler,
2246 ;; bookmarking Dired.
2247 ;; Handle 4 positions in *-default-handler.
2248 ;; 2009-06-17 Fix: case where some bookmarked text was removed, *-use-region.
2249 ;; 2009-06-15 Fix *-region-alist-only, *-get-buffername, *-location,
2250 ;; non-file (buffer) bookmarks.
2251 ;; Support w3m similar to Info.
2252 ;; 2009-06-14 Fix bookmark+version, region relocation. Info support. Error handling.
2253 ;; 2009-06-13 Fix: *-list-only-regions, *-region-handler, *-make-record, keymap, faces.
2254 ;; Put region & info handling in *-default-handler, not separate handlers.
2255 ;; Merge *-make-record-region to *-make-record-default.
2256 ;; *-jump now negates *-use-region if prefix arg. Raise error if bad bmk.
2257 ;; 2009-06-12 Add: *-get-endposition, *-region-alist-only-names.
2258 ;; Add filter to show only region bookmarks.
2259 ;; Faces for menu list. Change region color.
2260 ;; 2009-06-11 Add: *-region-search-size, *-get-buffername, *-use-region.
2261 ;; Redefine *-handle-bookmark, *-jump, to fit bookmark-use-region.
2262 ;; Add condtions to bookmark-make-record. Support w3m. Support t command.
2263 ;; 2009-06-10 Fix search regexp. Fix region in Info. Save bookmark if region moves.
2264 ;; 2009-06-09 Added: bookmark-make-record(-region), bookmark-region-handler.
2265 ;; Relocation.
2266 ;; 2009/05/25 dadams
2267 ;; Added redefinition of bookmark-get-bookmark-record.
2268 ;; 2008/10/16 dadams
2269 ;; bookmark-jump-other-window: Don't define it for Emacs 23+ (not needed).
2270 ;; 2008/04/04 dadams
2271 ;; bookmark-jump-other-window: Updated wrt Emacs 22.2.
2272 ;; 2007/10/07 dadams
2273 ;; Added: bookmark-completing-read, bookmark-delete, bookmark-insert(-location),
2274 ;; bookmark-jump, bookmark-relocate, bookmark-rename.
2275 ;; bookmark-jump-other-window: Use new bookmark-completing-read.
2276 ;; 2007/07/13 dadams
2277 ;; Replaced Emacs version tests to reflect Emacs 22 release.
2278 ;; 2006/03/08 dadams
2279 ;; bookmark-jump-other-window: Handle nil arg.
2280 ;; 2005/05/17 dadams
2281 ;; Updated to work with Emacs 22.x.
2282 ;; 2004/11/20 dadams
2283 ;; Refined to deal with Emacs 21 < 21.3.50 (soon to be 22.x)
2284 ;; 2004/10/26 dadams
2285 ;; Different menu-bar command, depending on Emacs version.
2286 ;; 2004/09/21 dadams
2287 ;; Only define bookmark-menu-jump-other-window if < Emacs 22.
2288 ;;
2289 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2290 ;;
2291 ;; This program is free software; you can redistribute it and/or
2292 ;; modify it under the terms of the GNU General Public License as
2293 ;; published by the Free Software Foundation; either version 3, or
2294 ;; (at your option) any later version.
2295 ;;
2296 ;; This program is distributed in the hope that it will be useful,
2297 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
2298 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2299 ;; General Public License for more details.
2300 ;;
2301 ;; You should have received a copy of the GNU General Public License
2302 ;; along with this program; see the file COPYING. If not, write to
2303 ;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth
2304 ;; Floor, Boston, MA 02110-1301, USA.
2305 ;;
2306 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2307 ;;
2308 ;;; Code:
2309
2310 ;; You need not load this file. It contains only documentation.
2311
2312 (provide 'bookmark+-chg) ; Not used.
2313
2314 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2315 ;;; bookmark+-chg.el ends here
2316