-
Notifications
You must be signed in to change notification settings - Fork 7
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
Hard to use it. #11
Comments
I hear you. There's honestly a lot of stuff it can do and it can seem intimidating. And my documentation is definitely not the greatest, although I have tried as best as I could to explain the process. I will try to answer your questions as best I can and if you need more help, I will be happy to provide it. Before that, I also want to mention that because there are a lot of functions and I understand its confusing to remember all of them, I highly recommend you also install the For the workflow you mention. Step 1 is correct. Steps 2 and 3 not exactly. The idea is you have the
The
The
Yes, this is indeed correct. On startup,
I hope to have answered your question above, while explaining the workflow.
I personally don't use this so I am not sure if there is something that's wrong with it and I haven't noticed, but when I wrote the code, I tested multiple examples and they all seemed to work and nothing has changed since then. I believe the error here is that the file it tries to find doesn't exist and it can't create it. Its location is stored in the variable
Naturally, if you can't save a state, you also can't restore it. If you can properly save and restoring still doesn't work, do tell me, although I doubt it as I just tested the function using some old save states I have from testing and it should 100% work should the saving part be done correctly.
You are correct, there is no such function. The function this could mean is
Yes that is intended behavior. The typical zettelkasten structure wants nodes to be atomic, meaning that if you would split something with headings, each one should probably be a different node. For this reason, I did not find it intuitive for
I hope I explained all your issues enough, but if you need a better explanation, do mention it and I will try to explain it further. And if you have any other issue, do mention that as well so I can try and help you fix it. |
Thank you for kind reply.
I use ;; Doom-emacs setting
(use-package! zetteldesk
:after org-roam
:config
(setq zetteldesk-kb-hydra-prefix (kbd "C-c z"))
(zetteldesk-mode 1)
;; (require 'zetteldesk-kb)
(require 'zetteldesk-kb-complete)
(require 'zetteldesk-ref)
(require 'zetteldesk-info)
(require 'zetteldesk-remark)
...
Okay, I'll check this out again. :)
Yes, the wiki needs to be udpated.
I see. My most of permernant notes doesn't have headlines. However my early (permernent) notes have one headline to represent as the atomic note. And I had added the literature notes for test. So the |
Its a good point that I need to recheck the wiki for outdated things and
update them. And for the last point, since you say you added literature
notes for test, you should insert those with
`zetteldesk-ref-insert-node-contents` which fixes all the heading stuff.
…On Mon, Apr 17, 2023, 11:08 AM Tim Lee ***@***.***> wrote:
Thank you for kind reply.
I will try to answer your questions as best I can and if you need more
help, I will be happy to provide it. Before that, I also want to mention
that because there are a lot of functions and I understand its confusing to
remember all of them, I highly recommend you also install the zetteldesk-kb
package. The hydra it includes has very explanatory descriptions instead of
function names which I think will help sort out the mess.
I use zetteldesk-kb-complete already. But I used hydra setting accroding
to Doom configuration
<https://github.com/Vidianos-Giannitsis/zetteldesk.el/wiki/Doom-Configuration>.
So the wiki <https://github.com/Vidianos-Giannitsis/zetteldesk.el/wiki>
needs to be updated.
;; Doom-emacs setting
(use-package! zetteldesk
:after org-roam
:config
(setq zetteldesk-kb-hydra-prefix (kbd "C-c z"))
(zetteldesk-mode 1)
;; (require 'zetteldesk-kb)
(require 'zetteldesk-kb-complete)
(require 'zetteldesk-ref)
(require 'zetteldesk-info)
(require 'zetteldesk-remark)
...
I personally don't use this so I am not sure if there is something that's
wrong with it and I haven't noticed, but when I wrote the code, I tested
multiple examples and they all seemed to work and nothing has changed since
then. I believe the error here is that the file it tries to find doesn't
exist and it can't create it. Its location is stored in the variable
zetteldesk-saved-state-file and its in the directory /libs under your emacs
directory and in a file named zetteldesk-saves.el. It needs a new file,
because the only way I could think of implementing a save feature is
storing the list of nodes you want to save in a file and then reading from
that file in a new session. You can change the location of that file by
setq-ing that variable to a different location. Note that that location
needs to be in your load path so that the restore function can read the
code in that lisp file. But I am pretty positive that the issue is its
trying to write to a file that doesn't exist. I am aware that this solution
isn't very elegant, but I couldn't come up with a better one.
Okay, I'll check this again. :)
You are correct, there is no such function. The function this could mean
is zetteldesk-info-insert-contents. Naming it
zetteldesk-insert-info-contents would make more sense (and that was indeed
its name in the beginning), but after deciding to split the info stuff to a
separate package, to upload it to MELPA, it must be prefixed with
zetteldesk-info-* so this change was necessary. However, seeing the hydra
on my local version of the repo and on the version uploaded here, the
function zetteldesk-insert-info-contents is nowhere to be found. The only
thing that could be causing this is you having an old version of the hydra,
in which case make sure to update it and check again.
Yes, the wiki needs to be udpated.
Yes that is intended behavior. The typical zettelkasten structure wants
nodes to be atomic, meaning that if you would split something with
headings, each one should probably be a different node. For this reason, I
did not find it intuitive for zetteldesk-insert-node-contents to handle
headings as it expects a node to have a title (which will become a top
level heading) and no other headings. However, because I heavily expect a
general org file (or a literature node, which in my case is made with
org-noter) to have many headings, this behavior has been implemented for
those, so I can easily solve your issue. If you consider this behavior
necessary, load this function to your config and use it instead of
zetteldesk-insert-node-contents.
I see. My most of permernant notes doesn't have headlines. However my
early (permernent) notes have one headline to represent as the atomic note.
And I had added the literature notes for test. So the zetteldesk showed
duplicated headlines at that time.
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APGY5W66ZCXWKKHFWHE3MC3XBT3BDANCNFSM6AAAAAAWY7GDKI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I'm closing the issue now, but if you have any other problems, feel free to re-open it for discussion, or start a new one |
Hello, I would like to inform you that the feature you asked for
The latest update of the package now has this feature built in and you can check the documentation for it in the README and its wiki section. Thanks for the idea, I believe it was a useful one. |
I saw your emacs conf video and I thought this was what I've been searching for. I needed a desktop feature to writing text using my notes. So, I tried your package. I had read the wiki and followed some functions, but I found it was really difficult to use. It would've been nice your screencasts have command-log-mode window.
Is the workflow right?
zetteldesk-deskop
desktop
byzetteldesk-add-node-to-desktop
zetteldesk-add-to-desktop
*zetteldesk-scratch*
buffer. The*zetteldesk-scratch*
buffer is empty at this time. Add node into*zetteldesk-scratch*
buffer fromzetteldesk-desktop
. Then, user can write and revise some text according*zetteldesk-scratch*
zetteldesk-node-insert
zetteldesk-insert-node-with-contents
DRAFT-ABOUT-SOMETHING-COOL.org
. Insert node and contents byzetteldesk-insert-node-contents
Another questions.
zetteldesk-switch-to-buffer
orzetteldesk-insert-org-file-contents
is for index card?*zetteldesk-scratch*
as persistent file.*zetteldesk-scratch*
buffer means desktop? Could I switch desktop like change between multiple desks in a room? I think the BUFFER can be a seperate DESKTOP, is this right?Some functions don't work. The list below could be a seprate issue.
*zetteldesk-scratch*
was closed once, new*zetteldesk-scratch*
buffer will be created asfundamental-mode
.zetteldesk-node-insert
doesn't insert node into*zetteldesk-scratch*
. Whereaszetteldesk-insert-node-contents
does.zetteldesk-save-state
doesn't save anything. It makes a directory only.zetteldesk-restore-desktop
doesn't restore anything.zetteldesk-insert-info-contents
command in hydra"Wrong type argument: commandp, zetteldesk-insert-info-contents"
zetteldesk-insert-node-with-contents
inserts two headings that has same level. one is the title and another is a top heading of original body.The text was updated successfully, but these errors were encountered: