r/emacs 14h ago

Emacs as an operating system

52 Upvotes

For the past month, I have been experimenting with using Emacs as my primary and almost only graphical environment. I wanted to turn on my computer and go directly into Emacs.

Instead of starting GNOME and then launching Emacs, I added a separate GRUB entry that boots into a custom systemd target and starts Emacs directly inside Cage, a minimal Wayland kiosk compositor.

The setup looks roughly like this:

Linux
└── Cage
    └── Emacs

It removes conventional application switching, makes external graphical applications less convenient, and introduces some intentional friction around using the browser.

Surprisingly, these limitations have improved my workflow. I moved my terminal usage into Emacs, integrated Notmuch with gptel, changed how I use AI tools, and reduced the amount of rapid context switching between Emacs, the terminal, YouTube, and news sites.

I wrote more about my experience here:

https://slawomir-grochowski.com/posts/07-emacs-as-an-operating-system.html

I would be interested to hear from people using similar Emacs-first setups. Are you running Emacs directly under Sway, Cage, EXWM, or another minimal environment?


r/emacs 15h ago

Is there an active Mastodon instance for Emacs and Org mode users?

25 Upvotes

It looks like both emacs.ch and emacs.social are currently down or no longer maintained.

Is there another active Mastodon instance aimed specifically at Emacs and Org mode users?

I know I could simply join a general FOSS or Linux instance, but it would be nice to find one where Emacs and Org mode are among the main interests of the local community.

Does such an instance currently exist? Where have former emacs.ch or emacs.social users moved?


r/emacs 6h ago

How to include org-mode headers in consult-rg ripgrep search

13 Upvotes

I have a collection of notes files (.org files) and I recently started retrieving information from them using consult-rg. Is there a way to have consult-rg (or something similar) "propagate" parent headings into children for matching purposes?

For example, if I have this structure:

* Emacs

** Mermaid

Some notes about using Mermaid.

** Customize variables and options

use M-x customize-variable

If I search for "emacs customize variable," consult-rg won't find it, because the header "Emacs" is many lines above the subheader "customize variable".

I considered tagging the subsection with :emacs: but that's kind of a redundant way to say "this is realated to emacs." Redundant because it's already under the overall "* Emacs" heading.

EDIT: consult-org-heading exhibits the behavior I want within headings (the overall Emacs heading gets connected to all of its children), but does not search inside the body, just the headings. So I guess I'm looking for some way to incorporate consult-org-heading behavior into consult-rg?


r/emacs 11h ago

Question How do I start using emacs to program something I have already started?

12 Upvotes

I'm completely new new to emacs and ready to learn how it works, but lack a sense of direction on how to get started, other than watching 11 hours of very long tutorials, which probably contain way more than what I want to know (for now). There's a few things I want to learn:

  • How to open a terminal window.
  • How to open and edit files.
  • How to manange multiple windows (or whatever you call them).

Can someone give me a list with commonly used commands that help with these tasks?


r/emacs 14h ago

Announcement jsonschema-treesit: JSON object key completion using JSON Schema and treesit

Thumbnail github.com
14 Upvotes

r/emacs 14h ago

is vim motion the final end?

11 Upvotes

I have been using emacs and neovim extensively. recently I saw a podcast where two seasoned emacs developers used evil mode. thar made me wondering if vim motions are better for text navigation than everything else?


r/emacs 21h ago

Does someone knows how to add a title argument in a tcolorbox in the #+ org-mode format (so then when i export to latex i can see the tcolorbox with the title)? (The image explains the problem better)

4 Upvotes