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

Increase sleep time on macos before running copy and paste commands #54

Open
jmhammond opened this issue Jun 1, 2022 · 1 comment
Open
Labels
Awaiting response Will someone get back to me? bug Make it work plz

Comments

@jmhammond
Copy link

I want to follow up on the closed issue #4 because I'm still having the original documented behavior - sometimes Emacs includes its clipboard text, other times it gets the selected text.

When I changed this line to have 0.1 second delay:

        (sleep-for 0.1) 

it works every time. Apparently I need just a little more time to propogate the clipboard - I bet emacs-everywhere loads too fast (it's pretty instantaneous. I love it!).

Is this something I should keep patching in my own custom version or would it be beneficial to share as a PR?

Originally posted by @jmhammond in #4 (comment)

@tecosaur
Copy link
Owner

Thanks for the issue, and sorry for the delay. I'm not sure if I should just tweak the hard-coded value or make this customisable. Would you mind testing 0.01-0.09 so I can get a better idea of how this behaves?

@tecosaur tecosaur added the bug Make it work plz label Aug 31, 2022
@tecosaur tecosaur added the Awaiting response Will someone get back to me? label Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting response Will someone get back to me? bug Make it work plz
Projects
None yet
Development

No branches or pull requests

2 participants