consult
| consult | consult-projectile | |
|---|---|---|
| 94 | 4 | |
| 1,612 | - | |
| 1.4% | - | |
| 9.1 | - | |
| 3 days ago | - | |
| 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.
consult
-
Show HN: A 'Choose Your Own Adventure' Written in Emacs Org Mode
Install the latest emacs release and you will be able to do `M-x eglot` – this by default knows about language servers for many programming languages, so if you e.g. do this while in a C++ file in some project, it will start clang or ccls (whatever's in PATH); the language server will then be active for all files in that project and you can use `M-.` (xref-find-definitions), `M-,` (xref-go-back), `M-?` (xref-find-references). Try also `M-x eglot-code-actions` on a symbol to see all available actions (renaming, add imports, refactoring etc.; what you get here depends on the language server).
I also use this plugin https://github.com/minad/consult which has the command `consult-ripgrep`, very useful for e.g. looking up all occurrences of the symbol at point (and text navigation across multiple files).
For "AI", start with https://github.com/karthink/gptel/ (its README lists alternative packages, as you can see there is no lack of llm support in emacs)
-
EmacsConf 2024 Notes
It’s very hard to describe without a visual but the gist of it is that the combination of the following 3 packages make it possible dynamically create queries, refine the results to precisely what you want, and then either perform some action on them or just plop them into a buffer for later use. There’s some notion of a type of the result, which means that the actions and results can be richer than just plaintext. Ie: you can imagine a query over a list of commits, where it displays while you’re searching as only the commit shortrev and subject, but where you can viably define a filter on the commit date or commit author. You can then export that list to a temporary buffer, and pressing enter on any given commit will show you the full diff and the full commit message.
https://github.com/minad/consult/
https://github.com/oantolin/orderless/
https://github.com/oantolin/embark/
-
Greppability is an underrated code metric
That's fair, I see many examples in this thread where people, like you, pass an exact string directly to grep. I'm an avid grepper, but my grep tool [1] translates spaces to ".*?", so I would just type "func lart(" in that example and it would work.
[1] https://github.com/minad/consult/blob/screenshots/consult-li...
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
BTW, as an alternative to swiper, you can check out consult-line and related commands from consult.
-
Project grep search with folded results, navigable file preview, search term and results window retention?
Consult is what you are looking for: https://github.com/minad/consult In particular try consult-ripgrep
-
Emacs 29.1 Released
Emacs has code peek.
With lsp-mode it has that little window: https://emacs-lsp.github.io/lsp-ui/#lsp-ui-peek
Personally I use eglot with consult which temporarily switches the entire buffer to do the "peek" functionality rather than popping up a tiny window: https://github.com/minad/consult
-
Highlight multiple lines in consult-line
Thanks for working on this! I just added a consult--maybe-recenter function in a recent commit. This is a nice idea since it can reduce the jumpiness of Consult preview quite a bit.
-
Returning emacs user - what packages are common now?
An example relevant to your list would be some changes many people are taking with their completion framework - using package that leverage core emacs functionality rather than replacing it with a complete package that 'overrides' it. Consult, vertico, orderless and associate packages come to mind here. If you do a bit of a search you'll find plenty of info. Here is a video from Prot on the subject, but there are many others as well. I think Prot actually went on to write his own completion system to overlay native emacs functionality as well.
-
What's that email client doing here?
For the "lauch workspaces", I use burly which just uses simple bookmarks. Then with consult, I just use C-x b, then m to narrow to bookmarks and I have all the workspaces available (remote as well).
- What is wrong with this face definition??? (error "Invalid face" bookmark-menu-heading)
consult-projectile
-
Consult-project - consult extension for project.el
⚠️ NOTE: This package has come to life adapting the great package consult-projectile by OlMon. Most if not all credit should go to him, I have been using his package for months now. What inspired me to create this package is my recent effort to avoid most third party packages, specially if they prefer a newly defined interface over the built-in Emacs interface.
- consult-projectile : Projectile integration for consult
-
[ANN] consult-projectile - Consult integration for projectile
I added a few comments regarding the code at https://gitlab.com/OlMon/consult-projectile/-/issues/1.
What are some alternatives?
swiper - Ivy - a generic completion frontend for Emacs, Swiper - isearch with an overview, and more. Oh, man!
tab-bar-echo-area - Emacs: Display tab names of the tab bar in the echo area
helm - Emacs incremental completion and selection narrowing framework
emacs-workspaces - [Moved to: https://github.com/mclear-tools/tabspaces]
vertico - :dizzy: vertico.el - VERTical Interactive COmpletion
project-tab-groups - Emacs: Support a "one tab group per project" workflow