~protesilaos/denote

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Move "Denote" menu on menu-bar to the end after Tools

Details
Message ID
<86zg1n25bb.fsf@nobiot.com>
DKIM signature
missing
Download raw message
Patch: +5 -1
Hi Prot and all in the list.

I'm happy to see that Prot has got his off-grid electricity cabin up.
Hope everything is working as you expect it to, Prot.

Here is a new patch. I have got this method from Charles Choi's blog article, "Using Bookmarks in Emacs like you do in Web Browsers" [1].

[1]:http://yummymelon.com/devnull/using-bookmarks-in-emacs-like-you-do-in-web-browsers.html

– nobiot

From ec217494621d6d70f28c9c3a1eb1b0539e6e92b7 Mon Sep 17 00:00:00 2001
From: Noboru Ota <me@nobiot.com>
Date: Fri, 15 Sep 2023 09:18:08 +0200
Subject: [PATCH] Move "Denote" menu on menu-bar to the end after Tools

---
 denote.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 43e9007..782737b 100644
--- a/denote.el
+++ b/denote.el
@@ -3489,10 +3489,14 @@ This command is meant to be used from a Dired buffer."
     :selected (bound-and-true-p denote-dired-mode)])
  "Contents of the Denote menu.")

(easy-menu-define denote-global-menu global-map
(easy-menu-define denote-global-menu nil
  "Menu with all Denote commands, each available in the right context."
  denote--menu-contents)

;; Add Denote menu at the end of global-map after Tools
(easy-menu-add-item global-map '(menu-bar)
                    denote-global-menu)

(defun denote-context-menu (menu _click)
  "Populate MENU with Denote commands at CLICK."
  (define-key menu [denote-separator] menu-bar-separator)
--
2.34.1
Details
Message ID
<87a5tn6cdo.fsf@protesilaos.com>
In-Reply-To
<86zg1n25bb.fsf@nobiot.com> (view parent)
DKIM signature
missing
Download raw message
> From: Noboru Ota <me@nobiot.com>
> Date: Fri, 15 Sep 2023 10:45:12 +0200
>
> Hi Prot and all in the list.

Hello Noboru and everybody reading this,

> I'm happy to see that Prot has got his off-grid electricity cabin up.
> Hope everything is working as you expect it to, Prot.

Yes, I am up and running!  I am still replying to emails and am aware
that there are some related to Denote.  Will get to them within the
coming hours/days.  Sorry for the delay.

> Here is a new patch. I have got this method from Charles Choi's blog
> article, "Using Bookmarks in Emacs like you do in Web Browsers" [1].
>
> [1]:http://yummymelon.com/devnull/using-bookmarks-in-emacs-like-you-do-in-web-browsers.html

Wonderful!  I installed the patch and pushed the changes.  Thank you!

All the best,
Prot

-- 
Protesilaos Stavrou
https://protesilaos.com
Reply to thread Export thread (mbox)