From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61567: 30.0.50; Define display-time-time-and-date-indicator face Date: Fri, 17 Feb 2023 08:37:32 +0200 Message-ID: <83y1ow23wz.fsf@gnu.org> References: <87zg9cx1sj.fsf@protesilaos.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17176"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 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 07:38:22 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 1pSuNy-0004H0-8g for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Feb 2023 07:38:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSuNg-0001w4-9t; Fri, 17 Feb 2023 01:38: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 1pSuNe-0001v5-Ed for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 01:38:02 -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 1pSuNe-0007xo-46 for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 01:38:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSuNd-0001OI-PO for bug-gnu-emacs@gnu.org; Fri, 17 Feb 2023 01:38:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Feb 2023 06:38:01 +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.16766158625320 (code B ref 61567); Fri, 17 Feb 2023 06:38:01 +0000 Original-Received: (at 61567) by debbugs.gnu.org; 17 Feb 2023 06:37:42 +0000 Original-Received: from localhost ([127.0.0.1]:38293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSuNJ-0001Nk-Od for submit@debbugs.gnu.org; Fri, 17 Feb 2023 01:37:42 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:59760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSuNI-0001NX-DD for 61567@debbugs.gnu.org; Fri, 17 Feb 2023 01:37:40 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSuNC-0007vz-EY; Fri, 17 Feb 2023 01:37:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=V0nd17h8uhakq5saPmd3P8C5fKX95mGNa6FIwu4dayM=; b=MewGRGReb/kl 1cG25MjIRdJaKhjvjmLHew/YynTtvGRymRbzqcrDm16aZGomMzJ22wNhV/uMUC0cXk5DUaxoTcYm2 XLXMh1MTR2vwGzr6tomStm8pLyyEPbNMYLjWzylxz1+QopeO1bXv++4mmLpwXkiRH/pZbDkU18Pjh ctjeF9jdiCJ9CZZJpB2DXZrlYAV/LHe3XpMF9WwdUYNf1cu5+nvTSqq2A+fKdO38a6RaEGIZl/R/5 iOdNH0PBsh9gFh3ZB9QKCkMAVht+Qia/WhA4AVIeUkHtStmZKQ2YDnWmPOvZlduh+DeBX1jX1qiHf 6VluDVO4FZf+gGI+L2MBjQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSuNB-0007jZ-Na; Fri, 17 Feb 2023 01:37:34 -0500 In-Reply-To: <87zg9cx1sj.fsf@protesilaos.com> (message from Protesilaos Stavrou on Fri, 17 Feb 2023 08:07:40 +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:255856 Archived-At: > From: Protesilaos Stavrou > Date: Fri, 17 Feb 2023 08:07:40 +0200 > > I have written a small patch for 'time.el'. It adds a face to the > date+time of 'M-x display-time-mode'. > > Should I install this on 'master'? Yes, please. > Any changes to make to it? See below. > * etc/NEWS: Announce the new face for the 'display-time-format'. > * lisp/time.el (display-time-time-and-date-indicator): Define new face. > (display-time-string-forms): Use the new face. Please remember to mention the bug number in the log message when you install this. > +--- > +** New face for 'display-time-format' > +The 'display-time-time-and-date-indicator' applies to the time and > +date component of the 'display-time-mode'. By default, the face has > +all its attributes unspecified to preserve the indicator's familiar > +appearance. This entry is IMO too long for such a simple and minor change. Just saying something like ** New face 'display-time-time-and-date-indicator'. This is used for displaying the time and date components of 'display-time-mode'. should be enough. > +(defface display-time-time-and-date-indicator nil > + "Face of the `display-time-format'." ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "Face for `display-time-format'." Thanks.