From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chris Hardee Newsgroups: gmane.emacs.help Subject: Adding bracket tags to sgml-mode Date: Mon, 18 Jun 2012 21:50:48 -0500 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1340077674 374 80.91.229.3 (19 Jun 2012 03:47:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2012 03:47:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 19 05:47:54 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 1SgpQ1-0007WK-VU for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jun 2012 05:47:54 +0200 Original-Received: from localhost ([::1]:46940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgpQ1-0002rb-K1 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jun 2012 23:47:53 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgoWr-0004Au-9b for help-gnu-emacs@gnu.org; Mon, 18 Jun 2012 22:50:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SgoWp-0008QH-E8 for help-gnu-emacs@gnu.org; Mon, 18 Jun 2012 22:50:52 -0400 Original-Received: from mail-lb0-f169.google.com ([209.85.217.169]:39392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SgoWp-0008Q8-3d for help-gnu-emacs@gnu.org; Mon, 18 Jun 2012 22:50:51 -0400 Original-Received: by lbjn8 with SMTP id n8so6162744lbj.0 for ; Mon, 18 Jun 2012 19:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+ojPZbknafxZbhhwPnK0eCgv1HdyQ4Ng4CtyAeVRTyk=; b=yRgD1Qbvuc6Un1smjcAFMDRNSetTpaAzqvzn4R1/WMant5c/j0y3nEvoUEmPsJTe39 BcLwWYyfKW5qAfb8UrF3Dttaa/tUzLgPiZbhzygtoJG3XYbrjWRmvmCEtXiJVOai1nqd oiZLA9KKidjwYtLQRptA2BAOlmXWdeXzWKuQRvl2OdnKAVxKadDMmAo92QEKaAon3Yir eRg80/12dDtM+QkIrsgLMQNoKLDuoCiLZPW67WDEf3+zGbTa3iG5+VRJ/PLLd4Tl951G Gf8WjX/M6qsYi2i1hczrFt8VqBJ3T60N3wsgb4sy4p/GZ6XO2V4VqKGshmmKG5Wj5nm4 sBRA== Original-Received: by 10.152.109.198 with SMTP id hu6mr16500905lab.21.1340074248232; Mon, 18 Jun 2012 19:50:48 -0700 (PDT) Original-Received: by 10.112.81.4 with HTTP; Mon, 18 Jun 2012 19:50:48 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.217.169 X-Mailman-Approved-At: Mon, 18 Jun 2012 23:47:50 -0400 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:85301 Archived-At: 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) -- Chris Hardee 10BitWorks San Antonio Hackerspace 10bitworks@gmail.com http://10bitworks.com/