Re: obsolete RPM tags highlighting
- From: Jindrich Novy <jnovy redhat com>
- To: Andy Shevchenko <andy pylesos interdon net>
- Cc: MC Devel <mc-devel gnome org>
- Subject: Re: obsolete RPM tags highlighting
- Date: Fri, 14 Jul 2006 09:24:05 +0200
Hi Andy,
On Thu, 2006-07-13 at 17:22 +0300, Andy Shevchenko wrote:
> Jindrich Novy пишет:
> My $0.02 to specfile highliting.
> The mc shipped with FC4 doesn't handle correctly the case-insensivity
> tags. For example, BuildArch and Buildarch are highliting differently,
> but rpm recognize both.
> I guess the mainstream also has this issue.
Here's the patch to fix it. Thanks for pointing this out.
Jindrich
--- mc/syntax/spec.syntax.case 2006-07-13 13:59:28.000000000 +0200
+++ mc/syntax/spec.syntax 2006-07-13 17:02:41.000000000 +0200
@@ -2,19 +2,19 @@
keyword whole Auto\{Pp\}rov: green
keyword whole Auto\{Rr\}eq\{Pp\}rov: green
keyword whole Auto\{Rr\}eq: green
- keyword whole BuildArch: green
- keyword whole BuildPre\{Rr\}eq: green
+ keyword whole Build\{Aa\}rch: green
+ keyword whole Build\{Pp\}re\{Rr\}eq: green
keyword whole Build\{Rr\}oot: green
- keyword whole BuildRequires: green
+ keyword whole Build\{Rr\}equires: green
keyword whole Conflicts: green
keyword whole Copyright: white
keyword whole Description: green
keyword whole Distribution: green
keyword whole Doc\{Dd\}ir: green
keyword whole Epoch: green
- keyword whole ExcludeArch: green
- keyword whole ExclusiveArch: green
- keyword whole ExclusiveOS: green
+ keyword whole Exclude\{Aa\}rch: green
+ keyword whole Exclusive\{Aa\}rch: green
+ keyword whole Exclusive\{Oo\}\{Ss\}: green
keyword whole Group: green
keyword whole Group(\[abcdefghijklmnopqrstuvwxyz\]): green
keyword whole Group(\[abcdefghijklmnopqrstuvwxyz\]_\[ABCDEFGHIJKLMNOPQRSTUVWXYZ\]): green
@@ -38,8 +38,7 @@
keyword whole Summary(\[abcdefghijklmnopqrstuvwxyz\]_\[ABCDEFGHIJKLMNOPQRSTUVWXYZ\].\[ABCDEFGHIJKLMNOPQRSTUVWXYZ-1234567890\]): green
keyword whole Vendor: green
keyword whole Version: green
- keyword whole URL: green
- keyword whole Url: green
+ keyword whole U\{Rr\}\{Ll\}: green
keyword whole linestart %build red
keyword whole linestart %changelog red
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]