emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Make display-time-mode time zone configurable


From: Paul Eggert
Subject: Re: [PATCH] Make display-time-mode time zone configurable
Date: Thu, 18 Feb 2016 20:57:48 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Mark Oteiza wrote:
lots of time-related things are fragmented across Emacs.

Yes, too fragmented. People have added individual features without knowing about the other uses.

This patch just conveniently exposes the ZONE feature in
display-time-mode in the same way time-stamp-time-zone does in
time-stamp.el.  Would it make sense to put a defcustom in (I guess)
time.el and have time-stamp.el use it?

On second thought, probably not. time-stamp.el is about time stamps in files, where it makes sense to (for example) standardize on UTC time stamps for ease of sharing files with people in other time zones.

The proposed display-time-zone, on the other hand, is about time stamps in the user display. This makes less sense to me, as the user display should use consistent time stamps and there are many other ways to display time. I suppose the use case would be something like "Although for most purposes Emacs should behave as if the time zone is X, the mode line should sometimes but not always use time zone Y". Why would the user want that?

Does display-time-world address the use case you're interested in? If not, what is display-time-world missing?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]