* Re: TODOs? (#10)
2016-04-17 19:08 TODOs? (#10) Endre Bakken Stovner
@ 2016-04-18 19:10 ` Endre Bakken Stovner
2020-04-14 2:03 ` Kyle Meyer
2016-04-21 18:04 ` Endre Bakken Stovner
` (3 subsequent siblings)
4 siblings, 1 reply; 7+ messages in thread
From: Endre Bakken Stovner @ 2016-04-18 19:10 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer
[-- Attachment #1: Type: text/plain, Size: 1305 bytes --]
* Menus
Do not personally use/like them, so would be hard for me to create (and not that interesting to write for the same reasons).
* Summary
What info do you hope to glean from the summary?
* Completions?
I am getting solid completions, but perhaps it is because I am using spacemacs? Would be neat if `company-mode` (my backend) could suggest snakemake keywords without them being in the buffer in front of point. But this might be hard to improve on for me due to possible spacemacs interactions?
* `hs-special-modes-alist`
Interesting, never heard of it. hideshow seems like a more flexible folding/narrowing mode. Also neat that you can define forward-sexp functions, although I do not understand the one shown for python.
* snippets
Perhaps I'll start here or with `hs-special-modes-alist`. I'll try to read the stan-mode snippets folder for inspiration (`stan` looks awesome, btw). Haskell-mode does not have snippets included afaics. (And `ghc-mod` is so great you do not need them much anyways.)
* Navigation commands
Also a great idea. Can be easier than imenu for just moving one or two blocks up/down.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/10#issuecomment-211535113
[-- Attachment #2: Type: text/html, Size: 2130 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODOs? (#10)
2016-04-18 19:10 ` Endre Bakken Stovner
@ 2020-04-14 2:03 ` Kyle Meyer
0 siblings, 0 replies; 7+ messages in thread
From: Kyle Meyer @ 2020-04-14 2:03 UTC (permalink / raw)
To: snakemake-mode
------------------------------------------------------------------------
Some replies are missing, as described at
https://inbox.kyleam.com/snakemake-mode/874ktmyh4u.fsf@kyleam.com/
The text below is copied from
https://github.com/kyleam/snakemake-mode/issues/10#issuecomment-211627321
------------------------------------------------------------------------
>> Summary
>
> What info do you hope to glean from the summary?
I'm not sure how to answer that aside from "the information shown by
snakemake --summary [target ...]".
Completions? I am getting solid completions, but perhaps it is
because I am using spacemacs? Would be neat if company-mode (my
backend) could suggest snakemake keywords without them being in the
buffer in front of point. But this might be hard to improve on for me
due to possible spacemacs interactions?
I don't know much about spacemacs, so I'm not sure. In general, I
don't use code completion for any languages, and instead just rely on
hippie-expand and, to a lesser extent, abbrev definitions and
snippets. Because of this, I really haven't had a motivation to
explore this for Snakemake mode.
>> snippets
> Perhaps I'll start here or with hs-special-modes-alist. I'll try to
> read the stan-mode snippets folder for inspiration (stan looks
> awesome, btw). Haskell-mode does not have snippets included
> afaics. (And ghc-mod is so great you do not need them much anyways.)
I may have been thinking of the Haskell snippets at
https://github.com/polypus74/HSnippets when I took the note, but I'm
not sure. How these are packaged is orthogonal to the actual snippet
contents, so we can put packaging off until we think we have a
collection of snippets worth including.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODOs? (#10)
2016-04-17 19:08 TODOs? (#10) Endre Bakken Stovner
2016-04-18 19:10 ` Endre Bakken Stovner
@ 2016-04-21 18:04 ` Endre Bakken Stovner
2020-04-13 23:54 ` Kyle Meyer
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Endre Bakken Stovner @ 2016-04-21 18:04 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer, Comment
[-- Attachment #1: Type: text/plain, Size: 504 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 commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/10#issuecomment-213040854
[-- Attachment #2: Type: text/html, Size: 1190 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODOs? (#10)
2016-04-17 19:08 TODOs? (#10) Endre Bakken Stovner
2016-04-18 19:10 ` Endre Bakken Stovner
2016-04-21 18:04 ` Endre Bakken Stovner
@ 2020-04-13 23:54 ` Kyle Meyer
2020-04-13 23:54 ` Kyle Meyer
2020-04-14 1:58 ` [kyleam/snakemake-mode] " Kyle Meyer
4 siblings, 0 replies; 7+ messages in thread
From: Kyle Meyer @ 2020-04-13 23:54 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer, Your activity
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
Closing, as I don't think keeping this open serves any purpose.
--
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/10#issuecomment-613152714
[-- Attachment #2: Type: text/html, Size: 1176 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TODOs? (#10)
2016-04-17 19:08 TODOs? (#10) Endre Bakken Stovner
` (2 preceding siblings ...)
2020-04-13 23:54 ` Kyle Meyer
@ 2020-04-13 23:54 ` Kyle Meyer
2020-04-14 1:58 ` [kyleam/snakemake-mode] " Kyle Meyer
4 siblings, 0 replies; 7+ messages in thread
From: Kyle Meyer @ 2020-04-13 23:54 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer, Your activity
[-- Attachment #1: Type: text/plain, Size: 201 bytes --]
Closed #10.
--
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/10#event-3228958052
[-- Attachment #2: Type: text/html, Size: 1473 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [kyleam/snakemake-mode] TODOs? (#10)
2016-04-17 19:08 TODOs? (#10) Endre Bakken Stovner
` (3 preceding siblings ...)
2020-04-13 23:54 ` Kyle Meyer
@ 2020-04-14 1:58 ` Kyle Meyer
4 siblings, 0 replies; 7+ messages in thread
From: Kyle Meyer @ 2020-04-14 1:58 UTC (permalink / raw)
To: snakemake-mode
[ ----------------------------------------------------------------------
Some replies are missing, as described at
https://inbox.kyleam.com/snakemake-mode/874ktmyh4u.fsf@kyleam.com/
The text below is copied from
https://github.com/kyleam/snakemake-mode/issues/10#issuecomment-211116864
---------------------------------------------------------------------- ]
Hmm, here are the TODOs I have locally:
Add menus (easy-menu-define)
This should be simple, but I haven't had the motivation because I
don't use menus.
Add command to display snakemake --summary
This would probably take some work, and I haven't really thought
about it much.
Completions?
Define hs-special-modes-alist
Snippets
See Stan mode snippets and Haskell mode snippets for examples of
packaging these.
Navigation commands
{beginning,end}-of-defun-function for rule blocks
python-nav-{backward,forward}-block replacements for rule fields
^ permalink raw reply [flat|nested] 7+ messages in thread