[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
RE: [PLUG] psgml emacs/xemacs configuration
|
Title: RE: [PLUG] psgml emacs/xemacs configuration
Unfortunately I am using the prebuilt Win2K binary Xemacs
version 21.2( built Aug 1998) at work. I think it is not
the same as building from tarball. Some packages known not
to work properly on Win32 may have been removed etc.
Also I have heavily customized my .emacs file already so
I really doubt that the default html mode is the same
on my xemacs as it is on yours.
But you said you have smart indenting on, so which html mode
are you are using? I would forget about psgml if I had a mode
that did indenting as you described. Are there any global
or buffer-local variables that enable html mode indenting?
> -----Original Message-----
> From: LeRoy Cressy [mailto:ldc@netaxs.com]
> Sent: Tuesday, May 01, 2001 2:27 PM
> To: plug@lists.phillylinux.org
> Subject: Re: [PLUG] psgml emacs/xemacs configuration
>
>
> > "Gleeson, Francis (HT-EX)" wrote:
> >
> > I would like to get xemacs configured for html editing.
> > There seems to be many ways to configure emacs for html.
> > What I would like is a "proper" html mode. Which would
> > mean font-lock and smart indenting at a minimum. I am not
> > that interested in smart tools that can auto insert html.
> >
>
> I'll answer the xemacs question:
>
> First use xemacs 20 (Version 20 comes preloaded with an html mode)
>
> Name your files filename.html to auto load the html mode.
>
> When creating a new html file edit the first line of the new file
>
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> to
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN"> or 4.0
>
> depending on what version of html you are using.
> Also:
> in the options menu under syntax highlighting select colors for a nice
> color layout and also select most.
>
> Under the html menu you might want to edit the file options and user
> options. I have found that I like using the indent data option which
> makes for indenting both the date ant end tags like:
>
> <blockquote>
> <p>
> Some text
> </p>
> </blockquote>
>
> > I have spent the last couple of days downloading an attempting
> > to use the various packages out there. I seems like there
> are several
> > font-lock capable modes.
> >
> > hm-html
> > html-helper
> > html-font
> >
> > It also seems like if I want smart indenting I have to get psgml
> > properly configured. Which seems to be a major pain.
> >
> > Has anyone gotten this working? It seems pretty confusing to me.
> > I know I need valid DTDs for any SGML derived language that I want
> > psgml to support. I downloaded openjade just to steal the DTD files.
> >
> > I can not seem to get emacs to be able to find the html "entity".
> > I am pretty fuzzy on the role of all the sgml mode variables
> > like sgml-public-map for example. Also what does a category
> file look
> > like
> > and what does it do? After reading several howtos its clear as mud.
> > Any pointers or tips would be appreciated.
>
> --
> Rev. LeRoy D. Cressy mailto:ldc@netaxs.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
>
|