From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Modernize frame-title-format: "%b - GNU Emacs" Date: Thu, 27 Aug 2020 19:36:29 +0200 Message-ID: References: <83y2m01me0.fsf@gnu.org> <83o8mw10b9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4072"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , stefan@marxist.se, emacs-devel@gnu.org To: Pip Cet Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 27 19:37:14 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 1kBLpq-0000yL-DL for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 19:37:14 +0200 Original-Received: from localhost ([::1]:60398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kBLpp-00086P-FY for ged-emacs-devel@m.gmane-mx.org; Thu, 27 Aug 2020 13:37:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kBLpH-0007GL-0v for emacs-devel@gnu.org; Thu, 27 Aug 2020 13:36:39 -0400 Original-Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:39989) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kBLpF-00027X-Ac; Thu, 27 Aug 2020 13:36:38 -0400 Original-Received: by mail-wm1-x333.google.com with SMTP id k20so5817803wmi.5; Thu, 27 Aug 2020 10:36:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=SMCKjlOMdtqdMXTOPyunS21yTyiaPKmM50vZeVqfHVc=; b=BqHa5p/8++tJJcVDA1JOgbwQHUkzTMfmY1RXK8N+ybAuO47vLc3jPDmGlbXzrjQFHM VEWVGbpQY4El1zy3KFvoZJBddSoWaEnxUW2LxR6y/zmPHV+rwBmglrCOsgotWnIcktxh RQUKpW0joW2f+ijYW3OancHu7Uii4BvSh2OdXLfHUXP3aD0uzM41YSiakI4ca856qdkC Jw9ttE38k57JazxWlpaH/TL139GryucNM/b1ofpEZCNbtSF1q9Or7kpQXzSlNlG8yRHe IsFpTBRxx2As5KqYrT/SLxWVfeP/CVfANhmce0ILmjZhS0q5vhCTW6CgbwY7ph4PPwUY 73gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=SMCKjlOMdtqdMXTOPyunS21yTyiaPKmM50vZeVqfHVc=; b=YSSVySnGY8sPiaNez6uI1WtrNm1F4D98ZXKTHno30f0cx09VlTiKUiiwkiw5RlqTsv Nlac68TYNon3z+yYXsUGH1SABITRVXuKU3qhK3n1Ur4KoQHKYZUehXnzYlVTnW/ud4r0 u8B3m0ir3RLmJD2ThgLnaUXFVyyK10gQIRsPHPP8JvmALkTWT2iIRVAbQKbmcw6yn2CH H7sXIi5ZQ2zchuFTZ02cZMmJrW4XmeeY4ogLh9AvGsed3dwgVGQS/30IeNoeN/ynhjdF U5sMoMs2F1vOznJ49JS0xOOoToe/lFzDCiSDaFyuz0TDXkIObapFbvYEoa3ZPNde5XSu Z1VQ== X-Gm-Message-State: AOAM532VXF/Q9rshAACLXNP0gY0InnAqjzt8JXoP+cuEsEmsmttnw4sX 7i4YZ30ns/DiBszOhigEza/QWH/jpMw= X-Google-Smtp-Source: ABdhPJzrhhVKI3Loca3sFEeBGlmdxWaIxPjsi8LBxHIBSFPJXzPGULQ9/6LuEUnC45VgitlXy9ZjhQ== X-Received: by 2002:a05:600c:2215:: with SMTP id z21mr13678802wml.159.1598549793492; Thu, 27 Aug 2020 10:36:33 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:e976:527:17f8:a90a]) by smtp.gmail.com with ESMTPSA id g9sm7596337wrw.63.2020.08.27.10.36.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Aug 2020 10:36:32 -0700 (PDT) Gmane-Reply-To-List: yes In-Reply-To: <83o8mw10b9.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 27 Aug 2020 20:11:06 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=rpluim@gmail.com; helo=mail-wm1-x333.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:254317 Archived-At: >>>>> On Thu, 27 Aug 2020 20:11:06 +0300, Eli Zaretskii said: >> From: Pip Cet >> Date: Thu, 27 Aug 2020 17:06:26 +0000 >> Cc: Stefan Kangas , emacs-devel@gnu.org >> >> I don't even think it would be acceptable to go with a default >> setting if it were easy to customize this, and it's not (M-x customize >> RET frame title RET doesn't work). Well, fixing that is a one-liner: diff --git a/lisp/cus-start.el b/lisp/cus-start.el index f5b70e082a..9da8bdc93a 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -90,6 +90,7 @@ minibuffer-prompt-properties--setter ;; buffer.c (cursor-type display ,cursor-type-types) (mode-line-format mode-line sexp) ;Hard to do right. + (frame-title-format frames sexp) ;Hard to do right. (major-mode internal function) (case-fold-search matching boolean) (fill-column fill integer) Eli> Though not via Customize, you _can_ customize the title: see the Eli> variable frame-title-format. (is there a better custom type than 'sexp here?) Robert