I created the service on macOS, so I could open any file with emacs as I saw fit. The service was created using Automator with the following shell script:
/usr/local/bin/../Cellar/emacs/25.3/bin/emacsclient -nc "$@"
While this service will always work with the following message:
emacsclient: could not get terminal name
Does anyone have any clues? Thanks in advance.
source
share