From 660ef0691d0d407d67e87b83bca9ec8a09342b67 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Wed, 20 Nov 2024 07:21:35 +0200 Subject: Add org-gnosis group, customs & faces --- org-gnosis.el | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/org-gnosis.el b/org-gnosis.el index cebd7db..fdf1bf6 100644 --- a/org-gnosis.el +++ b/org-gnosis.el @@ -1,4 +1,4 @@ -;;; org-gnosis.el --- Org Zettelkasten Note Management System -*- lexical-binding: t; -*- +;;; org-gnosis.el --- Org Note Management System -*- lexical-binding: t; -*- ;; Copyright (C) 2024-2025 Thanos Apollo @@ -32,6 +32,25 @@ (require 'emacsql-sqlite) (require 'org-element) +(defgroup org-gnosis nil + "Note Taking System." + :group 'external) + +(defcustom org-gnosis-dir "~/Notes" + "Directory with gnosis notes." + :type 'directory + :group 'org-gnosis) + +(defcustom org-gnosis-show-tags nil + "Display tags with `org-gnosis-find'." + :type 'boolean + :group 'org-gnosis) + +(defface org-gnosis-face-tags + '((t :inherit font-lock-type-face)) + "Face for displaying gnosis with `org-gnosis-find'." + :group 'org-gnosis) + (defvar org-gnosis-db (emacsql-sqlite-open (locate-user-emacs-file "org-gnosis.db"))) (cl-defun org-gnosis-select (value table &optional (restrictions '1=1) (flatten nil)) -- cgit v1.2.3