all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Mark Oteiza <mvoteiza@udel.edu>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] Make display-time-mode time zone configurable
Date: Fri, 19 Feb 2016 12:14:37 -0500	[thread overview]
Message-ID: <20160219171437.GA9456@holos> (raw)
In-Reply-To: <56C6A0CC.1080007@cs.ucla.edu>

On 18/02/16 at 08:57pm, Paul Eggert wrote:
> 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?

My first thought of a use-case is simply keeping time zone in the mode
line the same regardless of what the system time (or local time) may be,
akin to not changing one's watch when travelling.

Alternatively, similar to standardizing on one a particular time zone in
time-stamp.el, it may also be desirable in a privacy sense to
standardize the rest of Emacs' time displays (e.g. time stamps in email
or other network connections) to another time zone but still keep the
"wall clock" (meaning display-time-mode) as local time.

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

display-time-world is a one-off popup buffer, whereas display-time-mode lives
in the mode-line, so no.



  reply	other threads:[~2016-02-19 17:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-15 22:02 [PATCH] Make display-time-mode time zone configurable Mark Oteiza
2016-02-16  4:45 ` Paul Eggert
2016-02-16 14:33   ` W. Greenhouse
2016-02-16 17:11     ` Paul Eggert
2016-02-19  2:32       ` Mark Oteiza
2016-02-19  2:37   ` Mark Oteiza
2016-02-19  4:57     ` Paul Eggert
2016-02-19 17:14       ` Mark Oteiza [this message]
2016-02-19 18:02         ` Paul Eggert
2016-02-22  0:45           ` Mark Oteiza
2016-02-22  5:27             ` Paul Eggert
2016-03-03  0:39               ` Mark Oteiza
2016-03-04  0:24                 ` Paul Eggert
  -- strict thread matches above, loose matches on Subject: below --
2016-03-04 22:25 Mark Oteiza
2016-03-05  1:35 ` Paul Eggert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160219171437.GA9456@holos \
    --to=mvoteiza@udel.edu \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.