emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Fwd: asynch ical export


From: Ken Mankoff
Subject: [O] Fwd: asynch ical export
Date: Wed, 24 Jan 2018 10:13:21 +0100
User-agent: mu4e 0.9.18; emacs 25.3.1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]