You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use emacs(daemon mode: emacsclient -t -a '')with tmux. Here is my tmux.conf
When copy some thing into system paste-board, and paste into emacs(int tmux) using CMD-V.
The content I pasted become to this: 200~content.....content~
Reproduction guide
Start tmux
Start Emacs in tmux
Copy something from webbrower into system pasteboard
Paste content to Emacs
Observed behaviour:
The content was wraped with 200~...~
Expected behaviour:
Content with no extra control characters.
When I comments this line: (add-hook 'tty-setup-hook 'bracketed-paste-enable) and restart emacs the pasting problem has gone.
Then I switch to bash and restart emacs without comment any layer code. The problem still exist. I think this has nothing to do with $SHELL evrionment.
If I using emacs just in Terminal.app without tmux, everthing is fine.
How to solve the problem, is there some way to make tmux and emacs work well ?
The text was updated successfully, but these errors were encountered:
Did you find a solution for this? I roll my own emacs configuration and since today my clipboard contents get wrapped with 200~[Clipboard contents]\n201~. I have no clue why this is happening since I only made very minor changes to my emacs config, none to my tmux config.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid!
I use emacs(daemon mode:
emacsclient -t -a ''
)with tmux. Here is my tmux.confWhen copy some thing into system paste-board, and paste into emacs(int tmux) using
CMD-V
.The content I pasted become to this:
200~content.....content~
Reproduction guide
Observed behaviour:
The content was wraped with
200~...~
Expected behaviour:
Content with no extra control characters.
System Info
Debug
I look into spacemacs layers and found this in
layers/+distribution/spacemacs/packages.el
When I comments this line:
(add-hook 'tty-setup-hook 'bracketed-paste-enable)
and restart emacs the pasting problem has gone.Then I switch to bash and restart emacs without comment any layer code. The problem still exist. I think this has nothing to do with $SHELL evrionment.
If I using emacs just in Terminal.app without tmux, everthing is fine.
How to solve the problem, is there some way to make tmux and emacs work well ?
The text was updated successfully, but these errors were encountered: