From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.help Subject: Re: calwf Date: Thu, 14 Jan 2016 08:54:58 +0000 Message-ID: <87bn8omtgd.fsf@mat.ucm.es> References: <878u3wukjs.fsf@mat.ucm.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1452761738 31001 80.91.229.3 (14 Jan 2016 08:55:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2016 08:55:38 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 14 09:55:29 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aJdgm-0005Zw-6U for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jan 2016 09:55:28 +0100 Original-Received: from localhost ([::1]:40851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJdgl-0003lS-Od for geh-help-gnu-emacs@m.gmane.org; Thu, 14 Jan 2016 03:55:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJdgZ-0003lH-Pv for help-gnu-emacs@gnu.org; Thu, 14 Jan 2016 03:55:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJdgW-0008EQ-KV for help-gnu-emacs@gnu.org; Thu, 14 Jan 2016 03:55:15 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:42072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJdgW-0008EI-D3 for help-gnu-emacs@gnu.org; Thu, 14 Jan 2016 03:55:12 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aJdgS-0005Mv-OK for help-gnu-emacs@gnu.org; Thu, 14 Jan 2016 09:55:08 +0100 Original-Received: from 2.162.24.124 ([2.162.24.124]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2016 09:55:08 +0100 Original-Received: from oub by 2.162.24.124 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 14 Jan 2016 09:55:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 2.162.24.124 Mail-Copies-To: never User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:z5bLEb9AvFTGLncLheKXJ8d1yFc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:108723 Archived-At: >>> "Stefan" == Stefan Monnier 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)