discussion and development of Emacs Snakemake mode
 help / color / mirror / code / Atom feed
* [snakemake-mode] No indentation on pressing TAB, just error   (#4)
@ 2015-04-27 19:49 sonia-t
  2015-04-27 20:00 ` sonia-t
  2015-04-27 20:01 ` sonia-t
  0 siblings, 2 replies; 4+ messages in thread
From: sonia-t @ 2015-04-27 19:49 UTC (permalink / raw)
  To: kyleam/snakemake-mode

[-- Attachment #1: Type: text/plain, Size: 932 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1831 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [snakemake-mode] No indentation on pressing TAB, just error   (#4)
  2015-04-27 19:49 [snakemake-mode] No indentation on pressing TAB, just error (#4) sonia-t
@ 2015-04-27 20:00 ` sonia-t
  2020-04-14  2:17   ` Kyle Meyer
  2015-04-27 20:01 ` sonia-t
  1 sibling, 1 reply; 4+ messages in thread
From: sonia-t @ 2015-04-27 20:00 UTC (permalink / raw)
  To: kyleam/snakemake-mode

[-- Attachment #1: Type: text/plain, Size: 224 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 856 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [snakemake-mode] No indentation on pressing TAB, just error   (#4)
  2015-04-27 19:49 [snakemake-mode] No indentation on pressing TAB, just error (#4) sonia-t
  2015-04-27 20:00 ` sonia-t
@ 2015-04-27 20:01 ` sonia-t
  1 sibling, 0 replies; 4+ messages in thread
From: sonia-t @ 2015-04-27 20:01 UTC (permalink / raw)
  To: kyleam/snakemake-mode

[-- Attachment #1: Type: text/plain, Size: 132 bytes --]

Closed #4.

---
Reply to this email directly or view it on GitHub:
https://github.com/kyleam/snakemake-mode/issues/4#event-291274001

[-- Attachment #2: Type: text/html, Size: 894 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [snakemake-mode] No indentation on pressing TAB, just error   (#4)
  2015-04-27 20:00 ` sonia-t
@ 2020-04-14  2:17   ` Kyle Meyer
  0 siblings, 0 replies; 4+ messages in thread
From: Kyle Meyer @ 2020-04-14  2:17 UTC (permalink / raw)
  To: snakemake-mode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-14  2:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-27 19:49 [snakemake-mode] No indentation on pressing TAB, just error (#4) sonia-t
2015-04-27 20:00 ` sonia-t
2020-04-14  2:17   ` Kyle Meyer
2015-04-27 20:01 ` sonia-t

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).