From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johan Ekh Subject: Re: Slow usage of capture templates Date: Wed, 2 Aug 2017 12:26:40 +0200 Message-ID: References: <8737gyrg6s.fsf@gmail.com> <87a83iqx7d.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1134e590255f610555c2b32b" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcqrZ-0001gm-Oi for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 06:26:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcqrU-00057h-IK for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 06:26:45 -0400 Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:34256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dcqrU-000550-Cr for emacs-orgmode@gnu.org; Wed, 02 Aug 2017 06:26:44 -0400 Received: by mail-oi0-x22c.google.com with SMTP id x3so40357579oia.1 for ; Wed, 02 Aug 2017 03:26:42 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Nicolas Goaziou Cc: Nick Dokos , "emacs-orgmode@gnu.org" --001a1134e590255f610555c2b32b Content-Type: text/plain; charset="UTF-8" Hi again, I googled and found this. (setq x-select-enable-clipboard nil x-select-enable-primary t) It improves the situation but capture is still painfully slow. Any ideas? / Johan On Wed, Aug 2, 2017 at 9:10 AM, Johan Ekh wrote: > Hi, thanks, > but I have 25.2.1 so that will not solve it for me. I'm using several > platforms, including Linux, Windows and Cygwin. Only seen this problem n > Cygwin, which of course is the platform I need to use at work... > > On Wed, Aug 2, 2017 at 8:51 AM, Nicolas Goaziou > wrote: > >> Hello, >> >> Johan Ekh writes: >> >> > Hi again, I tried with elp-instrument-package, see the results below. >> Seems >> > like function "org-get-x-clipboard" is taking a long time. CPU usage is >> > 100% for the process "emacs-X11" during this time. >> >> I also encountered this problem (even though I do not use Windows). It >> disappeared when I switched to Emacs 25.2. >> >> >> Regards, >> >> -- >> Nicolas Goaziou >> > > --001a1134e590255f610555c2b32b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi again,
I googled and found this= .

(setq
=C2=A0 x-select-enable-clipboard nil
=C2=A0 x-select-e= nable-primary t)

It improves the situation but capture is stil= l painfully slow.

Any ideas? / Johan



On = Wed, Aug 2, 2017 at 9:10 AM, Johan Ekh <ekh.johan@gmail.com> wrote:
Hi, thank= s,
but I have 25.2.1 so that will not solve it for me. I'm usi= ng several platforms, including Linux, Windows and Cygwin. Only seen this p= roblem n Cygwin, which of course is the platform I need to use at work... <= br>

On Wed, Aug 2, 2017 at 8:51 AM, Nicolas Goa= ziou <mail@nicolasgoaziou.fr> wrote:
Hello,

Johan Ekh <ekh.= johan@gmail.com> writes:

> Hi again, I tried with elp-instrument-package, see the results below. = Seems
> like function "org-get-x-clipboard" is taking a long time. C= PU usage is
> 100% for the process "emacs-X11" during this time.

I also encountered this problem (even though I do not use Windows). = It
disappeared when I switched to Emacs 25.2.


Regards,

--
Nicolas Goaziou


--001a1134e590255f610555c2b32b--