From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 27 Apr 2015 12:49:38 -0700 From: sonia-t Reply-To: kyleam/snakemake-mode Message-ID: Subject: [snakemake-mode] No indentation on pressing TAB, just error (#4) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_553e92d241825_76bb3fdcb37c52c04973a8"; 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_553e92d241825_76bb3fdcb37c52c04973a8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I'm having issues using TAB for indentation when viewing a Snakefile in emacs with snakemake-mode. When I open a Snakefile in emacs, the syntax highlighting looks correct, but if try to use TAB for indentation, the cursor stays in column 0 and instead I get the error : `Symbol's function definition is void: looking-at-p` Followed directions here: http://melpa.org/#/snakemake-mode My setup: * GNU Emacs 22.1.1 * snakemake-mode commit SHA 295bbfbc94727691d7e9919abf9f358ab7a6b241 * file snakemake-mode.el in my ~/.emacs.d * In my ~/.emacs : ``` (add-to-list 'load-path "~/.emacs.d/") (require 'snakemake-mode) ``` * Also tried in my ~/.emacs : ``` (load-file "~/.emacs.d/snakemake-mode.el") ``` Next I'll try installing from MELPA but i thought this should be documented somewhere. Of course, any insight appreciated. --- Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/4 ----==_mimepart_553e92d241825_76bb3fdcb37c52c04973a8 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

I'm having issues using TAB for indentation when viewing a Snakefile in emacs with snakemake-mode.

When I open a Snakefile in emacs, the syntax highlighting looks correct, but if try to use TAB for indentation, the cursor stays in column 0 and instead I get the error :
Symbol's function definition is void: looking-at-p

Followed directions here:
http://melpa.org/#/snakemake-mode

My setup:

  • GNU Emacs 22.1.1
  • snakemake-mode commit SHA 295bbfb
  • file snakemake-mode.el in my ~/.emacs.d
  • In my ~/.emacs :
(add-to-list 'load-path "~/.emacs.d/")
(require 'snakemake-mode)
  • Also tried in my ~/.emacs :
(load-file "~/.emacs.d/snakemake-mode.el")

Next I'll try installing from MELPA but i thought this should be documented somewhere. Of course, any insight appreciated.


Reply to this email directly or view it on GitHub.

----==_mimepart_553e92d241825_76bb3fdcb37c52c04973a8-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 27 Apr 2015 13:00:59 -0700 From: sonia-t Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: [snakemake-mode] No indentation on pressing TAB, just error (#4) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_553e957b9df68_1e0c3fb4985672a04195e"; 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_553e957b9df68_1e0c3fb4985672a04195e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit TAB indent functionality works with Emacs 24.3 ... not sure why macOS system emacs is so old :( --- Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/4#issuecomment-96797689 ----==_mimepart_553e957b9df68_1e0c3fb4985672a04195e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

TAB indent functionality works with Emacs 24.3 ... not sure why macOS system emacs is so old :(


Reply to this email directly or view it on GitHub.

----==_mimepart_553e957b9df68_1e0c3fb4985672a04195e-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 27 Apr 2015 13:01:00 -0700 From: sonia-t Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: [snakemake-mode] No indentation on pressing TAB, just error (#4) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_553e957c6307_78e13fe00ccaf2c02320e0"; 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_553e957c6307_78e13fe00ccaf2c02320e0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Closed #4. --- Reply to this email directly or view it on GitHub: https://github.com/kyleam/snakemake-mode/issues/4#event-291274001 ----==_mimepart_553e957c6307_78e13fe00ccaf2c02320e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Closed #4.


Reply to this email directly or view it on GitHub.

----==_mimepart_553e957c6307_78e13fe00ccaf2c02320e0-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms12 with LMTPS id 2LrUFVYdlV5RcgAAsNZ9tg (envelope-from ) for ; Tue, 14 Apr 2020 02:17: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 mp1 with LMTPS id 2BoNClYdlV5NWgAAbx9fmQ (envelope-from ) for ; Tue, 14 Apr 2020 02:17: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 2FC52681CAB for ; Tue, 14 Apr 2020 02:17:55 +0000 (UTC) Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 826C763E1C for ; Mon, 13 Apr 2020 22:17: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=u19l5dxJdeHciGDnTS3xfEsW32E=; b=YcJ9Wa KVyHHhfWPfuoaQlGPPnNmYHEijXlnOIXgyu8IyPw98EOCMXXaDTTJsCADh1p1Dii h6aE0AkxuHMSuqQeKIsd/9uqNfq7l355UR5AKEt+UiDrjVtjpYulg71l98i6OxyH zd1zDT8DPTkDwNppSieutbYEWXWLgdw4e1Dpo= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 79D1363E1B for ; Mon, 13 Apr 2020 22:17: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=rhjz8XgPcqDixflo26LaTivyBdra4uT38vVEmAbuls4=; b=inYQizKMl6LTELkIxfCalxcgxok0UTxhtKa/d3ngWns6fs/naQbDBmvmw0iiZM9VFJ4kqUZrLg9pQpCNxRY5HfxxYVEo7X+9E+2SP6Kmt5ul5hOV8gal43240GvGtxox/U07lPfLcqw3PDjt1EKqaBDWxyU2JWGzC5E1a7MMSV8= 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 F0BF563E1A for ; Mon, 13 Apr 2020 22:17:53 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: snakemake-mode@inbox.kyleam.com Subject: Re: [snakemake-mode] No indentation on pressing TAB, just error (#4) In-Reply-To: References: Date: Tue, 14 Apr 2020 02:17:53 +0000 Message-ID: <87k12ix12m.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 25EE6332-7DF6-11EA-840F-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=YcJ9Wa K; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=inYQizKM; 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.4812581391329]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.108.0/24]; 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]; IP_REPUTATION_HAM(0.00)[asn: 11403(-0.19), country: US(-0.01), ip: 64.147.108.70(0.00)]; 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)[] X-TUID: tUYgthSAH6nS ------------------------------------------------------------------------ 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/4#issuecomment-96828223 ------------------------------------------------------------------------ Great, glad it's working for you now. The reason that Snakemake mode depends on Emacs 24 is that it uses python.el, which wasn't included until version 24.