From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tiger.gg3.net (142.13.111.219.st.bbexcite.jp [219.111.13.142]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j4KAB9gK027097 for ; Fri, 20 May 2005 10:11:10 GMT Received: (qmail 22327 invoked by uid 89); 20 May 2005 19:11:14 +0900 Received: from ols-dell.iic.hokudai.ac.jp (133.87.4.159) by 0 with AES256-SHA encrypted SMTP; 20 May 2005 19:11:14 +0900 Received: (qmail 12809 invoked by uid 1000); 20 May 2005 19:11:13 +0900 Date: Fri, 20 May 2005 19:11:13 +0900 From: Georgi Georgiev To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Unofficial Gentoo Development Guide and Autotools Message-ID: <20050520101113.GD12311@ols-dell.gg3.net> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20050519044425.549e1f64@snowdrop> <20050520060621.6a82957a@snowdrop> <20050520060612.GA10306@ols-dell.gg3.net> <20050520072215.15afb99c@snowdrop> <20050520090104.GB12311@ols-dell.gg3.net> <20050520102953.50a161bc@snowdrop> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5G06lTa6Jq83wMTw" Content-Disposition: inline In-Reply-To: <20050520102953.50a161bc@snowdrop> User-Agent: Mutt/1.5.8i X-Archives-Salt: 35119508-e089-42a1-a457-9a61037e0690 X-Archives-Hash: e543c458fffb0473058d77f55d6640db --5G06lTa6Jq83wMTw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline maillog: 20/05/2005-10:29:53(+0100): Ciaran McCreesh types > On Fri, 20 May 2005 18:01:04 +0900 Georgi Georgiev > wrote: > | > | %.1 : %.in > | > | @regex_cmd@ -e "s,\@VERSION\@,$(VERSION),g" $? > $@ > | > | > | > | The first "@" is span.Special and the second one is span.Constant. > | > > | > Hrm, that's a vim thing (I'm using a vim script to do the > | > highlighting at compile time, it's not manual). If someone enjoys > | > pain they could have a go at making vim's automake highlighting > | > smarter... Don't think I'm brave enough to touch that one myself. > | > | The 2html.vim that comes with vim seems to work fine here. Tried both > | 7__ and 6.3. The HTML is ugly, but at least it's properly highlighted: > | > | http://gg3.net/~chutz/gentoo/highlight/ > | > | Of course, you need to "set ft=automake", which is different than > | ft=make. ;) > > That's only working because you're indenting using spaces rather than > tabs. If you indent using tabs you'll get the mixed colouring. Owwww, so true, so true... I am trying to redeem myself with the following. Care to give it a try? --- /usr/share/vim/vim70aa/syntax/automake.vim.old 2005-05-20 19:05:09.000000000 +0900 +++ /usr/share/vim/vim70aa/syntax/automake.vim 2005-05-20 19:07:05.000000000 +0900 @@ -43,6 +43,7 @@ syn region automakeMakeDString start=+"+ skip=+\\"+ end=+"+ contains=makeIdent,automakeSubstitution syn region automakeMakeSString start=+'+ skip=+\\'+ end=+'+ contains=makeIdent,automakeSubstitution syn region automakeMakeBString start=+`+ skip=+\\`+ end=+`+ contains=makeIdent,makeSString,makeDString,makeNextLine,automakeSubstitution +syn region makeCommands start=";"hs=s+1 start="^\t" end="^[^\t#]"me=e-1,re=e-1 end="^$" contained contains=makeCmdNextLine,makeSpecial,makeComment,makeIdent,makePreCondit,makeDefine,makeDString,makeSString,autoMakeSubst,automakeMakeError,automakeBadSubst nextgroup=makeCommandError " Define the default highlighting. " For version 5.7 and earlier: only when not done already -- /\ Georgi Georgiev /\ Be not anxious about what you have, but /\ \/ chutz@gg3.net \/ about what you are. -- Pope St. Gregory I \/ /\ +81(90)2877-8845 /\ /\ --5G06lTa6Jq83wMTw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCjbfBfXO2NUT1EmYRAhmGAJ4ofYEMzc+L1gY3HtDRpkNgBSbCDQCfckPM odMr5FodwLrSU9cHej2tv5k= =lz+a -----END PGP SIGNATURE----- --5G06lTa6Jq83wMTw-- -- gentoo-dev@gentoo.org mailing list