From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Slash (?) matching in XML and HTML mode
Date: Mon, 20 Jan 2014 12:31:19 -0500 [thread overview]
Message-ID: <jwvr4828t4h.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: CAKnavsf=xdFuTPAqNgeKSq64+j62jd5uHGxo6jueck1zojRazQ@mail.gmail.com
> When I type the slash in /h1, Emacs briefly highlights the slash in br/.
> (Other close tags don't trigger any such This is incorrect, and is
> getting very annoying. What's going on, and how can I stop it?
It looks like a bug in sgml-slash-matching. Please M-x report-emacs-bug.
You can disable it with
(add-hook 'sgml-mode-hook (lambda () (local-set-key "/" nil)))
tho you may actually prefer to use `nxml-mode' for HTML files.
E.g. with
(defalias 'html-mode 'nxml-mode)
-- Stefan
prev parent reply other threads:[~2014-01-20 17:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-20 15:43 Slash (?) matching in XML and HTML mode Mark Tilford
2014-01-20 17:31 ` Stefan Monnier [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvr4828t4h.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.