From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#34315: [PATCH] icalendar.el: DURATION fix + more robust timezone handling Date: Mon, 18 Feb 2019 21:30:33 +0200 Message-ID: <83ef84ki7a.fsf@gnu.org> References: <23640.9851.562972.730234@AGAME7.local> <875ztog7hx.fsf@panama> <87wom1otsw.fsf@panama> <23658.31901.831381.517915@AGAME7.local> <83y36djdf6.fsf@gnu.org> <23659.1095.418799.313991@AGAME7.local> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="150167"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34315@debbugs.gnu.org To: thunk2@arcor.de (Thomas Plass) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 20:31:16 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gvodH-000cxZ-W7 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2019 20:31:16 +0100 Original-Received: from localhost ([127.0.0.1]:35708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvodH-0001qx-14 for geb-bug-gnu-emacs@m.gmane.org; Mon, 18 Feb 2019 14:31:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvod6-0001pl-Cd for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 14:31:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvod5-0000Vj-KA for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 14:31:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53932) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gvod4-0000UR-AY for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 14:31:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gvod4-000357-3l for bug-gnu-emacs@gnu.org; Mon, 18 Feb 2019 14:31:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 18 Feb 2019 19:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34315 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 34315-submit@debbugs.gnu.org id=B34315.155051823911780 (code B ref 34315); Mon, 18 Feb 2019 19:31:02 +0000 Original-Received: (at 34315) by debbugs.gnu.org; 18 Feb 2019 19:30:39 +0000 Original-Received: from localhost ([127.0.0.1]:53213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvoch-00033v-A8 for submit@debbugs.gnu.org; Mon, 18 Feb 2019 14:30:39 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gvoce-00033X-OQ for 34315@debbugs.gnu.org; Mon, 18 Feb 2019 14:30:37 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50112) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvocX-000068-Nk; Mon, 18 Feb 2019 14:30:29 -0500 Original-Received: from [176.228.60.248] (port=3520 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gvocW-0003bw-10; Mon, 18 Feb 2019 14:30:29 -0500 In-reply-to: <23659.1095.418799.313991@AGAME7.local> (thunk2@arcor.de) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:155509 Archived-At: > Date: Mon, 18 Feb 2019 20:15:19 +0100 > From: thunk2@arcor.de (Thomas Plass) > Cc: 34315@debbugs.gnu.org > > Eli Zaretskii wrote at 17:59 on February 18, 2019: > : these capabilities are not propagated to C runtime > : functions which Emacs uses. > > I take it then, Windows pre-built users have no way to work around > this in Elisp? Not in Lisp, no. > What about the C source? Is there any way for a total C-dummy like me > to tweak/hard wire a rule for my local zone into the source? Could > you point me at the file(s)/place(s) in the Git that I'd need to look > at? I don't understand what kind of C-level change do you have in mind. AFAIU, any change to support this stuff would involve writing (or importing from a free source) a parser for such DST rules, and then using APIs like SetDynamicTimeZoneInformation to make the parsed rule in effect. It would probably also mean replacing localtime and its ilk with versions that actually access the DST data set by the above APIs. Is that what you had in mind?