aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/util_spine_syntax_highlighting_emacs.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/util_spine_syntax_highlighting_emacs.org')
-rw-r--r--org/util_spine_syntax_highlighting_emacs.org19
1 files changed, 14 insertions, 5 deletions
diff --git a/org/util_spine_syntax_highlighting_emacs.org b/org/util_spine_syntax_highlighting_emacs.org
index 740064b..7272faf 100644
--- a/org/util_spine_syntax_highlighting_emacs.org
+++ b/org/util_spine_syntax_highlighting_emacs.org
@@ -1,5 +1,5 @@
-*- mode: org -*-
-#+TITLE: sisudoc spine (doc_reform) information files
+#+TITLE: sisudoc spine (doc_reform) emacs syntax highlighting
#+DESCRIPTION: documents - structuring, various output representations & search
#+FILETAGS: :spine:info:
#+AUTHOR: Ralph Amissah
@@ -21,7 +21,7 @@
** README
-#+HEADER: :tangle "../sundry/misc/editor-syntax-etc/emacs/README"
+#+HEADER: :tangle "../sundry/editor-syntax-etc/emacs/README"
#+BEGIN_SRC elisp
; put this into your .emacs file, then use the mode file:
@@ -31,7 +31,7 @@
** autoload sisuspine-mode-autoloads.el
-#+HEADER: :tangle "../sundry/misc/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el"
+#+HEADER: :tangle "../sundry/editor-syntax-etc/emacs/sisu-spine-mode-autoloads.el"
#+BEGIN_SRC elisp
(add-to-list 'load-path (or (file-name-directory #$) (car load-path)))
(autoload 'sisu-spine-mode "sisu-spine-mode" "\
@@ -47,7 +47,7 @@ and search.
** mode sisu-spine-mode.el
-#+HEADER: :tangle "../sundry/misc/editor-syntax-etc/emacs/sisu-spine-mode.el"
+#+HEADER: :tangle "../sundry/editor-syntax-etc/emacs/sisu-spine-mode.el"
#+BEGIN_SRC elisp
;;; sisu-spine-mode.el --- Major mode for SiSU (spine parser) markup text
@@ -57,7 +57,8 @@ and search.
;; Maintainer: Ralph Amissah <ralph.amissah@gmail.com>
;; Keywords: text, syntax, processes, tools
;; Version: 8.0.0
-;; URL: https://www.sisudoc.org/
+;; URL: https://git.sisudoc.org/projects/sisudoc-spine/tree/sundry/editor-syntax-etc/emacs/sisu-spine-mode.el
+;; https://sisudoc.org/
;; originally looked at (based on) doc-mode, with kind permission of the author
;; Author: SUN, Tong <suntong001@users.sf.net>, (c)2001-6, all right reserved
;; Version: $Date: 2006/01/19 03:13:41 $ $Revision: 1.14 $
@@ -199,6 +200,14 @@ and search.
(cons "^```[ ]+poem$\\|^```$" 'sisu-general-font-lock-red2)
(cons "^```[ ]+alt$\\|^```$" 'sisu-general-font-lock-red2)
;;grouped text ---------
+ ;(cons "^'''[ ]code\\(.\\|\n\\)+?\n'''\n" 'sisu-general-font-lock-red2)
+ (cons "^'''[ ]+code.*?$\\|^'''$" 'sisu-general-font-lock-red2)
+ (cons "^'''[ ]+table.*?$\\|^'''$" 'sisu-general-font-lock-red2)
+ (cons "^'''[ ]+group$\\|^'''$" 'sisu-general-font-lock-red2)
+ (cons "^'''[ ]+block$\\|^'''$" 'sisu-general-font-lock-red2)
+ (cons "^'''[ ]+poem$\\|^'''$" 'sisu-general-font-lock-red2)
+ (cons "^'''[ ]+alt$\\|^'''$" 'sisu-general-font-lock-red2)
+ ;;grouped text ---------
(cons "^group{\\|^}group" 'sisu-general-font-lock-red2)
(cons "^block{\\|^}block" 'sisu-general-font-lock-red2)
(cons "^code{\\|^}code" 'sisu-general-font-lock-red2)