From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sun, 17 Apr 2016 12:08:31 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: Subject: TODOs? (#10) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5713df2fba26d_d763facad68d2bc10238d"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: kyleam/snakemake-mode List-Archive: https://github.com/kyleam/snakemake-mode List-Post: List-Unsubscribe: , To: kyleam/snakemake-mode ----==_mimepart_5713df2fba26d_d763facad68d2bc10238d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ----==_mimepart_5713df2fba26d_d763facad68d2bc10238d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

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

----==_mimepart_5713df2fba26d_d763facad68d2bc10238d-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 18 Apr 2016 12:10:49 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: TODOs? (#10) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_571531397bd6b_48d33fbe74ba52bc124018"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: kyleam/snakemake-mode List-Archive: https://github.com/kyleam/snakemake-mode List-Post: List-Unsubscribe: , To: kyleam/snakemake-mode Cc: Kyle Meyer ----==_mimepart_571531397bd6b_48d33fbe74ba52bc124018 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit * 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 ----==_mimepart_571531397bd6b_48d33fbe74ba52bc124018 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
  • 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

----==_mimepart_571531397bd6b_48d33fbe74ba52bc124018-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 21 Apr 2016 11:04:57 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: TODOs? (#10) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_57191649b216a_530b3fd051f712bc454885"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: kyleam/snakemake-mode List-Archive: https://github.com/kyleam/snakemake-mode List-Post: List-Unsubscribe: , To: kyleam/snakemake-mode Cc: Kyle Meyer , Comment ----==_mimepart_57191649b216a_530b3fd051f712bc454885 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I have the following snippet for `hs-special-modes-alist`, but it does not work: ``` ;;; 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 ----==_mimepart_57191649b216a_530b3fd051f712bc454885 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

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

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

----==_mimepart_57191649b216a_530b3fd051f712bc454885-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 13 Apr 2020 16:54:40 -0700 From: Kyle Meyer Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: TODOs? (#10) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5e94fbc0ac063_55c43fe64b4cd96833178f"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: kyleam/snakemake-mode List-Archive: https://github.com/kyleam/snakemake-mode List-Post: List-Unsubscribe: , To: kyleam/snakemake-mode Cc: Kyle Meyer , Your activity ----==_mimepart_5e94fbc0ac063_55c43fe64b4cd96833178f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ----==_mimepart_5e94fbc0ac063_55c43fe64b4cd96833178f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

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, view it on GitHub, or unsubscribe.

----==_mimepart_5e94fbc0ac063_55c43fe64b4cd96833178f-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 13 Apr 2020 16:54:41 -0700 From: Kyle Meyer Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: TODOs? (#10) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5e94fbc186e5d_38a03fc410acd9601452ab"; charset=UTF-8 Content-Transfer-Encoding: 7bit List-ID: kyleam/snakemake-mode List-Archive: https://github.com/kyleam/snakemake-mode List-Post: List-Unsubscribe: , To: kyleam/snakemake-mode Cc: Kyle Meyer , Your activity ----==_mimepart_5e94fbc186e5d_38a03fc410acd9601452ab Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ----==_mimepart_5e94fbc186e5d_38a03fc410acd9601452ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Closed #10.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

----==_mimepart_5e94fbc186e5d_38a03fc410acd9601452ab-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id nUjOMbcYlV6YXAAAsNZ9tg (envelope-from ) for ; Tue, 14 Apr 2020 01:58:15 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0NehELcYlV7INQAAB5/wlQ (envelope-from ) for ; Tue, 14 Apr 2020 01:58:15 +0000 Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 800B2682156 for ; Tue, 14 Apr 2020 01:58:12 +0000 (UTC) Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 0CE9DC50FB for ; Mon, 13 Apr 2020 21:58:11 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=gB33n/osXo0uHmzQeaKybHAw5sU=; b=UrVPn8 46FPWce3Vnx4dlH6nmWMFtOWzbG5nVk7Ga0ohlb9SW/fieJVG+9ZZb7Qyfr+vo8i U3hANhEJ6hy0DeqdkrJ7DTfHeiH9SoMvUGgL8NSJ8j/HAaCt1eHPm03YBgq6gSSt FLLfNcjYoJ9LweCxuzdd0PKGTjPnkRUmV30sQ= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 055EDC50FA for ; Mon, 13 Apr 2020 21:58:11 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=y0g5bHRFkK2ybML5mLVChXfNsbvSevt0Ngo5FmVVcYI=; b=P7qpFZbwVN+CuCR+Z2/DX+hmn02vqBydPLVDr40O6ENx34XJmxredoEdtQ9aHxDGItJxpBCok3eq2OoSIiHzR8O4pF2hv0vABZ/8gfNLVEyDi8Ea2+IdLUoQ/fCB0WCPmBLnni+dM9pR5u1qfIzSN4KzOKb7yDHySR3tdEvXrfI= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 768F8C50F8 for ; Mon, 13 Apr 2020 21:58:08 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: snakemake-mode@inbox.kyleam.com Subject: Re: [kyleam/snakemake-mode] TODOs? (#10) In-Reply-To: References: Date: Tue, 14 Apr 2020 01:58:06 +0000 Message-ID: <871roqygk1.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 635109BC-7DF3-11EA-8977-8D86F504CC47-24757444!pb-smtp21.pobox.com X-Scanner: scn0 X-Spam-Score: -1.00 Authentication-Results: aspmx2.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=UrVPn8 4; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=P7qpFZbw; dmarc=none; spf=pass (aspmx2.migadu.com: domain of kyle@kyleam.com designates 173.228.157.53 as permitted sender) smtp.mailfrom=kyle@kyleam.com X-Scan-Result: default: False [-1.00 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl,kyleam.com:s=mesmtp]; FROM_HAS_DN(0.00)[]; SPF_REPUTATION_HAM(0.00)[-0.48119191655981]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 11403(-0.19), country: US(-0.01), ip: 173.228.157.53(0.00)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[snakemake-mode@inbox.kyleam.com]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[kyleam.com]; R_SPF_ALLOW(-0.20)[+ip4:173.228.157.0/24]; MX_GOOD(-0.50)[cached: mx-5.rightbox.com]; DKIM_TRACE(0.00)[pobox.com:+,kyleam.com:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:173.228.157.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] X-TUID: PmrrJ+cTowwZ [ ---------------------------------------------------------------------- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id muYdIg4alV7IZQAAsNZ9tg (envelope-from ) for ; Tue, 14 Apr 2020 02:03:58 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SDVpBQ4alV5BWAAA1q6Kng (envelope-from ) for ; Tue, 14 Apr 2020 02:03:58 +0000 Received: from pb-smtp1.pobox.com (pb-smtp1.pobox.com [64.147.108.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id 4EF84681CA3 for ; Tue, 14 Apr 2020 02:03:55 +0000 (UTC) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id B13A563C5E for ; Mon, 13 Apr 2020 22:03:54 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=kt0XE0NGwtvce19w9cV+kw+oL4I=; b=BlBaHI JiAI6kAyjAW2Y5R/z3YyECd4q2PcxhOFL3BZzn2t/a+DkHHD6xDOWVQXX9ULxAwC hiIcZK2np8PfqNIa2CwssMFpRsPHNrPYsKYPI7LOBfc7QBhRJVhRuoBfi3frAFX+ bVPH65NK2y5EKFQVw17RwVJi6T7K4Un6YwMlU= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A917A63C5D for ; Mon, 13 Apr 2020 22:03:54 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=+VlJTQElxyFWG/NtFrI+Tx+0pc2ohsxJsilc9Iv+4XI=; b=gZwaVEXu4TXvznLp4mgSGSMm1AHKgYAZNE0nxHpFHKRw0mnB93L9URf7zUtgEAh7sfljxGK7yCHsx2ePmFe+dGw2ZWlh6DQeJuFChwDqA8iVGLtkTlg9qInhnUy2fxRJRaWtzTgyyil6SMnvxXrGNwq3bevvTL6WZrjagjhKs18= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 296A163C5A for ; Mon, 13 Apr 2020 22:03:54 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: snakemake-mode@inbox.kyleam.com Subject: Re: TODOs? (#10) In-Reply-To: References: Date: Tue, 14 Apr 2020 02:03:53 +0000 Message-ID: <87wo6ix1py.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 315C823C-7DF4-11EA-94D9-C28CBED8090B-24757444!pb-smtp1.pobox.com X-Scanner: scn0 X-Spam-Score: -1.00 Authentication-Results: aspmx2.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=BlBaHI J; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=gZwaVEXu; dmarc=none; spf=pass (aspmx2.migadu.com: domain of kyle@kyleam.com designates 64.147.108.70 as permitted sender) smtp.mailfrom=kyle@kyleam.com X-Scan-Result: default: False [-1.00 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl,kyleam.com:s=mesmtp]; FROM_HAS_DN(0.00)[]; SPF_REPUTATION_HAM(0.00)[-0.4812199342098]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_REPUTATION_HAM(0.00)[asn: 11403(-0.19), country: US(-0.01), ip: 64.147.108.70(0.00)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[snakemake-mode@inbox.kyleam.com]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[kyleam.com]; R_SPF_ALLOW(-0.20)[+ip4:64.147.108.0/24]; MX_GOOD(-0.50)[cached: mx-5.rightbox.com]; DKIM_TRACE(0.00)[pobox.com:+,kyleam.com:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.108.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; SUBJECT_HAS_QUESTION(0.00)[] X-TUID: tzJEJYrDEim6 ------------------------------------------------------------------------ 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.