-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow searching different fields interactively #62
Comments
Hi Tyler, I agree that this would be useful but it would require major changes in the code and would lead to considerably increased memory consumption because all fields would need to be stored in memory. Currently, only the fields in It would be slightly easier to restrict the search to a subset of the fields in |
Is helm-bibtex-candidates regenerated for each search? If so, maybe we could provide a way to set different fields each time it is called. If it is not regenerated each search, it sounds like it will be very complicated to change, as you say. Thanks, Tyler |
Unfortunately it's not because that would be too slow for most bibliographies. The bibliography is parsed once and then cached in |
Ok, I see that now. I'm not familiar with helm sources, but I understand the constraints now. I can continue to use bibtex-search-entries when I need to restrict my searches to a single field. Maybe I'll think of a way to jump from helm-bibtex to bibtex-search-entries and back. If I do, I'll try and code something up. FYI, I have a few bibtex helper functions packaged up in bibtex-utils (on melpa and github). Nothing as complex as helm-bibtex though. |
Thanks for the link to your package. It looks very useful. |
For what it's worth, Ebib does have search filters for particular fields, though it's not as convenient as helm-bibtex for quick searches. Awhile ago I did look using an indexer, particularly one that could also search the text in PDFs or other files associated with the bibtex entry (I switched from Zotero a while ago and this is something I miss). I envisioned something like helm-recoll underneath helm-bibtex. It's not a big priority and I didn't have enough time to pursue it. But at least the idea is out there if anyone decides to try something. Helm-bibtex is already very useful. Thanks again Titus. |
As I understand it, helm-bibtex uses a fixed set of fields for every search, possibly extended by the value of helm-bibtex-additional-search-fields.
However, sometimes I want to search only a subset of fields: keywords but not titles, abstract only etc. Is it possible to provide multiple search options to the user? This is provided in
bibtex-mode
viaC-c C-a
, which prompts the user for which field the wish to search. This may be the only feature ofbibtex-mode
that is not replaced by a superior alternative inhelm-bibtex
.Thanks,
Tyler
The text was updated successfully, but these errors were encountered: