cape
company-mode
cape | company-mode | |
---|---|---|
17 | 41 | |
543 | 2,158 | |
- | 0.5% | |
8.8 | 8.6 | |
25 days ago | 8 days ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cape
-
Why does elpaca make emacs startup so much faster?
Wow, interesting that my response is getting down voted. It seems not enough that I give away my work for free. Nevertheless I appreciate support from the community, as other Emacs package developers. The support is actually helpful. To clarify, publishing my configuration would translate into quite a bit of work, requiring separation of private and public bits.
-
Is there a package or something for code completion in org mode files for src blocks?
At least for Elisp source block one can use font locking to create a custom Capf. Add cape-elisp-block from my Cape package to completion-at-point-functions. Even if you don't want to use Cape you could just copy it to your config. It is a short function.
-
Corfu + Consult History?
You can use cape-history from my Cape package. This is similar to consult-history only utilizing completion-in-region instead of completing-read.
-
How to configure corfu for arbitrary orderless matching?
Haven't tried configuring it accordingly, but here's the docs: https://github.com/minad/cape
-
Emacs lags when making the auto completion pop-up with corfu
corfu is blazingly fast. Orderless is as well. What is not always blazingly fast is your completion providing backend. You didn't mention where your slow completions are coming from. An LSP server? Dabbrev? Maybe a remote machine? Have you combined results from various backends (e.g. using cape?). Some completions backends are unavoidably slow, others are just not well optimized.
-
Replacing strings with Unicode symbols.
The most straight forward solution is probably the package company-math. (that's what I use but with corfu and cape)
-
Emacs bankruptcy
Some time I'll add a mixin for Cape which would make the completion stuff really nice.
-
Simplest way to add strings to be used for autocompletion?
If you're set on using the completion system (M-TAB) for this, you could install Cape and use the cape-abbrev command to complete your abbrevs.
-
Like company-org-block, but for completion-at-point, corfu, and friends…
Oh, of course your efforts are valuable. I didn't mean to sound discouraging in any way. The point made by /u/xenodium is good - if you have a special candidate source with special behavior, it makes sense to provide a separate lightweight Capf. In contrast, using Tempel for this purpose doesn't make much use of the actual template functionality. Tempel is only a good fit for Org blocks if you use it already anyway, as I do. There is also value in having reference Capfs around, which will be helpful when developers create their own new completion functions. This was also the intention when I created my Cape package, which comes with many simple Capfs. It is always interesting to see what other Emacs users come up with. I am thankful for such efforts - it is inspiring!
- Sane company completion setup?
company-mode
-
LSP could have been better
I'm curious to know what `company` does differently here than `corfu`. As a longtime user I couldn't be happier.
https://company-mode.github.io/
-
C —> Guile is moving in the wrong direction: rather than going from a poor-but-performant systems programming language like C to a pedagogic language like Scheme, it’d be a better idea to move to an rich-and-performant language meant for industrial systems programming like Common Lisp
they wrote the first word and auto-completed the rest
-
Doom completion in vanilla emacs
For me, it's http://company-mode.github.io and maybe a touch of all-the-icons..
-
How can I get suggestions for filenames in python?
I'm not sure if I did anything special to enable it, but I'm pretty sure company-mode does this
-
Replacing packages with more "stripped down" packages
When I started using Emacs I was following the setup outlined by System Crafters, which I still think is a really good introduction. But, over the last few months I've started to replace packages with more "minimalist" or "stripped down" packages. I've switched from Ivy and Counsel to Vertico and Consult, and recently I switched from company to corfu for auto-completion.
-
Help a Linux kernel dev setup LSP
As for the Emacs configuration, you should only need a few lines of code, in order to get them up and running, if you are planning to keep your setup as close to vanilla as possible. If you are interested, you could additionally install a completion framework like company-mode to help you out.
-
Which is the best tool to enable extension in emacs?
As for auto-completion, there's a few different variants that people use. Auto-complete being one of them, but an alternative you might want to try is http://company-mode.github.io/
-
Auto-complete previews while typing w/ plug-able back-ends?
For the company-mode see Frontends.
- Let's share your top 3 packages that you can't live without.
-
What are some must-have packages for emacs?
Company is a classic, though corfu and cape, also by Daniel Mendler is really excellent.
What are some alternatives?
consult-yasnippet
corfu - :desert_island: corfu.el - COmpletion in Region FUnction
lsp-mode - Emacs client/library for the Language Server Protocol
helm - Emacs incremental completion and selection narrowing framework
emacs-bedrock - [Mirror] Stepping stones to a better Emacs experience
eglot - A client for Language Server Protocol servers
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
tempel - :classical_building: TempEl - Simple templates for Emacs
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
lean4-mode - Emacs major mode for Lean 4
posframe - Pop a posframe (just a child-frame) at point, posframe is a **GNU ELPA** package!