GNU bug report logs - #37203
26.2; error on load with .emacs.d symlink on windows

Previous Next

Package: emacs;

Reported by: Chris BSomething <xpusostomos <at> gmail.com>

Date: Wed, 28 Aug 2019 02:29:01 UTC

Severity: normal

Found in version 26.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 37203 <at> debbugs.gnu.org (full text, mbox):

From: Chris BSomething <xpusostomos <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 37203 <at> debbugs.gnu.org
Subject: Re: bug#37203: 26.2; error on load with .emacs.d symlink on windows
Date: Wed, 28 Aug 2019 16:27:27 +1000
[Message part 1 (text/plain, inline)]
Ahh, ok thanks. Although the link did seem to work for m-x load-file

In any case, i found that mklink /j also seems to work. Some different kind
of link i dont fully understand.

On Wed, 28 Aug. 2019, 4:23 pm Eli Zaretskii, <eliz <at> gnu.org> wrote:

> > From: Chris BSomething <xpusostomos <at> gmail.com>
> > Date: Wed, 28 Aug 2019 12:21:50 +1000
> >
> > I want  to store my init.el on Google drive so it shares between
> computers.
> > So I created a windows symlink:
> > mklink .emacs.d Google\emacs
>
> This doesn't create a directory symlink, it creates a symlink to a
> (non-existent) file.  To make a directory symlink, you need to do this
> instead:
>
>   mklink /d .emacs.d Google\emacs
>
> If this doesn't work either, please tell more about what does "Google"
> above represent, as it doesn't seem to point to a drive, at least not
> syntactically.
>
> > It is mistakenly thinking that the directory isn't writable probably
> because it is a <SYMLINK> rather than a
> > <DIR>, or alternatively because the symlink is owned by Administrators.
>
> If ownership winds up to be the problem (I don't think so), it can be
> changed from the Windows Explorer or other similar tools.
>
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 263 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.