From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wHRqBgkwzmR5DgEASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 13:18:33 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6DwXBQkwzmQ9vQAAG6o9tA (envelope-from ) for ; Sat, 05 Aug 2023 13:18:33 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 57EDF59D78 for ; Sat, 5 Aug 2023 13:18:32 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="kSzla/BE"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691234312; h=from:from:sender:sender: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LiuxywH+1iPbbusMkPk8y7Cw6z1RbRyPHRaUEmf6nRA=; b=Dwt5oFN33ZndM+EE6oce7uh50o42OPk764c92fY3WJgVUUlsRhfS1IsZstxEqWGIhQzfKT qQIGsV+b+PI/huXV/CgyOh8TdylDPosHA3LTCFBH8CttHSWEI3xzWlzV0GNdQWopVdpvNJ HNySpXlQxkEOKmR+cpXbN5nFxZGqRk7y1DvzP1r7VZuf9UcNTXYKJfrAdBBoKE8d6da29A 0tBlZoLb6GwfNYzMLo7qRRWaAQygeM5ZWQmvXBt1sY17BBC7T2py7A7egXbPJrf7HJAUEA McYdyfhZXA3qD24cZOjZ2ebCoNp1uNSbamr+8VHguwDd3bGjo89t83yEOWVyPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691234312; a=rsa-sha256; cv=none; b=hFR4fLarmHxILXrKh6hJ5ifh7PMsAWkFuvDHlnFPOWXEqnJ9Z+xDhl8ADDD4yUpdoxBG5e cIFMPMpiQQvBr9Vqa2GX25xDMSFWpE0h6nzAF8uutlLC6aME4G9seAu2W/PCxxr/HlBCFN UyZLCSwpKIE0RfMpJeNXSFK3oRkrUlFfT7Kq+KbVurh5er4HQJudN63n0LzD1WL+ZEsDjy xtGGPOG3ojI9/Chp/lDPuw3G11IyxDlsZ7WcuyLzh4DcuKfeqwDID2S4WxVX2Q9kVhgxio x+pG5kBWmVvuQLONHBIw2IspLPUe3VoqWdNPUGR0UxOMRTGcGZLk7rUAwdZZNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="kSzla/BE"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSFI5-0008L4-0R; Sat, 05 Aug 2023 07:17:49 -0400 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 1qSFI3-0008Ka-Qv for emacs-orgmode@gnu.org; Sat, 05 Aug 2023 07:17:47 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSFI1-0000eH-KF for emacs-orgmode@gnu.org; Sat, 05 Aug 2023 07:17:47 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 87DBE240027 for ; Sat, 5 Aug 2023 13:17:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1691234262; bh=LRqt4JGqJ1QUhTMENU3uQ4THySmI4fhO5pEgz1ikAak=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=kSzla/BEJZML9WkPThBkL2g2P5NElHQhdraovf0W130+zrZwckSKxYamz//4vZjtB yQZPIXdoSTQSxzz5OUq8ZJUpQX8ma3k/6mCkXuhAa5ofk//Dehihu0R35i+VCjvab1 pIgEMnVIW4epaeFxiAumPJ8dAfVzO9DDpYMsmla9HGMljq4sGJCUug71i7370r8Jmx vD8LSoXe0A3bI1shmNMCeD6sgGQgouQ1Xp3itXokahRuAC1Out04SzLJVzjPpNP0B6 eFMDkyR0q6TXd2yJ6YFfFtSJ9QiPuPCyu1D4uuLiw1GYOvPw6zPyeaKRZUW6Dn1oon fj2xcLSX/C+8g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RJ0Rn6Lhzz9rxF; Sat, 5 Aug 2023 13:17:41 +0200 (CEST) From: Ihor Radchenko To: Christian Barthel Cc: emacs-orgmode@gnu.org Subject: Re: Emacs 29.1, org-agenda and SCHEDULED entries In-Reply-To: <87edkhnbn4.fsf@shell.onfire.org> References: <87edkhnbn4.fsf@shell.onfire.org> Date: Sat, 05 Aug 2023 11:18:07 +0000 Message-ID: <875y5tlouo.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 57EDF59D78 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -9.30 X-Spam-Score: -9.30 X-TUID: tK7TP2SKu67F Christian Barthel writes: > while upgrading from emacs 28.1 to 29.1, my org-agenda stopped working. > The message in the echo area was: > > --8<---------------cut here---------------start------------->8--- > Search failed: "\\]+\\)>" > --8<---------------cut here---------------end--------------->8--- > > The search seemed to fail in an old org file: > > --8<---------------cut here---------------start------------->8--- > * someentry > SCHEDULED: [2017-12-12 Tue 17:42] > --8<---------------cut here---------------end--------------->8--- > > Not sure why I've used an inactive timestamp there but it shouldn't > be a problem I guess? It is exactly the problem. Inactive timestamps are not allowed in SCHEDULED/DEADLINE. > Was/Is that change on purpose? (I haven't seen anything in the > ChangeLog) Only internals changed. Previously, agenda used a dumb regexp search using this failing regexp (and skipped your problematic entry completely). Now, we first query parser cache, which considers your "someentry" as :scheduled. But agenda expects scheduled items to use active timestamps all the time, causing the error. We should update the parser to treat such malformed SCHEDULED/DEADLINE lines as ordinary paragraphs and report them in org-lint. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at