Re: BUG+PATCH org-capture hangs under Cygwin/X

2022-07-31 Thread Ihor Radchenko
Max Mikhanosha writes: > Due to various reasons I'm now using Cygwin/X Emacs, and for this emacs, > (gui-get-selection) method is kind of slow (about 0.2) seconds. > ... > Attached patch changes it so that we only call (org-get-x-clipboard) and > (current-kill 0) lazily. The logic had not

BUG+PATCH org-capture hangs under Cygwin/X

2022-07-11 Thread Max Mikhanosha
Due to various reasons I'm now using Cygwin/X Emacs, and for this emacs, (gui-get-selection) method is kind of slow (about 0.2) seconds. While this is not a big deal usually, (org-get-x-clipboard) calls (gui-get-selection) 4 times with different formats (utf8, text, compound-text and string). On