You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if there were a way to quickly type certain queries in helm-org-ql.
For example, I maintain information on languages with each in one Org file and add language tag to them. Thus
tags:language level:1
in a helm-org-ql session (via this package) displays a list of languages I am interesed in, and I can narrow them down by name.
It would be convenient to define the above query as lang using abbrev-mode. It's composable, which means I won't have to define several ql-views containing the same query.
How can I enable abbrev-mode in helm-org-ql? Is it possible to define abbreviations specific to helm-org-ql?
The text was updated successfully, but these errors were encountered:
That sounds like a nice idea. I don't use abbrev-mode, so I can't offer much help with it. The Emacs manual makes it sound simple enough to use, since it's a buffer-local minor mode. I guess you can enable it in the minibuffer using one of the Helm hooks, but I'm not sure how minor modes work with regard to the minibuffer.
I have read the definition of helm-source class, and now I think a better way to implement the feature, i.e. custom query abbreviation, would be to set :pattern-transformer. I will try out the idea soon.
However, please consider whether the query abbreviation feature could be useful outside of the Helm source. Not that I'm opposed to that idea, but a more general solution could be useful in other contexts as well.
It would be nice if there were a way to quickly type certain queries in
helm-org-ql
.For example, I maintain information on languages with each in one Org file and add
language
tag to them. Thusin a
helm-org-ql
session (via this package) displays a list of languages I am interesed in, and I can narrow them down by name.It would be convenient to define the above query as
lang
usingabbrev-mode
. It's composable, which means I won't have to define several ql-views containing the same query.How can I enable
abbrev-mode
inhelm-org-ql
? Is it possible to define abbreviations specific tohelm-org-ql
?The text was updated successfully, but these errors were encountered: