From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 21 Apr 2016 11:08:35 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: Subject: hs-special-modes-alist not working (#14) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_571917233fcb3_65833fe7bbaa129c508bc"; 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_571917233fcb3_65833fe7bbaa129c508bc 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 are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/14 ----==_mimepart_571917233fcb3_65833fe7bbaa129c508bc 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 are subscribed to this thread.
Reply to this email directly or view it on GitHub

----==_mimepart_571917233fcb3_65833fe7bbaa129c508bc-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 21 Apr 2016 22:50:36 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: hs-special-modes-alist not working (#14) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5719bbacf25e0_69fe3f9dcbb052b8900646"; 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_5719bbacf25e0_69fe3f9dcbb052b8900646 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ----==_mimepart_5719bbacf25e0_69fe3f9dcbb052b8900646 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Closed #14.


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

----==_mimepart_5719bbacf25e0_69fe3f9dcbb052b8900646-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Thu, 21 Apr 2016 22:50:36 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: hs-special-modes-alist not working (#14) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5719bbacdd106_75dc3fbe654d92bc1955f6"; 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_5719bbacdd106_75dc3fbe654d92bc1955f6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ----==_mimepart_5719bbacdd106_75dc3fbe654d92bc1955f6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

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

----==_mimepart_5719bbacdd106_75dc3fbe654d92bc1955f6-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 22 Apr 2016 08:51:30 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: hs-special-modes-alist not working (#14) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_571a4881f2276_c503fab933652bc7175c4"; 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_571a4881f2276_c503fab933652bc7175c4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ----==_mimepart_571a4881f2276_c503fab933652bc7175c4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

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

----==_mimepart_571a4881f2276_c503fab933652bc7175c4-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 22 Apr 2016 11:07:55 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: hs-special-modes-alist not working (#14) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_571a687b21f72_269e3fcb7da432a01911a"; 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_571a687b21f72_269e3fcb7da432a01911a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks! On Fri, Apr 22, 2016 at 7:57 PM, Kyle Meyer 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.) > > =E2=80=94 > You are receiving this because you modified the open/close state. > Reply to this email directly or view it on GitHub > > --- 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= ----==_mimepart_571a687b21f72_269e3fcb7da432a01911a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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<= br> > > 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 gues= s
> sounds right.
>
> I was going to suggest you check snakemake-in-rule-or-subworkflow-bloc= k-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 correc= tly
> (rule blocks that are indented under, say, an if statement; the functi= on
> relies on no blanks between rule lines even though this is legal
> syntax). I should rewrite it, and then the forward-sexp-function shoul= d
> pretty much fall out of that.
>
> However, I don't think I'll find time to do that for another w= eek or
> two. (In the meantime, I'll probably be pretty unresponsive in gen= eral,
> aside from merging #13.)
>
> =E2=80=94
> 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-21= 3530196>
>

&mda= sh;
You are receiving this because you commented.
Reply to this e= mail directly or view it on GitHub3D""

----==_mimepart_571a687b21f72_269e3fcb7da432a01911a-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 22 Apr 2016 11:11:57 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: hs-special-modes-alist not working (#14) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_571a696d1ecd5_2bbf3f9780c552b837709d"; 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_571a696d1ecd5_2bbf3f9780c552b837709d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ----==_mimepart_571a696d1ecd5_2bbf3f9780c552b837709d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Reopened #14.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub

----==_mimepart_571a696d1ecd5_2bbf3f9780c552b837709d-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 11 May 2016 00:32:58 -0700 From: Endre Bakken Stovner Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: hs-special-modes-alist not working (#14) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5732e02adefde_18cb3fac1ae412bc8071e"; 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_5732e02adefde_18cb3fac1ae412bc8071e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 ----==_mimepart_5732e02adefde_18cb3fac1ae412bc8071e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

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

----==_mimepart_5732e02adefde_18cb3fac1ae412bc8071e-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id cL5YBZ70mF7VVgAAsNZ9tg (envelope-from ) for ; Fri, 17 Apr 2020 00:13:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SAb2FZ30mF62XgAA1q6Kng (envelope-from ) for ; Fri, 17 Apr 2020 00:13:17 +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 aspmx1.migadu.com (Postfix) with ESMTPS id D8B2794029B for ; Fri, 17 Apr 2020 00:13:16 +0000 (UTC) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2A46056A60 for ; Thu, 16 Apr 2020 20:13:16 -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=r8KfrYXwXQYf+gcssoAKtqo/sGA=; b=uJZawq b+83rqfYD+0dMyIzPglWV12b/JGEiNQycr7tHzkiVbPNjzpfaz+ghwnfrVtV4btC Q1rwT+otykizxK4lBZpUZd2XYSGZH0bz5UdqZ65fIujYZucIbiSIVjko3v8J/zdQ dovK2V+1MtdjvXazBgEn7Ko7ddhh8NunkZE7k= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2158156A5F for ; Thu, 16 Apr 2020 20:13:16 -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=XtlU244VP/sc0GfPDzfu8RIcUvMfZyVxpEvNOY0OyjE=; b=ygslrDBijWHLwAxn2N3ioL8QPRvKlFvLpbzxrYASvqkx/TDsrM/j/Gr9a5+XJsOzN8Jlt/EFZn6qxLDWIRHacXa61dmp38GgynA1uPb7dmZQAN7bchhYPpU/TBswh4J9oAnMZh/+/QUpYgoK+ajTAuWFLcjsvTLTQ16hItN4fWw= 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 9269456A5D for ; Thu, 16 Apr 2020 20:13:15 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: snakemake-mode@inbox.kyleam.com Subject: Re: hs-special-modes-alist not working (#14) In-Reply-To: References: Date: Fri, 17 Apr 2020 00:13:14 +0000 Message-ID: <87pnc76kbp.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 3BB46E40-8040-11EA-9E13-C28CBED8090B-24757444!pb-smtp1.pobox.com X-Scanner: scn0 X-Spam-Score: -1.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=pobox.com header.s=sasl header.b=uJZawq b; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=ygslrDBi; dmarc=none; spf=pass (aspmx1.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.10 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.57301965945416]; R_DKIM_ALLOW(-0.20)[pobox.com:s=sasl,kyleam.com:s=mesmtp]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.108.0/24:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[snakemake-mode@inbox.kyleam.com]; RCPT_COUNT_ONE(0.00)[1]; URIBL_BLOCKED(0.00)[kyleam.com:dkim,pobox.com:dkim]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[kyleam.com]; IP_REPUTATION_HAM(0.00)[asn: 11403(-0.19), country: US(-0.01), ip: 64.147.108.70(-0.57)]; 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)[]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.108.70:from] X-TUID: Ay0I3bkR0mXI 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.