Malabarba / elisp-bug-hunter

Hunt down errors in elisp files.
271 stars 15 forks source link

Interactive mode with terminal emacs #15

Closed asmeurer closed 8 years ago

asmeurer commented 8 years ago

The interactive mode doesn't really work with the terminal emacs (emacs compiled with --without-x), because the new instance can't load in the same terminal. Perhaps it could be made to work by starting a server and giving the user a command to connect to it with emacsclient in another terminal tab. At the very least, you might want to detect this and warn that it won't work.

Malabarba commented 8 years ago

Thanks for noticing this. I'll add some detection for this when I get a chance. :+1:

Malabarba commented 8 years ago

Speaking of it, does anyone know of a way to detect X support?

asmeurer commented 8 years ago

Is this what you are looking for https://emacs.stackexchange.com/questions/7151/is-there-a-way-to-detect-that-emacs-is-running-in-a-terminal? Or do you want to know if X is supported at all (even if the current session is started in -nw mode)?

Malabarba commented 8 years ago

I think just checking if we're in a terminal should be enough.