discussion and development of Emacs Snakemake mode
 help / color / mirror / code / Atom feed
From: Kyle Meyer <notifications@github.com>
To: kyleam/snakemake-mode <snakemake-mode@noreply.github.com>
Cc: Kyle Meyer <kyle@kyleam.com>,
	Your activity <your_activity@noreply.github.com>
Subject: Re: R code block syntax highlighting (#21)
Date: Sun, 26 Feb 2017 16:38:20 -0800	[thread overview]
Message-ID: <kyleam/snakemake-mode/issues/21/282602667@github.com> (raw)
In-Reply-To: <kyleam/snakemake-mode/issues/21@github.com>

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

> 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

[-- Attachment #2: Type: text/html, Size: 3550 bytes --]

  reply	other threads:[~2017-02-27  0:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-26 23:59 Joseph Elsherbini
2017-02-27  0:38 ` Kyle Meyer [this message]
2017-03-28 12:47 ` Endre Bakken Stovner
2017-09-30 16:31 ` Kyle Meyer
2017-09-30 16:31 ` Kyle Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://git.kyleam.com/snakemake-mode

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kyleam/snakemake-mode/issues/21/282602667@github.com \
    --to=notifications@github.com \
    --cc=kyle@kyleam.com \
    --cc=reply+0013cd7ca15768165fe81b5cb243ba4bd6c6d1003514647192cf0000000114cb36fc92a169ce0c89d8c6@reply.github.com \
    --cc=snakemake-mode@noreply.github.com \
    --cc=your_activity@noreply.github.com \
    --subject='Re: R code block syntax highlighting (#21)' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

	https://git.kyleam.com/snakemake-mode/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).