I'd like to use Windows (10) native Emacs (spacemacs) and ledger (both installed via Chocolatey). The finance
layer from spacemacs
provides integration for it, however when I tried to run a simple reg
ister report it gave me the following error:
Report: reg
Command: "ledger" -f "c:/Users/USERNAME/Dropbox/Priv/2018.ledger" reg
=================================================================================================================================================
Error: Cannot read journal file "/cygdrive/c/Users/USERNAME/Dropbox/Priv/c:/Users/USERNAME/Dropbox/Priv/2018.ledger"
I assume this is because the chocolatey installed package is cygwin based.
Do You have an idea how to get rid of this problem?
WSL
with which I'm rather happy (but don't want run an X server that's why I'm using native windows emacs)./cygdrive
?WSL
is Windows Subsystem for Linux, and no it doesn't use/cygdrive
(I don't havecygwin
installed. When You downloadledger
to Windows, it includes some of the required DLLs fromCygwin
to be able to run.