From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?iso-8859-1?Q?Trond_Hersl=F8v?= Newsgroups: gmane.emacs.help Subject: Auto xml end-tag Date: Wed, 21 Sep 2005 12:56:56 +0200 Message-ID: <1D2D5797BA36D341ACAF6151EA8C1D5211B47A@NoM35-SrEx4.no.via.as> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1882209254==" X-Trace: sea.gmane.org 1127302728 25899 80.91.229.2 (21 Sep 2005 11:38:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Sep 2005 11:38:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Sep 21 13:38:37 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EI2tq-00021g-Np for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Sep 2005 13:36:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EI2to-00044K-Bu for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Sep 2005 07:36:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EI2Nd-0001y9-Bd for help-gnu-emacs@gnu.org; Wed, 21 Sep 2005 07:03:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EI2Nc-0001xs-Ht for help-gnu-emacs@gnu.org; Wed, 21 Sep 2005 07:03:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EI2Hh-0001DX-Qr for help-gnu-emacs@gnu.org; Wed, 21 Sep 2005 06:57:05 -0400 Original-Received: from [193.212.163.1] (helo=mail.flyspesialisten.no) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EI2Ha-0004lb-ID for help-gnu-emacs@gnu.org; Wed, 21 Sep 2005 06:56:58 -0400 Original-Received: from viaexgw1.no.via.as (unverified [172.20.200.103]) by mail.flyspesialisten.no (Content Technologies SMTPRS 4.3.12) with ESMTP id for ; Wed, 21 Sep 2005 12:56:59 +0200 Original-Received: from NoM35-SrEx4.no.via.as ([172.20.200.161]) by viaexgw1.no.via.as with Microsoft SMTPSVC (6.0.3790.1830); Wed, 21 Sep 2005 12:56:56 +0200 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Auto xml end-tag X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Thread-Index: AcW+my7Bg25rw/j0TV+aHUD4xhhxSA== Original-To: X-OriginalArrivalTime: 21 Sep 2005 10:56:56.0486 (UTC) FILETIME=[2ED53460:01C5BE9B] 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:29611 Archived-At: This is a multi-part message in MIME format. --===============1882209254== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5BE9B.2EC5B39E" This is a multi-part message in MIME format. ------_=_NextPart_001_01C5BE9B.2EC5B39E Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I am myself not able to program to new things into my emacs, but I have a s= trong wish for a certain functionality. Maybe there already exists a library that someone can show me how to includ= e, of if not, maybe some of you also thinks this is a good idea, and actual= ly 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 a= nd 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 cou= ld 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. ********************************************************************** ------_=_NextPart_001_01C5BE9B.2EC5B39E Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Auto xml end-tag

Hi!
I am myself not able to= program to new things into my emacs, but I have a strong wish for a certai= n functionality.
Maybe there already exi= sts a library that someone can show me how to include, of if not, maybe som= e of you also thinks this is a good idea, and actually make the effort to p= rogram 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 pr= oblems with these textfiles is the mismatch of start and end tag. For examp= le:
<MyTag>This is= the body</Mytag>
Errors like this is = often in a big file hard to find, so my whish for a new functionality is th= is:

After I have written = <MyTag> or <MyTag attr1=3D"test" attr=3D"hello"= ;> I could press e.g Ctrl-t and emacs would insert </MyTag> 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.
**********************************************************************
------_=_NextPart_001_01C5BE9B.2EC5B39E-- --===============1882209254== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1882209254==--