-
Notifications
You must be signed in to change notification settings - Fork 54
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
Prefill e.g. "has: notes" for "citar-open-notes" #449
Comments
In the past, we had that, using basically a hack. But the hack itself was a problem, and there aren't any great, pain free, alternatives. So I removed it. Perhaps in the future we can revisit, depending on how the broader ecosystem of packages evolves. Do note that you can probably just type |
The other possibility is we could add a defcustom to pre-filter candidates. But the downside would be that one would not be able to back out of that and access the full bib list. So it would need to be nil by default. |
Does this mean that there exists no API to prefill that input field at the bottom of the screen? |
That makes sense. How about we have a variable that says "show only relevant stuff" for these specialized functions? For example, when I call |
Maybe I should start using |
Done.
In nobody uses the specialized functions (that do not even filter the items), perhaps we should remove them, as you suggested in the past. |
Do you use embark with citar? As oantolin has made the point, it's best not to think of this too rigidly, given all these commands are contextually available. All the command does in that context is define the default behavior (e.g. opening a note). So, for example, you can just choose whatever is your preferred entry point, and use that, and use You can also give that command an alias if you prefer, like If that strategy, it would likely make sense that it be a command that always needs the full candidate list; like Really, this UI is designed to work best with Emacs 28 and embark.
Yes. |
I tried Embark in the past, but never found myself using it, so I later removed it. Recently, though, I watched a video on Embark by System Crafters, and it made me want to try Embark again. Today, I installed and configured it, at last. So, starting today, I use |
I have a wiki page on embark configuration, that might give some other ideas. https://github.com/bdarcus/citar/wiki/Embark |
More often than not, when I run
citar-open-notes
, I typehas:notes
. Could this be set as the default input? From what I understand,citar-presets
almost does what I want but not really. I would like the default input prefilled for all specializedcitar-open
functions (exceptcitar-open-entry
, obviously). Or perhaps I have a bad idea?The text was updated successfully, but these errors were encountered: