all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Generating agenda endless-loop
@ 2014-08-02  9:38 Karl Voit
  2014-08-02 13:33 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Karl Voit @ 2014-08-02  9:38 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

My agenda generally works. However, sometimes, by working with Emacs
I get to the "status" where I can not re-generate the agenda: it is
in an endless loop with 100% of its Emacs-CPU-core. I can quit by
pressing M-g. After re-starting Emacs, it works again without
modifying my Org-files or the Emacs configuration.

Here is a profiler CPU report after I quit the endless loop for
about a minute or so:

,----
| - command-execute                                               55462  97%
|  - call-interactively                                           55462  97%
|   - org-agenda                                                  53803  94%
|    - byte-code                                                  53803  94%
|     - call-interactively                                        53779  94%
|      - org-agenda-list                                          53779  94%
|       - byte-code                                               53779  94%
|        - org-agenda-prepare                                     53779  94%
|         - org-agenda-prepare-buffers                            53775  94%
|          - byte-code                                            53739  94%
|           - org-end-of-subtree                                  25278  44%
|            - org-back-to-heading                                10825  19%
|             - outline-back-to-heading                           10777  18%
|                outline-on-heading-p                              1473   2%
|            + org-outline-level                                   2688   4%
|           - org-at-heading-p                                    11354  19%
|              outline-on-heading-p                                9272  16%
|           + org-refresh-stats-properties                           16   0%
|             org-set-regexps-and-options-for-tags                    8   0%
|           org-agenda-files                                          4   0%
|     + org-agenda-get-restriction-and-command                       24   0%
|   + byte-code                                                    1630   2%
|   + minibuffer-complete                                            25   0%
|   + execute-extended-command                                        4   0%
| + timer-event-handler                                            1161   2%
| + ...                                                             199   0%
`----

Do you have any suggestion how I can check this out any further or
get rid of this behavior?



GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of
2014-01-01 on gkar, modified by Debian

Org-mode version 8.2.6 (release_8.2.6-1062-g0e303a) ... I got this
issue since a couple of months with various Org-versions.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
       > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Generating agenda endless-loop
  2014-08-02  9:38 Generating agenda endless-loop Karl Voit
@ 2014-08-02 13:33 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2014-08-02 13:33 UTC (permalink / raw)
  To: emacs-orgmode

Karl Voit <devnull@Karl-Voit.at> writes:

> My agenda generally works. However, sometimes, by working with Emacs
> I get to the "status" where I can not re-generate the agenda: it is
> in an endless loop with 100% of its Emacs-CPU-core. I can quit by
> pressing M-g. After re-starting Emacs, it works again without
> modifying my Org-files or the Emacs configuration.
>
> Here is a profiler CPU report after I quit the endless loop for
> about a minute or so:
>
> ...
>
> Do you have any suggestion how I can check this out any further or
> get rid of this behavior?
>

It might be useful to M-x toggle-debug-on-error and try the agenda
command again: if it gets stuck in the loop again, a C-g will produce a
backtrace that might shed some light.

-- 
Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-02 13:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-02  9:38 Generating agenda endless-loop Karl Voit
2014-08-02 13:33 ` Nick Dokos

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.