From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wayne Harris via "Emacs development discussions." Newsgroups: gmane.emacs.devel Subject: Re: Modernize frame-title-format: "%b - GNU Emacs" Date: Thu, 27 Aug 2020 21:17:19 -0300 Message-ID: <86d03bpqsw.fsf@protonmail.com> References: Reply-To: Wayne Harris Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29278"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Cancel-Lock: sha1:Z9u16gH/ESRUvmMHzraK6NAZehw= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 28 02:18:51 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 1kBS6U-0007VJ-Hf for ged-emacs-devel@m.gmane-mx.org; Fri, 28 Aug 2020 02:18:50 +0200 Original-Received: from localhost ([::1]:53500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBS6T-0004oC-Ik for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 20:18:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34772) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBS5z-0004Ns-JG for emacs-devel@gnu.org; Thu, 27 Aug 2020 20:18:19 -0400 Original-Received: from static.214.254.202.116.clients.your-server.de ([116.202.254.214]:46404 helo=ciao.gmane.io) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBS5x-0001RP-MX for emacs-devel@gnu.org; Thu, 27 Aug 2020 20:18:19 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kBS5u-0006uM-Eb for emacs-devel@gnu.org; Fri, 28 Aug 2020 02:18:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/27 20:18:14 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:254341 Archived-At: Yuri Khan writes: > On Thu, 27 Aug 2020 at 12:55, Stefan Kangas wrote: >> >> >> (setq frame-title-format "%b - GNU Emacs") >> > >> > I do that in my config, except that I use an en dash as the separator: >> > "%b – Emacs"; and I also display a • if the buffer is modified and >> > visiting a file. >> >> Why do you use en dash? Does Firefox, etc. use en dash, or is it simply >> your own local customization? > > I do that because that is typographically correct. IMHO and FWIW, two thumbs up for typographically correct. However, I think `` – Emacs'' is kind of useless. I like useful information. The name of the buffer is definitely useful and, guess what, the name of the machine too. The directory where the buffer would be written to could be an interesting addition --- as a right-side-filling. When I want to know to which directory a buffer would be written, I say C-x C-w to discover. Then I C-g and continue my work. For some reason it's not a very rare operation that I do. When I look at my frames I see a lot of space on the right side. But seeing ``– Emacs'' would definitely make wish I knew I had memorized the name frame-title-format.