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

How to use deft-file-naming-rules with usepackage #108

Open
buhtz opened this issue Oct 14, 2021 · 1 comment
Open

How to use deft-file-naming-rules with usepackage #108

buhtz opened this issue Oct 14, 2021 · 1 comment

Comments

@buhtz
Copy link

buhtz commented Oct 14, 2021

The emacs-intern-reference about deft-file-naming-rules show me examples using setq.

But how is the syntax when using usepackage? Can you give an example about it and also improve the docu about it please.

This is my not working example:

99  (use-package deft
100   :ensure t
101   :custom
102     (deft-extensions '("org" "md" "txt"))
103     (deft-directory "~/tab-cloud/zettel")
104     (deft-use-filename-as-title t)
105     (deft-file-nameing-rules
106       ’((nospace . "_"))
107     )
108 )

Spaces/blanks are still ignored and use in the filename.

@EFLS
Copy link

EFLS commented Oct 15, 2021

I think there is a typo in line 105: nameing should be naming. Does it work then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants