From: Eli Zaretskii <eliz@gnu.org>
To: Angelo Graziosi <angelo.graziosi@alice.it>
Cc: emacs-devel@gnu.org
Subject: Re: About frame title case [Windows]
Date: Mon, 08 May 2017 20:00:47 +0300 [thread overview]
Message-ID: <83a86ncmgw.fsf@gnu.org> (raw)
In-Reply-To: <ad37638b-7403-252c-d456-be50c414579a@alice.it> (message from Angelo Graziosi on Sun, 7 May 2017 23:28:22 +0200)
> 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?
next prev parent reply other threads:[~2017-05-08 17:00 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 [this message]
2017-05-08 19:50 ` Angelo Graziosi
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=83a86ncmgw.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=angelo.graziosi@alice.it \
--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.