From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: About frame title case [Windows] Date: Mon, 8 May 2017 21:50:29 +0200 Message-ID: References: <52f19cb7-0551-3221-017d-688b6c42e104@alice.it> <83h90wehn2.fsf@gnu.org> <83a86ncmgw.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1494273052 10914 195.159.176.226 (8 May 2017 19:50:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 May 2017 19:50:52 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 08 21:50:49 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d7ogC-0002en-OL for ged-emacs-devel@m.gmane.org; Mon, 08 May 2017 21:50:48 +0200 Original-Received: from localhost ([::1]:33207 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7ogG-000755-C5 for ged-emacs-devel@m.gmane.org; Mon, 08 May 2017 15:50:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7og9-00074p-Ol for emacs-devel@gnu.org; Mon, 08 May 2017 15:50:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7og6-0000rA-MO for emacs-devel@gnu.org; Mon, 08 May 2017 15:50:45 -0400 Original-Received: from smtp201.alice.it ([82.57.200.97]:12924) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7og6-0000qX-AI; Mon, 08 May 2017 15:50:42 -0400 Original-Received: from [192.168.1.102] (79.35.224.245) by smtp201.alice.it (8.6.060.43) (authenticated as angelo.graziosi@alice.it) id 58E372862083B2B7; Mon, 8 May 2017 21:50:40 +0200 In-Reply-To: <83a86ncmgw.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.97 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:214701 Archived-At: Il 08/05/2017 19:00, Eli Zaretskii ha scritto: >> From: Angelo Graziosi >> 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?