Elektrine lite

← Feed

@yantar92@fosstodon.org

Post #2852877

2026-05-18 18:01 UTC

@vnikolov@ieji.de @screwlisp@gamerplus.org @bagder@mastodon.social @me This approach has many limitations, and https://github.com/polymode/polymode attempts to do more. But polymode is fragile. Emacs major mode system is not designed for such use. (There have been two feature requests in the past on emacs-devel for multiple major modes, but even the design of such support was not entirely clear)

Replies (2)

  • @yantar92@fosstodon.org 2026-05-18 18:02

    @vnikolov@ieji.de @screwlisp@gamerplus.org @bagder@mastodon.social @me Even older attempt is https://github.com/dgutov/mmm-mode, but every time I look inside, I feel that things are overengineered there.

    Open ##2852878

  • @vnikolov@ieji.de 2026-05-18 18:06

    @yantar92@fosstodon.org Indeed, as you yourself point out, mixing major modes in the same buffer is a much bigger and more difficult thing, starting with working out the specification. @screwlisp@gamerplus.org @bagder@mastodon.social @me

    Open ##2852879