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

Font lock broken when opening a clojure file from the CLI #580

Open
JJackaman opened this issue Dec 6, 2020 · 1 comment
Open

Font lock broken when opening a clojure file from the CLI #580

JJackaman opened this issue Dec 6, 2020 · 1 comment
Labels

Comments

@JJackaman
Copy link

Broken font locking (some things that should be highlighted aren't).

Happens when passing a clojure file as an argument to the emacs command as in emacs somedir/somefile.clj.

*Messages* reports:

Error during redisplay: (jit-lock-function 502) signaled (void-function end-of-thing)

Font locking works as expected if emacs is opened first and the clojure file is visited from within Emacs.

Steps to reproduce the problem

Using console emacs (don't have GUI emacs) do: emacs file.clj

Environment & Version information

Emacs 27.1/linux
Clojure-mode (master/melpa)

@bbatsov
Copy link
Member

bbatsov commented Dec 6, 2020

Hmm, that's weird. I can't imagine why it'd behave differently if you try to open the file directly, but I guess there's some reason that we need to figure out.

@bbatsov bbatsov added the bug label Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants