GNU bug report logs -
#40863
[PATCH] Improve the display-time-world UI
Previous Next
Reported by: Stefan Kangas <stefan <at> marxist.se>
Date: Sun, 26 Apr 2020 08:57:01 UTC
Severity: wishlist
Tags: patch
Fixed in version 28.1
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #58 received at 40863 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
"Basil L. Contovounesios" <contovob <at> tcd.ie> writes:
> Stefan Kangas <stefan <at> marxist.se> writes:
>
>> I have made some improvements to the display-time-world UI. I divided
>> them up into four patches to ease review and merging of the individual
>> features. Please let me know what you think.
>
> Thanks for working on this, see my comments below.
>
>> (Of course I can squash the patches before pushing if that is preferable.)
>>
>> Patch 4 adds an alias 'world-clock'. Ideally, I would like to rename
>> the somewhat obscurely named 'display-world-time' to 'world-clock' and
>> make the old names into obsolete aliases. It would be good to hear
>> any opinions on that too.
>
> No strong feelings either way here.
So here's a revised set of patches:
1. Fix all Basil's comments, and remove the buffer rename that Eli
didn't approve of.
2. Rename 'display-time-world' to 'world-clock', and add an alias for
the old name.
Then comes the more ambitious part:
3. Rename 'display-time-world-*' functions and variables into
'world-clock-*' equivalents and make the old names into obsolete
aliases.
Move the world-clock options from the defgroup display-time
(sorting under the mode-line and mail), into a new defgroup
world-clock (sorting under applications).
4. Rearrange the defcustoms time.el to clearly separate world-clock
from display-time-mode. Cleanup of :group args.
I have seen no to the proposals in patches 1-2 so far, and I hope that
we can agree to make the changes also in patches 3-4. I think the
result is much more logical from pretty much any point of view.
Comments are obviously very welcome.
Best regards,
Stefan Kangas
[0001-Improve-display-time-world-UI-Bug-40863.patch (text/x-diff, attachment)]
[0002-Make-display-time-world-into-an-alias-for-world-cloc.patch (text/x-diff, attachment)]
[0003-Rename-display-time-world-to-world-clock-Bug-40863.patch (text/x-diff, attachment)]
[0004-Rearrange-and-cleanup-code-in-time.el-Bug-40863.patch (text/x-diff, attachment)]
This bug report was last modified 4 years and 338 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.