EFLS / zetteldeft

A Zettelkasten system! Or rather, some functions on top of the emacs deft package.
https://efls.github.io/zetteldeft
GNU General Public License v3.0
394 stars 42 forks source link

FeatureRequest: Inform about dead link when `C-c d f` #119

Open buhtz opened 2 years ago

buhtz commented 2 years ago

When I do C-c d f on a zettel-link which is dead because there is no zettel behind it with that name nothing happens. I would like to have minimal message in the "status buffer" (or how it is called in emacs) about that "problem".

As a novice emacs and zetteldeft user somebody would think she/he is doinng something wrong. The user should know and understand why the follow-link does not happen.

EFLS commented 2 years ago

Great suggestion! Currently I don't have much time to work on Zetteldeft, but it should be trivial to add something like this to zetteldeft--search-filename.

EFLS commented 2 years ago

Eh, so I've already pushed a change that includes this. Try it out and let me know if it works as you'd expect. Thanks for the suggestion, as being verbose towards (new) users is important for usability.

EDIT: Also, FYI, there is zetteldeft-dead-links-buffer that shows all dead links in your Zetteldeft

buhtz commented 2 years ago

Wow! You should win a price for the fastes and full resolved feature request! :dagger: It work's fine.

Just a side question about emacs deploy infrastructure. Your commit appeared at MELPA. Why? Is it done automaticly? Does MELPA always represent the upstream repo status? Or did you triggered it explicit?

EDIT: Also for C-c d F the error messags appears. But the "new window" is opened also. I would say there is no need to open a new window when there is no note found.

EFLS commented 2 years ago

Ah yes, the new window variant should be taken care of too. Might be a tad more complex though.

With regards to MELPA: AFAIK MELPA keeps track of this repo and updates its packages automatically (within a day or so). No triggering on my part.