Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error attempting to access home note initially #108

Open
subhacom opened this issue Mar 25, 2021 · 1 comment
Open

Error attempting to access home note initially #108

subhacom opened this issue Mar 25, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@subhacom
Copy link

After starting emacs, attempt to go to the home note throws an error:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match("^/home/user/.deft/" nil)
  deft-find-file(nil)
  zetteldeft-find-file(nil)
  zetteldeft-go-home()
  funcall-interactively(zetteldeft-go-home)
  call-interactively(zetteldeft-go-home nil nil)
  command-execute(zetteldeft-go-home)

However this problem goes away after calling deft (C-c d d). Is this expected behavior?

@EFLS EFLS added the bug Something isn't working label Mar 25, 2021
@EFLS
Copy link
Owner

EFLS commented Mar 25, 2021

This is unrelated to the home note, actually.

It's expected but not really. Zetteldeft currently requires the user to first launch Deft, but this is not ideal. Thanks for reminding me to actually change this behaviour. There was a related issue submitted, but can't seem to find it at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants