emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About frame title case [Windows]


From: Angelo Graziosi
Subject: Re: About frame title case [Windows]
Date: Mon, 8 May 2017 21:50:29 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0



Il 08/05/2017 19:00, Eli Zaretskii ha scritto:
From: Angelo Graziosi <address@hidden>
Date: Sun, 7 May 2017 23:28:22 +0200
Cc: address@hidden

Il 07/05/2017 18:49, Eli Zaretskii ha scritto:
Emacs doesn't up-case the system-name, it uses the exact string we get
from the system API we use to get the machine name (GetComputerName).

Looking at src/w32.c it seems you are implementing (sys_)gethostname()
which, if I understood, is also used on other *nix systems.

gethostname() seems the right routine because on MSYS2 shell I get:

$ env | grep -i foobar
HOSTNAME=FooBar
COMPUTERNAME=FOOBAR

or, if you prefer,

$ echo $COMPUTERNAME $HOSTNAME
FOOBAR FooBar

Does it help to set PRELOAD_WINSOCK=1 in the environment before
starting Emacs?


Yes, it does! Does it mean we have to add a new environment variable in Windows?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]