From: Lennart Borgman <lennart.borgman.073@student.lu.se>
Cc: help-gnu-emacs@gnu.org
Subject: Re: editing html - auto insert end tags
Date: Thu, 18 Aug 2005 01:03:29 +0200 [thread overview]
Message-ID: <4303C241.2000406@student.lu.se> (raw)
In-Reply-To: <lfPMe.3850$914.3183@newsfe6-gui.ntli.net>
chris wrote:
> Hi,
>
> Does anyone know of a html mode that will auto insert the end tags as
> I type. If <html> is typed, it'll add </html> straight away?
>
> It's a simple thing I can live without, but it would be nice.
You can use nxml-mode to edit xhtml files, see EmacsWiki.
nxml-mode does not do exactly what you are asking for. Instead it keeps
track of what is missing so just position the point where the end tag
should be and the type C-c C-f. And since it is an error that the end
tag is missing nxml-mode can take you to the right position too. It will
also show be a red underline where that is.
Very handy.
next prev parent reply other threads:[~2005-08-17 23:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-17 22:55 editing html - auto insert end tags chris
2005-08-17 23:03 ` Lennart Borgman [this message]
2005-08-17 23:30 ` Gian Uberto Lauri
[not found] ` <mailman.4112.1124321986.20277.help-gnu-emacs@gnu.org>
2005-08-18 0:02 ` chris
2005-08-18 11:02 ` Friedrich Laher
-- strict thread matches above, loose matches on Subject: below --
2005-08-17 23:16 Dave Humphries
[not found] <mailman.4110.1124321756.20277.help-gnu-emacs@gnu.org>
2005-08-19 21:47 ` chris
2005-08-20 9:33 ` David Hansen
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=4303C241.2000406@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).