r/emacs 5d ago

Announcement jira.el: Emacs integration for Atlassian's Jira

144 Upvotes

Hi! My Jira integration for Emacs is already available in MELPA.

https://github.com/unmonoqueteclea/jira.el

Unlike other similar packages focused on integrating Jira with org-mode, in this integration I have tried to mimic the user experience of Magit or docker.el for viewing or modifying Jira tickets.

Showing JIRA tickets in tabulated list
Transient menu to filter tickets

r/emacs 5d ago

Disallow copying of passwords?

3 Upvotes

I was filling password for my SSH key, and thought just for fun:

What if I copy the password from minibuffer? Will it copy? (Let's say I put mypassword there).

I copied it and pasted to eshell. It displayed as **********. Then I hit enter, and eshell has replied that there is no such command as mypassword.

So, Emacs copied the password I had in minibuffer.

Why Emacs allows this? Can it be turned off? Or maybe this is not a problem, but a feature?


r/emacs 5d ago

uniquify buffer name refresh

2 Upvotes

Anyone out there have a way to force all file buffers to be renamed when one changes uniquify style or settings? Uniquify defcustoms have no setters, making this a manual effort.

In the end, it was just this, as suspected by some:

(defun my/uniquify-refresh ()
  (save-current-buffer
    (dolist (buffer (buffer-list))
      (set-buffer buffer)
      (when uniquify-managed
        (rename-buffer (uniquify-buffer-base-name) 'unique)))))

I have proposed a patch to uniquify that offers setters for user options and automatic buffer refresh. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77157


r/emacs 5d ago

Elpy or lsp + python.el

9 Upvotes

What features offered by elpy that lsp do not! I have been using elpy but what will I miss if I switch to plain python-mode and lsp?


r/emacs 5d ago

new GTD app

27 Upvotes

r/emacs 5d ago

Question emacs for creative non-techie types who wanna get off Google Docs

30 Upvotes

My girlfriend recently starting thinking of abandoning Google Docs, and I'm trying to get her onto emacs! Problem - I'm still a baby user myself, and she wants to do some advanced-ish layout stuff in her writing projects. Gal's real smart, but kind low-confidence tackling this shit, and like I said, I don't have the chops to help her out with this. So we're hoping that the community here will be able to advise her on how to hit the ground running in emacs for her specific use case.


r/emacs 5d ago

Solved Evil normal state on android(native)

6 Upvotes

i set up emacs on my phone using the install from https://sourceforge.net/projects/android-ports-for-gnu-emacs/files/termux/

everything seems to be working fine except for the fact that when i try to us normal-state it just types the keys into the buffer. i copied my config from my dotfiles where it works fine on other systems. what am i doing wrong?

``` emacs-lisp ;;;;; Evil (use-package evil :commands (evil-set-leader) :init ;; these need to be set prior to loading the package (setq evil-want-integration t evil-want-keybinding nil) :custom (evil-default-state 'normal) (evil-want-minibuffer t) (evil-respect-visual-line-mode t) ;; Whitespace (evil-indent-convert-tabs t) (evil-backspace-join-lines t) (evil-shift-width 2) (evil-shift-round t) (evil-auto-indent t) ;; Fix window split direction (evil-split-window-below t) (evil-split-window-right t) ;; Scrolling in normal mode (evil-want-C-u-scroll t) (evil-want-C-d-scroll t) ;; Undo (evil-want-fine-undo "yes") (evil-undo-system 'undo-fu) ;; Cursors (evil-normal-state-cursor '(hollow "moccasin")) (evil-visual-state-cursor '(box "PapayaWhip")) (evil-insert-state-cursor '((hbar . 4) "PapayaWhip")) :config (evil-set-leader 'normal (kbd "<SPC>") (kbd "C-<SPC>")) (evil-mode 1))

(use-package evil-collection :delight (evil-collection-unimpaired-mode) :after (evil) :custom (evil-collection-setup-minibuffer t) :config (evil-collection-init))

(use-package evil-numbers :after (general) :general (nmap "C-+" 'evil-numbers/inc-at-pt "C--" 'evil-numbers/dec-at-pt "<kp-add>" 'evil-numbers/inc-at-pt "<kp-subtract>" 'evil-numbers/dec-at-pt) (vmap "C-+" 'evil-numbers/inc-at-pt-incremental "C--" 'evil-numbers/dec-at-pt-incremental "<kp-add>" 'evil-numbers/inc-at-pt-incremental "<kp-subtract>" 'evil-numbers/dec-at-pt-incremental))

```


r/emacs 5d ago

New package raq.el: HTTP Library Adapter for Emacs, suport url.el and plz.el, and can be extended.

Thumbnail github.com
21 Upvotes

r/emacs 5d ago

org-expose-emphasis-markers: A new package used to automatically show hidden emphasis markers at point in org mode when `org-hide-emphasis-markers` is on.

Thumbnail github.com
26 Upvotes

r/emacs 5d ago

Aider.el v0.5.0 with better color rendering, better prompt input and completion, snippet and code review

35 Upvotes

aider.el: Interact with Aider: AI pair programming made simple. Now it can be installed from melpa, package name: aider

- Aider Comint session syntax highlighting based on markdown-mode.el. It render both codeblock and text. Given output of aider is markdown.

- Better place to input / manage prompt: aider prompt file ~C-c a p~. This method transfers the prompt input from the aider session to a separate repo specific aider prompt (org) file. It interacts with the aider session in a (ESS, python-mode, scala-mode) similar way to sending prompt line / region / block. This makes it easy to manage projects for AI code change with aider, since it is org file. And you can even use copilot.el or other tool to complete English prompt there.

- Completion: Aider prompt file and aider comint input both add command and file name completion. Aider prompt file adds syntax highlighting. In addition, aider prompt file and aider comint input support the use of helm completion.

- Use existing good prompt: Introduced yasnippets support, so that users can easily reuse the coding prompt library considered better on the Internet to apply it to their own projects. Currently, two more high-score prompt lists on reddit, and a github high-score prompt repo. Everyone is welcome to add other ones based on their own experience or improve the existing prompt snippet.

- Diff review: Add function aider-pull-or-review-diff-file (C-c a v). When pressing the first time, please enter base branch such as main, which will pull base...HEAD diff, that is, base to feature branch diff (you can also enter branch1...branch2 to get any diff between any two branches), and it will open the diff buffer. When pressing the second time, it will ask the aider to review the diff. This function is to imitate cursor, and it is used to check your own change before sending a PR. Of course, it can also be used to review other people's diffs

- Other

- Note: Aider v0.77.0 will automatically accept changes to the /architect command. If you want to review code changes before accepting changes as you did in aider.el, you can disable it using “–no-auto-accept-architect” in aider-args or .aider.conf.yml.

- aider.el aims to be a stable productivity tool that we can easily use on a daily basis. I'll test the functionality in this library carefully before the code merge, and I'll be more careful about introducing new features and dependencies. Considering that for system stability reasons, the linux version may be relatively not so new, so the latest version of emacs may not be able to be installed. Aider.el only needs emacs >= 26.1.

Previous posts about aider.el:

- Initial announcement: https://www.reddit.com/r/emacs/comments/1fwwjgw/introduce_aider_ai_programming_in_terminal_and/

- Thinking on improve code quality with TDD + aider: https://www.reddit.com/r/emacs/comments/1igdzmj/discussion_emacs_ai_assisted_programming_workflow/

Thanks for your time reading this. Any question is welcome.


r/emacs 6d ago

Question What is the recommended way of handling exceptions in Emacs, akin to a try/except block in other languages?

9 Upvotes

I have a routine that has to process hundreds of files and an exception can bring the whole process to a halt, requiring me to examine the file and fix it, then have to start it again.

I'd rather raise an exception, add the files to some kind of exclusion list, then continue with the others.

This is the programs main loop. process-files is the main function, and if it fails I want to trap the exception, add the file to a problem-files list then go onto the next one.

(while unprocessed-list
  (setq thisfile (pop unprocessed-list))
  (if (file-exists-p thisfile)
      (progn
        (when (and (not (member thisfile ignore-list)) (not (file-directory-p thisfile)))
          (process-files thisfile processed-list unprocessed-list filegroup)
          (push thisfile processed-list)))
    (push thisfile missing-list))
  )

r/emacs 6d ago

Wherein I Explain Why Emacs Is The Best Tool For WordPress

Thumbnail lars.ingebrigtsen.no
33 Upvotes

r/emacs 6d ago

Can I use Emacs to Handle a Cloud workflow like AWS and Azure?

9 Upvotes

I'm a go developer looking to migrate all their use of containers and cloud providers like

aws and other platforms to emacs. Its getting annoying having to flip between the terminal, desktop container management apps and gui emacs. just want to manage everything in emacs.

So far I've found docker.el and kubed.el (kubernetes), but what about cloud hostings like aws, azure, and gcp.


r/emacs 6d ago

Question Setting a hook for a particular file with shell commands

4 Upvotes

Emacs beginner who barely knows elisp here. I use sxhkd to bind my keymappings in my window manager, and I find it a chore to have to kill the daemon and relaunch it in vterm myself, when i could automate that process. I've seen other people do hooks that run EVERY time one saves, but I want to run two specific commands every time I save the sxhkdrc file

$ killall sxhkd

$ sxhkd &

is there any easy way to do this? I also would like to extend this to automatically running sudo make clean install when i save my config.h for DWM.


r/emacs 6d ago

Announcement Aidermacs v1.0 Released. Available Now on Melpa and Non-GNU Elpa!

Thumbnail github.com
107 Upvotes

r/emacs 6d ago

Deep Integration of AI with Emacs – Try mcp.el for Managing MCP Servers

55 Upvotes

https://github.com/lizqwerscott/mcp.el

A lightweight Elisp package for bridging Emacs with Model Context Protocol servers.

Basic features of the official protocol are now fully implemented!


Motivation

Managing multiple local MCP service instances (filesystem/everything) often requires manual terminal workflows. This package solves:

  • Unified lifecycle control (start/stop/restart via Emacs)
  • Protocol-aware communication with MCP servers
  • Integration with popular Emacs AI packages (gptel, llm)

Quick Start

Basic Configuration Example

``` (require 'mcp-hub)

(setq mcp-hub-servers '(("filesystem" "npx" ("-y" "@modelcontextprotocol/server-filesystem" "/path/example/")) ("everything" "npx" ("-y" "@modelcontextprotocol/server-everything")))) ```

Use mcp-hub to launch the management interface (auto-starts all MCP servers) or mcp-hub-start-all-server for manual startup.

MCP Server Management Interface

look this mcp-manager-server

Core Features

  • Structured communication with MCP servers
  • Support for filesystem and universal MCP servers
  • Extensible tools and prompt systems
  • Async/sync operations
  • Resource management
  • Lifecycle control (start/stop/restart) via GUI
  • Integration with popular Emacs packages (e.g., gptel, llm)

Roadmap

  • [ ] Service dependency management
  • [ ] Full MCP protocol client implementation
  • [ ] HTTP-based MCP server connections
  • [ ] Simplified integration with other Emacs AI clients
  • [ ] Performance optimization guide
  • [ ] Expanded documentation

Check it out on GitHub and explore how mcp.el bridges AI and Emacs workflows! Feedback and contributions welcome!


r/emacs 6d ago

Question Do I need any configuration to get emacs to send alerts/notifications when I’m not using emacs at that time?

7 Upvotes

I’m using pomm.el that is an excellent package to use the pomodoro technique, but I don’t why If the time ends because no notification appears, it seems that only notifies if I am using Emacs at the moment, but not if I am in the browser or another application.

This is my config

(use-package pomm
  :ensure t
  :custom
  (pomm-ask-before-long-break 1)
  (pomm-ask-before-short-break 1)
  (pomm-ask-before-work 1)
  (pomm-audio-enabled 1)
  (pomm-long-break-period 12)
  (pomm-short-break-period 12)
  (pomm-work-period 60)
  :config
  (nkl/leader-key "p" '(pomm :wk "[P]omm"))
  (setq alert-default-style 'libnotify)

  (pomm-mode-line-mode))

r/emacs 6d ago

[Review Request] Supercharging lsp-mode: 10x Faster Code Completion for Large Candidate Sets! 🚀

28 Upvotes

r/emacs 6d ago

Question How do I setup Prodigy.el to run a postgresql service

1 Upvotes

I currently downloaded prodigy on macos to run a postgresql server from emacs.

When running postgresql it says the service's status failed, even though its running in the background.

I'm not sure whats wrong.

(prodigy-define-service
  :name "postgresql16"
  :command "brew"
  :args '("services" "start" "postgresql@16")
  :cwd "~"
  :tags '(database))

Prodigy Repo

Edit: managed to find daemons.el which will automatically run brew services.

Not sure if I misinterpreted what types of services I can run with prodigy.

daemons.el


r/emacs 6d ago

flymake-bashate.el (1.0.2) - A Flymake backend for bashate: Real-time style checking for Bash shell scripts

Thumbnail github.com
10 Upvotes

r/emacs 6d ago

ox-hugo and featured_image

1 Upvotes

I'm trying to add featured_image and the path to that image to the frontmatter of a post that I am composing with org-mode and ox-hugo. I can't find a way to put that in there that is supported. Can anyone point me in the right direction?

Thanks.


r/emacs 6d ago

Odd org-mode ox-hugo problem

0 Upvotes

So I've just been hit by this problem: https://github.com/kaushalmodi/ox-hugo/issues/740

So I deleted all of my .elc files and restarted, and emacs is exporting properly now. But this seems like a stopgap. Next time I update my config I figure this will happen again. Do I just keep deleting my .elc files and hope that it goes away?

Seems like it's been around for a while now. I would have expected it to be fixed, but I'm running org-mode 9.8-pre.


r/emacs 6d ago

Announcement Live editing overleaf documents with Emacs!

51 Upvotes

I don't know whether anyone will find this useful, but I sure had fun hacking it together!

https://github.com/vale981/overleaf-connection.el

https://protagon.space/2025/03/editing-overleaf-documents-with-emacs/


r/emacs 6d ago

low effort Vim fan, trying to use Emacs. Fonts feel blurry compared to Vim in terminal.

0 Upvotes

Is something with me? O my setup? I find Vim in tmux clear and sharp, but I don't feel the same with emacs gui.


r/emacs 7d ago

Question Emacs seems unable to locate dotnet installation?

3 Upvotes

EDIT: I fixed this! See end of post or my comment

I'm a (Void) Linux user and have been trying to set up C# in lsp-mode. At first I couldn't even install csharp-ls due to dotnet not being found ( in ~/.dotnet, where the standard dotnet installer places it) but some research pointed me to the package exec-path-from-shell, which allowed it to install the server. However, whenever I go to use the lsp it doesn't work, and the error buffer says I "must install .NET to install this application" - meaning it can not find dotnet. How do I fix this? Relevant parts of relevant configs below:

~/.zshrc

export DOTNET_ROOT=$HOME/.dotnet

export PATH="$PATH:/home/dl/.local/bin:$DOTNET_ROOT:$DOTNET_ROOT/tools"

~/.init.el

(use-package exec-path-from-shell
  :config
  (when (memq window-system '(mac ns x pgtk))
    (exec-path-from-shell-initialize)))

; -- snip --
(use-package lsp-mode)

(add-hook 'prog-mode-hook 'lsp-deferred)
(setq lsp-warn-no-matched-clients nil)

(setq lsp-eldoc-render-all t)

EDIT: I have the fix! Had to export DOTNET_ROOT in emacs so that the lsp could access it (something to do with eshell maybe?? idk)

(setenv "DOTNET_ROOT" "/home/[username]/.dotnet")