From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.devel Subject: Re: time in mode-line Date: Sat, 22 Jul 2023 06:46:34 +0100 Message-ID: <878rb8wlad.fsf@yandex.com> References: <87cz0lw0jc.fsf@yandex.com> <83jzusa5l9.fsf@gnu.org> Reply-To: m43cap@yandex.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40869"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 22 07:47:18 2023 Return-path: Envelope-to: ged-emacs-devel@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 1qN5SX-000AOu-Rp for ged-emacs-devel@m.gmane-mx.org; Sat, 22 Jul 2023 07:47:17 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qN5S3-00029T-PN; Sat, 22 Jul 2023 01:46:47 -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 1qN5S0-000291-P0 for emacs-devel@gnu.org; Sat, 22 Jul 2023 01:46:45 -0400 Original-Received: from forward501c.mail.yandex.net ([2a02:6b8:c03:500:1:45:d181:d501]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qN5Ry-0003vN-0F; Sat, 22 Jul 2023 01:46:44 -0400 Original-Received: from mail-nwsmtp-smtp-production-main-91.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-91.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:3012:0:640:9343:0]) by forward501c.mail.yandex.net (Yandex) with ESMTP id 6CAAB5EEC3; Sat, 22 Jul 2023 08:46:36 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-91.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id Yk9qYS6DUmI0-MylFfwNn; Sat, 22 Jul 2023 08:46:35 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1690004796; bh=e/fWZ6CHxX/SwZjWTIT8ogNT6IVWz0O/pt9WVhlkvXg=; h=Message-ID:References:Date:Reply-To:Cc:In-Reply-To:Subject:To: From; b=XmG/DpAonPZS0cFcT9bN91ik7u+SXTD5lr0b2o8cTx7Yw2VZ8SAujoetKx9HgqrrF lNSUIi64AnTDfsoze2nfFRQvEgLy/Z/xyesQlWhxJxgKpNGWlBNhbdwZtpz4cWKsDu jEipy+cp6Y1PP02WE58qMIFS04f2PNznqGUaH3EQ= Authentication-Results: mail-nwsmtp-smtp-production-main-91.myt.yp-c.yandex.net; dkim=pass header.i=@yandex.com In-Reply-To: <83jzusa5l9.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 22 Jul 2023 08:16:34 +0300") X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T Face: iVBORw0KGgoAAAANSUhEUgAAAEkAAAATAgMAAAChCMjeAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACVBMVEX/zAABCWP///8I RHjYAAAAAWJLR0QCZgt8ZAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB+UFEAk5BvqS634A AAAbSURBVBjTY2BgCA1hYA0FAxDDgQEERsXoIAYA2F9Eb3cpB+AAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDUtMTZUMTA6NTY6MTcrMDE6MDCh/kkpAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA1 LTE2VDA5OjU3OjA2KzAxOjAwTyZ6HwAAAABJRU5ErkJggg== Received-SPF: pass client-ip=2a02:6b8:c03:500:1:45:d181:d501; envelope-from=m43cap@yandex.com; helo=forward501c.mail.yandex.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:308009 Archived-At: >>>>> Eli Zaretskii writes: >> From: Colin Baxter Date: Fri, 21 Jul 2023 >> 20:02:31 +0100 >> >> >> After today's pull of emacs, I find the time clock display in the >> mode-line has changed. Is this intentional? >> >> 1. emacs -q 2. In scratch evaluate (setq >> display-time-day-and-date t) and (display-time) 3. C-x 2 >> >> In the inactive buffer, the clock has a background of the same >> colour as the active buffer mode-line. It look pretty ugly to me. > Does the patch below fix that? Yes, it does. Thank you. > diff --git a/lisp/time.el b/lisp/time.el index 3b87859..3f10def > 100644 --- a/lisp/time.el +++ b/lisp/time.el @@ -140,7 +140,7 @@ > display-time-mail-face :type '(choice (const :tag "None" nil) > face)) > (defface display-time-date-and-time - '((t (:inherit mode-line))) > + '((t nil)) "Face for `display-time-format'." :group > 'mode-line-faces :version "30.1") Colin Baxter.