From: Eli Zaretskii <eliz@gnu.org>
To: jan <rtm443x@googlemail.com>
Cc: 21994@debbugs.gnu.org
Subject: bug#21994: Possible calendar mode bug
Date: Mon, 23 Nov 2015 19:07:17 +0200 [thread overview]
Message-ID: <834mgc1w6y.fsf@gnu.org> (raw)
In-Reply-To: <CADJx9Ld5jvFw9h0yKAB-pWHBUT413tX-VOOxyiF+pFruspLFvQ@mail.gmail.com>
> Date: Mon, 23 Nov 2015 12:15:46 +0000
> From: jan <rtm443x@googlemail.com>
>
> On previous versions of emacs I exported a monthly calendar using
>
> M-x calendar <RET>
>
> 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.
next prev parent reply other threads:[~2015-11-23 17:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-23 12:15 bug#21994: Possible calendar mode bug jan
2015-11-23 17:07 ` Eli Zaretskii [this message]
[not found] ` <CADJx9Lfkjec6VwLG5xf9px0VWJgKbQXakc8n6VvnJFqBeXRt_g@mail.gmail.com>
2015-12-07 16:40 ` Eli Zaretskii
2015-12-08 2:13 ` Glenn Morris
2015-12-08 15:31 ` jan
2015-12-08 19:15 ` Glenn Morris
2015-12-15 14:34 ` jan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=834mgc1w6y.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=21994@debbugs.gnu.org \
--cc=rtm443x@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).