all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: 900276502f..: Paul Eggert 2018-11-13 Act like POSIX sh if $HOME is relative
@ 2018-12-12 12:42 João Távora
  2018-12-12 13:19 ` Yuri Khan
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: João Távora @ 2018-12-12 12:42 UTC (permalink / raw)
  To: emacs-devel, Paul Eggert, Eli Zaretskii

Hi,

I've only now caught up with the discussion of bug#33255.  Are the
consequences of interpreting the string "c:" on Windows as a relative
file name understood?

With HOME="z:", it used to be that (expand-file-name "~/blabla")
returned "z:/blabla" but now it returns
"z:/source/emacs/emacs/src/z:/blabla", which is not a valid Windows
pathname.

With HOME set thusly, this breaks a recent master build immediately (and
misteriously), since it can't find/create user-emacs-directory.

Notice however that (expand-file-name "z:") does return "z:/".  So I
think there is an inconsistency here, even if it is true that
(file-name-absolute-p "z:") has always returned nil.

All of this can be fixed by me by setting HOME to "z:/", but
unfortunately I am breaking other applications that expected it
slash-less.

An alternative would be:

* for this part of the change to be reverted in Emacs;

* for me to set the correct environment var from the Windows shortcut
  that points to runemacs.exe. Can it be done easily?

Anyway, maybe a tiny edit to the NEWS to mention this particular (and
presumably common) case could be worth it.

João Távora



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2018-12-12 17:20 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-12 12:42 900276502f..: Paul Eggert 2018-11-13 Act like POSIX sh if $HOME is relative João Távora
2018-12-12 13:19 ` Yuri Khan
2018-12-12 14:54   ` João Távora
2018-12-12 15:22   ` Eli Zaretskii
2018-12-12 15:29     ` Drew Adams
2018-12-12 16:35       ` Eli Zaretskii
2018-12-12 13:28 ` Óscar Fuentes
2018-12-12 14:53   ` João Távora
2018-12-12 15:14     ` Óscar Fuentes
2018-12-12 15:28       ` João Távora
2018-12-12 16:55         ` Óscar Fuentes
2018-12-12 17:19           ` João Távora
2018-12-12 17:20           ` Eli Zaretskii
2018-12-12 15:16   ` Stefan Monnier
2018-12-12 16:30     ` Eli Zaretskii
2018-12-12 15:20 ` Eli Zaretskii
2018-12-12 15:30   ` João Távora
2018-12-12 16:35     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.