From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Bug in iCalendar export Date: Wed, 11 Jun 2008 19:13:49 -0400 Message-ID: <8680.1213226029@alphaville.zko.hp.com> References: <854.1212005012@alphaville.zko.hp.com> <87iqwyf8gi.fsf@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6ZXJ-0004Dp-BA for emacs-orgmode@gnu.org; Wed, 11 Jun 2008 19:15:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6ZXI-0004Dd-Q8 for emacs-orgmode@gnu.org; Wed, 11 Jun 2008 19:15:25 -0400 Received: from [199.232.76.173] (port=40216 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6ZXI-0004Da-Np for emacs-orgmode@gnu.org; Wed, 11 Jun 2008 19:15:24 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:39050) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K6ZXI-00068Y-BY for emacs-orgmode@gnu.org; Wed, 11 Jun 2008 19:15:24 -0400 In-Reply-To: Message from Paul R of "Wed, 28 May 2008 23:02:37 +0200." <87iqwyf8gi.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 Paul R wrote: > Nick Dokos writes: > > You have some faulty site-lisp code provided by debian emacs packages. > Because it was the Nth bug I had to track down due to the way debian > handles site-lisp, I just decided to get rid, for good, of debian > emacs packages, and do everything by hand. So I'm sorry to tell you > that I can't tell what line is faulty this time. But I can tell, for > sure, that it lives in debian site-lisp. Good luck. > > > There seems to be a bug somewhere in org-export-icalendar code where the > > *ical-tmp* buffer seems to get deleted prematurely, but I can't figure out > > where exactly, so I'm hoping that a) it's reproducible and b) somebody will > > see what's wrong. > > > > ... Paul, that's an interesting perspective that hadn't crossed my mind at all. Thanks! After some testing (it took me a while to get back to it - sorry for the delay), it certainly looks like the bug is somewhere other than org-export-icalendar, but I'm not sure that debian site-lisp is to blame in this case (although I may very well be missing something). I originally tried this on GNU Emacs 22.1.50.2, which I had gotten from CVS and built myself. I don't think I use any of Ubuntu's emacs setup at all. I also tried it on emacs 23.0.60.1 (also obtained from CVS) and starting it from the build directory with -Q, using whatever version of org-mode is distributed with that version: I get the error there as well. So it seems to me that the bug is somewhere fairly deep in emacs itself (btw, I sent a bug report off to the emacs maintainers - we'll see what they say). I also tried on an ancient RHEL4.1(?) system with the stock emacs 21 version that was packaged with it: I had to do some work to get org-mode installed there, but I could not then reproduce the error. Thanks again for opening my eyes (and thanks to Adam as well), Nick