emacs.d ships no releases, pins its stable route to a branch, and gates byte-compilation on gptel
Fast and robust Emacs setup.
At a glance
- What is it?
- A complete Emacs configuration in Emacs Lisp, cloned or extracted into `~/.emacs.d`, with the package sources decided during the first startup and the test pipeline refusing to run unless an LLM chat client loads. Worth knowing before you adopt it: there is no tagged release to pin, the offline install instructions disagree with themselves about the path, and the maintained Emacs floor is 29 while the FAQ still carries sections for 23.
- Who is it for?
- emacs.d is a reasonable choice if you want a working configuration faster than you can assemble one, and if you accept that you are tracking a branch rather than a version. Four things to check before you commit.
- Can I use it commercially?
- Yes, with conditions. GPL-3.0 is a copyleft licence: if you distribute software that includes it, you must release that software's source code under the same licence. Running it internally without distributing it does not trigger that obligation.
- Is it still maintained?
- Yes. The repository received new commits within the last day.
- What is it written in?
- Mainly Emacs Lisp, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.
Star history
- redguardtoo/emacs.d2,486 ★ · +0
| Repository | 2026-09-30 | 2026-11-23 |
|---|---|---|
| redguardtoo/emacs.d | 2.5k | 2.5k |
0 Stars in the last 54 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
There is no tagged release, and the stable route ends at a moving branch
The repository publishes no GitHub releases; pin a Git commit if you need a reproducible source snapshot. Two routes are offered, each given as an archive download or a clone. The recommended one puts the current branch in place:
cd ~; git clone https://github.com/redguardtoo/emacs.d.git .emacs.dThe second route is described as the stable one, and it adds a branch reset on the end:
cd ~; git clone https://github.com/redguardtoo/emacs.d.git .emacs.d; cd .emacs.d; git reset --hard stable`stable` is a branch name, not a commit. Two people running that command on different days get different trees, and neither can name the version they ended up with. The only reproducible object in either route is the commit you record yourself immediately after cloning. Everything else about this setup, including the package list it installs, follows from which branch that commit belongs to.
The archive form has the same property in a quieter way, since `stable.zip` and `master.zip` are snapshots of moving branches with no version attached to either filename.
First startup can repoint your package archives at Chinese mirrors
One paragraph exists because the MELPA package repository was reported as unresponsive in China. When it fires, Emacs asks a yes or no question with the text Switch to faster package repositories in China temporarily?
The word temporarily in that prompt is the whole mechanism. Answering YES switches the archive list for that session, and the note then points you at the permanent version of the same change: edit the `package-archives` variable in `lisp/init-elpa.el` yourself. So the source your Lisp code is fetched from can be decided by a keystroke at first launch, in a dialog that appears once and then stops appearing.
This is worth thinking about deliberately rather than reflexively, because the package archives are the trust boundary of the whole configuration. Nothing about the setup checks signatures or pins package versions. A reader who answers YES to get past a slow startup has changed where their code comes from, and the difference between the temporary and permanent answers is one file edit that the same paragraph explains.
The byte-compile step requires gptel to load before it compiles anything
The build is a four target Makefile: `test` depends on `compile` and `spellcheck`, `compile` depends on `install`, and `install` depends on `clean`. Each stage runs Emacs in batch mode with `EMACS_BATCH_OPTS = --batch -Q --debug-init --eval "(setq my-disable-idle-timer t)"`. The `-Q` keeps your own init files out of the run, and `--debug-init` is there so a failure during startup is traceable.
The compile recipe begins by evaluating `(require 'gptel)` before loading `init.el` and `tests/my-byte-compile.el`. gptel is an LLM chat client for Emacs, and the byte-compile gate will not run without it, because the require is evaluated first and the file loads after. A compile error anywhere in the configuration is then caught by grepping the batch output for a message carrying a line number followed by Error or Warning, and the target exits non-zero when one matches.
So the test pipeline for an editor configuration has a hard dependency on an optional network-facing package. On a machine with no package cache and no network, that is where the build stops.
spellcheck pins the locale to en_US.UTF-8 and loads a vendored checker
The spell check stage overrides the locale for the run and pulls in a bundled checker from `site-lisp`. The recipe sets `LANG=en_US.UTF-8`, adds `site-lisp/wucuo` to the load path with `-L`, and loads both `site-lisp/wucuo/wucuo.el` and `tools/spellcheck.el`.
Two consequences sit in those three lines. The locale is fixed rather than inherited, so the run behaves the same regardless of your shell settings, which is what you want in a test. And the dictionary front end comes from `site-lisp`, a directory of vendored code that ships inside the repository rather than being fetched as a package.
That second point matters more than it looks. `site-lisp` is the one directory in the tree that holds code nobody chose to declare as a dependency, and the Makefile is the only place its path is named. A reader auditing this configuration for what will run at startup is looking at `init.el` and `lisp/`, and `site-lisp` is not on that path by default, even though the test suite loads from it.
make install installs nothing, and clean only clears two directories
The target named `install` runs `clean` and then starts Emacs in batch mode with `-l init.el`. Nothing is copied to a system location and no package is placed anywhere permanent. The target name describes the intent, which is to get your own configuration loaded and byte-compiled in place.
`clean` in turn removes editor backups and compiled files with `rm -rf *~`, `\#*\#`, `*.elc` and `lisp/*.elc`. That last pattern is a single directory. Compiled output under `site-lisp/`, `snippets/`, `tests/` and `tools/` is not matched, so stale `.elc` files outside `lisp/` survive a clean and can shadow the source you just edited.
The third target is the one that does touch your checkout. `make githooks` resolves the repository root with `git rev-parse --show-toplevel`, then symlinks the bundled script into place with `ln -s ../../githooks/pre-commit pre-commit`. It writes into `.git/hooks`, which means it modifies git state rather than configuration, and it will fail rather than replace anything already sitting at that name.
The offline install says ~/projs/myelpa and then writes ~/myelpa
The route for people with no network access is a five step list. Extract `stable.zip` into an empty `~/.emacs.d`. Download the author's separate `myelpa` stable archive and extract it somewhere, the instruction offering `~/projs/myelpa` as the example. Confirm that a file named `archive-contents` exists in that directory, since that file is what makes the folder look like a package archive. Uncomment the line containing `myelpa` in `lisp/init-elpa.el`. Start Emacs.
The path then changes mid-instruction. The step describing the config file says the path `~/myelpa/` could be modified, which is the value sitting in that line as written, while the worked example put the archive at `~/projs/myelpa`. The closing sentence confirms the shorter form: you are now using local package repository `~/myelpa`.
So the example directory and the default value disagree, and the distance between them is one missing directory level. Anyone following the steps literally ends up with an archive in one place and a configuration pointing at another. Switching back to `elpa.gnu.org` or `melpa.org` afterwards is a further edit to the same file.
Unstable MELPA packages are invisible, which reads as packages missing
One checklist item explains a package that will not install. Unstable packages from MELPA are invisible, while stable packages from MELPA Stable are visible, and the fix is to modify `melpa-include-packages` in `lisp/init-elpa.el`.
The inversion is the trap. MELPA is the archive most Emacs users reach for first and it is the one configured to hide its unstable packages, so a package that exists and is maintained upstream appears to be missing entirely rather than merely filtered. The symptom and the cause point in opposite directions, and the only route from one to the other is a variable in a specific file.
This is also the pattern across the whole configuration. The Windows dependency note is a filename choice between `emacs-29.1-x86_64.zip` and `emacs-29.1-x86_64-no-deps.zip`. The mirror switch is a variable in `lisp/init-elpa.el`. The offline route is a commented line in the same file. Three separate documented fixes point at one file, which is a reasonable thing to know before you start configuring.
The FAQ documents Emacs 23 onward while the checklist requires 29
The table of contents carries a section titled Support legacy Emacs versions, and under it there are seven subsections: Emacs 28, Emacs 27, Emacs 26, Emacs 25, Emacs 24.4 and 24.5, Emacs 24.3, and Emacs 23.
The checklist at the top of the same file says Emacs 29 or higher version is required, and the feature list says the setup is tested with Emacs 29.1 on Linux, Windows 10, macOS, MSYS2 and Cygwin.
Both statements are about the same file, and they point in opposite directions. Seven subsections of the documentation are devoted to versions that the stated requirement excludes. Either those sections are stale, or the floor is softer in practice than the checklist admits, and nothing in the README says which. A reader arriving with Emacs 26 has a page of apparently official instructions and a requirement notice that tells them to stop reading, and no way to tell from the document whether the instructions still hold.
The same pattern appears in the FAQ list itself, where entries like Cannot download packages, Network is blocked and Behind corporate firewall sit alongside the version sections, none of them carrying dates.
Editorial conclusion
emacs.d is a reasonable choice if you want a working configuration faster than you can assemble one, and if you accept that you are tracking a branch rather than a version. Four things to check before you commit. If reproducibility matters to you, capture the commit yourself right after cloning, because the stable route ends at `git reset --hard stable` and that branch moves under you. Read what happens on first startup, since a prompt can repoint your package archives at regional mirrors, and decide for yourself whether you want that. Expect to read the source of `lisp/init-elpa.el` rather than only editing variables through Customize, since three of the documented fixes are edits to that file. And do not expect `make test` to pass on a machine without network access, because the compile step requires gptel. If you need a pinned version, offline package control, or a build that does not depend on an optional package, this is not the configuration to start from.
Frequently asked questions
What is emacs.d?
It is a complete Emacs configuration written in Emacs Lisp, meant to be cloned or extracted into `~/.emacs.d`. The tree holds `init.el`, `early-init.el` and the `lisp/`, `site-lisp/`, `snippets/`, `tests/`, `tools/` and `githooks/` directories, and it requires Emacs 29 or higher.
How do I install emacs.d without network access?
Use the stable local repository route: extract `stable.zip` into an empty `~/.emacs.d`, extract the author's `myelpa` stable archive somewhere such as `~/projs/myelpa`, confirm an `archive-contents` file is present there, then uncomment the line containing myelpa in `lisp/init-elpa.el` and start Emacs.
Why are MELPA packages missing from emacs.d?
Unstable packages from MELPA are invisible by design, while packages from MELPA Stable are visible. To install the unstable ones you change `melpa-include-packages` in `lisp/init-elpa.el`.
Does emacs.d have tagged releases I can pin to?
No, the repository has no GitHub releases. The two documented routes are the current branch archive or a git clone, and the stable route ends with `git reset --hard stable`, which follows a branch rather than a fixed commit.
What does make compile do in emacs.d?
It runs `install` first, then starts Emacs in batch mode with `(require 'gptel)` evaluated before `init.el` and `tests/my-byte-compile.el` are loaded. The target exits non-zero if any error or warning carrying a line number appears in the output.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/redguardtoo-emacs-d)Star history chart for your README
[](https://hysenlabs.com/projects/redguardtoo-emacs-d)Was this useful?