From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joseph Turner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#72285: 29.4; world-clock reports same time zone for all zones in world-clock-list Date: Thu, 25 Jul 2024 01:13:07 -0700 Message-ID: <87ed7h28ks.fsf@breatheoutbreathe.in> References: <87msm613hn.fsf@breatheoutbreathe.in> <87cyn20z4y.fsf@yandex.com> Reply-To: Joseph Turner Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6899"; mail-complaints-to="usenet@ciao.gmane.io" Cc: m43cap@yandex.com, 72285@debbugs.gnu.org, eliz@gnu.org To: 72285-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 25 10:14:35 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sWtcR-0001aC-18 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 25 Jul 2024 10:14:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWtbp-0006Hu-7N; Thu, 25 Jul 2024 04:13:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWtbn-0006HG-Px for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 04:13:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWtbn-0001ty-I1 for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 04:13:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sWtbu-0000pY-FL for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 04:14:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Joseph Turner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jul 2024 08:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72285 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: Colin Baxter , "Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors" , eliz@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.17218952143137 (code B ref -1); Thu, 25 Jul 2024 08:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Jul 2024 08:13:34 +0000 Original-Received: from localhost ([127.0.0.1]:35486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWtbR-0000oW-Rj for submit@debbugs.gnu.org; Thu, 25 Jul 2024 04:13:34 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:58962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sWtbP-0000oO-Rd for submit@debbugs.gnu.org; Thu, 25 Jul 2024 04:13:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWtbG-0006Eg-7Z for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 04:13:23 -0400 Original-Received: from out-179.mta1.migadu.com ([2001:41d0:203:375::b3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWtbA-0001j9-7v for bug-gnu-emacs@gnu.org; Thu, 25 Jul 2024 04:13:21 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=breatheoutbreathe.in; s=key1; t=1721895192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YqIL0IHnk3o1IIYr/RoxeB5+yOu/PUMrb/4JuZzHIBQ=; b=TgL4DoTk2WtGJfcL3mDPLruNuPFW8FyyuN44MIyyFS/8q8by65RZq1cuwHnGG5KgdM7tRM yKzBysXn4STqHXe/e3oFNwccdRjdgSz8RQoYJ8sF+6+m8gsmMz1Iwsw4/ws9O2J20LzHPY lEeurhAx4redV1sY1EwSieVOB3AGBp0= In-Reply-To: <87cyn20z4y.fsf@yandex.com> (Colin Baxter's message of "Thu, 25 Jul 2024 07:22:21 +0100") X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:203:375::b3; envelope-from=joseph@breatheoutbreathe.in; helo=out-179.mta1.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:289289 Archived-At: tags 72285 notabug Thank you, Eli and Colin! Colin Baxter writes: >>>>>> Bug reports for GNU Emacs, the Swiss army knife of text editors > writes: > > > With world-clock-list set to t (the default), world-clock works > > as > > expected. If world-clock-list is set to an alist, the results > > are > > wrong. > > > With emacs -Q, run M-x world-clock to see output: > > > Seattle Wednesday 24 July 21:41 PDT New York Thursday 25 July > > 00:41 EDT London Thursday 25 July 05:41 BST Paris Thursday 25 > > July > > 06:41 CDT Bangalore Thursday 25 July 10:11 IST Tokyo Thursday 25 > > July 13:41 JST > > > So good so far. Now evaluate the following > > > (require 'time) (setopt world-clock-list '(("Africa/Ouagadougou" > > "Ouagadougou") ("America/New_York" "New York") ("Asia/Shanghai" > > "Shanghai") ("Europe/Berlin" "Berlin"))) > > > and run M-x world-clock again to see: > > > Ouagadougou Thursday 25 July 04:42 Africa New York Thursday 25 > > July 04:42 America Shanghai Thursday 25 July 04:42 Asia Berlin > > Thursday 25 July 04:42 Europe > > > All of the timezones are incorrectly set to UTC. > > > My emacs was installed with Guix on top of Debian stable, so it > > wouldn't surprise me if this is not a bug but rather a > > configuration issue. In any case, I'd appreciate some help! > > It might be your system because your recipe works for me: > > Ouagadougou Thursday 25 July 06:18 GMT > New York Thursday 25 July 02:18 EDT > Shanghai Thursday 25 July 14:18 CST > Berlin Thursday 25 July 08:18 CEST > > I'm using emacs-31.0.50 on an old Debian. > > Colin Baxter.