rolandwalker / simpleclip

Simplified access to the system clipboard in Emacs.
174 stars 16 forks source link

fix: On macos, emacs gui simpleclip-paste only insert empty string due to wrong data-type #20

Closed liuyinz closed 2 years ago

liuyinz commented 2 years ago

When x-select-request-type is nil, gui-get-selection's argument(data-type) is STRING by default.Setting to UTF8_STRING, only paste empty string in mac-gui.

liuyinz commented 2 years ago

@rolandwalker please have a look.

rolandwalker commented 2 years ago

Hi! Thanks!

Looking at the docs, it seems like it should be (car x-select-request-type). Does that help your issue?

liuyinz commented 2 years ago

@rolandwalker yes, I made a mistake, and update already.

rolandwalker commented 2 years ago

Well it was my mistake to begin with. Thanks to you for pushing it into view! The CI test failure is not important.