From unknown Tue Jun 17 01:44:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21994: Possible calendar mode bug Resent-From: jan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Nov 2015 16:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 21994@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.144829708518889 (code B ref -1); Mon, 23 Nov 2015 16:45:04 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2015 16:44:45 +0000 Received: from localhost ([127.0.0.1]:49706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0uEO-0004ub-Si for submit@debbugs.gnu.org; Mon, 23 Nov 2015 11:44:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:36181) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0q2E-00017B-Vr for submit@debbugs.gnu.org; Mon, 23 Nov 2015 07:16:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0q2D-0000pR-PO for submit@debbugs.gnu.org; Mon, 23 Nov 2015 07:15:54 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0q2D-0000p1-Fu for submit@debbugs.gnu.org; Mon, 23 Nov 2015 07:15:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0q28-00079e-Jf for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 07:15:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0q27-0000ni-CN for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 07:15:48 -0500 Received: from mail-yk0-x229.google.com ([2607:f8b0:4002:c07::229]:33280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0q27-0000nc-7d for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 07:15:47 -0500 Received: by ykdv3 with SMTP id v3so234043712ykd.0 for ; Mon, 23 Nov 2015 04:15:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+9UBvZ5wwoFxuhlTCMWuHTl+3djTFR/NOMuhmYfi3/8=; b=ny7hFiBE9niJxtueSMrwLj0PvVBY9myhWXW0ii2brVzm3yURxSeyWyCoVufwI94/OJ +AIRaGM640/p/AkDpzDxjXBECUhxLmgMEMd8Wv3f6xjjuvNsSkY18oflBoutbQNLM1OJ 9yPSObS6FcYknSFVHbblVlgIPDOx8U40lYBRsETIxiNdeDW/TqP+e07JOS1F9r/Fm3rg gQuhRCdamhd8Bk6Bsl3SErLQWZqUR4nl2J0h3f6Cnyumb7XcCslorDACH3FPYxnX9W64 3BkH50ucSGGNpcDXhmLTP8/BnBAJkAKexygcnBSot7zDl/eCuoQ2pSaLpvPikfLpuE+H Xwvw== MIME-Version: 1.0 X-Received: by 10.13.236.81 with SMTP id v78mr25500556ywe.189.1448280946723; Mon, 23 Nov 2015 04:15:46 -0800 (PST) Received: by 10.37.77.4 with HTTP; Mon, 23 Nov 2015 04:15:46 -0800 (PST) Date: Mon, 23 Nov 2015 12:15:46 +0000 Message-ID: From: jan Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Mon, 23 Nov 2015 11:44:42 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) On previous versions of emacs I exported a monthly calendar using M-x calendar moved to a date then did H y which I could then tweak a little and print out. This doesn't seem to work as expected in 24.5.1. I run as a non-admin, but running as an admin to prevent any odd permission problems I get this in the *messages* buffer: " Saving file c:/Users/Administrator/AppData/Roaming/public_html/2015/index.html... Wrote c:/Users/Administrator/AppData/Roaming/public_html/2015/index.html Preparing diary... diary-list-entries: Opening input file: no such file or directory, c:/Users/Administrator/AppData/Roaming/diary " So it actually produces an output index.html in C:\Users\Administrator\AppData\Roaming\public_html\2015 but moans about a diary? However trying this as a non-admin/normal user I get this (%home% is C:\+++to_backup+++\to_backup\DVD 08-07-30\emacs_home, and I ask it to write to a folder C:\Users\jan\Desktop\cal) " Saving file c:/Users/jan/Desktop/cal/c/index.html... Wrote c:/Users/jan/Desktop/cal/c/index.html Preparing diary... diary-list-entries: Opening input file: permission denied, c:/+++to_backup+++/to_backup/DVD 08-07-30/emacs_home/diary " So it produces the index.html but gives a permission problem regarding the diary (why does it need the diary anyway?). I can go to the location (C:\+++to_backup+++\to_backup\DVD 08-07-30\emacs_home\diary) and create a file there so I've got permissions, and emacs is running under my permissions, so what's the problem? Emacs 24.5.1 running on Windows 2008 R2. Can anyone reproduce? cheers jan From unknown Tue Jun 17 01:44:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21994: Possible calendar mode bug Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Nov 2015 17:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jan Cc: 21994@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 21994-submit@debbugs.gnu.org id=B21994.144829846421750 (code B ref 21994); Mon, 23 Nov 2015 17:08:01 +0000 Received: (at 21994) by debbugs.gnu.org; 23 Nov 2015 17:07:44 +0000 Received: from localhost ([127.0.0.1]:49762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0uad-0005ek-NN for submit@debbugs.gnu.org; Mon, 23 Nov 2015 12:07:44 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:39607) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a0uaJ-0005e3-5A for 21994@debbugs.gnu.org; Mon, 23 Nov 2015 12:07:42 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NYA002001W5OV00@a-mtaout20.012.net.il> for 21994@debbugs.gnu.org; Mon, 23 Nov 2015 19:07:21 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYA002JS289NX10@a-mtaout20.012.net.il>; Mon, 23 Nov 2015 19:07:21 +0200 (IST) Date: Mon, 23 Nov 2015 19:07:17 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <834mgc1w6y.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Mon, 23 Nov 2015 12:15:46 +0000 > From: jan > > On previous versions of emacs I exported a monthly calendar using > > M-x calendar > > moved to a date then did > > H y > > which I could then tweak a little and print out. This doesn't seem to > work as expected in 24.5.1. I run as a non-admin, but running as an > admin to prevent any odd permission problems I get this in the > *messages* buffer: > > " > Saving file c:/Users/Administrator/AppData/Roaming/public_html/2015/index.html... > Wrote c:/Users/Administrator/AppData/Roaming/public_html/2015/index.html > Preparing diary... > diary-list-entries: Opening input file: no such file or directory, > c:/Users/Administrator/AppData/Roaming/diary > " > So it actually produces an output index.html in > C:\Users\Administrator\AppData\Roaming\public_html\2015 but moans > about a diary? > > However trying this as a non-admin/normal user I get this (%home% is > C:\+++to_backup+++\to_backup\DVD 08-07-30\emacs_home, and I ask it to > write to a folder C:\Users\jan\Desktop\cal) > > " > Saving file c:/Users/jan/Desktop/cal/c/index.html... > Wrote c:/Users/jan/Desktop/cal/c/index.html > Preparing diary... > diary-list-entries: Opening input file: permission denied, > c:/+++to_backup+++/to_backup/DVD 08-07-30/emacs_home/diary > " > > So it produces the index.html but gives a permission problem regarding > the diary (why does it need the diary anyway?). I can go to the > location (C:\+++to_backup+++\to_backup\DVD 08-07-30\emacs_home\diary) > and create a file there so I've got permissions, and emacs is running > under my permissions, so what's the problem? > > Emacs 24.5.1 running on Windows 2008 R2. Can anyone reproduce? Your home directory most probably has weird access rights. I suggest to take ownership on the entire tree under C:\Users\jan, via the Windows Explorer's "Security" tab; then restart Emacs and try again. This will save you a lot of grief down the road. Alternatively, change the value of %HOME% to point to a directory outside the C:\Users\ hierarchy, preferably to another volume, like D:\jan, if you can. Putting user files on system disk is known to cause trouble on latest versions of Windows. From unknown Tue Jun 17 01:44:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21994: Possible calendar mode bug Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Dec 2015 16:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jan Cc: 21994@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 21994-submit@debbugs.gnu.org id=B21994.144950645127756 (code B ref 21994); Mon, 07 Dec 2015 16:41:01 +0000 Received: (at 21994) by debbugs.gnu.org; 7 Dec 2015 16:40:51 +0000 Received: from localhost ([127.0.0.1]:41892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a5yqI-0007Da-NO for submit@debbugs.gnu.org; Mon, 07 Dec 2015 11:40:51 -0500 Received: from mtaout29.012.net.il ([80.179.55.185]:47594) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a5yqG-0007DS-Ty for 21994@debbugs.gnu.org; Mon, 07 Dec 2015 11:40:49 -0500 Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NYZ00C00Y9K6V00@mtaout29.012.net.il> for 21994@debbugs.gnu.org; Mon, 07 Dec 2015 18:40:46 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NYZ0050DYBYLX60@mtaout29.012.net.il>; Mon, 07 Dec 2015 18:40:46 +0200 (IST) Date: Mon, 07 Dec 2015 18:40:42 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <834mfudxf9.fsf@gnu.org> References: <834mgc1w6y.fsf@gnu.org> X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.9 (/) Resending to the bug address: > Date: Mon, 7 Dec 2015 13:46:49 +0000 > From: jan > > Hi Eli, > found the problem. > Not to do with permissions but it was giving a hint that the calendar > was trying to look at the diary (see original email), when I was > trying to dump it out with > > H y > > Trying to look at the diary: > > M-x diary > > *messages* says: > > Preparing diary... > diary-list-entries: Wrong type argument: stringp, nil > > Turns out you have to manually create the 'diary' file (and then > possibly look at the diary by pressing 'd' in Calendar mode, but not > sure this is necessary). > > Seems a bit naff that 'd' and 'H y' should both bomb miserably if the > diary file isn't present. > > Bug, or just me being a bit of an emacs n00b in this area? > > The manual says: > "Although you probably will start by creating a diary manually, Emacs > provides a number of commands to let you view, add, and change diary > entries." > > This does not say that you must create it manually. I dunno... > > More info if requested. Thanks. From unknown Tue Jun 17 01:44:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21994: Possible calendar mode bug Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2015 02:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: jan , 21994@debbugs.gnu.org Received: via spool by 21994-submit@debbugs.gnu.org id=B21994.144954082026558 (code B ref 21994); Tue, 08 Dec 2015 02:14:02 +0000 Received: (at 21994) by debbugs.gnu.org; 8 Dec 2015 02:13:40 +0000 Received: from localhost ([127.0.0.1]:42213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a67me-0006uH-4Q for submit@debbugs.gnu.org; Mon, 07 Dec 2015 21:13:40 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48500) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a67mc-0006uA-Q5 for 21994@debbugs.gnu.org; Mon, 07 Dec 2015 21:13:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a67mc-0007hP-2Z for 21994@debbugs.gnu.org; Mon, 07 Dec 2015 21:13:38 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a67ma-0007h6-Jf; Mon, 07 Dec 2015 21:13:36 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1a67mZ-00018u-FU; Mon, 07 Dec 2015 21:13:35 -0500 From: Glenn Morris References: <834mgc1w6y.fsf@gnu.org> <834mfudxf9.fsf@gnu.org> X-Spook: Glock Disaster medical assistance team military Skipjack X-Ran: 7YW)R1$kF4$Kuz{2ULw-\}c0:}Il6]Y*t"n#89~DW5t-Y3'*$&:*VoIMn^Ost-\wi'oN-4 X-Hue: white X-Attribution: GM Date: Mon, 07 Dec 2015 21:13:35 -0500 In-Reply-To: <834mfudxf9.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 07 Dec 2015 18:40:42 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) >> H y The point of the cal-html package is to make an html calendar showing your diary entries. No-one imagined it would be used without a diary. AFAICS, that's never worked. Anyway, I added handling for that case to the emacs-25 branch. >> M-x diary >> >> *messages* says: >> >> Preparing diary... >> diary-list-entries: Wrong type argument: stringp, nil I can't reproduce any such issue with rm -rf /tmp/foo mkdir /tmp/foo HOME=/tmp/foo emacs-24.5 My crystal ball says that you set diary-file to nil. Don't do that. (Not sure why you would do that then call M-x diary though.) From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 21:19:45 2015 Received: (at control) by debbugs.gnu.org; 8 Dec 2015 02:19:45 +0000 Received: from localhost ([127.0.0.1]:42217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a67sW-000734-Vb for submit@debbugs.gnu.org; Mon, 07 Dec 2015 21:19:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49306) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a67sC-00072e-Ik for control@debbugs.gnu.org; Mon, 07 Dec 2015 21:19:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a67sC-0000H6-3O for control@debbugs.gnu.org; Mon, 07 Dec 2015 21:19:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a67sC-0000H2-0S for control@debbugs.gnu.org; Mon, 07 Dec 2015 21:19:24 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1a67sB-0001fb-Ae for control@debbugs.gnu.org; Mon, 07 Dec 2015 21:19:23 -0500 Subject: control message for bug 21994 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Mon, 07 Dec 2015 21:19:23 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) retitle 21994 cal-html assumes diary-file exists close 21994 25.1 From unknown Tue Jun 17 01:44:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21994: Possible calendar mode bug Resent-From: jan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2015 15:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: Eli Zaretskii , 21994@debbugs.gnu.org Received: via spool by 21994-submit@debbugs.gnu.org id=B21994.144958867421420 (code B ref 21994); Tue, 08 Dec 2015 15:32:01 +0000 Received: (at 21994) by debbugs.gnu.org; 8 Dec 2015 15:31:14 +0000 Received: from localhost ([127.0.0.1]:43383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a6KEU-0005ZP-7e for submit@debbugs.gnu.org; Tue, 08 Dec 2015 10:31:14 -0500 Received: from mail-vk0-f53.google.com ([209.85.213.53]:35597) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a6KES-0005ZF-B0 for 21994@debbugs.gnu.org; Tue, 08 Dec 2015 10:31:12 -0500 Received: by vkha189 with SMTP id a189so15981236vkh.2 for <21994@debbugs.gnu.org>; Tue, 08 Dec 2015 07:31:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JS11yuZYHGI6a/Ih0m6PWld5rNXke5eS7j6ocSB5+OA=; b=fln+TAJlStZ2qbX3w2W9IGb7NjPKm2A78SD8uJsK03Um67lRnToIbfbGpxzeptI9EO LY3W7AmCNzO2sqCpblfc3xzUX0VMKJs3+KjVRnrjXPYMPq80LFoHMttsPD1Pyj2bqrjB C4Zb7/lqLiiIKxlxv5QzKM//7VxI5DKV3LgIN37p55QxDa6yWptirGpG7gKcJi5AVSKy 3YLl3DmhJIsGWWjtPZMCTGjBM1pOtXZDFX5G7qtKxqQ0tHJgCV5d47U29UvV/+i6FbmR vJ2l/UGbK9k6azBVO/ZOQe2mBbhBoubzqJrPAnssja6OfZucI5uXFyxN/2rmw5X/hu58 HMYQ== MIME-Version: 1.0 X-Received: by 10.13.207.69 with SMTP id r66mr2495801ywd.18.1449588671798; Tue, 08 Dec 2015 07:31:11 -0800 (PST) Received: by 10.37.77.4 with HTTP; Tue, 8 Dec 2015 07:31:11 -0800 (PST) In-Reply-To: References: <834mgc1w6y.fsf@gnu.org> <834mfudxf9.fsf@gnu.org> Date: Tue, 8 Dec 2015 15:31:11 +0000 Message-ID: From: jan Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, see below On 08/12/2015, Glenn Morris wrote: > >>> H y > > The point of the cal-html package is to make an html calendar showing > your diary entries. No-one imagined it would be used without a diary. I used to use it to dump out a year's worth of months with blank lines, print them out & stick them on the wall as my calendar (which I write on). Why? I don't have to turn the computer on to see them, and paper never crashes. I suppose this is me . > AFAICS, that's never worked. It certainly used to. I *could* reproduce this problem in 22 (22.1 I think) so it may have been 20 or even 19 that worked but I did used to do this. > Anyway, I added handling for that case to the emacs-25 branch. > >>> M-x diary >>> >>> *messages* says: >>> >>> Preparing diary... >>> diary-list-entries: Wrong type argument: stringp, nil > > I can't reproduce any such issue with > > rm -rf /tmp/foo > mkdir /tmp/foo > HOME=/tmp/foo emacs-24.5 My prior email which you may not have got gave this as running on windows. > > My crystal ball says that you set diary-file to nil. Don't do that. > (Not sure why you would do that then call M-x diary though.) I didn't. There's no mention of 'diary' in my rather trivial .emacs file. Running on windows server 2008 R2, from the splash screen: GNU Emacs 24.5.1 (i686-pc-mingw32). Happy to answer any questions (esp reproducing prob with M-x diary if that helps) cheers jan > From unknown Tue Jun 17 01:44:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21994: Possible calendar mode bug Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2015 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: jan Cc: Eli Zaretskii , 21994@debbugs.gnu.org Received: via spool by 21994-submit@debbugs.gnu.org id=B21994.144960217417699 (code B ref 21994); Tue, 08 Dec 2015 19:17:02 +0000 Received: (at 21994) by debbugs.gnu.org; 8 Dec 2015 19:16:14 +0000 Received: from localhost ([127.0.0.1]:43681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a6NkD-0004bP-OI for submit@debbugs.gnu.org; Tue, 08 Dec 2015 14:16:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33438) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a6Njk-0004ZL-Bs for 21994@debbugs.gnu.org; Tue, 08 Dec 2015 14:16:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a6Njj-0006E0-Au for 21994@debbugs.gnu.org; Tue, 08 Dec 2015 14:15:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a6Njg-0006CE-GS; Tue, 08 Dec 2015 14:15:40 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1a6Nje-00006b-KZ; Tue, 08 Dec 2015 14:15:38 -0500 From: Glenn Morris References: <834mgc1w6y.fsf@gnu.org> <834mfudxf9.fsf@gnu.org> X-Spook: Bosnia SP4 Infrastructure security ICE Telecommunications X-Ran: W~+&X%U:*"XAH`VfDg7p7l>a>QX{N7W\h_[en8V&)('an@YYt`c97CQ(kf02C|=mO@]cBD X-Hue: red X-Attribution: GM Date: Tue, 08 Dec 2015 14:15:38 -0500 In-Reply-To: (jan's message of "Tue, 8 Dec 2015 15:31:11 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) jan wrote: > It certainly used to. I *could* reproduce this problem in 22 (22.1 I > think) so it may have been 20 or even 19 that worked but I did used to > do this. cal-html was only added in Emacs 22, so I suspect your recollection is faulty. >>>> M-x diary >>>> >>>> *messages* says: >>>> >>>> Preparing diary... >>>> diary-list-entries: Wrong type argument: stringp, nil >> >> I can't reproduce any such issue with >> >> rm -rf /tmp/foo >> mkdir /tmp/foo >> HOME=/tmp/foo emacs-24.5 > > My prior email which you may not have got gave this as running on windows. I know. I am demonstrating that with no .emacs file and no diary file, I cannot reproduce your problem. So it's probably due to some customization. Please give a minimal complete example starting from emacs -Q (I don't know how you do this on MS Windows) that shows the problem with M-x diary. It may also help to do M-x toggle-debug-on-error and include the resulting backtrace. From unknown Tue Jun 17 01:44:34 2025 X-Loop: help-debbugs@gnu.org Subject: bug#21994: Possible calendar mode bug Resent-From: jan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Dec 2015 14:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21994 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: Eli Zaretskii , 21994@debbugs.gnu.org Received: via spool by 21994-submit@debbugs.gnu.org id=B21994.145019009816821 (code B ref 21994); Tue, 15 Dec 2015 14:35:01 +0000 Received: (at 21994) by debbugs.gnu.org; 15 Dec 2015 14:34:58 +0000 Received: from localhost ([127.0.0.1]:52375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8qgr-0004NF-LD for submit@debbugs.gnu.org; Tue, 15 Dec 2015 09:34:57 -0500 Received: from mail-qk0-f177.google.com ([209.85.220.177]:34368) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a8qgq-0004N2-72 for 21994@debbugs.gnu.org; Tue, 15 Dec 2015 09:34:56 -0500 Received: by mail-qk0-f177.google.com with SMTP id p187so15102663qkd.1 for <21994@debbugs.gnu.org>; Tue, 15 Dec 2015 06:34:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=P3siCJ1zNwjHq/9QXA/gkAEOksMv0zJDrYpdEqAQMCg=; b=Rd1QdIl8pIEwQ+5V2a6Vu37FwYJzFnov4VmrEreti1v5ScTvZ4i9cYdt/s5nhN0Oqi s9KTzFy0MjauWg739lJhy+UCD4P9yrV50cpsk2LTQYW5OPPlJSJcDeyQ76IYQDcFLYjv x+cmvUzEx2ApILnDNz/wbMTc9dMHlL/V4KCbCshwRs9+GqDTr3gIx9I/H4efCBiwH0qA 2SuWdtDRovrqwDaEIHOgLzd423m8nBUVIHWi0sCGeHyuTeBKrWC4aCOr/NxkutAcduVF qFiuNHaU6ZB3B2e1i3YCyGgVcfk5TdsfIr679GeEgmUIAKHKDWED0X7gH7sNSvq5S+l+ ZUEA== MIME-Version: 1.0 X-Received: by 10.129.39.18 with SMTP id n18mr20960896ywn.36.1450190090683; Tue, 15 Dec 2015 06:34:50 -0800 (PST) Received: by 10.37.77.4 with HTTP; Tue, 15 Dec 2015 06:34:50 -0800 (PST) In-Reply-To: References: <834mgc1w6y.fsf@gnu.org> <834mfudxf9.fsf@gnu.org> Date: Tue, 15 Dec 2015 14:34:50 +0000 Message-ID: From: jan Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hi, see below On 08/12/2015, Glenn Morris wrote: > jan wrote: > >> It certainly used to. I *could* reproduce this problem in 22 (22.1 I >> think) so it may have been 20 or even 19 that worked but I did used to >> do this. > > cal-html was only added in Emacs 22, so I suspect your recollection is > faulty. Unquestionably so. However, if it's of any interest, now I've got it working it's printing out each month with whatever holiday it can find (despite me having an empty diary file). It never used to do that; every line of every month used to be blank. Don't know if that tells you anything. > >>>>> M-x diary >>>>> >>>>> *messages* says: >>>>> >>>>> Preparing diary... >>>>> diary-list-entries: Wrong type argument: stringp, nil >>> >>> I can't reproduce any such issue with >>> >>> rm -rf /tmp/foo >>> mkdir /tmp/foo >>> HOME=/tmp/foo emacs-24.5 >> >> My prior email which you may not have got gave this as running on >> windows. > > I know. I am demonstrating that with no .emacs file and no diary file, I > cannot reproduce your problem. So it's probably due to some customization. I'm running a stock download as I haven't the skill to customise anything. I'm barely able to set a variable in .emacs. I haven't knowingly changed anything. And suddenly things are working sensibly. When I do M-x diary I get diary-check-diary-file: Diary file `~/diary' does not exist instead of the lispy error, and when I try to dump the months from the calendar without a diary file it says diary-list-entries: Opening input file: no such file or directory, c:/+++to_backup+++/to_backup/DVD 08-07-30/emacs_home/diary - it does not give me any grief about permissions. And I have no clue whatsoever what's changed to make it work. I diffed my current emacs home dir with an older one - no significant difference. I've no idea. Well, given a) it's fixed itself b) I know how to fix it if it happens again c) no-one else has ever reported this, I suggest closing this bug as user error. thank you for taking the time to look into this regards jan > > Please give a minimal complete example starting from emacs -Q (I don't > know how you do this on MS Windows) that shows the problem with M-x diary. > > It may also help to do M-x toggle-debug-on-error and include the > resulting backtrace. >