public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Georgi Georgiev <chutz@gg3.net>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Unofficial Gentoo Development Guide and Autotools
Date: Fri, 20 May 2005 19:11:13 +0900	[thread overview]
Message-ID: <20050520101113.GD12311@ols-dell.gg3.net> (raw)
In-Reply-To: <20050520102953.50a161bc@snowdrop>

[-- Attachment #1: Type: text/plain, Size: 2277 bytes --]

maillog: 20/05/2005-10:29:53(+0100): Ciaran McCreesh types
> On Fri, 20 May 2005 18:01:04 +0900 Georgi Georgiev <chutz@gg3.net>
> 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   /\                                              /\

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-05-20 10:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  3:44 [gentoo-dev] Unofficial Gentoo Development Guide and Autotools Ciaran McCreesh
2005-05-19  5:27 ` Donnie Berkholz
2005-05-19  5:43 ` Mike Frysinger
2005-05-19 12:48   ` Mike Frysinger
2005-05-19  5:48 ` Mike Frysinger
2005-05-19 12:06 ` Stephen Bennett
2005-05-19 17:53 ` Chris White
2005-05-19 18:59   ` Mike Frysinger
2005-05-19 19:06     ` Mike Frysinger
2005-05-19 19:47       ` Chris White
2005-05-19 20:14         ` Mike Frysinger
2005-05-20  5:06 ` Ciaran McCreesh
2005-05-20  6:06   ` Georgi Georgiev
2005-05-20  6:22     ` Ciaran McCreesh
2005-05-20  9:01       ` Georgi Georgiev
2005-05-20  9:29         ` Ciaran McCreesh
2005-05-20 10:11           ` Georgi Georgiev [this message]
2005-05-20 22:10             ` Ciaran McCreesh
2005-05-20  9:40         ` Georgi Georgiev

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=20050520101113.GD12311@ols-dell.gg3.net \
    --to=chutz@gg3.net \
    --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