Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Customize initial input #130
Customize initial input #130
Changes from 5 commits
c9cab5a
fee6dd9
210fbb6
85dfd85
2e8bfb5
f14ec25
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This comment was marked as off-topic.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space is added in
bibtex-actions-read
, which see.As to the use case, I thought the idea is to just make it customizable anyways. It's Emacs, after all. 😄
For me, at least, there is actually a good use case: I use
bibtex-action-open-notes
with the fallback mechanism provided bybibtex-completion
, which creates a note file if there is none. So the initial input is useless, since for me,bibtex-action-open-notes
is supposed to open or create a note with one command (which is very handy, btw). Another use case would be the ability to define what "source" actually means (as discussed in #121 ).But TBH, I cannot imagine many more use cases right now. 🤷 So it's up to the maintainer!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops! I just hid the comment then.
Well, no; customization for the sake of it would be overkill.
But when there's need, that's another matter.
Ooh, that's actually one I care about too; I totally forgot about that!
This does raise a larger design question, which is what @apc and I were going back-and-forth on in #118.
We settled on the initial-input approach, because the goal was filtering, but to make it easy for the user to effectively turn off or modify the filtering mid-stream; in this case to delete the initial-input.
This is not only because of cases like this, but also because with embark, you may open your library with one action in mind, but change your mind, and so need access to a wider list of candidates.
So the big question: did we make the right decision? And if yes, is this the right addition to this?
I'm inclined to say yes on both counts, but curious what you and @apc think.
No, that's a good enough reason, per above.