emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* First column of tables from sub headings and drawyers
@ 2008-02-29  6:32 Antano Solar
  2008-02-29  9:39 ` Egli Christian (KIRO 433)
  2008-02-29 11:22 ` Bastien
  0 siblings, 2 replies; 22+ messages in thread
From: Antano Solar @ 2008-02-29  6:32 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 576 bytes --]

Hi ,

I am using org mode to keep track of feature requests for individual
projects from my clients .

Each heading is  a project
Each sub heading is a feature request , meeting or anything done .

Now I want to create a table with the following details at the end of each
heading

| Feature request | Time Estimated | Time Utilized  .

I want the feature request column automatically populated from the sub
headings
and if possible the time estimate and time utilized from  a drawyer with the
sub headings .

Is this possible and if so how .

With Regards

Antano Solar John

[-- Attachment #1.2: Type: text/html, Size: 673 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 22+ messages in thread

* RE: First column of tables from sub headings and drawyers
  2008-02-29  6:32 First column of tables from sub headings and drawyers Antano Solar
@ 2008-02-29  9:39 ` Egli Christian (KIRO 433)
  2008-02-29 11:22 ` Bastien
  1 sibling, 0 replies; 22+ messages in thread
From: Egli Christian (KIRO 433) @ 2008-02-29  9:39 UTC (permalink / raw)
  To: Antano Solar, emacs-orgmode

Hi
 
> Now I want to create a table with the following details at the end of
each heading 

> | Feature request | Time Estimated | Time Utilized  .

> I want the feature request column automatically populated from the sub
headings 
> and if possible the time estimate and time utilized from  a drawyer
with the sub headings .

Have ypu looked at Column views
(http://orgmode.org/org.html#Column-view) ?

HTH
Christian

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-02-29  6:32 First column of tables from sub headings and drawyers Antano Solar
  2008-02-29  9:39 ` Egli Christian (KIRO 433)
@ 2008-02-29 11:22 ` Bastien
  2008-02-29 16:21   ` Antano Solar
  1 sibling, 1 reply; 22+ messages in thread
From: Bastien @ 2008-02-29 11:22 UTC (permalink / raw)
  To: Antano Solar; +Cc: emacs-orgmode

"Antano Solar" <solar345@gmail.com> writes:

> | Feature request | Time Estimated | Time Utilized  .
>
> I want the feature request column automatically populated from the sub
> headings and if possible the time estimate and time utilized from a
> drawyer with the sub headings .

Maybe what you need is the "columnview" dynamic block:

------------------------------------------------------------------------
* Project
  :PROPERTIES: 
  :COLUMNS:  %25ITEM %Estimated_Time %Required_Time
  :ID:       Your_Project_ID
  :END:

#+BEGIN: columnview :id Your_Project_ID
| ITEM       | Estimated_Time | Required_Time |
|------------+----------------+---------------|
| *  Project |                |               |
| **  Task   | 1 day          | 10 days       |
#+END

** Task
   :PROPERTIES:
   :Estimated_Time: 1 day
   :Required_Time: 10 days
   :END:
------------------------------------------------------------------------

Addeding tasks such as "** Task" with relevant properties will let you
keep track of them within the columnview dynamic block.

See (info "(org)Capturing Column View") for details.

-- 
Bastien

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-02-29 11:22 ` Bastien
@ 2008-02-29 16:21   ` Antano Solar
  2008-02-29 20:19     ` Bastien
  0 siblings, 1 reply; 22+ messages in thread
From: Antano Solar @ 2008-02-29 16:21 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1537 bytes --]

On Fri, Feb 29, 2008 at 4:52 PM, Bastien <bzg@altern.org> wrote:

> "Antano Solar" <solar345@gmail.com> writes:
>
> > | Feature request | Time Estimated | Time Utilized  .
> >
> > I want the feature request column automatically populated from the sub
> > headings and if possible the time estimate and time utilized from a
> > drawyer with the sub headings .
>
> Maybe what you need is the "columnview" dynamic block:
>
> ------------------------------------------------------------------------
> * Project
>  :PROPERTIES:
>  :COLUMNS:  %25ITEM %Estimated_Time %Required_Time
>  :ID:       Your_Project_ID
>  :END:
>
> #+BEGIN: columnview :id Your_Project_ID
> | ITEM       | Estimated_Time | Required_Time |
> |------------+----------------+---------------|
> | *  Project |                |               |
> | **  Task   | 1 day          | 10 days       |
> #+END
>
> ** Task
>   :PROPERTIES:
>   :Estimated_Time: 1 day
>   :Required_Time: 10 days
>   :END:
> ------------------------------------------------------------------------
>
> Addeding tasks such as "** Task" with relevant properties will let you
> keep track of them within the columnview dynamic block.
>
> See (info "(org)Capturing Column View") for details.
>


Thank you it is working  :)

There is one more things I would like to know.
When I do C-c C-x r it is generating the column view from the second level
and all levels deeper than that.
How do I restrict the rows generated only to the sub heading with the
properties defined.

With Regards

Antano Solar John

[-- Attachment #1.2: Type: text/html, Size: 2261 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-02-29 16:21   ` Antano Solar
@ 2008-02-29 20:19     ` Bastien
  2008-02-29 20:32       ` export-html, close the .html file Xin Shi
  2008-02-29 20:33       ` First column of tables from sub headings and drawyers Antano Solar
  0 siblings, 2 replies; 22+ messages in thread
From: Bastien @ 2008-02-29 20:19 UTC (permalink / raw)
  To: Antano Solar; +Cc: emacs-orgmode

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

"Antano Solar" <solar345@gmail.com> writes:

> There is one more things I would like to know.
> When I do C-c C-x r it is generating the column view from the second level and
> all levels deeper than that.
> How do I restrict the rows generated only to the sub heading with the
> properties defined.

I'm not 100% sure to understand what you mean.  

If you mean that you want to assign a limit to the number of levels
displayed in the captured column view, it is currently not possible.  

But I think it's a good idea.

Here is a patch against latest CVS that does it.

Carsten, what do you think?  If you think it's useful, do you think the
limit parameter be interactively set when `C-c C-x r'?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: org.el.patch --]
[-- Type: text/x-diff, Size: 1822 bytes --]

diff --git a/org.el b/org.el
index 8b57f7b..7463fbe 100644
--- a/org.el
+++ b/org.el
@@ -17430,15 +17430,20 @@ printf       a printf format for computed values"
 
 ;;; Dynamic block for Column view
 
-(defun org-columns-capture-view ()
-  "Get the column view of the current buffer and return it as a list.
-The list will contains the title row and all other rows.  Each row is
-a list of fields."
+(defun org-columns-capture-view (&optional limit)
+  "Get the column view of the current buffer or subtree.
+An optional argument LIMIT sets the level depth limit.
+This function returns a list containing the title row and all
+other rows.  Each row is a list of fields."
   (save-excursion
     (let* ((title (mapcar 'cadr org-columns-current-fmt-compiled))
 	   (n (length title)) row tbl)
       (goto-char (point-min))
-      (while (re-search-forward "^\\*+ " nil t)
+      (while (and (re-search-forward "^\\(\\*+\\) " nil t)
+		  (or (null limit)
+		      (>= limit (if org-odd-levels-only
+				   (/ (1+ (length (match-string 1))) 2)
+				 (length (match-string 1))))))
 	(when (get-char-property (match-beginning 0) 'org-columns-key)
 	  (setq row nil)
 	  (loop for i from 0 to (1- n) do
@@ -17466,6 +17471,7 @@ PARAMS is a property list of parameters:
   (let ((pos (move-marker (make-marker) (point)))
 	(hlines (plist-get params :hlines))
 	(vlines (plist-get params :vlines))
+	(limit (plist-get params :limit))
 	tbl id idpos nfields tmp)
     (save-excursion
       (save-restriction
@@ -17477,7 +17483,7 @@ PARAMS is a property list of parameters:
 		 (goto-char idpos))
 		(t (error "Cannot find entry with :ID: %s" id))))
 	(org-columns)
-	(setq tbl (org-columns-capture-view))
+	(setq tbl (org-columns-capture-view limit))
 	(setq nfields (length (car tbl)))
 	(org-columns-quit)))
     (goto-char pos)

[-- Attachment #3: Type: text/plain, Size: 13 bytes --]


-- 
Bastien

[-- Attachment #4: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply related	[flat|nested] 22+ messages in thread

* export-html, close the .html file
  2008-02-29 20:19     ` Bastien
@ 2008-02-29 20:32       ` Xin Shi
  2008-02-29 20:50         ` Bastien Guerry
  2008-02-29 20:33       ` First column of tables from sub headings and drawyers Antano Solar
  1 sibling, 1 reply; 22+ messages in thread
From: Xin Shi @ 2008-02-29 20:32 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Is that possible to not open the .html file in the Emacs buffer after 
exporting the .org file to HTML? 
Thanks!

Xin

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-02-29 20:19     ` Bastien
  2008-02-29 20:32       ` export-html, close the .html file Xin Shi
@ 2008-02-29 20:33       ` Antano Solar
  2008-02-29 22:23         ` Bastien Guerry
  1 sibling, 1 reply; 22+ messages in thread
From: Antano Solar @ 2008-02-29 20:33 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 984 bytes --]

On Sat, Mar 1, 2008 at 1:49 AM, Bastien <bzg@altern.org> wrote:

> > There is one more things I would like to know.
> > When I do C-c C-x r it is generating the column view from the second
> level and
> > all levels deeper than that.
> > How do I restrict the rows generated only to the sub heading with the
> > properties defined.
>
> I'm not 100% sure to understand what you mean.
>
> If you mean that you want to assign a limit to the number of levels
> displayed in the captured column view, it is currently not possible.
>

Thank you for the patch , What you have done does solve my problem with
little changes in the structure from my side.
What I had actually asked for was this,

* project
** task 1
properties:
   :estimated_time=10 hours
   :utilized_time = 5 hours
end:
**task2


In this case only task1 should appear in the column view and task 2 should
not .

Currently task2 is also appearing with empty values for the remaining
columns

With Regards

Antano Solar John

[-- Attachment #1.2: Type: text/html, Size: 1365 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: export-html, close the .html file
  2008-02-29 20:32       ` export-html, close the .html file Xin Shi
@ 2008-02-29 20:50         ` Bastien Guerry
  2008-02-29 21:01           ` Xin Shi
  0 siblings, 1 reply; 22+ messages in thread
From: Bastien Guerry @ 2008-02-29 20:50 UTC (permalink / raw)
  To: Xin Shi; +Cc: emacs-orgmode

Xin Shi <xs32@cornell.edu> writes:

> Is that possible to not open the .html file in the Emacs buffer after
> exporting the .org file to HTML? Thanks!

Is `C-c C-e H' what you need?

-- 
Bastien

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: export-html, close the .html file
  2008-02-29 20:50         ` Bastien Guerry
@ 2008-02-29 21:01           ` Xin Shi
  2008-02-29 21:10             ` Bastien Guerry
  0 siblings, 1 reply; 22+ messages in thread
From: Xin Shi @ 2008-02-29 21:01 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-orgmode

Bastien Guerry wrote:
> Xin Shi <xs32@cornell.edu> writes:
>
>   
>> Is that possible to not open the .html file in the Emacs buffer after
>> exporting the .org file to HTML? Thanks!
>>     
>
> Is `C-c C-e H' what you need?
>
>   
Not really. That one is export to temporary  buffer. 
What I want is when org-export-html, is just do the work at the 
background, without open the .html in one of Emacs' buffer.

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: export-html, close the .html file
  2008-02-29 21:01           ` Xin Shi
@ 2008-02-29 21:10             ` Bastien Guerry
  2008-02-29 21:43               ` Xin Shi
  0 siblings, 1 reply; 22+ messages in thread
From: Bastien Guerry @ 2008-02-29 21:10 UTC (permalink / raw)
  To: Xin Shi; +Cc: emacs-orgmode

Xin Shi <xs32@cornell.edu> writes:

> Not really. That one is export to temporary  buffer. What I want is when
> org-export-html, is just do the work at the background, without open the
> .html in one of Emacs' buffer.

Sorry I misunderstood your question, because exporting to HTML does not
open the result in the current buffer, unless you explicitly export to 
a temporary buffer.

What you want exactly is that all export buffers should be cleaned up
after expor -- am I right?

I so, I agree, and will fix this.

-- 
Bastien

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: export-html, close the .html file
  2008-02-29 21:10             ` Bastien Guerry
@ 2008-02-29 21:43               ` Xin Shi
  2008-02-29 21:47                 ` Bastien Guerry
  0 siblings, 1 reply; 22+ messages in thread
From: Xin Shi @ 2008-02-29 21:43 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-orgmode

Bastien Guerry wrote:
> Xin Shi <xs32@cornell.edu> writes:
>
>   
>> Not really. That one is export to temporary  buffer. What I want is when
>> org-export-html, is just do the work at the background, without open the
>> .html in one of Emacs' buffer.
>>     
>
> Sorry I misunderstood your question, because exporting to HTML does not
> open the result in the current buffer, unless you explicitly export to 
> a temporary buffer.
>
> What you want exactly is that all export buffers should be cleaned up
> after expor -- am I right?
>
>   
Yes.  That's exactly what I mean. :)
> I so, I agree, and will fix this.
>   
Thank you!

Xin

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: export-html, close the .html file
  2008-02-29 21:43               ` Xin Shi
@ 2008-02-29 21:47                 ` Bastien Guerry
  0 siblings, 0 replies; 22+ messages in thread
From: Bastien Guerry @ 2008-02-29 21:47 UTC (permalink / raw)
  To: Xin Shi; +Cc: emacs-orgmode

Xin Shi <xs32@cornell.edu> writes:

> Yes.  That's exactly what I mean. :)
>> I so, I agree, and will fix this.

Done.

-- 
Bastien

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-02-29 20:33       ` First column of tables from sub headings and drawyers Antano Solar
@ 2008-02-29 22:23         ` Bastien Guerry
  2008-02-29 22:32           ` Manish
  2008-03-01  5:41           ` Antano Solar
  0 siblings, 2 replies; 22+ messages in thread
From: Bastien Guerry @ 2008-02-29 22:23 UTC (permalink / raw)
  To: Antano Solar; +Cc: emacs-orgmode

"Antano Solar" <solar345@gmail.com> writes:

> Thank you for the patch , What you have done does solve my problem
> with little changes in the structure from my side.  What I had
> actually asked for was this,
>
> * project
> ** task 1
> properties:
>    :estimated_time=10 hours
>    :utilized_time = 5 hours
> end:
> **task2
>
> In this case only task1 should appear in the column view and task 2
> should not .
>
> Currently task2 is also appearing with empty values for the remaining
> columns

Since the purpose of `org-dblock-write:columnview' is to capture the
column view, I think the default behavior should be to display *all*
entries, even those which properties are not set - because they are
displayed in the current view.

But maybe a parameter like :skip-empty-row would make sense.

-- 
Bastien

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-02-29 22:23         ` Bastien Guerry
@ 2008-02-29 22:32           ` Manish
  2008-03-01  5:41           ` Antano Solar
  1 sibling, 0 replies; 22+ messages in thread
From: Manish @ 2008-02-29 22:32 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-orgmode

On Sat, Mar 1, 2008 at 3:53 AM, Bastien Guerry <Bastien.Guerry@ens.fr> wrote:
> "Antano Solar" <solar345@gmail.com> writes:
>
>
> > Thank you for the patch , What you have done does solve my problem
>  > with little changes in the structure from my side.  What I had
>  > actually asked for was this,
>  >
>  > * project
>  > ** task 1
>  > properties:
>  >    :estimated_time=10 hours
>  >    :utilized_time = 5 hours
>  > end:
>  > **task2
>  >
>  > In this case only task1 should appear in the column view and task 2
>  > should not .
>  >
>  > Currently task2 is also appearing with empty values for the remaining
>  > columns
>
>  Since the purpose of `org-dblock-write:columnview' is to capture the
>  column view, I think the default behavior should be to display *all*
>  entries, even those which properties are not set - because they are
>  displayed in the current view.
>
>  But maybe a parameter like :skip-empty-row would make sense.


+1 for the parameter.

Thanks,
-- Manish

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-02-29 22:23         ` Bastien Guerry
  2008-02-29 22:32           ` Manish
@ 2008-03-01  5:41           ` Antano Solar
  2008-03-01  5:52             ` Manish
  2008-03-01 10:06             ` Bastien Guerry
  1 sibling, 2 replies; 22+ messages in thread
From: Antano Solar @ 2008-03-01  5:41 UTC (permalink / raw)
  To: Bastien Guerry; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 710 bytes --]

>
> Since the purpose of `org-dblock-write:columnview' is to capture the
> column view, I think the default behavior should be to display *all*
> entries, even those which properties are not set - because they are
> displayed in the current view.
>
> But maybe a parameter like :skip-empty-row would make sense.
>

Waiting forward for the org release with the skip-empty-row parameter :)

And also one more interesting feature to have would be this.

Consider

** Task 1
*** Step  a
    :properties:
      :Time_Utilized 10 hours
    :end
*** Step  b


With Regards

Antano Solar John
    :properties:
      :Time_Utilized 15 hours
    :end


Then in column view it should show

Task  Time_Utilikzed
Task1  25

[-- Attachment #1.2: Type: text/html, Size: 1186 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-03-01  5:41           ` Antano Solar
@ 2008-03-01  5:52             ` Manish
  2008-03-01  7:43               ` Antano Solar
  2008-03-01  7:46               ` Antano Solar
  2008-03-01 10:06             ` Bastien Guerry
  1 sibling, 2 replies; 22+ messages in thread
From: Manish @ 2008-03-01  5:52 UTC (permalink / raw)
  To: Antano Solar; +Cc: Bastien Guerry, emacs-orgmode

On Sat, Mar 1, 2008 at 11:11 AM, Antano Solar <solar345@gmail.com> wrote:
>
> > Since the purpose of `org-dblock-write:columnview' is to capture the
> > column view, I think the default behavior should be to display *all*
> > entries, even those which properties are not set - because they are
> > displayed in the current view.
> >
> > But maybe a parameter like :skip-empty-row would make sense.
> >
>
> Waiting forward for the org release with the skip-empty-row parameter :)
>
> And also one more interesting feature to have would be this.
>
> Consider
>
> ** Task 1
> *** Step  a
>      :properties:
>       :Time_Utilized 10 hours
>     :end
> *** Step  b
>
>
> With Regards
>
> Antano Solar John
>      :properties:
>        :Time_Utilized 15 hours
>      :end
>
>
> Then in column view it should show
>
> Task  Time_Utilikzed
> Task1  25
>

This already works.  Please see `CLOCKSUM' at
http://orgmode.org/org.html#Special-properties

-- Manish

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-03-01  5:52             ` Manish
@ 2008-03-01  7:43               ` Antano Solar
  2008-03-01  8:48                 ` Manish
  2008-03-01  7:46               ` Antano Solar
  1 sibling, 1 reply; 22+ messages in thread
From: Antano Solar @ 2008-03-01  7:43 UTC (permalink / raw)
  To: Manish; +Cc: Bastien Guerry, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1238 bytes --]

On Sat, Mar 1, 2008 at 11:22 AM, Manish <mailtomanish.sharma@gmail.com>
wrote:

> On Sat, Mar 1, 2008 at 11:11 AM, Antano Solar <solar345@gmail.com> wrote:
> >
> > > Since the purpose of `org-dblock-write:columnview' is to capture the
> > > column view, I think the default behavior should be to display *all*
> > > entries, even those which properties are not set - because they are
> > > displayed in the current view.
> > >
> > > But maybe a parameter like :skip-empty-row would make sense.
> > >
> >
> > Waiting forward for the org release with the skip-empty-row parameter :)
> >
> > And also one more interesting feature to have would be this.
> >
> > Consider
> >
> > ** Task 1
> > *** Step  a
> >      :properties:
> >       :Time_Utilized 10 hours
> >     :end
> > *** Step  b
> >
> >
> > With Regards
> >
> > Antano Solar John
> >      :properties:
> >        :Time_Utilized 15 hours
> >      :end
> >
> >
> > Then in column view it should show
> >
> > Task  Time_Utilikzed
> > Task1  25
> >
>
> This already works.  Please see `CLOCKSUM' at
> http://orgmode.org/org.html#Special-properties
>

Yes it does  but 'CLOCKSUM' works only when the time is tracked using clock
.
Not for custom fields.

With Regards

Antano Solar John

[-- Attachment #1.2: Type: text/html, Size: 2067 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-03-01  5:52             ` Manish
  2008-03-01  7:43               ` Antano Solar
@ 2008-03-01  7:46               ` Antano Solar
  1 sibling, 0 replies; 22+ messages in thread
From: Antano Solar @ 2008-03-01  7:46 UTC (permalink / raw)
  To: Manish; +Cc: Bastien Guerry, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1234 bytes --]

On Sat, Mar 1, 2008 at 11:22 AM, Manish <mailtomanish.sharma@gmail.com>
wrote:

> On Sat, Mar 1, 2008 at 11:11 AM, Antano Solar <solar345@gmail.com> wrote:
> >
> > > Since the purpose of `org-dblock-write:columnview' is to capture the
> > > column view, I think the default behavior should be to display *all*
> > > entries, even those which properties are not set - because they are
> > > displayed in the current view.
> > >
> > > But maybe a parameter like :skip-empty-row would make sense.
> > >
> >
> > Waiting forward for the org release with the skip-empty-row parameter :)
> >
> > And also one more interesting feature to have would be this.
> >
> > Consider
> >
> > ** Task 1
> > *** Step  a
> >      :properties:
> >       :Time_Utilized 10 hours
> >     :end
> > *** Step  b
> >
> >
> > With Regards
> >
> > Antano Solar John
> >      :properties:
> >        :Time_Utilized 15 hours
> >      :end
> >
> >
> > Then in column view it should show
> >
> > Task  Time_Utilikzed
> > Task1  25
> >
>
> This already works.  Please see `CLOCKSUM' at
> http://orgmode.org/org.html#Special-properties
>
> -- Manish
>


As i need total for two custom fiels
time_estimate and time_utilized I cant use the clock
and hence not 'CLOCKSUM'

[-- Attachment #1.2: Type: text/html, Size: 2041 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-03-01  7:43               ` Antano Solar
@ 2008-03-01  8:48                 ` Manish
  2008-03-01  8:57                   ` Manish
  2008-03-01  9:28                   ` Antano Solar
  0 siblings, 2 replies; 22+ messages in thread
From: Manish @ 2008-03-01  8:48 UTC (permalink / raw)
  To: Antano Solar; +Cc: Bastien Guerry, emacs-orgmode

On Sat, Mar 1, 2008 at 1:13 PM, Antano Solar <solar345@gmail.com> wrote:
>
> On Sat, Mar 1, 2008 at 11:22 AM, Manish <mailtomanish.sharma@gmail.com>
> wrote:
> >
> > On Sat, Mar 1, 2008 at 11:11 AM, Antano Solar <solar345@gmail.com> wrote:
> > >
> > > > Since the purpose of `org-dblock-write:columnview' is to capture the
> > > > column view, I think the default behavior should be to display *all*
> > > > entries, even those which properties are not set - because they are
> > > > displayed in the current view.
> > > >
> > > > But maybe a parameter like :skip-empty-row would make sense.
> > > >
> > >
> > > Waiting forward for the org release with the skip-empty-row parameter :)
> > >
> > > And also one more interesting feature to have would be this.
> > >
> > > Consider
> > >
> > > ** Task 1
> > > *** Step  a
> > >      :properties:
> > >       :Time_Utilized 10 hours
> > >     :end
> > > *** Step  b
> > >
> > >
> > > With Regards
> > >
> > > Antano Solar John
> > >      :properties:
> > >        :Time_Utilized 15 hours
> > >      :end
> > >
> > >
> > > Then in column view it should show
> > >
> > > Task  Time_Utilikzed
> > > Task1  25
> > >
> >
> > This already works.  Please see `CLOCKSUM' at
> > http://orgmode.org/org.html#Special-properties
> >
>
> Yes it does  but 'CLOCKSUM' works only when the time is tracked using clock
> .
> Not for custom fields.
>

Oh, now I see what you mean.  I thought you were tracking `time
utilized' using clocks.  Does `summary type' in
http://orgmode.org/org.html#Column-attributes help?

-- Manish

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-03-01  8:48                 ` Manish
@ 2008-03-01  8:57                   ` Manish
  2008-03-01  9:28                   ` Antano Solar
  1 sibling, 0 replies; 22+ messages in thread
From: Manish @ 2008-03-01  8:57 UTC (permalink / raw)
  To: Antano Solar; +Cc: Bastien Guerry, emacs-orgmode

Excellent description of column view by Christian Egli is what showed
me a glimpse of what it can do.  Please take a took at it here:
http://www.legito.net/worg/org-tutorials/index.php

HTH,
-- Manish

On Sat, Mar 1, 2008 at 2:18 PM, Manish <mailtomanish.sharma@gmail.com> wrote:
>
> On Sat, Mar 1, 2008 at 1:13 PM, Antano Solar <solar345@gmail.com> wrote:
>  >
>  > On Sat, Mar 1, 2008 at 11:22 AM, Manish <mailtomanish.sharma@gmail.com>
>  > wrote:
>  > >
>  > > On Sat, Mar 1, 2008 at 11:11 AM, Antano Solar <solar345@gmail.com> wrote:
>  > > >
>  > > > > Since the purpose of `org-dblock-write:columnview' is to capture the
>  > > > > column view, I think the default behavior should be to display *all*
>  > > > > entries, even those which properties are not set - because they are
>  > > > > displayed in the current view.
>  > > > >
>  > > > > But maybe a parameter like :skip-empty-row would make sense.
>  > > > >
>  > > >
>  > > > Waiting forward for the org release with the skip-empty-row parameter :)
>  > > >
>  > > > And also one more interesting feature to have would be this.
>  > > >
>  > > > Consider
>  > > >
>  > > > ** Task 1
>  > > > *** Step  a
>  > > >      :properties:
>  > > >       :Time_Utilized 10 hours
>  > > >     :end
>  > > > *** Step  b
>  > > >
>  > > >
>  > > > With Regards
>  > > >
>  > > > Antano Solar John
>  > > >      :properties:
>  > > >        :Time_Utilized 15 hours
>  > > >      :end
>  > > >
>  > > >
>  > > > Then in column view it should show
>  > > >
>  > > > Task  Time_Utilikzed
>  > > > Task1  25
>  > > >
>  > >
>  > > This already works.  Please see `CLOCKSUM' at
>  > > http://orgmode.org/org.html#Special-properties
>  > >
>  >
>  > Yes it does  but 'CLOCKSUM' works only when the time is tracked using clock
>  > .
>  > Not for custom fields.
>  >
>
>  Oh, now I see what you mean.  I thought you were tracking `time
>  utilized' using clocks.  Does `summary type' in
>  http://orgmode.org/org.html#Column-attributes help?
>
>  -- Manish
>

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-03-01  8:48                 ` Manish
  2008-03-01  8:57                   ` Manish
@ 2008-03-01  9:28                   ` Antano Solar
  1 sibling, 0 replies; 22+ messages in thread
From: Antano Solar @ 2008-03-01  9:28 UTC (permalink / raw)
  To: Manish; +Cc: Bastien Guerry, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1865 bytes --]

On Sat, Mar 1, 2008 at 2:18 PM, Manish <mailtomanish.sharma@gmail.com>
wrote:

> On Sat, Mar 1, 2008 at 1:13 PM, Antano Solar <solar345@gmail.com> wrote:
> >
> > On Sat, Mar 1, 2008 at 11:22 AM, Manish <mailtomanish.sharma@gmail.com>
> > wrote:
> > >
> > > On Sat, Mar 1, 2008 at 11:11 AM, Antano Solar <solar345@gmail.com>
> wrote:
> > > >
> > > > > Since the purpose of `org-dblock-write:columnview' is to capture
> the
> > > > > column view, I think the default behavior should be to display
> *all*
> > > > > entries, even those which properties are not set - because they
> are
> > > > > displayed in the current view.
> > > > >
> > > > > But maybe a parameter like :skip-empty-row would make sense.
> > > > >
> > > >
> > > > Waiting forward for the org release with the skip-empty-row
> parameter :)
> > > >
> > > > And also one more interesting feature to have would be this.
> > > >
> > > > Consider
> > > >
> > > > ** Task 1
> > > > *** Step  a
> > > >      :properties:
> > > >       :Time_Utilized 10 hours
> > > >     :end
> > > > *** Step  b
> > > >
> > > >
> > > > With Regards
> > > >
> > > > Antano Solar John
> > > >      :properties:
> > > >        :Time_Utilized 15 hours
> > > >      :end
> > > >
> > > >
> > > > Then in column view it should show
> > > >
> > > > Task  Time_Utilikzed
> > > > Task1  25
> > > >
> > >
> > > This already works.  Please see `CLOCKSUM' at
> > > http://orgmode.org/org.html#Special-properties
> > >
> >
> > Yes it does  but 'CLOCKSUM' works only when the time is tracked using
> clock
> > .
> > Not for custom fields.
> >
>
> Oh, now I see what you mean.  I thought you were tracking `time
> utilized' using clocks.  Does `summary type' in
> http://orgmode.org/org.html#Column-attributes help?
>

Yes it does  :)
And thanks for mentioning t he article by Christian Egli.

With Regards

Antano Solar John


With Rega

[-- Attachment #1.2: Type: text/html, Size: 3191 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

^ permalink raw reply	[flat|nested] 22+ messages in thread

* Re: First column of tables from sub headings and drawyers
  2008-03-01  5:41           ` Antano Solar
  2008-03-01  5:52             ` Manish
@ 2008-03-01 10:06             ` Bastien Guerry
  1 sibling, 0 replies; 22+ messages in thread
From: Bastien Guerry @ 2008-03-01 10:06 UTC (permalink / raw)
  To: Antano Solar; +Cc: emacs-orgmode

"Antano Solar" <solar345@gmail.com> writes:

> Waiting forward for the org release with the skip-empty-row parameter
> :)

It is now in the git repository.

> ** Task 1
> *** Step  a
>     :properties:
>       :Time_Utilized 10 hours
>     :end
> *** Step  b
>
> With Regards
>
> Antano Solar John
>     :properties:
>       :Time_Utilized 15 hours
>     :end
>
> Then in column view it should show
>
> Task  Time_Utilikzed
> Task1  25

I think this is beyond the scope of the columnview dynamic block...

-- 
Bastien

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2008-03-01 10:06 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-29  6:32 First column of tables from sub headings and drawyers Antano Solar
2008-02-29  9:39 ` Egli Christian (KIRO 433)
2008-02-29 11:22 ` Bastien
2008-02-29 16:21   ` Antano Solar
2008-02-29 20:19     ` Bastien
2008-02-29 20:32       ` export-html, close the .html file Xin Shi
2008-02-29 20:50         ` Bastien Guerry
2008-02-29 21:01           ` Xin Shi
2008-02-29 21:10             ` Bastien Guerry
2008-02-29 21:43               ` Xin Shi
2008-02-29 21:47                 ` Bastien Guerry
2008-02-29 20:33       ` First column of tables from sub headings and drawyers Antano Solar
2008-02-29 22:23         ` Bastien Guerry
2008-02-29 22:32           ` Manish
2008-03-01  5:41           ` Antano Solar
2008-03-01  5:52             ` Manish
2008-03-01  7:43               ` Antano Solar
2008-03-01  8:48                 ` Manish
2008-03-01  8:57                   ` Manish
2008-03-01  9:28                   ` Antano Solar
2008-03-01  7:46               ` Antano Solar
2008-03-01 10:06             ` Bastien Guerry

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).