discussion and development of Emacs Snakemake mode
 help / color / mirror / code / Atom feed
* TODOs? (#10)
@ 2016-04-17 19:08 Endre Bakken Stovner
  2016-04-18 19:10 ` Endre Bakken Stovner
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Endre Bakken Stovner @ 2016-04-17 19:08 UTC (permalink / raw)
  To: kyleam/snakemake-mode

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

I am teaching myself elisp, but do not have much stuff to work on right now, so if you make a TODO I'll start looking into it. 

I guess a readme might be in order, but for me to help on that I would need to ask you loads of inane questions about the code.

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

[-- Attachment #2: Type: text/html, Size: 1043 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
  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-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

* 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

end of thread, other threads:[~2020-04-14  2:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2020-04-13 23:54 ` Kyle Meyer
2020-04-13 23:54 ` Kyle Meyer
2020-04-14  1:58 ` [kyleam/snakemake-mode] " Kyle Meyer

discussion and development of Emacs Snakemake mode

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.kyleam.com/snakemake-mode/0 snakemake-mode/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 snakemake-mode snakemake-mode/ https://inbox.kyleam.com/snakemake-mode \
		snakemake-mode@inbox.kyleam.com
	public-inbox-index snakemake-mode

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.snakemake-mode


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

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

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git