7696122 / evil-terminal-cursor-changer

:smiling_imp: Chagning cursor by mode for evil on terminal.
81 stars 12 forks source link

Doesn't work in emacsclient in tmux in urxvt #20

Open jackkamm opened 5 years ago

jackkamm commented 5 years ago

This package doesn't work when using emacsclient inside tmux inside urxvt.

This is probably because emacsclient inherits environment variables from the emacs server process, not the terminal, so in particular the $TMUX variable is not set.

However, this package works fine with xterm/xfce4-terminal, even when running in emacsclient in tmux.

randomizedthinking commented 5 years ago

It works fine under tmux in urxvt, at least for me.

jackkamm commented 4 years ago

@randomizedthinking Are you using emacs or emacsclient?

It works fine when starting plain emacs.

However, it still doesn't work for me when I use emacsclient to connect to an existing session started with emacs --daemon.

randomizedthinking commented 4 years ago

It works for me on both standalone emacs and emacsclient sessions.

On Thu, Feb 6, 2020 at 11:58 AM jackkamm notifications@github.com wrote:

@randomizedthinking https://github.com/randomizedthinking Are you using emacs or emacsclient?

It works fine when starting plain emacs.

However, it still doesn't work for me when I use emacsclient to connect to an existing session started with emacs --daemon.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/7696122/evil-terminal-cursor-changer/issues/20?email_source=notifications&email_token=ABIJ4ZVTF6YJM27RGJ7RC3TRBRTW3A5CNFSM4GLKEDS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELASGRY#issuecomment-583082823, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIJ4ZXY6RTENG7CSREHZBLRBRTW3ANCNFSM4GLKEDSQ .

shuxiao9058 commented 4 years ago

This package doesn't work when using emacsclient inside tmux inside urxvt.

This is probably because emacsclient inherits environment variables from the emacs server process, not the terminal, so in particular the $TMUX variable is not set.

However, this package works fine with xterm/xfce4-terminal, even when running in emacsclient in tmux.

the same issue.