* hs-special-modes-alist not working (#14)
@ 2016-04-21 18:08 Endre Bakken Stovner
2016-04-22 5:50 ` Endre Bakken Stovner
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: Endre Bakken Stovner @ 2016-04-21 18:08 UTC (permalink / raw)
To: kyleam/snakemake-mode
[-- 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 --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hs-special-modes-alist not working (#14)
2016-04-21 18:08 hs-special-modes-alist not working (#14) Endre Bakken Stovner
2016-04-22 5:50 ` Endre Bakken Stovner
@ 2016-04-22 5:50 ` Endre Bakken Stovner
2016-04-22 15:51 ` Endre Bakken Stovner
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Endre Bakken Stovner @ 2016-04-22 5:50 UTC (permalink / raw)
To: kyleam/snakemake-mode
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
Closed #14.
---
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#event-637216774
[-- Attachment #2: Type: text/html, Size: 1094 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hs-special-modes-alist not working (#14)
2016-04-21 18:08 hs-special-modes-alist not working (#14) Endre Bakken Stovner
@ 2016-04-22 5:50 ` Endre Bakken Stovner
2016-04-22 5:50 ` Endre Bakken Stovner
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Endre Bakken Stovner @ 2016-04-22 5:50 UTC (permalink / raw)
To: kyleam/snakemake-mode
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
Come to think of it, I really should have posted this to the emacs stack exchange. Cannot delete, unfortunately.
---
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#issuecomment-213272595
[-- Attachment #2: Type: text/html, Size: 938 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hs-special-modes-alist not working (#14)
2016-04-21 18:08 hs-special-modes-alist not working (#14) Endre Bakken Stovner
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
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Endre Bakken Stovner @ 2016-04-22 15:51 UTC (permalink / raw)
To: kyleam/snakemake-mode
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
I am guessing it is because I have neither defined an end for my block, nor a `forward-sexp-function`. Only the latter is possible, so that must probably be done first.
---
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#issuecomment-213485710
[-- Attachment #2: Type: text/html, Size: 1006 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hs-special-modes-alist not working (#14)
2016-04-21 18:08 hs-special-modes-alist not working (#14) Endre Bakken Stovner
` (2 preceding siblings ...)
2016-04-22 15:51 ` Endre Bakken Stovner
@ 2016-04-22 18:07 ` Endre Bakken Stovner
2016-04-22 18:11 ` Endre Bakken Stovner
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: Endre Bakken Stovner @ 2016-04-22 18:07 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer, Comment
[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]
Thanks!
On Fri, Apr 22, 2016 at 7:57 PM, Kyle Meyer <notifications@github.com>
wrote:
> > I am guessing it is because I have neither defined an end for my
> > block, nor a `forward-sexp-function`. Only the latter is possible, so
> > that must probably be done first.
>
> Thanks for looking into setting up `hs-special-modes-alist`. Your guess
> sounds right.
>
> I was going to suggest you check snakemake-in-rule-or-subworkflow-block-p
> to see how rule blocks are recognized. But, revisiting that function, I
> think there are at least a couple cases that aren't handled correctly
> (rule blocks that are indented under, say, an if statement; the function
> relies on no blanks between rule lines even though this is legal
> syntax). I should rewrite it, and then the forward-sexp-function should
> pretty much fall out of that.
>
> However, I don't think I'll find time to do that for another week or
> two. (In the meantime, I'll probably be pretty unresponsive in general,
> aside from merging #13.)
>
> —
> You are receiving this because you modified the open/close state.
> Reply to this email directly or view it on GitHub
> <https://github.com/kyleam/snakemake-mode/issues/14#issuecomment-213530196>
>
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/14#issuecomment-213535002
[-- Attachment #2: Type: text/html, Size: 2278 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hs-special-modes-alist not working (#14)
2016-04-21 18:08 hs-special-modes-alist not working (#14) Endre Bakken Stovner
` (3 preceding siblings ...)
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
6 siblings, 0 replies; 8+ messages in thread
From: Endre Bakken Stovner @ 2016-04-22 18:11 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer, Comment
[-- Attachment #1: Type: text/plain, Size: 182 bytes --]
Reopened #14.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/14#event-638059594
[-- Attachment #2: Type: text/html, Size: 1076 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hs-special-modes-alist not working (#14)
2016-04-21 18:08 hs-special-modes-alist not working (#14) Endre Bakken Stovner
` (4 preceding siblings ...)
2016-04-22 18:11 ` Endre Bakken Stovner
@ 2016-05-11 7:32 ` Endre Bakken Stovner
2020-04-17 0:13 ` Kyle Meyer
6 siblings, 0 replies; 8+ messages in thread
From: Endre Bakken Stovner @ 2016-05-11 7:32 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer, Comment
[-- Attachment #1: Type: text/plain, Size: 321 bytes --]
Thanks!
I do not know when I will have the time to try it, though.
And as this was more of a misplaced question than an issue you may close it.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/14#issuecomment-218383759
[-- Attachment #2: Type: text/html, Size: 965 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hs-special-modes-alist not working (#14)
2016-04-21 18:08 hs-special-modes-alist not working (#14) Endre Bakken Stovner
` (5 preceding siblings ...)
2016-05-11 7:32 ` Endre Bakken Stovner
@ 2020-04-17 0:13 ` Kyle Meyer
6 siblings, 0 replies; 8+ messages in thread
From: Kyle Meyer @ 2020-04-17 0:13 UTC (permalink / raw)
To: snakemake-mode
Some replies are missing, as described at
https://inbox.kyleam.com/snakemake-mode/874ktmyh4u.fsf@kyleam.com/
Please visit the link in the parent message to see the full discussion.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-04-17 0:13 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-21 18:08 hs-special-modes-alist not working (#14) Endre Bakken Stovner
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
Code repositories for project(s) associated with this public 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).