Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion mode for editing ldif files?

Received: by 10.68.74.201 with SMTP id w9mr1356169pbv.0.1334236761239;
        Thu, 12 Apr 2012 06:19:21 -0700 (PDT)
Path: r9ni47837pbh.0!nntp.google.com!news2.google.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
From: Jistan Idiot <jistanid...@gmail.com>
Newsgroups: comp.emacs.xemacs
Subject: Re: mode for editing ldif files?
Date: Thu, 12 Apr 2012 06:19:20 -0700 (PDT)
Organization: http://groups.google.com
Lines: 39
Message-ID: <24779441.1055.1334236760838.JavaMail.geo-discussion-forums@vbsf4>
References: <4801ebad-d2c4-4573-9b84-865d1b634e72@j14g2000vbc.googlegroups.com>
 <20522811.584.1333591790770.JavaMail.geo-discussion-forums@yno37> <874nsvdrt0.fsf@acm.org>
NNTP-Posting-Host: 128.172.48.158
Mime-Version: 1.0
X-Trace: posting.google.com 1334236761 23431 127.0.0.1 (12 Apr 2012 13:19:21 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 12 Apr 2012 13:19:21 +0000 (UTC)
In-Reply-To: <874nsvdrt0.fsf@acm.org>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=128.172.48.158;
 posting-account=QV9qzQoAAADaXA7KFPadh_9qYJI1Zen9
User-Agent: G2/1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Saturday, April 7, 2012 7:51:23 PM UTC-4, Mike Kupfer wrote:
> Jistan Idiot <jistanid...@gmail.com> writes:
>=20
> > That port http://www.broadinstitute.org/~ilya/rx.el also doesn't
> > work. It dies with:
> >
> >  Symbol's function definition is void: modify-coding-system-alist
>=20
> I think this was added in XEmacs 21.5 (i.e., the current beta).  So
> you could try downloading and building the latest; it's pretty
> stable.
>=20
> mike

Ok so I am trying the beta=20

It still complains about ldap-mode.el and rx.el saying:

rx `any' requires string, character, char pair or char class args

With this failure I'm guessing there isn't a version of rx that works with =
any version of xemacs. =20

I'm start to think I might need to change strategies.  I tried the aforemen=
tioned ldap-mode.el in emacs and it only seems to highlight a set of hard c=
oded attributes (we have 100s of attributes and there's no way I'm going to=
 hard code that).  So maybe I need to throw that stuff out and attempt to c=
reate the mode from scratch. =20

Somehow vim gets it right.  "dn: foo" is highlighted in one color and then =
all the attribute names are in another and finally the values are in a thir=
d color.  Of course comments are done correctly too.  It would seem you onl=
y need to figure out 4 regular expressions and tell xemacs to use a specifi=
c color for each one.

So it should be doable in xemacs right?  So I guess I need to be pointed in=
 the direction of a tutorial on creating a new mode in xemacs. =20

Thanks in advance.=20