all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Martin Jambor <mjambor@suse.cz>
To: emacs-orgmode@gnu.org
Subject: [BUG] columnview result depends on org-tags-match-list-sublevels [9.5.5 (release_9.5.5 @ /usr/share/emacs/28.2/lisp/org/)]
Date: Tue, 21 Mar 2023 15:28:10 +0100	[thread overview]
Message-ID: <ri6mt46gow5.fsf@suse.cz> (raw)

[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]

Hello,

I have found out that whether sub-headers are included in a columnview
table depends on org-tags-match-list-sublevels which I hope is a bug
because it is unexpected and interferes with the columnview
configuration.

Please have a look at the attached file which demonstrates the problem.

No configuration necessary, the bug manifests itself when emacs is
executed with -Q.  I was able to observe this with Org mode version
9.5.5 bundled with openSUSE Emacs 28.2 (when invoked as emacs -Q) but
not with Org mode version 9.3 bundled with Emacs 27.1 bundled with
debian bullseye.

Thank you very much for looking at this, please consider CCing me when
discussing the issue because I am not subscribed to the org-mode list.

Martin Jambor

------------------------------------------------------------------------


Emacs  : GNU Emacs 28.2 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.35, cairo version 1.17.6)
Package: Org mode version 9.5.5 (release_9.5.5 @ /usr/share/emacs/28.2/lisp/org/)


[-- Attachment #2: test.org --]
[-- Type: text/plain, Size: 1033 bytes --]

#+TITLE:Test for org-tags-match-list-sublevels bug

Use M-x set-variable to set org-tags-match-list-sublevels to nil and
then position the cursor over the BEGIN columnview line and press C-c C-c.
Three lines corresponding to sub-headers of the table will disappear.

I was able to observe this with Org mode version 9.5.5 bundled with
openSUSE Emacs 28.2 (when invoked as emacs -Q) but not with Org mode
version 9.3 bundled with Emacs 27.1 bundled with debian bullseye.


* Header 1
:PROPERTIES:
:COLUMNS:  %40ITEM(Name) %NUM(Number) %2TIME(Time){+}
:ID:       some_tasklist
:END:
#+BEGIN: columnview :hlines 1 :id "some_tasklist" :maxlevel 3 :indent nil
| Name     | Number | Time |
|----------+--------+------|
| Header 1 |        |   20 |
| First    |      1 |    5 |
| Second   |      2 |    5 |
| Third    |      3 |   10 |
#+END:
** First
:PROPERTIES:
:NUM:      1
:TIME:     5
:END:
Stuff
** Second
:PROPERTIES:
:NUM:      2
:TIME:     5
:END:
More stuff
** Third
:PROPERTIES:
:NUM:      3
:TIME:     10
:END:
even more stuff

             reply	other threads:[~2023-03-28 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21 14:28 Martin Jambor [this message]
2023-03-28 10:22 ` [BUG] columnview result depends on org-tags-match-list-sublevels [9.5.5 (release_9.5.5 @ /usr/share/emacs/28.2/lisp/org/)] Ihor Radchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ri6mt46gow5.fsf@suse.cz \
    --to=mjambor@suse.cz \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.