From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Modernize frame-title-format: "%b - GNU Emacs" Date: Thu, 27 Aug 2020 20:30:05 +0200 Message-ID: <87sgc87xhu.fsf@gmx.de> References: > > > > > > <35661e93-ed43-47a1-95fc-5638848b0c33@default>> <87a6yg9dyq.fsf@gmx.de>> > <5f644f03-df12-4af0-8bd7-46152372df72@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18975"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: stefan@marxist.se, Drew Adams , emacs-devel@gnu.org To: ams@gnu.org (Alfred M. Szmidt) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 27 20:33:28 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 1kBMiF-0004rl-VT for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 20:33:27 +0200 Original-Received: from localhost ([::1]:48208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBMiE-0001gS-Ur for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 14:33:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBMfA-0000Ak-2t for emacs-devel@gnu.org; Thu, 27 Aug 2020 14:30:16 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:45733) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBMf7-0001P4-Kn; Thu, 27 Aug 2020 14:30:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1598553007; bh=It40iCi5GetuO32zAZRgY9RRSaYF/SgRbhV35N5fGDw=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=VOI2ptDpDST1jVpsHv8jpzLTH4YGvkSi3FvbI99GTKrcg7RXL2xFDYcInAkURFKjx idHn5f1drQpx1uOXE64PO0D1KYccffeEMTht/ljScXMZ1FrcNisOfyc/Zfr0nYqQPM +ijdVSEi8doTPPXQ501ng3awaRgnOMWX3Zdxld3g= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([213.220.151.126]) by mail.gmx.com (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MiacH-1kmso40P4x-00fhDJ; Thu, 27 Aug 2020 20:30:07 +0200 In-Reply-To: (Alfred M. Szmidt's message of "Thu, 27 Aug 2020 14:19:06 -0400") X-Provags-ID: V03:K1:Y7oIjIuYYV4fEvtSdaRRO1k31vhoY5eT8ZDnVCJpDVD60MMoDw8 dqWb9/U9qJpdVR0PSn3XSsiK90AN/iOwWd+sCwpY5m2afVCmnwFKDO7E4OUeODw2ubFebEX REIv5gVODzBdOWNr9bjW0IYArtiZ5D105oX6TWsZcSXGMLwQAsNLMIC0p7RX9OAtiGF6E8D G23vGnhQBfDsmMkv35aiQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:nj7pQ3j90rE=:uEglsq02ZJdicB090w8B53 5++kG70svYvEqtLcDzkKokLTMHvu3y89tYTucetCY58yF5NUirnqUZ2X8V+Bzb+tDQLHs0WgI wOB8ldTRcHxMSn88UuC8MOxSFmyLLEGWGsDvWpoknGNEUkjwsafOWo5Z2ucofjH4sjUCHMjxW GJiXUoPggzkshU4jX1e4yx4DGyTGLDapHv+DPcGhKvZqq96hp3JNvqaqUg3dV0RPNM81Y8E0p IqQOu/FyYkXZhzP/kAojJnKsR9vR7Of9NDC8Hs1FAr9WmkbxWlhMg6eEr7dOY1bMA19ucYGjJ 27Yfyx+oCphPjbk/Jtu/jpn2Uyfoa+/GhUKBNyvVKVUZUCkaaDZOSL4fEXk1iewQyGhwhRCXw TfTtbcZyFx5nsg3FNFukoZF2RnHTpsxL0px3/dGQz5aHgq0/cj54deO5sa6sqcfQGEjxYl5f3 G9D1FDCtXtBZijt8LGIRWgb4oFOD6P+5XgtZmhu+Wu/BSwBK+fviJVk+ga04biIuThY7Oh8ZZ yJZjMSeaEVUSTs1lrnioxxjyIXdzh01MJxzov7IQvHrUwaGNz56JM1+mxURbrxSScZY/mX4NT kkGO0KPgJZYVH7HitgNZYa+wpRbSsJlOKMQ3FklvcpsjJuicTICEVRozoBvMbKk99WYGkKqRi B0MrATIQOhJrzQURs3IvUYKU73l9EexqqO8ojyxghM214As1cdgo4bkjCRoWSuHrE/+o7Uve4 NZx5KW21UVEMRBJDukz5I3EgLPHchTTI3CXYkYuuZSDtMc0h6+1XNz5F3aM93m6l6rCI1HCd Received-SPF: pass client-ip=212.227.15.15; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/27 14:22:55 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:254330 Archived-At: ams@gnu.org (Alfred M. Szmidt) writes: > > When you use tramp, you're not running Emacs remotely; remotely means > > that Emacs is run/executed on a different host (e.g., X11 forwarding) > > not that you access buffers on a different remote host. > > True. But I in fact was thinking of the other case: > locally running Emacs accessing remote resources > (files). We can at least handle that use case well. > > If we can _also_ somehow handle the case you're > talking about, so much the better. > > INCF, but should that then also show if e.g., you are accessing a file > using sudo/su/...? tramp-theme shows that. If you're paranoid, you could even get a red fringe in case the user name of current-buffer is "root", as alert. Configurable. > What if you do multi-hop using tramp? tramp-theme shows you just the last hop (at least it should, not tested ATM). This is what counts. > It might quickly become quite alot of information in the title, that > we don't even show in the mode-line today. That's why I'm also in favor of making it optional and configurable. Best regards, Michael.