discussion and development of Emacs Snakemake mode
 help / color / mirror / code / Atom feed
From: Endre Bakken Stovner <notifications@github.com>
To: kyleam/snakemake-mode <snakemake-mode@noreply.github.com>
Subject: hs-special-modes-alist not working (#14)
Date: Thu, 21 Apr 2016 11:08:35 -0700	[thread overview]
Message-ID: <kyleam/snakemake-mode/issues/14@github.com> (raw)

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

I have the following snippet for `hs-special-modes-alist`, but it does not work:

```\f
;;; HideShow

(add-to-list 'hs-special-modes-alist '(snakemake-mode "^rule .*\\>" nil "#" nil
                                                      nil))
```

The regex works if I try it with `re-search` so I am confused about what is wrong.

---
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/14

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

             reply	other threads:[~2016-04-21 18:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-21 18:08 Endre Bakken Stovner [this message]
2016-04-22  5:50 ` Endre Bakken Stovner
2016-04-22  5:50 ` Endre Bakken Stovner
2016-04-22 15:51 ` Endre Bakken Stovner
2016-04-22 18:07 ` Endre Bakken Stovner
2016-04-22 18:11 ` Endre Bakken Stovner
2016-05-11  7:32 ` Endre Bakken Stovner
2020-04-17  0:13 ` 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/14@github.com \
    --to=notifications@github.com \
    --cc=reply+0013cd7c621b159c6aec1a26291e5f5dcb7a21d949a3f0ff92cf000000011330d92392a169ce08f3160a@reply.github.com \
    --cc=snakemake-mode@noreply.github.com \
    --subject='Re: hs-special-modes-alist not working (#14)' \
    /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).