From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Slow usage of capture templates
Date: Wed, 04 Jan 2017 10:35:39 -0500 [thread overview]
Message-ID: <8737gyrg6s.fsf@gmail.com> (raw)
In-Reply-To: CAH13ZggmjOgm5-ARk1XeNYRrQ0UYMT_UkULGn0RO+5utX_hLYw@mail.gmail.com
Johan Ekh <ekh.johan@gmail.com> writes:
> Hi all
>
> I'm on Windows 10 with Cygwin-X and running Emacs 25.1.1 installed with Cygwin installer. Org-mode version is 9.0 installed from Elpa.
>
> I am experiencing very slow usage of my capture templates. When I hit C-c c my different templates show up but when I select one of them nothing happens for a long time then after 30-60
> seconds it suddenly works as usual. This happens every time regardless of which template I select.
>
> When I start emacs without X, i.e. with the -nw flag, my capture templates works fast as usual.
>
> Does anyone know what I need to do?
>
> BR / Johan
>
First step is to probably profile org and see where time is spent:
M-x elp-instrument package RET org RET
... then try a capture ...
M-x elp-results
Second step is to bring up a terminal and run htop in it, then try a capture and see if
some process (maybe emacs, maybe something else) jumps up in CPU usage.
Also try with a minimal org file and no other customizations: it may be that something
in your configuration causes it (unless others can see the same slowness on similar systems).
This kind of problem may take a long time to debug, so it's important not to get discouraged.
--
Nick
next prev parent reply other threads:[~2017-01-04 15:36 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737gyrg6s.fsf@gmail.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.