From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kCDoOQNYMmGhdgEAgWs5BA (envelope-from ) for ; Fri, 03 Sep 2021 19:14:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +LmzNQNYMmEHOAAAB5/wlQ (envelope-from ) for ; Fri, 03 Sep 2021 17:14:43 +0000 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 54ECF56C7 for ; Fri, 3 Sep 2021 19:14:43 +0200 (CEST) Received: from localhost ([::1]:37558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mMCm2-0004Ok-Dm for larch@yhetil.org; Fri, 03 Sep 2021 13:14:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45852) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mMCkC-00035w-Ap for emacs-orgmode@gnu.org; Fri, 03 Sep 2021 13:12:48 -0400 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:37498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mMCk9-0006i9-Pe for emacs-orgmode@gnu.org; Fri, 03 Sep 2021 13:12:47 -0400 Received: by mail-qk1-x72e.google.com with SMTP id w78so6497578qkb.4 for ; Fri, 03 Sep 2021 10:12:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=cO6Yyi3E9JJhKDGCdOH+E7QGlZJKz9McDFdEe9bpB/Q=; b=e//lrcUpykYUzQnd6w6QW9aMCrPDAIwX2bTQO9nBo3J88iFEYFdHeTFgkBySfgTAHK iJU55kGH4fDQf0onuBrd8IrXCizOQviowifLXXH9Ygn8D+Fd6qA0vnp4Dko3ubsD7Nxf T8l3Yq0abkTERumWtgi1qJ/NN5HLuxqGQr6TKKjvyx0hCTZapBjvX6srNcLD8zLxuSXG 6Xf0pB8Jwf3zxNWFSX7gV1r/26kgfjwlemPhIW+fkvyXJijOyo1KK+wCsBAzeiX1ndAt xDzR3YqER7PMQ/Gi56vQErSuKGeAakf8nkuwv2g0YD6iTL0EIRmnTmVnLwmIJ9zCot1P FySQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=cO6Yyi3E9JJhKDGCdOH+E7QGlZJKz9McDFdEe9bpB/Q=; b=AWAVgMd27GO1rdcTsKrnci+A55y+GgyyG9d1ddiGlj75FDC7zuGijLdYtEs334hO3G WnHZhiS1M0XoW3k9gybW1wS+heZOxVwj4tc9ny6pwFrlEh+pvCmKalghkeQab2Eh+aAY m0TBIfTMyZglmD/Be0pbQ/KmU3jNANFPYNTuHhMzT6QbZV9iKnVaN0kXjLViEKDnYZaR aCLs8/t5uyALmL3Vu7iHhgAnZOInX+BWj6PeDtDLQK9f3XCcuhBk0fTs+CMymNrrsyrv wMbXj1xXSLGwtJqJ7g9/z0Y/a36gv2S48pw0GTSC9AciM3G5tv2EvUQ+UvLZp17f/XSJ 3GBQ== X-Gm-Message-State: AOAM5311sR566IZcBORTN/bCWzzYmBDDZu1YD0dCFoc/6TN6GkvPOgW7 1z6UtgMpDEnFLuZYydRz0EStN4Ez424= X-Google-Smtp-Source: ABdhPJx1/gJujos2HN88YG8HXEsqZlcZdDYskIBkU9OA79qMz3VALG3hKTjLNV2ImhPlaelPwuGPIA== X-Received: by 2002:a05:620a:1307:: with SMTP id o7mr4274206qkj.437.1630689164173; Fri, 03 Sep 2021 10:12:44 -0700 (PDT) Received: from nbook ([2601:82:c200:166d:2866:4a5e:aa1f:64c5]) by smtp.gmail.com with ESMTPSA id q192sm4183719qka.93.2021.09.03.10.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 10:12:43 -0700 (PDT) References: <87a6l4b0bx.fsf@gmail.com> <87eea9q5hc.fsf@gmail.com> <878s0ejtue.fsf@gmail.com> <87y28em88y.fsf@gmail.com> User-agent: mu4e 1.6.4; emacs 28.0.50 From: No Wayman To: Timothy Subject: Re: [BUG] [BUG] inconsistent behavior when reading multiple tags [9.4.6 (9.4.6-g366444 @ /home/n/.emacs.d/straight/build/org/)] Date: Fri, 03 Sep 2021 13:00:37 -0400 In-reply-to: <87y28em88y.fsf@gmail.com> Message-ID: <875yvhy44v.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::72e; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x72e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630689283; 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=cO6Yyi3E9JJhKDGCdOH+E7QGlZJKz9McDFdEe9bpB/Q=; b=uOyopwk2hVCBG9EUqrekeGIEDrACf7dlSPkchyxaVjnTIfRlq5zPZRkeIHrGd6KxUkd2M/ cwhkmVWJm3yrY5u61uG2tMQ2luJSfvzkPQmK7iUxNP6AQT3g8zyJY3IqwEKZRT/o5BJwap cP83EOcEklgjcT0nNfqysvUvqfyqY6FXSThMa2MqE/SN9FK8vkMyUXFtMwtyZVZNG+Y7de hm8X7bk9xfFpD1Q7uNCVE0+X5D4gSquB0H5PC5UVq+0tS1ymrCQSU3iU3aS/cuP/4wxEYx 9kG4Jzg8sguAislRpo+U/pLO+iHbppAh0qdUPuIS7xfUZxjEfhiOE4R0MdGWbw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630689283; a=rsa-sha256; cv=none; b=Qnzx8upsmaCgJFIoI+X3ZPVU7Srz5Cs3HH0N3cD4s4lcC6mI81bWTJiaKjrbvkK4JTg9CR Dze7xq0J+JSCc6G553R8QdHSpQxO9u27R1DKEXQuVghaKSnMRfiYK7JGrCqELENxFilKGy 3ads/xFrmhoSdnXT64sZpO1y25RmefwHF0UBIU/kWafWbRn+G07ZGu7kCpdrX5Vr691eOI 9QPqRe37olSSLUfq3podO+QrU8Bd8aGPI02imxcUdVNGpli5SJDRYUd0bP9WB2Qg5pphSE qd0Y5uDZ3wOUnHVJBTBmNbYE8pyxUvC8aTEBlGoIxnraJh1s7eS7pr4iavXI1Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="e//lrcUp"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="e//lrcUp"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 54ECF56C7 X-Spam-Score: -3.12 X-Migadu-Scanner: scn1.migadu.com X-TUID: pw8U0lsoJl8B Timothy writes: > Ah, right =E2=80=94 that looks sensible. I think we should probably note= =20 > that in a > comment somewhere, Yes, a comment is warranted. I'll address minor issues like this once a solution is agreed=20 upon. > or perhaps construct the regexp with `rx' so it=E2=80=99s actually using= =20 > `org-tag-re'? Unfortunately I don't think it's that simple. They are very similar regexps, but I don't think we can just plug=20 `org-tag-re' into an rx form and have it work. A direct comparison: org-tag-re =3D> "[[:alnum:]_@#%]+" org-tag-crm-separator =3D> "[^[:alnum:]_@#%]" This is brittle, but we could define `org-tag-crm-separator' in=20 terms of `org-tag-re' like so: (defvar org-tag-crm-separator (concat "[^" (substring org-tag-re 1=20 -1))))