From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Chris BSomething Newsgroups: gmane.emacs.bugs Subject: bug#37203: 26.2; error on load with .emacs.d symlink on windows Date: Wed, 28 Aug 2019 12:21:50 +1000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000e86aef0591240c88" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="186034"; mail-complaints-to="usenet@blaine.gmane.org" To: 37203@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 28 04:29:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i2nhx-000mIW-9K for geb-bug-gnu-emacs@m.gmane.org; Wed, 28 Aug 2019 04:29:13 +0200 Original-Received: from localhost ([::1]:60300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2nhv-0003EN-Q4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Aug 2019 22:29:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41462) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2nhn-0003E2-O6 for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 22:29:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2nhm-0004D7-2g for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 22:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40851) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2nhl-0004D1-To for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 22:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i2nhl-0000xN-OW for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 22:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chris BSomething Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Aug 2019 02:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37203 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15669593313659 (code B ref -1); Wed, 28 Aug 2019 02:29:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Aug 2019 02:28:51 +0000 Original-Received: from localhost ([127.0.0.1]:49672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2nha-0000ww-Da for submit@debbugs.gnu.org; Tue, 27 Aug 2019 22:28:50 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:38212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i2nap-0000n8-A0 for submit@debbugs.gnu.org; Tue, 27 Aug 2019 22:21:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40807) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i2nan-0002cJ-Ib for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 22:21:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i2nam-0001Sx-0S for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 22:21:49 -0400 Original-Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]:40981) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i2nal-0001Rs-PH for bug-gnu-emacs@gnu.org; Tue, 27 Aug 2019 22:21:47 -0400 Original-Received: by mail-oi1-x230.google.com with SMTP id p127so885358oic.8 for ; Tue, 27 Aug 2019 19:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=lXI4CjkUavioTl2dhO4v+x/LMb9LUuCa9ZgbfsuwDDs=; b=nnS0fI1gfUFv/B2+SVjEhBgiNqSTZddCY/ntBC2ptq58Us8K56zmXDn5R9TdtahfHD o3NiMmWL2Hpvp3aHkV4jVrhWCqIZ2Jn4UWQgKl0SFR/0j1uZjokVieuVe8P/TVdJ3j1s 7g8LHLdt4ZTbbeUvG4Wcah/MlooADAvUxDVf4MVXV6FL3yolBwZXmmQk2DAuATEY3QWt Fn4NNWqn2wu/VQphrLR+RRNRYE07rnLaC7LuoXXXkwtTt2TGME4IThCY/NczmET9xZXP bSLdYpnSJPefDD3j5v6o5dPlz7dTZhSf9WVXlsqHkxz/+/71LBiGXlwJBMcInHwLKdAK ViCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lXI4CjkUavioTl2dhO4v+x/LMb9LUuCa9ZgbfsuwDDs=; b=tiWZ+h1yMeow1kN5vVaEZS8P8xU4dadxO8r1M9xUEIhGP5mdxF4LRznjjOl4J4d+UC vCcTh2LI55SMmSJ0UbC9uzzX8HY0qQvxdrKwTIB4kkazsj7wD+3TLH6i4nkeNhblZATA mPFmIS19x4gt5q5KJq/6/0xEz5Ch5oV1vNzi4JF9539oHbpZXQ/oeUVynymrqHLbF5UZ WVOEVgNF4UVKTKuklgqqooZjN5Ip93dOUWBodffLBOMY+qLKlt/PUOa1C2UsK+kemnd5 b8zhzenr34jMbkUySqCE6gr0CLZt4BtNBKIJGpS5gLxH78imke9brpzzEXA3jTVso0qW 9SZA== X-Gm-Message-State: APjAAAUSzDN0cvLJUQgrgDdpGWrA6KQ/FJaKjT615p/GeAEFH1g7Seuw DaFaT3n05+a+rDAGfHa38Nub/F83bTXB4yj0MhXMXX3VGIE= X-Google-Smtp-Source: APXvYqzGal8udbnKT+fddHG/DX0caPfwny6ty8NaTPOBjifQ/fpF6b8VOCsfayPGZqak3FEfRNd0zgzRH3jLPRq5rdM= X-Received: by 2002:aca:ead7:: with SMTP id i206mr1200242oih.8.1566958904960; Tue, 27 Aug 2019 19:21:44 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Tue, 27 Aug 2019 22:28:49 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:165993 Archived-At: --000000000000e86aef0591240c88 Content-Type: text/plain; charset="UTF-8" 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 I do this as administrator, because you have to on windows. I get the following error when using runemacs.exe -------------- Warning (initialization): Unable to access `user-emacs-directory' (~/.emacs.d/). Any data that would normally be written there may be lost! If you never want to see this message again, customize the variable `user-emacs-directory-warning'. -------------- Not sure what is going on here, but this is my guess: It is mistakenly thinking that the directory isn't writable probably because it is a rather than a , or alternatively because the symlink is owned by Administrators. In GNU Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13 built on CIRROCUMULUS Repository revision: fd1b34bfba8f3f6298df47c8e10b61530426f749 Windowing system distributor 'Microsoft Corp.', version 10.0.18362 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: cp1252 Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived epg gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair edmacro kmacro thing-cmds hide-comnt cl thingatpt+ thingatpt finder-inf package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 243150 15397) (symbols 48 27066 2) (miscs 40 78 137) (strings 32 76674 1849) (string-bytes 1 1860097) (vectors 16 22250) (vector-slots 8 620218 13358) (floats 8 54 257) (intervals 56 304 56) (buffers 992 12)) --000000000000e86aef0591240c88 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

I want=C2=A0 to store my init.el on Google = drive so it shares between computers.
So I created a windows symlink:
mklink .emacs.d Google\emacs
I do this as administrator,= because you have to on windows.

I get the following= error when using runemacs.exe
--------------
Warning (= initialization): Unable to access `user-emacs-directory' (~/.emacs.d/).=
Any data that would normally be written there may be lost!
If you ne= ver want to see this message again,
customize the variable `user-emacs-d= irectory-warning'.

--------------
Not sure = what is going on here, but this is my guess:

It is= mistakenly thinking that the directory isn't writable probably because= it is a <SYMLINK> rather than a <DIR>, or alternatively becaus= e the symlink is owned by Administrators.



In GNU Emacs 26.2 (build 1, x86_64-w64-mingw32)
= =C2=A0of 2019-04-13 built on CIRROCUMULUS
Repository revision: fd1b34bfb= a8f3f6298df47c8e10b61530426f749
Windowing system distributor 'Micros= oft Corp.', version 10.0.18362
Recent messages:
For information a= bout GNU Emacs and the GNU system, type C-h C-a.

Configured using:=C2=A0'configure --without-dbus --host=3Dx86_64-w64-mingw32
=C2=A0= --without-compress-install 'CFLAGS=3D-O2 -static -g3''

C= onfigured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS L= IBXML2 ZLIB
TOOLKIT_SCROLL_BARS THREADS LCMS2

Important settings:=
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system: cp12= 52

Major mode: Fundamental

Minor modes in effect:
=C2=A0 t= ooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mod= e: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 men= u-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock= -mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t<= br>=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2= =A0 buffer-read-only: t
=C2=A0 line-number-mode: t
=C2=A0 transient-m= ark-mode: t

Load-path shadows:
None found.

Features:
(s= hadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
form= at-spec rfc822 mml mml-sec epa derived epg gnus-util rmail
rmail-loaddef= s mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils = mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-u= tils elec-pair edmacro kmacro thing-cmds
hide-comnt cl thingatpt+ thinga= tpt finder-inf package easymenu
epg-config url-handlers url-parse auth-s= ource cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache url-= vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib time= -date mule-util tooltip eldoc
electric uniquify ediff-hook vc-hooks lisp= -float-type mwheel dos-w32
ls-lisp disp-table term/w32-win w32-win w32-v= ars term/common-win
tool-bar dnd fontset image regexp-opt fringe tabulat= ed-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode regi= ster page
menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit= -lock
font-lock syntax facemenu font-core term/tty-colors frame cl-gener= ic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet l= ao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czecheuropean ethiopic indian cyrillic chinese composite charscript charpropcase-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffercl-preloaded nadvice loaddefs button faces cus-face macroexp files
tex= t-properties overlay sha1 md5 base64 format env code-pages mule
custom w= idget hashtable-print-readable backquote threads w32notify w32
lcms2 mul= ti-tty make-network-process emacs)

Memory information:
((conses 1= 6 243150 15397)
=C2=A0(symbols 48 27066 2)
=C2=A0(miscs 40 78 137)=C2=A0(strings 32 76674 1849)
=C2=A0(string-bytes 1 1860097)
=C2=A0(= vectors 16 22250)
=C2=A0(vector-slots 8 620218 13358)
=C2=A0(floats 8= 54 257)
=C2=A0(intervals 56 304 56)
=C2=A0(buffers 992 12))
--000000000000e86aef0591240c88--