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: Fri, 28 Aug 2020 18:20:03 -0700 Message-ID: References: <4cefecce-7cd9-417b-9bf5-967d56a52d8a@default> 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="24732"; mail-complaints-to="usenet@ciao.gmane.io" To: Gregory Heytings , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 29 03:20:44 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 1kBpXv-0006Kz-OI for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Aug 2020 03:20:43 +0200 Original-Received: from localhost ([::1]:38228 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBpXu-0007Ed-Pm for ged-emacs-devel@m.gmane-mx.org; Fri, 28 Aug 2020 21:20:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBpXL-0006jx-Tl for emacs-devel@gnu.org; Fri, 28 Aug 2020 21:20:08 -0400 Original-Received: from mail-yb1-xb2b.google.com ([2607:f8b0:4864:20::b2b]:46217) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBpXJ-000118-L8 for emacs-devel@gnu.org; Fri, 28 Aug 2020 21:20:07 -0400 Original-Received: by mail-yb1-xb2b.google.com with SMTP id x10so610839ybj.13 for ; Fri, 28 Aug 2020 18:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to; bh=LwATUb6mWDSbcxEPdZZuCCpCZ48y6icvBsHep/Mrk6g=; b=A8cLe60Q/Wpa+tShNQmjqvMb/789QaqcE/0/piTWjv1uqHM2nvxEyDysQRCK/sSW10 7SWz/RCNiZXOLrdnpcwMyfToBR6DQrAgxmZV4g36zZhwIclbv2JzHzMAbxykmnIOkMAr mOlPNekIRB/O9kL7a5R+PJmR5h6GNU2KO7sb1HUMTe+3OtwwJXNGi4tvN9cC4S7Ye6N+ ukVZywrMlYt7QuIzRm4X7xevIhmJXDP6XDJ5g5KUxjSDq1G+kkBVOynlSqc1Z+2lpBYQ v9+iTwiXF+KZkUJXsTEuTZH8eyJwypBlZycrSGiTiYBgfMyHxviwywjxhmwwGch/xIjL lr0A== 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; bh=LwATUb6mWDSbcxEPdZZuCCpCZ48y6icvBsHep/Mrk6g=; b=CuZBGjdesgZeTH0Xl7Zb4FGt3riX9k0ln6l7tY6vmPgOrW78rTexIIMNWSncvqOEO4 plqn2ZYJlUbM5OgeSUHDboxEprOAbvPjWfXywLvHxUZ3Deh4zNNLhTGAUZh7U23fgN9S VzM1lEW40A+AsbsLFnV38wa/0rlWZ2alCnOqwSBLSEL6nZ0zgKHFnWEZcEK5t7SqqwuE OvC9+INUmZD9LZmcAARnQwytTY/9T7YYjq8E+TJEvKi6u7FRgMwAhOQks2olooa2NdrK hn2YoDgaFsL1rcL0MknscCMaPVfMgkzPy82+cpM8Cp9Lqq35l5DWqNIWfkPeCbBgtjbb MGng== X-Gm-Message-State: AOAM530/ohIeByVTlOkglm2buiQrfmZSipOYNqaaIF0IqFO8GuVC0Fpl HweOo3ukOpDsgcPaWU4AP2ptrWDV5/4fIK6ZM+M= X-Google-Smtp-Source: ABdhPJxkdLF5eY4hEBHUgxHxIUuipN8TbGSPnGBakcX7DQNNpCbnjcavETZ+pz8DWM4NYWA72Nf0CM6h9rG7dEdSKF0= X-Received: by 2002:a25:9843:: with SMTP id k3mr6483493ybo.466.1598664004304; Fri, 28 Aug 2020 18:20:04 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 28 Aug 2020 18:20:03 -0700 In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::b2b; envelope-from=stefankangas@gmail.com; helo=mail-yb1-xb2b.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, 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:254372 Archived-At: Gregory Heytings via "Emacs development discussions." writes: > This thread is perhaps already too long, but here are two proposals: > > Proposal 1: > > "~/.emacs - GNU Emacs 27 on foobar" (unmodified buffer) > "~/.emacs * GNU Emacs 27 on foobar" (modified buffer) > > (setq frame-title-format > '((:eval (if buffer-file-truename buffer-file-truename "%b")) > " %& " > (:eval (format "GNU Emacs %d on %s" emacs-major-version system-name)))) > > Proposal 2: > > "~/.emacs - ELisp/d - GNU Emacs 27 on foobar" (unmodified buffer) > "~/.emacs * ELisp/d * GNU Emacs 27 on foobar" (modified buffer) > > (setq frame-title-format > '((:eval (if buffer-file-truename buffer-file-truename "%b")) > " %& " mode-name " %& " > (:eval (format "GNU Emacs %d on %s" emacs-major-version system-name)))) Thank you, this is useful. I would like to retract my original proposal in favor of your "Proposal 1", with or without a marker. To sum up the thread so far, people have clearly been unhappy with the idea to remove the host name. I think we should listen. There has also been discussions about proposals to add even more information, which I have followed closely. I think some of the ideas have been interesting, but ultimately risks being a bit too opinionated and/or verbose to be suitable for the default case. Best regards, Stefan Kangas