From 08555f6779d9ca52175255ab06d7a41321df375f Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 11 May 2023 15:04:11 +0300 Subject: [PATCH] Add new Dict project --- .gitmodules | 3 +++ Makefile | 7 +++++-- dict | 1 + source/dict.org | 1 + source/index.org | 11 +++++++++++ source/style.css | 5 +++++ 6 files changed, 26 insertions(+), 2 deletions(-) create mode 160000 dict create mode 120000 source/dict.org diff --git a/.gitmodules b/.gitmodules index f40ee50..065acc7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "sweep"] path = sweep url = git@git.sr.ht:~eshel/sweep +[submodule "dict"] + path = dict + url = git://git.eshelyaron.com/dict.git diff --git a/Makefile b/Makefile index 8fb09ba..62f9cf2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: local remote sweep dotfiles +.PHONY: local remote sweep dotfiles dict update: emacs -Q --batch -l publish.el -f esy/publish-update @@ -6,7 +6,7 @@ update: remote: local rsync -vrz html/ root@direct.eshelyaron.com:/var/www/html -local: sweep dotfiles +local: sweep dotfiles dict emacs -Q --batch -l publish.el -f esy/publish sweep: @@ -14,3 +14,6 @@ sweep: dotfiles: git submodule update --remote -- dotfiles + +dict: + git submodule update --remote -- dict diff --git a/dict b/dict new file mode 160000 index 0000000..eebbd4f --- /dev/null +++ b/dict @@ -0,0 +1 @@ +Subproject commit eebbd4fdb1ea67081db95c84d5504bc8c1ad74a2 diff --git a/source/dict.org b/source/dict.org new file mode 120000 index 0000000..1b5671e --- /dev/null +++ b/source/dict.org @@ -0,0 +1 @@ +../dict/README.org \ No newline at end of file diff --git a/source/index.org b/source/index.org index c13439a..be8099f 100644 --- a/source/index.org +++ b/source/index.org @@ -37,6 +37,17 @@ this website itself. :CUSTOM_ID: projects :END: +** Dict: Emacs client for RFC2229 dictionary servers +:PROPERTIES: +:CUSTOM_ID: dict +:END: + +Dict is an Emacs package that provides an interface for querying +RFC2229 dictionary servers and displaying word definitions. It a +simple and extensible tool, meant to do one job (looking up +definitions in the dictionary) and to do it well. For more details, +see [[file:dict.org][the Dict manual]]. + ** =sweep=: SWI-Prolog Embedded in Emacs :PROPERTIES: :CUSTOM_ID: sweep diff --git a/source/style.css b/source/style.css index a4afa64..35f31e2 100644 --- a/source/style.css +++ b/source/style.css @@ -104,6 +104,11 @@ Generated with `M-x org-html-htmlize-generate-css` after loading the color: #3fb83f; font-weight: bold; } +.org-keyword { + /* font-lock-keyword-face */ + color: #00c089; + font-weight: bold; +} .org-comment { /* font-lock-comment-face */ color: #b7a07f; -- 2.39.2