From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Auto xml end-tag
Date: Wed, 21 Sep 2005 15:42:54 +0200 [thread overview]
Message-ID: <4331635E.50006@student.lu.se> (raw)
In-Reply-To: <1D2D5797BA36D341ACAF6151EA8C1D5211B47A@NoM35-SrEx4.no.via.as>
Trond Hersløv wrote:
> 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.
>
Maybe you should look into nxml-mode. Look at http://www.emacswiki.org/
for some starting info about it.
next prev parent reply other threads:[~2005-09-21 13:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-21 10:56 Auto xml end-tag Trond Hersløv
2005-09-21 13:42 ` Lennart Borgman [this message]
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=4331635E.50006@student.lu.se \
--to=lennart.borgman.073@student.lu.se \
--cc=help-gnu-emacs@gnu.org \
/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).