[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
RE: [PLUG] which xemacs/emacs html mode is best?
|
Title: RE: [PLUG] which xemacs/emacs html mode is best?
I have got psgml working finally. Now that it's configured
properly it seems to work very well. The toughest part was
getting a valid catalog, and DTD file setup. I was reading
all the howto's on w3.org, but then I got lucky and stumbled
onto http://validator.w3.org/sgml-lib/pro/html/dtds/htmlpro.html
they have free open source DTDs. All you have to do is download
the correct platform and unzip to the right directory. There are
absolute path references in at least the windows version.
Once the DTDs are in place just tell emacs\xemacs about them.
(setq sgml-catalog-files '("C:\\html\\dtds\\catalog"))
It seems like psgml is a drop in replacement for sgml. So I had
a remove (load sgml) from my .emacs. Because it is a drop in replacement
all of the same variables names are used (like sgml-catalog-files).
It handles structured indenting and font lock. So I was able to remove
all other html modes.
> -----Original Message-----
> From: LeRoy Cressy [mailto:lcressy@telocity.com]
> Sent: Wednesday, May 09, 2001 12:22 PM
> To: plug@lists.phillylinux.org
> Subject: Re: [PLUG] which xemacs/emacs html mode is best?
>
>
> It all depemnds on what version of xemacs that you are using.
> xemacs20
> has a wonderful html mode built in, that is missing from the xemacs21
> version. So I use the xemacs20 html mode where you can right
> click and
> all of the html tags that are viable at where the cursor is will pop
> up. Pick one and both the start and end tag are put into the
> document.
> if the tag is like <ul> then the item tag is automatically inserted
> into the document.
>
> like
>
> <ul>
> <li>
> </li>
> </ul>
>
> This makes for very fast html editing and total control of the
> formating.
>
> > "Gleeson, Francis (HT-EX)" wrote:
> >
> > I think (x)emacs is an excellent editor. I have been trying to
> > configure it as an html editor. As usual in emacsen there are
> > *too* many ways to do the same thing.
> >
> > There seems to be several html capable modes. Depending on what
> > exactly you want to do. I have been trying to enumerate them and
> > qualify what sort of support they provide.
> >
> > hm--html-mode - fontlock and indent
> > html-helper-mode - fontlock and indents lists only?
> > psgml - indent + validation requires external DTDs
> > html-font - fontlock only
> >
> > Are there any modes missing from this list. Has anyone seen a good
> > comparison of the various modes anywhere on the web? Or feel like
> > offering opinions based on experience?
> >
> > psgml seems to be the cadillac of html modes, but the configuration
> > is non-trivial.
>
> --
> Rev. LeRoy D. Cressy mailto:lcressy@telocity.com /\_/\
> http://www.netaxs.com/~ldc ( o.o )
> Phone: 215-535-4037 > ^ <
>
> Jesus saith unto him, I am the way, the truth, and the life:
> no man cometh unto the Father, but by me. (John 14:6)
>
>
>
> ______________________________________________________________________
> Philadelphia Linux Users Group - http://www.phillylinux.org
> Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
> General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
>
|