Post #2852875
2026-05-18 17:45 UTC
Something that came up in yesterday's show about org mode was a wish to mix major modes in the same Emacs buffer.
(I suppose that would be multimodal editing, but I can also imagine it called polymodal editing.)
A possible approach to tackle this partially is to copy a section of the buffer into a temporary buffer, edit it there in the appropriate mode, and copy it back.
This is clumsy, of course, and the effort to implement it might be too big, but such a feature would be better than nothing.
(Today I again found myself wishing I had mixed modes, and that without org mode.)
#Emacs
#MixedMajorModes
#MultimodalBuffers
#MultimodalEditing
#PolymodalBuffers
#PolymodalEditing
#OrgMode
@screwlisp@gamerplus.org @yantar92@fosstodon.org @bagder@mastodon.social @me
Replies (2)
-
@yantar92@fosstodon.org 2026-05-18 17:56
@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
-
@bignose@fosstodon.org 2026-05-18 18:37
@vnikolov@ieji.de > a wish to mix major modes in the same #Emacs buffer Several possible approaches listed at https://www.emacswiki.org/emacs/MultipleModes @screwlisp@gamerplus.org @yantar92@fosstodon.org @bagder@mastodon.social @me