From: "Trond Hersløv" <trond.herslov@GOTOGATE.no>
Subject: Auto xml end-tag
Date: Wed, 21 Sep 2005 12:56:56 +0200 [thread overview]
Message-ID: <1D2D5797BA36D341ACAF6151EA8C1D5211B47A@NoM35-SrEx4.no.via.as> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1216 bytes --]
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:
<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 this:
After I have written <MyTag> or <MyTag attr1="test" attr="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.
**********************************************************************
[-- Attachment #1.2: Type: text/html, Size: 2421 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next reply other threads:[~2005-09-21 10:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-21 10:56 Trond Hersløv [this message]
2005-09-21 13:42 ` Auto xml end-tag Lennart Borgman
2005-09-21 14:10 ` Magnus Henoch
[not found] <mailman.7833.1127300596.20277.help-gnu-emacs@gnu.org>
2005-09-21 13:32 ` Tim X
2005-09-22 15:02 ` Stefan Monnier
2005-09-22 20:35 ` Kevin Rodgers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1D2D5797BA36D341ACAF6151EA8C1D5211B47A@NoM35-SrEx4.no.via.as \
--to=trond.herslov@gotogate.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).