This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-12-04
Channels
- # adventofcode (171)
- # beginners (160)
- # boot (13)
- # chestnut (2)
- # cider (6)
- # cljs-dev (15)
- # cljsjs (35)
- # cljsrn (1)
- # clojure (139)
- # clojure-argentina (3)
- # clojure-brasil (1)
- # clojure-greece (31)
- # clojure-italy (5)
- # clojure-russia (5)
- # clojure-spec (18)
- # clojure-uk (11)
- # clojurescript (42)
- # clojurex (6)
- # core-async (12)
- # cursive (14)
- # dirac (13)
- # emacs (13)
- # events (1)
- # fulcro (46)
- # graphql (7)
- # leiningen (10)
- # lumo (3)
- # mount (31)
- # off-topic (20)
- # onyx (30)
- # perun (4)
- # planck (47)
- # re-frame (28)
- # reagent (14)
- # ring (5)
- # shadow-cljs (3)
- # spacemacs (7)
- # specter (13)
- # timbre (3)
- # unrepl (65)
- # yada (8)
Someone ever heard of the possibility of dual mode in single buffer, so say between lines 1-100 I'd want to write clojure code and from line 100-200 I'd want to write c code. Is this possible that when the cursor enters these lines, the mode would change?
@hlolli: org mode allows multiple languages in one file, but you have to delimit it using something ugly like #+ LANGUAGE ...
or something
Seem to be several ways including native indirect buffers. Have you tried any of these?
mmm-mode tries to solve the problem of multiple languages in one file, but since emacs really wasn't made with that in mind, it can be pretty buggy at times (haven't tried it in years though)
I haven't heard of the other third-party packages but I'm sure they probably have many quirks for the same reason than mmm-mode
Basically trying to emulate what org-mode babel does (using indirect buffers themselves surely)