unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* indenting in html
@ 2002-09-10 13:01 Dominique
  0 siblings, 0 replies; 7+ messages in thread
From: Dominique @ 2002-09-10 13:01 UTC (permalink / raw)


hi,

i'm new to emacs, although I know xemacs a bit. I have problems with 
indenting in html file. It just doesnt work - unlike xemacs, it doesnt 
indent lines when I press TAB. Indenting in c and perl works fine, like 
in xemacs.
I have emacs 21.1.1

Another thing: is it easy to create my own highlighting/indenting scheme 
for my custom language?

please help

dominique

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: indenting in html
       [not found] <mailman.1031655729.19915.help-gnu-emacs@gnu.org>
@ 2002-09-10 13:03 ` Kai Großjohann
  2002-09-10 18:19 ` Stefan Monnier <foo@acm.com>
  1 sibling, 0 replies; 7+ messages in thread
From: Kai Großjohann @ 2002-09-10 13:03 UTC (permalink / raw)


Dominique <domi@vision.ee.ethz.ch> writes:

> i'm new to emacs, although I know xemacs a bit. I have problems with
> indenting in html file. It just doesnt work - unlike xemacs, it doesnt
> indent lines when I press TAB. Indenting in c and perl works fine,
> like in xemacs.
> I have emacs 21.1.1

XEmacs, I believe, uses PSGML for HTML.  You have to install this
separately for Emacs.

> Another thing: is it easy to create my own highlighting/indenting
> scheme for my custom language?

Highlighting is not so difficult.  See the files generic.el and
generic-x.el (contains examples).

Indentation is not trivial, but depending on what you want, it might
be easy enough to do.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: indenting in html
       [not found] <mailman.1031655729.19915.help-gnu-emacs@gnu.org>
  2002-09-10 13:03 ` indenting in html Kai Großjohann
@ 2002-09-10 18:19 ` Stefan Monnier <foo@acm.com>
  1 sibling, 0 replies; 7+ messages in thread
From: Stefan Monnier <foo@acm.com> @ 2002-09-10 18:19 UTC (permalink / raw)


>>>>> "Dominique" == Dominique  <domi@vision.ee.ethz.ch> writes:
> i'm new to emacs, although I know xemacs a bit. I have problems with
> indenting in html file. It just doesnt work - unlike xemacs, it doesn't
> indent lines when I press TAB.

The development version of Emacs (available from savannah's CVS repository)
does offer automatic indentation.  But Emacs-21.[123] doesn't have
this feature.

> Another thing: is it easy to create my own highlighting/indenting scheme for
> my custom language?

Indenting is often fairly tricky, which is why it took so long for
sgml-mode to offer it.


        Stefan

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: indenting in html
@ 2002-09-11  7:03 Dmitri.Minaev
  2002-09-11 12:26 ` Dominique
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitri.Minaev @ 2002-09-11  7:03 UTC (permalink / raw)


You should probably try html-helper.el instead of the default psgml-mode.
After all, psgml is more handy for SGML authoring.

--
With best regards,
Dmitri Minaev


> -----Original Message-----
> From: Dominique [mailto:domi@vision.ee.ethz.ch]
> Sent: Tuesday, September 10, 2002 2:01 PM
> To: help-gnu-emacs@gnu.org
> Subject: indenting in html
> 
> 
> hi,
> 
> i'm new to emacs, although I know xemacs a bit. I have problems with 
> indenting in html file. It just doesnt work - unlike xemacs, 
> it doesnt 
> indent lines when I press TAB. Indenting in c and perl works 
> fine, like 
> in xemacs.
> I have emacs 21.1.1
> 
> Another thing: is it easy to create my own 
> highlighting/indenting scheme 
> for my custom language?
> 
> please help
> 
> dominique
> 
> 
> 
> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: indenting in html
@ 2002-09-11 12:09 Dmitri.Minaev
  2002-09-11 13:16 ` Dominique
  0 siblings, 1 reply; 7+ messages in thread
From: Dmitri.Minaev @ 2002-09-11 12:09 UTC (permalink / raw)


Yes, there is more than one version in the Net. I use the one by Gian Uberto
Lauri: 

http://www.gest.unipd.it/~saint/hth.html

--
With best regards,
Dmitri Minaev


> -----Original Message-----
> From: Dominique [mailto:domi@vision.ee.ethz.ch]
> Sent: Wednesday, September 11, 2002 1:26 PM
> To: Dmitri.Minaev@Samara.BritishCouncil.RU; help-gnu-emacs@gnu.org
> Subject: Re: indenting in html
> 
> 
> Hi,
> 
> It sounds to me like a possible solution. Would you please 
> comment more? 
> I cannot find html-helper-mode.el on emacs gnu page while 
> google finds 
> me lots of things, which just dont work.
> 
> thanks a lot
> 
> dominique
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: indenting in html
  2002-09-11  7:03 Dmitri.Minaev
@ 2002-09-11 12:26 ` Dominique
  0 siblings, 0 replies; 7+ messages in thread
From: Dominique @ 2002-09-11 12:26 UTC (permalink / raw)


Hi,

It sounds to me like a possible solution. Would you please comment more? 
I cannot find html-helper-mode.el on emacs gnu page while google finds 
me lots of things, which just dont work.

thanks a lot

dominique

Dmitri.Minaev@Samara.BritishCouncil.RU wrote:

>You should probably try html-helper.el instead of the default psgml-mode.
>After all, psgml is more handy for SGML authoring.
>
>--
>With best regards,
>Dmitri Minaev
>
>
>  
>
>>-----Original Message-----
>>From: Dominique [mailto:domi@vision.ee.ethz.ch]
>>Sent: Tuesday, September 10, 2002 2:01 PM
>>To: help-gnu-emacs@gnu.org
>>Subject: indenting in html
>>
>>
>>hi,
>>
>>i'm new to emacs, although I know xemacs a bit. I have problems with 
>>indenting in html file. It just doesnt work - unlike xemacs, 
>>it doesnt 
>>indent lines when I press TAB. Indenting in c and perl works 
>>fine, like 
>>in xemacs.
>>I have emacs 21.1.1
>>
>>Another thing: is it easy to create my own 
>>highlighting/indenting scheme 
>>for my custom language?
>>
>>please help
>>
>>dominique
>>    
>>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: indenting in html
  2002-09-11 12:09 Dmitri.Minaev
@ 2002-09-11 13:16 ` Dominique
  0 siblings, 0 replies; 7+ messages in thread
From: Dominique @ 2002-09-11 13:16 UTC (permalink / raw)
  Cc: help-gnu-emacs

YES finally I got it working (it was among a few that I have googled 
down). Big thanks!!!

It's only for emacs, and won't work under xemacs, will it?

thanks for all the help

dominique


Dmitri.Minaev@Samara.BritishCouncil.RU wrote:

>Yes, there is more than one version in the Net. I use the one by Gian Uberto
>Lauri: 
>
>http://www.gest.unipd.it/~saint/hth.html
>
>--
>With best regards,
>Dmitri Minaev
>
>
>  
>
>>-----Original Message-----
>>From: Dominique [mailto:domi@vision.ee.ethz.ch]
>>Sent: Wednesday, September 11, 2002 1:26 PM
>>To: Dmitri.Minaev@Samara.BritishCouncil.RU; help-gnu-emacs@gnu.org
>>Subject: Re: indenting in html
>>
>>
>>Hi,
>>
>>It sounds to me like a possible solution. Would you please 
>>comment more? 
>>I cannot find html-helper-mode.el on emacs gnu page while 
>>google finds 
>>me lots of things, which just dont work.
>>
>>thanks a lot
>>
>>dominique
>>
>>    
>>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-09-11 13:16 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1031655729.19915.help-gnu-emacs@gnu.org>
2002-09-10 13:03 ` indenting in html Kai Großjohann
2002-09-10 18:19 ` Stefan Monnier <foo@acm.com>
2002-09-11 12:09 Dmitri.Minaev
2002-09-11 13:16 ` Dominique
  -- strict thread matches above, loose matches on Subject: below --
2002-09-11  7:03 Dmitri.Minaev
2002-09-11 12:26 ` Dominique
2002-09-10 13:01 Dominique

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).