From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SR47n-00060Q-3c for garchives@archives.gentoo.org; Sun, 06 May 2012 16:15:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF4E3E095F; Sun, 6 May 2012 16:06:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 7A9BFE090E for ; Sun, 6 May 2012 16:06:22 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D72FF1B408D for ; Sun, 6 May 2012 16:06:21 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 09539E542F for ; Sun, 6 May 2012 16:06:20 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1325341958.32465add5452988eb981284a0e12aa66ee5efd52.sping@gentoo> Subject: [gentoo-commits] proj/emacs-tools:gentoo-syntax commit in: / X-VCS-Repository: proj/emacs-tools X-VCS-Files: ChangeLog keyword-generation.sh X-VCS-Directories: / X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 32465add5452988eb981284a0e12aa66ee5efd52 X-VCS-Branch: gentoo-syntax Date: Sun, 6 May 2012 16:06:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: da26112d-777e-45a1-ad01-898719f39619 X-Archives-Hash: 2a33df8aeda891de0e086c9fe4389a33 commit: 32465add5452988eb981284a0e12aa66ee5efd52 Author: Ulrich M=C3=BCller gentoo org> AuthorDate: Sat Dec 31 14:32:38 2011 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Dec 31 14:32:38 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/emacs-tools.g= it;a=3Dcommit;h=3D32465add Set C locale for grep. Reformat output. svn path=3D/gentoo-syntax/; revision=3D1711 --- ChangeLog | 4 ++++ keyword-generation.sh | 12 +++++++++++- 2 files changed, 15 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index ef0b414..fdab673 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-12-31 Ulrich Mueller + + * keyword-generation.sh: Set C locale for grep. Reformat output. + 2011-12-30 Christian Faulhammer =20 * ebuild-mode-keywords.el: All keywords are now from a diff --git a/keyword-generation.sh b/keyword-generation.sh index 49cf382..6c4ebda 100644 --- a/keyword-generation.sh +++ b/keyword-generation.sh @@ -25,8 +25,18 @@ echo Manual parsing of mercurial.eclass needed! Do not= forget! for eclass in ${ECLASSES} do echo '(defvar ebuild-mode-keywords-'${eclass//.eclass/} >>${TMPFILE} - echo -n \'\(\($(grep '^[a-Z_-.0-9]*()' $(portageq portdir)/eclass/${= eclass}|sed -e 's:\(^.*\)().*:"\1":g')\)>>${TMPFILE} + echo -n \'\(\($(LC_ALL=3DC grep '^[A-Za-z0-9._-]*()' $(portageq port= dir)/eclass/${eclass}|sed -e 's:\(^.*\)().*:"\1":g')\)>>${TMPFILE} echo >>${TMPFILE} echo font-lock-type-face\)\)>>${TMPFILE} echo >>${TMPFILE} done + +emacs -q --batch \ + --visit ${TMPFILE} \ + --eval "(emacs-lisp-mode)" \ + --eval "(indent-region (point-min) (point-max))" \ + --eval "(let ((fill-column 78) + (fill-indent-according-to-mode t) + (paragraph-start \"^.\")) + (fill-region (point-min) (point-max)))" \ + --eval "(save-buffer)" --kill