From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: indenting in html Date: Tue, 10 Sep 2002 15:03:28 +0200 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031663770 21761 127.0.0.1 (10 Sep 2002 13:16:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 10 Sep 2002 13:16:10 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17oksD-0005er-00 for ; Tue, 10 Sep 2002 15:16:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17oksE-0006D5-00; Tue, 10 Sep 2002 09:16:10 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!eusc.inter.net!Informatik.Uni-Dortmund.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 23 Original-NNTP-Posting-Host: lucy.cs.uni-dortmund.de Mail-Copies-To: never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:H3U5BkeGKX3XpE23a6i54MVI3og= Original-Xref: nntp.stanford.edu gnu.emacs.help:104668 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1224 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1224 Dominique 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)