.emacs.d
My personal Emacs config with any quirks, oddities, bugs, and man-eating errors I live with on a daily basis. (by jimeh)
lsp-mode
Emacs client/library for the Language Server Protocol (by emacs-lsp)
Our great sponsors
.emacs.d | lsp-mode | |
---|---|---|
26 | 118 | |
108 | 4,658 | |
- | 0.8% | |
8.5 | 9.3 | |
about 2 months ago | 7 days ago | |
Emacs Lisp | Emacs Lisp | |
- | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
.emacs.d
Posts with mentions or reviews of .emacs.d.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-09.
-
If you like Straight, you should try Elpaca
The second one is a little bit more complicated. For a number of packages I kind of abuse use-package/straight to separate out setup of different files/modes contained within the same package into their own use-package statement. Good example of this is my setup for helm. ) For example, after the normal (use-package helm …) statement, I have the below which configures helm-files related stuff, which comes from helm-for-files.el within the helm package:
-
Tmux sessions-like package for Emacs?
siren-tab-bar.el
-
New package yank-indent automatically sets correct indentation on yanked/pasted text
If anyone is curious of the hacky solution I used to have in my config, here is the comment where I initially replaced it with an earlier version of yank-indent.
-
Doom -> vanilla emacs 29
I’d like to throw my personal vanilla config into the hat as a point of reference/starting point/inspiration: https://github.com/jimeh/.emacs.d
-
We’ve all been there, right? …right?
Oldest commit: Aug 27, 2011
-
Emacs bankruptcy
My config uses/has use-package, straight.el, lsp, company, magit, tree-sitter, doom-themes, doom-modeline, vertico, marginalia, consult, treemacs, undo-fu, GitHub Copilot, projectile, vterm, smartparens, yasnippet, diff-hl, and more.
-
How to use Emacs 29 Tree-sitter?
I did a similar thing with yaml-mode highlight queries in my config before the highlights were merged in. You can see the relevant commit in my config here: https://github.com/jimeh/.emacs.d/commit/ebbdab36fb2a3d635d591cc3179b8f4ed9a476d0
-
How Can I Start the Daunting Task of Making my Own Config?
I'm two months in (without any programming experience) and I've gone through various re-writes (from a literate .org init to a modular setup akin to Emacs Prelude or Siren configurations. (See: https://github.com/jimeh/.emacs.d)
- jimeh's personal Emacs config
- .emacs.d/siren-ruby.el at 06bf89af61413aaf610e7a293306c01e330f3302 · jimeh/.emacs.d · GitHub
lsp-mode
Posts with mentions or reviews of lsp-mode.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-21.
- lsp-mode: Emacs client/library for the Language Server Protocol
-
lsp-keymap-prefix not working
I also tried to the solutions suggested ![here](https://github.com/emacs-lsp/lsp-mode/issues/1532) and ![here](https://github.com/emacs-lsp/lsp-mode/issues/1672), but nothing worked. I moved the (setq lsp-keymap-...) line outside (and before) use-package. I also used :config (define-key lsp-load-map...) in my use-package block. But none of them worked.
-
Help getting the yaml language server working with eglot
Not sure how much this might help, but lsp-mode has lsp-yaml-select-buffer-schema and lsp-yaml-set-buffer-schema commands to pick schema from a list or set from a URI. Checking the source of them might give some hints about how the same could be implemented in eglot?
-
What LaTeX setup do you use?
Beyond that you might as well embrace the suck and install autex with a language server: https://emacs-lsp.github.io/lsp-mode/
-
Emacs bankruptcy
Smart completion these days is done primarily through LSP. eglot is fairly minimal but built-in as of 29, also available via GNU Elpa. lsp-mode is another option with more integrations and a bit more fleshed out.
-
The bottom emoji breaks rust-analyzer
lsp-mode: https://github.com/emacs-lsp/lsp-mode/issues/2080
-
Setting up a fundraiser for multi-threaded Emacs, any thoughts on this?
Are you running emacs-29? It has numerous speed-ups compared to emacs-28 and older versions, many of them coded by Mattias Engdegård, e.g. commit def6fa4246. I have a fresh build of emacs-29 running on Linux and a new mac with an M1 CPU, and it's stupid fast. I don't use the native-comp feature. I rarely notice any hesitation or slowness. I don't use Elpy. I do use lsp mode.
-
Newbie here! Need Help!
Since you are doing code development, the first things to go for would be setting up your emacs packaging (installing use-package and melpa (use-package's documentation covers this) so you have more packages to choose from (do be careful to not just pick things willy nilly but research them a bit first)) and then setting up lsp-mode. lsp-mode lets you use LSP servers for the specific programming languages you work with in a somewhat unified fashion. You then need to install and setup the LSP servers for the languages you use, and possibly install language specific Emacs packages as support (note, Emacs has builtin functionality for many).
-
Emacs 29: Install Tree-Sitter parser modules with a minor mode
And first of all, I'm trying to understand, how is it connected to https://github.com/emacs-lsp/lsp-mode? I'm sure, that existed lsp implementations already parse source code. Why TreeSitter?
What are some alternatives?
When comparing .emacs.d and lsp-mode you can also consider the following projects:
projectile - Project Interaction Library for Emacs
eglot - A client for Language Server Protocol servers
dogears.el - Never lose your place in Emacs again
tide - Tide - TypeScript Interactive Development Environment for Emacs
tree-sitter-c-sharp - C# Grammar for tree-sitter
ctags - A maintained ctags implementation
diff-hl - Emacs package for highlighting uncommitted changes
ANTLR - ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files.
gumshoe
dap-mode - Emacs :heart: Debug Adapter Protocol
doom - Doom Emacs config
company-lsp - Company completion backend for lsp-mode