.emacs.d
My personal emacs settings, and the ones used in @emacsrocks (by magnars)
configuration
My configs: OS setups, dotfiles, scripts and more. (by cadadr)
Our great sponsors
.emacs.d | configuration | |
---|---|---|
19 | 10 | |
1,382 | 26 | |
- | - | |
5.2 | 8.8 | |
about 1 month ago | 3 months ago | |
Emacs Lisp | Emacs Lisp | |
- | GNU General Public License v3.0 or later |
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 2024-04-27.
-
Any fun ways to learn Emacs?
After a month or so, if you're still curious, try https://emacsrocks.com/
17 small length video tutorials of great quality (as informative as fun)
-
interested in emacs as a whole, but have no idea what it can really do
https://emacsrocks.com has lots of quick/digestable demos. This one is a favourite https://emacsrocks.com/e13.html (the ending is great, stick with it).
- magnars' Emacs Config used in emacsrocks.com
-
Emacs User Survey – 2022 Results
If anyone's looking for short demos, the https://emacsrocks.com shorts are great. My all-time favorite is https://emacsrocks.com/e13.html (well worth watching the ending).
-
SWEs - how do yall effectively take notes on the job?
Emacs Rocks! - A bunch of cool short videos that showcase cool tips and tricks.
- Eglot has landed on master: Emacs now has a built-in LSP client
-
Packages that make Emacs Lisp more pleasant
We will mainly look at 3 packages: s.el, f.el and dash.el. Two of these packages (first and last) are maintained by Magnar Sveen, who are also known for Emacs Rocks and What The .emacs.d (which are still great resources for learning and finding inspiration for your Emacs configuration!). We will also look at ht.el. These packages are used a lot in many of the Emacs packages you use in a day to day basis, like lsp-mode and rustic just to name a few. As most of these already have tons of examples in their READMEs, my main goal of this article is to inspire you to check them out. Hopefully you will know of one new package after reading this article :)
-
Nano master race
Emacs Rocks!
- Vivado editor alternatives
-
Can't learn emacs, can't use anything else (rant)
Maybe you've seen them already but there's also http://emacsrocks.com/ videos, emacsconf too
configuration
Posts with mentions or reviews of configuration.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-20.
-
Use a reference manager, friends
FWIW I have this little Perl script that fetches BibTeX from doi.org for DOI numbers: https://github.com/cadadr/configuration/blob/76466b1342aaadfddf3453ab70ada4a15e82afbb/bin/doi2bib.pl I searched a lot for a way to make something similar for ISBN -> BibTeX to no avail...
-
LaTeX - Why do we use it?
If you're writing LaTeX without using any supporting software, it will be harder. But there are some things that you can use to make life way easier. One of these is the concept of "snippets". In Emacs I use something called yasnippet, and it works like this: I define a snippet like this or even something more elaborate like this. They have "trigger words". E.g. for the second one, I type "report" in a file and hit TAB. It inserts all that "snippet" to the file, and I can edit parts marked as $1, $2 and similar, jumping between them using TAB. I use this with Org mode, which is like Markdown, so it's not much different from typing into Word, essentially. There's some initial work figuring out how to do something like a syntax tree or say an equation, but once you figure a pattern out you can make it into a template using snippets and it's easier than Word once you have that.
-
Org Agenda Auto Updating
There are some examples in my init.el, you can find them if you search for :after.
-
Dir/file local variable hell, how do you cook them?
The way I do python is, I've a proxy shell script which I set as the python interpreter in Emacs.
-
Long-Time Emacs User Looking to Level-Up (note-taking for classes)
One particular thing I can suggest for equations is dynamic latex equation previews, which toggles TeX source when the cursor is on an equation but when it goes out of it it toggles a rendered preview. See this and this, adapted from this).
-
Doom has dropped support for Emacs 26.1 (Debian stable). Suggestions on what to do next?
Wrt LSP specifically, I only use it with python and the whole config is this couple lines plus this hook. IDK how lsp-mode is configured but this works fairly well for me, and actual Python config is a bit more cumbersome (because Microsoft comes up with a new Python LSP package every other day and you can't know which one to deal with...). It hooks into Emacs' complete-symbol (i.e. C-M-i), so if company or whatever (sorry, I don't really know those packages well, there was auto-something too but IDK which one is better or recommended these days) does use that mechanism as a backend, it should work seamlessly. I've made these little bindings to quickly pick a completion from the *Completions* window (gk-interactively is just a macro that expands to (lambda () ). Again, eglot hooks into Emacs' completion mechanism, so I'd risk a guess that helm or ivy would just work with that. Personally I don't like these completion frameworks because again they look to me like they are somewhat useful but not enough to warrant their complexity. I like good old completing-read, with some modern configuration (and BTW the UI Semantics section that bit is in in my init.el contains a lot of what you could call "saner defaults"). Notably they've added some very neat structural and fuzzy matching abilities starting with 25.1 IIRC and I don't even feel the need to turn ido on when those features are enabled.
-
What is the most useful part of your Emacs config?
I have a little project system that I use a lot and is a life saver: https://github.com/cadadr/configuration/tree/3e11ef25344188cc55b16f314c3c5358ace8a266/emacs.d/init.el#L1249 It's simple but it's very helpful. I like to have a project command view with dired at root on the left and magit or vc.el on the right, and I can go back to that view with a single command, gk-home, bound to the Home key. Popping a shell at bottom like yakuake with a single keybinding to gk-pop-shell is very useful too. I use frame parameters to tie projects up with frames so these two functions know what to do in each project frame. Titles are set up such that it's easy to find a particular frame with something like Rofi.
-
Linux helpful?
Depends on what you want to do. Linux is a more welcoming environment for programmers and an OS-level package manager is very helpful. I have one big repo for all my configs, and if my computer failed today I can get up and running on anything else in a couple hours, typing a few commands only. With Windows it's always a manual process and takes longer. And sometimes Windows makes some programmers' tasks too hard, like setting environment variables, etc. And more advanced things like scripting, virtualisation, containers, etc. are generally easier to do in Linux.
-
RFC: theme emacs with a 6-color palette with semantics theming
E.g. a very important detail IMHO is the active vs. inactive modelines. In your light theme they are virtually the same, so you need to chase the cursor to find the active window. The first thing I modify in themes I use is to make modeline colours such that inactive one is faded but still legible, and active modeline really stands out: https://github.com/cadadr/configuration/blob/bf8b87c36dbab85d1ec35f3c9aa6f7d3c5e1f347/emacs.d/init.el#L5842 In general if you're not limited by a palette it's easier to adjust everything perfectly.
What are some alternatives?
When comparing .emacs.d and configuration you can also consider the following projects:
consult - :mag: consult.el - Consulting completing-read
org-pomodoro - pomodoro technique for org-mode
meow - Yet another modal editing on Emacs / 猫态编辑
dot-doom - My Doom Emacs config files. Mirrored from https://gitlab.com/zzamboni/dot-doom
expand-region.el - Emacs extension to increase selected region by semantic units.
pdf-tools - Emacs support library for PDF files.
dap-mode - Emacs :heart: Debug Adapter Protocol
git-auto-commit-mode - Automatically commit to git after each save
link-hint.el - Pentadactyl-like Link Hinting in Emacs with Avy
org-sidebar - A helpful sidebar for Org mode
org-download - Drag and drop images to Emacs org-mode
.emacs.d vs consult
configuration vs org-pomodoro
.emacs.d vs meow
configuration vs dot-doom
.emacs.d vs expand-region.el
configuration vs pdf-tools
.emacs.d vs dap-mode
configuration vs git-auto-commit-mode
.emacs.d vs link-hint.el
configuration vs org-sidebar
.emacs.d vs org-download
configuration vs org-download