From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ship Mints Newsgroups: gmane.emacs.bugs Subject: bug#72264: Default project-mode-line-format missing a quote (Emacs 30 prep) Date: Tue, 23 Jul 2024 20:44:01 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ba9a59061df3930a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5009"; mail-complaints-to="usenet@ciao.gmane.io" To: 72264@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 24 02:45:30 2024 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 1sWQ8I-0001Dd-OF for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Jul 2024 02:45:30 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWQ7r-0005Al-Lz; Tue, 23 Jul 2024 20:45:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWQ7l-0005A8-LJ for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 20:44:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWQ7l-0002uT-DF for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 20:44:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWQ7q-0004rS-5S for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 20:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ship Mints Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jul 2024 00:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72264 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172178186418615 (code B ref -1); Wed, 24 Jul 2024 00:45:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 00:44:24 +0000 Original-Received: from localhost ([127.0.0.1]:32909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWQ7E-0004qA-Bv for submit@debbugs.gnu.org; Tue, 23 Jul 2024 20:44:24 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:42892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWQ7B-0004q2-NI for submit@debbugs.gnu.org; Tue, 23 Jul 2024 20:44:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWQ76-00056j-AI for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 20:44:16 -0400 Original-Received: from mail-ua1-x936.google.com ([2607:f8b0:4864:20::936]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWQ74-0002p5-QQ for bug-gnu-emacs@gnu.org; Tue, 23 Jul 2024 20:44:16 -0400 Original-Received: by mail-ua1-x936.google.com with SMTP id a1e0cc1a2514c-8100ff1cec5so1862839241.3 for ; Tue, 23 Jul 2024 17:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721781853; x=1722386653; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=B6uG9bJGEjWAxWzwu6cSaHhv6ks0yc9qiYmRNN1SCL8=; b=lTnUbCLDKiAB3VDdlctk+X4pt3UnJDgvvz3NKOeB2pYSGGEnzwux3gYiHVDk4vZQVW Y3h7PrMg+57fORcFu9isLRvTZ+ucvU/8TkHSOFPWvvqZHTMygDw6g9IVHzaYkAIfP//d L9lEjXjTmsbbBNt5hyK2WNG5nc0sYCD5BrKfQmpj9v1L6E8EdJmJOq34Tce1cRqBgKPE V7Vmx1jER7ewGGesnXslyGKFCkTLEEW/9BebcVP34cqU8w6015hL+mW7u6HutklFpylk Vp+s9fQzTtl6Nipx+KWUES6g3L2XcNUfxSxaSP28nFDopU5IyV+sTY/Yz47Yxvr5dm7b YwTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721781853; x=1722386653; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=B6uG9bJGEjWAxWzwu6cSaHhv6ks0yc9qiYmRNN1SCL8=; b=j2hUfRUsVBdA64oYNaMoJLvPyj2vQmSSTY3D0xi7kgur0kZEXEVzmV3K5q5gMOkGQh 71G7uaStgnFXHRQnPZvFBrWkq1LNQCkV9z6bxbQPLmrW5W1dYRbztG8BGvStpxQPEzyK A/TgzkjQZXCIsP633znCExYPcOPv34FGnECU1jJ8Ml22764tqVQIk5m6hwg/LUgBR9RQ nm1md31wWbx5s+LOPfdqyrDVeCXMFHRyD8eZXB1gEWrBBOFrUCYzvQJ8erHF/OnF+cTj mSRSCb0hx3GTjBGtv6YI2jd3j08Y6aSxgZ+m9kf/tPEBZUyOXzXPeeH9EYJhyOpTU6nh Dbaw== X-Gm-Message-State: AOJu0YxkEaY5F6PaVJQ3qO98xv87aQ/nkt/ZeQFjmh2dfpDUKZe+Ux0E Usx5/YkLK7o0vFK7/AxWQD885UeVZveDWDOD/vK/r4LntIL1qxdXLblAF4gJ2vZFXEq9iSiSNTJ E8Z9sWBlwtsQeTaTJD/e/sKllpn/3EGtP X-Google-Smtp-Source: AGHT+IFN2lWUpIbDErixvo9IoLXlSxPL4lAYEuaT2fri3BmNM+6HnSi+LaMxKxjVkIS2GJsUT7wqj7BnZdlRHlt+lE8= X-Received: by 2002:a05:6102:2c86:b0:493:b719:efb9 with SMTP id ada2fe7eead31-493c199434dmr1901422137.9.1721781853000; Tue, 23 Jul 2024 17:44:13 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::936; envelope-from=shipmints@gmail.com; helo=mail-ua1-x936.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, HTML_MESSAGE=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: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289197 Archived-At: --000000000000ba9a59061df3930a Content-Type: text/plain; charset="UTF-8" In progmodes/project.el, I believe the face reference, below, needs a quote. (defun project-mode-line-format () "Compose the project mode-line." ... (propertize (project-name project) 'face project-mode-line-face * 'face 'project-mode-line-face ; should be quoted?* ... 'local-map project-mode-line-map))))) I hope I got that right. I've been using a custom project-mode-line-format and custom project-mode-line-face which is how I noticed this. Stephane --000000000000ba9a59061df3930a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
In progmodes/project.el, I believ= e the face reference, below, needs a quote.

(defun project-mode-lin= e-format ()
=C2=A0 "Compose the project mode-line."
...
=C2=A0 =C2=A0 =C2=A0 =C2=A0(properti= ze
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (project-name project)
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 'face project-mode-line-face
=C2=A0 =C2=A0 =C2=A0 =C2=A0 'face 'project-mo= de-line-face ; should be quoted?
...
=C2=A0 =C2=A0 =C2=A0 =C2=A0 'local-map project-mode-li= ne-map)))))


=
I hope I got that right. I've been using = a custom project-mode-line-format and custom project-mode-line-face which i= s how I noticed this.

=
Stephane
--000000000000ba9a59061df3930a--