From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.devel Subject: Re: Modernize frame-title-format: "%b - GNU Emacs" Date: Thu, 27 Aug 2020 19:50:06 +0200 Message-ID: References: <35661e93-ed43-47a1-95fc-5638848b0c33@default> Reply-To: thibaut.verron@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b9811905addf9145" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7577"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, drew.adams@oracle.com, emacs-devel To: "Alfred M. Szmidt" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 27 19:56:19 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 1kBM8J-0001uA-Hd for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 19:56:19 +0200 Original-Received: from localhost ([::1]:52412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBM8I-0000ZG-I1 for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 13:56:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBM2X-0005jV-LY for emacs-devel@gnu.org; Thu, 27 Aug 2020 13:50:21 -0400 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:52250) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBM2V-0003z8-W4; Thu, 27 Aug 2020 13:50:21 -0400 Original-Received: by mail-wm1-x32c.google.com with SMTP id q9so3775155wmj.2; Thu, 27 Aug 2020 10:50:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc; bh=afJdPpL/7CloYQvSYqxmct3cyZ9Oj/naDZwaR7txPO8=; b=dK9Bft8jl8/uwXLkI99MGZ949ECCfc9YcNQm0VDAzmP/JeZnHI1sU4uRpZqkm7Wgni PG5AUnkfGCshIKH26rISF400KKCYR+9kZhVnDFMZ+RTSFIftgj5FWK5TxlUVDZ1Dx7fe lY5P10cdzNGdjno6MwE2SEh6agxNYqvV269VOBRICZFVuNzZ6yulbUXBLuEyvJTYDiR0 bVFXTzNZbjLbSNi9uT3TYLZzxGQqe/3DbaTASi5kSAZSSR4rcoak/6whz8mZArQ8bOjM 1jvjZd2QADJxl3xmEVk1tY8rs8PDfjIGpS4TCyJPEEfu6xqJvCJUxj47KcvQFGjUIz7m cvrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=afJdPpL/7CloYQvSYqxmct3cyZ9Oj/naDZwaR7txPO8=; b=nGcX3QDFK0IBBYfa5NU4XL6qHfOOKxbuEN3chyKWTlkuBM9QIv8+UKfOTvDzLZmrTX N/ZKR3Sl0txE3L5e5sBghzdq5gOVDJPERMCKFzBZMaOkpvWzbfmckYBKBZ5G0aGLajZ4 xWaWpPmnKu1/WzPIS0DsV7Mbd7jfdLsMjPDl4v4iLAHTzGT+8+HUK7mPSnbZmd8bWVtC 1InYOyj0/pDljjXXucxf2qaNfPQjOWyUSLIanDWM9izH0rICnyW46EeYTuHTJBn0pvL2 PluSiqJZAZy3Nzv4oRpFEeZEs8IchiHG5aXQFapA5aGp8fwtva7iPCRFbThm5IQJcGpq j7og== X-Gm-Message-State: AOAM5314DWneNi/iWoiBZFBswjle4Q0qkb/UZldFxluYnDFSbRhmz/vQ agkVNCrehlx5fc8uR+PinXd3QMjV1hOJ5catGxHH6Cy9 X-Google-Smtp-Source: ABdhPJwUyZvp96esPzK33umNRMGkrl1R2cfzlA25we8diZbZKHyvhyfkg3LzJy6us0UCaUmxO4EDHjzLFn3lyQPVZog= X-Received: by 2002:a1c:a746:: with SMTP id q67mr45495wme.128.1598550617717; Thu, 27 Aug 2020 10:50:17 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::32c; envelope-from=thibaut.verron@gmail.com; helo=mail-wm1-x32c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:254320 Archived-At: --000000000000b9811905addf9145 Content-Type: text/plain; charset="UTF-8" > > 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... 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. --000000000000b9811905addf9145 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That assumes running emacs locally, what is being discus= sed is if you
are running Emacs remotley, i.e. over a remote X11 connection (e.g,
ssh -X).

Oh, sorry, my bad. I'm sur= prised to discover that it's apparently the remote
applicatio= n's job to ensure that it has a proper title when run remotely...=C2=A0=

For ssh connections at least, I guess that emacs = could check if a ssh variable
such as SSH_CONNECTION is set in th= e environment. But I'm not sure how
robust it would be.
=
--000000000000b9811905addf9145--