From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69894: 29.1; Icalendar export conflict with calendar iso date Date: Sat, 06 Apr 2024 12:58:54 +0300 Message-ID: <86ttke3j8h.fsf@gnu.org> References: <86ttl3rnkm.fsf@mailo.com> <86edbuheck.fsf@gnu.org> <6ce76357-6c44-4cba-8094-703cbbf3d10c@cs.ucla.edu> <86r0fu2fiq.fsf@mailo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21793"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rwn@mailo.com, eggert@cs.ucla.edu, 69894@debbugs.gnu.org To: Erwan Hingant , Ulf Jasper Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 06 12:00:31 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 1rt2qc-0005Rl-TF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Apr 2024 12:00:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rt2qA-0006vh-CM; Sat, 06 Apr 2024 06:00:02 -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 1rt2q8-0006vI-7E for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 06:00:00 -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 1rt2q7-0008CM-V1 for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 05:59:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rt2qD-0000u7-He for bug-gnu-emacs@gnu.org; Sat, 06 Apr 2024 06:00:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Apr 2024 10:00:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69894 X-GNU-PR-Package: emacs Original-Received: via spool by 69894-submit@debbugs.gnu.org id=B69894.17123975693262 (code B ref 69894); Sat, 06 Apr 2024 10:00:05 +0000 Original-Received: (at 69894) by debbugs.gnu.org; 6 Apr 2024 09:59:29 +0000 Original-Received: from localhost ([127.0.0.1]:38327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt2pO-0000pd-LN for submit@debbugs.gnu.org; Sat, 06 Apr 2024 05:59:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rt2pK-0000oi-8t for 69894@debbugs.gnu.org; Sat, 06 Apr 2024 05:59:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rt2p7-00082a-Be; Sat, 06 Apr 2024 05:58:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=CpsGUSSBUNSBL49sG/gBkpMzGrnCfrXFQvMogVnZLyc=; b=oAcCOoB637Li tZWunFAVqg09cawuYzBzIm/jiV75f+UVoApJ9Ql4FtsS2Jvi3nJ8Ez8mF/ajG7LxZVP8f0BGIzKtJ ErgZVwNBzh05RNa81VaFxvIDb1jAiKK9f+C2vN0+bQ8DhBWp2bQoRcT/s6kdG396PQkca5rlG7Chc VMSLDYFa8NxfQNAqZTICjPRF7gTdWzYr9HDOSIRJaaaFZMlXhtPWEKJzi9aOzpB7HYlbwFEPxtRCu wgM9BSgKwSEwSJLRk8nmcqacEg2V/ndA6eMQYTS6iM2om8RALoPQo1Xj8aWP3+qLUArobK8qxDm1U V2evn1YH7sOYqtuWWm+C/Q==; In-Reply-To: <86r0fu2fiq.fsf@mailo.com> (message from Erwan Hingant on Thu, 28 Mar 2024 22:49:33 +0100) 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:282773 Archived-At: > From: Erwan Hingant > Cc: Eli Zaretskii , RwN , > 69894@debbugs.gnu.org > Date: Thu, 28 Mar 2024 22:49:33 +0100 > > Sorry I cannot help much because I am not an expert in > regexp.... I just find a patch which work for me. The 0? is not in > the match, the function assume a good structure of the diary file > so 2024 099 03 will match 2024 99 3 if I am right? What I am > concern is considering - instead of space likewise the default ISO > format used . Can you tell how you arrived at a date such as "2024-03-19" in the diary file? Did you per chance write it by hand or something? If any of the diary commands produce such dates, can you show a recipe for reproducing this? AFAIU, what icalendar--datestring-to-isodate accepts as DATESTRING is a diary-style date, and the ISO format of diary-style dates doesn't allow dashes. So I 'm curious as to how those dashes ended up in your diary file. Ulf, any comments about this?