localauthor / zk

Emacs packages for working with Zettelkasten-style linked notes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Case insensitive index focussing

jgru opened this issue · comments

commented

Dear Grant,

I am missing a case insensitive version of zk-index-focus.
I thought it might be easy to add a (case-fold-search t) statement to zk--directory-files but this was not successful.
Any hints on where I should make the modification for focusing in a case insensitive manner?

Thanks in advance.

Best regards,
jgru

This was a fun one ;)

It's bothered me for a while, but I had avoided looking into it too much, so thanks for the push.

Let me know if this works.

commented

This was a fun one ;)

It's bothered me for a while, but I had avoided looking into it too much, so thanks for the push.

Let me know if this works.

Thanks very much! Works flawlessly!
Seeing the solution with zk--id-list seems obvious now..

The real solution is in querying zk--alist instead of directory-files, since the latter is pretty inflexible, I guess.

Glad it works!

commented

The real solution is in querying zk--alist instead of directory-files, since the latter is pretty inflexible, I guess.

Eventually good to know for future tinkering.

Glad it works!

Thanks again!