|
From: | Andreas Röhler |
Subject: | Re: Adding bracket tags to sgml-mode |
Date: | Tue, 19 Jun 2012 08:24:46 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120421 Thunderbird/12.0 |
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 in Thread] | Current Thread | [Next in Thread] |