emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Jan Böcker" <jan.boecker@jboecker.de>
To: Fritz Kunze <fkunze@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: emacs 23.1 crash on small org file (org-version 6.36)
Date: Fri, 21 May 2010 20:50:07 +0200	[thread overview]
Message-ID: <4BF6D5DF.2000508@jboecker.de> (raw)
In-Reply-To: <AANLkTikPjBuPI9HRwhNKrfg7w6uWS4ps4GUxdq_aI52t@mail.gmail.com>

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

  reply	other threads:[~2010-05-21 18:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 23:43 emacs 23.1 crash on small org file (org-version 6.36) Fritz Kunze
2010-05-21 18:50 ` Jan Böcker [this message]
2010-05-22  1:32   ` Fritz Kunze
2010-05-22  5:06 ` Manish
2010-05-22 12:06 ` David Maus
2010-05-25 14:46   ` Fritz Kunze
2010-05-25 15:52     ` Carsten Dominik
2010-05-31  4:52       ` Juri Krivov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BF6D5DF.2000508@jboecker.de \
    --to=jan.boecker@jboecker.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=fkunze@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).