Comment by _flux
1 day ago
I've found it nice to have the terminal emulator be able to match text with regexp and upon a click convert it to an external action. For example, I can click Python traceback in terminal and have Emacs go into that exact line in code, or the JIRA issue id and go to the web page.
I wonder though if this is a popular feature. Tilix is under minimal maintenance at the moment, so alternatives would be good to have..
Not sure about popularity but Plan 9 has had this for decades, thanks to Plumber [1].
[1]: https://p9f.org/sys/doc/plumb.html
Regarding the jira link example, are you using hyperbole buttons for this, or some other way? I’d like to do it without using hyperbole, it’s a nice package and all but the ‘buttons’ are the only (of the many) feature(s) I would use from it
If you're in emacs, you can use `bug-reference-mode`
https://www.gnu.org/software//emacs/manual/html_node/emacs/B...
As for the python backtrace, what you need is to set `compilation-error-regexp-alist` and use `compilation-minor-mode`.
https://www.gnu.org/software//emacs/manual/html_node/emacs/C...
Wow, thank you, that’ll work perfectly! Of course bug reference mode is built-in, I had no clue (I need to stop being surprised by emacs’ built-in functionalities)