all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* time in mode-line
@ 2023-07-21 19:02 Colin Baxter
  2023-07-22  5:16 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Colin Baxter @ 2023-07-21 19:02 UTC (permalink / raw)
  To: emacs-devel


After today's pull of emacs, I find the time clock display in the
mode-line has changed. Is this intentional?

1. emacs -q <RET>
2. In scratch evaluate (setq display-time-day-and-date t) and
   (display-time)
3. C-x 2 <RET>

In the inactive buffer, the clock has a background of the same color as
the active buffer mode-line. It look pretty ugly to me. 

Colin Baxter.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: time in mode-line
  2023-07-21 19:02 time in mode-line Colin Baxter
@ 2023-07-22  5:16 ` Eli Zaretskii
  2023-07-22  5:46   ` Colin Baxter
  0 siblings, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2023-07-22  5:16 UTC (permalink / raw)
  To: m43cap; +Cc: emacs-devel

> From: Colin Baxter <m43cap@yandex.com>
> 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 <RET>
> 2. In scratch evaluate (setq display-time-day-and-date t) and
>    (display-time)
> 3. C-x 2 <RET>
> 
> In the inactive buffer, the clock has a background of the same color as
> the active buffer mode-line. It look pretty ugly to me. 

Does the patch below fix that?

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")



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: time in mode-line
  2023-07-22  5:16 ` Eli Zaretskii
@ 2023-07-22  5:46   ` Colin Baxter
  2023-07-22  6:14     ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Colin Baxter @ 2023-07-22  5:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

>>>>> Eli Zaretskii <eliz@gnu.org> writes:

    >> From: Colin Baxter <m43cap@yandex.com> 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 <RET> 2. In scratch evaluate (setq
    >> display-time-day-and-date t) and (display-time) 3. C-x 2 <RET>
    >> 
    >> 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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: time in mode-line
  2023-07-22  5:46   ` Colin Baxter
@ 2023-07-22  6:14     ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2023-07-22  6:14 UTC (permalink / raw)
  To: m43cap; +Cc: emacs-devel

> From: Colin Baxter <m43cap@yandex.com>
> Cc: emacs-devel@gnu.org
> Date: Sat, 22 Jul 2023 06:46:34 +0100
> 
> >>>>> Eli Zaretskii <eliz@gnu.org> writes:
> 
>     >> From: Colin Baxter <m43cap@yandex.com> 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 <RET> 2. In scratch evaluate (setq
>     >> display-time-day-and-date t) and (display-time) 3. C-x 2 <RET>
>     >> 
>     >> 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.

Thanks, installed.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-22  6:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-21 19:02 time in mode-line Colin Baxter
2023-07-22  5:16 ` Eli Zaretskii
2023-07-22  5:46   ` Colin Baxter
2023-07-22  6:14     ` Eli Zaretskii

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.