-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace pbcopy by osx-clipboard #11215
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Looks okay to me, though It's going to make me disable it because it's not properly handling the case of one daemon serving terminal and gui clients. To do so, something like #10896 (comment) should be done, which would actually allow me to remove that custom code from my dotfiles and would be great. Oh, and I'd remove that check for the emacs major version unless |
@suonlight will you be willing to incorporate @aaronjensen's suggested code as well? |
@sdwolfz ok, let me update by @aaronjensen's suggested code |
Why: * When using emacs >= 26, pbcopy has latency actions in terminal. This change addresses the need by: * Replace pbcopy by osx-clipboard
@andresgutgon, @sdwolfz, @aaronjensen please help me review it again. I have tested it with one daemon serving TUI and GUI client. Can you help me with other emacs version < 26? |
@suonlight this looks good to me. The only thing I might suggest is making those lambdas proper functions, but it's probably not necessary. Ready to be merged! (@syl20bnr @TheBB @d12frosted @bmag @JAremko) |
@duianto I saw you cherry-picked some open PRs in to develop the other day. I've also applied this patch on top of Any chance you could also |
Thank you for contributing to Spacemacs! |
Issue: #10896 (comment)
Why:
This change addresses the need by: