From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fritz Kunze Subject: Re: emacs 23.1 crash on small org file (org-version 6.36) Date: Sat, 22 May 2010 01:32:08 +0000 (UTC) Message-ID: References: <4BF6D5DF.2000508@jboecker.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=54284 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFdcU-00006S-Ro for emacs-orgmode@gnu.org; Fri, 21 May 2010 21:35:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFdcL-0000qd-S2 for emacs-orgmode@gnu.org; Fri, 21 May 2010 21:35:11 -0400 Received: from lo.gmane.org ([80.91.229.12]:32828) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFdcL-0000qP-Et for emacs-orgmode@gnu.org; Fri, 21 May 2010 21:35:09 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OFdcF-0002Qx-5Z for emacs-orgmode@gnu.org; Sat, 22 May 2010 03:35:03 +0200 Received: from c-76-102-126-134.hsd1.ca.comcast.net ([76.102.126.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 May 2010 03:35:03 +0200 Received: from fkunze by c-76-102-126-134.hsd1.ca.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 May 2010 03:35:03 +0200 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: emacs-orgmode@gnu.org Jan Böcker jboecker.de> writes: > > On 05/21/2010 01:43 AM, Fritz Kunze wrote: > > MY TASKS -*- mode: org; fill-column: 78; after-save-hook: > > (archive-done-tasks) -*- > > If my understanding is correct, archive-done-tasks is evaluated when the > file is loaded, which I guess is not your intention. (You want to set > after-save-hook to '(archive-done-tasks), not to the result of > evaluating (archive-done-tasks)). > > I can imagine that this causes the crash (maybe org has not been fully > initialized for that buffer at this point?). > > Try quoting (archive-done-tasks) like this: > > MY TASKS -*- mode: org; fill-column: 78; after-save-hook: > '(archive-done-tasks) -*- > > HTH, Jan > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > May 21, 2010 Hi Jan, Thanks for offering a response. I inserted the quote, and sadly, emacs still crashes. The code you referred to, I copied verbatim from a note from John Weigley (see: http://article.gmane.org/gmane.emacs.orgmode/3629). I've been working my way through John Weigley's wonderful tutorial (http://www.newartisans.com/2007/08/using-org-mode-as-a-day-planner.html), and learning by studying his (amazingly good) lisp code. That code, along with using John's set up, has worked perfectly. I had a very large list of todos and was happily figuring things out, when suddenly emacs began to consistently crash. At first I thought it was the archiving stuff and turned it off, but it did not affect the crashing. Through trial and error, I reduced the file size to the one I sent out. Strangely, changing just a few characters in this file (say in the note part), allows emacs to continue working again. So I remain stumped. Regards, Fritz