0

I am trying to open crontab -e in emacs terminal editor, but it keeps opening it as GUI.

After running crontab -e emacs windows pops up rather than opening it as terminal editor.

$ crontab -e
no crontab for alper - using an empty one
Waiting for Emacs...

I have following setup in my ~/.zshrc, and emacs always opens as terminal editor.

export EDITOR="emacsclient -c"

The way I open files:

FILE=filepath
emacsclient -qut -e '(progn (find-file "'$FILE'"))'
1

Use emacsclient -nw instead of -c.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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