GNU bug report logs - #79217
[PATCH] display-time-mode: Include world-clock time in mode line.

Previous Next

Package: emacs;

Reported by: Wilko Meyer <w <at> wmeyer.eu>

Date: Mon, 11 Aug 2025 14:01:01 UTC

Severity: normal

Tags: patch

Full log


Message #8 received at 79217 <at> debbugs.gnu.org (full text, mbox):

From: "Jacob S. Gordon" <jacob.as.gordon <at> gmail.com>
To: Wilko Meyer <w <at> wmeyer.eu>
Cc: 79217 <at> debbugs.gnu.org
Subject: Re: bug#79217: [PATCH] display-time-mode: Include world-clock time in
 mode line.
Date: Mon, 11 Aug 2025 19:15:02 -0400
Hey Wilko,

On 2025-08-11 10:00, Wilko Meyer wrote:
> This patch introduces an user option to conditionally include
> world-clock time, in addition to the localtime, when display-time-mode is
> active, in mode line.

Sounds useful to me. Some thoughts:

+ When the world clock list is long, this takes up a big chunk of the
  mode line. Would it make sense to limit the # or width somehow?

+ When enabled, it might help to have something like ā€œ(local)ā€ beside
  the current time as a separator, i.e. it could look like:

  6:56PM (local) 7:56AM (Tokyo)

  instead of:

  6:56PM 7:56AM (Tokyo)

+ Perhaps the order should reflect `world-clock-sort-order' (by
  calling `world-clock--sort-entries' with the list and time).

+ I’m not sure what the norm is for mode line entries, but maybe the
  :set of the defcustom could refresh the mode line.

Best,

--
Jacob S. Gordon
jacob.as.gordon <at> gmail.com
Please avoid sending me HTML emails and MS Office documents.
https://useplaintext.email/#etiquette




This bug report was last modified 12 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.