public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/ebuild-mode/files/, app-emacs/ebuild-mode/
Date: Mon, 10 Jan 2022 19:30:21 +0000 (UTC)	[thread overview]
Message-ID: <1641843016.1e734a64a43b59281f48db6c9594db6c64b8e734.ulm@gentoo> (raw)

commit:     1e734a64a43b59281f48db6c9594db6c64b8e734
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 19:29:59 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 19:30:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e734a64

app-emacs/ebuild-mode: Enable conf-mode for make.defaults

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 ...mode-1.54.ebuild => ebuild-mode-1.54-r1.ebuild} |  4 +--
 .../ebuild-mode/files/50ebuild-mode-gentoo-1.54.el | 30 ++++++++++++++++++++++
 2 files changed, 32 insertions(+), 2 deletions(-)

diff --git a/app-emacs/ebuild-mode/ebuild-mode-1.54.ebuild b/app-emacs/ebuild-mode/ebuild-mode-1.54-r1.ebuild
similarity index 90%
rename from app-emacs/ebuild-mode/ebuild-mode-1.54.ebuild
rename to app-emacs/ebuild-mode/ebuild-mode-1.54-r1.ebuild
index c972bf6d3080..54add5db8bed 100644
--- a/app-emacs/ebuild-mode/ebuild-mode-1.54.ebuild
+++ b/app-emacs/ebuild-mode/ebuild-mode-1.54-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,6 +17,6 @@ BDEPEND="sys-apps/texinfo"
 
 DOCS="ChangeLog keyword-generation.sh"
 ELISP_TEXINFO="${PN}.texi"
-SITEFILE="50${PN}-gentoo-1.52.el"
+SITEFILE="50${PN}-gentoo-1.54.el"
 DOC_CONTENTS="Some optional features may require installation of additional
 	packages, like dev-python/docutils-glep for glep."

diff --git a/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.54.el b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.54.el
new file mode 100644
index 000000000000..06ae54410391
--- /dev/null
+++ b/app-emacs/ebuild-mode/files/50ebuild-mode-gentoo-1.54.el
@@ -0,0 +1,30 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'ebuild-mode "ebuild-mode"
+  "Major mode for Portage .ebuild and .eclass files." t)
+(autoload 'ebuild-repo-mode "ebuild-mode"
+  "Minor mode for files in an ebuild repository." t)
+(autoload 'ebuild-repo-mode-maybe-enable "ebuild-mode")
+(autoload 'devbook-mode "devbook-mode"
+  "Major mode for editing the Gentoo Devmanual." t)
+(autoload 'gentoo-newsitem-mode "gentoo-newsitem-mode"
+  "Major mode for Gentoo GLEP 42 news items." t)
+(autoload 'glep-mode "glep-mode"
+  "Major mode for Gentoo Linux Enhancement Proposals." t)
+
+(add-to-list 'auto-mode-alist '("\\.\\(ebuild\\|eclass\\)\\'" . ebuild-mode))
+(add-to-list 'auto-mode-alist '("/devmanual.*\\.xml\\'" . devbook-mode))
+(add-to-list 'auto-mode-alist
+	     '("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'"
+	       . gentoo-newsitem-mode))
+(add-to-list 'auto-mode-alist '("/glep.*\\.rst\\'" . glep-mode))
+(add-to-list 'auto-mode-alist
+	     '("/\\(package\\.\\(mask\\|unmask\\|use\\|env\
+\\|license\\|properties\\|accept_\\(keywords\\|restrict\\)\\)\
+\\|\\(package\\.\\)?use.\\(stable\\.\\)?\\(force\\|mask\\)\\)\\'"
+	       . conf-space-mode))
+(add-to-list 'auto-mode-alist
+			 '("/make\\.\\(conf\\|defaults\\)\\'" . conf-unix-mode))
+(add-to-list 'interpreter-mode-alist '("openrc-run" . sh-mode))
+(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
+(add-hook 'find-file-hook #'ebuild-repo-mode-maybe-enable)
+(modify-coding-system-alist 'file "\\.\\(ebuild\\|eclass\\)\\'" 'utf-8)


             reply	other threads:[~2022-01-10 19:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-10 19:30 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-29 15:01 [gentoo-commits] repo/gentoo:master commit in: app-emacs/ebuild-mode/files/, app-emacs/ebuild-mode/ Ulrich Müller
2021-03-20 18:32 Ulrich Müller
2021-03-20 18:32 Ulrich Müller
2020-07-23 10:58 Ulrich Müller
2018-03-17 10:33 Ulrich Müller
2017-10-14 18:53 Ulrich Müller
2017-02-26 18:56 Ulrich Müller
2016-06-19 20:09 Ulrich Müller
2016-05-07  9:52 Ulrich Müller

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=1641843016.1e734a64a43b59281f48db6c9594db6c64b8e734.ulm@gentoo \
    --to=ulm@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