Comments (3)
I see. If it's not the goal to be as independent as possible, it makes sense, of course, to rely on orderless
or prescient.
I guess what motivated my comment was that I really like the idea of relying solely on completing read, which is also why I like selectrum and friends. It sounds so pure and modular. And it would be cool if orderless would be added to emacs, that would definitely solve that aspect of the issue the most elegant way.
from citar.
Let me just start high level, and see WYT.
Assuming that one goal of that package is to provide completion with as little requirements as possible, it makes sense to remove that functional dependency.
It's not really a goal to work well with vanilla completion. The UI isn't really designed for that.
Keep in mind early iterations of this work (by @mtreca) started with dependencies on selectrum, consult, marginalia AND embark, with the initial idea this would basically be selectrum-bibtex
.
But at Daniel's suggestion, we slowly stripped those away.
I do say this in the README:
For bibtex-actions to work correctly, and as you may have come to expect in helm-bibtex or ivy-bibtex, you need to install and configure either prescient or orderless.
Do you not think that's a reasonable position to take?
Keep in mind, this ecosystem is not static; there's been talk recently of adding orderless to core emacs, and this seems likely to happen.
Now ... aside from that general point, more elegant and flexible code is a good thing. I just don't want to pay for wider support with more complexity.
But your proposed examples do look good! Just need to settle how that fits with my point above.
from citar.
I mean, it already is awfully modular; selectrum
, vertico
, and icomplete-vertical
are all viable completion package options, and there may well be others.
And embark
is very useful, but purely optional.
But the requirement the initial solution was solving was an important one, and this is simplest solution that worked, and provided user flexibility.
I should probably confirm that initial value solution works with prescient though :-)
from citar.
Related Issues (20)
- can't act on `embark-export` result s HOT 1
- Preload cache in the background HOT 8
- Expand test coverage, integrate into CI
- Using `nerd-icons` for `citar-symbols` leads to use of default values (`F`, `N`, `L`) instead HOT 2
- embark-define-keymap has been removed HOT 5
- when selecting multiple references, keep the current filter HOT 2
- Discrepancies in citation format when using `citar-insert-reference` HOT 7
- add an "other window'/"other frame" option for opening notes HOT 1
- prefixes and suffixes in `citar-markdown-insert-citation` HOT 6
- Only citation key being used for narrowing results HOT 6
- Request for Nerd Icons Integration in Citar HOT 4
- Error with inserting citation in LaTeX file: "No such file or directory tex-site" HOT 8
- Feature request: Integration with Zotra HOT 3
- Custom `C-i` bindings do not play well with `citar-open` and `RET` HOT 9
- Feature request: `citar-open-files-or-links` HOT 4
- Customizable `citar-add-file-to-library` HOT 3
- Display transform function for full names HOT 15
- Alignment doesn't work with star in template HOT 1
- Misaligned completion suggestions with company mode HOT 2
- citar--format-candidates docstring confusion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citar.