Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.42k stars 3.4k forks source link

Emacs (local and remote) does not open file or directory in command line #5369

Open RuijieYu opened 2 years ago

RuijieYu commented 2 years ago

Hello, I have encountered two possibly-related issues regarding the use of emacs on m1 mac: when running in terminal, emacs does not open the file or directory passed in as argument. Both emacs and tabby are installed using homebrew. I tried to revert tabby configuration to default and the behavior does not change. I don't know if this generalizes to hosts other platforms. However, I tried to ssh into different OSes (details below) and the behavior described below is consistent.

Versions:

I hope this is enough information for debugging. I won't be very responsive but will attach additional information if necessary.

jzuhone commented 2 years ago

I'm seeing the same issue.

mathslimin commented 2 years ago

login to wsl, ssh to remote, emacs can work

Alex4386 commented 2 years ago

I also can reproduce this issue on Tabby 1.0.170 on Windows with a SSH-ed remote Ubuntu 20.04.3 LTS.

Running Emacs 26.3.

Alex4386 commented 2 years ago

login to wsl, ssh to remote, emacs can work

This workaround is unavailable for the creator of the issue since local os of its is macOS. Plus, WSL is not a viable option if you are using in VM which does not support nested virtualization or running Hyper-V (WSL2 and Hyper-V (or any virtualization sw) can not co-exist).

cburkins commented 2 years ago

Just tried emacs for the first time within tabby, feels like I'm experiencing the same issue. Feels like emacs is (very) quickly closing the buffer with the specified file ? I used iterm2 (from a mac) to ssh into the same machine, and emacs (with same file) works just fine.