From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Modernize frame-title-format: "%b - GNU Emacs" Date: Wed, 26 Aug 2020 22:55:48 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35521"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 27 07:56:20 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 1kBAtY-000970-K1 for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 07:56:20 +0200 Original-Received: from localhost ([::1]:43102 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBAtX-0002aG-Lh for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 01:56:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBAt5-00029z-LZ for emacs-devel@gnu.org; Thu, 27 Aug 2020 01:55:51 -0400 Original-Received: from mail-yb1-f175.google.com ([209.85.219.175]:37304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBAt4-0003KS-35 for emacs-devel@gnu.org; Thu, 27 Aug 2020 01:55:51 -0400 Original-Received: by mail-yb1-f175.google.com with SMTP id e14so2317893ybf.4 for ; Wed, 26 Aug 2020 22:55:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=LePz2K649GN0bceT0wBtzHWrFwLVlUGipinrJK/Q/DY=; b=CmC66e6OMzIoSw38vPmDUwJHPomLeaWxLI/qqJYSUk/iSn8c0qH2M9hfvD8AhZurHU Nu3jfi3OKZAJYp9D34J/0hmH83oo7Q8b36SVFE9+DvZMjE1+NJgBMcQpCSk4XKcwNqk2 Tnt5xmq2I4rLorn2oYF4r4fdESVPdl7Ot0jk+YAVt6Zl31xCpW3DCCjtioq+EWYeyMpI g8mj6yOytI8o3mTQG+L+srXczRreakku1K2/YUu1jAbZHbD+5KUpf+osvr20jj5fzreZ z1DYiWg40swTSx6lCgYNKibudE3jZjGGJ/70/nLILVNMzkhrYestPJv5cY3TFu3TRkB7 1Tug== X-Gm-Message-State: AOAM533vokPJC03NKa1e4kY1cT0CROmv5uh8yCCFa6fSNaH6WdLf73LB bHvP1WFkGpmuPW88ZqBiJhRjS95AVqByZoDuneQ= X-Google-Smtp-Source: ABdhPJxw9r4f2KFAbvKCfL9ikcOiJp2Km3xCGaS1uW+Rvj2D1YlQsfD/ynl7Pip/v5BEmcOpn+Cvw3e1sowu4EJoypM= X-Received: by 2002:a25:9843:: with SMTP id k3mr27320224ybo.466.1598507748830; Wed, 26 Aug 2020 22:55:48 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 26 Aug 2020 22:55:48 -0700 In-Reply-To: Received-SPF: pass client-ip=209.85.219.175; envelope-from=stefankangas@gmail.com; helo=mail-yb1-f175.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/27 01:55:49 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.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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:254273 Archived-At: Yuri Khan writes: >> (setq frame-title-format "%b - GNU Emacs") > > I do that in my config, except that I use an en dash as the separator: > "%b =E2=80=93 Emacs"; and I also display a =E2=80=A2 if the buffer is mod= ified and > visiting a file. Why do you use en dash? Does Firefox, etc. use en dash, or is it simply your own local customization? Regarding the "=E2=80=A2" for modified files, I have seen some programs add= such a marker (more often "*", IME). But I checked LibreOffice and it does not do that. I think it would be useful to check if there are any other text editors that use such a marker. > One thing that slightly bothers me is that when the minibuffer is > active the title changes to " *Minibuf-1* =E2=80=93 Emacs". Which is > technically true and perfectly logical but I think it would be more > useful for me to display the name of the last active buffer. (I=E2=80=99m= sure > I could get to that if I spent some time at it; it just doesn=E2=80=99t b= other > me enough.) Indeed, I see the same behavior in "emacs -Q" when I have two frames. Maybe this could warrant a wishlist level bug report.