Skip to content
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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Julia latex tab-complete not working in julia-mode #16265

Closed
john-waczak opened this issue Jan 27, 2024 · 2 comments
Closed

Julia latex tab-complete not working in julia-mode #16265

john-waczak opened this issue Jan 27, 2024 · 2 comments

Comments

@john-waczak
Copy link

Description :octocat:

Julia latex substitution is not working in julia-mode. Usually when working on julia code I can substitute typical latex symbols by typing the latex equivalent and then hitting tab. This behavior does work in a julia-repl mode but I can not seem to make it work in the standard julia-mode.

Reproduction guide 🪲

  • Start Emacs
  • Open a julia file (ending in .jl) in julia-mode
  • Type a known latex symbol, e.g. \psi, and then hit TAB

Observed behaviour: 👀 💔

  • Nothing happens

Expected behaviour: ❤️ 😄

  • \psi should be replaced with ψ

System Info 💻

  • OS: darwin
  • Emacs: 29.1
  • Spacemacs: 0.999.0
  • Spacemacs branch: develop (rev. b2511bb)
  • Graphic display: t
  • Running in daemon: nil
  • Distribution: spacemacs
  • Editing style: vim
  • Completion: helm
  • Layers:
(lua d rust csv javascript octave yaml html auto-completion better-defaults emacs-lisp helm markdown multiple-cursors
     (shell :variables shell-default-height 30 shell-default-position 'bottom)
     spell-checking syntax-checking python julia docker treemacs)
  • System configuration features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB

Backtrace 🐾

<<BACKTRACE IF RELEVANT>>
@alexey0308
Copy link

Hi @john-waczak, please take a look at JuliaEditorSupport/julia-emacs#193

This behaviour was removed, but it might be merged back.
You still can activate abbrev-mode and after hitting space it will automatically substitute the symbol for you.

It does not look like spacemacs issue then.

@john-waczak
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants