From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-852497-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CC25D1388C1 for <garchives@archives.gentoo.org>; Sun, 20 Dec 2015 13:53:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6746EE080D; Sun, 20 Dec 2015 13:53:25 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9D54E080D for <gentoo-commits@lists.gentoo.org>; Sun, 20 Dec 2015 13:53:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF3DE34069A for <gentoo-commits@lists.gentoo.org>; Sun, 20 Dec 2015 13:53:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82777A97 for <gentoo-commits@lists.gentoo.org>; Sun, 20 Dec 2015 13:53:21 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1450617813.92a21c65400b152027c121d4214f993e2151166f.ulm@gentoo> Subject: [gentoo-commits] proj/emacs-tools:ebuild-mode commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ChangeLog ebuild-mode-keywords.el X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 92a21c65400b152027c121d4214f993e2151166f X-VCS-Branch: ebuild-mode Date: Sun, 20 Dec 2015 13:53:21 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 754b9614-b807-4449-988f-07bd249df71c X-Archives-Hash: 11028666ee506062db9cda312fa61320 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