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: Mon, 31 Aug 2020 15:48:40 +0000 Message-ID: References: <83y2lux5hm.fsf@gnu.org> <83r1rmx2sz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18219"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 31 17:49:41 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 1kCm3v-0004XO-P6 for ged-emacs-devel@m.gmane-mx.org; Mon, 31 Aug 2020 17:49:39 +0200 Original-Received: from localhost ([::1]:51804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kCm3u-00075I-Ns for ged-emacs-devel@m.gmane-mx.org; Mon, 31 Aug 2020 11:49:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kCm32-0005gq-UH for emacs-devel@gnu.org; Mon, 31 Aug 2020 11:48:44 -0400 Original-Received: from mail-ed1-f45.google.com ([209.85.208.45]:38352) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kCm31-0003JB-BN; Mon, 31 Aug 2020 11:48:44 -0400 Original-Received: by mail-ed1-f45.google.com with SMTP id c8so2274499edv.5; Mon, 31 Aug 2020 08:48:42 -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; bh=BZn/sRfd84o6WnMVVbvbyXu3J+nLSXN+qnGY7g5+VGY=; b=lAuNr3GzPjXZp1I1GaWZsGy9GUokdnVIYKqMagslW1Y9bJP7Y5w38JguLnpagb4ZPC ZW+CwdmGUmh+Z/YaL4ywQBkj4SkQOhMcOWwfuTBEWj20O8Suv6NzriyWHazBoLKUHBgD BwE2Et05U4cUp6FkdjT1Vv6+n8FuCmRdMzfAGNfHbOcKnEgOlw+mR01vVSxk5/eNB/+3 2NoE/TWfpo/kYn1j1+0f7rCtU3/rhXc6TkDec/cZu7E+9EzZqfD9C51NaVwoYJtFArZ8 P2pa9gEC+ZgmVweaKoBlXzchidzL+p0I69YMWGalwG0Sfs5ff/6msPkt27gfRT3YYYgc dVAg== X-Gm-Message-State: AOAM531QeqRkrcn1vB2Z27oVgIRNrrrb8Q/hvxeSZIbgiPfBEsf+ywYq tPRaok4m6kM1HF9p4ynfQtUNtZLuknPP/ECUqW5sXlKj X-Google-Smtp-Source: ABdhPJxvfc9OXm08JfNy1oYwxhJOK0veHdeZLVIrc2gL5TMlOd5Z1X0XKy/b5MAaQFWl3XTmJEcWz5MK8OlF7hmroIg= X-Received: by 2002:aa7:c0d5:: with SMTP id j21mr1852215edp.259.1598888921376; Mon, 31 Aug 2020 08:48:41 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 31 Aug 2020 15:48:40 +0000 In-Reply-To: <83r1rmx2sz.fsf@gnu.org> Received-SPF: pass client-ip=209.85.208.45; envelope-from=stefankangas@gmail.com; helo=mail-ed1-f45.google.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/31 11:48:41 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, 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:254446 Archived-At: Eli Zaretskii writes: > We could display the base name of buffer-file-name, if we wanted, > producing that in C. But %b already does most of that. It's probably best to just stick with "%b" here, which also respects uniquify. >> If yes, should we warn users about it in (info "(elisp) Mode Line >> Data") or (info "(elisp) Frame Titles")? > > I doubt this is efficient: people who want fancy decorations will do > it regardless, and explaining why it's a bad idea is not easy, because > it requires a detailed description of how redisplay works. Fine by me, thanks.