debian/sisu.install debian/sisu.emacsen-startup emacs related tinkering
authorRalph Amissah <ralph@amissah.com>
Tue, 15 Dec 2015 05:07:07 +0000 (00:07 -0500)
committerRalph Amissah <ralph@amissah.com>
Tue, 15 Dec 2015 05:07:07 +0000 (00:07 -0500)
* debian/sisu.install emacs files sisu-mode.el sisu-mode-autoloads.el
* debian/sisu.emacsen-startup used by dh_installemacsen
* see debian bug #807793, Kevin Ryde

debian/sisu.emacsen-startup [new file with mode: 0644]
debian/sisu.install

diff --git a/debian/sisu.emacsen-startup b/debian/sisu.emacsen-startup
new file mode 100644 (file)
index 0000000..e598e66
--- /dev/null
@@ -0,0 +1,9 @@
+;;; 50sisu.el -- debian emacs setups for sisu
+
+(if (not (file-exists-p "/usr/share/emacs/site-lisp/sisu-mode.el"))
+    (message "sisu removed but not purged, skipping setup")
+
+  (autoload 'sisu-mode "sisu-mode" "Major mode for editing SiSU files." t)
+  (add-to-list 'auto-mode-alist '("\\.sst\\'" . sisu-mode))
+  (add-to-list 'auto-mode-alist '("\\.ssm\\'" . sisu-mode))
+  (add-to-list 'auto-mode-alist '("\\.ssi\\'" . sisu-mode)))
index 8cd2d5da547106a8c95ef83a58e950fc2b8b277d..63ffc0149399be568bf27a217548fca57f316df6 100644 (file)
@@ -1,19 +1,22 @@
-bin/sisu                                                   usr/bin
-bin/sisu-concordance                                       usr/bin
-bin/sisu-epub                                              usr/bin
-bin/sisu-harvest                                           usr/bin
-bin/sisu-html*                                             usr/bin
-bin/sisu-odf                                               usr/bin
-bin/sisu-txt                                               usr/bin
-bin/sisu-webrick                                           usr/bin
-lib/sisu*                                                  usr/lib/ruby/vendor_ruby
-conf/sisu                                                  etc
-data/sisu                                                  usr/share
-data/doc/sisu                                              usr/share/doc
+bin/sisu                                                      usr/bin
+bin/sisu-concordance                                          usr/bin
+bin/sisu-epub                                                 usr/bin
+bin/sisu-harvest                                              usr/bin
+bin/sisu-html*                                                usr/bin
+bin/sisu-odf                                                  usr/bin
+bin/sisu-txt                                                  usr/bin
+bin/sisu-webrick                                              usr/bin
+lib/sisu*                                                     usr/lib/ruby/vendor_ruby
+conf/sisu                                                     etc
+data/sisu                                                     usr/share
+data/doc/sisu                                                 usr/share/doc
 # depreciated remove once vim-addon-manager is in place
-data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim  usr/share/vim/addons/ftplugin
-data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim    usr/share/vim/addons/syntax
+data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim        usr/share/vim/addons/ftplugin
+data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim          usr/share/vim/addons/syntax
 # migrate to use vim-addon-manager
-data/sisu/conf/editor-syntax-etc/vim/vim-sisu.yaml      usr/share/vim/registry
-data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim  usr/share/vim-scripts/ftplugin
-data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim    usr/share/vim-scripts/syntax
+data/sisu/conf/editor-syntax-etc/vim/vim-sisu.yaml            usr/share/vim/registry
+data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim        usr/share/vim-scripts/ftplugin
+data/sisu/conf/editor-syntax-etc/vim/syntax/sisu.vim          usr/share/vim-scripts/syntax
+# emacs
+data/sisu/conf/editor-syntax-etc/emacs/sisu-mode.el           usr/share/emacs/site-lisp/sisu
+data/sisu/conf/editor-syntax-etc/emacs/sisu-mode-autoloads.el usr/share/emacs/site-lisp/sisu