emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: Hang after agenda export [6.34c]
@ 2010-02-01  4:37 manonfire
  2010-02-01  8:10 ` Noorul Islam K M
  0 siblings, 1 reply; 8+ messages in thread
From: manonfire @ 2010-02-01  4:37 UTC (permalink / raw)
  To: emacs-orgmode

The problem could be solved by removing the example code snippet suggested
in the manual (Page 104 for 6.34c) from .emacs which is

(setq org-agenda-exporter-setting)
    '((ps-number-of-columns 2)
     (ps-landscape-mode t)
     (org-agenda-add-entry-text-maxlines 5)))


Export to txt and html works now. But for pdf I get an error message:

"Symbol's function definition is void: flet"




>When trying to export the agenda with C-x C-w filename, emacs hangs and
>causes high cpu load with all file types (txt,html,pdf). No file is
>created.
>This also happened with 6.33f.
>The org-file is very simple, one heading with two scheduled items.

Manonfire

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Hang after agenda export [6.34c]
@ 2010-01-31 17:13 manonfire
  2010-02-01  6:23 ` Noorul Islam K M
  0 siblings, 1 reply; 8+ messages in thread
From: manonfire @ 2010-01-31 17:13 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

this org-mode is fantastic but I experienced a little problem.

When trying to export the agenda with C-x C-w filename, emacs hangs and
causes high cpu load with all file types (txt,html,pdf). No file is
created.
This also happened with 6.33f.

The org-file is very simple, one heading with two scheduled items.
A backtrace after exporting to 'agenda.txt' and a few seconds later
hitting C-g:


Debugger entered--Lisp error: (quit)
  org-agenda-get-some-entry-text(#<marker at 16 in test.org> 5 "    > ")
  org-agenda-add-entry-text()
  run-hooks(org-agenda-before-write-hook)
  (progn (insert bs) (org-agenda-remove-marked-text (quote org-filtered))
(while (setq beg ...) (delete-region beg ...)) (run-hooks (quote
org-agenda-before-write-hook)) (cond (... ...) (... ... ... ... ... ...)
(... ... ... ...) (... ... ... ... ...) (... ... ...) (t ...)))
  (unwind-protect (progn (insert bs) (org-agenda-remove-marked-text ...)
(while ... ...) (run-hooks ...) (cond ... ... ... ... ... ...)) (and
(buffer-name temp-buffer) (kill-buffer temp-buffer)))
  (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ...
... ... ... ...) (and ... ...)))
  (with-current-buffer temp-buffer (unwind-protect (progn ... ... ... ...
...) (and ... ...)))
  (let ((temp-buffer ...)) (with-current-buffer temp-buffer
(unwind-protect ... ...)))
  (with-temp-buffer (insert bs) (org-agenda-remove-marked-text (quote
org-filtered)) (while (setq beg ...) (delete-region beg ...)) (run-hooks
(quote org-agenda-before-write-hook)) (cond (... ...) (... ... ... ...
... ...) (... ... ... ...) (... ... ... ... ...) (... ... ...) (t ...)))
  (let ((bs ...) beg) (org-agenda-unmark-filtered-text) (with-temp-buffer
(insert bs) (org-agenda-remove-marked-text ...) (while ... ...)
(run-hooks ...) (cond ... ... ... ... ... ...)))
  (save-window-excursion (org-agenda-mark-filtered-text) (let (... beg)
(org-agenda-unmark-filtered-text) (with-temp-buffer ... ... ... ...
...)))
  (save-excursion (save-window-excursion (org-agenda-mark-filtered-text)
(let ... ... ...)))
  (let ((ps-number-of-columns 2) (ps-landscape-mode t)
(org-agenda-add-entry-text-maxlines 5)) (save-excursion
(save-window-excursion ... ...)) #<buffer *Org Agenda*>)
  eval((let ((ps-number-of-columns 2) (ps-landscape-mode t)
(org-agenda-add-entry-text-maxlines 5)) (save-excursion
(save-window-excursion ... ...)) #<buffer *Org Agenda*>))
  org-let(((ps-number-of-columns 2) (ps-landscape-mode t)
(org-agenda-add-entry-text-maxlines 5)) (save-excursion
(save-window-excursion (org-agenda-mark-filtered-text) (let ... ...
...))) #<buffer *Org Agenda*>)
  org-write-agenda("~/orgfiles/agenda.txt" nil)
  call-interactively(org-write-agenda nil nil)

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

end of thread, other threads:[~2010-02-02 23:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-01  4:37 Hang after agenda export [6.34c] manonfire
2010-02-01  8:10 ` Noorul Islam K M
2010-02-01  8:14   ` Carsten Dominik
2010-02-01 18:50     ` manonfire
2010-02-02  6:12       ` Carsten Dominik
2010-02-02 23:50         ` manonfire
  -- strict thread matches above, loose matches on Subject: below --
2010-01-31 17:13 manonfire
2010-02-01  6:23 ` Noorul Islam K M

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).