emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-wiki-discuss] Re: REALLY annoying bug in planner-muse (LONG b


From: Jim Ottaway
Subject: Re: [emacs-wiki-discuss] Re: REALLY annoying bug in planner-muse (LONG backtrace incl)
Date: Thu, 24 Nov 2005 11:26:47 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>>>> Janne Hellsten <address@hidden> writes:

> Hi!
>> The looping will happen if you do anything that changes the task
>> description and then do M-x planner-appt-update, so you don't have to
>> wait until tomorrow!

> I waited until tomorrow and still got the same infinite loop. :)

>> Anyway, it looks like the bug I was thinking about has been fixed in
>> the latest revision.

Have you updated planner to the latest revision?  And what exactly
does the task line look like?

> I couldn't get the infinite loop to happen.  But when I tried
> planner-edit-task-description I got this:

> ad-Orig-planner-edit-task-description: Invalid function: (macro .
> #[(&rest body) "ÂÃ!ÄÅÆÇÈBÉBÊÇË      BBÌÍÎÏBBEEE)DDD‡" [live-buffers body
> make-symbol "live-buffers" save-window-excursion save-excursion
> save-restriction let ((and (eq planner-tasks-file-behavior (quote
> close)) (buffer-list))) ((current-buffer (current-buffer))) ...] 12
> ("/home/janne/emacs/opt/planner-muse/planner.elc" . 107079)])
> Invalid function: (macro . #[(&rest body)
> "ÂÃ!ÄÅÆÇÈBÉBÊÇË     BBÌÍÎÏBBEEE)DDD‡" [live-buffers body make-symbol
> "live-buffers" save-window-excursion save-excursion save-restriction
> let ((and (eq planner-tasks-file-behavior (quote close))
> (buffer-list))) ((current-buffer (current-buffer))) ...] 12
> ("/home/janne/emacs/opt/planner-muse/planner.elc" . 107079)])

Hmm.  I could be wrong, but I don't think this is a problem with
planner-appt: it is clearly some sort of a macro problem, though.
Could you make a backtrace to show when it happens?

> Perhaps I will just stop using planner-appt.  It wasn't *that* useful
> for me anyway, as the reminder mechanism didn't give me "big enough
> alarms" by default. :)

Well the underlying appt system that planner-appt uses allows you to
change the alarm function, so you could make it do something bigger:

(defun bigger-appt-alarm (min-to-appt new-time appt-msg)
   (do-something-bigger))

(setq appt-disp-window-function 'bigger-appt-alarm)

Regards,

-- 
Jim Ottaway




reply via email to

[Prev in Thread] Current Thread [Next in Thread]