r/emacs • • 19h ago Heartwarming

Question What can your Emacs do that mine cannot (yet!)

11 Upvotes

My emacs can read books outloud, keep track of my reading, dictate text and execute voice commands, keep track of my agenda, personal finances, manage my passwords, play music and youtube, and diagnose prostate cancer. What does yours do?


r/emacs • • 23h ago

Ancla – a small Harpoon-inspired package for Emacs

0 Upvotes

Hi folks!

I just wanted to share a small package I made: Ancla.

It's inspired by ThePrimeagen's Harpoon for Neovim: you mark a few files you're working on and jump between them quickly.

I know there are already similar packages for Emacs. I just wanted to build my own, learn along the way, and share it with the community.

Repo: https://github.com/tinix/ancla

Any feedback is very welcome. Thanks!


r/emacs • • 8h ago

Question Is auto completion a real security risk?

14 Upvotes

Completion menu on point in buffer showing automatically on typing e.g. functions is useful because it usually saves a lot keystrokes (not just completing the function name but even just triggering it with e.g. TAB key). There's a warning to enable this on corfu:

Auto completion is disabled by default for safety and unobtrusiveness. Note that completion can be vulnerable to arbitrary code execution. Auto completion can be enabled by setting corfu-auto to t. Only enable auto completion locally in trusted buffers or globally if you edit trusted files only.

That warning is repeated in this post which also mentions performance concerns using the setting.

Is the security (and to a lesser extent performance) concern a practical risk or is the warning just conservative? Does typical Emacs usage involve added risk when enabling this? I feel like if one uses any third-party packages (practically every user) all of these risks already exist in general unless they are reading all the source code. Could one still use this feature reasonably safely e.g. with tips to harden it?

Coming from Neovim, I've never heard of any these risks associated with auto completion enabled--not sure how they implement it or maybe these same risks are implied and/or reasonably acceptable?


r/emacs • • 20h ago

PSA: Don't use the PGTK version of Emacs on Wayland if you have a 4K monitor

29 Upvotes

This has been discussed on this sub already but I wanted to add my experience in case it helps anyone.

I started using Linux as a daily driver. It's awesome. I'm using KDE on Fedora. I built Emacs with pgtk (pass --with-pgtk to the configure script). Normally this is good and fine if you're using Wayland. However, if you have a 4k monitor that you like using with fractional scaling, Emacs built with PGTK will lag heavily on input. Miserable experience.

I rebuilt Emacs last night (just passed no options to configure) and Emacs is now wicked fast. Just a note in case it helps anyone. Hopefully this is something that gets fixed in the near future.


r/emacs • • 22h ago

Question How to fix buffer drawing issues?

6 Upvotes

I have this artifacts - sometimes it covers text, sometimes is after the end of line. C-l/C-v doesn't help. It just stays in one place for a while and annoys me so much...

In this case it is top two lines which left it on the screen. Org-mode, not sure if anywhere else.

Do you know what is happening? Thanks in advance.

Linux/Gnome/Ubuntu - GNU Emacs 31.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.52, cairo version 1.18.4) of 2026-09-22