all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Philip Kaludercic <philipk@posteo.net>
To: Ship Mints <shipmints@gmail.com>
Cc: 72264@debbugs.gnu.org
Subject: bug#72264: Default project-mode-line-format missing a quote (Emacs 30 prep)
Date: Wed, 24 Jul 2024 10:39:40 +0000	[thread overview]
Message-ID: <87a5i7jcpf.fsf@posteo.net> (raw)
In-Reply-To: <CAN+1Hbq6C9u5jFAw_xTtH_EMvbUvbLj-t645zYQqKh5O+T7+zw@mail.gmail.com> (Ship Mints's message of "Tue, 23 Jul 2024 20:44:01 -0400")

Ship Mints <shipmints@gmail.com> writes:

> 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?*

project-mode-line-face is a variable that may contain a face, but the
symbol itself doesn't designate a face.  Just check the definition a few
lines above.

> ...
>         '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.

How did you define your custom `project-mode-line-face'?

> Stephane

-- 
	Philip Kaludercic on peregrine





  reply	other threads:[~2024-07-24 10:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-24  0:44 bug#72264: Default project-mode-line-format missing a quote (Emacs 30 prep) Ship Mints
2024-07-24 10:39 ` Philip Kaludercic [this message]
2024-07-24 11:59   ` Ship Mints
2024-07-24 12:31     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87a5i7jcpf.fsf@posteo.net \
    --to=philipk@posteo.net \
    --cc=72264@debbugs.gnu.org \
    --cc=shipmints@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.