sjlevine / atom-slime Goto Github PK
View Code? Open in Web Editor NEWWrite lisp code efficiently with Atom
License: MIT License
Write lisp code efficiently with Atom
License: MIT License
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
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.
Atom does not suggest auto-compilation for anything in file. But it works great in REPL. Is this an atom limitation? Code highlighting id also a bit off. Here is an image.
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?
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
[Enter steps to reproduce below:]
Atom Version: 1.1.0
System: Mac OS X 10.11.1
Thrown From: atom-slime package, v1.7.2
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
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)
{
"core": {}
}
# User
atom-slime, v1.7.2
language-lisp, v0.1.2
lisp-paredit, v0.5.1
minimap, v4.16.0
# Dev
No dev packages
Following steps need to be done for getting this branch working:
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?
[Enter steps to reproduce below:]
Atom Version: 1.0.11
System: Linux Mint
Thrown From: atom-slime package, v1.7.1
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
-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)
{
"core": {
"themes": [
"one-light-ui",
"atom-dark-syntax"
]
}
}
# 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
[Enter steps to reproduce below:]
Atom Version: 1.0.0
System: Ubuntu 14.04.2
Thrown From: atom-slime package, v1.6.0
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
-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)
{
"core": {
"disabledPackages": [
"lisp-paredit"
]
}
}
# User
atom-slime, v1.6.0
language-lisp, v0.1.2
# Dev
No dev packages
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.
How do you send an expression in an editor tab to the repl for evaluation? Does atom-slime have an equivalent for any of these slime commands?
https://common-lisp.net/project/slime/doc/html/Evaluation.html
Many thanks.
Slime has support for determining which forms are macro forms from the running lisp image and then indenting them properly.
https://common-lisp.net/project/slime/doc/html/Semantic-indentation.html
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.
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:
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.
It would be nice if the slime connect command was executed through a button (e.g., in Packages->atom-slime)
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.
Also useful for debugging
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.
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
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:
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!
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)
Hi,
I followed the tutorial to prepare my computer to work with LISP but after the tutorial I cant compile functions. This was the tutorial: https://atom.io/packages/atom-slime
Thanks in advance,
itsdanielmatos.
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 \
Show the doc string at the beginning of a method. Like with autocomplete.
[Enter steps to reproduce below:]
Atom Version: 1.0.0
System: Ubuntu 14.04.2
Thrown From: atom-slime package, v1.6.0
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
-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)
{
"core": {
"disabledPackages": [
"lisp-paredit"
]
}
}
# User
atom-slime, v1.6.0
language-lisp, v0.1.2
# Dev
No dev packages
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.
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
If you already have a listener open and restart slime, a new window is created instead of reusing the one that is already open.
[Enter steps to reproduce below:]
Atom Version: 1.3.2
System: "Fedora release
Thrown From: atom-slime package, v1.7.2
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)
-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)
{
"core": {
"disabledPackages": [
"linter-perl"
]
},
"atom-slime": {}
}
# 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
May need to expose host, port, etc.
Useful for debugging
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.
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
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
-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)
{
"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"
]
}
}
# 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
It would be great to have a way to permanently disable the save/don't save prompt that appears when you close a listener.
I am dying for feature 'Compile this function'! Please add it. Thank you!
Some flag would be great so that we can get access to the backend debug output.
Hi, when the debugger launches is there a way to select a choice without using the mouse?
Thanks!
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
*
(format t "Check variable ~a = ~a | current is ~a ~a~%" var-name var-value var-name current-var-value)
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
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
{
"core": {
"telemetryConsent": "limited"
},
"atom-slime": {
"advancedSettings": {
"connectionAttempts": 15,
"showSwankDebug": true
},
"autoStart": true,
"lispName": "/usr/bin/sbcl",
"slimePath": "/home/hawb/prog/slime"
}
}
# 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.