From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 26 Feb 2017 16:38:20 -0800 From: Kyle Meyer Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: R code block syntax highlighting (#21) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_58b374fc61267_218b3fe10dca113c7285c"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: kyleam/snakemake-mode List-Archive: https://github.com/kyleam/snakemake-mode List-Post: List-Unsubscribe: , To: kyleam/snakemake-mode Cc: Kyle Meyer , Your activity ----==_mimepart_58b374fc61267_218b3fe10dca113c7285c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > Let me preface this by saying that I am very new to emacs and I'm > checking it out mostly because of snakemake-mode. Thanks for making > this! You're welcome! Any feedback is greatly appreciated. > I'm using spacemacs, and I installed mmm-mode and snakemake-mode. > > In my user-config function I have the following code: > > `(setq mmm-global-mode 'maybe)` > When I load up a Snakefile, the code is highlighted, but code inside > an `R()` call isn't. > > Any ideas what I might be doing wrong? You need to call snakemake-mode-setup-mmm as well, I think. I must admit that I've never used the mmm-mode functionality (which was contributed by @endrebak), but (snakemake-mode-setup-mmm) (setq mmm-global-mode 'maybe) seems to do the trick. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/21#issuecomment-282602667 ----==_mimepart_58b374fc61267_218b3fe10dca113c7285c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable > Let me preface this by saying that I am very new to emacs and I'= m
> checking it out mostly because of snakemake-mode. Thanks for making<= br> > this!

You're welcome! Any feedback is greatly appreciated.

> I'm using spacemacs, and I installed mmm-mode and snakemake-mode= .
>
> In my user-config function I have the following code:
>
> `(setq mmm-global-mode 'maybe)`

> When I load up a Snakefile, the code is highlighted, but code inside=
> an `R()` call isn't.
>
> Any ideas what I might be doing wrong?

You need to call snakemake-mode-setup-mmm as well, I think. I must
admit that I've never used the mmm-mode functionality (which was
contributed by @endrebak), but

(snakemake-mode-setup-mmm)
(setq mmm-global-mode 'maybe)

seems to do the trick.

&m= dash;
You are receiving this because you are subscribed to this thre= ad.
Reply to this email directly, view it on GitHub= , or mute the thread.

= ----==_mimepart_58b374fc61267_218b3fe10dca113c7285c--