diff options
author | Ralph Amissah <ralph@amissah.com> | 2011-07-26 20:21:32 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2011-07-26 20:21:32 -0400 |
commit | afa76471f128da7a04a89b5ee4b88b846de74c47 (patch) | |
tree | 630bb251b22d083de7c57a89949714300331f138 /data | |
parent | v3: vim sisu syntax highlighting (diff) |
v3: emacs syntax highlighting sisu-mode.el
* markers for hanging indent added
* line-break
Diffstat (limited to 'data')
-rw-r--r-- | data/doc/sisu/CHANGELOG_v3 | 4 | ||||
-rw-r--r-- | 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 |