tpapp / julia-repl

Run an inferior Julia REPL in a terminal inside Emacs
Other
169 stars 35 forks source link

Change in stacktrace output removes ability to find file from error output #106

Closed rjpower4 closed 3 years ago

rjpower4 commented 3 years ago

System information

Overview of Issue

As seen here, in Julia v1.6.0 the stacktrace output has been overhauled.

Here's an example of the old way: Screenshot from 2021-04-05 17-13-37

And the new way: Screenshot from 2021-04-05 17-15-43

Consequently, when in a REPL session in Emacs, the new file location format, i.e. @ Main ~/path/to/file:<LINENUM>, no longer permits finding the file by clicking/pressing return on the path. Forgive my ignorance as I'm not sure if this is something that is decided here in the julia-repl package or elsewhere, but from my basic understanding this is dictated by the julia-repl--compilation-regexp-alist?

tpapp commented 3 years ago

Thanks for the bug report. Your understanding is correct. I made a fix in #107, if you can test it it would be helpful.

rjpower4 commented 3 years ago

Works like a charm for me! Thanks!

tpapp commented 3 years ago

Thanks for testing, I will merge that then.