* capture takes ~ 10-20 seconds to load a capture-template
@ 2014-03-15 8:38 Xebar Saram
2014-03-15 8:42 ` Bastien
0 siblings, 1 reply; 6+ messages in thread
From: Xebar Saram @ 2014-03-15 8:38 UTC (permalink / raw)
To: org mode
[-- Attachment #1: Type: text/plain, Size: 1617 bytes --]
Hi all
I have a weird issue i really dont know how to debug. i have managed to get
org-capture working very well to my needs. only issue is when I launch
org-capture (C-c c) and choose a capture template it takes around 10-20
seconds to load the capture-template. it happens with any capture
templeates i try. any idea whats causing this?
here is my current capture config
#+BEGIN_SRC emacs-lisp :results non
(setq org-capture-templates
(quote (
("x" "todo_nix" entry (file+headline
"~/org/files/agenda/TODO.org" "Linux")
"* %^{Description}" )
("o" "dl_movie" entry (file+headline "~/org/files/agenda/
dl.org" "Movies")
"* %^{Description} " )
("O" "dl_movie_prerelease" entry (file+headline
"~/org/files/agenda/dl.org" "Movies")
"* %x :Pre_Release: " )
("v" "dl_TV" entry (file+headline "~/org/files/agenda/dl.org"
"TV")
"* %^{Description}" )
("m" "dl_music" entry (file+headline "~/org/files/agenda/
dl.org" "Music")
"* %^{Description}" )
("h" "todo_home" entry (file+headline
"~/org/files/agenda/TODO.org" "Home")
"* %?\n%T" )
("b" "todo_shopping" entry (file+headline
"~/org/files/agenda/food.org" "shopping")
"* SHOP %^{Description} " )
;;;agenda captures
("w" "Work_short_term" entry (file+headline
"~/org/files/agenda/Research.org" "Short term Misc")
"* TODO %^{Description} " )
)))
#+END_SRC
best
Z
[-- Attachment #2: Type: text/html, Size: 2593 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: capture takes ~ 10-20 seconds to load a capture-template
2014-03-15 8:38 capture takes ~ 10-20 seconds to load a capture-template Xebar Saram
@ 2014-03-15 8:42 ` Bastien
2014-03-15 8:57 ` Xebar Saram
0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2014-03-15 8:42 UTC (permalink / raw)
To: Xebar Saram; +Cc: org mode
Hi Xebar,
can you try with only one template? Then report your Org
version and your Emacs version? Also, let us know if you
have the problem with a bare emacs (emacs -q).
--
Bastien
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: capture takes ~ 10-20 seconds to load a capture-template
2014-03-15 8:42 ` Bastien
@ 2014-03-15 8:57 ` Xebar Saram
2014-03-15 9:14 ` Bastien
0 siblings, 1 reply; 6+ messages in thread
From: Xebar Saram @ 2014-03-15 8:57 UTC (permalink / raw)
To: Bastien; +Cc: org mode
[-- Attachment #1: Type: text/plain, Size: 593 bytes --]
Hi Bastien
thanks for the help
i am running org 8.2.5h with emacs 24.3.1
i tried it with 1 template and its still the same slowness
also i tried it with emacs -q (pasting the capture template, evaluating it
and running org-capture) and its still very slow
i would be happy to try and test and other things needed
best
Z.
On Sat, Mar 15, 2014 at 10:42 AM, Bastien <bzg@gnu.org> wrote:
> Hi Xebar,
>
> can you try with only one template? Then report your Org
> version and your Emacs version? Also, let us know if you
> have the problem with a bare emacs (emacs -q).
>
> --
> Bastien
>
[-- Attachment #2: Type: text/html, Size: 1080 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: capture takes ~ 10-20 seconds to load a capture-template
2014-03-15 8:57 ` Xebar Saram
@ 2014-03-15 9:14 ` Bastien
2014-03-15 9:30 ` Xebar Saram
0 siblings, 1 reply; 6+ messages in thread
From: Bastien @ 2014-03-15 9:14 UTC (permalink / raw)
To: Xebar Saram; +Cc: org mode
Hi Xebar,
Xebar Saram <zeltakc@gmail.com> writes:
> i tried it with 1 template and its still the same slowness
> also i tried it with emacs -q (pasting the capture template,
> evaluating it and running org-capture) and its still very slow
> i would be happy to try and test and other things needed
So let's start with your attempt at making it work with emacs -q.
Note: if you use emacs -q Org version cannot be 8.2.5h, it will be
something else, please tell us what.
Please give us *one* capture template that takes too long with
emacs -q and maybe someone can reproduce. Don't do fancy stuff
like narrowing or whatever before calling capture.
--
Bastien
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: capture takes ~ 10-20 seconds to load a capture-template
2014-03-15 9:14 ` Bastien
@ 2014-03-15 9:30 ` Xebar Saram
2014-03-17 1:16 ` Bastien
0 siblings, 1 reply; 6+ messages in thread
From: Xebar Saram @ 2014-03-15 9:30 UTC (permalink / raw)
To: Bastien; +Cc: org mode
[-- Attachment #1: Type: text/plain, Size: 1257 bytes --]
Sorry about that
the org version in emacs -q is version 7.9.3f.
i have tried with this capture
(setq org-capture-templates
(quote (
("x" "todo_nix" entry (file+headline
"~/org/files/agenda/TODO.org" "Linux")
"* %^{Description}" )
)))
i do see that when i choose the capture template it does say something
about loading vc-git, i dont know if that has to do with anything
thx alot, would be happy to give any additional info needed
best
Z
On Sat, Mar 15, 2014 at 11:14 AM, Bastien <bzg@gnu.org> wrote:
> Hi Xebar,
>
> Xebar Saram <zeltakc@gmail.com> writes:
>
> > i tried it with 1 template and its still the same slowness
> > also i tried it with emacs -q (pasting the capture template,
> > evaluating it and running org-capture) and its still very slow
> > i would be happy to try and test and other things needed
>
> So let's start with your attempt at making it work with emacs -q.
>
> Note: if you use emacs -q Org version cannot be 8.2.5h, it will be
> something else, please tell us what.
>
> Please give us *one* capture template that takes too long with
> emacs -q and maybe someone can reproduce. Don't do fancy stuff
> like narrowing or whatever before calling capture.
>
> --
> Bastien
>
[-- Attachment #2: Type: text/html, Size: 2054 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: capture takes ~ 10-20 seconds to load a capture-template
2014-03-15 9:30 ` Xebar Saram
@ 2014-03-17 1:16 ` Bastien
0 siblings, 0 replies; 6+ messages in thread
From: Bastien @ 2014-03-17 1:16 UTC (permalink / raw)
To: Xebar Saram; +Cc: org mode
Hi Xebar,
Xebar Saram <zeltakc@gmail.com> writes:
> i do see that when i choose the capture template it does say
> something about loading vc-git, i dont know if that has to do with
> anything
It surely has to do with something, but I can't really figure out why
(except that if your Git repo is really big, Emacs may take some time
to check it out first when finding the capture file. If the capture
time happens only on the first capture, that may be a hypothesis,
though I'd be surprised.)
--
Bastien
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-03-17 1:16 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-15 8:38 capture takes ~ 10-20 seconds to load a capture-template Xebar Saram
2014-03-15 8:42 ` Bastien
2014-03-15 8:57 ` Xebar Saram
2014-03-15 9:14 ` Bastien
2014-03-15 9:30 ` Xebar Saram
2014-03-17 1:16 ` Bastien
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).