From: kj <socyl@987jk.com.invalid>
To: help-gnu-emacs@gnu.org
Subject: How to edit "mixed" (e.g. HTML/JavaScript) files?
Date: Tue, 6 Mar 2007 19:45:54 +0000 (UTC) [thread overview]
Message-ID: <eskgdi$scs$1@reader2.panix.com> (raw)
It often happens that a single file must contain code corresponding
to two different syntaxes. For example, an HTML file with embedded
JavaScript or CSS.
Is there a way to *locally* override the mode of a file and replace
it with a different mode?
If not, is there a good way to deal with such situations (other
than avoiding them altogether)?
Thanks!
kj
--
NOTE: In my address everything before the first period is backwards;
and the last period, and everything after it, should be discarded.
next reply other threads:[~2007-03-06 19:45 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-06 19:45 kj [this message]
2007-03-06 21:07 ` How to edit "mixed" (e.g. HTML/JavaScript) files? Lennart Borgman (gmail)
[not found] ` <mailman.552.1173217248.7795.help-gnu-emacs@gnu.org>
2007-03-07 18:06 ` kj
2007-03-08 9:48 ` Hadron
2007-03-08 11:02 ` Hadron
2007-03-08 11:49 ` David Hansen
2007-03-08 13:27 ` Lennart Borgman (gmail)
2007-03-08 14:11 ` David Hansen
2007-03-08 16:06 ` Lennart Borgman (gmail)
2007-03-08 16:43 ` David Hansen
2007-03-08 17:15 ` Lennart Borgman (gmail)
2007-03-08 18:14 ` David Hansen
[not found] ` <mailman.655.1173360456.7795.help-gnu-emacs@gnu.org>
2007-03-08 13:51 ` Hadron
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='eskgdi$scs$1@reader2.panix.com' \
--to=socyl@987jk.com.invalid \
--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.