From: Angelo Graziosi <angelo.graziosi@alice.it>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: About frame title case [Windows]
Date: Mon, 8 May 2017 21:50:29 +0200 [thread overview]
Message-ID: <fe93cece-b383-9c25-eb8a-e3aad4a53464@alice.it> (raw)
In-Reply-To: <83a86ncmgw.fsf@gnu.org>
Il 08/05/2017 19:00, Eli Zaretskii ha scritto:
>> From: Angelo Graziosi <angelo.graziosi@alice.it>
>> Date: Sun, 7 May 2017 23:28:22 +0200
>> Cc: emacs-devel@gnu.org
>>
>> 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?
next prev parent reply other threads:[~2017-05-08 19:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-07 14:51 About frame title case [Windows] Angelo Graziosi
2017-05-07 16:49 ` Eli Zaretskii
2017-05-07 21:28 ` Angelo Graziosi
2017-05-08 17:00 ` Eli Zaretskii
2017-05-08 19:50 ` Angelo Graziosi [this message]
2017-05-09 2:32 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fe93cece-b383-9c25-eb8a-e3aad4a53464@alice.it \
--to=angelo.graziosi@alice.it \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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 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.