From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21994: Possible calendar mode bug Date: Mon, 23 Nov 2015 19:07:17 +0200 Message-ID: <834mgc1w6y.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1448298508 18867 80.91.229.3 (23 Nov 2015 17:08:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2015 17:08:28 +0000 (UTC) Cc: 21994@debbugs.gnu.org To: jan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 23 18:08:16 2015 Return-path: Envelope-to: geb-bug-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 1a0ub3-0007kf-Ng for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Nov 2015 18:08:09 +0100 Original-Received: from localhost ([::1]:33632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ub4-0006FW-Aw for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Nov 2015 12:08:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0ub1-0006EV-1Y for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:08:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a0uaw-0007sC-4c for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:08:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0uaw-0007s7-2C for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:08:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a0uav-0005fN-Jp for bug-gnu-emacs@gnu.org; Mon, 23 Nov 2015 12:08:01 -0500 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 21994-submit@debbugs.gnu.org id=B21994.144829846421750 (code B ref 21994); Mon, 23 Nov 2015 17:08:01 +0000 Original-Received: (at 21994) by debbugs.gnu.org; 23 Nov 2015 17:07:44 +0000 Original-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 Original-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 Original-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) Original-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) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109129 Archived-At: > 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.