Closed rayk closed 4 years ago
I get this all the time as well when i hit enter in the proto-repl REPL instead of shift-enter
+1, getting this too
+1 - first impressions. Thank you @torbjornvatn for the insight on hitting shift-enter.
same here is there any progress?
Ditto. When I hit enter in proto repl I get the "getCursorsOrderedByBufferPosition" error. I just set up a fresh install using https://gist.github.com/jasongilman/d1f70507bed021b48625 - I'm a atom noob
Any ideas, when this is going to be fixed? It's a critical blocker for using Proto-REPL for Clojure development. Atom is unusable with this issue.
I'm not sure if it's bug in lisp-paredit or proto-repl, because when I disable lisp-paredit I have this issue. Is it the same for you guys? They could be related.
Anyone got any steps to reproduce? It's not happening for me.
I am still getting this issue
[Enter steps to reproduce:]
Atom: 1.15.0 x64 Electron: 1.3.13 OS: Mac OS X 10.12.3 Thrown From: lisp-paredit package 0.5.5
Uncaught TypeError: Cannot read property 'getCursorsOrderedByBufferPosition' of undefined
At /Users/rayk/.atom/packages/lisp-paredit/lib/edit-commands.coffee:70
TypeError: Cannot read property 'getCursorsOrderedByBufferPosition' of undefined
at Array.newline (/packages/lisp-paredit/lib/edit-commands.coffee:70:21)
at /packages/lisp-paredit/lib/utils.coffee:51:70)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
at /app.asar/src/command-registry.js:3:59
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
at /app.asar/src/window-event-handler.js:3:59)
2x -2:27.4.0 core:backspace (input.hidden-input)
-2:26.2.0 core:save (input.hidden-input)
-2:24.2.0 proto-repl:clear-repl (input.hidden-input)
-2:23.7.0 proto-repl:exit-repl (input.hidden-input)
-2:19 proto-repl:toggle (input.hidden-input)
-1:56.8.0 core:move-right (input.hidden-input)
19x -1:56.4.0 core:backspace (input.hidden-input)
-1:47.9.0 core:move-down (input.hidden-input)
-1:47.4.0 autocomplete-plus:confirm (input.hidden-input)
-1:44.4.0 core:move-right (input.hidden-input)
32x -1:44.1.0 core:backspace (input.hidden-input)
-1:33.9.0 proto-repl:clear-repl (input.hidden-input)
-1:33.3.0 proto-repl:exit-repl (input.hidden-input)
-1:22.2.0 proto-repl:toggle (input.hidden-input)
-1:10.3.0 lisp-paredit:newline (input.hidden-input)
-1:05.1.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
aligner-css 1.2.0
atom-beautify 0.29.17
auto-update-packages 1.0.1
clock 1.9.0
cssfmt 1.4.0
file-icons 2.0.17
git-hide 1.0.0
git-log 0.4.1
git-plus 7.3.3
highlight-selected 0.12.0
imdone-atom 2.1.22
imdone-atom-github 0.1.11
ink 0.6.5
linter 1.11.23
linter-clojure 1.1.2
linter-swagger 0.3.9
linter-write-good 0.8.0
lisp-paredit 0.5.5
markdown-writer 2.6.4
Parinfer 1.17.0
platformio-ide-terminal 2.4.0
pretty-json 1.6.1
proto-repl 1.4.16
proto-repl-charts 0.4.0
set-syntax 0.3.2
sort-lines 0.14.0
Sublime-Style-Column-Selection 1.7.3
swackets 0.26.0
sync-settings 0.8.1
tablr 1.8.1
tool-bar 1.0.1
tree-view-git-status 1.3.1
Atom: 1.14.4 x64 Electron: 1.3.13 OS: Mac OS X 10.12.3 Thrown From: lisp-paredit package 0.5.5
Uncaught TypeError: Cannot read property 'getCursorsOrderedByBufferPosition' of undefined
At /Users/lucas/.atom/packages/lisp-paredit/lib/edit-commands.coffee:70
TypeError: Cannot read property 'getCursorsOrderedByBufferPosition' of undefined
at Array.newline (/packages/lisp-paredit/lib/edit-commands.coffee:70:21)
at /packages/lisp-paredit/lib/utils.coffee:51:70)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/app.asar/src/command-registry.js:259:29)
at /app.asar/src/command-registry.js:3:59
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:599:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:390:22)
at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeyEvent (/app.asar/src/window-event-handler.js:106:36)
at /app.asar/src/window-event-handler.js:3:59)
-0:33.1.0 command-palette:toggle (input.hidden-input)
-0:31.4.0 core:confirm (input.hidden-input)
-0:31.4.0 proto-repl:toggle (input.hidden-input)
-0:27.5.0 lisp-paredit:newline (input.hidden-input)
-0:20.8.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
3x -0:11.7.0 core:backspace (input.hidden-input)
2x -0:06.6.0 lisp-paredit:newline (input.hidden-input)
-0:00.0 autocomplete-plus:cancel (atom-text-editor.editor.is-focused)
an-old-hope-syntax 1.0.4
ariake-dark-syntax 0.1.3
atom-beautify 0.29.17
atom-material-ui 1.3.9
aurora-theme 1.2.2
auto-detect-indentation 1.3.0
docblockr 0.9.1
Earthsong 1.0.0
editorconfig 2.2.2
firewatch-hot-syntax 1.3.0
firewatch-syntax 1.1.1
fizzy 0.21.0
genesis-syntax 1.0.9
genesis-ui 0.5.0
git-blame 0.4.12
goto 1.8.3
highlight-selected 0.12.0
indentation-indicator 1.0.0
ink 0.6.5
language-latex 1.0.0
latex 0.42.3
line-jumper 0.14.1
linter 1.11.23
linter-eslint 8.1.3
lisp-paredit 0.5.5
nord-atom-syntax 0.6.0
nord-atom-ui 0.10.2
octocat-syntax 1.3.1
Parinfer 1.17.0
pretty-json 1.6.1
proto-repl 1.4.17
sort-lines 0.14.0
spacegray-dark-neue-syntax 1.4.2
split-diff 1.2.0
tabs-to-spaces 1.0.3
trailing-spaces 0.4.0
I had the same issue and solved it by removing this line 'enter': 'lisp-paredit:newline' which I had copied from some googled atom-clojure-keymap suggestions, from my custom keymap.
Hmm, but then I loose the functionality of having the paredit newline? Even with the default keymap enabled for lisp-paredit, I get this error.
👍 same problem here
Just ran into this. This is the gist @shyblower is probably referring to: https://git.io/atom_clojure_setup
@jasongilman any tips? seems like overriding enter
to use lisp-paredit
causes issues with proto-repl
Fixed by adding this to my keymap.cson
:
# Override newline back to original for proto-repl
'.platform-darwin ink-console atom-text-editor[data-grammar~="clojure"]':
'enter': 'editor:newline'
I'm not able to reproduce this error. So, I'm going to close this issue, unless it's still happening for some people.
[Enter steps to reproduce below:]
Atom Version: 1.12.2 Electron Version: 1.3.6 System: Mac OS X 10.12.1 Thrown From: lisp-paredit package, v0.5.4
Stack Trace
Uncaught TypeError: Cannot read property 'getCursorsOrderedByBufferPosition' of undefined
Commands
Config
Installed Packages