From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0Bu1BGbEbGHoVAEAgWs5BA (envelope-from ) for ; Mon, 18 Oct 2021 02:48:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AENdAGbEbGFJDwAA1q6Kng (envelope-from ) for ; Mon, 18 Oct 2021 00:48:38 +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 4CEF12B79A for ; Mon, 18 Oct 2021 02:48:37 +0200 (CEST) Received: from localhost ([::1]:55534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcGpQ-0008Qr-2Y for larch@yhetil.org; Sun, 17 Oct 2021 20:48:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcGof-0008Q2-1n for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 20:47:49 -0400 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]:45697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcGod-00008g-3T for emacs-orgmode@gnu.org; Sun, 17 Oct 2021 20:47:48 -0400 Received: by mail-pj1-x1031.google.com with SMTP id ls14-20020a17090b350e00b001a00e2251c8so11300900pjb.4 for ; Sun, 17 Oct 2021 17:47:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=QlSZxFkms6uqPSwHkac6GPCeyp9Am1dAlsZOwYg35wQ=; b=anCZeodol45YHqvddpujNjt1DFCEbXgyNFa8KlqTlf6oLLJdvbu3cgLmHuGwcp+eJ2 wldUYHHXPVBf+GQzSNki3Y7XjyaN1AwKgbeRNZt3rH/GiEX67Y2JjVqD7snZc1SPWdDk WA4xDxN4Ww7UE85qbUh3ANcfP2ZUjGBfyEwlPN2h3qDMjPk+/feQEZIXC9d87wLHbU1q 0tj4YZUXHzOs2sA4cDF3ZkpQKd1Hv++QUu1D2GYuEw9r/JduGalHSWQs6Z3o5NCCv2+4 UBj4F4abHqhliTCRoDYcLCpcqttqT/Ys7X3jot2qbjswGl02SwfEXaF9LtUSia9d2PkW 1vTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=QlSZxFkms6uqPSwHkac6GPCeyp9Am1dAlsZOwYg35wQ=; b=ZidoWyjDjn0lRxQknCE6e30k39GeCjT2ThjqIflxVPxMijATx/Qiij3jf0P7idBQlR VvVkvn5RcMf8DBmy5AKwQUaVb6c5GIsmuhty4ePlTeBDNnP6WjSbOPACbhQtyD/NjmhP qldlxEU7W7nRwrXOp8jOfyM5SNHEpiFwtYSAJrDripDnRqGZXAvlXtPgBstnQFQptaZR HcLyuiJ007aUQ4tjxZBgzXuevTqqwYPFpOatK8VOCN0BOfizSDQFWEmMHSUXS1CEEtv2 HqvEXWpAwwe8cNfBoQd6wvfgfrSARV7OSTUQ4tlG0iXeGmfVVjaff48LG6tL2BhZgNo0 il2w== X-Gm-Message-State: AOAM532ZnZ7Knu1y0O8cCFNzlxQVVCgwS5xrgK5/hsw73U0i/qe3lw6Y TiLvBmPoxJfB+Z5fkiaJT+I= X-Google-Smtp-Source: ABdhPJxRymSLFIrKa5oGj096NssrXORQT5wyS5vYYuEu/B/oqJFcetWOLctzPHATWYA5lpjl/uq/LQ== X-Received: by 2002:a17:90a:5515:: with SMTP id b21mr29632499pji.239.1634518065435; Sun, 17 Oct 2021 17:47:45 -0700 (PDT) Received: from localhost ([103.125.234.111]) by smtp.gmail.com with ESMTPSA id lb5sm11198737pjb.11.2021.10.17.17.47.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Oct 2021 17:47:44 -0700 (PDT) From: Ihor Radchenko To: Uwe Brauer Subject: Re: problem with columnview and the match option In-Reply-To: <87a6j7e7jq.fsf@mat.ucm.es> References: <87a6j7e7jq.fsf@mat.ucm.es> Date: Mon, 18 Oct 2021 08:49:05 +0800 Message-ID: <8735ozupha.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1031; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1031.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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 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=1634518117; 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=QlSZxFkms6uqPSwHkac6GPCeyp9Am1dAlsZOwYg35wQ=; b=ligAHJtYKMXMn0h95orrF4CF0WZOadEkT26ZSI5pBSV3kGAnilTgFC49PlO6P7QTJdHSvB WzPFpH3ngBVMYE71CoB+swq9RSrsUkLYKONAgQtf95fvbEJOODzsnwIt/wbtrn24aeQ+d8 kniIAyXWhgb9BKnCuD+uTwj5n16MnT0pLj9YRCh4AmjIlGdsCgyLj/2Ft+qbI4/9zuVv/V KM1cJTDyEWsaqdd8+ibjZO82MptzMiJvk9GxIE6prPLkEUWRvs89P8lX4HhaQOgm1DE5Zc +r/1YSjuXuRW+3FRziM3eipDvHIlOtgVJ7iZTH4xEBrJ/cBUkyvOSVbtyvQJmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634518117; a=rsa-sha256; cv=none; b=sZFF5OY+LlDdQi4YJxb/VmUTePucsfDU45pwpG9GEjb4ACHbAS8macRYKuyFuxcJMmyhVD rSJbmOaeLzD2LCubGEkxJfLq4YJGhR22VfX3+INIevY8yLuzMk0npqcOnokN/A9GkBJstS cwoPUn6dbqEzz5YQDfwPkM8viMclJNeBgGa8DYvFNVMXPCDBBWUtcCW+FFQyZdVOCvBArB VmVvnoXtVvJmtNLEkDZ7m4btszuwObpVzmUhKbwNqbZXQECjxdg2nU1vwjh7euCXoCujah euHdh6rtjuEf9QOhjoYOneiYwAwYi9ajh6xg9IYxYhVxOQgpLsuyOjRguGtqQQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=anCZeodo; 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: -2.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=anCZeodo; 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: 4CEF12B79A X-Spam-Score: -2.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: rDpll6BBbGhX Uwe Brauer writes: > ** All groups > #+BEGIN: columnview :hlines 2 :match "H1" :maxlevel 2 :skip-empty-rows t :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) %5Sheet(Sheet) %7ST1(Status){X/}" > | Status | Group | Exercise | Sheet | Status | > |--------+-------+----------+-------+--------| > | | | | | [1/2] | > |--------+-------+----------+-------+--------| > | DONE | G1 | E1 | H1 | [ ] | > |--------+-------+----------+-------+--------| > | DONE | G2 | E3 | H1 | [X] | > |--------+-------+----------+-------+--------| > | TODO | G3 | E2 | H2 | | > #+END > I don't understand why the line > | TODO | G3 | E2 | H2 | | > appears in the table, it does not fit condition Try on latest master ;) > I deleted the maxlevel condition > > > #+BEGIN: columnview :hlines 2 :match "H1" :skip-empty-rows t :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) %5Sheet(Sheet) %7ST1(Status){X/}" > | Status | Group | Exercise | Sheet | Status | > |--------+-------+----------+-------+--------| > | DONE | G1 | E1 | H1 | [ ] | > |--------+-------+----------+-------+--------| > | DONE | G2 | E3 | H1 | [X] | > #+END > > But now the row > > | | | | | [1/2] | > > Is missing. I am confused, I thought maybe exclude-tags could help This is expected. The first heading does not match the condition. > #+BEGIN: columnview :hlines 2 :exclude-tags (H2) :skip-empty-rows t :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) %5Sheet(Sheet) %7ST1(Status){X/}" > | Status | Group | Exercise | Sheet | Status | > |--------+-------+----------+-------+--------| > | | | | | [1/2] | > |--------+-------+----------+-------+--------| > | DONE | G1 | E1 | H1 | [ ] | > |--------+-------+----------+-------+--------| > | DONE | G2 | E3 | H1 | [X] | > |--------+-------+----------+-------+--------| > | TODO | G3 | E2 | H2 | | > #+END > > But not really, help would be appreciated. Add quotes around H2: #+BEGIN: columnview :hlines 2 :exclude-tags ("H2") :skip-empty-rows t :indent nil :format "%5TODO(Status) %5Id(Group) %5Ex(Exercise) %5Sheet(Sheet) %7ST1(Status){X/}" Best, Ihor