From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Jan_B=F6cker?= Subject: Re: emacs 23.1 crash on small org file (org-version 6.36) Date: Fri, 21 May 2010 20:50:07 +0200 Message-ID: <4BF6D5DF.2000508@jboecker.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=58501 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OFXIZ-0006Jo-Pw for emacs-orgmode@gnu.org; Fri, 21 May 2010 14:50:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OFXIW-0000fT-AZ for emacs-orgmode@gnu.org; Fri, 21 May 2010 14:50:19 -0400 Received: from mail7.worldserver.net ([217.13.200.27]:42640) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OFXIV-0000f0-P9 for emacs-orgmode@gnu.org; Fri, 21 May 2010 14:50:16 -0400 In-Reply-To: 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: Fritz Kunze Cc: emacs-orgmode@gnu.org 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