all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Fwd:  asynch ical export
       [not found] <m2efmfaf9h.fsf@gmail.com>
@ 2018-01-24  9:13 ` Ken Mankoff
  2018-01-24 13:31   ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Mankoff @ 2018-01-24  9:13 UTC (permalink / raw)
  To: org-mode

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.

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

* Re: Fwd:  asynch ical export
  2018-01-24  9:13 ` Fwd: asynch ical export Ken Mankoff
@ 2018-01-24 13:31   ` Nicolas Goaziou
  2018-01-24 14:01     ` Ken Mankoff
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2018-01-24 13:31 UTC (permalink / raw)
  To: Ken Mankoff; +Cc: org-mode

Hello,

Ken Mankoff <mankoff@gmail.com> writes:

> 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:

Have a look at "*Org Export Process*" buffer. It should give you a clue
about what is wrong.

Regards,

-- 
Nicolas Goaziou

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

* Re: Fwd:  asynch ical export
  2018-01-24 13:31   ` Nicolas Goaziou
@ 2018-01-24 14:01     ` Ken Mankoff
  0 siblings, 0 replies; 3+ messages in thread
From: Ken Mankoff @ 2018-01-24 14:01 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: org-mode

Hi Nicolas,

On 2018-01-24 at 13:31, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
> Ken Mankoff <mankoff@gmail.com> writes:
>> 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:
>
> Have a look at "*Org Export Process*" buffer. It should give you a
> clue about what is wrong.

That buffer didn't give any hints, but when I looked again the ICS file was generated. I don't know if this is related to me restarting emacs at some point today, or if it was working before and it was human error.

Thanks for the advice.

  -k.

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

end of thread, other threads:[~2018-01-24 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <m2efmfaf9h.fsf@gmail.com>
2018-01-24  9:13 ` Fwd: asynch ical export Ken Mankoff
2018-01-24 13:31   ` Nicolas Goaziou
2018-01-24 14:01     ` Ken Mankoff

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.