Post #2852876
2026-05-18 17:56 UTC
@vnikolov@ieji.de @screwlisp@gamerplus.org @bagder@mastodon.social @me This is exactly what Org mode does to handle fontification and indentation. See org-src-do-key-sequence-at-code-block
Replies (2)
-
@yantar92@fosstodon.org 2026-05-18 18:01
@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)
-
@vnikolov@ieji.de 2026-05-18 18:02
@yantar92@fosstodon.org Thank you. These two are non-interactive operations. Is there any actual demand for opening up that buffer for interactive editing? @screwlisp@gamerplus.org @bagder@mastodon.social @me