luis changed the topic of #slime to: SLIME, the Superior Lisp Interaction Mode for Emacs | https://common-lisp.net/project/slime | https://irclog.tymoon.eu/freenode/%23slime | https://irclog.whitequark.org/slime
nicktick has joined #slime
nicktick has quit [Ping timeout: 260 seconds]
nicktick has joined #slime
pankajsg has joined #slime
pankajsg has quit [Ping timeout: 268 seconds]
pankajsg has joined #slime
pankajsg has quit [Read error: Connection reset by peer]
pjb has quit [Ping timeout: 260 seconds]
pankajsg has joined #slime
nicktick has quit [Ping timeout: 240 seconds]
pjb has joined #slime
cage_ has joined #slime
<Shinmera> Is there a way to apply extra syntax highlighting for select parts within a lisp source file?
<Shinmera> I'm using a lot of strings that contain code in another language for which having syntax highlighting would be tremendously useful.
<antoszka> I was researching that at a certain time in Emacs and didn't find a proper solution (or none at all, can't remember the details).
<Shinmera> :( Oh well.
<Shinmera> Emacs syntax highlighting system is... uh. Well, let's say it leaves things to be desired, in general :)
<etimmons> Org mode manages to do it somehow
<scymtym> there used to be a "multiple major modes" or similar package. it seems https://github.com/polymode/polymode is the current iteration
<Shinmera> Hm!
<antoszka> That does look reasonable.
<antoszka> My research was older than this package ;)
<pjb> Shinmera: perhaps one of the multiple modes. mumamo-mode or mmm-mode?
<pjb> Shinmera: or, I have a "page-mode" really just a set of keybinding to narrow to a page (separated by ^L) (or forward or backward pages), and that resets the mode. So you could write an emacs command to narrow to a string, and have a mode comment in them to reset the mode.
<pjb> Shinmera: this would be useful to dequote and requote the string too.
<pjb> Shinmera: write narrow-to-string and widden-from-string commands.
<Shinmera> Mh. I'm really only looking for syntax highlighting, and it would have to happen for both modes simultaneously. I'm not the end-user for this, so any more complex emax navigation is out.
<Shinmera> *emacs
<pjb> Shinmera: have a look at implode-j-string and explode-j-string in https://termbin.com/jomi
<pjb> Shinmera: well, multi-modes are complex. It's simplier to use narrow-to-region and accept you see only one thing at a time.
<pjb> Shinmera: notably, I don't know how mmm or mumamo will manage using only the double quote as mode separator. Usually, there's a xml tag or something.
<pjb> polymode and multi-mode too.
<pjb> polymode looks to be the most promising.
<Shinmera> Yeah, I'll have a look at all of this some other time. Got more urgent tasks ahead of me right now. Thanks, though! :)
<pjb> But of course, there are commands: https://polymode.github.io/usage/
pankajsg has quit [Ping timeout: 252 seconds]
cage_ has quit [Quit: Leaving]
ullbeking has joined #slime
ullbeking has joined #slime
ullbeking has quit [Changing host]