summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/site-lisp/n3-mode.el
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-25 23:09:16 +0200
committerDavid Robillard <d@drobilla.net>2020-07-25 23:09:16 +0200
commit9bd1f661d9b5ec1226667a433850b415356beb4b (patch)
tree8ee61d85de51ef9ff274ecad96ec464087aed898 /emacs/.emacs.d/site-lisp/n3-mode.el
parent2a367099d855fb9baa88495c5c5407af1a025aab (diff)
downloaddotfiles-9bd1f661d9b5ec1226667a433850b415356beb4b.tar.gz
dotfiles-9bd1f661d9b5ec1226667a433850b415356beb4b.tar.bz2
dotfiles-9bd1f661d9b5ec1226667a433850b415356beb4b.zip
Remove old N3 and Turtle modes
Diffstat (limited to 'emacs/.emacs.d/site-lisp/n3-mode.el')
-rw-r--r--emacs/.emacs.d/site-lisp/n3-mode.el44
1 files changed, 0 insertions, 44 deletions
diff --git a/emacs/.emacs.d/site-lisp/n3-mode.el b/emacs/.emacs.d/site-lisp/n3-mode.el
deleted file mode 100644
index 8beced6..0000000
--- a/emacs/.emacs.d/site-lisp/n3-mode.el
+++ /dev/null
@@ -1,44 +0,0 @@
-;;; n3-mode.el --- mode for Notation 3
-; $Id: n3-mode.el 4084 2007-12-15 17:10:13Z hugoh $
-
-;; Copyright (c) 2003-2007 Hugo Haas <hugo@larve.net>
-
-;; For documentation on Notation 3, see:
-;; http://www.w3.org/DesignIssues/Notation3.html
-
-;;; Comentary:
-
-;; Goals:
-;; - sytax highlighting
-;; - completion
-;; - indentation
-
-;; What it does now:
-;; - Syntax highlighting
-
-;;; Code:
-
-(require 'generic)
-
-(define-generic-mode 'n3-mode
- ;; comment char
- (list "# ")
- ;; keywords
- (list "this" "a")
- ;; additional font-lock'ing
- '(("\\(@prefix\\)\\>" 1 font-lock-keyword-face t)
- ("\\(\\S-*?:\\)" 1 font-lock-type-face t)
- (":\\(\\S-+?\\)\\>" 1 font-lock-constant-face t)
- ("\\(<.*?>\\)" 1 font-lock-function-name-face t)
- ("\\(\\\".*?\\\"\\)" 1 font-lock-string-face t)
-; Bug: some trailing characters are highlighted; restricting comments regexp
-; ("\\(#.*\\)" 1 font-lock-comment-face t)
- ("^\\s-*\\(#.*\\)" 1 font-lock-comment-face t)
- )
- ;; auto-mode
- (list "\\.n3$")
- ;; additional setup
- nil
- ;; description
- "Mode for Notation 3 documents."
- )