* [gentoo-commits] emacs r1711 - gentoo-syntax
@ 2011-12-31 14:32 Ulrich Mueller (ulm)
0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2011-12-31 14:32 UTC (permalink / raw
To: gentoo-commits
Author: ulm
Date: 2011-12-31 14:32:38 +0000 (Sat, 31 Dec 2011)
New Revision: 1711
Modified:
gentoo-syntax/ChangeLog
gentoo-syntax/keyword-generation.sh
Log:
Set C locale for grep. Reformat output.
Modified: gentoo-syntax/ChangeLog
===================================================================
--- gentoo-syntax/ChangeLog 2011-12-30 15:44:38 UTC (rev 1710)
+++ gentoo-syntax/ChangeLog 2011-12-31 14:32:38 UTC (rev 1711)
@@ -1,3 +1,7 @@
+2011-12-31 Ulrich Mueller <ulm@gentoo.org>
+
+ * keyword-generation.sh: Set C locale for grep. Reformat output.
+
2011-12-30 Christian Faulhammer <fauli@gentoo.org>
* ebuild-mode-keywords.el: All keywords are now from a
Modified: gentoo-syntax/keyword-generation.sh
===================================================================
--- gentoo-syntax/keyword-generation.sh 2011-12-30 15:44:38 UTC (rev 1710)
+++ gentoo-syntax/keyword-generation.sh 2011-12-31 14:32:38 UTC (rev 1711)
@@ -25,8 +25,18 @@
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=C grep '^[A-Za-z0-9._-]*()' $(portageq portdir)/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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-12-31 14:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-31 14:32 [gentoo-commits] emacs r1711 - gentoo-syntax Ulrich Mueller (ulm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox