From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QMRSDTMDCmJfZAAAgWs5BA (envelope-from ) for ; Mon, 14 Feb 2022 08:22:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AL7ICjMDCmKrZAAA9RJhRA (envelope-from ) for ; Mon, 14 Feb 2022 08:22:27 +0100 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 D565437B88 for ; Mon, 14 Feb 2022 08:22:26 +0100 (CET) Received: from localhost ([::1]:42302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJVgn-0007go-LS for larch@yhetil.org; Mon, 14 Feb 2022 02:22:25 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJVel-0007dg-Gk for emacs-orgmode@gnu.org; Mon, 14 Feb 2022 02:20:20 -0500 Received: from [2a00:1450:4864:20::430] (port=43615 helo=mail-wr1-x430.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJVec-0004PR-Q9 for emacs-orgmode@gnu.org; Mon, 14 Feb 2022 02:20:12 -0500 Received: by mail-wr1-x430.google.com with SMTP id i14so25190667wrc.10 for ; Sun, 13 Feb 2022 23:20:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=P48bKgq1n0FD6kPxjtdF8kulnC6eYcq1e2Uvy5ZmXr4=; b=k2QZ9KJJ9TSdKYYbBSW8A08q648FQXq9MDOjslB9DhBj/FBnvWOREaIpDZ565uZzXi IKiorK3A5B3f76VQetjbwdFQCiuzWC27RxegpeMEj9gKUnB1ljQFLh1XIU9IO+IYoUPi EIw7fNNMynKTgdiElyrEB+Jo4OtC6xN+/fjKKMsjZGaDhU3lwrUqDpvx6E0o/mTyUH3j e3ELAQjmPhzd7pYH6emajrCZnmJH3/n+AT8Jqgqx8PqUvm0QEXM7AwHdQI6nPMimCris sXgjAZixkwHWnhDLSbXMXe/P8hqQ18XIvw4ub8rndV0l+FdAMzq/aTvXMH3fGQ97Zfl8 YyKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=P48bKgq1n0FD6kPxjtdF8kulnC6eYcq1e2Uvy5ZmXr4=; b=0fEK0PnZx7oHHjCN3wWLupUR+bfFXaOUGUIxZIC+VoNyGOL0Ulu8eVHxBQYT2sTM7l s6vnv67MTOKGgndmEqDL5O2xzFtkBkfMCz4oJGv8C382/2wgRbclCURnCpjma8gF700H o72zeMsgLPnUfCD+TrLW9CcCR2aNahc4vYkTjSzAPvW1NiJ9nKcNfcvylm4k9GHfJQe/ 89Qy8YRdTgqUY0QRfup5wbkY9pYzeRczKg+q0+F3qcbMizMqk6+GecS13LSknEB6n3kc /DJU8cLmBjIR+lCkd9lWZsmsjloeZ1IYM3LDdF9Lrb6QbsidHItEqLi8XJrt9reP2bA7 DFNg== X-Gm-Message-State: AOAM530uz9cObP90Zzc+XFDvl/Dn+DJp3Cj1aN+UpBgGIcLsN1rhGA0k h7Ohz5qjm0xwRR0oACgPEENxmij+WCW0YiMtDwdbuqUOmjM= X-Google-Smtp-Source: ABdhPJyoWg55zCHNs3XOcj7jYTpo/HqhaukPitPQ3JTvHYAkLepVSxUEUR0yeDFLOtLkiV7Rgg1P6D+KEHsV7CaT6j0= X-Received: by 2002:adf:ee46:: with SMTP id w6mr9810505wro.424.1644823202149; Sun, 13 Feb 2022 23:20:02 -0800 (PST) MIME-Version: 1.0 From: "Daniel J. Sinder" Date: Sun, 13 Feb 2022 23:19:50 -0800 Message-ID: Subject: Dynamic block match fails on checkbox columns To: emacs-orgmode Content-Type: multipart/alternative; boundary="000000000000aeba7e05d7f53e8b" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::430 (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::430; envelope-from=djsinder@gmail.com; helo=mail-wr1-x430.google.com X-Spam_score_int: -4 X-Spam_score: -0.5 X-Spam_bar: / X-Spam_report: (-0.5 / 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, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.785, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644823346; 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=P48bKgq1n0FD6kPxjtdF8kulnC6eYcq1e2Uvy5ZmXr4=; b=DpPAzPw5tVmGHpG6XKX6kso9MriFIZiYmWeJ1w+DWndFOKIReIbuIIV7CtOMck1aSbBIAQ f62u8vJ1oHcpQz0uyXb3D4rwN96wxgpk6TDzorLbG2YCE1LgjLOUJvBVN/XVpK6ccCk0p1 3Op1c1IAMiuxlgOi/EdRawmJZpDnQ28Y3Jc7UEmFKhqyup7sOnSfmeDwts/qqBbe1EYAY6 gQEasTny6C1KgjlDPjmBhSee+TNNIWO40/00vFOQ8uD4+MCiJHvQx3ajL4acEujEyhheWl /P3oac1TwqM2ucOJRCiVOfufX/6o/3GF/oBYHncC0RLzvE2RJVUaCgRb5NGxiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644823346; a=rsa-sha256; cv=none; b=G3GVQi8vWv6oBAtciUeQ+zfnIxlGVGj3yCsimlAv4jPLAqtbG+FSyphrfKs+qnoQ/rbk1V sq7YVMDbqToUA19blJrx8N1qa10dT5KTHrYIHfSYxvzLk6t63F0bqhBSZMLbHufJx6cI/i Q8EL1SIjk6vnJlLUVTqEniDDr+4bOo37ZgBTVP2FoKowCqAj9gekWWymwhmil4krRfiXDn 1EiLLoH1f9oZVxZJ3qD7GO6WEfgwgi6Bf15szMAgPBQmocgBpulK1sSmkC+SgrPfZLPAYi oMkyzuGEp6YWvofDivahGP8qUfAo1SQHfr4JASv7t6AU7eC6e4IbNpCyucPB+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k2QZ9KJJ; 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: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=k2QZ9KJJ; 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: D565437B88 X-Spam-Score: -4.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: j284JRTz3FMa --000000000000aeba7e05d7f53e8b Content-Type: text/plain; charset="UTF-8" I'm trying to use a dynamic block with :match to filter columnview for a checkbox column. However, the match is failing. Based on some variations that do work (described below the example), it seems the closing square bracket may be the problem. Here's a minimal example: * Things :PROPERTIES: :COLUMNS: %20ITEM %CHKBOX{X/} :ID: Things :CHKBOX_ALL: "[ ]" "[X]" :END: *** One Thing :PROPERTIES: :CHKBOX: [X] :END: *** Another Thing :PROPERTIES: :CHKBOX: [ ] :END: * Dynamic Block #+BEGIN: columnview :id Things :match "CHKBOX=\"[X]\"" | ITEM | CHKBOX | |------+--------| #+END: If I use curly braces for CHKBOX_ALL (i.e., "{ }" "{X}") instead of square braces, it works fine (of course, I have to also use :match "CHKBOX=\"{X}\""). But then the SUMMARY-TYPE in the COLUMNS definition doesn't work. The match (but not the summary) also works if I remove just the *closing *square bracket from the CHKBOX properties and the :match string. FWIW, the match also fails for the case of searching for unchecked items (i.e., :match "CHKBOX=\"[ ]\""). Emacs version: 27.2 Org version: 9.4.4 Dan --000000000000aeba7e05d7f53e8b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I'm trying to use a dynamic block with :match to filte= r columnview for a checkbox column.=C2=A0 However, the match is failing.=C2=A0 =C2=A0Based on some variations that do= work (described below the example), it seems the closing square bracket ma= y be the problem.

Here's a minimal example:
* Things
=C2=A0 :PROPERTIES:
=C2=A0 :COLUM= NS: =C2=A0%20ITEM %CHKBOX{X/}
=C2=A0 :ID: =C2=A0 =C2=A0 =C2=A0 Things=C2=A0 :CHKBOX_ALL: "[ ]" "[X]"
=C2=A0 :END:
***= One Thing
=C2=A0 =C2=A0 :PROPERTIES:
=C2=A0 =C2=A0 :CHKBOX: =C2=A0 [= X]
=C2=A0 =C2=A0 :END:
*** Another Thing
=C2=A0 =C2=A0 :PROPERTIES= :
=C2=A0 =C2=A0 :CHKBOX: =C2=A0 [ ]
=C2=A0 =C2=A0 :END:

* Dyna= mic Block
=C2=A0 #+BEGIN: columnview :id Things :match "CHKBOX=3D\&= quot;[X]\""
=C2=A0 | ITEM | CHKBOX |
=C2=A0 |------+-------= -|
=C2=A0 #+END:

If I use curly brac= es for CHKBOX_ALL (i.e., "{ }" "{X}") instead of square= braces, it works fine (of course, I have to also use :match "CHKBOX= =3D\"{X}\"").=C2=A0 But then the SUMMARY-TYPE in the COLUMNS= definition doesn't work.=C2=A0 The match (but not the summary) also wo= rks if I remove just the closing square bracket from the CHKBOX prop= erties and the :match string.=C2=A0 FWIW, the match also fails for the case= of searching for unchecked items (i.e., :match "CHKBOX=3D\"[ ]\&= quot;").

Emacs version:=C2=A0 27.2
= Org version: 9.4.4

Dan
--000000000000aeba7e05d7f53e8b--