New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia REPL editing errors #11821

Open
whilo opened this Issue Jan 10, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@whilo
Copy link

whilo commented Jan 10, 2019

Description :octocat:

When typing plo in the Julia REPL the following messages show up in the
*Messages* buffer. @non-Jedi

Reproduction guide 馃悶

  • Start Emacs with the julia layer enabled
  • Open a Julia REPL
  • type "plo" into the REPL

Observed behaviour: 馃憖 馃挃

The following shows up in the Messages buffer.

Error during redisplay: (eval (spaceline-ml-all-the-icons)) signaled (void-variable mode-line) [3 times]
Error during redisplay: (jit-lock-function 8462) signaled (invalid-regexp "Unmatched ) or \\)")
Error during redisplay: (eval (spaceline-ml-all-the-icons)) signaled (void-variable mode-line) [2 times]
Error during redisplay: (jit-lock-function 8462) signaled (invalid-regexp "Unmatched ) or \\)")
Error during redisplay: (eval (spaceline-ml-all-the-icons)) signaled (void-variable mode-line) [2 times]
Error during redisplay: (jit-lock-function 8462) signaled (invalid-regexp "Unmatched ) or \\)")
Error during redisplay: (eval (spaceline-ml-all-the-icons)) signaled (void-variable mode-line) [2 times]
Error during redisplay: (jit-lock-function 8462) signaled (invalid-regexp "Unmatched ) or \\)")
Error during redisplay: (eval (spaceline-ml-all-the-icons)) signaled (void-variable mode-line) [4 times]

At the same time when deleting characters in visual mode they pop up again once
we insert characters in insert mode after plo again. This happens in lock step with the above messages.

Expected behaviour: 鉂わ笍 馃槃
Editing works and no errors show up in Messages.

System Info 馃捇

  • Julia 1.0.3
  • OS: gnu/linux
  • Emacs: 25.2.2
  • Spacemacs: 0.300.0
  • Spacemacs branch: develop (rev. 2c28c7d)
  • Graphic display: t
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(fsharp javascript html helm auto-completion better-defaults emacs-lisp git markdown
        (org :variables org-enable-reveal-js-support t)
        (shell :variables shell-default-height 30 shell-default-position 'bottom)
        shell-scripts spell-checking syntax-checking version-control clojure python latex bibtex go ess julia display)
  • System configuration features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11

@whilo whilo changed the title julia-mode Julia REPL editing errors Jan 10, 2019

@gdkrmr

This comment has been minimized.

Copy link

gdkrmr commented Jan 11, 2019

I can confirm this, the numbers in (jit-lock-function *) are different and it happens when you type anything into the repl.

Also I do NOT get the line:

Error during redisplay: (eval (spaceline-ml-all-the-icons)) signaled (void-variable mode-line)
@gdkrmr

This comment has been minimized.

Copy link

gdkrmr commented Jan 11, 2019

I got a traceback applying the trick from here:

Debugger entered--entering a function:
* #f(compiled-function () #<bytecode 0xa49719>)()
  compilation--ensure-parse(456)
  font-lock-fontify-keywords-region(447 456 nil)
  font-lock-default-fontify-region(454 456 nil)
  font-lock-fontify-region(454 456)
  font-lock-after-change-function(454 455 0)
  term-emulate-terminal(#<process julia> "s")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment