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] proj/emacs-tools:ebuild-mode commit in: /
Date: Sun, 20 Dec 2015 13:53:21 +0000 (UTC)	[thread overview]
Message-ID: <1450617813.92a21c65400b152027c121d4214f993e2151166f.ulm@gentoo> (raw)

commit:     92a21c65400b152027c121d4214f993e2151166f
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 13:23:33 2015 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 13:23:33 2015 +0000
URL:        https://gitweb.gentoo.org/proj/emacs-tools.git/commit/?id=92a21c65

Update package manager keywords.

* ebuild-mode-keywords.el (ebuild-mode-keywords-0): Match list
of commands against PMS.
(ebuild-mode-keywords-EAPI): New variable, contains only "EAPI".
(ebuild-mode-keywords-eapi6): New variable, EAPI 6 commands.
(ebuild-mode-keywords-eapi-deprecated)
(ebuild-mode-keywords-eclass-deprecated): New variables, splitting
ebuild-mode-keywords-deprecated.
(ebuild-mode-keywords-eclass): Variable removed, merged into
ebuild-mode-keywords-0.

 ChangeLog               | 12 ++++++++++
 ebuild-mode-keywords.el | 61 ++++++++++++++++++++++++++++++-------------------
 2 files changed, 49 insertions(+), 24 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index a92fd45..aba7e40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2015-12-20  Ulrich Müller  <ulm@gentoo.org>
+
+	* ebuild-mode-keywords.el (ebuild-mode-keywords-0): Match list
+	of commands against PMS.
+	(ebuild-mode-keywords-EAPI): New variable, contains only "EAPI".
+	(ebuild-mode-keywords-eapi6): New variable, EAPI 6 commands.
+	(ebuild-mode-keywords-eapi-deprecated)
+	(ebuild-mode-keywords-eclass-deprecated): New variables, splitting
+	ebuild-mode-keywords-deprecated.
+	(ebuild-mode-keywords-eclass): Variable removed, merged into
+	ebuild-mode-keywords-0.
+
 2015-08-23  Ulrich Müller  <ulm@gentoo.org>
 
 	* Version 1.28 released.

diff --git a/ebuild-mode-keywords.el b/ebuild-mode-keywords.el
index 50399ee..1ea0b28 100644
--- a/ebuild-mode-keywords.el
+++ b/ebuild-mode-keywords.el
@@ -29,18 +29,24 @@
 
 ;;; Code:
 
+;; Package manager keywords
+
 (defvar ebuild-mode-keywords-0
-  '(("best_version" "check_KV" "die" "diropts" "dobin" "docinto" "doconfd"
-     "dodir" "dodoc" "doenvd" "doexe" "dohtml" "doinfo" "doinitd"
-     "doins" "dojar" "dolib" "dolib.a" "dolib.so" "doman" "domo" "dopython"
-     "dosbin" "dosym" "ebegin" "econf" "eend" "eerror" "einfo"
-     "einfon" "einstall" "elog" "emake" "ewarn" "exeinto" "exeopts" "fowners"
-     "fperms" "has" "has_version" "hasq" "hasv" "insinto" "insopts" "into"
-     "keepdir" "libopts" "newbin" "newconfd" "newdoc" "newenvd" "newexe"
-     "newinitd" "newins" "newlib.a" "newlib.so" "newman" "newsbin" "prepall"
-     "prepallinfo" "prepallman" "prepallstrip" "unpack" "use"
-     "use_enable" "use_with" "useq" "usev")
-    font-lock-type-face))
+  '(("assert" "best_version" "debug-print" "debug-print-function"
+     "debug-print-section" "die" "diropts" "dobin" "docinto" "doconfd" "dodir"
+     "dodoc" "doenvd" "doexe" "doinfo" "doinitd" "doins" "dolib" "dolib.a"
+     "dolib.so" "doman" "domo" "dosbin" "dosym" "ebegin" "econf" "eend"
+     "eerror" "einfo" "einfon" "elog" "emake" "ewarn" "exeinto" "exeopts"
+     "fowners" "fperms" "has" "hasv" "has_version" "inherit" "insinto"
+     "insopts" "into" "keepdir" "libopts" "newbin" "newconfd" "newdoc"
+     "newenvd" "newexe" "newinitd" "newins" "newlib.a" "newlib.so" "newman"
+     "newsbin" "unpack" "use" "usev" "use_enable" "use_with")
+    font-lock-type-face))
+
+(defvar ebuild-mode-keywords-EAPI
+  ;; highlight the EAPI variable itself
+  '(("EAPI")
+    font-lock-warning-face))
 
 (defvar ebuild-mode-keywords-eapi4
   '(("docompress" "nonfatal")
@@ -50,6 +56,10 @@
   '(("doheader" "newheader" "usex")
     font-lock-type-face))
 
+(defvar ebuild-mode-keywords-eapi6
+  '(("eapply" "eapply_user" "einstalldocs" "get_libdir" "in_iuse")
+    font-lock-type-face))
+
 (defvar ebuild-mode-keywords-functions
   '(("pkg_nofetch" "pkg_setup" "src_unpack" "src_compile" "src_test"
      "src_install" "pkg_preinst" "pkg_postinst" "pkg_prerm" "pkg_postrm"
@@ -70,6 +80,18 @@
      "default_src_test" "default_src_install")
     font-lock-type-face))
 
+(defvar ebuild-mode-keywords-sandbox
+  '(("adddeny" "addpredict" "addread" "addwrite")
+    font-lock-warning-face))
+
+(defvar ebuild-mode-keywords-eapi-deprecated
+  ;; deprecated or banned package manager commands
+  '(("dohard" "dohtml" "dosed" "einstall" "hasq" "prepalldocs" "prepall"
+     "prepallinfo" "prepallman" "prepallstrip" "useq")
+    font-lock-warning-face))
+
+;; Eclass keywords
+
 ;; comment-face will always override the eclass documentation strings
 (defvar ebuild-mode-keywords-eclass-documentation
   '(("@AUTHOR" "@BLURB" "@BUGREPORTS" "@CODE" "@DEFAULT_UNSET" "@DESCRIPTION"
@@ -81,24 +103,15 @@
 (defvar ebuild-mode-keywords-warn
   ;; warn about "which" usage
   ;; see http://permalink.gmane.org/gmane.linux.gentoo.devel/46770
-  '(("which" "EAPI" "bindnow-flags" "has_m64" "has_m32")
+  '(("which" "bindnow-flags" "has_m64" "has_m32")
     font-lock-warning-face))
 
-(defvar ebuild-mode-keywords-deprecated
+(defvar ebuild-mode-keywords-eclass-deprecated
   ;; deprecated eclass functions
-  '(("elisp-comp" "prepalldocs" "dosed" "dohard" "python_mod_compile"
-     "dobashcompletion" "bash-completion_pkg_postinst" "qt4_min_version"
-     "qt4_min_version_list")
+  '(("bash-completion_pkg_postinst" "dobashcompletion" "elisp-comp"
+     "python_mod_compile" "qt4_min_version" "qt4_min_version_list")
     font-lock-warning-face))
 
-(defvar ebuild-mode-keywords-sandbox
-  '(("adddeny" "addpredict" "addread" "addwrite")
-    font-lock-warning-face))
-
-(defvar ebuild-mode-keywords-eclass
-  '(("inherit")
-    font-lock-type-face))
-
 ;; All keyword lists below this line are auto-generated
 ;; from keyword-generation.sh
 


             reply	other threads:[~2015-12-20 13:53 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-20 13:53 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-09-16 16:28 [gentoo-commits] proj/emacs-tools:ebuild-mode commit in: / Ulrich Müller
2017-09-16 15:28 Ulrich Müller
2017-09-16 15:28 Ulrich Müller
2017-04-07 18:33 Ulrich Müller
2017-04-07 18:33 Ulrich Müller
2017-04-07 17:11 Ulrich Müller
2017-04-07 17:11 Ulrich Müller
2017-04-07 17:11 Ulrich Müller
2017-03-31  5:28 Ulrich Müller
2017-03-17 16:38 Ulrich Müller
2017-03-09  9:51 Ulrich Müller
2017-03-09  9:51 Ulrich Müller
2017-03-06  7:33 Ulrich Müller
2017-03-06  7:33 Ulrich Müller
2017-03-05 17:51 Ulrich Müller
2017-03-05 17:51 Ulrich Müller
2017-03-05 17:51 Ulrich Müller
2017-03-05 17:51 Ulrich Müller
2017-02-28 19:33 Ulrich Müller
2017-02-28 19:23 Ulrich Müller
2017-02-28 19:23 Ulrich Müller
2017-02-28 19:23 Ulrich Müller
2017-02-28 19:23 Ulrich Müller
2017-02-28 19:23 Ulrich Müller
2017-02-28 19:23 Ulrich Müller
2017-02-28 19:23 Ulrich Müller
2017-02-28 19:23 Ulrich Müller
2016-06-19 19:57 Ulrich Müller
2016-06-19 19:57 Ulrich Müller
2016-06-08  6:48 Ulrich Müller
2016-06-08  6:48 Ulrich Müller
2016-05-07  9:45 Ulrich Müller
2016-05-07  9:45 Ulrich Müller
2016-05-07  9:45 Ulrich Müller
2016-05-07  9:45 Ulrich Müller
2015-12-20 13:53 Ulrich Müller
2015-12-20 13:53 Ulrich Müller
2015-12-20 13:53 Ulrich Müller
2015-08-23 14:48 Ulrich Müller
2015-08-23 14:48 Ulrich Müller
2015-08-09 18:34 Ulrich Müller
2015-08-09 18:34 Ulrich Müller
2014-11-18  9:55 Ulrich Müller
2014-11-16 23:13 Ulrich Müller
2014-11-16 23:13 Ulrich Müller
2014-02-02 11:57 Ulrich Müller
2014-01-25 14:17 Ulrich Müller
2014-01-25 14:17 Ulrich Müller
2014-01-23 14:49 Ulrich Müller
2014-01-22 22:43 Ulrich Müller
2014-01-22 22:43 Ulrich Müller
2014-01-22 22:43 Ulrich Müller
2013-10-09 23:49 Ulrich Müller
2013-09-18  6:53 Ulrich Mueller
2013-09-17 21:33 Ulrich Mueller
2013-09-17 21:33 Ulrich Mueller
2013-09-17 21:33 Ulrich Mueller
2013-09-08 10:49 Ulrich Mueller
2013-09-08 10:28 Ulrich Mueller
2013-09-08 10:28 Ulrich Mueller
2013-09-08 10:28 Ulrich Mueller
2013-09-08 10:28 Ulrich Mueller
2013-09-08 10:28 Ulrich Mueller
2013-07-06 23:09 Ulrich Mueller
2013-07-06 23:01 Ulrich Mueller
2013-07-06 22:52 Ulrich Mueller
2013-07-06 22:52 Ulrich Mueller
2013-07-06 22:03 Ulrich Mueller
2013-07-06 17:37 Ulrich Mueller
2013-07-06 17:37 Ulrich Mueller
2013-07-05 18:06 Ulrich Mueller
2013-07-05 18:06 Ulrich Mueller
2013-07-05 14:51 Ulrich Mueller

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=1450617813.92a21c65400b152027c121d4214f993e2151166f.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