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.bugs Subject: bug#61567: 30.0.50; Define display-time-time-and-date-indicator face Date: Fri, 17 Feb 2023 11:58:25 +0100 Message-ID: <87wn4g1ru6.fsf@gmail.com> References: <87zg9cx1sj.fsf@protesilaos.com> <83y1ow23wz.fsf@gnu.org> <875yc037o3.fsf@gmail.com> <87lekwwp61.fsf@protesilaos.com> Mime-Version: 1.0 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="12607"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 61567@debbugs.gnu.org To: Protesilaos Stavrou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 17 11:59:26 2023 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 1pSySc-00037S-2C for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Feb 2023 11:59:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSySG-0003aT-GR; Fri, 17 Feb 2023 05:59:04 -0500 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 1pSySF-0003a6-28 for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 05:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSySE-0003w0-PR for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 05:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSySE-0004co-C0 for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 05:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Feb 2023 10:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61567 X-GNU-PR-Package: emacs Original-Received: via spool by 61567-submit@debbugs.gnu.org id=B61567.167663151717747 (code B ref 61567); Fri, 17 Feb 2023 10:59:02 +0000 Original-Received: (at 61567) by debbugs.gnu.org; 17 Feb 2023 10:58:37 +0000 Original-Received: from localhost ([127.0.0.1]:38600 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSyRo-0004cB-Ot for submit@debbugs.gnu.org; Fri, 17 Feb 2023 05:58:37 -0500 Original-Received: from mail-wr1-f42.google.com ([209.85.221.42]:41928) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSyRm-0004bw-4C for 61567@debbugs.gnu.org; Fri, 17 Feb 2023 05:58:34 -0500 Original-Received: by mail-wr1-f42.google.com with SMTP id i15so342810wry.8 for <61567@debbugs.gnu.org>; Fri, 17 Feb 2023 02:58:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=dCzLu4H7TqiOhhGsoUb35DzJXfrT+fXE3JO1Y0jkbOY=; b=LxLU2jLIKsOq0FNDiPw7L/u4NMjWi4nTQmPD+jLqwaRkKXQ83SfE/4JYiedcMZTPGd GgxtLG2zUldL5xQSqXuLaHVB5HferCyceORA5exhqKIzPxriYctt6oTY25/mFOwGMcMl Q4XT5SXbe7dQsT7KGTiIhFdAnU6VjZIFQSKtSE4oWGKDxSiRyqqdm7TzAuYD2RX72MT8 JJJULl1KPP9z0XeJCDFrDs8Mqmdg6paaK2HN3xaULtxrsLkb4gmCKJRXULZHerexcYAo /7pzNFnkTn39QCmJPCoSyIntZ6txrJbhe2UiAc6hkRmf9h9c4l6VFY5v8tAs09YjsFTu rNUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dCzLu4H7TqiOhhGsoUb35DzJXfrT+fXE3JO1Y0jkbOY=; b=XlxGTm0Zed+L4KwR+bYaF8piXn8ESrG0C+N//KImk0LIec1MmqlZfnojDsyhrpRNKM qqOToG8q2YyVuHOV/53sb/nWwugYJrrAg15+AP78NRt9pb9/3Qb/dMSZIu/GGuZhqR5Q AvdQFWIiInQbPsJjwY6owUB+BlRnT72+yM7oL5mvCPI2lPUhKRX+WjRG607cMVZ2Cy7D uzE8HPQharBeaR3Xf6XSWAa+fc1DolXPr87hnXkcVTeRrqB7j9yygFJJdPpgu8vNtTC0 z4r6kE8AcZ+L32c0i7NL3URW0wVLvqERYCLncKo5f5fCdixhD8GzDkvzb3OOSL2cg5Ts CQHw== X-Gm-Message-State: AO0yUKWhHwmWc+tL/l3kPVA66GE9Sh7D+VE+cV5N1+AJQaTPa5osQAQb e9wmR9Bltyome3USjBJUkw0kOkLaajAo0g== X-Google-Smtp-Source: AK7set8Ux7YMOD+hhI+ud5sHWk2OuQWaZLdHMPLCAiYm8lR6W+Qc/CaBHwjR8xex9baQgHBGzfqijg== X-Received: by 2002:adf:f388:0:b0:2c5:588f:c5c1 with SMTP id m8-20020adff388000000b002c5588fc5c1mr6707229wro.23.1676631506949; Fri, 17 Feb 2023 02:58:26 -0800 (PST) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id x13-20020adfdccd000000b002c3e3ee7d1asm3878240wrm.79.2023.02.17.02.58.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Feb 2023 02:58:26 -0800 (PST) In-Reply-To: <87lekwwp61.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Fri, 17 Feb 2023 12:40:22 +0200") 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:255874 Archived-At: >>>>> On Fri, 17 Feb 2023 12:40:22 +0200, Protesilaos Stavrou said: >> From: Robert Pluim >> Date: Fri, 17 Feb 2023 11:31:08 +0100 >>=20 >>>>>>> On Fri, 17 Feb 2023 08:37:32 +0200, Eli Zaretskii said: Eli> ** New face 'display-time-time-and-date-indicator'. Eli> This is used for displaying the time and date components of Eli> 'display-time-mode'. >>=20 Eli> should be enough. >>=20 >> >> +(defface display-time-time-and-date-indicator nil >> >> + "Face of the `display-time-format'." Eli> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Eli> "Face for `display-time-format'." >>=20 >> That=CA=BCs a very repetitive name. How about just >> `display-time-indicator-face' (although I have a vague memory of the= re >> being a guideline to not end faces in -face) Protesilaos> Indeed, the name is awkard. I also remember that use of "= -face" is Protesilaos> discouraged, but could not find the resource for it. I can=CA=BCt find anything in the elisp manual. But I do note that all the font-lock faces end in '-face' Protesilaos> My initial idea was to use "display-time-face", which woul= d also be Protesilaos> symmetric with "display-time-mail-face". Note though that= the latter is Protesilaos> defined as a 'defcustom', so I wasn't sure what the right = approach is. `defface' defined faces are customizable, so I don=CA=BCt think it matters. Robert --=20