Code Monkey home page Code Monkey logo

atom-slime's People

Contributors

adamweaver avatar fstiewitz avatar haz avatar neil-lindquist avatar saulshanabrook avatar sjlevine avatar snmsts avatar tlimp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atom-slime's Issues

Input functions won't accept input in the REPL

When I do something such as

(y-or-n-p "Yes or no?")

The prompt comes up, but it won't accept input. The only way to recover the REPL is to interrupt lisp. I'm using clisp with the change from #22, by the way.

Unable to start slime

I've downloaded slime from github and placed the directory at ~/Desktop/slime. and I've tried both ~/Desktop/slime/slime and ~/Desktop/slime in the Slime Path setting but I always get

Did you set up atom-slime as noted in the package's preferences?
The "Slime Path" directory can't be opened.
Please double check it!

OS:
OS X 10.11

Deprecated selector in `atom-slime/styles/atom-slime.less`

Preface: This issue was automatically generated from the Atom Beta release.

In atom-slime/styles/atom-slime.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .repl-prompt => atom-text-editor.editor .syntax--repl-prompt

  • atom-text-editor::shadow .repl-line => atom-text-editor.editor .repl-line

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Weird Crash With #\

Opening a new file, saving it with a .lisp extension (to enable Lisp mode), and then typing this seems to crash the interpreter:

(ql:quickload "split-sequence")

(split-sequence:split-sequence #\)

It occurs just as you type the \

Proper spaces

Hello, and, foa, thanks for your great work. Very excited to be able to use my favorite text editor with lisp. But I have this little annoying thing -- in repl instead of spaces and instead of anything that is supposed to be just nothing it writes this things []. I definetly have proper white spaces in every other place, so I d say this is some package specific problem.
Any ideas?

Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

[Enter steps to reproduce below:]

  1. experiment with lisp-paredit
  2. after a while the problem will be triggered

Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: atom-slime package, v1.7.2

Stack Trace

Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

At /Users/jacekpodkanski/.atom/packages/atom-slime/lib/slime-functions.coffee:10

TypeError: Cannot read property 'toLowerCase' of undefined
  at Object.module.exports.getPackage (/Users/jacekpodkanski/.atom/packages/atom-slime/lib/slime-functions.coffee:10:36)
  at AtomSlimeEditor.module.exports.AtomSlimeEditor.stoppedEditingCallback (/Users/jacekpodkanski/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:27:18)
  at /Users/jacekpodkanski/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:15:44
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:86:11)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:1276:25

Commands

  6x -1:00.9.0 lisp-paredit:barf-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  3x -0:53.7.0 lisp-paredit:slurp-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:50.1.0 lisp-paredit:barf-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:45.6.0 lisp-paredit:barf-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:42.7.0 lisp-paredit:slurp-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:40 lisp-paredit:barf-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  3x -0:37.9.0 lisp-paredit:slurp-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:20.5.0 lisp-paredit:barf-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:18.1.0 lisp-paredit:slurp-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  3x -0:15.2.0 lisp-paredit:barf-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:12.3.0 lisp-paredit:slurp-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -0:07.4.0 lisp-paredit:barf-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:06.5.0 lisp-paredit:slurp-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:05.3.0 lisp-paredit:barf-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -0:03.9.0 lisp-paredit:slurp-forwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:01.8.0 lisp-paredit:slurp-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)

Config

{
  "core": {}
}

Installed Packages

# User
atom-slime, v1.7.2
language-lisp, v0.1.2
lisp-paredit, v0.5.1
minimap, v4.16.0

# Dev
No dev packages

end of file on #

If I type

(defun sqr (x)

Followed by enter to move down to the next line and finish my expression

(* x x))

The enter triggers completion on an unbalanced expression resulting in the mentioned error.

Scheme support

I attempted to use this package for MIT scheme but a few things stand in the way (swank server is located at "slime/contrib/swank-mit-scheme.scm" not "slime/start-swank.lisp" for example).

Any thoughts about expanding it to work with any lisp (like scheme) instead of just common-lisp?

Uncaught TypeError: Cannot read property 'connected' of undefined

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.11
System: Linux Mint
Thrown From: atom-slime package, v1.7.1

Stack Trace

Uncaught TypeError: Cannot read property 'connected' of undefined

At /home/andrew/.atom/packages/atom-slime/lib/slime-autocomplete.coffee:11

TypeError: Cannot read property 'connected' of undefined
  at Object.module.exports.getSuggestions (/home/andrew/.atom/packages/atom-slime/lib/slime-autocomplete.coffee:16:14)
  at /usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:267:56
  at Array.forEach (native)
  at AutocompleteManager.module.exports.AutocompleteManager.getSuggestionsFromProviders (/usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:246:17)
  at AutocompleteManager.getSuggestionsFromProviders (/usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61)
  at AutocompleteManager.module.exports.AutocompleteManager.findSuggestions (/usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:233:19)
  at /usr/share/atom/resources/app.asar/node_modules/autocomplete-plus/lib/autocomplete-manager.js:3:61

Commands

     -5:10.8.0 core:save (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -3:29.9.0 lisp-paredit:newline (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -3:28.7.0 lisp-paredit:delete-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -3:27.9.0 core:save (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -2:09.2.0 lisp-paredit:newline (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -2:07.2.0 core:save (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -2:06.3.0 lisp-paredit:delete-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -2:05.1.0 core:save (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  6x -0:13.6.0 lisp-paredit:delete-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
  2x -0:07.6.0 core:select-left (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -0:06.6.0 lisp-paredit:delete-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -0:05.5.0 core:move-right (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -0:04.7.0 lisp-paredit:delete-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -0:01.5.0 core:move-left (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -0:01.2.0 core:move-right (atom-text-editor.editor.lisp-paredit-strict.is-focused)
     -0:00.1.0 lisp-paredit:delete-backwards (atom-text-editor.editor.lisp-paredit-strict.is-focused)

Config

{
  "core": {
    "themes": [
      "one-light-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-jade, v0.3.0
atom-slime, v1.7.1
autocomplete-ruby, v0.1.0
javascript-snippets, v1.0.0
language-conky, v0.2.0
language-ejs, v0.2.0
language-lisp, v0.1.2
language-lua, v0.9.4
linter, v1.5.0
linter-lua, v1.0.0
linter-ruby, v1.1.1
lisp-paredit, v0.4.6
node-debugger, v1.1.8
nodejs-snippets, v1.0.2

# Dev
No dev packages

Slime server crash because of unicode character

I wrote the following code on Atom, it contains some Chinese character, but it shows Disconnected from lisp message shortly:

(defun say-hello (name)
  (format t "~a 我就是要装逼" name))

I can see some info on the Atom console:

Started a swank server

Slime Connected!!

000163(:EMACS-REX (SWANK:SWANK-REQUIRE      '(SWANK-IO-PACKAGE::SWANK-TRACE-DIALOG SWANK-IO-PACKAGE::SWANK-PACKAGE-FU       SWANK-IO-PACKAGE::SWANK-PRESENTATIONS SWANK-IO-PACKAGE::SWANK-FUZZY       SWANK-IO-PACKAGE::SWANK-FANCY-INSPECTOR SWANK-IO-PACKAGE::SWANK-C-P-C       SWANK-IO-PACKAGE::SWANK-ARGLISTS SWANK-IO-PACKAGE::SWANK-REPL)) "COMMON-LISP-USER" T 5)

00003e(:EMACS-REX (SWANK:INIT-PRESENTATIONS) "COMMON-LISP-USER" T 6)

00005c(:EMACS-REX (SWANK-REPL:CREATE-REPL NIL :CODING-SYSTEM "utf-8-unix") "COMMON-LISP-USER" T 7)

00008f(:EMACS-REX (SWANK:AUTODOC '("format" "t" "\"~a �就����\"" SWANK::%CURSOR-MARKER%) :PRINT-RIGHT-MARGIN 80) "CL-USER" :REPL-THREAD 8)

It seems if I input some unicode characters, such as an emoji "😄", the problem is still occurred.

If I input the code on SBCL, it works well:

$ sbcl
This is SBCL 1.3.3, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
* (defun say-hello (name)
  (format t "~a 我就是要装逼" name))

SAY-HELLO
* (say-hello "老雷")
老雷 我就是要装逼
NIL
*

Can't connect to slime

Hey
I have this problem i installed everything but i cant connect to slime
the developers console give me this error
He cant create the directory when trying to start
Can't create directory C:\Users\jp_s.slime\fasl\2.19

REPL doesn't start

After running slime-start I get the message to wait a moment and run slime-connect. After waiting a moment I run slime-connect and successfully connect to the swank server, however no REPL ever shows.

In the dev tools console I do see 1 error message: Error constructing command: TypeError: Cannot read property 'replace' of undefined coming from .../.atom/packages/atom-slime/node_modules/swank-client-js/lib/client.js:259.

Mac OS X 10.11.4
Atom 1.1.5.0

Slime connect not connecting

I've tried this in both atom 1.21.1 and the most recent atom beta version. I have sbcl installed and running and slime. In the settings pane for atom slime I have the paths correctly set to both sbcl and slime.

In fact, slime WAS working about a week ago (or less) in atom beta, but now (for no apparent reason I can discern), when I try Slime->Start from atom's packages menu, it always says "Couldn't connect to lisp". I've tried waiting and restarting slime to no effect. Very strange.

Slime not working with CLisp

This package works with SBCL but not with CLisp (for what it's worth, I installed both using apt-get).
Slime never compiles using CLisp, and even after compiling it with SBCL, restarting it with CLisp fails.

Uncaught TypeError: Cannot read property 'getAutoDoc' of undefined

Hi Steve,

This error keeps on popping up when I have the following code from the practical common lisp book in the editor:

(defvar *count* 0 
  "Count of widgets made so far.")

(defparameter *gap-tolerance* 0.001  
  "Tolerance to be allowed in widget gaps.")

I figured it was an issue with doc strings, but it could be me not knowing what I'm doing.
Thanks for the awesome package, I just won't use doc strings for now!

Atom Version: 1.0.0
System: Mac OS X 10.10.4
Thrown From: atom-slime package, v1.3.0

Stack Trace

Uncaught TypeError: Cannot read property 'getAutoDoc' of undefined

At /Users/devinmcgloin/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:39

TypeError: Cannot read property 'getAutoDoc' of undefined
  at AtomSlimeEditor.module.exports.AtomSlimeEditor.processCursorMoved (/Users/devinmcgloin/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:39:25)
  at /Users/devinmcgloin/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:31:42

Commands

     -0:28.7.0 fuzzy-finder:toggle-file-finder (atom-text-editor.editor.is-focused)
     -0:17.4.0 command-palette:toggle (atom-text-editor.editor.is-focused)
  7x -0:15.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  2x -0:10.1.0 core:move-down (atom-text-editor.editor.mini.is-focused)
     -0:09.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:09.7.0 slime:connect (atom-text-editor.editor)
     -0:04.2.0 lisp-paredit:newline (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "projectHome": "/Users/devinmcgloin/projects",
    "disabledPackages": [
      "pigments",
      "linter-javac",
      "language-ipynb",
      "autocomplete-python",
      "color-picker",
      "language-prolog",
      "language-scala",
      "markdown-pdf"
    ],
    "themes": [
      "one-dark-ui",
      "solarized-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-slime, v1.3.0
autocomplete-haskell, v0.4.5
haskell-ghc-mod, v0.8.1
ide-haskell, v0.6.0
language-haskell, v1.1.6
language-lisp, v0.1.2
language-rust, v0.4.3
linter, v1.1.0
linter-rust, v0.2.1
lisp-paredit, v0.3.1
minimap, v4.10.2
minimap-autohide, v0.10.0
minimap-bookmarks, v0.1.0
minimap-find-and-replace, v4.2.0
minimap-highlight-selected, v4.3.0
minimap-selection, v4.3.0
pdf-view, v0.22.0
tabs-to-spaces, v0.11.0
tidy-markdown, v1.0.0
wordcount, v2.2.2

# Dev
No dev packages

Failed to activate the atom-slime package v2

Just did an install of this two weeks ago that worked fine, had to reload my machine, and upon doing so, I ran into this. I followed all of the steps for install including downloading all of the atom packages, sbcl and slime (also, excuse me for being new to atom). I pasted my config.cson file as well.

Atom Version: 1.12.4
Electron Version: 1.3.9
System: Ubuntu 16.04
Thrown From: atom-slime package, v2.5.2

Stack Trace

Failed to activate the atom-slime package

At editor is not defined

ReferenceError: editor is not defined
    at new AtomSlimeEditor (/home/hawb/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:18:15)
    at /home/hawb/.atom/packages/atom-slime/lib/atom-slime.coffee:74:19
    at Workspace.module.exports.Workspace.observeTextEditors (/usr/share/atom/resources/app.asar/src/workspace.js:329:9)
    at Object.activate (/home/hawb/.atom/packages/atom-slime/lib/atom-slime.coffee:72:30)
    at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:184:19)
    at /usr/share/atom/resources/app.asar/src/package.js:157:32
    at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:92:15)
    at /usr/share/atom/resources/app.asar/src/package.js:150:26
    at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:147:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:548:21)
    at /usr/share/atom/resources/app.asar/src/package-manager.js:529:29
    at Config.module.exports.Config.transactAsync (/usr/share/atom/resources/app.asar/src/config.js:337:18)
    at PackageManager.module.exports.PackageManager.activatePackages (/usr/share/atom/resources/app.asar/src/package-manager.js:524:19)
    at PackageManager.module.exports.PackageManager.activate (/usr/share/atom/resources/app.asar/src/package-manager.js:506:46)
    at /usr/share/atom/resources/app.asar/src/atom-environment.js:792:28

Commands

Config

{
  "core": {
    "telemetryConsent": "limited"
  },
  "atom-slime": {
    "advancedSettings": {
      "connectionAttempts": 15,
      "showSwankDebug": true
    },
    "autoStart": true,
    "lispName": "/usr/bin/sbcl",
    "slimePath": "/home/hawb/prog/slime"
  }
}

Installed Packages

# User
atom-slime, v2.5.2 (inactive)
language-lisp, v0.2.0 (inactive)
lisp-paredit, v0.5.4 (inactive)
atom-dark-syntax, v0.27.0 (inactive)
atom-dark-ui, v0.52.0 (inactive)
atom-light-syntax, v0.28.0 (inactive)
atom-light-ui, v0.45.0 (inactive)
base16-tomorrow-dark-theme, v1.3.0 (inactive)
base16-tomorrow-light-theme, v1.3.0 (inactive)
one-dark-ui, v1.6.2 (inactive)
one-light-ui, v1.6.2 (inactive)
one-dark-syntax, v1.5.0 (inactive)
one-light-syntax, v1.5.0 (inactive)
solarized-dark-syntax, v1.0.5 (inactive)
solarized-light-syntax, v1.0.5 (inactive)
about, v1.7.0 (inactive)
archive-view, v0.62.0 (inactive)
autocomplete-atom-api, v0.10.0 (inactive)
autocomplete-css, v0.13.1 (inactive)
autocomplete-html, v0.7.2 (inactive)
autocomplete-plus, v2.31.4 (inactive)
autocomplete-snippets, v1.11.0 (inactive)
autoflow, v0.27.0 (inactive)
autosave, v0.23.1 (inactive)
background-tips, v0.26.1 (inactive)
bookmarks, v0.42.0 (inactive)
bracket-matcher, v0.82.2 (inactive)
command-palette, v0.39.0 (inactive)
deprecation-cop, v0.54.1 (inactive)
dev-live-reload, v0.47.0 (inactive)
encoding-selector, v0.22.0 (inactive)
exception-reporting, v0.40.0 (inactive)
find-and-replace, v0.202.2 (inactive)
fuzzy-finder, v1.4.0 (inactive)
git-diff, v1.1.0 (inactive)
go-to-line, v0.31.0 (inactive)
grammar-selector, v0.48.2 (inactive)
image-view, v0.60.0 (inactive)
incompatible-packages, v0.26.1 (inactive)
keybinding-resolver, v0.35.0 (inactive)
line-ending-selector, v0.5.0 (inactive)
link, v0.31.2 (inactive)
markdown-preview, v0.158.8 (inactive)
metrics, v1.1.2 (inactive)
notifications, v0.65.1 (inactive)
open-on-github, v1.2.1 (inactive)
package-generator, v1.0.1 (inactive)
settings-view, v0.243.1 (inactive)
snippets, v1.0.4 (inactive)
spell-check, v0.68.4 (inactive)
status-bar, v1.4.1 (inactive)
styleguide, v0.47.2 (inactive)
symbols-view, v0.113.1 (inactive)
tabs, v0.103.0 (inactive)
timecop, v0.33.2 (inactive)
tree-view, v0.210.0 (inactive)
update-package-dependencies, v0.10.0 (inactive)
welcome, v0.35.1 (inactive)
whitespace, v0.35.0 (inactive)
wrap-guide, v0.38.2 (inactive)
language-c, v0.54.0 (inactive)
language-clojure, v0.22.1 (inactive)
language-coffee-script, v0.48.0 (inactive)
language-csharp, v0.13.0 (inactive)
language-css, v0.40.1 (inactive)
language-gfm, v0.88.0 (inactive)
language-git, v0.15.0 (inactive)
language-go, v0.43.0 (inactive)
language-html, v0.46.1 (inactive)
language-hyperlink, v0.16.1 (inactive)
language-java, v0.24.0 (inactive)
language-javascript, v0.122.0 (inactive)
language-json, v0.18.3 (inactive)
language-less, v0.29.6 (inactive)
language-make, v0.22.2 (inactive)
language-mustache, v0.13.0 (inactive)
language-objective-c, v0.15.1 (inactive)
language-perl, v0.37.0 (inactive)
language-php, v0.37.3 (inactive)
language-property-list, v0.8.0 (inactive)
language-python, v0.45.1 (inactive)
language-ruby, v0.70.2 (inactive)
language-ruby-on-rails, v0.25.1 (inactive)
language-sass, v0.57.0 (inactive)
language-shellscript, v0.23.0 (inactive)
language-source, v0.9.0 (inactive)
language-sql, v0.25.0 (inactive)
language-text, v0.7.1 (inactive)
language-todo, v0.29.1 (inactive)
language-toml, v0.18.1 (inactive)
language-xml, v0.34.12 (inactive)
language-yaml, v0.27.1 (inactive)

# Dev
No dev packages

config.cson

"*":
"atom-slime":
advancedSettings:
connectionAttempts: 15
showSwankDebug: true
autoStart: true
lispName: "/usr/bin/sbcl"
slimePath: "/home/hawb/prog/slime"
core:
telemetryConsent: "limited"
"exception-reporting":
userId: "bc1eaeaf-6fd3-12bc-71d2-e7f71873cae9"
".lisp-repl.source":
editor:
preferredLineLength: 100
scrollPastEnd: false

Lisp REPL won't start, editors have no tabs

Just installed Atom and atom-slime, following the description (on a macOS Sierra).

When I launch the REPL with Packages:Slime:Start this is what I end up with:
screen shot 2016-12-17 at 19 05 19

Also, as you can see there's no tab on the editors for some reason (which works fine with Javascript source files). Sometimes I can make it work, but until now I didn't notice any pattern (I do play with setting the theme and that seems to help sometime).

I'd appreciate any help, thanks.

Failed to activate the atom-slime package

[Enter steps to reproduce below:]

  1. Activating the package.

Atom Version: 1.0.0
System: Ubuntu 14.04.2
Thrown From: atom-slime package, v1.6.0

Stack Trace

Failed to activate the atom-slime package

At endless loop at {"idx":95876,"column":0,"row":1674}

Error: endless loop at {"idx":95876,"column":0,"row":1674}
    at readSeq (~/.atom/packages/atom-slime/node_modules/paredit.js/lib/reader.js:110:45)
    at readSexp (~/.atom/packages/atom-slime/node_modules/paredit.js/lib/reader.js:74:20)
    at readSeq (~/.atom/packages/atom-slime/node_modules/paredit.js/lib/reader.js:111:16)
    at readSexp (~/.atom/packages/atom-slime/node_modules/paredit.js/lib/reader.js:74:20)
    at readSeq (~/.atom/packages/atom-slime/node_modules/paredit.js/lib/reader.js:111:16)
    at Object.exports.reader.readSeq (~.atom/packages/atom-slime/node_modules/paredit.js/lib/reader.js:12:14)
    at Object.exports.parse (/home/tiago/.atom/packages/atom-slime/node_modules/paredit.js/index.js:20:32)
    at AtomSlimeEditor.module.exports.AtomSlimeEditor.stoppedEditingCallback (~/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:47:26)
    at new AtomSlimeEditor ~/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:39:12)
    at ~/.atom/packages/atom-slime/lib/atom-slime.coffee:51:19

Commands

     -1:11.7.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
  2x -1:10.4.0 core:save (atom-text-editor.editor.is-focused)
     -0:10.2.0 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "disabledPackages": [
      "lisp-paredit"
    ]
  }
}

Installed Packages

# User
atom-slime, v1.6.0
language-lisp, v0.1.2

# Dev
No dev packages

Debugger mode

Some flag would be great so that we can get access to the backend debug output.

Failed to activate the atom-slime package

Buffer.alloc is not a function
Hide Stack Trace
TypeError: Buffer.alloc is not a function
at Client.setup_read (/home/kaiser/.atom/packages/atom-slime/node_modules/swank-client-js/lib/client.js:97:17)
at new Client (/home/kaiser/.atom/packages/atom-slime/node_modules/swank-client-js/lib/client.js:29:8)
at Object.module.exports.AtomSlime.setupSwank (/home/kaiser/.atom/packages/atom-slime/lib/atom-slime.coffee:72:18)
at Object.module.exports.AtomSlime.activate (/home/kaiser/.atom/packages/atom-slime/lib/atom-slime.coffee:41:6)
at Package.module.exports.Package.activateNow (/usr/share/atom/resources/app.asar/src/package.js:183:20)
at /usr/share/atom/resources/app.asar/src/package.js:156:32
at Package.module.exports.Package.measure (/usr/share/atom/resources/app.asar/src/package.js:92:15)
at /usr/share/atom/resources/app.asar/src/package.js:149:26
at Package.module.exports.Package.activate (/usr/share/atom/resources/app.asar/src/package.js:146:34)
at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app.asar/src/package-manager.js:538:21)
at /usr/share/atom/resources/app.asar/src/package-manager.js:519:29
at Config.module.exports.Config.transactAsync (/usr/share/atom/resources/app.asar/src/config.js:337:18)
at PackageManager.module.exports.PackageManager.activatePackages (/usr/share/atom/resources/app.asar/src/package-manager.js:514:19)
at PackageManager.module.exports.PackageManager.activate (/usr/share/atom/resources/app.asar/src/package-manager.js:497:46)
at /usr/share/atom/resources/app.asar/src/atom-environment.js:754:28

Uncaught Error: Pane has been destroyed

[Enter steps to reproduce below:]

  1. connect to swank server
  2. enter an expression that produce an error - like (error "error").

Atom Version: 1.3.2
System: "Fedora release
Thrown From: atom-slime package, v1.7.2

Stack Trace

Uncaught Error: Pane has been destroyed

At /usr/share/atom/resources/app.asar/src/pane.js:620

Error: Pane has been destroyed
    at Pane.module.exports.Pane.activate (/usr/share/atom/resources/app.asar/src/pane.js:620:15)
    at REPLView.module.exports.REPLView.showDebugTab (/home/dboca/.atom/packages/atom-slime/lib/atom-slime-repl-view.coffee:213:15)
    at Object.debug_activate (/home/dboca/.atom/packages/atom-slime/lib/atom-slime-repl-view.coffee:162:7)
    at Client.debug_activate_handler (/home/dboca/.atom/packages/atom-slime/node_modules/swank-client-js/lib/client.js:316:20)
    at Client.on_swank_message (/home/dboca/.atom/packages/atom-slime/node_modules/swank-client-js/lib/client.js:150:10)
    at Client.data_complete_callback (/home/dboca/.atom/packages/atom-slime/node_modules/swank-client-js/lib/client.js:127:8)
    at Client.socket_data_handler (/home/dboca/.atom/packages/atom-slime/node_modules/swank-client-js/lib/client.js:107:14)
    at Socket.<anonymous> (/home/dboca/.atom/packages/atom-slime/node_modules/swank-client-js/lib/client.js:71:10)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:146:16)
    at Socket.Readable.push (_stream_readable.js:110:10)
    at TCP.onread (net.js:523:20)

Commands

     -0:27.8.0 release-notes:show (div.panels-item)
     -0:10.5.0 slime:connect (div.release-notes.padded.pane-item.native-key-bindings)
     -0:01.1.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:00.8.0 editor:newline (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "linter-perl"
    ]
  },
  "atom-slime": {}
}

Installed Packages

# User
atom-perl-prove, v0.5.0
atom-slime, v1.7.2
atom-terminal-panel, v4.4.4
css-color-underline, v1.0.1
language-lisp, v0.1.2
linter, v1.11.3
lisp-paredit, v0.5.1
perltidy, v2.2.0

# Dev
No dev packages

Changes required for upcoming CoffeeScript upgrade

Hi! Thanks for maintaining the atom-slime package!

In Atom v1.12, we are going to upgrade CoffeeScript to the latest version. This upgrade entails one potentially breaking change to the language:

Changed strategy for the generation of internal compiler variable names. Note that this means that @example function parameters are no longer available as naked example variables within the function body.

We think your package may be affected by this upgrade, in the following places:

  • The editor variable here
  • The editor variable here
  • The editor variable here

These findings are based on linting packages with coffeescope. We could be wrong about some of them. When we release v1.12 beta, please test your package against it to make sure that it works. Let me know if you have any further questions; I will be happy to help!

Uncaught TypeError: Cannot read property 'type' of null

[Enter steps to reproduce below:]

  1. Opening a lisp file

Atom Version: 1.0.0
System: Ubuntu 14.04.2
Thrown From: atom-slime package, v1.6.0

Stack Trace

Uncaught TypeError: Cannot read property 'type' of null

At /home/tiago/.atom/packages/atom-slime/node_modules/paredit.js/lib/navigator.js:87

TypeError: Cannot read property 'type' of null
    at ~/.atom/packages/atom-slime/node_modules/paredit.js/lib/navigator.js:87:14
    at Object.exports.util.flatFilterTree (~/.atom/packages/atom-slime/node_modules/paredit.js/lib/util.js:42:11)
    at Object.exports.navigator.sexpRangeExpansion ~/.atom/packages/atom-slime/node_modules/paredit.js/lib/navigator.js:86:28)
    at AtomSlimeEditor.module.exports.AtomSlimeEditor.getCurrentSexp (~/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:86:33)
    at AtomSlimeEditor.module.exports.AtomSlimeEditor.processCursorMoved (~/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:66:26)
    at ~/.atom/packages/atom-slime/lib/atom-slime-editor.coffee:57:24

Commands

     -2:13.5.0 autocomplete-plus:confirm (atom-text-editor.editor.is-focused.autocomplete-active)
  2x -2:12.2.0 core:save (atom-text-editor.editor.is-focused)
     -1:12 settings-view:check-for-package-updates (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Config

{
  "core": {
    "disabledPackages": [
      "lisp-paredit"
    ]
  }
}

Installed Packages

# User
atom-slime, v1.6.0
language-lisp, v0.1.2

# Dev
No dev packages

atom-slime won't compile file

Hello,

I'm running atom on OSX 10.11.5

I've installed atom-slime and associated packages as indicated in the documentation. I have a working sbcl REPL but when I place cursor in a .lisp file and hit alt-c, nothing happens. Also, within atom in the Packages->Slime submenu, only "Start", "Disconnect" and "Restart" show up. The is no "goto-definition" or "compile-function" corresponding to alt-. and alt-c key combinations respectively.

Split panes horizontally

It's not comfortable for me that atom-slime splits the panes vertically when it starts.
Can I split panes horizontally like in Emacs?
Thanks.

Uncaught TypeError: Cannot read property 'type' of undefined

When I installed the last version of Atom and atom-slime, it has the following error, please help me:

/home/sxf/.atom/packages/atom-slime/node_modules/paredit.js/lib/editor.js:465
Hide Stack Trace
TypeError: Cannot read property 'type' of undefined
at linesToIndent.reduce.idx (/home/sxf/.atom/packages/atom-slime/node_modules/paredit.js/lib/editor.js:465:37)
at Array.reduce (native)
at Object.exports.editor.indentRange (/home/sxf/.atom/packages/atom-slime/node_modules/paredit.js/lib/editor.js:446:28)
at Array.module.exports.newline (/home/sxf/.atom/packages/lisp-paredit/lib/edit-commands.coffee:85:28)
at atom-text-editor. (/home/sxf/.atom/packages/lisp-paredit/lib/utils.coffee:48:70)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:97:36)
at HTMLDocument. (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.