* Rules not properly indented after copy/pasting (#8)
@ 2016-04-15 5:53 Endre Bakken Stovner
2016-04-15 18:39 ` Endre Bakken Stovner
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: Endre Bakken Stovner @ 2016-04-15 5:53 UTC (permalink / raw)
To: kyleam/snakemake-mode
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
When I copy/paste a rule it looks like this afterwards:
```
rule create_design_matrix:
output:
outfile = "tmpdir/run_csaw_{input_use}/design_matrix.csv"
run:
time = pd.Series(list(range(0, 25, 3)) * 2)
values = time * 2 * np.pi / 17
sine = np.sin(values)
cosine = np.cos(values)
design = pd.concat([time, sine, cosine], axis=1)
design.columns = "Time Sine Cosine".split()
design.to_csv(output.outfile, index=False, sep=" ")
```
Normally, I'd just mark the region and press `=` (`evil-indent`) to get the proper indentation, but that isn't working either. I'll prolly look into it myself eventually, but would love input on what you think is happening/best ways to fix.
---
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/8
[-- Attachment #2: Type: text/html, Size: 1535 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Rules not properly indented after copy/pasting (#8)
2016-04-15 5:53 Rules not properly indented after copy/pasting (#8) Endre Bakken Stovner
@ 2016-04-15 18:39 ` Endre Bakken Stovner
2016-04-15 18:39 ` Endre Bakken Stovner
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Endre Bakken Stovner @ 2016-04-15 18:39 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer
[-- Attachment #1: Type: text/plain, Size: 300 bytes --]
I only evaled the two new files, did not install them in the `.emacs.d/elpa/` folder, but this seems to have fixed my issues.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/8#issuecomment-210585946
[-- Attachment #2: Type: text/html, Size: 940 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Rules not properly indented after copy/pasting (#8)
2016-04-15 5:53 Rules not properly indented after copy/pasting (#8) Endre Bakken Stovner
2016-04-15 18:39 ` Endre Bakken Stovner
@ 2016-04-15 18:39 ` Endre Bakken Stovner
2016-04-29 6:58 ` Endre Bakken Stovner
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Endre Bakken Stovner @ 2016-04-15 18:39 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer
[-- Attachment #1: Type: text/plain, Size: 178 bytes --]
Closed #8.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/8#event-629339769
[-- Attachment #2: Type: text/html, Size: 1069 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Rules not properly indented after copy/pasting (#8)
2016-04-15 5:53 Rules not properly indented after copy/pasting (#8) Endre Bakken Stovner
2016-04-15 18:39 ` Endre Bakken Stovner
2016-04-15 18:39 ` Endre Bakken Stovner
@ 2016-04-29 6:58 ` Endre Bakken Stovner
2016-04-29 6:58 ` Endre Bakken Stovner
2020-04-17 0:10 ` Kyle Meyer
4 siblings, 0 replies; 6+ messages in thread
From: Endre Bakken Stovner @ 2016-04-29 6:58 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer, Comment
[-- Attachment #1: Type: text/plain, Size: 458 bytes --]
I am experiencing the same problem with `yasnippets`.
This rule:
```
# -*- mode: snippet -*-
# name: rule
# key: rl
# --
rule $1:
input:
infile = ""
output:
outfile = ""
$0
```
expands into this:
```
rule :
input:
infile = ""
output:
outfile = ""
```
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/8#issuecomment-215642123
[-- Attachment #2: Type: text/html, Size: 1145 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Rules not properly indented after copy/pasting (#8)
2016-04-15 5:53 Rules not properly indented after copy/pasting (#8) Endre Bakken Stovner
` (2 preceding siblings ...)
2016-04-29 6:58 ` Endre Bakken Stovner
@ 2016-04-29 6:58 ` Endre Bakken Stovner
2020-04-17 0:10 ` Kyle Meyer
4 siblings, 0 replies; 6+ messages in thread
From: Endre Bakken Stovner @ 2016-04-29 6:58 UTC (permalink / raw)
To: kyleam/snakemake-mode; +Cc: Kyle Meyer, Comment
[-- Attachment #1: Type: text/plain, Size: 180 bytes --]
Reopened #8.
---
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/8#event-645236042
[-- Attachment #2: Type: text/html, Size: 1071 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Rules not properly indented after copy/pasting (#8)
2016-04-15 5:53 Rules not properly indented after copy/pasting (#8) Endre Bakken Stovner
` (3 preceding siblings ...)
2016-04-29 6:58 ` Endre Bakken Stovner
@ 2020-04-17 0:10 ` Kyle Meyer
4 siblings, 0 replies; 6+ messages in thread
From: Kyle Meyer @ 2020-04-17 0:10 UTC (permalink / raw)
To: snakemake-mode
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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-04-17 0:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-15 5:53 Rules not properly indented after copy/pasting (#8) Endre Bakken Stovner
2016-04-15 18:39 ` Endre Bakken Stovner
2016-04-15 18:39 ` Endre Bakken Stovner
2016-04-29 6:58 ` Endre Bakken Stovner
2016-04-29 6:58 ` Endre Bakken Stovner
2020-04-17 0:10 ` Kyle Meyer
Code repositories for project(s) associated with this public inbox
https://git.kyleam.com/snakemake-mode/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).