From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ams@gnu.org (Alfred M. Szmidt) Newsgroups: gmane.emacs.devel Subject: Re: Modernize frame-title-format: "%b - GNU Emacs" Date: Thu, 27 Aug 2020 14:15:11 -0400 Message-ID: References: <35661e93-ed43-47a1-95fc-5638848b0c33@default> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19264"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, drew.adams@oracle.com, emacs-devel@gnu.org To: thibaut.verron@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 27 20:24:42 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kBMZm-0004tS-2r for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 20:24:42 +0200 Original-Received: from localhost ([::1]:54726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBMZl-0000ih-0w for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 14:24:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBMQa-0004an-Pe for emacs-devel@gnu.org; Thu, 27 Aug 2020 14:15:12 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58421) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBMQa-0007Uw-4c; Thu, 27 Aug 2020 14:15:12 -0400 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kBMQZ-0003az-Iw; Thu, 27 Aug 2020 14:15:11 -0400 In-reply-to: (message from Thibaut Verron on Thu, 27 Aug 2020 19:50:06 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:254327 Archived-At: That assumes running emacs locally, what is being discussed is if you are running Emacs remotley, i.e. over a remote X11 connection (e.g, ssh -X). Oh, sorry, my bad. I'm surprised to discover that it's apparently the remote application's job to ensure that it has a proper title when run remotely... Not sure how it could work other wise, who would be setting the title if not the program it self? If it is remote or not isn't really important here. For ssh connections at least, I guess that emacs could check if a ssh variable such as SSH_CONNECTION is set in the environment. But I'm not sure how robust it would be. That would only work for SSH I think e.g., does GNU lsh set SSH_CONNECTION? What about telnet and Kerberos? Are there other ways, or protocols to do X11 forwarding?