Skip to content

Install Emacs via omarchy-emacs AUR package#5329

Open
scottjones wants to merge 1 commit intobasecamp:devfrom
scottjones:install-emacs-from-aur
Open

Install Emacs via omarchy-emacs AUR package#5329
scottjones wants to merge 1 commit intobasecamp:devfrom
scottjones:install-emacs-from-aur

Conversation

@scottjones
Copy link
Copy Markdown

Summary

  • Replaces the in-tree Emacs install with an install of the omarchy-emacs AUR package, mirroring the omarchy-nvim pattern.
  • One-line change in bin/omarchy-menu; no new files, no new dependencies in the Omarchy tree.

Context

This is a follow-up to #4807, where I originally proposed adding Emacs integration directly to Omarchy. @dhh, thank you for the feedback on that PR — your suggestion to package it as an AUR package (like omarchy-nvim) was exactly the right call, and working through it taught me a lot about Arch packaging conventions. Really appreciate it.

The integration now lives at:

The AUR package ships omarchy-install-emacs, which is the single entry point for installing emacs-wayland, running setup (themes, font-sync hook, color template), and enabling the user emacs.service — equivalent to what the current menu line does today.

Behavior

Before: install "Emacs" "emacs-wayland" && systemctl --user enable --now emacs.service
After: present_terminal "omarchy-pkg-aur-add omarchy-emacs && omarchy-install-emacs"

End-user experience is unchanged — Emacs installs, configures, and starts the daemon. The config/theme code just lives in the AUR package instead of Omarchy itself.

Test plan

  • Install via omarchy-pkg-aur-add omarchy-emacs && omarchy-install-emacs (the exact command the menu line invokes) succeeds
  • emacs-wayland is pulled in as a dependency of omarchy-emacs
  • emacs.service is enabled and running after install
  • Theme sync works (omarchy-theme-set → Emacs picks up new colors)
  • Font sync works (changing terminal font size updates Emacs)

🤖 Generated with Claude Code

Per @dhh's feedback on basecamp#4807, Emacs integration lives as an AUR
package instead of in-tree. The menu now installs omarchy-emacs
from the AUR, which brings in emacs-wayland as a dependency and
provides omarchy-install-emacs to handle setup and the user
systemd service — mirroring the omarchy-nvim pattern.

Behavior is preserved: Emacs installed, configured with Omarchy
theme/font integration, and the emacs.service user unit enabled.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 16, 2026 19:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants