[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: calwf
From: |
Uwe Brauer |
Subject: |
Re: calwf |
Date: |
Thu, 14 Jan 2016 08:54:58 +0000 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) |
>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
> In both cases (calwf and weekly-view), I expect that the issue is
> IOW, these should all be fairly easy to debug by single-stepping
> through the code and comparing where the execution diverges between the
> two different emacsen.
The function is question is this one:
(defun week-graph-view-diary-entries ()
"Prepare and display a buffer with diary entries of the current week.
See `view-diary-entries' for more."
(interactive)
(save-excursion
(calendar-cursor-to-nearest-date)
(let ((diary-display-hook 'fancy-diary-display-week-graph)
(day (calendar-day-of-week (calendar-cursor-to-date))))
(unless (= day calendar-week-start-day)
(calendar-beginning-of-week 1))
(view-diary-entries 7))))
I edebugged it and GNU emacs and Xemacs behave exactly the same, till
(view-diary-entries 7))))
^(same)
(view-diary-entries 7))))
^(different)
Most of the work is done by the function
fancy-diary-display-week-graph
which is in the diary-display-hook.
However I cannot debug fancy-diary-display-week-graph, in the sense that
the debugger never starts for this function (most likely because it is
in that hook)
- calwf, Uwe Brauer, 2016/01/11
- Re: calwf, Stefan Monnier, 2016/01/12
- Re: calwf, Uwe Brauer, 2016/01/13
- Re: calwf,
Uwe Brauer <=
- Re: calwf, Stefan Monnier, 2016/01/14
- Re: calwf, Uwe Brauer, 2016/01/14
- Re: calwf, Stefan Monnier, 2016/01/14
- [missing diary-display-hook] (was: calwf), Uwe Brauer, 2016/01/15
- Re: [missing diary-display-hook], Stefan Monnier, 2016/01/15
- Re: [missing diary-display-hook], Uwe Brauer, 2016/01/15
- Re: [missing diary-display-hook], Glenn Morris, 2016/01/15
- Re: [missing diary-display-hook], Uwe Brauer, 2016/01/15
- Re: calwf, Uwe Brauer, 2016/01/15
- Re: calwf, Stefan Monnier, 2016/01/14