emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ken Mankoff <mankoff@gmail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: Fwd:  asynch ical export
Date: Wed, 24 Jan 2018 10:13:21 +0100	[thread overview]
Message-ID: <m2a7x3aaby.fsf@geus2690macwsm.geus.dk> (raw)
In-Reply-To: m2efmfaf9h.fsf@gmail.com

Hi List,

[Apologies if you get this 2x. I got the first one bounced back claiming the list address did not exist]

When I try asynchronous ical export via (org-icalendar-combine-agenda-files t), it does not appear to work. I'm using org 9.1.6.

If I evaluate (org-icalendar-combine-agenda-files t) the target ics file is not updated, but it is if I change 't' to 'nil'. When I run that from the command line with, for example:

emacsclient --eval '(org-icalendar-combine-agenda-files t)'

I see the following printed to the terminal:

(lambda
  (p status)
  (let
      ((proc-buffer
	(process-buffer p)))
    (when
	(eq
 	 (process-status p)
	 'exit)
      (unwind-protect
	  (if
	      (zerop
	       (process-exit-status p))
	      (unwind-protect
		  (let
		      ((results
			(with-current-buffer proc-buffer
			  (goto-char
			   (point-max))
			  (backward-sexp)
			  (read
			   (current-buffer)))))
		    (funcall
		     #[257 "\301\30!\303\"\207"
			   [org-icalendar-combined-agenda-file org-export-add-to-stack expand-file-name icalendar]
			   4 "\n\n(fn _)"]
		     results))
		(unless org-export-async-debug
		  (and
		   (get-buffer proc-buffer)
		   (kill-buffer proc-buffer))))
	    (org-export-add-to-stack proc-buffer nil p)
	    (ding)
	    (message "Process `%s' exited abnormally" p))
	(unless org-export-async-debug
	  (delete-file "/var/folders/7y/lbz1bs057398tql00m7fz0hr0000gn/T/org-export-process1310Sqq"))))))


Can someone help me understand why asynch export might not be working?

Thanks,

  -k.

       reply	other threads:[~2018-01-24  9:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m2efmfaf9h.fsf@gmail.com>
2018-01-24  9:13 ` Ken Mankoff [this message]
2018-01-24 13:31   ` Fwd: asynch ical export Nicolas Goaziou
2018-01-24 14:01     ` Ken Mankoff

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=m2a7x3aaby.fsf@geus2690macwsm.geus.dk \
    --to=mankoff@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 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).