From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Auto xml end-tag Date: 21 Sep 2005 23:32:58 +1000 Message-ID: <87u0gemtpx.fsf@tiger.rapttech.com.au> References: Reply-To: timx@spamto.devnul.com NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1127310523 19835 80.91.229.2 (21 Sep 2005 13:48:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2005 13:48:43 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 21 15:48:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EI4tW-0001a3-Rx for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Sep 2005 15:44:19 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EI4tT-0007bo-R3 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Sep 2005 09:44:15 -0400 Original-Newsgroups: gnu.emacs.help Original-Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 Original-NNTP-Posting-Host: ppp21-206.lns2.syd7.internode.on.net Original-X-Trace: duster.adelaide.on.net 1127309579 59.167.21.206 (21 Sep 2005 23:02:59 +0950) Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!news.xtra.co.nz!news-south.connect.com.au!duster.adelaide.on.net!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:134053 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:29613 Archived-At: Trond Hersløv writes: > Hi! > I am myself not able to program to new things into my emacs, but I have a > strong wish for a certain functionality. > Maybe there already exists a library that someone can show me how to include, > of if not, maybe some of you also thinks this is a good idea, and actually make > the effort to program it. > > Much of my work nowdays includes writing som kind of sgml based text files: > XML, HTML, JSP, config files (eg. Apache webserver) etc. > > One of the biggest problems with these textfiles is the mismatch of start and > end tag. For example: > This is the body > Errors like this is often in a big file hard to find, so my whish for a new > functionality is this: > > After I have written or I could press > e.g Ctrl-t and emacs would insert for me. > > It would very nice if it could work recursiv ofcourse, but if it only works for > the last tag, it would be fine too. > > Who can help me? > Freiendly regards > Trond > > ********************************************************************** > This email message has been swept by > MIMEsweeper for the presence of computer viruses. > ********************************************************************** Check out both emacs psgml mode and nxml mode. I find nxml mode very good for creating xml documents. Psgml mode is more general and requires more configuration to get working exactly as you want, but its a very good and powerful mode. Check out http://www.emacswiki.org for more information. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out!