From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: nljlistbox2@gmail.com (N. Jackson) Newsgroups: gmane.emacs.bugs Subject: bug#24291: 25.1; display-time-world seems to ignore zoneinfo-style-world-list when display-time-mode is t Date: Tue, 23 Aug 2016 08:50:53 -0300 Message-ID: <87a8g3snz6.fsf@moondust.awandering> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1471953147 15837 195.159.176.226 (23 Aug 2016 11:52:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 Aug 2016 11:52:27 +0000 (UTC) To: 24291@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 23 13:52:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcAFg-0003hC-7B for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2016 13:52:20 +0200 Original-Received: from localhost ([::1]:45972 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcAFd-0008NP-EP for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Aug 2016 07:52:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcAFU-0008N2-4x for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 07:52:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcAFP-0006WM-U1 for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 07:52:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcAFP-0006WD-QB for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 07:52:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bcAFO-0004ws-FD for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 07:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: nljlistbox2@gmail.com (N. Jackson) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Aug 2016 11:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.147195307218962 (code B ref -1); Tue, 23 Aug 2016 11:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Aug 2016 11:51:12 +0000 Original-Received: from localhost ([127.0.0.1]:37578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcAEa-0004vj-7X for submit@debbugs.gnu.org; Tue, 23 Aug 2016 07:51:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcAEY-0004vX-M0 for submit@debbugs.gnu.org; Tue, 23 Aug 2016 07:51:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcAES-0006Pq-6w for submit@debbugs.gnu.org; Tue, 23 Aug 2016 07:51:05 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcAES-0006Pb-3S for submit@debbugs.gnu.org; Tue, 23 Aug 2016 07:51:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcAEP-0008La-54 for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 07:51:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcAEL-0006Ob-0u for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 07:51:00 -0400 Original-Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]:36315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcAEK-0006OS-QE for bug-gnu-emacs@gnu.org; Tue, 23 Aug 2016 07:50:56 -0400 Original-Received: by mail-it0-x22a.google.com with SMTP id e63so141932834ith.1 for ; Tue, 23 Aug 2016 04:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version; bh=YYaLSniP62bPdzOIInAraDUZKYTB0Ivgz1LzapKSgJ4=; b=oNjKlpaoKLMdS9xQ/VPRe7pxHzdtN1iPla4oLFk22YGr2FkxKgrlLFQactZkKvwqOB UbSHqS+R2dcxudYUFzQe6PiXQGunSGe/x6iMeePMK+3o87Bv8mMX5bGcSQ76LPuFmUBP hM4bahWW2nUgP5ZnkChNjs5HSwEMe7zd43epoSH38j0AdHepIV9YOMsyvTI/n6G9rnct ZPjiatKv09FQFlNpChwzuDGNWkTZEIvW28YON66WrFejaqkLenUoWhO6e6R2ZBlbWN8p /P5eU91b3HJxzUgo4j31p8Q/F6tseKX68r8zm5vdDO1g8fAQY2pOnbSibBgduzBeUBSn JUQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=YYaLSniP62bPdzOIInAraDUZKYTB0Ivgz1LzapKSgJ4=; b=SO47Ty5N57mK/cagMtXeN58Eg0394yqif+Fpxjjk3s0hZ2AzpGRPVJP8YRV19SD3pn Eplbszd2hGSH/0ZNe0jTRqGBVuaeyzPn2atqSMbFUn2yqkS9GnTw2M2mEV9xRus7815n lVIgNrt+3h1hChDpD+ZZWWqynHRl/gfAhp3suRu4zK1OawJYaXXQySGpEqXmlvq8giG6 pxq5HJ9/7f3ly0HaRa2L1HhNPtYwcOUHY/lI7U+v5LEDO0s6itpg97vMuJNRIOHivOrU WGNHxkJR8O8uJtCkAZh6AJlvHm1xn+nRdGwPaMWlMAnewipzCcCzTU2Dssfm/nz56Slx zlUg== X-Gm-Message-State: AEkooutIFJ1SzL/LoFJ+5Bl3I2X0QJfzBZPY3Em4c4ffhOdRHFzFSwko/MGsOlo1sJOoig== X-Received: by 10.107.8.140 with SMTP id h12mr30288935ioi.95.1471953055495; Tue, 23 Aug 2016 04:50:55 -0700 (PDT) Original-Received: from moondust.nodomain.none (blk-138-73-133.eastlink.ca. [24.138.73.133]) by smtp.gmail.com with ESMTPSA id n190sm1231504ion.42.2016.08.23.04.50.54 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Aug 2016 04:50:54 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:122540 Archived-At: The command display-time-world seems to be ignoring the zoneinfo-style-world-list variable; instead, the time for the default list of cities is displayed. Setting zoneinfo-style-world-list in `emacs -Q' works as expected, so I bisected my init file and it seems that the problem is "caused" by setting display-time-mode to show the clock in the mode line. This recipe shows the problem from `emacs -Q' 0. emacs -Q 1. Enter the following elisp in *scratch*: (custom-set-variables '(display-time-mode t) '(zoneinfo-style-world-list (quote (("Etc/UTC" "Universal Time") ("AST4ADT" "Atlantic Time") ("EST5EDT" "Eastern Time") ("Europe/London" "London") ("Asia/Tokyo" "Tokyo"))))) 2. `C-x C-e' (eval-last-sexp) to run it 3. `M-x display-time-world' Observed result: Seattle Tuesday 23 August 04:22 PDT New York Tuesday 23 August 07:22 EDT London Tuesday 23 August 12:22 BST Paris Tuesday 23 August 13:22 CEST Bangalore Tuesday 23 August 16:52 IST Tokyo Tuesday 23 August 20:22 JST Expected result: Universal Time Tuesday 23 August 11:24 UTC Atlantic Time Tuesday 23 August 08:24 ADT Eastern Time Tuesday 23 August 07:24 EDT London Tuesday 23 August 12:24 BST Tokyo Tuesday 23 August 20:24 JST If the recipe above is modified to remove the line that sets display-time-mode, the output is as expected. I'm more than slightly confused by what I'm observing here. I don't believe it was more than a couple of months ago that I set z-s-w-l for the first time. It worked perfectly then even though I always have d-t-m on (because the mode line clock is the one I use to know what time it is during the day). But now I'm seeing the reported problem in versions of the Emacs 25 pre-release going back for months, and indeed, in Emacs 24.5. In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.18.9) of 2016-07-24 built on moondust Windowing system distributor 'Fedora Project', version 11.0.11803000 System Description: Fedora release 23 (Twenty Three) Configured using: 'configure --prefix=/home/nlj/local/ --enable-checking=yes,glyphs --enable-check-lisp-object-type 'CFLAGS=-O2 -g3 -gdwarf-4'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LC_MONETARY: en_DK.utf8 value of $LC_NUMERIC: en_DK.utf8 value of $LC_TIME: en_DK.utf8 value of $LANG: en_CA.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Features: (shadow bbdb-message emacsbug sendmail gnus-html browse-url url-cache mm-url smiley gnus-cite gnus-bcklg gnus-async qp mail-extr gnus-ml disp-table nndraft nnmh utf-7 server pinentry epa-file epa derived network-stream nsm starttls nnfolder bbdb-gnus bbdb-mua nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache org-clock tabify vc-git diff-mode python tramp-sh tramp tramp-compat tramp-loaddefs trampver ucs-normalize json map sh-script smie executable latexenc preview prv-emacs font-latex sage-latex tex-buf latex tex-style tex dbus xml tex-mode shell flyspell ispell sage sage-load rx emms-bookmarks emms-cue emms-mode-line-icon emms-browser sort emms-playlist-sort emms-last-played emms-player-xine emms-player-mpd emms-playing-time emms-lyrics emms-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source url-vars emms-streams emms-tag-editor emms-mark emms-mode-line emms-cache emms-info-ogginfo emms-info-mp3info emms-info later-do emms-playlist-mode emms-player-vlc emms-player-mplayer emms-player-simple emms-source-playlist emms-source-file locate emms-setup emms emms-compat calfw-org calfw cl-seq holidays hol-loaddefs cl pdf-occur ibuf-ext ibuffer tablist tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio eieio-core cl-macs mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools compile cus-edit pdf-view bookmark pp pdf-cache pdf-info tq pdf-util org-contacts org-capture gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rfc822 mml mml-sec password-cache epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils mm-util help-fns mail-prsvr org-eldoc org-w3m org-rmail org-mhe org-irc org-info org-habit org-gnus gnus-util org-docview doc-view subr-x jka-compr image-mode dired org-bibtex bibtex org-bbdb org-element avl-tree org-agenda org advice org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-latex ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func bbdb-anniv diary-lib diary-loaddefs cal-menu calendar cal-loaddefs bbdb-com crm mailabbrev bbdb bbdb-site timezone bbdb-loaddefs finder-inf tex-site info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv edmacro kmacro recentf tree-widget wid-edit easymenu time wheatgrass-theme paren savehist saveplace elec-pair battery desktop frameset cl-loaddefs pcase cl-lib delsel cua-base cus-start cus-load time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 965862 52373) (symbols 48 105262 0) (miscs 40 19647 6806) (strings 32 175240 17487) (string-bytes 1 6112277) (vectors 16 82378) (vector-slots 8 2081333 128971) (floats 8 732 932) (intervals 56 73267 3321) (buffers 976 229) (heap 1024 114049 23712))