From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iIXnAPfYFWNCfAEAbAwnHQ (envelope-from ) for ; Mon, 05 Sep 2022 13:09:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0PfSAPfYFWP1TwAAauVa8A (envelope-from ) for ; Mon, 05 Sep 2022 13:09:43 +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 AF1A01D25E for ; Mon, 5 Sep 2022 13:09:42 +0200 (CEST) Received: from localhost ([::1]:46694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oV9z3-00014D-Fg for larch@yhetil.org; Mon, 05 Sep 2022 07:09:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV9L1-0005B5-Rl for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 06:28:22 -0400 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]:37431) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV9Ky-0006f6-PI for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 06:28:18 -0400 Received: by mail-pj1-x1036.google.com with SMTP id o2-20020a17090a9f8200b0020025a22208so4555275pjp.2 for ; Mon, 05 Sep 2022 03:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=0fzFeY8T7U63X0/En8s1VpIVxcst/krqY7RfKog6Yak=; b=dZH4fa32W8q7vHVuLZmESmSEOl9fCE+0XVnjCnkH2LLJu8/ZU6W8rREud7LmXVhlPA /jzQZ4Is06m89mDyFV6wqJ74OGCYuj46vkGcQ0y56dRHqV0bJNJGcJMIm8/xC4AYqj8J gT7M/fWbIgb6KJ9zggxNT53gdbhtEJbC6UZwPEpmnsvZoytEi4gNMg2AtPEgEux+RcC/ rhy7Z4pWKnEV/NG6WBV0bv4JsqI4oEBco3Ft2/XUQob3tcg+LuDgOkZS5mHeCGOzEwtR WMfvD2LeLU4D37GFZrKGTYHY99lbm5hGzveZRHJJnrsVvMh4QqcohOckq9Cw/kts9RsL 11CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=0fzFeY8T7U63X0/En8s1VpIVxcst/krqY7RfKog6Yak=; b=OKA1Y+6EwwLXO+GRtFBK65izwGhXMpWjFJPuz2PYUEbVcwp3s48RSFD7rnptkO4lxY a8Wu3sws9VbpIyeZv4SaLLxOuh+5I/kPIHb/Yjr9I0tlggx42B5biEyiWBnqQ9rLBu6t QL1OGznib4w2icbh/B9XxA1K3nSZIkT8TjW3F3Bkn9Dx02d+BAn3T+KbLzGokv07cPJ2 JHhgmTfC975/N496i6kIlnh4bxVfE0XlaP2uYOz3f4WsqfQo16N3G5auf/G5VQWLkkoN FdTVLRA/6599dZd34YCqbjs9/skPThqCxoCB7l714lxorqzKjleL1pTVJhGanQw4Pt37 71uA== X-Gm-Message-State: ACgBeo3Y5KOPcuVxIvGxaJo+YPenpfxp/Oekm53VODb7+z4CWtEQewgb RAyzVmU21CzVqukjCkv03O+VahdYmOp0Mw== X-Google-Smtp-Source: AA6agR4ssFZjYj16/9xBP0C34vBGoE+x6UuYATtZKafddnOejyxNVYQ7Oab5/cf01mYzFMCGyn5qMw== X-Received: by 2002:a17:90a:7642:b0:200:4a5e:1227 with SMTP id s2-20020a17090a764200b002004a5e1227mr6933363pjl.91.1662373694216; Mon, 05 Sep 2022 03:28:14 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id n13-20020a170902d2cd00b00172f4835f60sm2769019plc.189.2022.09.05.03.28.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 03:28:13 -0700 (PDT) From: Ihor Radchenko To: Marcel Lauhoff Cc: emacs-orgmode@gnu.org Subject: Re: Unicode TODO keyword issues in agenda search leading to org-scan-tags regex In-Reply-To: References: <87r10s98od.fsf@localhost> Date: Mon, 05 Sep 2022 18:29:10 +0800 Message-ID: <87pmgaw1vt.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1036; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1036.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662376182; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0fzFeY8T7U63X0/En8s1VpIVxcst/krqY7RfKog6Yak=; b=X3wAHEOO9oD1RoL/zgvjLAnS5wDryh8f1lGEgekqugg9H5HgvE7q/3ievBfEDTjoz3qL6/ 1yHvaCrEhc1mvfClMKt55SsHtK5LutEroqeuUsi4dNY7UeAkHjdQ04RMHroGBDIvpUjzv/ CFyosw4+0jqBDc6stc1gVWb4L9TqbRJEEZdqdzrUNTWqABxzb7ptIXqGTx2Deysp3wlajJ 9l8WkIGKiuluBV6DOOTHjQZuPDtsDQ4ol8zFrgWAGr3HePBZRC84RyWe70qpOSIXusV6vT iCTXBJ9fsSZD6vXpcoTpCOK8MQDMYojt9/796HplX5lpKy3+x3i8uklK7TPIUw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662376182; a=rsa-sha256; cv=none; b=CoX7ZKhFf1DqHlekF9Ir+S8iOPjwcohJm6ujMFyIFSTTq5NrhA2mHDxWFK8U0n7WLnWzht 5JzaDhQ8k2uUpDLPYbdmyDKvw5KyJd3bG36ptgXQjw7npLHukUUX8Rz89r++Pzu4d/SbiH X+3Uu6JfV2UwWAYdaOIk1gk0OkRx3liWGCq5IkKKLuQYsQOemF9Wv43wXLwu4vDDW4sF1l VVPk6VNbHj5Dsds+/L8ozJQ68BxtrrXkwT7krgYsAHfKgMknxedAdQsUE1ViUBtcltdKBi rLxL4KLawacCkDCpz7dAxh7xuVVM5fWk/Zyy+djBIAFZJCyiswbeHkeRBsKuTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dZH4fa32; 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" X-Migadu-Spam-Score: -1.77 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=dZH4fa32; 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" X-Migadu-Queue-Id: AF1A01D25E X-Spam-Score: -1.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: yMmdmiGBp9A2 Marcel Lauhoff writes: >> Thanks for reporting! >> Fixed on main via a1c923afd. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Da1c923= afda22089cbf14c7b7a175cee10bfd297b > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 - " *\\(" (regexp-opt org-todo-keywords-1 'words) "\\)?" > =E2=94=82 + " *\\(" (regexp-opt org-todo-keywords-1 'words) " \\)?" > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > That change doesn't seem to work for me, but maybe I'm holding it wrong o= r missed a follow up commit. Oops. You are indeed right. I forgot to remove the 'words argument. Now fixed (hopefully). https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3Deeb4fa8c0= 9e6e21b86bec51328e53b4adf662945 > The following snippet tries some regex variations matched to one of `("TO= DO" "=E2=89=A3" "TODO " "=E2=89=A3 ")'. a1c923afd does seem to require a sp= ace after the keyword now: Org requires a space after TODO-keyword in headlines. TODO-keywords themselves do not need to have space. Note that your test is artificial - todo matching is done on headlines, not on arbitrary strings. --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92