From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UMEvFCXaFWMhzQAAbAwnHQ (envelope-from ) for ; Mon, 05 Sep 2022 13:14:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id wLF6EyXaFWMnTwEAG6o9tA (envelope-from ) for ; Mon, 05 Sep 2022 13:14:45 +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 EDE8335F3A for ; Mon, 5 Sep 2022 13:14:44 +0200 (CEST) Received: from localhost ([::1]:35716 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVA3w-0008K7-1h for larch@yhetil.org; Mon, 05 Sep 2022 07:14:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41104) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oV9jr-0003Tk-If for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 06:53:59 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:45761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oV9jp-0002G2-Pg for emacs-orgmode@gnu.org; Mon, 05 Sep 2022 06:53:59 -0400 Received: by mail-pj1-x1032.google.com with SMTP id p1-20020a17090a2d8100b0020040a3f75eso3369037pjd.4 for ; Mon, 05 Sep 2022 03:53:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=O5Aq6aavj2LYaQo+3rEdcAVpSQV8XQjO4C8bBDCOHbY=; b=lOa4ugWSlLBqgKmdH5AHzDMG/Ba1bfCTdg4wdltnVqFn8rjYXVtxqGM+iLUHI1xEe3 +PoELITA+l+vGMYragF4vSikaJ2bLkIqJ+JXIXrYQBveBQ+UcJxo7Wzt9jFtfUkVWAMY HQ8qRN5TJJUMpKkOGr4AZymuAEih08F1JyhHNfdq705jbuAz7EnPRu/6EHZ68gakPOOK 5WgqRDW+F/iFegu7F2jxGoAJXYlcTBUYO/VukvjXZITWB+ezs90IJMsB3DUndMo1ML2B Udl0p7FGwkZhWo3Hmm0z8TYMvuJ5K5zGn4yzUCq4bBIdxkP5dWPhW2sk6TmaiSuWkRNc vAVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=O5Aq6aavj2LYaQo+3rEdcAVpSQV8XQjO4C8bBDCOHbY=; b=dLxtlopZb3lQvAUXakW8Zib1mq/7AlBA1FmVmZRkgPiwFYxURcdhSFheDDuaTBdqqT 1/TGuDPk3vI7DsNO9K9KhwWMW6qd/WOvG78+2WajFnMg80MLI78Xexv59iFnNI4/wWHN WeKm5zJHQDbmCrYcJFPjMpK+Q6mVaFTkjSa8O/krIPxzpnp4M1fgt0I2jJTP1zXLtWV1 VmC14L4lDlGEh11ibF3+bn0D2qbb/+AREfVNizrLh4Lwf5uvHWBm4AxPTOp5V0FE14Li 6WvLBd/2UDVW6Yl2ey4ArNZgouXY7QsRfjOqatzioRmaOmHYyP2bbKzgWc2a44AuL7o6 f5ww== X-Gm-Message-State: ACgBeo0UweXwaw1TNc2T/aBPHnDFp6UKahOjTiEl38jGAZQvJHWJ5/1Y MdXwemrIsteb2cDV9O+EwE4zP+2gbCU= X-Google-Smtp-Source: AA6agR6u62sXK29GMaEcs+pVtKOfEpDqBZ79r6azQNjhK2prQjPmoTLnQ3TWdH7C+DNJTTupN1Z6tw== X-Received: by 2002:a17:902:7602:b0:172:a064:4a2f with SMTP id k2-20020a170902760200b00172a0644a2fmr47365513pll.56.1662375236251; Mon, 05 Sep 2022 03:53:56 -0700 (PDT) Received: from localhost ([2409:8a70:2b2:5800:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id c187-20020a624ec4000000b0053627e0e860sm7431085pfb.27.2022.09.05.03.53.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Sep 2022 03:53:55 -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> <87pmgaw1vt.fsf@localhost> Date: Mon, 05 Sep 2022 18:54:53 +0800 Message-ID: <87k06iw0oy.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1032.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=1662376485; 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=O5Aq6aavj2LYaQo+3rEdcAVpSQV8XQjO4C8bBDCOHbY=; b=JYYFkspak0W70gy+ESTKbViyk/YOalP3PVJ7dsMPaZ9y7ORRVW6c+dd3kkZ2diHWXg3N67 J6Be/q0o2csHfhkL7P8AZKd7GwTveWWdMZK4/OnvC8Ufbxagw1Wq5or+Vccdf9KNKacN0l tGup7/TWzx4x9VdAo2vEIrr1nU5Lm0MNWnkRKcd8fvom6GNDaOf48vk50xG7SSFsj2aHTb A4y6dLKWaUViA4udU5DpEisvPOwqdq4k+GKb+x61t0CqXZAJwurJdRPm8CTE1TSjDkvvDB a4uxMnMmQvtEykjTMfdY789WTMFN9m6h3IMiFAr4JnCIJPJi+MGCIJ+cjs1/EA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662376485; a=rsa-sha256; cv=none; b=JdN831Es2BFtZcBl10NEWfriI1ugOQ1D/AXVjEDpqoddzmGVNfCD4qRpKJuzIHspv5qemm BWOazlWS5ZUmZ1q5D1/hGK0pdXN/HyzN6oIFKIYZALVyAovbWuIjjLdgfsFY/HRmUfVIhZ tLIKMEPQCT4CxhQIfvE2+U0vbbp0QGjUs8bA8NVEufu0jzcYX6GCjVnSqxiApyNqZbDDgW 7Pc9X7HKWzRK/7NaLpmUsdNA488Xnfj0H5Zad3O55pGN2pzL6j6pyxHHRdSYoEBg/XIRkX v3FRuDPWn+kyHiRz4SeQ83At0FCX5WG8TVxGbKSNXhPKaa64Mk9b3yUKOL0ROA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lOa4ugWS; 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=lOa4ugWS; 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: EDE8335F3A X-Spam-Score: -1.77 X-Migadu-Scanner: scn1.migadu.com X-TUID: wv6Rl4SEFTrZ Marcel Lauhoff writes: >> 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=eeb4fa8c09e6e21b86bec51328e53b4adf662945 > > I think it should be > > " *\\(" (regexp-opt org-todo-keywords-1 t) "\\)?" > > 1. Without the 3rd argument regexp-opt generates a non-capturing group. 'word generates a capturing group. > 2. With the additional space in " \\" I'm no longer able to match any todo in my org files. Yeah. I indeed missed the match group change. Your variant, however, will match things like * TODObut not really Can you try again with the latest main? -- 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