emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

the comment environment does not work for checkboxes


From: Uwe Brauer
Subject: the comment environment does not work for checkboxes
Date: Fri, 29 Jul 2022 07:30:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)


Hi

Please consider 

#+begin_src 

* Everything [3/4]
  :PROPERTIES:
  :COLUMNS:   %TODO %ITEM  %Nr %Comp1 %Comp2  
  :COOKIE_DATA: aggregate
  :TODO:     [ ]
  :COMP1:    [1/2]
  :COMP2:    [1/2]
  :END:

# *** DONE Books
#     :PROPERTIES:
#     :Nr:       1
#     :Comp1:    [X]
#     :Comp2:    [X]
#     :END:

** DONE Car 
   :PROPERTIES:
   :Nr:       2
   :Comp1:    [X]
   :Comp2:    [ ]
   :END:

** DONE Food 
   :PROPERTIES:
   :Nr:       3
   :COMP1:    [ ]
   :COMP2:    [X]
   :END:


# **** WAIT  Computer
#      :PROPERTIES:
#      :Nr:       4
#      :Comp1:    [X]
#      :Comp2:    [X]
#      :END:




#+BEGIN: columnview :maxlevel 2 :skip-empty-rows t :hlines 1 :indent nil  
:format "%5TODO(Status) %5Nr(Nr) %5Comp1(Comp1){X/} %5Comp2(Comp2){X/}"
| Status | Nr | Comp1 | Comp2 |
|--------+----+-------+-------|
|        |    | [1/2] | [1/2] |
| DONE   |  2 | [X]   | [ ]   |
| DONE   |  3 | [ ]   | [X]   |
#+END:
#+end_src

Which works as expected 

While 

#+begin_src 

* Everything [3/4]
  :PROPERTIES:
  :COLUMNS:   %TODO %ITEM  %Nr %Comp1 %Comp2  
  :COOKIE_DATA: aggregate
  :TODO:     [ ]
  :COMP1:    [2/2]
  :COMP2:    [1/2]
  :END:

# *** DONE Books
#     :PROPERTIES:
#     :Nr:       1
#     :Comp1:    [X]
#     :Comp2:    [X]
#     :END:

** DONE Car 
   :PROPERTIES:
   :Nr:       2
   :Comp1:    [X]
   :Comp2:    [ ]
   :END:

** DONE Food 
   :PROPERTIES:
   :Nr:       3
   :COMP1:    [1/1]
   :COMP2:    [1/1]
   :END:

#+BEGIN_COMMENT
**** WAIT  Computer
     :PROPERTIES:
     :Nr:       4
     :Comp1:    [X]
     :Comp2:    [X]
     :END:
#+END_COMMENT



#+BEGIN: columnview :maxlevel 2 :skip-empty-rows t :hlines 1 :indent nil  
:format "%5TODO(Status) %5Nr(Nr) %5Comp1(Comp1){X/} %5Comp2(Comp2){X/}"
| Status | Nr | Comp1 | Comp2 |
|--------+----+-------+-------|
|        |    | [2/2] | [1/2] |
| DONE   |  2 | [X]   | [ ]   |
| DONE   |  3 | [1/1] | [1/1] |
#+END:

#+end_src


Does not. Any idea why?

-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]