Created
April 15, 2015 19:55
-
-
Save shapr/9c2de0b3edc061e8a9ef to your computer and use it in GitHub Desktop.
shae's lojban defuns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;;;;;;;;; lojban defuns | |
(defun lojban-gloss () "" | |
(interactive "r") | |
(shell-command-on-region (region-beginning) (region-end) | |
"cmafihe -b")) | |
(defun lojban-parse () "" | |
(interactive) | |
(shell-command-on-region (region-beginning) (region-end) | |
"jbofihe -x -b")) | |
(defun lojban-fgrep (regexp) "fgrep lojban-common for a word" | |
(interactive "sfgrep pattern: ") | |
(grep (concat "fgrep -h \"" regexp "\" /usr/share/lojban/*"))) | |
;(global-set-key [(f9)] 'lojban-fgrep) | |
;(global-set-key [(f11)] 'lojban-parse) | |
; end lojban stuff | |
(message "loaded shae-lojban") | |
(provide 'shae-lojban) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment