From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: "help-gnu-emacs@gnu.org List" <help-gnu-emacs@gnu.org>
Subject: Re: Adding bracket tags to sgml-mode
Date: Tue, 19 Jun 2012 08:24:46 +0200 [thread overview]
Message-ID: <4FE01B2E.4090901@easy-emacs.de> (raw)
In-Reply-To: <CAKeDzS-NERT8RpZ=_4Twi+ecA32UJ9jp8Z69HbhDO96jU6rXaA@mail.gmail.com>
Am 19.06.2012 04:50, schrieb Chris Hardee:
> I'm working with a CMS system that uses custom bracket tags, ie
> {example}...*html stuff*...{/example}; unfortunately, sgml-mode
> doesn't recognize them and doesn't indent properly. I'm wondering if
> there is a simple way to extend sgml-mode to include these tags or if
> I need to create a separate mode. Any way to point me in the right
> direction would be appreciated, thanks!
>
> (I tried nxml-mode, but it's a bit clunky and overkill for what I'm
> hoping to do. I'll go with it if it's the only practical option
> though)
>
thing-at-point-utils.el
from
http://launchpad.net/s-x-emacs-werkstatt/
probably is overkill too :)
it comes with stuff dealing with brackets - and a lot of more things like that.
try ar-bracketed-TAB
unfortunately several files are required from that repo
Cheers,
Andreas
prev parent reply other threads:[~2012-06-19 6:24 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-19 2:50 Adding bracket tags to sgml-mode Chris Hardee
2012-06-19 5:47 ` Kevin Rodgers
2012-06-19 6:24 ` Andreas Röhler [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
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=4FE01B2E.4090901@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--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).