public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs-openrc:master commit in: /
Date: Fri, 10 Feb 2023 13:32:51 +0000 (UTC)	[thread overview]
Message-ID: <1676035910.0167e6c3849588200e60f7c016e0aa7dbee0f7e4.xgqt@gentoo> (raw)

commit:     0167e6c3849588200e60f7c016e0aa7dbee0f7e4
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 13:31:50 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 13:31:50 2023 +0000
URL:        https://gitweb.gentoo.org/proj/emacs-openrc.git/commit/?id=0167e6c3

openrc.el: add menu

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 openrc.el | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/openrc.el b/openrc.el
index a1bc135..7ee20ea 100644
--- a/openrc.el
+++ b/openrc.el
@@ -273,6 +273,19 @@ If PRIVILEGED is true, then use the \"sudo\" or \"su\" to run the command."
     openrc-services-menu-mode-map)
   "Key map for `openrc-services-menu' major mode.")
 
+
+(easy-menu-define openrc-services-menu-menu openrc-services-menu-mode-map
+  "Menu for `el-fetch-mode'."
+  '("OpenRC"
+    ["Refresh" openrc-refresh-services]
+    ["Describe service" openrc-describe-entry]
+    ["Restart service" openrc-restart-entry]
+    ["Toggle service" openrc-toggle-entry]
+    ["Add to runlevel" openrc-add-entry]
+    ["Delete from runlevel" openrc-del-entry]
+    ["Quit" quit-window]
+    ["Help" describe-mode]))
+
 (define-derived-mode openrc-services-menu-mode tabulated-list-mode
   "OpenRC Services Menu"
   "Major mode for listing the OpenRC services."


             reply	other threads:[~2023-02-10 13:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-10 13:32 Maciej Barć [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-21  9:50 [gentoo-commits] proj/emacs-openrc:master commit in: / Maciej Barć
2023-04-26  0:12 Maciej Barć
2023-04-25 20:54 Maciej Barć
2023-04-25 19:43 Maciej Barć
2023-02-10 13:32 Maciej Barć
2023-02-03 13:51 Maciej Barć
2022-12-13 10:45 Maciej Barć
2022-07-07 23:28 Maciej Barć
2022-07-07 23:05 Maciej Barć

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=1676035910.0167e6c3849588200e60f7c016e0aa7dbee0f7e4.xgqt@gentoo \
    --to=xgqt@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox