From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Adding bracket tags to sgml-mode Date: Tue, 19 Jun 2012 08:24:46 +0200 Message-ID: <4FE01B2E.4090901@easy-emacs.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1340087115 26001 80.91.229.3 (19 Jun 2012 06:25:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2012 06:25:15 +0000 (UTC) To: "help-gnu-emacs@gnu.org List" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 19 08:25:15 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SgrsE-00069S-KE for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jun 2012 08:25:10 +0200 Original-Received: from localhost ([::1]:50023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgrsE-0000xv-IP for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jun 2012 02:25:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sgrs7-0000wS-Tr for help-gnu-emacs@gnu.org; Tue, 19 Jun 2012 02:25:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sgrs5-0002SK-Sv for help-gnu-emacs@gnu.org; Tue, 19 Jun 2012 02:25:03 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.171]:51639) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sgrs5-0002Ra-J5 for help-gnu-emacs@gnu.org; Tue, 19 Jun 2012 02:25:01 -0400 Original-Received: from [192.168.178.27] (brln-4db9f391.pool.mediaWays.net [77.185.243.145]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MgJKE-1SVN9x2i74-00O0sA; Tue, 19 Jun 2012 08:24:59 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120421 Thunderbird/12.0 In-Reply-To: X-Provags-ID: V02:K0:N3J2yjBUJCBCFznfe2QBWNjQAdgBHZyFtOnzMZC7fkG n+TBkRO0ZxZ1Vj7xvpKQnr7akQnkYK0aVU7sqSpuYy238HMRqc wxHrtYUCqNNA0TA4IKZ5BE7Cv2gqt85j2gzXyNV8JHGRcscI4E cje2odXJy8bc6uqFAqe0fJ3lciMID+v83an3f3X33xQSuQf95v HHHWs23OdTdX8+yCTymtgPy1Ap6d3AsljKHKUEok1J82170En9 rHPinEvEjNL5fA+iBfyj5nU4323Dby5+PipbA91QIPZAHsQ3K3 z/3UhRjd8CHTibEk2fNGaVewv0wF9RU/kiJhQ+1UPUYENTDMTG 3SGW0NBx4/3xbYBDnR74NXbm471wy0lojPKffEMAh X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.171 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:85303 Archived-At: 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