r/emacs • u/DevelopmentCool2449 • 3h ago
New refactor.el: code actions, rename and quickfixes, out of Eglot
lists.gnu.orgAn interesting package, that seems to be coming in emacs 32.1 (for those who are not subscribed to emacs-devel list).
r/emacs • u/AutoModerator • 10d ago
This is a thread for smaller, miscellaneous items that might not warrant a full post on their own.
The default sort is new to ensure that new items get attention.
If something gets upvoted and discussed a lot, consider following up with a post!
Search for previous "Tips, Tricks" Threads.
Fortnightly means once every two weeks. We will continue to monitor the mass of confusion resulting from dark corners of English.
r/emacs • u/DevelopmentCool2449 • 3h ago
An interesting package, that seems to be coming in emacs 32.1 (for those who are not subscribed to emacs-devel list).
Ghostel is a terminal emulator for Emacs powered by libghostty.
First released over half a year ago and since our latest Reddit post 3 months ago a lot has changed.
179 commits from 14 contributors added lots of new features and bugfixes.
To highlight a few new features that got added in the last 3 months:
Have a look at the documentation for all the features.
u/baokaola and I are happy to answer any questions.
r/emacs • u/AdeptPass4102 • 4h ago
I noticed that when I use the consult buffer and scroll down getting previews, if I get a preview of an epub, nov.el in creating the preview seems to write the output to other files in the consult buffer list, even files not in any open buffer just in the "recent" files section of the consult buffer . So I will end up with say an org file in that recent list that has all the epub expansion output in it. Or it does this to my bookmark file.
Can anyone explain to me what is happening here. I would greatly appreciate any help.
r/emacs • u/Fluid_Watercress9782 • 18h ago
Hi everyone.
I use Emacs on macOS Tahoe.
I'm currently using the build from Emacs for Mac OS X (https://emacsformacosx.com).
But there are many other builds out there, like emacs-plus from Homebrew and emacs-mac (Mitsuharu's port), so I was curious which one everyone else is using.
Also, if you don't mind, I'd love to hear which build you think works best on macOS.
r/emacs • u/birdhana • 18h ago
I’ve been working on a new package called org-slideboard, which has developed out of org-show by John Kitchin, part of scimax, which in turn was based on Sacha Chua’s presentation code. I’m planning to submit it to MELPA in a few weeks. I wanted to share it here to get some early feedback, bug reports, and suggestions from fellow Org-mode users.
org-slideboard shows an Org file as interactive slides directly inside Emacs. It is purpose-built for files written for Beamer export: Beamer columns, equations, tables, macros, and code blocks render properly while the content remains completely live and editable during the presentation.
(Tip: If you clone the repo, you can open demo.org and run M-x org-slideboard-start-slideshow to see a built-in presentation where each slide demonstrates the feature it describes!)
Since it's not on MELPA yet, you can try it via use-package with :vc, straight.el, or manual installation:
Code snippet
;; With Emacs 30+ using package-vc via use-package:
(use-package org-slideboard
:vc (:url "https://github.com/vikasrawal/org-slideboard")
:commands org-slideboard-start-slideshow)
;; Or with straight.el:
(use-package org-slideboard
:straight (:host github :repo "vikasrawal/org-slideboard")
:commands org-slideboard-start-slideshow)
I hope emacs/org-mode users would find it useful. Feel free to open issues on GitHub or leave feedback in the comments!
r/emacs • u/dawnstar_hu • 1d ago
I made this package to truely live in emacs, without sacrificing quality and speed. So far it's pretty awesome.
r/emacs • u/ovster94 • 3h ago
I created this plugin for Omarchy where you can see your org agenda at a glance, go directly to the task using emacsclient, start timers and use org-pomodoro. To set it up, your emacs needs to run in server-mode
Hope it is useful for you!
r/emacs • u/ObsidianChickenz • 1d ago
Looks like it's finally happening!
r/emacs • u/Careful_Worker1614 • 1d ago
Can anyone help me understand why point seems to not be being updated?
(defun mpvmacs--socket-filter (proc msg)
(when (buffer-live-p (process-buffer proc))
(with-current-buffer (process-buffer proc)
(save-excursion
;; Insert the text, advancing the process marker.
(goto-char (process-mark proc))
(insert msg)
(set-marker (process-mark proc) (point)))
(while (ignore-errors (mpvmacs--parse-json (json-read)) t))
(goto-char (process-mark proc)))))
Both json-read and goto-char should be changing point but every time the function is called it parses the whole buffer.
r/emacs • u/vfclists • 1d ago
I also want to setup org-protocol, but with EXWM.
According to the docs, from Emacs 29 onwards the Emacs installation configures org-protocol automatically, but does this hold for source builds?
I am going to switch to Gnome or XFCE temporarily to see what I can find.
r/emacs • u/sylas_main • 1d ago
Here are the things that I read about meow-mode
but I'm still hungry, and don't have enough resources to be comfortable with meow-mode powers and tricks.
Am I missing anything? any websites or blog posts or articles?
I get this error when trying to use dired in Emacs 31.1:
insert-directory: Wrong type argument: number-or-marker-p, //DIRED-OPTIONS//
I tried stepping through it in both 31.1 and 30.2 and the arguments look the same, so it wasn't something in my config that was passing garbage. To try to eliminate possible causes, I tried evaling the 30.2 version of insert-directory, but it depends on other functions in files.el, so I just loaded that and dired works. Since I haven't heard anyone else complaining about it, I'm guessing it's something unusual about my configuration, but I was wondering whether anyone else has seen this.
Abt 9 mins. And if you interested at new feature - Summary, please jump to 7:23.
Supertag turns Org headings into notes you can tag, link, query and read back as a stream. You write first; organizing happens later, on demand.
This walkthrough goes from the simplest thing (one tagged note) to themore involved ones (streams, query blocks, a generated panel). Everything on screen is real input in a plain Emacs, with the keys and commands shown in the mode line.
Chapters
0:00 Intro
0:51 Nest a tag
1:46 Connect notes with links
2:20 Promote a word to its own note
2:56 Unlinked mentions
3:38 Similar notes
4:12 Properties, with hints and completion
4:52 Streams and substreams
6:18 Query blocks
7:23 A summary panel for a tag
8:41 Why a stream
8:54 Install
r/emacs • u/laidbackandrelax • 1d ago
2-file config (early-init.el + init.el), no frameworks. Vertico/Consult/Embark, Corfu/Cape, Eglot + Flymake, Tree-sitter auto-install, Dirvish/Magit, AUCTeX/latexmk, XLSX via python/openpyxl, large-PDF perf toggles. M-x my/config-health verifies the setup. Feedback welcome: link
r/emacs • u/vfclists • 1d ago
I added ido-vertical-mode to my configuration years ago because why not, but installed helm and ivy which seemed to take over most of my completion, because a lot of keys were bound to them and helm-mode was set automatically in my configuration.
If a key which calls some emacs function say C-x k is not present in the key maps of ivy, helm etc, will they automatically default to using ido-vertical-mode?
My mode settings are:
vertico-mode t
ido-vertical-mode t
helm-mode nil (after switching to Emacs 29+)
ivy-mode nil
I guess the question I want to ask is if a key is not bound to a completion system's version of the command, eg helm-descbinds or ivy-descbinds, will that completion system automatically takeover the completion for that command if its mode is active, or will Emacs use whatever it considers the default?
I realize that some of my completion screens look odd, with options displayed both vertically and horizontally, which can be confusing.
E.g the command C-h k for killing a buffer looks odd compared to the Helm dialogs.
r/emacs • u/Signal_Pattern_2063 • 2d ago
This was mostly whimsical but over the weekend I was looking at the matrix text waterfall screensavers and thought it was a fun palette. I'm all in with modus based themes at the moment and I couldn't find one that matched what I was looking for so I put together my own. (Part of what I like about modus is that its relatively easy to do so and make it just work) The theme is mostly restrained with a few emphasis tones in the blue/indigo range but I've found it surprisingly legible so I might use it after the novelty wears off. Link to it is at: https://github.com/benleis1/emacs-init/blob/main/lisp/modus-vivendi-matrix-theme.el
r/emacs • u/bradmont • 2d ago
This is a super simple package that just moves your mode-line to the top of your window, copying it to header-line. Pictured using moody and spacious-padding-mode.
https://github.com/bradmont/header-modeline/blob/main/README.md
r/emacs • u/xenodium • 2d ago
A new post outlining the latest highlights https://xenodium.com/agent-shell-0-87-updates
r/emacs • u/godblessfq • 2d ago
I use emacs on boox eink reader, the randowm colored character background makes the char unrecognizable on an eink display. I have tried compile emacs with lucid kit, but problem remains:
system-configuration-features value is
"ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XIM XINERAMA XINPUT2 XPM XRANDR LUCID ZLIB"
A screenshot:

Sorry english is not my native language. I have to be more verbose here. In the above screenshot, the colored space is not the cursor, it is not syntax related, it is just one random char that has a background, the char does not need to be a space, it can be any character, it can appear randomly anywhere in the buffer. I have been using emacs for years, it seems always happens, until I tried the eink display, the colored char is invisible.
I tried to compile emacs without cairo and harfbuzz, system-configuration-features is
"ACL DBUS FREETYPE GIF GLIB GMP GNUTLS JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XFT XIM XINERAMA XINPUT2 XPM XRANDR LUCID ZLIB"
Still have this problem.
redraw-display does not clear the artifact.
r/emacs • u/Kinneyzhang • 3d ago
Hi r/emacs,
For a while now I've been building ETAF, a framework for building complete text applications inside Emacs, and a whole ecosystem of programs on top of it. Everything is open source under one GitHub org: https://github.com/emacs-taf

ETAF renders a retained component tree into buffer text, with a real layout engine underneath, CSS-like styling and reactive state. Incremental updates keep interaction cheap.





Each game is its own repository, built on etaf-gamekit:


There is also a reference manual for the core packages, in English and Chinese: https://github.com/emacs-taf/etaf-manual
Requires Emacs 29.1+. Feedback, questions and bug reports are very welcome.
r/emacs • u/vfclists • 2d ago
Take this set of extensions to trigger yaml-mode
:mode ("\\.yml\\'" . yaml-mode)
:mode ("\\.yaml\\'" . yaml-mode)
Is something like this possible
:mode ('("\\.yml\\'" "\\.yaml\\'") . yaml-mode)
i.e pass a list of extensions, rather than a single extension?
Would that require some kind of macro?
r/emacs • u/mindstormer12 • 2d ago
Disclaimer: not a programmer.
fd --max-depth 1 .el$ ~/.config/emacs ~/.config/emacs/elisp. I believe consult-fd and consult-fd-args are relevant here but I have not been able to get anything working nor can I find straightforward examples of pre-defined searches for consult-fd as examples to tweak from. I'm sure find-file can be used to load files to the buffer list for my purposes but I'd still prefer to interface with the familiar CLI tool fd that I already use in the command line and I don't want to load the buffers in advance. This is a basic example--I'd like this working solution to be able to tweak for more complex pre-defined searches.consult-org-refile.There's consult-org-agenda as mentioned by fuzzbomb23. Any other tips for general useful custom consult functions is much appreciated, especially for org-mode (I use Emacs exclusively for org-mode).
r/emacs • u/jamescherti • 3d ago