all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joseph Turner <joseph@breatheoutbreathe.in>
To: Eshel Yaron <me@eshelyaron.com>
Cc: Emacs Devel Mailing List <emacs-devel@gnu.org>,
	Adam Porter <adam@alphapapa.net>
Subject: Re: How to autoload easy-menu?
Date: Fri, 13 Oct 2023 21:35:55 -0700	[thread overview]
Message-ID: <87a5slg6dc.fsf@breatheoutbreathe.in> (raw)
In-Reply-To: <m1h6mvxaf7.fsf@eshelyaron.com>


Eshel Yaron <me@eshelyaron.com> writes:
>
> I've just installed `hyperdrive` and restarted Emacs.  Without changing
> anything in my init file, I now see the "Hyperdrive" menu under "Tools"
> in the menu bar.  Personally, I find that a little too intrusive, since
> I don't expect merely installing a package to change Emacs without an
> explicit toggle.  So my suggestion would be to add a global minor mode,
> maybe called `hyperdrive-menu-mode`, that adds the "Hyperdrive" menu
> under "Tools".  Then you can autoload `hyperdrive-menu-mode`, so users
> just need to do call this mode in their init file if they so desire.

Thank you for testing out hyperdrive.el!!!  Now, the "Tools > Hyperdrive"
menu is added only after the user calls `hyperdrive-menu-bar-mode':

https://git.sr.ht/~ushin/hyperdrive.el/commit/0869edbd

We may consider adding a defcustom to make `hyperdrive-menu-bar-mode'
add "Hyperdrive" menu to the global map instead of a submenu. WDYT?

Thank you!!

Joseph



  reply	other threads:[~2023-10-14  4:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-09  0:07 How to autoload easy-menu? Joseph Turner
2023-10-12 21:17 ` Joseph Turner
2023-10-13  7:13   ` Eshel Yaron
2023-10-14  4:35     ` Joseph Turner [this message]
2023-10-14 10:33       ` Eshel Yaron
2023-10-15  1:35         ` Joseph Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5slg6dc.fsf@breatheoutbreathe.in \
    --to=joseph@breatheoutbreathe.in \
    --cc=adam@alphapapa.net \
    --cc=emacs-devel@gnu.org \
    --cc=me@eshelyaron.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.