Jan Böcker <jan.boecker <at> 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 <at> 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 _______________________________________________ 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