Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Replace pbcopy by osx-clipboard #11215

wants to merge 1 commit into from

Conversation

suonlight
Copy link
Contributor

Issue: #10896 (comment)

Why:

  • When using emacs >= 26, pbcopy has latency actions in terminal.

This change addresses the need by:

  • Replace pbcopy by osx-clipboard

Copy link

@andresgutgon andresgutgon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@aaronjensen
Copy link
Contributor

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 osx-clipboard has compatibility issues with <26.

@sdwolfz
Copy link
Collaborator

sdwolfz commented Aug 31, 2018

@suonlight will you be willing to incorporate @aaronjensen's suggested code as well?

@suonlight
Copy link
Contributor Author

@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
@suonlight
Copy link
Contributor Author

@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?

@aaronjensen
Copy link
Contributor

@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)

@theckman
Copy link
Contributor

theckman commented Apr 5, 2019

@duianto I saw you cherry-picked some open PRs in to develop the other day. I've also applied this patch on top of develop and can confirm that this results in Spacemacs working correctly on my system in both TUI an GUI mode. Without this patch TUI definitely is non-operable, and I've some issues with GUI mode.

Any chance you could also cherry-pick this one? It's the final issue that has me maintaining my own develop branch so that I have a fully functioning editor.

@duianto duianto self-assigned this Apr 6, 2019
@duianto
Copy link
Collaborator

duianto commented Apr 6, 2019

Thank you for contributing to Spacemacs!
The PR has been cherry-picked into the develop branch, you can safely delete your branch.

@duianto duianto closed this Apr 6, 2019
@suonlight suonlight deleted the ft/osx-clipboard branch August 8, 2019 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants