[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote ecccc046be 5/6: Document integration with contex
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote ecccc046be 5/6: Document integration with context-menu-mode (also see 2a1d5eb) |
Date: |
Fri, 31 Mar 2023 12:57:39 -0400 (EDT) |
branch: externals/denote
commit ecccc046beb502efecb9c4f3e3d845b122a8b34c
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Document integration with context-menu-mode (also see 2a1d5eb)
---
README.org | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/README.org b/README.org
index 260c59054d..ce4ef64206 100644
--- a/README.org
+++ b/README.org
@@ -897,6 +897,25 @@ is non-nil.
The match is performed with ~string-match-p~.
+** Use Denote commands from the menu bar or context menu
+
+[ Part of {{{development-version}}}. ]
+
+Denote registers a submenu for the ~menu-bar-mode~. Users will find
+the entry called "Denote". From there they can use their pointer to
+select a command. For a sample of how this looks, read the
+development log:
<https://protesilaos.com/codelog/2023-03-31-emacs-denote-menu/>.
+
+Emacs also provides support for operations through a context menu.
+This is typically the set of actions that are made available via a
+right mouse click. Users who enable ~context-menu-mode~ can register
+the Denote entry for it by adding the following to their configuration
+file:
+
+#+begin_src emacs-lisp
+(add-hook 'context-menu-functions #'denote-context-menu)
+#+end_src
+
* Renaming files
:PROPERTIES:
:CUSTOM_ID: h:532e8e2a-9b7d-41c0-8f4b-3c5cbb7d4dca
@@ -2905,6 +2924,12 @@ Everything is in place to set up the package.
;; Also check the commands `denote-link-after-creating',
;; `denote-link-or-create'. You may want to bind them to keys as well.
+
+
+;; If you want to have Denote commands available via a right click
+;; context menu, use the following and then enable
+;; `context-menu-mode'.
+(add-hook 'context-menu-functions #'denote-context-menu)
#+end_src
* For developers or advanced users
- [elpa] externals/denote updated (d76bebd71e -> b755832873), ELPA Syncer, 2023/03/31
- [elpa] externals/denote b755832873 6/6: Add links to video demo of Denote, ELPA Syncer, 2023/03/31
- [elpa] externals/denote a4c06fcede 3/6: Fix symbol name in denote-link-or-create docstring, ELPA Syncer, 2023/03/31
- [elpa] externals/denote 2a1d5eb8f6 4/6: Add code to integrate menu with context-menu-mode, ELPA Syncer, 2023/03/31
- [elpa] externals/denote bd4ac5d806 1/6: Ensure that 'denote-file-prompt' uses its own history, ELPA Syncer, 2023/03/31
- [elpa] externals/denote 64bc2823d2 2/6: Fix symbol name in denote-open-or-create docstring, ELPA Syncer, 2023/03/31
- [elpa] externals/denote ecccc046be 5/6: Document integration with context-menu-mode (also see 2a1d5eb),
ELPA Syncer <=