From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 12 Feb 2018 03:20:05 +0000 (UTC) From: Kyle Meyer Reply-To: kyleam/snakemake-mode Message-ID: In-Reply-To: References: Subject: Re: indentation problems (#26) Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="--==_mimepart_5a8107e4d7bdf_7f942ace32c2aecc4236d9"; 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_5a8107e4d7bdf_7f942ace32c2aecc4236d9 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > Since updating to the newest version Do you happen to recall what version(-ish) you upgraded from? > Any suggestions on what might be causing this? Hmm, I'm not having any luck reproducing this (Emacs 25.3, GNU/Linux). Starting with point in front of "message", TAB indents it four spaces. You could try debugging `snakemake--calculate-indentation`, particularly https://github.com/kyleam/snakemake-mode/blob/6cf6d20db2e5253ce3f86e302651faa28f220aa7/snakemake-mode.el#L258-L269 That should return the value of `snakemake-indent-field-offset` (4 by default). > I did upgrade a bunch of things at once, of course, so the cause might be somewhere else. You could also try testing with emacs -Q, and then just loading snakemake-mode and its dependencies (dash, magit-popup). If you have a local clone of the repo, running `make test` would tell you if the indentation tests (ran with emacs -Q) are passing for you. What version of Emacs are you using? -- 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/26#issuecomment-364820394 ----==_mimepart_5a8107e4d7bdf_7f942ace32c2aecc4236d9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Since updating to the newest version

Do you happen to recall what version(-ish) you upgraded from?

Any suggestions on what might be causing this?

Hmm, I'm not having any luck reproducing this (Emacs 25.3, GNU/Linux). Starting with point in front of "message", TAB indents it four spaces.

You could try debugging snakemake--calculate-indentation, particularly

https://github.com/k= yleam/snakemake-mode/blob/6cf6d20db2e5253ce3f86e302651faa28f220aa7/snakemak= e-mode.el#L258-L269

That should return the value of snakemake-indent-field-offset (4 by
default).

I did upgrade a bunch of things at once, of course, so the cause might b= e somewhere else.

You could also try testing with emacs -Q, and then just loading
snakemake-mode and its dependencies (dash, magit-popup).

If you have a local clone of the repo, running make test wo= uld tell
you if the indentation tests (ran with emacs -Q) are passing for you.

What version of Emacs are you using?

&mda= sh;
You are receiving this because you are subscribed to this thread.<= br />Reply to this email directly, view it on GitHub, or mute the thread.3D""

= ----==_mimepart_5a8107e4d7bdf_7f942ace32c2aecc4236d9--