It often happens that I discover some minor annoyance in #Emacs while I'm workin...
Omar Antolín @oantolin@mathstodon.xyz
It often happens that I discover some minor annoyance in #Emacs while I'm working. I try to resist the temptation to drop everything and fix it right then and there, and instead make a note (either mental or in my #OrgMode files) to come back and fix it later.
One problem I had noticed is that my completion style configuration is ignored in recursive minibuffers while org-ql-find is running. I had forgotten about this but ran into the same issue yesterday when I was *not* working, so I looked into it and realized the issue: org-ql-completing-read dynamically binds completion-styles to do its work, and naturally that binding is active in any nested minibuffers! I made a quick pull request¹ to make the binding using setq-local in the minibuffer instead, which keeps the changes local to just that minibuffer.
And then I discovered a second annoyance! 😅 I tried using the :vc clause of use-package to install org-ql from my PR branch for now, but for some reason it kept installing *both* my branch and the MELPA package. I have no idea what was going on (and have successfully used :vc to install particular branches of packages before), but I had exhausted my time budget. Maybe I'll figure it out some other time. 😅
¹ https://github.com/oantolin/org-ql/tree/fix-completion-in-rec-minibuffers