aboutsummaryrefslogtreecommitdiff
path: root/modules/gloss-config.el
blob: 8afe44d4594b1df3073cd6c4c1f2471e89592841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
;;; gloss-config.el --- Gloss personal-glossary configuration -*- lexical-binding: t; coding: utf-8; -*-
;; author: Craig Jennings <c@cjennings.net>

;;; Commentary:
;;
;; Layer: 4 (Optional).
;; Category: O/D/P.
;; Load shape: eager.
;; Eager reason: none; optional glossary workflow (v1 shakedown), a command-loaded
;;   deferral candidate.
;; Top-level side effects: package configuration via use-package.
;; Runtime requires: none.
;; Direct test load: yes.
;;
;; gloss — Glossary Lookup with Online-Sourced Selection.
;;
;; Personal glossary on `C-h g'.  Looks up terms in a single git-tracked
;; org file.  On a local miss, fetches candidate definitions from
;; Wiktionary and prompts to pick one.  Same org file feeds `org-drill'
;; for spaced-repetition study.
;;
;; v1 in shakedown.  After a few weeks of real use, this module can move
;; out of the "Modules In Test" section in init.el.

;;; Code:

(use-package gloss
  :vc (:url "git@cjennings.net:gloss.git"
       :branch "main"
       :rev :newest)
  ;; :load-path "~/code/gloss"  ;; uncomment + comment :vc above for local dev
  :demand t
  :commands (gloss-lookup gloss-add gloss-edit
             gloss-fetch-online gloss-list-terms gloss-stats
             gloss-reload gloss-drill-export gloss-toggle-debug)
  :config
  (gloss-install-prefix))

(provide 'gloss-config)
;;; gloss-config.el ends here