Skip to content

Commit

Permalink
commentary
Browse files Browse the repository at this point in the history
  • Loading branch information
unhammer committed Apr 8, 2016
1 parent 401d97b commit 4b6ecd4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.org
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* dix.el -- minor mode for editing Apertium language data

See http://wiki.apertium.org/wiki/Emacs
See http://wiki.apertium.org/wiki/Emacs and commentary at the top of
[[file:dix.el][dix.el]].
19 changes: 13 additions & 6 deletions dix.el
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,24 @@

;;; Commentary:

;; Usage:
;; (add-to-list 'load-path "/path/to/dix.el-folder")
;; (autoload 'dix-mode "dix"
;; "dix-mode is a minor mode for editing Apertium XML dictionary files." t)
;; Basic usage:
;;
;; (add-hook 'nxml-mode-hook
;; (lambda () (and buffer-file-name
;; (string-match "^modes\\.xml$\\|\\.\\(dix\\|metadix\\|t[0-9s]x\\|lrx\\)$"
;; buffer-file-name)
;; (dix-mode 1))))
;;
;; Unless you installed from MELPA, you'll also need
;;
;; (add-to-list 'load-path "/path/to/dix.el-folder")
;; (autoload 'dix-mode "dix"
;; "dix-mode is a minor mode for editing Apertium XML dictionary files." t)
;;
;; If you actually work on Apertium packages, you'll probaby want some
;; other related Emacs extensions as well; see
;; http://wiki.apertium.org/wiki/Emacs#Quickstart for an init file
;; that installs and configures both dix.el and some related packages.

;; If you want keybindings that use `C-c' followed by letters, you
;; should also add
Expand Down Expand Up @@ -76,8 +85,6 @@
;; column numbers with M-x customize-group RET dix.

;; Plan / long term todo:
;; - Switch default keybindings so they follow Emacs Key Bindings
;; conventions
;; - Yank into <i/l/r> or pardef n="" should replace spaces with either
;; a <b/> or a _
;; - Functions shouldn't modify the kill-ring.
Expand Down

0 comments on commit 4b6ecd4

Please sign in to comment.