Description
The hywiki-directory variable cannot be customized to an alternate path (e.g., inside ~/.tmp/) during Emacs startup. Even when explicitly configured by the user, Hyperbole still creates the default ~/hywiki/ directory in the user's home folder upon initialization.
Environment
- Emacs Version: 30+
- Hyperbole Version: Latest (installed via Elpaca package manager)
Steps to Reproduce & What I Have Tried
I am trying to move the HyWiki directories to a temporary location using the following configuration styles, but all of them fail to prevent the creation of ~/hywiki/:
- Attempt with
setq inside the package declaration:
(elpaca hyperbole
(setq hywiki-directory "~/.tmp/hywiki/"
hywiki-org-publishing-directory "~/.tmp/public/")
(hyperbole-mode 1))
- Attempt with
setq-default:
(elpaca hyperbole
(setq-default hywiki-directory "~/.tmp/hywiki/")
(setq-default hywiki-org-publishing-directory "~/.tmp/public/")
(hyperbole-mode 1))
- Attempt with
customize-set-variable after load:
(with-eval-after-load 'hyperbole
(customize-set-variable 'hywiki-directory "~/.tmp/hywiki/")
(hywiki-mode :all))
- Attempt setting global variables absolute-first (before package manager initialization):
(setq hywiki-directory "~/.tmp/hywiki/")
(elpaca hyperbole (hyperbole-mode 1))
In every single scenario, deleting ~/hywiki/ from the terminal and restarting Emacs results in the folder ~/hywiki/ being automatically recreated on startup.
Expected Behavior
Hyperbole should respect hywiki-directory user configurations set via standard Emacs mechanisms (setq, custom-set-variable) prior to or during package load, without creating the default directory at ~/hywiki/.
Description
The
hywiki-directoryvariable cannot be customized to an alternate path (e.g., inside~/.tmp/) during Emacs startup. Even when explicitly configured by the user, Hyperbole still creates the default~/hywiki/directory in the user's home folder upon initialization.Environment
Steps to Reproduce & What I Have Tried
I am trying to move the HyWiki directories to a temporary location using the following configuration styles, but all of them fail to prevent the creation of
~/hywiki/:setqinside the package declaration:setq-default:customize-set-variableafter load:In every single scenario, deleting
~/hywiki/from the terminal and restarting Emacs results in the folder~/hywiki/being automatically recreated on startup.Expected Behavior
Hyperbole should respect
hywiki-directoryuser configurations set via standard Emacs mechanisms (setq,custom-set-variable) prior to or during package load, without creating the default directory at~/hywiki/.