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 wMDyCVODMWG8dAEAgWs5BA (envelope-from ) for ; Fri, 03 Sep 2021 04:07:15 +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 3hHGBVODMWGRRgAAB5/wlQ (envelope-from ) for ; Fri, 03 Sep 2021 02:07:15 +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 7B8DA15F1E for ; Fri, 3 Sep 2021 04:07:14 +0200 (CEST) Received: from localhost ([::1]:56442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLybp-00088Z-FW for larch@yhetil.org; Thu, 02 Sep 2021 22:07:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLybD-00088R-Kx for emacs-orgmode@gnu.org; Thu, 02 Sep 2021 22:06:35 -0400 Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]:42656) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLybC-00028B-2K for emacs-orgmode@gnu.org; Thu, 02 Sep 2021 22:06:35 -0400 Received: by mail-qk1-x732.google.com with SMTP id t4so4385537qkb.9 for ; Thu, 02 Sep 2021 19:06:30 -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=swLLHrK8YRLsW2yWEhKIX3yq82xntJQvsk+7dE/+zqI=; b=nk9URc3FgOsZc3rUrKv1Vy1BjkniaS73rq1jTgCowKugNaryv0QIeemOrSU7pshTEM GFxiJ4hjwCqf2IcMn+P0J5r+sLslCQCjgtxdeDmoREIZ7wzPq/9jD/+GNGOKyag4+1JK YrK3XSBm/fFM5Eb8aWoih6V+eS+/i5J0z62rM7lQ5O+v7WEN5EhgXq5UyQXAuwU7DG51 xGPkmCepcrYbZyjFivhCN2dxPZt910pxRgux5B9P6cVmP+XIeKIgzH6AB9MwjDlRNega ZlQ+5ZWaeeUi651Z2Gi6Kz/pOD5WlRdvAI/3dcxtnco5LaN1I1+j6zK67N7QG+tl+ddu nzfA== 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=swLLHrK8YRLsW2yWEhKIX3yq82xntJQvsk+7dE/+zqI=; b=HoVGolgcj6G4y3ZOm0CDNCIaBnxtyz8Lb3ncgsgfK41DeZfgNPPb89iDIIevDDPe64 VTE+ZTzQZzKQsT44iDHRf076XM1Nqq99BU5gV/oPZ+bvcwRHu5Jgri2bTY4DKhxaGUu7 0gZSPyc3T8iQLx535SifHOJQLs753a2dBIjR1m2Roa6mCiUY055mB2qErxz5qOkm43xa CShL5qqNuymc3M1UnwMQUXR2yrzWZKjR4Fc0WjlY8WIdHrY/q9JwvNvyXJgPydZc5FLL QOsbuRi0ERnNXPR+vfV6FGUT4QdWnOW5UzcmxQMe0SyzY03jUQdUOgYNuXiGst43pFLX SP2Q== X-Gm-Message-State: AOAM532/Z85Av6WTwg+QuBGUtmA/AkHYNcQFVamdXI5EUV5I9UZCVjx1 kz82KIuPDJc0Ulx6pA1ApNmWr9GWv4U= X-Google-Smtp-Source: ABdhPJwh2CiKwM+qtEueNidm/kXyhpUwzXgNAzuxN+SnJX5TxrmpoHwvJU12t6adc9duEin+EcWy4A== X-Received: by 2002:a05:620a:13cb:: with SMTP id g11mr1221100qkl.332.1630634789733; Thu, 02 Sep 2021 19:06:29 -0700 (PDT) Received: from nbook ([2601:82:c200:166d:2866:4a5e:aa1f:64c5]) by smtp.gmail.com with ESMTPSA id w19sm2718919qki.21.2021.09.02.19.06.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Sep 2021 19:06:29 -0700 (PDT) References: <87a6l4b0bx.fsf@gmail.com> <87eea9q5hc.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: Thu, 02 Sep 2021 22:05:21 -0400 In-reply-to: <87eea9q5hc.fsf@gmail.com> Message-ID: <878s0ejtue.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::732; envelope-from=iarchivedmywholelife@gmail.com; helo=mail-qk1-x732.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=1630634834; 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=swLLHrK8YRLsW2yWEhKIX3yq82xntJQvsk+7dE/+zqI=; b=PXLGHR9uNCuLFRBPp50sz9E2ZQqw+S0CvpUJJbygKhd8CQpqBQsIkkylULmCAP4OiG4Rkh 2s1/LJjhmg30//GCTNegs6t9zh32Y1mdmD1dzun5xPgQIcCIUQParfE81QiJqj52sktgHG BIegfHWCnxY02q8UWpHeUfJFeOU1C7m/2VOux0tcilyWfPXeEnSzAh8cmKJsXa+QS7FMgd KRlW40OyK4E6RI/yEchRzsfJZMsQMAKwka7l9GAhjjv+UNozo/qYtSjvLKmQat3Ex+lFwj Nq1iLy1gQeFXHyMpGJDAEYZLXRHSg+0JCQ6KSIozh6Hi4CdHgrtHuSxAOBaxEg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630634834; a=rsa-sha256; cv=none; b=II8B5GP1W36cjGFMRNb6eelnaYFtfChpGCfOpEL4l4inl/QGZarfVFT/J7gcgd74dF9Bqi PiTR6x9FxH5+WCWzLzkC9Ea+HkifkCKp+FIpIZm3tgCiq89jgzi2gWpQX3P4aixAtV+5Dv Q3ENRxZQv6WRds/zvkOkIX4BDxctL/GxWRLFiVtkcpcSY+Wv90YlIh1aZoIB8Jbz2WBa5C ORpjEx+SFNyyLSLubTHMomdo8297/WqeA+3pq8rBBPVpbzbrdiBcdIbKk99hK6HVXUSwlq m5WT/XWz2pJd9SQDt6a5lBrh/QOQ431YTP8HnQSWvxKWaMjEPwiHwU7QTTDILw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nk9URc3F; 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: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=nk9URc3F; 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: 7B8DA15F1E X-Spam-Score: -1.62 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6NS/EVlpeOmw Timothy writes: > Hi NoWayman, > > Thanks for your suggestion. At a glance it looks reasonable to=20 > me, but would you > be able to explain the default value you=E2=80=99ve set? It isn=E2=80=99t= =20 > obvious to me how you > arrived at `"[ \t]*[^[:alnum:]_@#%][ \t]*"'. Also, do you think=20 > a > one-size-fits-all solution is a good fit here? I don=E2=80=99t do much=20 > with tags > personally, so I=E2=80=99m probably not the best person to judge. > >> (defconst org-tag-crm-separator =E2=80=9C[ ]*[^[:alnum:]_@#%][ ]*=E2=80= =9D >> =E2=80=9CRegexp used to determine `crm-separator=E2=80=99 when reading= =20 >> multiple tags.=E2=80=9D) > > All the best, > Timothy I was aiming for the inverse of `org-tag-re' which is: "[[:alnum:]_@#%]+" The idea being we treat any character which is not a valid tag=20 character as the crm separator.