[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: recommended html modes
From: |
prad |
Subject: |
Re: recommended html modes |
Date: |
Wed, 21 Mar 2012 17:43:38 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
PJ Weisberg <pj@irregularexpressions.net> writes:
> (push '("\\.s?html?$" . nxml-mode) auto-mode-alist)
>
hey thx pj!
never knew about auto-mode-alist!
(i thought you'd have to use hooks or something, but i never explored it.)
a quick question about nxml mode.
if i want to surround a paragraph with <p></p> is there a mechanism for
selecting the paragraph and enclosing it (eg M-ret does this in
html-helper-mode). i haven't been able to find something like this in
any of the docs on nxml i've come across so far.
--
in friendship,
prad