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
i have various dictionaries specified in helm-dictionary-database and i'm interested in being able to choose which one of them to use when i run helm-dictionary. i'm mainly interested in this to speed it up. i have dicts for different languages but usually only want to search for a term in one of them at a time.
i'd also like to feed it a default input string, so i can call it from a function and provide the search term.
the dictionary arg seems to work right, though i'm not sure if thats the best way to do it?
and for now the query argument isn't respected by helm's :default. i then tried again without my new arg, and, at least for me, it also doesn't seem to use (thing-at-point 'word) either. helm-dictionary opens with no default input. am i missing something there?
The text was updated successfully, but these errors were encountered:
mooseyboots
changed the title
run with a single dictionary
run with a single dictionary and provide default search term
Mar 18, 2022
ah, i just saw #30. switching back to :default input to :input input in this case seems to work.
let binding helm-maybe-use-default-as-input from my caller function doesn't seem to work but maybe i can live with that.
now i wonder how i can hand helm-dictionary my query string surrounded by \b to narrow the search down, as concatenating converts the \b to ^H, which returns zero results.
i also asked helm about the use of :resume. it would be great if it would work without an input, as then the performance issue re loading lots of dictionaries each time would be solved, but alas, thierry says it can't be done.
works for me: when i'm viewing results in emacs-leo i can now instantly run helm-dictionary with just one dictionary enabled and search for the same term.
i have various dictionaries specified in
helm-dictionary-database
and i'm interested in being able to choose which one of them to use when i run helm-dictionary. i'm mainly interested in this to speed it up. i have dicts for different languages but usually only want to search for a term in one of them at a time.i'd also like to feed it a default input string, so i can call it from a function and provide the search term.
i came up with this:
then i call it like so:
the dictionary arg seems to work right, though i'm not sure if thats the best way to do it?
and for now the query argument isn't respected by helm's
:default
. i then tried again without my new arg, and, at least for me, it also doesn't seem to use(thing-at-point 'word)
either. helm-dictionary opens with no default input. am i missing something there?The text was updated successfully, but these errors were encountered: