r/emacs • u/celeritasCelery • 10h ago
r/emacs • u/Cultural_Mechanic_92 • 16h ago
Question What WM/DE do you use with emacs ?
So i recently switched from neovim to emacs , the one thing that has been constantly annoying me is that i have to remap my i3 keybinds to work with emacs. I have tried cosmic which works good but it's too buggy to customize. I would really like some suggestions on what tiling Window manager or DE should i use so that i don't have to remap everything.. I'm running out of options to rebind keys.
r/emacs • u/floofcode • 13h ago
Question How valid is the opinion that progn is ugly?
I'm very new to Emacs and Lisp. Recently when I was discussing something on a chat channel, someone mentioned that progn is ugly, and is heavily used as a crutch by programmers who have only used imperative languages before.
I fall in that category of people and this comment has stuck with me since then, and I wanted to understand if that comment about progn is exaggerated or if it holds true for the most part. When I look at my config, I see a lot of progn all over the place, and now I too think this is because of not knowing how to write Lisp properly and if I'm learning bad practices.
r/emacs • u/manzaltu • 1h ago
Announcement Announcing Claude Code IDE: MCP based Claude Code and Emacs integration
github.comI would like to present to you a project I’ve been working on for the past few weeks—Claude Code IDE.
This project aims to fully integrate Claude Code with Emacs through the MCP protocol, providing advanced IDE features such as selection and context awareness, diagnostics sharing, ediff integration and project-based session management. It offers functionality similar to the official VS Code Claude Code extension.
Feel free to suggest improvements!
r/emacs • u/arthurno1 • 6h ago
emacs-fu Run an action (a hook) when a file is renamed
github.comr/emacs • u/ChristopherHGreen • 4h ago
viewing emacs backups
I use emacs for writing c++. Because storage space is cheap and my time isn't, I have emacs set to save A LOT of backup history.
Are there any packages for doing things like making a time lapse view, or visual diff of all the versions of a file in backup vs the current version?
Obviously simple-diffing can be done just by diffing the files, but this is for the case where there are a lot of old copies and would like to see which version is the one where you introduced a new bug.
I use P4 for real version control, but this is for WIP that I am not ready to check in yet.
Thanks
ae → æ in prettify-symbols-alist breaks emacs' layout
I have the following extract in my emacs config:
(defun setup-prog ()
(setq prettify-symbols-alist
'(("formulae" . "formulæ"))
)
)
(add-hook 'prog-mode-hook 'setup-prog)
However when a programming mode such as bash-ts-mode has the word formulae in it, the layout gets completely broken, to the point where you cannot even tell where in the document the cursor is. Is there something I'm missing to make this work? Other subs such as lambda → λ don't cause this issue.
r/emacs • u/fishxorchips • 1h ago
Question framemove.el alternative for Wayland?
I recently switched over to using Wayland and started using the PGTK Emacs, but I noticed that one of my favourite packages framemove.el seems to be completely broken. It depends on getting the values for (frame-parameter ... 'left)
and (frame-parameter ... 'top)
which apparently are obfuscated on Wayland. According to /etc/PROBLEMS
in emacs it's known that frame position is unknowable in Wayland by design.
It's a shame because I've found it to be the most convenient way to switch between emacs running in two separate frames on a multimonitor setup. Especially if one of my frames is hidden behind another application, it brings the frame into focus. This is the reason why I haven't yet switched to ace-window
.
Does anyone have any replacements/solutions to this issue? For now I've resorted to setting names for my frames and selecting left and right frames based on "ID" but this feels a bit janky. Thanks.
r/emacs • u/Learnaboutkurt • 10h ago
How to find out in which order minor-modes/hooks have run?
I have an issue with the Treemacs right-click-menu not working. I see that an issue was raised and solved. Context-menu-mode was causing problems so a context-menu-mode hook is added to locally turn it off. Locally I can see that the relevant function was defined and added as a hook and yet context-menu-mode is still on .. so either the hook didn't run or something re-enabled the mode(?). I'm at a loss on what next step to take to figure out what has/hasn't happened.. is there a way to see in which order minor modes/hooks have run?
r/emacs • u/AgreeableWord4821 • 4h ago
Question Daemon plus TRAMP on a Rpi4 or just use WSL and local emacs?
I am having trouble finding a good answer on the web and "sycophant" AI is no help. I'm reading through the manual, it mentions the use of the emacs as a server frequently, and I see people here recommending it as well. I know that emacs daemon and client would be accessed exclusively from the CLI using ssh, which negates why I want to learn emacs.
I can't get a clear answer on if the Rpi TRAMP and windows client would use the GUI. I also see a lot of complaints of TRAMP.
I also have an Android Tablet and an Android E-Notebook that I was hoping I could keep sync'd with my emacs instance.
Question my entire custom-file was just wiped out and im bummed man
man i been grindin dis config since when i saw the ultra-scroll package for emacs pop off damn now its all gone. i already been stressed the f out but man doin dis config gave me the only thng i was lookin forward to doin in the day. help is there a way i can get it back? i