emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Johan Ekh <ekh.johan@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: Nick Dokos <ndokos@gmail.com>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Slow usage of capture templates
Date: Wed, 2 Aug 2017 12:26:40 +0200	[thread overview]
Message-ID: <CAH13ZggK6agYCAj0=KBdukvF3hPtmg7BMSf_XgVz47FDU7z+_A@mail.gmail.com> (raw)
In-Reply-To: <CAH13Zgg=a=8+vLtpbfFguX3-CNj3LfNHW29b8O=+byvYKFyRmw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1031 bytes --]

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 <ekh.johan@gmail.com> 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 <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. 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
>>
>
>

[-- Attachment #2: Type: text/html, Size: 1985 bytes --]

  reply	other threads:[~2017-08-02 10:26 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04  8:51 Slow usage of capture templates Johan Ekh
2017-01-04 15:35 ` Nick Dokos
2017-08-02  6:36   ` Johan Ekh
2017-08-02  6:51     ` Nicolas Goaziou
2017-08-02  7:10       ` Johan Ekh
2017-08-02 10:26         ` Johan Ekh [this message]
2017-08-02 10:55           ` Adam Porter
2017-08-02 13:32             ` Johan Ekh
2017-08-02 22:12               ` Tim Cross
2017-08-07  7:36                 ` Johan Ekh
2017-08-07  8:00                 ` Fabrice Popineau
2017-08-07  9:20                   ` Johan Ekh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAH13ZggK6agYCAj0=KBdukvF3hPtmg7BMSf_XgVz47FDU7z+_A@mail.gmail.com' \
    --to=ekh.johan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    --cc=ndokos@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).