home.social

#emacs — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #emacs, aggregated by home.social.

fetched live
  1. Sometimes when I implement a new feature for an #emacs package I discover an upstream bug on the way. Not unusual for lesser trodden code paths and features. This time while working on the Jinx spell checker, a bug about file local variables in the property line:

    yhetil.org/emacs-bugs/87ecglj1

    Emacs is the most convenient software to report bugs and I can only recommend to take advantage of this functionality! Of the 160 bugs I've reported so far, only 45 are still open.

    debbugs.gnu.org/cgi/pkgreport.

  2. Sometimes when I implement a new feature for an #emacs package I discover an upstream bug on the way. Not unusual for lesser trodden code paths and features. This time while working on the Jinx spell checker, a bug about file local variables in the property line:

    yhetil.org/emacs-bugs/87ecglj1

    Emacs is the most convenient software to report bugs and I can only recommend to take advantage of this functionality! Of the 160 bugs I've reported so far, only 45 are still open.

    debbugs.gnu.org/cgi/pkgreport.

  3. I have just added a new feature to my Jinx spell-checking package. The new command jinx-remove-word removes words from the personal dictionary, file-local variables and so on. Reuben Thomas (the maintainer of the Enchant library backing Jinx) suggested this addition. He is also an #emacs and #jinx user!

    github.com/minad/jinx/discussi

  4. I have just added a new feature to my Jinx spell-checking package. The new command jinx-remove-word removes words from the personal dictionary, file-local variables and so on. Reuben Thomas (the maintainer of the Enchant library backing Jinx) suggested this addition. He is also an #emacs and #jinx user!

    github.com/minad/jinx/discussi

  5. Flycheck 38 is out with several major improvements (built-in Eglot support, native LSP client, inline diagnostics, quick-fixes, and project-wide diagnostics)! You can read all about it here emacsredux.com/blog/2026/07...

    #Emacs

    Flycheck 38: Might & Magic

  6. Flycheck 38 is out with several major improvements (built-in Eglot support, native LSP client, inline diagnostics, quick-fixes, and project-wide diagnostics)! You can read all about it here emacsredux.com/blog/2026/07...

    #Emacs

    Flycheck 38: Might & Magic

  7. Flycheck 38 is out with several major improvements (built-in Eglot support, native LSP client, inline diagnostics, quick-fixes, and project-wide diagnostics)! You can read all about it here emacsredux.com/blog/2026/07/29

    #Emacs

  8. Flycheck 38 is out with several major improvements (built-in Eglot support, native LSP client, inline diagnostics, quick-fixes, and project-wide diagnostics)! You can read all about it here emacsredux.com/blog/2026/07/29

    #Emacs

  9. «can't be guarded with 'eval-while-compile' because then they get run twice»

    Yes...

    It is not for nothing that Common Lisp's `eval-when' works in the (different) way it works (and then it had to be revised and specified in more detail after the first edition).

    [P.S.
    For Elisp it might be useful to look at `cl-eval-when'.]

    #CommonLisp
    #Elisp
    #Emacs

    @cks

  10. «can't be guarded with 'eval-while-compile' because then they get run twice»

    Yes...

    It is not for nothing that Common Lisp's `eval-when' works in the (different) way it works (and then it had to be revised and specified in more detail after the first edition).

    [P.S.
    For Elisp it might be useful to look at `cl-eval-when'.]

    #CommonLisp
    #Elisp
    #Emacs

    @cks

  11. Assigning your copyright to the FSF helps defend the GPL and keep software free. Thank you Maximilian Cook for assigning your copyright to the FSF! More at: u.fsf.org/4bl #Emacs #CopyrightAssignments

  12. Assigning your copyright to the FSF helps defend the GPL and keep software free. Thank you Maximilian Cook for assigning your copyright to the FSF! More at: u.fsf.org/4bl #Emacs #CopyrightAssignments

  13. My GNU Emacs tiny kingdom for something that only ran at byte-compile time purely so I can pacify ELisp checker errors that only happen then (in a file that is not byte compiled otherwise), and which can't be guarded with 'eval-while-compile' because then they get run twice.

    (It's complicated. This file is load-file'd by my .emacs and needs macros from third party packages to pass type checking.)

    #emacs

  14. My GNU Emacs tiny kingdom for something that only ran at byte-compile time purely so I can pacify ELisp checker errors that only happen then (in a file that is not byte compiled otherwise), and which can't be guarded with 'eval-while-compile' because then they get run twice.

    (It's complicated. This file is load-file'd by my .emacs and needs macros from third party packages to pass type checking.)

    #emacs

  15. For GNU Emacs people who use Eglot and Flycheck: the latest Flycheck MELPA version has added direct support for Eglot, basically folding the previously flycheck-eglot¹ package into Flycheck. It looks like the main Flycheck has picked up a bunch of useful LSP integrations as well (which I think work with Eglot or lsp-mode or etc). Also, Flycheck now has inline annotations (flycheck-annotate-mode) to make diagnostics really obvious.

    These are nice improvements!

    #emacs

    ¹ github.com/flycheck/flycheck-e

  16. For GNU Emacs people who use Eglot and Flycheck: the latest Flycheck MELPA version has added direct support for Eglot, basically folding the previously flycheck-eglot¹ package into Flycheck. It looks like the main Flycheck has picked up a bunch of useful LSP integrations as well (which I think work with Eglot or lsp-mode or etc). Also, Flycheck now has inline annotations (flycheck-annotate-mode) to make diagnostics really obvious.

    These are nice improvements!

    #emacs

    ¹ github.com/flycheck/flycheck-e

  17. The #orgmode configuration file works as a charm. Now I have a web socket server that can send these keypad layouts defined there, to its companion app on my phone. So I have a kind of 4x8 keys stream deck on my phone and can remote control my computer.

    Next step is to integrate d-bus because of course #emacs can send major-mode change events to the d-bus - and my SpaceCadet Deck will automatically change its layout according to this event.

  18. The #orgmode configuration file works as a charm. Now I have a web socket server that can send these keypad layouts defined there, to its companion app on my phone. So I have a kind of 4x8 keys stream deck on my phone and can remote control my computer.

    Next step is to integrate d-bus because of course #emacs can send major-mode change events to the d-bus - and my SpaceCadet Deck will automatically change its layout according to this event.

  19. #Emacs #Eglot

    My current version is 1.23.xxx, list-package shows a 1.24. Nice.

    Yet: any idea how to get any information about what is new? The github repo now seems to be really outdated. Is it really like
    % git clone ...savannah...emacs...
    git log -- lisp/progmodes/eglot.el

    Or am I missing something?

  20. Next meetup is tomorrow Wednesday 19:00 CEST, in-person at c-base and remote. Pedro offered to join us this time and give an update over the latest developments in the org LaTeX exporter.

    #emacs #berlin

  21. Next meetup is tomorrow Wednesday 19:00 CEST, in-person at c-base and remote. Pedro offered to join us this time and give an update over the latest developments in the org LaTeX exporter.

    #emacs #berlin

  22. TupperVim

    27 octobre 2026, 19:00:00 UTC+01:00 - GMT+01:00 - La Turbine COOP, 3 place esplanade Andry Farcy, Grenoble, Auvergne-Rhône-Alpes, France

    keskonfai.fr/events/04f796d7-9

  23. TupperVim

    27 octobre 2026, 19:00:00 UTC+01:00 - GMT+01:00 - La Turbine COOP, 3 place esplanade Andry Farcy, Grenoble, Auvergne-Rhône-Alpes, France

    keskonfai.fr/events/04f796d7-9

  24. Heresy: when LLMs are powerful, they are for the same reason emacs is powerful: the core abstraction is just text.

    (I have not plumbed this thought deep enough to evaluate whether LLMs suck for the same reason emacs sucks).

    #llm #emacs

  25. Heresy: when LLMs are powerful, they are for the same reason emacs is powerful: the core abstraction is just text.

    (I have not plumbed this thought deep enough to evaluate whether LLMs suck for the same reason emacs sucks).

    #llm #emacs

  26. I use exwm (the Emacs window manager) on a Debian stable system.

    As far as I can tell, I have customised everything I can to bring up either eww or firefox when I need to browse the web (eww preferred but some sites need a graphical interface with javascript, e.g. my bank).

    Annoyingly, for some reason, opening a URL sometimes brings up librewolf. I cannot see anywhere in my config that references librewolf.

    Does anybody have any suggestion on how to figure out why librewolf is being run instead of either eww or firefox?

    Thanks!

    PS - yes, maybe I should switch to librewolf instead of firefox... but that's for another day.

    #exwm #Emacs #eww #firefox #librewolf #Debian

  27. I use exwm (the Emacs window manager) on a Debian stable system.

    As far as I can tell, I have customised everything I can to bring up either eww or firefox when I need to browse the web (eww preferred but some sites need a graphical interface with javascript, e.g. my bank).

    Annoyingly, for some reason, opening a URL sometimes brings up librewolf. I cannot see anywhere in my config that references librewolf.

    Does anybody have any suggestion on how to figure out why librewolf is being run instead of either eww or firefox?

    Thanks!

    PS - yes, maybe I should switch to librewolf instead of firefox... but that's for another day.

    #exwm #Emacs #eww #firefox #librewolf #Debian

  28. I'm kind of surprised to find that there doesn't appear to be an package that provides a handy mode for editing files. Like, sure, they're not *that* tricky, but it seems like it could be (or could once have been) a handy mode.

  29. I'm kind of surprised to find that there doesn't appear to be an #Emacs package that provides a handy mode for editing #gophermap files. Like, sure, they're not *that* tricky, but it seems like it could be (or could once have been) a handy mode.

    #gopher

  30. @flohoff

    Btw. there is a curious special case: When a whole ecosystem is prectically using the same license. If somebody uses #LLM for writing #Emacs #elisp code, the #AI has been trained most likely from #GPL code, either GPL3+ or GPL2+. The software written with LLM help will probably be GPL, too. So the license would be correct. But not the GPL requirement of preserving original copyright notices, in case a code snippet that AI copied verbatim is large enough to be copyrightable.

  31. @flohoff

    Btw. there is a curious special case: When a whole ecosystem is prectically using the same license. If somebody uses #LLM for writing #Emacs #elisp code, the #AI has been trained most likely from #GPL code, either GPL3+ or GPL2+. The software written with LLM help will probably be GPL, too. So the license would be correct. But not the GPL requirement of preserving original copyright notices, in case a code snippet that AI copied verbatim is large enough to be copyrightable.

  32. 🖥️ karlicoss/cloudmacs

    Selfhost your Emacs and access it in browser

    Runs Emacs in a browser via a self-hosted Docker container using Gotty for TTY access and persistent sessions

    ⭐ Stars: 583
    📅 Last Update: Jul 26, 2026

    github.com/karlicoss/cloudmacs

    #selfhosted #homelab #selfhost #selfhosting #opensource #emacs #docker

  33. So, I think I might be a nerd.

    @SDF is running a BBS called bitzone. On this BBS they have a door game called LORD (League of the Rare Dragoon (not to be confused with Legend of the Red Dragon, of which it is clearly a knock-off)).

    The fact that I'm playing this game in the first place is kind of nerdy, but wait, there's more.

    In said game you have a character with various stats. One of these stats is "charm", which seems to get you discounts in the shops. Unfortunately, there's nothing to say exactly how this relationship works. So I've decided to try to reverse-engineer it with #emacs #org-mode.

    I've created a table to track my purchases. It tracks my charm at the time of purchase, the list price for the item, and the price I actually paid. There's also an additional colum that calculates the actual discount, but that's trivial.

    Anyhoot, I'm adding some code to this file that reads the values in the table and computes the simplest polynomial function that satisfies the equation:
    $$price_{actual}=f(charm,price_{list})$$

    This is done with the aim of predicting how much I'd actually spend on an item before actually buying it. It of course assumes that the equation being used is a polynomial equation, but I'm hoping it'll at least be able to approximate with a large enough set of data points.

    Am I doing this because it's reasonable?

    No.

    I'm doing it because it's an interesting challenge... and I'm a nerd.

    CC: @tob

  34. Kompreneble mi fojfoje parolas esperante per [jabber.el]. Kaj mi ne volas premi butonojn, se Imakso povas fari tion memstare, do… 😸

    (defun my-jabber-esperanto-conversation (buffer)
      "Enable Esperanto input mode and spellchecking in buffer BUFFER."
      (with-current-buffer buffer
        (when (and (boundp 'jabber-chatting-with)
                   jabber-chatting-with
                   (member jabber-chatting-with
                           '("[email protected]")))
          (activate-input-method "esperanto-postfix")
          (ispell-change-dictionary "eo")
          (flyspell-mode)))
      buffer)
    
    (advice-add 'jabber-chat-create-buffer :filter-return 'my-jabber-esperanto-conversation)
    

    #lang_eo #Emacs #jabber_el #Esperanto

  35. In case you are reading about some LLM #emacs commit putting the project at risk, here is the commit github.com/emacs-mirror/emacs/

    How the emacs mailing list treated this contributor is borderline abusive.

    What will the emacs team do, if a security-relevant bug ticket is provided, in which a LLM played a role?

    Don't look up!