esup
cape
esup | cape | |
---|---|---|
9 | 17 | |
394 | 548 | |
- | - | |
1.8 | 8.8 | |
over 2 years ago | about 1 month ago | |
Emacs Lisp | Emacs Lisp | |
- | 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.
esup
-
Why does elpaca make emacs startup so much faster?
Probably the best way to figure out what's going on at startup time is ESUP (Emacs Start Up Profiler): https://github.com/jschaf/esup You could run it on the old config and the new. Although I suppose the processes may be different enough that there's nothing meaningful to compare.
-
[Emacs] A full fledge configuration
I agree with you. For startup profiling, use-package-report and https://github.com/jschaf/esup can help too.
-
An easy trick I found to improve Emacs start-up time
A very useful tool for achieving faster startup is esup (https://github.com/jschaf/esup) which times each code block that runs in the emacs startup.
-
Slow emacs startup only on work laptop
Have you tried running M-x esup with https://github.com/jschaf/esup to see what is taking up the start-up time?
-
Zee: A modern text editor for the terminal written in Rust
Are you on Emacs 28? Native-comp is enabled by default and it's Just Worked™ for me. Or are you on at least Emacs 27? Emacs 27 added native JSON parsing; stuff like lsp-mode works a lot better now.
(Personally running Emacs 29 built from source on an M1 Pro; everything is instant! Even on my old dumpy i5 machine, everything except startup was pretty snappy, with the exception of startup which took ~4 seconds.)
If it's startup you're concerned about, try the esup[1] package to figure out what's taking so long.
[1]: https://github.com/jschaf/esup
-
Emacs taking a lot of time to load
If you're really interested what happens on startup, you can play around with the startup profiler( https://github.com/jschaf/esup ) or similar packages that time the execution of your .emacs.
-
Do any of you have some tips on speeding up emacs:
I used the Emacs Startup Profiler (ESUP) https://github.com/jschaf/esup which identified several culprits in my init files. Removing or deferring the loading of those packages took my startup time from ~15 seconds to about 2.5 seconds. (Still room for improvement!)
-
What is your startup time
GitHub - jschaf/esup: ESUP - Emacs Start Up Profiler
-
How to diagnose slow emacs at run-time.
Try out esup
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?
What are some alternatives?
emacs-from-scratch - An example of a fully custom Emacs configuration developed live on YouTube!
consult-yasnippet
.emacs.d - My current Emacs setup.
lsp-mode - Emacs client/library for the Language Server Protocol
jinx - 🪄 Enchanted Spell Checker
emacs-bedrock - [Mirror] Stepping stones to a better Emacs experience
zee - A modern text editor for the terminal written in Rust [Moved to: https://github.com/zee-editor/zee]
corfu - :desert_island: corfu.el - COmpletion in Region FUnction
digga - A flake utility library to craft shell-, home-, and hosts- environments.
tempel - :classical_building: TempEl - Simple templates for Emacs
config
lean4-mode - Emacs major mode for Lean 4