From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/emacs-tools:gentoo-syntax commit in: /
Date: Sun, 6 May 2012 16:06:20 +0000 (UTC) [thread overview]
Message-ID: <1325341958.32465add5452988eb981284a0e12aa66ee5efd52.sping@gentoo> (raw)
commit: 32465add5452988eb981284a0e12aa66ee5efd52
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 31 14:32:38 2011 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sat Dec 31 14:32:38 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/emacs-tools.git;a=commit;h=32465add
Set C locale for grep. Reformat output.
svn path=/gentoo-syntax/; revision=1711
---
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 <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
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=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
next reply other threads:[~2012-05-06 16:15 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-06 16:06 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-07-04 19:21 [gentoo-commits] proj/emacs-tools:gentoo-syntax commit in: / Ulrich Mueller
2013-03-09 7:42 Ulrich Mueller
2013-03-09 7:42 Ulrich Mueller
2013-03-09 7:42 Ulrich Mueller
2013-03-09 7:42 Ulrich Mueller
2013-01-13 21:15 Ulrich Mueller
2013-01-13 21:15 Ulrich Mueller
2012-09-22 22:47 Ulrich Mueller
2012-09-22 21:26 Ulrich Mueller
2012-09-22 21:26 Ulrich Mueller
2012-09-22 20:48 Ulrich Mueller
2012-09-22 17:34 Ulrich Mueller
2012-09-22 17:34 Ulrich Mueller
2012-09-22 17:34 Ulrich Mueller
2012-09-22 17:34 Ulrich Mueller
2012-06-09 13:10 Ulrich Mueller
2012-05-06 18:47 Ulrich Mueller
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
2012-05-06 16:06 Sebastian Pipping
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=1325341958.32465add5452988eb981284a0e12aa66ee5efd52.sping@gentoo \
--to=sping@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