From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Howard Melman Newsgroups: gmane.emacs.bugs Subject: bug#55135: 28.1; Flymake's mode-line lighter Date: Tue, 26 Apr 2022 16:46:16 -0400 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) 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="35556"; mail-complaints-to="usenet@ciao.gmane.io" To: 55135@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 26 22:49:29 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1njS7l-00095k-2p for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Apr 2022 22:49:29 +0200 Original-Received: from localhost ([::1]:43242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njS7j-0007hq-10 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Apr 2022 16:49:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49212) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njS5O-0003sH-SR for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 16:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njS5O-0004Uk-Hi for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 16:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njS5O-0000VN-A7 for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 16:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Apr 2022 20:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55135 X-GNU-PR-Package: emacs X-Debbugs-Original-To: GNU Emacs Original-Received: via spool by submit@debbugs.gnu.org id=B.16510059841889 (code B ref -1); Tue, 26 Apr 2022 20:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Apr 2022 20:46:24 +0000 Original-Received: from localhost ([127.0.0.1]:40641 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njS4l-0000UO-IN for submit@debbugs.gnu.org; Tue, 26 Apr 2022 16:46:23 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45416) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njS4k-0000UH-6z for submit@debbugs.gnu.org; Tue, 26 Apr 2022 16:46:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njS4j-00032K-U9 for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 16:46:21 -0400 Original-Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:37723) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njS4h-0004Jw-SN for bug-gnu-emacs@gnu.org; Tue, 26 Apr 2022 16:46:21 -0400 Original-Received: by mail-qt1-x836.google.com with SMTP id ay11so13680531qtb.4 for ; Tue, 26 Apr 2022 13:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=Hk1c1wLV6Oli1qsNVDj8AYr0TWAsS5G91AAgmG2Nn0I=; b=Uu5QQW9rtz11amxbwn85UesDT8R867zcHSB9qIxN4XInKcCG/7tPEcvBcjb/TJLLch hnPBEs1eqmb+OjWMvNoVKOYQPAq8dF2mHdXOy2/oGqH3UekiITs+bvgJu7oDgIIA+Xo9 0SwXoNLLXFmByk2kSul67mZ/f1crmmmT50hx/BJ1hM4TXB6/EXA1RjLaPy+E4OnP2w+5 AQ6jSMC/p+fhUEzC2xiIbqGH2DEaCwTorx86Z9G+h68Wjt5b3ptblRYmqKzQiVq02KFE p16yXDDivmg97OmeoVFAte23ZFTx9pVSxjhdqTpbY0PfZ6R/WzW6lg+AAJAkca7Y65Ia QeWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=Hk1c1wLV6Oli1qsNVDj8AYr0TWAsS5G91AAgmG2Nn0I=; b=yr3bjFcWLEBbla5vvUd+bfib4M81HFtF1VRR0ZFcCBqUvET/3w5fB5SFDmULASUZC9 PmjOJDamRJAmtoOYfuxUZgDdSmkqVqF5Rtr0ez1A0oJ8XzXhqf7/ez312lXheR83YgwY 4PmbSnSOodEoCrqMGD3vzTNmGY/FxKYmM+aPNM4KbU7Wlu5iulQDg7W7/UuXsKG/n5fW z+6ST5HoRNZq88uxWndVlhLH0ftu6TuMzr9LuzY7qUZvr6X+ui8OgGSmuHb+8wUB7zOV /FyuoadN20pFOzLrkXA2in1mYQD7kzixJv+RAHwaT7MYk7v66ix7xkfPHCjsnNwi6bFA v8NA== X-Gm-Message-State: AOAM530iliBX79vt2Mh4ZQ+MG1Tn2wXaKEwdV/QbK+GvM51sl+8NVHY5 +wRLk/HDy+WJulDoQDxA03wdADIlas2+2A== X-Google-Smtp-Source: ABdhPJxfHQHMfCFWdb+8sPluwJusxMV7iNu2wKw9CJJ6rM7k13V2dc2yYGFF/cjdKje3w52/Kllmpw== X-Received: by 2002:a05:622a:1051:b0:2f2:681:458c with SMTP id f17-20020a05622a105100b002f20681458cmr16516075qte.581.1651005977975; Tue, 26 Apr 2022 13:46:17 -0700 (PDT) Original-Received: from smtpclient.apple (pool-108-26-204-101.bstnma.fios.verizon.net. [108.26.204.101]) by smtp.gmail.com with ESMTPSA id o14-20020a05622a044e00b002f3656df6f6sm4969925qtx.78.2022.04.26.13.46.17 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 26 Apr 2022 13:46:17 -0700 (PDT) X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2607:f8b0:4864:20::836; envelope-from=hmelman@gmail.com; helo=mail-qt1-x836.google.com 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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230752 Archived-At: I'd like to change the lighter of Flymake so that instead of "Flymake" it says "=F0=9F=AA=B0" (a fly emoji). I thought this would be easy, then saw flymake-mode-line-format and then flymake-mode-line-title and thought I could just change that. Then I = saw it defaults to (:eval (flymake--mode-line-title)) and it's involved with = its keymaps and help etc. Then I read Bug #33740 so I'm sorry if this causes anyone flashbacks. :) I'd just like the hardcoded string "Flymake" in flymake--mode-line-title to be changed to a variable I could set. I'm fine with everything else flymake puts in the mode line. I just want it shorter (defun flymake--mode-line-title () `(:propertize "Flymake" <---- make this variable With a variable, other people could change it to "FM" if they don't like using emoji :) As it stands now I've copied the defun of flymake--mode-line-title into my init to change the string. Howard In GNU Emacs 28.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 = Version 10.14.6 (Build 18G95)) of 2022-04-04 built on builder10-14.lan Windowing system distributor 'Apple', version 10.3.2022 System Description: macOS 11.6.5