From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AJnWIdpqJWWxNwAAG6o9tA:P1 (envelope-from ) for ; Tue, 10 Oct 2023 17:16:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AJnWIdpqJWWxNwAAG6o9tA (envelope-from ) for ; Tue, 10 Oct 2023 17:16:42 +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 24C1E416D6 for ; Tue, 10 Oct 2023 17:16:42 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Gls4PfkP; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696951002; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=knY8ymQkBqYT8qxIkfRKZ+VDbLiqygIFn8wBfS3vFCY=; b=NGTsaWZKIB3X5qDWsoSUI/benB4XoXP5w7TJ7ojN0SRBavpd10Eh1xljOSmJtN8N/ResXY FYRrU8C//4DVzFs/RD8FWfknOtsJbWvPY/caTpL9iZntRHtMkzyzwUC0rn2LMjX+qx6yWG Q2fSk795G5p3ZksJ9OyrpH/qdD3IPHUYjg+COPJPmhHfoxS1sBq1ynvZS9kdMWk9XHvXe1 WG/7sXuey41w81TkiIOu5k9mCfcqCAMALOh31WM/1ei5YtLSPk1MV4WFkWU5YLaCSUEmM0 Csr+0mLSGSShuaCpOvENU+7g8qg6LGFdr2qnA/bwCTKwolP5xwKe6Lda2wP9aw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=Gls4PfkP; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696951002; a=rsa-sha256; cv=none; b=gChIYfNls/6NNbMDKCa7xiWR93diiNkT9pij11n27qZtdo0CxWgj2+dxsxs3sIVZlSGNj+ 8oWeSWo2b+3ze5FmsqfR4fMQffJT/2LV6GJFlLB9Fab5UZITrw4H9eGaj4CsU//GfZfDzT 1x3RGBN1HByrhvD5TIPAUM1X4OXn16m2BqZ9A/p+5U5uQ6Kawp9y6cOv2Cnpfce87WPmvk OICv2LT6vVJBrLWzK+y5uP/1B5y/hdvrzgNRFey8okFjtTI0nLFL9/mu+86/MNBuPoMvDh eyaZxUFyvfvCqzgPlz4YFx5qibGG56iGBllqH+wtROnCQTUVo75bMkO4VEjwXg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqESi-0008PZ-Kf; Tue, 10 Oct 2023 11:15:56 -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 1qqESA-0008EL-Bd for emacs-orgmode@gnu.org; Tue, 10 Oct 2023 11:15:23 -0400 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qqES8-0001YZ-6l for emacs-orgmode@gnu.org; Tue, 10 Oct 2023 11:15:22 -0400 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-9b974955474so973561266b.1 for ; Tue, 10 Oct 2023 08:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696950917; x=1697555717; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=knY8ymQkBqYT8qxIkfRKZ+VDbLiqygIFn8wBfS3vFCY=; b=Gls4PfkPAvDv7tkeg4z3gZFPBnZN8FBlQomrECZzyjvx2oWjOlYF2f//Pp3CWesWdm SP9H5XusFhlkjyfVBz8bWPILBS4Wp+x//75cxpF0ltYwf8zxum+WE8EWiLfn1q7/iizU lFeejbEkhPLbabjaCajlP4Ag+IS10B5RD6SXz/DjyGjaRmEW+R7waKxfaDOcsjqolewV AgZl0E8doGlEDGzETwI5qz1M2iVTAZI8dU/Wkk3fv/TMV1ACT9JU8VpQnUkvUrUlDCm7 ZUGmXPWgF1NvYOxqvWDY6hON33QjfK9JbBq0hopGxLLwCgRwpSbTcfoM4pIW9CwLlIBi E2/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696950917; x=1697555717; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=knY8ymQkBqYT8qxIkfRKZ+VDbLiqygIFn8wBfS3vFCY=; b=ZG6fMLnKZX/xr3g0olKrQw0KhuoOCjE9WRgO11N1GlYPsF3A8xsR7K40K69rYRZUmh 7KNTUhAR1K0LuHDiuAWWyeM2+tz1teTkRlISFEe7unCtYx00VgAdohTaHJ35Nh4fHbaT +V8CzETcPFXSCGBmt4p8iIRiWHGdc702swiNfXvOCI0zKH/jbeR5wsLlaTvdWTfSQtVU qwCoCpSUXxNS78BjeaR2eHM7fcvP9dWcs9nzqj/aiHri2Jg+Nm/p1cmbwjwuFUwQ9QnC GDtNQy7Xjek3QGvjwobyBbh6lY7AcSJ0rA2iwso8yG2nKhHQ3GreNSbb4g2dv3O/qv7W /+Ug== X-Gm-Message-State: AOJu0Yzk9HkNUfZGwf3GztzBC5eGxGd7LPUFr/1Umq5p7Ul1YU90iKJB Ad8TBrdin6APxaqdOuCRWu4/zM2T1crzL6Wf+AH9+1fJ5sIPSw== X-Google-Smtp-Source: AGHT+IEFq9T+ls4otlzR5lBQ5d7vTtQiepXk/gJZC2XWJxA3SmsK93x2jN8e4+dSsiTie8K2F1gNmjKpL9OTfZ8Xwj4= X-Received: by 2002:a17:906:ef90:b0:9b8:8f9e:1827 with SMTP id ze16-20020a170906ef9000b009b88f9e1827mr15114583ejb.74.1696950917052; Tue, 10 Oct 2023 08:15:17 -0700 (PDT) MIME-Version: 1.0 From: Cletip Cletip Date: Tue, 10 Oct 2023 17:14:40 +0200 Message-ID: Subject: [BUG?] Org-agenda doesn't work with this error : Search failed: "\]+\)>" To: Org Mode List Content-Type: multipart/alternative; boundary="0000000000009cbdcc06075e2c64" Received-SPF: pass client-ip=2a00:1450:4864:20::631; envelope-from=clement020302@gmail.com; helo=mail-ej1-x631.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Spam-Score: -9.49 X-Spam-Score: -9.49 X-Migadu-Queue-Id: 24C1E416D6 X-Migadu-Scanner: mx2.migadu.com X-TUID: 3o1w5NNSVrgH --0000000000009cbdcc06075e2c64 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello! I just encountered a strange bug (maybe) in org-mode, starting from version 9.6. I don't quite understand why, but it happens when I display the agenda (to be precise: M-x org-agenda a). This only happens (from the causes I found) when there is: SCHEDULED with inactive timestamp without a parent heading. This triggers the following error for me: Search failed: "\]+\)>" My version of emacs : GNU Emacs 28.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-05-31 Where it doesn't bug: Org mode version 9.5.5 (9.5.5-n/a-g8ef620) And older versions. Where it bugs: Org mode version 9.6 (9.6-n/a-gb3da4) And newer versions. Configuration (I use elpaca to quickly install packages, I've included the installation even though it may not be necessary): #+begin_src emacs-lisp ;;installation d'elpaca ;; --------------------- (defvar elpaca-installer-version 0.4) (defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory)) (defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory)) (defvar elpaca-repos-directory (expand-file-name "repos/" elpaca-directory)) (defvar elpaca-order '(elpaca :repo " https://github.com/progfolio/elpaca.git" :ref nil :files (:defaults (:exclude "extensions")) :build (:not elpaca--activate-package))) (let* ((repo (expand-file-name "elpaca/" elpaca-repos-directory)) (build (expand-file-name "elpaca/" elpaca-builds-directory)) (order (cdr elpaca-order)) (default-directory repo)) (add-to-list 'load-path (if (file-exists-p build) build repo)) (unless (file-exists-p repo) (make-directory repo t) (when (< emacs-major-version 28) (require 'subr-x)) (condition-case-unless-debug err (if-let ((buffer (pop-to-buffer-same-window "*elpaca-bootstrap*")) ((zerop (call-process "git" nil buffer t "clone" (plist-get order :repo) repo))) ((zerop (call-process "git" nil buffer t "checkout" (or (plist-get order :ref) "--")))) (emacs (concat invocation-directory invocation-name)) ((zerop (call-process emacs nil buffer nil "-Q" "-L" "." "--batch" "--eval" "(byte-recompile-directory \".\" 0 'force)"))) ((require 'elpaca)) ((elpaca-generate-autoloads "elpaca" repo))) (kill-buffer buffer) (error "%s" (with-current-buffer buffer (buffer-string)))) ((error) (warn "%s" err) (delete-directory repo 'recursive)))) (unless (require 'elpaca-autoloads nil t) (require 'elpaca) (elpaca-generate-autoloads "elpaca" repo) ;; (load "./elpaca-autoloads.el") ;; ne marche pas pour termux (load (expand-file-name "elpaca-autoloads.el" repo)) )) (add-hook 'after-init-hook #'elpaca-process-queues) (elpaca `(,@elpaca-order)) (elpaca-wait) ;; --------------------- (elpaca ;; or the version you like (org :type git :host github :repo "bzg/org-mode" :ref "b3da427") (setq org-agenda-files '("/home/.../test.org")) ) #+end_src In test.org : #+begin_example * TODO S=C3=A9ance SCHEDULED: [2023-10-10 Tue] #+end_example And... that's it! I hope this is not too troublesome a bug to resolve ^^ Thank you for your response! --0000000000009cbdcc06075e2c64 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello!

I just encountered a strange bug (maybe) in = org-mode, starting from version 9.6. I don't quite understand why, but = it happens when I display the agenda (to be precise: M-x org-agenda a).
=
This only happens (from the causes I found) when there is: SCHEDULED wi= th inactive timestamp without a parent heading. This triggers the following= error for me:

Search failed: "\<SCHEDULED: *<\([^>]+\= )>"

My version of emacs : GNU Emacs 28.1 (build 1, x86_64-pc= -linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2022-05-31
Where it doesn't bug:
Org mode version 9.5.5 (9.5.5-n/a-g8ef620)And older versions.

Where it bugs:
Org mode version 9.6 (9.6-n/= a-gb3da4)
And newer versions.

Configuration (I use elpaca to quic= kly install packages, I've included the installation even though it may= not be necessary):

#+begin_src emacs-lisp

=C2=A0 ;;installat= ion d'elpaca
=C2=A0 ;; ---------------------
=C2=A0 (defvar elpac= a-installer-version 0.4)
=C2=A0 (defvar elpaca-directory (expand-file-na= me "elpaca/" user-emacs-directory))
=C2=A0 (defvar elpaca-buil= ds-directory (expand-file-name "builds/" elpaca-directory))
= =C2=A0 (defvar elpaca-repos-directory (expand-file-name "repos/" = elpaca-directory))
=C2=A0 (defvar elpaca-order '(elpaca :repo "= https://github.com/prog= folio/elpaca.git"
:ref nil
:files (:defaults (:exclu= de "extensions"))
:build (:not elpaca--activate-package)))=
=C2=A0 (let* ((repo =C2=A0(expand-file-name "elpaca/" elpaca-= repos-directory))
(build (expand-file-name "elpaca/" elpaca-= builds-directory))
(order (cdr elpaca-order))
(default-directory = repo))
=C2=A0 =C2=A0 (add-to-list 'load-path (if (file-exists-p buil= d) build repo))
=C2=A0 =C2=A0 (unless (file-exists-p repo)
=C2=A0 =C2= =A0 =C2=A0 (make-directory repo t)
=C2=A0 =C2=A0 =C2=A0 (when (< emac= s-major-version 28) (require 'subr-x))
=C2=A0 =C2=A0 =C2=A0 (conditi= on-case-unless-debug err
=C2=A0(if-let ((buffer (pop-to-buffer-same-wi= ndow "*elpaca-bootstrap*"))
=C2=A0 ((zerop (call-process &q= uot;git" nil buffer t "clone"
(plist-get order :rep= o) repo)))
=C2=A0 ((zerop (call-process "git" nil buffer t = "checkout"
(or (plist-get order :ref) "--"))))=
=C2=A0 (emacs (concat invocation-directory invocation-name))
= =C2=A0 ((zerop (call-process emacs nil buffer nil "-Q" "-L&q= uot; "." "--batch"
"--eval" "(b= yte-recompile-directory \".\" 0 'force)")))
=C2=A0= ((require 'elpaca))
=C2=A0 ((elpaca-generate-autoloads "elp= aca" repo)))
=C2=A0 =C2=A0 =C2=A0(kill-buffer buffer)
=C2=A0= =C2=A0(error "%s" (with-current-buffer buffer (buffer-string))))=
((error) (warn "%s" err) (delete-directory repo 'recursi= ve))))
=C2=A0 =C2=A0 (unless (require 'elpaca-autoloads nil t)
= =C2=A0 =C2=A0 =C2=A0 (require 'elpaca)
=C2=A0 =C2=A0 =C2=A0 (elpaca-= generate-autoloads "elpaca" repo)
=C2=A0 =C2=A0 =C2=A0 ;; (loa= d "./elpaca-autoloads.el") ;; ne marche pas pour termux
=C2=A0= =C2=A0 =C2=A0 (load (expand-file-name "elpaca-autoloads.el" repo= ))
=C2=A0 =C2=A0 =C2=A0 ))

=C2=A0 (add-hook 'after-init-hook = #'elpaca-process-queues)
=C2=A0 (elpaca `(,@elpaca-order))
=C2=A0= (elpaca-wait)
=C2=A0 ;; ---------------------

=C2=A0 (elpaca ;; or the version you like
=C2=A0 =C2=A0 =C2=A0 (org :type git :host g= ithub :repo "bzg/org-mode" :ref "b3da427")
=C2=A0 = =C2=A0 (setq org-agenda-files '("/home/.../test.org"))
=C2=A0 =C2=A0 )

#+end_src

In test.org :

#+begin_example
* TODO S= =C3=A9ance
SCHEDULED: [2023-10-10 Tue]
#+end_example

And... th= at's it!
I hope this is not too troublesome a bug to resolve ^^
<= br>Thank you for your response!
--0000000000009cbdcc06075e2c64--