all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
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: Sun, 07 May 2017 19:49:53 +0300	[thread overview]
Message-ID: <83h90wehn2.fsf@gnu.org> (raw)
In-Reply-To: <52f19cb7-0551-3221-017d-688b6c42e104@alice.it> (message from Angelo Graziosi on Sun, 7 May 2017 16:51:41 +0200)

> From: Angelo Graziosi <angelo.graziosi@alice.it>
> Date: Sun, 7 May 2017 16:51:41 +0200
> 
> In the Windows builds with MSYS2/MinGW64 I notice the following.
> 
> Suppose the PC name is 'FooBar', i.e. the MSYS2 shell prompt looks
> 
> user@FooBar MSYS ~
> $
> 
> Now, in the Windows builds, Emacs shows the frame title as 
> 'emacs@FOOBAR', i.e. do not respect the case 'FooBar'.
> 
> I understand this, internally DOS systems use all in uppercase, but I 
> wonder if we can have that respecting the case, 'emacs@FooBar', as on 
> other systems (GNU/Linux, macOS, and also in Cygwin native builds, if I 
> remember...).

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).

Patches to use other APIs that perhaps don't have this issue, without
incurring disadvantages (like the possible hangs if DNS is not
available etc.) are welcome.



  reply	other threads:[~2017-05-07 16:49 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 [this message]
2017-05-07 21:28   ` Angelo Graziosi
2017-05-08 17:00     ` Eli Zaretskii
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=83h90wehn2.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.