-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbookmark+-1.el
13277 lines (11907 loc) · 679 KB
/
bookmark+-1.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
;;; bookmark+-1.el - First part of package Bookmark+.
;;
;; Filename: bookmark+-1.el
;; Description: First part of package Bookmark+.
;; Author: Drew Adams, Thierry Volpiatto
;; Maintainer: Drew Adams (concat "drew.adams" "@" "oracle" ".com")
;; Copyright (C) 2000-2019, Drew Adams, all rights reserved.
;; Copyright (C) 2009, Thierry Volpiatto.
;; Created: Mon Jul 12 13:43:55 2010 (-0700)
;; Last-Updated: Sat Jun 8 15:36:34 2019 (-0700)
;; By: dradams
;; Update #: 8913
;; URL: https://www.emacswiki.org/emacs/download/bookmark%2b-1.el
;; Doc URL: https://www.emacswiki.org/emacs/BookmarkPlus
;; Keywords: bookmarks, bookmark+, placeholders, annotations, search, info, url, eww, w3m, gnus
;; Compatibility: GNU Emacs: 20.x, 21.x, 22.x, 23.x, 24.x, 25.x, 26.x
;;
;; Features that might be required by this library:
;;
;; `backquote', `bookmark', `bookmark+-1', `button', `bytecomp',
;; `cconv', `cl-lib', `col-highlight', `crosshairs', `font-lock',
;; `font-lock+', `help-mode', `hl-line', `hl-line+', `kmacro',
;; `macroexp', `pp', `replace', `syntax', `text-mode', `thingatpt',
;; `thingatpt+', `vline'.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;; Commentary:
;;
;; The Bookmark+ libraries are these:
;;
;; `bookmark+.el' - main (driver) library
;; `bookmark+-mac.el' - Lisp macros
;; `bookmark+-lit.el' - (optional) code for highlighting bookmarks
;; `bookmark+-bmu.el' - code for the `*Bookmark List*' (bmenu)
;; `bookmark+-1.el' - other (non-bmenu) required code (this file)
;; `bookmark+-key.el' - key and menu bindings
;;
;; `bookmark+-doc.el' - documentation (comment-only file)
;; `bookmark+-chg.el' - change log (comment-only file)
;;
;; The documentation (in `bookmark+-doc.el') includes how to
;; byte-compile and install Bookmark+. The documentation is also
;; available in these ways:
;;
;; 1. From the bookmark list (`C-x r l'):
;; Use `?' to show the current bookmark-list status and general
;; help, then click link `Doc in Commentary' or link `Doc on the
;; Web'.
;;
;; 2. From the Emacs-Wiki Web site:
;; https://www.emacswiki.org/emacs/BookmarkPlus.
;;
;; 3. From the Bookmark+ group customization buffer:
;; `M-x customize-group bookmark-plus', then click link
;; `Commentary'.
;;
;; (The commentary links in #1 and #3 work only if you have library
;; `bookmark+-doc.el' in your `load-path'.)
;;(@> "Index")
;;
;; Index
;; -----
;;
;; If you have library `linkd.el' and Emacs 22 or later, load
;; `linkd.el' and turn on `linkd-mode' now. It lets you easily
;; navigate around the sections of this doc. Linkd mode will
;; highlight this Index, as well as the cross-references and section
;; headings throughout this file. You can get `linkd.el' here:
;; https://www.emacswiki.org/emacs/download/linkd.el.
;;
;; (@> "Things Defined Here")
;; (@> "User Options (Customizable)")
;; (@> "Internal Variables")
;; (@> "Compatibility Code for Older Emacs Versions")
;; (@> "Core Replacements (`bookmark-*' except `bookmark-bmenu-*')")
;; (@> "Bookmark+ Functions (`bmkp-*')")
;; (@> "Search-and-Replace Locations of Marked Bookmarks")
;; (@> "Tags")
;; (@> "Bookmark Predicates")
;; (@> "Filter Functions")
;; (@> "General Utility Functions")
;; (@> "Bookmark Entry Access Functions")
;; (@> "Sorting - General Functions")
;; (@> "Sorting - Commands")
;; (@> "Sorting - General Predicates")
;; (@> "Sorting - File-Name Predicates")
;; (@> "Indirect Bookmarking Functions")
;; (@> "Other Bookmark+ Functions (`bmkp-*')")
;; (@> "Keymaps")
;;(@* "Things Defined Here")
;;
;; Things Defined Here
;; -------------------
;;
;; Commands defined here:
;;
;; `bmkp-add-tags', `bmkp-all-tags-jump',
;; `bmkp-all-tags-jump-other-window', `bmkp-all-tags-regexp-jump',
;; `bmkp-all-tags-regexp-jump-other-window',
;; `bmkp-annotate-bookmark', `bmkp-autofile-add-tags',
;; `bmkp-autofile-all-tags-jump',
;; `bmkp-autofile-all-tags-jump-other-window',
;; `bmkp-autofile-all-tags-regexp-jump',
;; `bmkp-autofile-all-tags-regexp-jump-other-window',
;; `bmkp-autofile-jump', `bmkp-autofile-jump-other-window',
;; `bmkp-autofile-remove-tags', `bmkp-autofile-set',
;; `bmkp-autofile-some-tags-jump',
;; `bmkp-autofile-some-tags-jump-other-window',
;; `bmkp-autofile-some-tags-regexp-jump',
;; `bmkp-autofile-some-tags-regexp-jump-other-window',
;; `bmkp-auto-idle-bookmark-mode', `bmkp-autonamed-jump',
;; `bmkp-autonamed-jump-other-window',
;; `bmkp-autonamed-this-buffer-jump',
;; `bmkp-autonamed-this-buffer-jump-other-window',
;; `bmkp-bookmark-a-file' `bmkp-bookmark-file-jump',
;; `bmkp-bookmark-file-load-jump',
;; `bmkp-bookmark-file-switch-jump', `bmkp-bookmark-linked-at'
;; (Emacs 22+), `bmkp-bookmark-linked-at-mouse' (Emacs 22+),
;; `bmkp-bookmark-list-jump',
;; `bmkp-bookmark-set-confirm-overwrite',
;; `bmkp-choose-navlist-from-bookmark-list',
;; `bmkp-choose-navlist-of-type', `bmkp-compilation-target-set',
;; `bmkp-compilation-target-set-all', `bmkp-convert-eww-bookmarks'
;; (Emacs 25+), `bmkp-copy-tags', `bmkp-crosshairs-highlight',
;; `bmkp-cycle', `bmkp-cycle-autonamed',
;; `bmkp-cycle-autonamed-other-window', `bmkp-cycle-bookmark-list',
;; `bmkp-cycle-bookmark-list-other-window', `bmkp-cycle-desktop',
;; `bmkp-cycle-dired', `bmkp-cycle-dired-other-window',
;; `bmkp-cycle-eww', `bmkp-cycle-eww-other-window',
;; `bmkp-cycle-file', `bmkp-cycle-file-other-window',
;; `bmkp-cycle-gnus', `bmkp-cycle-gnus-other-window',
;; `bmkp-cycle-info', `bmkp-cycle-info-other-window',
;; `bmkp-cycle-lighted', `bmkp-cycle-lighted-other-window',
;; `bmkp-cycle-local-file', `bmkp-cycle-local-file-other-window',
;; `bmkp-cycle-man', `bmkp-cycle-man-other-window',
;; `bmkp-cycle-non-file', `bmkp-cycle-non-file-other-window',
;; `bmkp-cycle-other-window', `bmkp-cycle-remote-file',
;; `bmkp-cycle-remote-file-other-window',
;; `bmkp-cycle-specific-buffers',
;; `bmkp-cycle-specific-buffers-other-window',
;; `bmkp-cycle-specific-files',
;; `bmkp-cycle-specific-files-other-window',
;; `bmkp-cycle-this-buffer', `bmkp-cycle-this-buffer-other-window',
;; `bmkp-cycle-this-file', `bmkp-cycle-this-file/buffer',
;; `bmkp-cycle-this-file/buffer-other-window',
;; `bmkp-cycle-this-file-other-window', `bmkp-cycle-variable-list',
;; `bmkp-cycle-url', `bmkp-cycle-url-other-window',
;; `bmkp-delete-all-autonamed-for-this-buffer',
;; `bmkp-delete-all-temporary-bookmarks', `bmkp-delete-bookmarks',
;; `bmkp-describe-bookmark', `bmkp-describe-bookmark-internals',
;; `bmkp-desktop-change-dir', `bmkp-desktop-delete',
;; `bmkp-desktop-jump', `bmkp-desktop-read', `bmkp-dired-jump',
;; `bmkp-dired-jump-other-window', `bmkp-dired-this-dir-jump',
;; `bmkp-dired-this-dir-jump-other-window',
;; `bmkp-edit-bookmark-name-and-location',
;; `bmkp-edit-bookmark-record', `bmkp-edit-bookmark-record-send',
;; `bmkp-edit-bookmark-records-send', `bmkp-edit-tags',
;; `bmkp-edit-tags-send', `bmkp-edit-this-annotation',
;; `bmkp-empty-file', `bmkp-eww-jump' (Emacs 25+),
;; `bmkp-eww-jump-other-window' (Emacs 25+),
;; `bmkp-eww-auto-bookmark-mode' (Emacs 25+),
;; `bmkp-ffap-max-region-size', `bmkp-file-target-set',
;; `bmkp-file-all-tags-jump',
;; `bmkp-file-all-tags-jump-other-window',
;; `bmkp-file-all-tags-regexp-jump',
;; `bmkp-file-all-tags-regexp-jump-other-window', `bmkp-file-jump',
;; `bmkp-file-jump-other-window', `bmkp-file-some-tags-jump',
;; `bmkp-file-some-tags-jump-other-window',
;; `bmkp-file-some-tags-regexp-jump',
;; `bmkp-file-some-tags-regexp-jump-other-window',
;; `bmkp-file-this-dir-all-tags-jump',
;; `bmkp-file-this-dir-all-tags-jump-other-window',
;; `bmkp-file-this-dir-all-tags-regexp-jump',
;; `bmkp-file-this-dir-all-tags-regexp-jump-other-window',
;; `bmkp-file-this-dir-jump',
;; `bmkp-file-this-dir-jump-other-window',
;; `bmkp-file-this-dir-some-tags-jump',
;; `bmkp-file-this-dir-some-tags-jump-other-window',
;; `bmkp-file-this-dir-some-tags-regexp-jump',
;; `bmkp-file-this-dir-some-tags-regexp-jump-other-window',
;; `bmkp-find-file', `bmkp-find-file-other-window',
;; `bmkp-find-file-all-tags',
;; `bmkp-find-file-all-tags-other-window',
;; `bmkp-find-file-all-tags-regexp',
;; `bmkp-find-file-all-tags-regexp-other-window',
;; `bmkp-find-file-some-tags',
;; `bmkp-find-file-some-tags-other-window',
;; `bmkp-find-file-some-tags-regexp',
;; `bmkp-find-file-some-tags-regexp-other-window',
;; `bmkp-get-external-annotation',
;; `bmkp-global-auto-idle-bookmark-mode' (Emacs 21+),
;; `bmkp-gnus-jump', `bmkp-gnus-jump-other-window',
;; `bmkp-image-jump', `bmkp-image-jump-other-window',
;; `bmkp-info-auto-bookmark-mode' (Emacs 22+), `bmkp-info-jump',
;; `bmkp-info-jump-other-window', `bmkp-insert-bookmark-link'
;; (Emacs 22+), `bmkp-jump-in-navlist',
;; `bmkp-jump-in-navlist-other-window',
;; `bmkp-jump-to-bookmark-linked-at' (Emacs 22+),
;; `bmkp-jump-to-bookmark-linked-at-mouse' (Emacs 22+),
;; `bmkp-jump-to-list', `bmkp-jump-to-type',
;; `bmkp-jump-to-type-other-window', `bmkp-list-all-tags',
;; `bmkp-list-defuns-in-commands-file', `bmkp-local-file-jump',
;; `bmkp-local-file-jump-other-window',
;; `bmkp-local-non-dir-file-jump',
;; `bmkp-local-non-dir-file-jump-other-window',
;; `bmkp-make-bookmark-savable', `bmkp-make-bookmark-temporary',
;; `bmkp-make-function-bookmark', `bmkp-man-jump',
;; `bmkp-man-jump-other-window', `bmkp-menu-jump-other-window'
;; (Emacs 20, 21), `bmkp-navlist-bmenu-list',
;; `bmkp-next-autonamed-bookmark',
;; `bmkp-next-autonamed-bookmark-other-window',
;; `bmkp-next-autonamed-bookmark-other-window-repeat',
;; `bmkp-next-autonamed-bookmark-repeat', `bmkp-next-bookmark',
;; `bmkp-next-bookmark-list-bookmark',
;; `bmkp-next-bookmark-list-bookmark-other-window',
;; `bmkp-next-bookmark-list-bookmark-other-window-repeat',
;; `bmkp-next-bookmark-list-bookmark-repeat',
;; `bmkp-next-bookmark-other-window',
;; `bmkp-next-bookmark-other-window-repeat',
;; `bmkp-next-bookmark-repeat', `bmkp-next-bookmark-this-buffer',
;; `bmkp-next-bookmark-this-buffer-other-window',
;; `bmkp-next-bookmark-this-buffer-other-window-repeat',
;; `bmkp-next-bookmark-this-buffer-repeat',
;; `bmkp-next-bookmark-this-file',
;; `bmkp-next-bookmark-this-file/buffer',
;; `bmkp-next-bookmark-this-file/buffer-other-window',
;; `bmkp-next-bookmark-this-file/buffer-other-window-repeat',
;; `bmkp-next-bookmark-this-file/buffer-repeat',
;; `bmkp-next-bookmark-this-file-other-window',
;; `bmkp-next-bookmark-this-file-other-window-repeat',
;; `bmkp-next-bookmark-this-file-repeat',
;; `bmkp-next-desktop-bookmark',
;; `bmkp-next-desktop-bookmark-other-window',
;; `bmkp-next-desktop-bookmark-other-window-repeat',
;; `bmkp-next-desktop-bookmark-repeat', `bmkp-next-dired-bookmark',
;; `bmkp-next-dired-bookmark-other-window',
;; `bmkp-next-dired-bookmark-other-window-repeat',
;; `bmkp-next-dired-bookmark-repeat', `bmkp-next-eww-bookmark',
;; `bmkp-next-eww-bookmark-other-window',
;; `bmkp-next-eww-bookmark-other-window-repeat',
;; `bmkp-next-eww-bookmark-repeat', `bmkp-next-file-bookmark',
;; `bmkp-next-file-bookmark-other-window',
;; `bmkp-next-file-bookmark-other-window-repeat',
;; `bmkp-next-file-bookmark-repeat', `bmkp-next-gnus-bookmark',
;; `bmkp-next-gnus-bookmark-other-window',
;; `bmkp-next-gnus-bookmark-other-window-repeat',
;; `bmkp-next-gnus-bookmark-repeat', `bmkp-next-info-bookmark',
;; `bmkp-next-info-bookmark-other-window',
;; `bmkp-next-info-bookmark-other-window-repeat',
;; `bmkp-next-info-bookmark-repeat', `bmkp-next-lighted-bookmark',
;; `bmkp-next-lighted-bookmark-other-window',
;; `bmkp-next-lighted-bookmark-other-window-repeat',
;; `bmkp-next-lighted-bookmark-repeat',
;; `bmkp-next-local-file-bookmark',
;; `bmkp-next-local-file-bookmark-other-window',
;; `bmkp-next-local-file-bookmark-other-window-repeat',
;; `bmkp-next-local-file-bookmark-repeat',
;; `bmkp-next-man-bookmark', `bmkp-next-man-bookmark-other-window',
;; `bmkp-next-man-bookmark-other-window-repeat',
;; `bmkp-next-man-bookmark-repeat', `bmkp-next-non-file-bookmark',
;; `bmkp-next-non-file-bookmark-other-window',
;; `bmkp-next-non-file-bookmark-other-window-repeat',
;; `bmkp-next-non-file-bookmark-repeat',
;; `bmkp-next-remote-file-bookmark',
;; `bmkp-next-remote-file-bookmark-other-window',
;; `bmkp-next-remote-file-bookmark-other-window-repeat',
;; `bmkp-next-remote-file-bookmark-repeat',
;; `bmkp-next-specific-buffers-bookmark',
;; `bmkp-next-specific-buffers-bookmark-other-window',
;; `bmkp-next-specific-buffers-bookmark-other-window-repeat',
;; `bmkp-next-specific-buffers-bookmark-repeat',
;; `bmkp-next-specific-files-bookmark',
;; `bmkp-next-specific-files-bookmark-other-window',
;; `bmkp-next-specific-files-bookmark-other-window-repeat',
;; `bmkp-next-specific-files-bookmark-repeat',
;; `bmkp-next-variable-list-bookmark',
;; `bmkp-next-variable-list-bookmark-other-window',
;; `bmkp-next-variable-list-bookmark-other-window-repeat',
;; `bmkp-next-variable-list-bookmark-repeat',
;; `bmkp-next-url-bookmark', `bmkp-next-url-bookmark-other-window',
;; `bmkp-next-url-bookmark-other-window-repeat',
;; `bmkp-next-url-bookmark-repeat', `bmkp-next-bookmark-w32',
;; `bmkp-next-bookmark-w32-other-window',
;; `bmkp-next-bookmark-w32-other-window-repeat',
;; `bmkp-next-bookmark-w32-repeat', `bmkp-non-dir-file-jump',
;; `bmkp-non-dir-file-jump-other-window', `bmkp-non-file-jump',
;; `bmkp-non-file-jump-other-window',
;; `bmkp-occur-create-autonamed-bookmarks',
;; `bmkp-ORIG-bookmark-insert', `bmkp-occur-target-set',
;; `bmkp-occur-target-set-all', `bmkp-paste-add-tags',
;; `bmkp-paste-replace-tags', `bmkp-previous-autonamed-bookmark',
;; `bmkp-previous-autonamed-bookmark-other-window',
;; `bmkp-previous-autonamed-bookmark-other-window-repeat',
;; `bmkp-previous-autonamed-bookmark-repeat',
;; `bmkp-previous-bookmark',
;; `bmkp-previous-bookmark-list-bookmark',
;; `bmkp-previous-bookmark-list-bookmark-other-window',
;; `bmkp-previous-bookmark-list-bookmark-other-window-repeat',
;; `bmkp-previous-bookmark-list-bookmark-repeat',
;; `bmkp-previous-bookmark-list-repeat',
;; `bmkp-previous-bookmark-other-window',
;; `bmkp-previous-bookmark-other-window-repeat',
;; `bmkp-previous-bookmark-repeat',
;; `bmkp-previous-bookmark-this-buffer',
;; `bmkp-previous-bookmark-this-buffer-other-window',
;; `bmkp-previous-bookmark-this-buffer-other-window-repeat',
;; `bmkp-previous-bookmark-this-buffer-repeat',
;; `bmkp-previous-bookmark-this-file',
;; `bmkp-previous-bookmark-this-file/buffer',
;; `bmkp-previous-bookmark-this-file/buffer-other-window',
;; `bmkp-previous-bookmark-this-file/buffer-other-window-repeat',
;; `bmkp-previous-bookmark-this-file/buffer-repeat',
;; `bmkp-previous-bookmark-this-file-other-window',
;; `bmkp-previous-bookmark-this-file-other-window-repeat',
;; `bmkp-previous-bookmark-this-file-repeat',
;; `bmkp-previous-desktop-bookmark',
;; `bmkp-previous-desktop-bookmark-other-window',
;; `bmkp-previous-desktop-bookmark-other-window-repeat',
;; `bmkp-previous-desktop-bookmark-repeat',
;; `bmkp-previous-dired-bookmark',
;; `bmkp-previous-dired-bookmark-other-window',
;; `bmkp-previous-dired-bookmark-other-window-repeat',
;; `bmkp-previous-dired-bookmark-repeat',
;; `bmkp-previous-eww-bookmark',
;; `bmkp-previous-eww-bookmark-other-window',
;; `bmkp-previous-eww-bookmark-other-window-repeat',
;; `bmkp-previous-eww-bookmark-repeat',
;; `bmkp-previous-file-bookmark',
;; `bmkp-previous-file-bookmark-other-window',
;; `bmkp-previous-file-bookmark-other-window-repeat',
;; `bmkp-previous-file-bookmark-repeat',
;; `bmkp-previous-gnus-bookmark',
;; `bmkp-previous-gnus-bookmark-other-window',
;; `bmkp-previous-gnus-bookmark-other-window-repeat',
;; `bmkp-previous-gnus-bookmark-repeat',
;; `bmkp-previous-info-bookmark',
;; `bmkp-previous-info-bookmark-other-window',
;; `bmkp-previous-info-bookmark-other-window-repeat',
;; `bmkp-previous-info-bookmark-repeat',
;; `bmkp-previous-lighted-bookmark',
;; `bmkp-previous-lighted-bookmark-other-window',
;; `bmkp-previous-lighted-bookmark-other-window-repeat',
;; `bmkp-previous-lighted-bookmark-repeat',
;; `bmkp-previous-local-file-bookmark',
;; `bmkp-previous-local-file-bookmark-other-window',
;; `bmkp-previous-local-file-bookmark-other-window-repeat',
;; `bmkp-previous-local-file-bookmark-repeat',
;; `bmkp-previous-man-bookmark',
;; `bmkp-previous-man-bookmark-other-window',
;; `bmkp-previous-man-bookmark-other-window-repeat',
;; `bmkp-previous-man-bookmark-repeat',
;; `bmkp-previous-non-file-bookmark',
;; `bmkp-previous-non-file-bookmark-other-window',
;; `bmkp-previous-non-file-bookmark-other-window-repeat',
;; `bmkp-previous-non-file-bookmark-repeat',
;; `bmkp-previous-remote-file-bookmark',
;; `bmkp-previous-remote-file-bookmark-other-window',
;; `bmkp-previous-remote-file-bookmark-other-window-repeat',
;; `bmkp-previous-remote-file-bookmark-repeat',
;; `bmkp-previous-specific-buffers-bookmark',
;; `bmkp-previous-specific-buffers-bookmark-other-window',
;; `bmkp-previous-specific-buffers-bookmark-other-window-repeat',
;; `bmkp-previous-specific-buffers-bookmark-repeat',
;; `bmkp-previous-specific-files-bookmark',
;; `bmkp-previous-specific-files-bookmark-other-window',
;; `bmkp-previous-specific-files-bookmark-other-window-repeat',
;; `bmkp-previous-specific-files-bookmark-repeat',
;; `bmkp-previous-variable-list-bookmark',
;; `bmkp-previous-variable-list-bookmark-other-window',
;; `bmkp-previous-variable-list-bookmark-other-window-repeat',
;; `bmkp-previous-variable-list-bookmark-repeat',
;; `bmkp-previous-url-bookmark',
;; `bmkp-previous-url-bookmark-other-window',
;; `bmkp-previous-url-bookmark-other-window-repeat',
;; `bmkp-previous-url-bookmark-repeat',
;; `bmkp-previous-bookmark-w32',
;; `bmkp-previous-bookmark-w32-other-window',
;; `bmkp-previous-bookmark-w32-other-window-repeat',
;; `bmkp-previous-bookmark-w32-repeat',
;; `bmkp-purge-notags-autofiles', `bmkp-read-bookmark-for-type',
;; `bmkp-region-jump',
;; `bmkp-region-jump-narrow-indirect-other-window',
;; `bmkp-region-jump-other-window', `bmkp-remote-file-jump',
;; `bmkp-remote-file-jump-other-window',
;; `bmkp-remote-non-dir-file-jump',
;; `bmkp-temote-non-dir-file-jump-other-window',
;; `bmkp-remove-all-tags', `bmkp-remove-tags',
;; `bmkp-remove-tags-from-all', `bmkp-rename-tag',
;; `bmkp-retrieve-icicle-search-hits',
;; `bmkp-retrieve-more-icicle-search-hits',
;; `bmkp-revert-bookmark-file', `bmkp-save-menu-list-state',
;; `bmkp-send-bug-report', `bmkp-set-autonamed-bookmark',
;; `bmkp-set-autonamed-bookmark-at-line',
;; `bmkp-set-autonamed-regexp-buffer',
;; `bmkp-set-autonamed-regexp-region',
;; `bmkp-set-bookmark-file-bookmark', `bmkp-set-desktop-bookmark',
;; `bmkp-set-dired-bookmark-for-files',
;; `bmkp-set-eww-bookmark-here' (Emacs 25+),
;; `bmkp-set-icicle-search-hits-bookmark',
;; `bmkp-set-info-bookmark-with-node-name' (Emacs 22+),
;; `bmkp-set-izones-bookmark', `bmkp-set-kmacro-bookmark' (Emacs
;; 22+), `bmkp-set-kmacro-list-bookmark' (Emacs 22+),
;; `bmkp-set-sequence-bookmark', `bmkp-set-snippet-bookmark',
;; `bmkp-set-tag-value', `bmkp-set-tag-value-for-navlist',
;; `bmkp-set-variable-list-bookmark',
;; `bmkp-show-this-annotation-read-only',
;; `bmkp-snippet-to-kill-ring', `bmkp-some-tags-jump',
;; `bmkp-some-tags-jump-other-window',
;; `bmkp-some-tags-regexp-jump',
;; `bmkp-some-tags-regexp-jump-other-window',
;; `bmkp-specific-buffers-jump',
;; `bmkp-specific-buffers-jump-other-window',
;; `bmkp-specific-files-jump',
;; `bmkp-specific-files-jump-other-window', `bmkp-store-org-link'
;; (Emacs 24.4+), `bmkp-switch-bookmark-file',
;; `bmkp-switch-bookmark-file-create',
;; `bmkp-switch-to-last-bookmark-file', `bmkp-tag-a-file',
;; `bmkp-temporary-bookmarking-mode', `bmkp-temporary-jump',
;; `bmkp-temporary-jump-other-window',
;; `bmkp-this-buffer-bmenu-list', `bmkp-this-buffer-jump',
;; `bmkp-this-buffer-jump-other-window',
;; `bmkp-this-file-bmenu-list', `bmkp-this-file/buffer-bmenu-list',
;; `bmkp-toggle-autonamed-bookmark-set/delete',
;; `bmkp-toggle-autotemp-on-set',
;; `bmkp-toggle-bookmark-set-refreshes',
;; `bmkp-toggle-eww-auto-type' (Emacs 25+),
;; `bmkp-toggle-info-auto-type' (Emacs 22+),
;; `bmkp-toggle-saving-bookmark-file',
;; `bmkp-toggle-saving-menu-list-state',
;; `bmkp-toggle-temporary-bookmark',
;; `bmkp-turn-on-auto-idle-bookmark-mode' (Emacs 21+),
;; `bmkp-unomit-all', `bmkp-untag-a-file', `bmkp-url-target-set',
;; `bmkp-url-jump', `bmkp-url-jump-other-window',
;; `bmkp-variable-list-jump', `bmkp-version',
;; `bmkp-visit-external-annotation', `bmkp-w32-browser-jump',
;; `bmkp-w3m-jump', `bmkp-w3m-jump-other-window',
;; `bmkp-wrap-bookmark-with-last-kbd-macro'.
;;
;; User options defined here:
;;
;; `bmkp-annotation-modes-inherit-from', `bmkp-autofile-filecache',
;; `bmkp-auto-idle-bookmark-min-distance',
;; `bmkp-auto-idle-bookmark-mode-delay',
;; `bmkp-auto-idle-bookmark-mode-lighter',
;; `bmkp-auto-idle-bookmark-mode-set-function',
;; `bmkp-autoname-bookmark-function', `bmkp-autoname-format',
;; `bmkp-autotemp-bookmark-predicates',
;; `bmkp-bookmark-name-length-max',
;; `bmkp-count-multi-mods-as-one-flag', `bmkp-crosshairs-flag',
;; `bmkp-default-bookmark-name',
;; `bmkp-default-handlers-for-file-types',
;; `bmkp-desktop-default-directory',
;; `bmkp-desktop-jump-save-before-flag',
;; `bmkp-desktop-no-save-vars', `bmkp-eww-auto-type' (Emacs 25+),
;; `bmkp-eww-buffer-renaming' (Emacs 25+),
;; `bmkp-eww-generate-buffer-flag' (Emacs 25+),
;; `bmkp-eww-replace-keys-flag' (Emacs 25+),
;; `bmkp-guess-default-handler-for-file-flag',
;; `bmkp-handle-region-function', `bmkp-incremental-filter-delay',
;; `bmkp-info-auto-type' (Emacs 22+),
;; `bmkp-info-sort-ignores-directories-flag',
;; `bmkp-last-as-first-bookmark-file',
;; `bmkp-menu-popup-max-length', `bmkp-new-bookmark-default-names',
;; `bmkp-other-window-pop-to-flag', `bmkp-prompt-for-tags-flag',
;; `bmkp-properties-to-keep', `bmkp-read-bookmark-file-hook',
;; `bmkp-region-search-size', `bmkp-save-new-location-flag',
;; `bmkp-sequence-jump-display-function',
;; `bmkp-show-end-of-region-flag', `bmkp-sort-comparer',
;; `bmkp-su-or-sudo-regexp', `bmkp-tags-for-completion',
;; `bmkp-temporary-bookmarking-mode',
;; `bmkp-temporary-bookmarking-mode-hook',
;; `bmkp-temporary-bookmarking-mode-lighter',
;; `bmkp-this-file/buffer-cycle-sort-comparer', `bmkp-use-region',
;; `bmkp-w3m-allow-multiple-buffers-flag',
;; `bmkp-write-bookmark-file-hook'.
;;
;; Non-interactive functions defined here:
;;
;; `bmkext-jump-gnus', `bmkext-jump-man', `bmkext-jump-w3m',
;; `bmkext-jump-woman', `bmkp-add-jump-to-list-button',
;; `bmkp-all-exif-data', `bmkp-all-tags-alist-only',
;; `bmkp-all-tags-regexp-alist-only', `bmkp-alpha-cp',
;; `bmkp-alpha-p', `bmkp-annotated-alist-only',
;; `bmkp-annotated-bookmark-p',
;; `bmkp-annotation-or-bookmark-description',
;; `bmkp-autofile-alist-only', `bmkp-autofile-all-tags-alist-only',
;; `bmkp-autofile-all-tags-regexp-alist-only',
;; `bmkp-autofile-bookmark-p',
;; `bmkp-autofile-some-tags-alist-only',
;; `bmkp-autofile-some-tags-regexp-alist-only',
;; `bmkp-autoname-bookmark-function-default',
;; `bmkp-autonamed-alist-only',
;; `bmkp-autonamed-bookmark-for-buffer-p',
;; `bmkp-autonamed-bookmark-p',
;; `bmkp-autonamed-this-buffer-alist-only',
;; `bmkp-autonamed-this-buffer-bookmark-p',
;; `bmkp-bookmark-creation-cp', `bmkp-bookmark-data-from-record',
;; `bmkp-bookmark-description', `bmkp-bookmark-last-access-cp',
;; `bmkp-bookmark-file-alist-only',
;; `bmkp-bookmark-file-bookmark-p',
;; `bmkp-bookmark-list-alist-only',
;; `bmkp-bookmark-list-bookmark-p', `bmkp-bookmark-name-member',
;; `bmkp-bookmark-record-from-name', `bmkp-buffer-last-access-cp',
;; `bmkp-buffer-names', `bmkp-compilation-file+line-at',
;; `bmkp-completing-read-1', `bmkp-completing-read-bookmarks',
;; `bmkp-completing-read-buffer-name',
;; `bmkp-completing-read-file-name', `bmkp-completing-read-lax',
;; `bmkp-cp-not', `bmkp-create-variable-list-bookmark',
;; `bmkp-current-bookmark-list-state', `bmkp-current-sort-order',
;; `bmkp-cycle-1', `bmkp-default-bookmark-file',
;; `bmkp-default-bookmark-name', `bmkp-default-handler-for-file',
;; `bmkp-default-handler-user', `bmkp-delete-autonamed-no-confirm',
;; `bmkp-delete-autonamed-this-buffer-no-confirm',
;; `bmkp-delete-bookmark-name-from-list',
;; `bmkp-delete-temporary-no-confirm', `bmkp-desktop-alist-only',
;; `bmkp-desktop-bookmark-p',
;; `bmkp-desktop-file-p',`bmkp-desktop-kill', `bmkp-desktop-save',
;; `bmkp-desktop-save-as-last', `bmkp-dired-alist-only',
;; `bmkp-dired-bookmark-p', `bmkp-dired-remember-*-marks',
;; `bmkp-dired-subdirs', `bmkp-dired-this-dir-alist-only',
;; `bmkp-dired-wildcards-alist-only',
;; `bmkp-dired-this-dir-bookmark-p',
;; `bmkp-dired-wildcards-bookmark-p',
;; `bmkp-edit-bookmark-record-mode',
;; `bmkp-edit-bookmark-records-mode', `bmkp-edit-tags-mode',
;; `bmkp-end-position-post-context',
;; `bmkp-end-position-pre-context', `bmkp-every',
;; `bmkp-eww-alist-only' (Emacs 25+), `bmkp-eww-bookmark-p' (Emacs
;; 25+), `bmkp-eww-cp' (Emacs 25+), `bmkp-eww-new-buffer-name'
;; (Emacs 25+), `bmkp-eww-rename-buffer' (Emacs 25+),
;; `bmkp-eww-title' (Emacs 25+), `bmkp-eww-url' (Emacs 25+),
;; `bmkp-ffap-guesser', `bmkp-file-alist-only',
;; `bmkp-file-all-tags-alist-only',
;; `bmkp-file-all-tags-regexp-alist-only', `bmkp-file-alpha-cp',
;; `bmkp-file-attribute-0-cp', `bmkp-file-attribute-1-cp',
;; `bmkp-file-attribute-2-cp', `bmkp-file-attribute-3-cp',
;; `bmkp-file-attribute-4-cp', `bmkp-file-attribute-5-cp',
;; `bmkp-file-attribute-6-cp', `bmkp-file-attribute-7-cp',
;; `bmkp-file-attribute-8-cp', `bmkp-file-attribute-9-cp',
;; `bmkp-file-attribute-10-cp', `bmkp-file-attribute-11-cp',
;; `bmkp-file-bookmark-p', `bmkp-file-names', `bmkp-file-remote-p',
;; `bmkp-file-some-tags-alist-only',
;; `bmkp-file-some-tags-regexp-alist-only',
;; `bmkp-file-this-dir-alist-only',
;; `bmkp-file-this-dir-all-tags-alist-only',
;; `bmkp-file-this-dir-all-tags-regexp-alist-only',
;; `bmkp-file-this-dir-bookmark-p',
;; `bmkp-file-this-dir-some-tags-alist-only',
;; `bmkp-file-this-dir-some-tags-regexp-alist-only',
;; `bmkp-find-tag-default-as-regexp' (Emacs 22-24.2),
;; `bmkp-flagged-bookmark-p', `bmkp-flagged-cp', `bmkp-float-time',
;; `bmkp-format-spec', `bmkp-full-tag', `bmkp-function-alist-only',
;; `bmkp-function-bookmark-p', `bmkp-get-autofile-bookmark',
;; `bmkp-get-bookmark-in-alist', `bmkp-get-buffer-name',
;; `bmkp-get-end-position', `bmkp-get-tag-value', `bmkp-get-tags',
;; `bmkp-get-visit-time', `bmkp-get-visits-count',
;; `bmkp-gnus-alist-only', `bmkp-gnus-bookmark-p', `bmkp-gnus-cp',
;; `bmkp-goto-position', `bmkp-handle-region-default',
;; `bmkp-handle-region+narrow-indirect', `bmkp-handler-cp',
;; `bmkp-handler-pred', `bmkp-has-tag-p',
;; `bmkp-icicles-search-hits-alist-only',
;; `bmkp-icicles-search-hits-bookmark-p', `bmkp-image-alist-only',
;; `bmkp-image-bookmark-p', `bmkp-info-alist-only',
;; `bmkp-info-bookmark-p', `bmkp-info-node-name-cp',
;; `bmkp-info-position-cp', `bmkp-isearch-bookmarks' (Emacs 23+),
;; `bmkp-isearch-bookmarks-regexp' (Emacs 23+),
;; `bmkp-isearch-next-bookmark-buffer' (Emacs 23+), `bmkp-jump-1',
;; `bmkp-jump-bookmark-file', `bmkp-jump-bookmark-list',
;; `bmkp-jump-desktop', `bmkp-jump-dired', `bmkp-jump-eww' (Emacs
;; 25+), `bmkp-jump-function', `bmkp-jump-gnus',
;; `bmkp-jump-icicle-search-hits', `bmkp-jump-kmacro-list' (Emacs
;; 22+), `bmkp-jump-man', `bmkp-jump-sequence',
;; `bmkp-jump-snippet', `bmkp-jump-url-browse',
;; `bmkp-jump-variable-list', `bmkp-jump-w3m',
;; `bmkp-jump-w3m-new-buffer', `bmkp-jump-w3m-new-buffer',
;; `bmkp-jump-w3m-only-one-buffer',
;; `bmkp-jump-w3m-only-one-buffer', `bmkp-jump-woman',
;; `bmkp-kmacro-list-bookmark-p',
;; `bmkp-last-specific-buffer-alist-only',
;; `bmkp-last-specific-buffer-p',
;; `bmkp-last-specific-file-alist-only',
;; `bmkp-last-specific-file-p', `bmkp-list-position',
;; `bmkp-local-directory-bookmark-p',
;; `bmkp-local-file-accessed-more-recently-cp',
;; `bmkp-local-file-alist-only', `bmkp-local-file-bookmark-p',
;; `bmkp-local-file-size-cp', `bmkp-local-file-type-cp',
;; `bmkp-local-non-dir-file-alist-only',
;; `bmkp-local-non-dir-file-bookmark-p',
;; `bmkp-local-file-updated-more-recently-cp',
;; `bmkp-make-bookmark-file-record',
;; `bmkp-make-bookmark-list-record', `bmkp-make-desktop-record',
;; `bmkp-make-dired-record', `bmkp-make-eww-record' (Emacs 25+),
;; `bmkp-make-gnus-record', `bmkp-make-icicle-search-hits-record',
;; `bmkp-make-kmacro-list-record' (Emacs 22+),
;; `bmkp-make-man-record', `bmkp-make-plain-predicate',
;; `bmkp-make-record-for-target-file', `bmkp-make-sequence-record',
;; `bmkp-make-url-browse-record', `bmkp-make-variable-list-record',
;; `bmkp-make-w3m-record', `bmkp-make-woman-record' (Emacs 21+),
;; `bmkp-man-alist-only', `bmkp-man-bookmark-p',
;; `bmkp-marked-bookmark-p', `bmkp-marked-bookmarks-only',
;; `bmkp-marked-cp', `bmkp-maybe-save-bookmarks',
;; `bmkp-modified-bookmark-p', `bmkp-modified-cp',
;; `bmkp-msg-about-sort-order', `bmkp-multi-sort',
;; `bmkp-names-same-bookmark-p', `bmkp-navlist-bookmark-p',
;; `bmkp-new-bookmark-default-names',
;; `bmkp-non-autonamed-alist-only', `bmkp-non-dir-file-alist-only',
;; `bmkp-non-dir-file-bookmark-p', `bmkp-non-file-alist-only',
;; `bmkp-non-file-bookmark-p', `bmkp-non-invokable-alist-only',
;; `bmkp-non-invokable-bookmark-p',
;; `bmkp-not-near-other-auto-idle-bmks', `bmkp-omitted-alist-only',
;; `bmkp-orphaned-file-alist-only',
;; `bmkp-orphaned-file-bookmark-p',
;; `bmkp-orphaned-local-file-alist-only',
;; `bmkp-orphaned-local-file-bookmark-p',
;; `bmkp-orphaned-remote-file-alist-only',
;; `bmkp-orphaned-remote-file-bookmark-p',
;; `bmkp-pop-to-readable-marker', `bmkp-position-after-whitespace',
;; `bmkp-position-before-whitespace', `bmkp-position-cp',
;; `bmkp-position-post-context',
;; `bmkp-position-post-context-region',
;; `bmkp-position-pre-context', `bmkp-position-pre-context-region',
;; `bmkp-printable-vars+vals', `bmkp-propertize',
;; `bmkp-readable-p', `bmkp-read-bookmark-file-default',
;; `bmkp-read-bookmark-file-name', `bmkp-read-from-whole-string',
;; `bmkp-read-regexp', `bmkp-read-tag-completing',
;; `bmkp-read-tags', `bmkp-read-tags-completing',
;; `bmkp-read-variable', `bmkp-read-variables-completing',
;; `bmkp-record-visit', `bmkp-refresh-latest-bookmark-list',
;; `bmkp-refresh-menu-list', `bmkp-refresh/rebuild-menu-list',
;; `bmkp-regexp-filtered-annotation-alist-only',
;; `bmkp-regexp-filtered-bookmark-name-alist-only',
;; `bmkp-regexp-filtered-file-name-alist-only',
;; `bmkp-regexp-filtered-tags-alist-only',
;; `bmkp-region-alist-only', `bmkp-region-bookmark-p',
;; `bmkp-remote-file-alist-only', `bmkp-remote-file-bookmark-p',
;; `bmkp-remote-non-dir-file-alist-only',
;; `bmkp-remote-non-dir-file-bookmark-p', `bmkp-remove-dups',
;; `bmkp-remove-if', `bmkp-remove-if-not', `bmkp-remove-omitted',
;; `bmkp-rename-for-marked-and-omitted-lists',
;; `bmkp-repeat-command', `bmkp-replace-existing-bookmark',
;; `bmkp-reset-bmkp-store-org-link-checking-p' (Emacs 24.4+),
;; `bmkp-retrieve-icicle-search-hits-1',
;; `bmkp-root-or-sudo-logged-p', `bmkp-same-creation-time-p',
;; `bmkp-same-file-p', `bmkp-save-new-region-location',
;; `bmkp-select-buffer-other-window', `bmkp-sequence-alist-only',
;; `bmkp-sequence-bookmark-p', `bmkp-set-tag-value-for-bookmarks',
;; `bmkp-set-union', `bmkp-snippet-alist-only',
;; `bmkp-snippet-bookmark-p', `bmkp-some', `bmkp-some-marked-p',
;; `bmkp-some-tags-alist-only', `bmkp-some-tags-regexp-alist-only',
;; `bmkp-some-unmarked-p', `bmkp-sorting-description',
;; `bmkp-sort-omit', `bmkp-sound-jump',
;; `bmkp-specific-buffers-alist-only',
;; `bmkp-specific-files-alist-only', `bmkp-store-org-link-1',
;; `bmkp-string-less-case-fold-p', `bmkp-tagged-alist-only',
;; `bmkp-tagged-bookmark-p', `bmkp-tagged-cp', `bmkp-tag-name',
;; `bmkp-tags-in-bookmark-file', `bmkp-tags-list',
;; `bmkp-temporary-alist-only', `bmkp-temporary-bookmark-p',
;; `bmkp-thing-at-point', `bmkp-this-buffer-alist-only',
;; `bmkp-this-buffer-p', `bmkp-this-file-alist-only',
;; `bmkp-this-file/buffer-alist-only', `bmkp-this-file-p',
;; `bmkp-unmarked-bookmarks-only', `bmkp-unpropertized-string',
;; `bmkp-untagged-alist-only', `bmkp-upcase',
;; `bmkp-update-autonamed-bookmark', `bmkp-url-alist-only',
;; `bmkp-url-bookmark-p', `bmkp-url-browse-alist-only',
;; `bmkp-url-browse-bookmark-p', `bmkp-url-cp',
;; `bmkp-variable-list-alist-only',
;; `bmkp-variable-list-bookmark-p', `bmkp-visited-more-cp',
;; `bmkp-w3m-alist-only', `bmkp-w3m-bookmark-p', `bmkp-w3m-cp',
;; `bmkp-w3m-set-new-buffer-name'.
;;
;; Internal variables defined here:
;;
;; `bmkp-after-set-hook', `bmkp-autofile-history',
;; `bmkp-auto-idle-bookmark-mode-timer',
;; `bmkp-auto-idle-bookmarks', `bmkp-autonamed-history',
;; `bmkp-autotemp-all-when-set-p', `bmkp-before-jump-hook',
;; `bmkp-bookmark-file-history', `bmkp-bookmark-list-history',
;; `bmkp-bookmark-set-confirms-overwrite-p',
;; `bmkp-buffer-alist-only', `bmkp-buffer-bookmark-p',
;; `bmkp-current-bookmark-file', `bmkp-current-nav-bookmark',
;; `bmkp-desktop-current-file', `bmkp-desktop-history',
;; `bmkp-dired-history', `bmkp-edit-bookmark-record-mode-map',
;; `bmkp-edit-bookmark-records-mode-map',
;; `bmkp-edit-bookmark-records-number', `bmkp-edit-tags-mode-map',
;; `bmkp-eww-history' (Emacs 25+), `bmkp-eww-jumping-p' (Emacs
;; 25+), `bmkp-eww-new-buf-name' (Emacs 25+),
;; `bmkp-file-bookmark-handlers', `bmkp-file-history',
;; `bmkp-gnus-history', `bmkp-icicles-search-hits-retrieve-more',
;; `bmkp-image-history', `bmkp-info-history',
;; `bmkp-isearch-bookmarks' (Emacs 23+),
;; `bmkp-jump-display-function', `bmkp-jump-other-window-map',
;; `bmkp-last-bmenu-state-file', `bmkp-last-bookmark-file',
;; `bmkp-last-save-flag-value', `bmkp-last-specific-buffer',
;; `bmkp-last-specific-file', `bmkp-latest-bookmark-alist',
;; `bmkp-local-file-history', `bmkp-man-history',
;; `bmkp-modified-bookmarks', `bmkp-nav-alist',
;; `bmkp-non-file-filename', `bmkp-non-file-history',
;; `bmkp-region-history', `bmkp-remote-file-history',
;; `bmkp-return-buffer', `bmkp-reverse-multi-sort-p',
;; `bmkp-reverse-sort-p', `bmkp-snippet-history',
;; `bmkp-sorted-alist', `bmkp-specific-buffers-history',
;; `bmkp-specific-files-history', `bmkp-store-org-link-checking-p',
;; `bmkp-tag-history', `bmkp-tags-alist', `bmkp-temporary-history',
;; `bmkp-types-alist', `bmkp-url-history',
;; `bmkp-use-w32-browser-p', `bmkp-variable-list-history',
;; `bmkp-version-number', `bmkp-w3m-history'.
;;
;;
;; ***** NOTE: The following commands defined in `bookmark.el'
;; have been REDEFINED HERE:
;;
;; `bookmark-default-annotation-text', `bookmark-delete',
;; `bookmark-edit-annotation-mode', `bookmark-insert',
;; `bookmark-insert-annotation',
;; `bookmark-insert-current-bookmark', `bookmark-insert-location',
;; `bookmark-jump', `bookmark-jump-other-frame',
;; `bookmark-jump-other-window', `bookmark-load',
;; `bookmark-relocate', `bookmark-rename', `bookmark-save',
;; `bookmark-send-edited-annotation', `bookmark-set',
;; `bookmark-set-name', `bookmark-yank-word'.
;;
;;
;; ***** NOTE: The following user options defined in `bookmark.el'
;; have been REDEFINED HERE:
;;
;; `bookmark-automatically-show-annotations', `bookmark-sort-flag'
;; (document non-use), `bookmark-version-control'.
;;
;;
;; ***** NOTE: The following non-interactive functions defined in
;; `bookmark.el' have been REDEFINED HERE:
;;
;; `bookmark--jump-via', `bookmark-alist-from-buffer',
;; `bookmark-all-names', `bookmark-completing-read',
;; `bookmark-default-handler', `bookmark-edit-annotation' (command
;; here), `bookmark-exit-hook-internal', `bookmark-get-bookmark',
;; `bookmark-get-bookmark-record' (Emacs 20-22),
;; `bookmark-get-handler' (Emacs 20-22),
;; `bookmark-handle-bookmark', `bookmark-import-new-list',
;; `bookmark-jump-noselect' (Emacs 20-22), `bookmark-location',
;; `bookmark-make-record', `bookmark-make-record-default',
;; `bookmark-maybe-load-default-file', `bookmark-maybe-rename',
;; `bookmark-prop-get' (Emacs 20-22), `bookmark-prop-set',
;; `bookmark-show-annotation' (command here),
;; `bookmark-show-all-annotations' (command here), `bookmark-store'
;; (Emacs 20-22), `bookmark-write-file'.
;;
;;
;; ***** NOTE: The following internal variables defined in
;; `bookmark.el' have been REDEFINED HERE:
;;
;; `bookmark-alist' (doc string only),
;; `bookmark-make-record-function' (Emacs 20-22),
;; `bookmarks-already-loaded' (doc string only).
;;
;;
;; ***** NOTE: The following functions defined in `info.el'
;; have been REDEFINED HERE:
;;
;; `Info-bookmark-jump' (Emacs 20-22), `Info-bookmark-make-record'
;; (Emacs 20-22).
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;;
;; You should have received a copy of the GNU General Public License
;; along with this program; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth
;; Floor, Boston, MA 02110-1301, USA.
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;; Code:
;;;;;;;;;;;;;;;;;;;;;;;
(unless (fboundp 'file-remote-p) (require 'ffap)) ;; ffap-file-remote-p
(eval-when-compile (require 'gnus)) ;; mail-header-id (really in `nnheader.el')
(eval-when-compile (require 'gnus-sum)) ;; gnus-summary-article-header
(eval-when-compile (require 'cl)) ;; case, multiple-value-bind, typecase (plus, for Emacs 20: dolist, push)
(when (and (require 'thingatpt+ nil t) ;; (no error if not found):
(fboundp 'tap-put-thing-at-point-props)) ; >= 2012-08-21
(tap-define-aliases-wo-prefix)
(tap-put-thing-at-point-props))
;; region-or-non-nil-symbol-name-nearest-point, symbol-nearest-point
(when (> emacs-major-version 21) (require 'font-lock+ nil t)) ;; font-lock-ignore (text property)
(require 'bookmark)
;; bookmark-alist, bookmark-alist-modification-count, bookmark-annotation-name,
;; bookmark-automatically-show-annotations, bookmark-bmenu-bookmark,
;; bookmark-bmenu-surreptitiously-rebuild-list, bookmark-buffer-file-name, bookmark-buffer-name,
;; bookmark-completion-ignore-case, bookmark-current-bookmark, bookmark-default-file,
;; bookmark-edit-annotation, bookmark-get-annotation, bookmark-get-bookmark-record, bookmark-get-filename,
;; bookmark-get-front-context-string, bookmark-get-handler, bookmark-get-position,
;; bookmark-get-rear-context-string, bookmark-insert-file-format-version-stamp, bookmark-kill-line,
;; bookmark-make-record, bookmark-maybe-historicize-string, bookmark-maybe-upgrade-file-format,
;; bookmark-menu-popup-paned-menu, bookmark-name-from-full-record, bookmark-name-from-record,
;; bookmark-popup-menu-and-apply-function, bookmark-prop-get, bookmark-save-flag, bookmark-search-size,
;; bookmark-set-annotation, bookmark-set-filename, bookmark-set-position, bookmark-time-to-save-p,
;; bookmark-use-annotations, bookmark-yank-point
;; Some general Renamings.
;;
;; 1. Fix incompatibility introduced by gratuitous Emacs name change.
;;
(cond ((and (fboundp 'bookmark-name-from-record) (not (fboundp 'bookmark-name-from-full-record)))
(defalias 'bookmark-name-from-full-record 'bookmark-name-from-record))
((and (fboundp 'bookmark-name-from-full-record) (not (fboundp 'bookmark-name-from-record)))
(defalias 'bookmark-name-from-record 'bookmark-name-from-full-record)))
;; 2. The vanilla name of the first is misleading, as it returns only the cdr of the record.
;; The second is for consistency.
;;
(defalias 'bmkp-bookmark-data-from-record 'bookmark-get-bookmark-record)
(defalias 'bmkp-bookmark-name-from-record 'bookmark-name-from-full-record)
(eval-when-compile
(or (condition-case nil
(load-library "bookmark+-mac") ; Use load-library to ensure latest .elc.
(error nil))
(require 'bookmark+-mac))) ; Require, so can load separately if not on `load-path'.
;; bmkp-define-cycle-command, bmkp-define-file-sort-predicate, bmkp-define-next+prev-cycle-commands,
;; bmkp-with-help-window, bmkp-with-output-to-plain-temp-buffer
(eval-when-compile (require 'bookmark+-bmu))
;; bmkp-bmenu-before-hide-marked-alist, bmkp-bmenu-before-hide-unmarked-alist, bmkp-bmenu-commands-file,
;; bmkp-replace-regexp-in-string, bmkp-bmenu-filter-function, bmkp-bmenu-filter-pattern,
;; bmkp-bmenu-first-time-p, bmkp-flagged-bookmarks, bmkp-bmenu-goto-bookmark-named,
;; bmkp-bmenu-marked-bookmarks, bmkp-bmenu-omitted-bookmarks, bmkp-bmenu-refresh-menu-list,
;; bmkp-bmenu-show-all, bmkp-bmenu-state-file, bmkp-bmenu-title, bmkp-looking-at-p,
;; bmkp-maybe-unpropertize-bookmark-names, bmkp-sort-orders-alist, bookmark-bmenu-toggle-filenames
;; (eval-when-compile (require 'bookmark+-lit nil t))
;; bmkp-light-bookmark, bmkp-light-bookmarks, bmkp-light-this-buffer
;; For the redefinition of `bookmark-get-bookmark'.
(provide 'bookmark+-1) ; Ensure this library is loaded before we compile it.
(require 'bookmark+-1) ; So be sure to put this library in your `load-path' before
; trying to byte-compile it.
;;;;;;;;;;;;;;;;;;;;;;;
;; Quiet the byte-compiler
(defvar bmkp-auto-light-when-set) ; In `bookmark+-lit.el'
(defvar bmkp-auto-light-when-jump) ; In `bookmark+-lit.el'
(defvar bmkp-edit-bookmark-record-mode-map) ; Here, via `define-derived-mode'
(defvar bmkp-edit-bookmark-records-mode-map) ; Here, via `define-derived-mode'
(defvar bmkp-edit-tags-mode-map) ; Here, via `define-derived-mode'
(defvar bmkp-eww-auto-type) ; Here (Emacs 25+)
(defvar bmkp-eww-buffer-renaming) ; Here (Emacs 25+)
(defvar bmkp-eww-generate-buffer-flag) ; Here (Emacs 25+)
(defvar bmkp-eww-jumping-p) ; Here (Emacs 25+)
(defvar bmkp-eww-new-buf-name) ; Here (Emacs 25+)
(defvar bmkp-eww-replace-keys-flag) ; Here (Emacs 25+)
(defvar bmkp-info-auto-type) ; Here (Emacs 22+)
(defvar bmkp-light-priorities) ; In `bookmark+-lit.el'
(defvar bmkp-temporary-bookmarking-mode) ; Here
(defvar bmkp-global-auto-idle-bookmark-mode) ; Here, via `define-globalized-minor-mode'
(defvar bookmark-current-point) ; In `bookmark.el', but not in Emacs 23+
(defvar bookmark-edit-annotation-text-func) ; In `bookmark.el'
(defvar bookmark-file-coding-system) ; In `bookmark.el' (Emacs 25.2+)
(defvar bookmark-read-annotation-text-func) ; In `bookmark.el', but not in Emacs 23+
(defvar bookmark-make-record-function) ; In `bookmark.el'
(defvar desktop-basefilename) ; In `desktop.el' (Emacs < 22)
(defvar desktop-base-file-name) ; In `desktop.el'
(defvar desktop-buffer-args-list) ; In `desktop.el'
(defvar desktop-delay-hook) ; In `desktop.el'
(defvar desktop-dirname) ; In `desktop.el'
(defvar desktop-file-modtime) ; In `desktop.el'
(defvar desktop-globals-to-save) ; In `desktop.el'
(defvar desktop-save-mode) ; In `desktop.el'
(defvar desktop-save) ; In `desktop.el'
(defvar dired-actual-switches) ; In `dired.el'
(defvar dired-buffers) ; In `dired.el'
(defvar dired-directory) ; In `dired.el'
(defvar dired-guess-shell-case-fold-search) ; In `dired-x.el'
(defvar dired-subdir-alist) ; In `dired.el'
(defvar eww-data) ; In `eww.el' (Emacs 25+)
(defvar eww-local-regex) ; In `eww.el' (Emacs 25+)
(defvar eww-search-prefix) ; In `eww.el' (Emacs 25+)
(defvar gnus-article-current) ; In `gnus-sum.el'
(defvar icicle-candidate-properties-alist) ; In `icicles-var.el'
(defvar icicle-completion-candidates) ; In `icicles-var.el'
(defvar icicle-mode) ; In `icicle-mode.el'
(defvar icicle-multi-completing-p) ; In `icicles-var.el'
(defvar icicle-saved-completion-candidates) ; In `icicles-var.el'
(defvar icicle-searching-p) ; In `icicles-var.el'
(defvar Info-current-node) ; In `info.el'
(defvar Info-current-file) ; In `info.el'
(defvar kmacro-counter) ; In `kmacro.el'
(defvar kmacro-counter-format-start) ; In `kmacro.el'
(defvar kmacro-ring) ; In `kmacro.el'
(defvar Man-arguments) ; In `man.el'
(defvar org-store-link-functions) ; In `org.el'
(defvar read-file-name-completion-ignore-case) ; Emacs 23+
(defvar last-repeatable-command) ; In `repeat.el'
(defvar w3m-current-title) ; In `w3m.el'
(defvar w3m-current-url) ; In `w3m.el'
(defvar w3m-mode-map) ; In `w3m.el'
(defvar zz-izones) ; In `zones.el'
(defvar zz-izones-var) ; In `zones.el'
(defvar woman-last-file-name) ; In `woman.el'
;;(@* "User Options (Customizable)")
;;; User Options (Customizable) --------------------------------------
;;;###autoload (autoload 'bmkp-autofile-access-invokes-bookmark-flag "bookmark+")
(defcustom bmkp-autofile-access-invokes-bookmark-flag nil
"*Non-nil means invoke the bookmark when you access an autofile.
That is, if a file has an associated autofile bookmark then functions
such as `find-file' will automatically jump to the bookmark. The
buffer position of an autofile bookmark is not important, but this can
be useful to update the bookmark data, such as the number of visits.
If you change the option value in Lisp code without using a Customize
function, then add/remove `bmkp-find-file-invoke-bookmark-if-autofile'
to/from `find-file-hook'."
:set (lambda (sym new-val)
(custom-set-default sym new-val)
(let ((hook-var (if (< emacs-major-version 22) 'find-file-hooks 'find-file-hook)))
(if bmkp-autofile-access-invokes-bookmark-flag
(add-hook hook-var 'bmkp-find-file-invoke-bookmark-if-autofile)
(remove-hook hook-var 'bmkp-find-file-invoke-bookmark-if-autofile))))
:type 'boolean :group 'bookmark-plus)
;;;###autoload (autoload 'bmkp-autofile-filecache "bookmark+")
(defcustom bmkp-autofile-filecache 'cache-only
"*Whether Emacs filecache commands create/set an autofile bookmark.
The possible values:
`autofile+cache' - Whenever a file is added to the file cache, also
create/set an autofile bookmark for the file.
`autofile-only' - Create/set an autofile instead of caching the file.
`cache-only' - Add the file to the file cache. No autofile."
:type '(choice
(const :tag "Create/set an autofile bookmark instead of adding to file cache" autofile-only)
(const :tag "Create/set an autofile bookmark and add to file cache" autofile+cache)
(const :tag "Add to file cache only - do not create/set an autofile bookmark" cache-only))
:group 'bookmark-plus)
;;;###autoload (autoload 'bmkp-auto-idle-bookmark-min-distance "bookmark+")
(defcustom bmkp-auto-idle-bookmark-min-distance 1000
"*Minimum number of chars between automatic bookmark positions."
:type '(choice
(const :tag "No minumum distance" nil)
(integer :tag "At least this many chars" :value 1000))
:group 'bookmark-plus)
;; Emacs 20 only.
;;;###autoload (autoload 'bmkp-auto-idle-bookmark-mode "bookmark+")
(unless (fboundp 'define-minor-mode)
(defcustom bmkp-auto-idle-bookmark-mode nil
"*Non-nil means that bookmarks are created periodically automatically.
Setting this variable directly does not take effect;
use either \\[customize] or command `bmkp-auto-idle-bookmark-mode'."
:set (lambda (symbol value) (bmkp-auto-idle-bookmark-mode (if value 1 -1)))
:initialize 'custom-initialize-default
:type 'boolean :group 'bookmark-plus :require 'bookmark+))
;;;###autoload (autoload 'bmkp-auto-idle-bookmark-mode-delay "bookmark+")
(defcustom bmkp-auto-idle-bookmark-mode-delay 60
"*Number of seconds delay before automatically setting a bookmark.
Such automatic bookmarking is controlled by
`bmkp-temporary-bookmarking-mode'."
:type 'integer :group 'bookmark-plus)
;;;###autoload (autoload 'bmkp-auto-idle-bookmark-mode-lighter "bookmark+")
(defcustom bmkp-auto-idle-bookmark-mode-lighter " Auto-Bmk"
"*Lighter for `bmkp-auto-idle-bookmark-mode'.
This string shows in the mode line when `bmkp-auto-idle-bookmark-mode'
is enabled. Set this to nil or \"\" if you do not want any lighter."
:type 'string :group 'bookmark-plus)
;;;###autoload (autoload 'bmkp-auto-idle-bookmark-mode-set-function "bookmark+")
(defcustom bmkp-auto-idle-bookmark-mode-set-function #'bmkp-set-autonamed-bookmark-at-line
"*Function used to set an automatic bookmark.
Used by `bmkp-temporary-bookmarking-mode'.
The default value, `bmkp-set-autonamed-bookmark-at-line', sets an
autonamed bookmark at the start of the current line. To bookmark the
current position, so you can have more than one automatic bookmark per
line, use `bmkp-set-autonamed-bookmark' instead."
:type 'function :group 'bookmark-plus)