0

I recently started working at a company that mandates we all use MacOS. I have installed emacs and would like to use my config, which leverages visual-regexp-steroids.el, but I am receiving an OS error that some executable is not found. I am not sure how to debug this.

My normal toolkit of debug-on-error and the like is not working.

At first, I thought the issue was related to the path of whatever binary is being invoked, but I can't confirm that. Any help here would be appreciated.

This config works perfectly fine on my personal linux machine, so I assume there's some configuration quirk I'm missing.

enter image description here

3
  • Bisect your init file, to find the culprit? Where/how are you getting the "127" error? Is that an Emacs error (I'm guessing no)?
    – Drew
    Aug 16, 2022 at 19:50
  • 127 is an OS error. I do not know how to discover the function invoked prior to the 127, and reading through the package code doesn't reveal anything obvious to me. I can try and bisect init, although I was hoping this was somewhat of a known problem since this init is just my normal init applied to a macOS emacs build. ty~~
    – clo_jur
    Aug 16, 2022 at 20:05
  • does your config work fine if visual-regexp-steroids is disabled?
    – nega
    Aug 18, 2022 at 4:09

1 Answer 1

1

visual-regexp-steroids relies on a Python helper. By default, it calls this helper with the python executable (as seen here) which no longer exists on macOS. There's a myriad of ways to address that, but if it was me, I'd just change that locally to python3, and the Homebrew python3 at that.

It's been a bit since visual-regexp-steroids has seen an update, but it wouldn't hurt to submit a new issue.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.