From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Export to iCal raises (error "Selecting deleted buffer") Date: Fri, 2 May 2008 09:11:37 +0200 Message-ID: References: <87ve20s56o.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jrpw1-0006cj-C8 for emacs-orgmode@gnu.org; Fri, 02 May 2008 03:44:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jrpw0-0006cU-R3 for emacs-orgmode@gnu.org; Fri, 02 May 2008 03:44:01 -0400 Received: from [199.232.76.173] (port=60189 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jrpw0-0006cR-MZ for emacs-orgmode@gnu.org; Fri, 02 May 2008 03:44:00 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jrpw0-0001wv-7B for emacs-orgmode@gnu.org; Fri, 02 May 2008 03:44:00 -0400 Received: from imap.science.uva.nl ([146.50.4.51]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jrpvz-0000U2-2k for emacs-orgmode@gnu.org; Fri, 02 May 2008 03:43:59 -0400 In-Reply-To: <87ve20s56o.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Paul R Cc: emacs-orgmode@gnu.org Hi, I cannot reproduce this bug. So you need to figure out what in your setup is causing this problem, or come up with an example where I can reproduce the problem. Thanks. - Carsten - Carsten On Apr 29, 2008, at 11:48 PM, Paul R wrote: > iCal export crashes when : > - from dirary, C-x C-w file.ics > - from org buffer C-c C-e I or C-c C-e c > > It works when exporting with C-c C-e i. > > Emacs 22.1, org version 6.02 on Ubuntu. > > When crashing, the stack trace is : > > Debugger entered--Lisp error: (error "Selecting deleted buffer") > byte-code("(...)" [b sexp sexp-buffer org-agenda-skip 0 forward- > sexp 1 "\n" princ org-diary-to-ical-string] 3) > org-print-icalendar-entries(combine) > byte-code("(...)" [file combine dir buffer-file-name ical-file ical- > buffer org-check-agenda-file org-get-agenda-file-buffer file-name-as- > directory file-name-sans-extension file-name-nondirectory ".ics" > erase-buffer symbol-name t org-start-icalendar-file org-print- > icalendar-entries org-finish-icalendar-file save-buffer run-hooks > org-after-save-iCalendar-file-hook boundp org-wait sit-for org- > category category standard-output started org-icalendar-combined- > name files] 5) > org-export-icalendar(combine "~/emacs/data/org/perso.org" "~/emacs/ > data/org/boulot.org") > apply(org-export-icalendar combine ("~/emacs/data/org/perso.org" "~/ > emacs/data/org/boulot.org")) > (let ((org-agenda-marker-table ...) (org-icalendar-verify- > function ...) (org-combined-agenda-icalendar-file file)) (apply > (quote org-export-icalendar) (quote combine) (org-agenda-files))) > (cond ((string-match "\\.html?\\'" file) (set-buffer ...) > (when ... ... ... ...) (write-file file) (kill-buffer ...) (message > "HTML written to %s" file)) ((string-match "\\.ps\\'" file) (ps- > print-buffer-with-faces file) (message "Postscript written to %s" > file)) ((string-match "\\.ics\\'" file) (let ... ...)) (t > (let ... ... ... ... ... ...))) > (save-window-excursion (cond (... ... ... ... ... ...) > (... ... ...) (... ...) (t ...))) > (save-excursion (save-window-excursion (cond ... ... ... ...))) > (let nil (save-excursion (save-window-excursion ...)) # Agenda*>) > eval((let nil (save-excursion (save-window-excursion ...)) # *Org Agenda*>)) > org-let(nil (save-excursion (save-window-excursion > (cond ... ... ... ...))) #) > org-write-agenda("~/cleanMe/lalilo.ics") > -- > Paul > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode