From afa76471f128da7a04a89b5ee4b88b846de74c47 Mon Sep 17 00:00:00 2001
From: Ralph Amissah <ralph@amissah.com>
Date: Tue, 26 Jul 2011 20:21:32 -0400
Subject: v3: emacs syntax highlighting sisu-mode.el

* markers for hanging indent added
* line-break
---
 data/doc/sisu/CHANGELOG_v3                             |  4 ++++
 data/sisu/v3/conf/editor-syntax-etc/emacs/sisu-mode.el | 12 ++++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3
index 396be68f..740611a8 100644
--- a/data/doc/sisu/CHANGELOG_v3
+++ b/data/doc/sisu/CHANGELOG_v3
@@ -30,6 +30,10 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.14.orig.tar.gz
     * minor comments added
     * deletion of an unused tag
 
+  * emacs sisu-mode.el
+    * markers for hanging indent added
+    * line-break
+
   * qrcode, sysenv, manifest, generate & add QR code images of metadata to
     manifest (using qrencode) (consider where and how else to use images)
 
diff --git a/data/sisu/v3/conf/editor-syntax-etc/emacs/sisu-mode.el b/data/sisu/v3/conf/editor-syntax-etc/emacs/sisu-mode.el
index 8ea5c023..84e7cbef 100644
--- a/data/sisu/v3/conf/editor-syntax-etc/emacs/sisu-mode.el
+++ b/data/sisu/v3/conf/editor-syntax-etc/emacs/sisu-mode.el
@@ -251,15 +251,23 @@
 
      ;;indented text
      (cons "^_[1-9] "                  'general-font-lock-red1)
+     (cons "^_[1-9]! "                 'general-font-lock-red1)
+
+     ;hanging indented text [proposed enable when implemented]
+      (cons "^__[1-9] "                'general-font-lock-red1)
+      (cons "^_[0-9]_[0-9] "           'general-font-lock-red1)
+      (cons "^__[1-9]! "               'general-font-lock-red1)
+      (cons "^_[0-9]_[0-9]! "          'general-font-lock-red1)
 
      ;;url
      (cons "\\(^\\|[ ]\\)http:[/][/][^ \t\n\r<]+" 'general-font-lock-blue2)
 
-;; \\|\$
-
      ;; Comment Lines
      (cons "^% .*"                     'general-font-lock-blue1)
+
      ;; line break
+     (cons " \\\\\\\\ "                    'general-font-lock-red1)
+     ;; line break (depreciated)
      (cons "<br>"                      'general-font-lock-red1)
 
      ;; Section titles
-- 
cgit v1.2.3