From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Printable reference card for bookmark+ shortcuts Date: Mon, 20 Oct 2014 11:27:38 -0700 (PDT) Message-ID: <9ad78e85-5621-4c26-bb31-e8f4f81dac8a@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1413829707 31683 80.91.229.3 (20 Oct 2014 18:28:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 18:28:27 +0000 (UTC) To: Dmitry Cherkassov , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 20:28:21 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XgHgm-000759-UI for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 20:28:17 +0200 Original-Received: from localhost ([::1]:46277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgHgm-0007Gn-Fz for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 14:28:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgHgP-00077w-7p for help-gnu-emacs@gnu.org; Mon, 20 Oct 2014 14:28:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgHgH-0004xU-Jh for help-gnu-emacs@gnu.org; Mon, 20 Oct 2014 14:27:53 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:32589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgHgH-0004xO-BO for help-gnu-emacs@gnu.org; Mon, 20 Oct 2014 14:27:45 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s9KIRfn8029209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Oct 2014 18:27:42 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s9KIRe5G005345 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 20 Oct 2014 18:27:41 GMT Original-Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s9KIRdUF003233; Mon, 20 Oct 2014 18:27:39 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:100520 Archived-At: > Does anybody have smth like that? You can use any of the following to list Bookmark+ key bindings. Then print it. 1. In the bookmark-list display (buffer `*Bookmark List*'), the key `?' gives you a list of the most important Bookmark+ keys, both for that buffer (mode `bookmark-bmenu-mode') and generally (i.e., outside that mode). IOW, it is a pretty complete overview of the Bookmark+ key bindings. 2. Load library `help-fns+.el', and use `C-h M-k' (`describe-keymap') to describe any keymap variable, listing its keys human-readably. http://www.emacswiki.org/emacs-en/download/help-fns%2b.el For example, `C-h M-k bookmark-bmenu-mode-map' gives you a listing=20 of all of the keys for buffer `*Bookmark List*'. And `C-h M-k bookmark-map' gives you a listing of all of the other Bookmark+ keys. 3. A prefix key followed by `C-h' shows you a list of all of the keys on that prefix. For example, `s' is a prefix key for sort commands in `*Bookmark List*', and `s C-h' shows you a listing of all of them. And `C-x p C-h' gives you a list of all Bookmark+ keys (other than those specific to buffer `*Bookmark List*'), because they are *ALL* on prefix key `C-x p'. And `C-x p c C-h' gives you a list of all of those keys that _create_ bookmarks (`C-x p c' is the prefix key for bookmark-creation commands). And `C-x p t C-h' gives you a list of all of the keys for _tags_ commands (`C-x p t' is the prefix key for bookmark tag-related commands). And `C-x j C-h' and `C-x 4 j C-h' give you lists of all of the bookmark _jump_ keys. And `C-x j t C-h' and `C-x 4 j t C-h' give you lists of all of the keys for _jump commands that use tags_. And `C-x j t . C-h' gives you a list of all of the keys for jumping to tagged bookmarks that are for the current directory. And so on. Now, it is also true that some of the most important bookmarking keys are also bound to shorter key sequences. (And the vanilla Emacs bookmarking keys are retained.) For example, `bookmark-jump-other-window' is bound to each of these key sequences: C-x j j (prefix C-x 4 j, jump commands) C-x p g (prefix C-x p, all bookmarking commands) C-x r b (vanilla binding, on prefix C-x r, which is for rectangles too) Having everything on a single prefix key is helpful for discovery and memory, but shorter keys are helpful for things you use frequently. HTH. ---- Here are the listings for both `C-h M-k bookmark-map' and `C-x p C-h'. You can see that they list the same keys/commands. In the first list, for `bookmark-map', you do not see the prefix `C-x p', upon which the whole keymap is placed. (The intro text, which comes from vanilla Emacs, is thus misleading when it says "It is not bound to any key by default" - in Bookmark+ it is bound to `C-x p' by default.) ,---- | bookmark-map | ------------ |=20 | Keymap containing bindings to bookmark functions. | It is not bound to any key by default: to bind it | so that you have a bookmark prefix, just use `global-set-key' and bind a | key of your choice to `bookmark-map'. All interactive bookmark | functions have a binding in this keymap. |=20 | key binding | --- ------- |=20 | C-b bmkp-previous-bookmark-repeat | C-f bmkp-next-bookmark-repeat | RET bmkp-toggle-autonamed-bookmark-set/delete | C-n bmkp-next-bookmark-this-file/buffer-repeat | C-p bmkp-previous-bookmark-this-file/buffer-repeat | C-u bmkp-unlight-bookmark-here | ESC Prefix Command | , bmkp-this-file/buffer-bmenu-list | 0 bmkp-empty-file | : bmkp-choose-navlist-of-type | =3D bmkp-bookmarks-lighted-at-point | ? bmkp-describe-bookmark | B bmkp-choose-navlist-from-bookmark-list | E bmkp-edit-bookmark-record | H bmkp-light-bookmarks | I bookmark-insert-location | K bmkp-set-desktop-bookmark | L bmkp-switch-bookmark-file-create | N bmkp-navlist-bmenu-list | U bmkp-unlight-bookmarks | b bmkp-previous-bookmark-repeat | c Prefix Command | d bookmark-delete | e edit-bookmarks | f bmkp-next-bookmark-repeat | g bookmark-jump | h bmkp-light-bookmark-this-buffer | i bookmark-insert | j bookmark-jump-other-window | l bookmark-load | m bmkp-bookmark-set-confirm-overwrite | n bmkp-next-bookmark-this-file/buffer-repeat | o bookmark-jump-other-window | p bmkp-previous-bookmark-this-file/buffer-repeat | q bookmark-jump-other-window | r bmkp-edit-bookmark-name-and-location | s bookmark-save | t Prefix Command | u bmkp-unlight-bookmark-this-buffer | w bookmark-write | x bmkp-toggle-autotemp-on-set | y bmkp-set-bookmark-file-bookmark | bmkp-next-lighted-this-buffer-repeat | bmkp-previous-lighted-this-buffer-repeat | bmkp-delete-bookmarks | bmkp-next-bookmark-this-file/buffer-repeat | bmkp-previous-bookmark-repeat | bmkp-next-bookmark-w32-repeat | bmkp-previous-bookmark-w32-repeat | bmkp-next-bookmark-repeat | bmkp-previous-bookmark-this-file/buffer-repeat | bmkp-next-bookmark-this-file/buffer-repeat | bmkp-previous-bookmark-this-file/buffer-repeat |=20 | t C-y bmkp-paste-add-tags | t ESC Prefix Command | t + Prefix Command | t - Prefix Command | t 0 bmkp-remove-all-tags | t V bmkp-set-tag-value-for-navlist | t c bmkp-copy-tags | t d bmkp-remove-tags-from-all | t e bmkp-edit-tags | t l bmkp-list-all-tags | t p bmkp-paste-add-tags | t q bmkp-paste-replace-tags | t r bmkp-rename-tag | t v bmkp-set-tag-value |=20 | c C-k bmkp-wrap-bookmark-with-last-kbd-macro | c RET bmkp-toggle-autonamed-bookmark-set/delete | c ESC Prefix Command | c F bmkp-make-function-bookmark | c K bmkp-set-desktop-bookmark | c M bookmark-set | c a bmkp-autofile-set | c f bmkp-file-target-set | c m bmkp-bookmark-set-confirm-overwrite | c s bmkp-set-sequence-bookmark | c u bmkp-url-target-set | c y bmkp-set-bookmark-file-bookmark |=20 | M-w bmkp-set-snippet-bookmark |=20 | t M-w bmkp-copy-tags |=20 | t - a bmkp-untag-a-file | t - b bmkp-remove-tags |=20 | t + a bmkp-tag-a-file | t + b bmkp-add-tags |=20 | c M-w bmkp-set-snippet-bookmark `---- ,---- | Global Bindings Starting With C-x p: | key binding | --- ------- |=20 | C-x p C-b bmkp-previous-bookmark-repeat | C-x p C-f bmkp-next-bookmark-repeat | C-x p RET bmkp-toggle-autonamed-bookmark-set/delete | C-x p C-n bmkp-next-bookmark-this-file/buffer-repeat | C-x p C-p bmkp-previous-bookmark-this-file/buffer-repeat | C-x p C-u bmkp-unlight-bookmark-here | C-x p ESC Prefix Command | C-x p , bmkp-this-file/buffer-bmenu-list | C-x p 0 bmkp-empty-file | C-x p : bmkp-choose-navlist-of-type | C-x p =3D bmkp-bookmarks-lighted-at-point | C-x p ? bmkp-describe-bookmark | C-x p B bmkp-choose-navlist-from-bookmark-list | C-x p E bmkp-edit-bookmark-record | C-x p H bmkp-light-bookmarks | C-x p I bookmark-insert-location | C-x p K bmkp-set-desktop-bookmark | C-x p L bmkp-switch-bookmark-file-create | C-x p N bmkp-navlist-bmenu-list | C-x p U bmkp-unlight-bookmarks | C-x p b bmkp-previous-bookmark-repeat | C-x p c Prefix Command | C-x p d bookmark-delete | C-x p e edit-bookmarks | C-x p f bmkp-next-bookmark-repeat | C-x p g bookmark-jump | C-x p h bmkp-light-bookmark-this-buffer | C-x p i bookmark-insert | C-x p j bookmark-jump-other-window | C-x p l bookmark-load | C-x p m bmkp-bookmark-set-confirm-overwrite | C-x p n bmkp-next-bookmark-this-file/buffer-repeat | C-x p o bookmark-jump-other-window | C-x p p bmkp-previous-bookmark-this-file/buffer-repeat | C-x p q bookmark-jump-other-window | C-x p r bmkp-edit-bookmark-name-and-location | C-x p s bookmark-save | C-x p t Prefix Command | C-x p u bmkp-unlight-bookmark-this-buffer | C-x p w bookmark-write | C-x p x bmkp-toggle-autotemp-on-set | C-x p y bmkp-set-bookmark-file-bookmark | C-x p bmkp-next-lighted-this-buffer-repeat | C-x p bmkp-previous-lighted-this-buffer-repeat | C-x p bmkp-delete-bookmarks | C-x p bmkp-next-bookmark-this-file/buffer-repea= t | C-x p bmkp-previous-bookmark-repeat | C-x p bmkp-next-bookmark-w32-repeat | C-x p bmkp-previous-bookmark-w32-repeat | C-x p bmkp-next-bookmark-repeat | C-x p bmkp-previous-bookmark-this-file/buffer-repeat | C-x p bmkp-next-bookmark-this-file/buffer-repea= t | C-x p bmkp-previous-bookmark-this-file/buffer-r= epeat |=20 | C-x p t C-y bmkp-paste-add-tags | C-x p t ESC Prefix Command | C-x p t + Prefix Command | C-x p t - Prefix Command | C-x p t 0 bmkp-remove-all-tags | C-x p t V bmkp-set-tag-value-for-navlist | C-x p t c bmkp-copy-tags | C-x p t d bmkp-remove-tags-from-all | C-x p t e bmkp-edit-tags | C-x p t l bmkp-list-all-tags | C-x p t p bmkp-paste-add-tags | C-x p t q bmkp-paste-replace-tags | C-x p t r bmkp-rename-tag | C-x p t v bmkp-set-tag-value |=20 | C-x p c C-k bmkp-wrap-bookmark-with-last-kbd-macro | C-x p c RET bmkp-toggle-autonamed-bookmark-set/delete | C-x p c ESC Prefix Command | C-x p c F bmkp-make-function-bookmark | C-x p c K bmkp-set-desktop-bookmark | C-x p c M bookmark-set | C-x p c a bmkp-autofile-set | C-x p c f bmkp-file-target-set | C-x p c m bmkp-bookmark-set-confirm-overwrite | C-x p c s bmkp-set-sequence-bookmark | C-x p c u bmkp-url-target-set | C-x p c y bmkp-set-bookmark-file-bookmark |=20 | C-x p M-w bmkp-set-snippet-bookmark |=20 | C-x p t M-w bmkp-copy-tags |=20 | C-x p t - a bmkp-untag-a-file | C-x p t - b bmkp-remove-tags |=20 | C-x p t + a bmkp-tag-a-file | C-x p t + b bmkp-add-tags |=20 | C-x p c M-w bmkp-set-snippet-bookmark `----