emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Feature Request: property for the time part of a timestamp.
@ 2008-07-23 16:57 Jose Robins
  2008-07-23 17:16 ` Carsten Dominik
  0 siblings, 1 reply; 9+ messages in thread
From: Jose Robins @ 2008-07-23 16:57 UTC (permalink / raw)
  To: org-mode


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

I've been extensively using column mode in the agenda buffer to plan my 
day/week. I have columns set up for scheduled and deadline. However, I 
was wondering if it'd be possible to expose just the "time" part of the 
scheduled timestamp as a property so that I could have a column for the 
time part of the timestamp (without the date). This would allow one to 
look @ the daily agenda and schedule time for tasks with just that 
column without bothering about the date (after all I'm already in 
today's agenda; so there is no need to see the date).

Also if it'd be possible to sort the column view based on that column's 
contents it'd be great. That way, all the tasks will be sorted based on 
the time of the day that the task has been scheduled for. I guess I'm 
trying to use the column view similar to the time grid.

Not sure if others' sort of planning methodology would benefit from this 
or not. I'm open to other ideas  that folks may feel is more efficient 
for achieving this as well.

Thanks,
Jose

[-- Attachment #1.2: Type: text/html, Size: 1241 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] 9+ messages in thread

* Re: Feature Request: property for the time part of a timestamp.
  2008-07-23 16:57 Feature Request: property for the time part of a timestamp Jose Robins
@ 2008-07-23 17:16 ` Carsten Dominik
  2008-07-23 18:10   ` Jose Robins
  2008-07-25 12:33   ` Jose Robins
  0 siblings, 2 replies; 9+ messages in thread
From: Carsten Dominik @ 2008-07-23 17:16 UTC (permalink / raw)
  To: Jose Robins; +Cc: org-mode


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

Hi Robin,

On Jul 23, 2008, at 9:57 AM, Jose Robins wrote:

> I've been extensively using column mode in the agenda buffer to plan  
> my day/week. I have columns set up for scheduled and deadline.  
> However, I was wondering if it'd be possible to expose just the  
> "time" part of the scheduled timestamp as a property so that I could  
> have a column for the time part of the timestamp (without the date).  
> This would allow one to look @ the daily agenda and schedule time  
> for tasks with just that column without bothering about the date  
> (after all I'm already in today's agenda; so there is no need to see  
> the date).

This would in principle be possible of course, basically a filter when  
displaying the column.
But

>
>
> Also if it'd be possible to sort the column view based on that  
> column's contents it'd be great. That way, all the tasks will be  
> sorted based on the time of the day that the task has been scheduled  
> for. I guess I'm trying to use the column view similar to the time  
> grid.

This does not make sense becaue column view still uses the outline  
structure of your file.  Why don't you just use the agenda or a  
timeline view for this?

- Carsten

>
>
> Not sure if others' sort of planning methodology would benefit from  
> this or not. I'm open to other ideas  that folks may feel is more  
> efficient for achieving this as well.
>
> Thanks,
> Jose
> _______________________________________________
> 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


[-- Attachment #1.2: Type: text/html, Size: 2407 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] 9+ messages in thread

* Re: Feature Request: property for the time part of a timestamp.
  2008-07-23 17:16 ` Carsten Dominik
@ 2008-07-23 18:10   ` Jose Robins
  2008-07-25 12:33   ` Jose Robins
  1 sibling, 0 replies; 9+ messages in thread
From: Jose Robins @ 2008-07-23 18:10 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode


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



Carsten Dominik wrote:
> Hi Robin,
>
> On Jul 23, 2008, at 9:57 AM, Jose Robins wrote:
>
>> I've been extensively using column mode in the agenda buffer to plan 
>> my day/week. I have columns set up for scheduled and deadline. 
>> However, I was wondering if it'd be possible to expose just the 
>> "time" part of the scheduled timestamp as a property so that I could 
>> have a column for the time part of the timestamp (without the date). 
>> This would allow one to look @ the daily agenda and schedule time for 
>> tasks with just that column without bothering about the date (after 
>> all I'm already in today's agenda; so there is no need to see the date).
>
> This would in principle be possible of course, basically a filter when 
> displaying the column.
> But
>
>>
>>
>> Also if it'd be possible to sort the column view based on that 
>> column's contents it'd be great. That way, all the tasks will be 
>> sorted based on the time of the day that the task has been scheduled 
>> for. I guess I'm trying to use the column view similar to the time grid.
>
> This does not make sense becaue column view still uses the outline 
> structure of your file.  Why don't you just use the agenda or a 
> timeline view for this?
>
Hi Carsten,
I'm actually using the column view in the *agenda* buffer. Hence the 
request for a sort option. Let me see if the timeline view works similar 
to what I want

Thanks,
Jose
> - Carsten
>
>>
>>
>> Not sure if others' sort of planning methodology would benefit from 
>> this or not. I'm open to other ideas  that folks may feel is more 
>> efficient for achieving this as well.
>>
>> Thanks,
>> Jose
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org <mailto:Emacs-orgmode@gnu.org>
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 3144 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] 9+ messages in thread

* Re: Feature Request: property for the time part of a timestamp.
  2008-07-23 17:16 ` Carsten Dominik
  2008-07-23 18:10   ` Jose Robins
@ 2008-07-25 12:33   ` Jose Robins
  2008-07-25 14:24     ` Carsten Dominik
  2008-07-26  0:07     ` Carsten Dominik
  1 sibling, 2 replies; 9+ messages in thread
From: Jose Robins @ 2008-07-25 12:33 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode


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



Carsten Dominik wrote:
> Hi Robin,
>
> On Jul 23, 2008, at 9:57 AM, Jose Robins wrote:
>
>> I've been extensively using column mode in the agenda buffer to plan 
>> my day/week. I have columns set up for scheduled and deadline. 
>> However, I was wondering if it'd be possible to expose just the 
>> "time" part of the scheduled timestamp as a property so that I could 
>> have a column for the time part of the timestamp (without the date). 
>> This would allow one to look @ the daily agenda and schedule time for 
>> tasks with just that column without bothering about the date (after 
>> all I'm already in today's agenda; so there is no need to see the date).
>
> This would in principle be possible of course, basically a filter when 
> displaying the column.
Hi Carsten,
Would this filter be something that would be done on the source end? If 
so, would you consider adding it? :)

The GoogleTech talk has inspired me to start hacking into the source 
code a bit and contributing back. As a baby step, I'm thinking about 
modifying the column view to display custom date formats for the date 
column. Any pointers on getting me going on this?

Thanks mucho,
Jose

> But
>
>>
>>
>> Also if it'd be possible to sort the column view based on that 
>> column's contents it'd be great. That way, all the tasks will be 
>> sorted based on the time of the day that the task has been scheduled 
>> for. I guess I'm trying to use the column view similar to the time grid.
>
> This does not make sense becaue column view still uses the outline 
> structure of your file.  Why don't you just use the agenda or a 
> timeline view for this?
>
> - Carsten
>
>>
>>
>> Not sure if others' sort of planning methodology would benefit from 
>> this or not. I'm open to other ideas  that folks may feel is more 
>> efficient for achieving this as well.
>>
>> Thanks,
>> Jose
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org <mailto:Emacs-orgmode@gnu.org>
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   

[-- Attachment #1.2: Type: text/html, Size: 3803 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] 9+ messages in thread

* Re: Feature Request: property for the time part of a timestamp.
  2008-07-25 12:33   ` Jose Robins
@ 2008-07-25 14:24     ` Carsten Dominik
  2008-07-26  0:07     ` Carsten Dominik
  1 sibling, 0 replies; 9+ messages in thread
From: Carsten Dominik @ 2008-07-25 14:24 UTC (permalink / raw)
  To: Jose Robins; +Cc: org-mode


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

Unfortunately, you need for me to create a hook for this, which will  
not happen before September :-(

- Carsten

On Jul 25, 2008, at 5:33 AM, Jose Robins wrote:

>
>
> Carsten Dominik wrote:
>>
>> Hi Robin,
>>
>> On Jul 23, 2008, at 9:57 AM, Jose Robins wrote:
>>
>>> I've been extensively using column mode in the agenda buffer to  
>>> plan my day/week. I have columns set up for scheduled and  
>>> deadline. However, I was wondering if it'd be possible to expose  
>>> just the "time" part of the scheduled timestamp as a property so  
>>> that I could have a column for the time part of the timestamp  
>>> (without the date). This would allow one to look @ the daily  
>>> agenda and schedule time for tasks with just that column without  
>>> bothering about the date (after all I'm already in today's agenda;  
>>> so there is no need to see the date).
>>
>> This would in principle be possible of course, basically a filter  
>> when displaying the column.
> Hi Carsten,
> Would this filter be something that would be done on the source end?  
> If so, would you consider adding it? :)
>
> The GoogleTech talk has inspired me to start hacking into the source  
> code a bit and contributing back. As a baby step, I'm thinking about  
> modifying the column view to display custom date formats for the  
> date column. Any pointers on getting me going on this?
>
> Thanks mucho,
> Jose
>
>> But
>>
>>>
>>>
>>> Also if it'd be possible to sort the column view based on that  
>>> column's contents it'd be great. That way, all the tasks will be  
>>> sorted based on the time of the day that the task has been  
>>> scheduled for. I guess I'm trying to use the column view similar  
>>> to the time grid.
>>
>> This does not make sense becaue column view still uses the outline  
>> structure of your file.  Why don't you just use the agenda or a  
>> timeline view for this?
>>
>> - Carsten
>>
>>>
>>>
>>> Not sure if others' sort of planning methodology would benefit  
>>> from this or not. I'm open to other ideas  that folks may feel is  
>>> more efficient for achieving this as well.
>>>
>>> Thanks,
>>> Jose
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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
>>


[-- Attachment #1.2: Type: text/html, Size: 3995 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] 9+ messages in thread

* Re: Feature Request: property for the time part of a timestamp.
  2008-07-25 12:33   ` Jose Robins
  2008-07-25 14:24     ` Carsten Dominik
@ 2008-07-26  0:07     ` Carsten Dominik
  2008-07-27 13:03       ` Jose Robins
  1 sibling, 1 reply; 9+ messages in thread
From: Carsten Dominik @ 2008-07-26  0:07 UTC (permalink / raw)
  To: Jose Robins; +Cc: org-mode


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

If you get the latest git version,  take a look at the variable
`org-columns-modify-value-for-display-function'.

HTH

- Carsten

On Jul 25, 2008, at 5:33 AM, Jose Robins wrote:

>
>
> Carsten Dominik wrote:
>>
>> Hi Robin,
>>
>> On Jul 23, 2008, at 9:57 AM, Jose Robins wrote:
>>
>>> I've been extensively using column mode in the agenda buffer to  
>>> plan my day/week. I have columns set up for scheduled and  
>>> deadline. However, I was wondering if it'd be possible to expose  
>>> just the "time" part of the scheduled timestamp as a property so  
>>> that I could have a column for the time part of the timestamp  
>>> (without the date). This would allow one to look @ the daily  
>>> agenda and schedule time for tasks with just that column without  
>>> bothering about the date (after all I'm already in today's agenda;  
>>> so there is no need to see the date).
>>
>> This would in principle be possible of course, basically a filter  
>> when displaying the column.
> Hi Carsten,
> Would this filter be something that would be done on the source end?  
> If so, would you consider adding it? :)
>
> The GoogleTech talk has inspired me to start hacking into the source  
> code a bit and contributing back. As a baby step, I'm thinking about  
> modifying the column view to display custom date formats for the  
> date column. Any pointers on getting me going on this?
>
> Thanks mucho,
> Jose
>
>> But
>>
>>>
>>>
>>> Also if it'd be possible to sort the column view based on that  
>>> column's contents it'd be great. That way, all the tasks will be  
>>> sorted based on the time of the day that the task has been  
>>> scheduled for. I guess I'm trying to use the column view similar  
>>> to the time grid.
>>
>> This does not make sense becaue column view still uses the outline  
>> structure of your file.  Why don't you just use the agenda or a  
>> timeline view for this?
>>
>> - Carsten
>>
>>>
>>>
>>> Not sure if others' sort of planning methodology would benefit  
>>> from this or not. I'm open to other ideas  that folks may feel is  
>>> more efficient for achieving this as well.
>>>
>>> Thanks,
>>> Jose
>>> _______________________________________________
>>> 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
>>
>>
>> _______________________________________________
>> 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
>>


[-- Attachment #1.2: Type: text/html, Size: 4053 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] 9+ messages in thread

* Re: Feature Request: property for the time part of a timestamp.
  2008-07-26  0:07     ` Carsten Dominik
@ 2008-07-27 13:03       ` Jose Robins
  2008-07-27 15:06         ` Carsten Dominik
  0 siblings, 1 reply; 9+ messages in thread
From: Jose Robins @ 2008-07-27 13:03 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode


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

Hi Carsten,
Thank you so much. Here is a dumb question. What is the return value 
datatype and the value for the function? Right now I'm running edebug to 
trace what is going on there to figure this out....

Thanks,
Jose

Carsten Dominik wrote:
> If you get the latest git version,  take a look at the variable
> `org-columns-modify-value-for-display-function'.
>
> HTH
>
> - Carsten
>
> On Jul 25, 2008, at 5:33 AM, Jose Robins wrote:
>
>>
>>
>> Carsten Dominik wrote:
>>> Hi Robin,
>>>
>>> On Jul 23, 2008, at 9:57 AM, Jose Robins wrote:
>>>
>>>> I've been extensively using column mode in the agenda buffer to 
>>>> plan my day/week. I have columns set up for scheduled and deadline. 
>>>> However, I was wondering if it'd be possible to expose just the 
>>>> "time" part of the scheduled timestamp as a property so that I 
>>>> could have a column for the time part of the timestamp (without the 
>>>> date). This would allow one to look @ the daily agenda and schedule 
>>>> time for tasks with just that column without bothering about the 
>>>> date (after all I'm already in today's agenda; so there is no need 
>>>> to see the date).
>>>
>>> This would in principle be possible of course, basically a filter 
>>> when displaying the column.
>> Hi Carsten,
>> Would this filter be something that would be done on the source end? 
>> If so, would you consider adding it? :)
>>
>> The GoogleTech talk has inspired me to start hacking into the source 
>> code a bit and contributing back. As a baby step, I'm thinking about 
>> modifying the column view to display custom date formats for the date 
>> column. Any pointers on getting me going on this?
>>
>> Thanks mucho,
>> Jose
>>
>>> But
>>>
>>>>
>>>>
>>>> Also if it'd be possible to sort the column view based on that 
>>>> column's contents it'd be great. That way, all the tasks will be 
>>>> sorted based on the time of the day that the task has been 
>>>> scheduled for. I guess I'm trying to use the column view similar to 
>>>> the time grid.
>>>
>>> This does not make sense becaue column view still uses the outline 
>>> structure of your file.  Why don't you just use the agenda or a 
>>> timeline view for this?
>>>
>>> - Carsten
>>>
>>>>
>>>>
>>>> Not sure if others' sort of planning methodology would benefit from 
>>>> this or not. I'm open to other ideas  that folks may feel is more 
>>>> efficient for achieving this as well.
>>>>
>>>> Thanks,
>>>> Jose
>>>> _______________________________________________
>>>> Emacs-orgmode mailing list
>>>> Remember: use `Reply All' to send replies to the list.
>>>> Emacs-orgmode@gnu.org <mailto:Emacs-orgmode@gnu.org>
>>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> 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
>>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   

[-- Attachment #1.2: Type: text/html, Size: 5341 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] 9+ messages in thread

* Re: Feature Request: property for the time part of a timestamp.
  2008-07-27 13:03       ` Jose Robins
@ 2008-07-27 15:06         ` Carsten Dominik
  2008-07-27 15:19           ` Jose Robins
  0 siblings, 1 reply; 9+ messages in thread
From: Carsten Dominik @ 2008-07-27 15:06 UTC (permalink / raw)
  To: Jose Robins; +Cc: org-mode


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

Hi Robin, the function must return the string that you'd like to have  
inserted as the value in the column.  For example, to get the time,  
use something like (untested)

(defun my-org-column-cleaner (title value)
    (cond
      ((equal title "TIME")
       (if (and value (>= (length value) 20))
           (substring value 15 20)
          nil ; there was no value, or it was a short string
          ))
       (t nil)))
(setq org-columns-modify-value-for-display-function 'my-org-column- 
cleaner)

HTH

- Carsten

On Jul 27, 2008, at 6:03 AM, Jose Robins wrote:

> Hi Carsten,
> Thank you so much. Here is a dumb question. What is the return value  
> datatype and the value for the function? Right now I'm running  
> edebug to trace what is going on there to figure this out....
>
> Thanks,
> Jose
>
> Carsten Dominik wrote:
>>
>> If you get the latest git version,  take a look at the variable
>> `org-columns-modify-value-for-display-function'.
>>
>> HTH
>>
>> - Carsten
>>
>> On Jul 25, 2008, at 5:33 AM, Jose Robins wrote:
>>
>>>
>>>
>>> Carsten Dominik wrote:
>>>>
>>>> Hi Robin,
>>>>
>>>> On Jul 23, 2008, at 9:57 AM, Jose Robins wrote:
>>>>
>>>>> I've been extensively using column mode in the agenda buffer to  
>>>>> plan my day/week. I have columns set up for scheduled and  
>>>>> deadline. However, I was wondering if it'd be possible to expose  
>>>>> just the "time" part of the scheduled timestamp as a property so  
>>>>> that I could have a column for the time part of the timestamp  
>>>>> (without the date). This would allow one to look @ the daily  
>>>>> agenda and schedule time for tasks with just that column without  
>>>>> bothering about the date (after all I'm already in today's  
>>>>> agenda; so there is no need to see the date).
>>>>
>>>> This would in principle be possible of course, basically a filter  
>>>> when displaying the column.
>>> Hi Carsten,
>>> Would this filter be something that would be done on the source  
>>> end? If so, would you consider adding it? :)
>>>
>>> The GoogleTech talk has inspired me to start hacking into the  
>>> source code a bit and contributing back. As a baby step, I'm  
>>> thinking about modifying the column view to display custom date  
>>> formats for the date column. Any pointers on getting me going on  
>>> this?
>>>
>>> Thanks mucho,
>>> Jose
>>>
>>>> But
>>>>
>>>>>
>>>>>
>>>>> Also if it'd be possible to sort the column view based on that  
>>>>> column's contents it'd be great. That way, all the tasks will be  
>>>>> sorted based on the time of the day that the task has been  
>>>>> scheduled for. I guess I'm trying to use the column view similar  
>>>>> to the time grid.
>>>>
>>>> This does not make sense becaue column view still uses the  
>>>> outline structure of your file.  Why don't you just use the  
>>>> agenda or a timeline view for this?
>>>>
>>>> - Carsten
>>>>
>>>>>
>>>>>
>>>>> Not sure if others' sort of planning methodology would benefit  
>>>>> from this or not. I'm open to other ideas  that folks may feel  
>>>>> is more efficient for achieving this as well.
>>>>>
>>>>> Thanks,
>>>>> Jose
>>>>> _______________________________________________
>>>>> 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
>>>>
>>>> _______________________________________________
>>>> 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
>>>>
>>
>>
>> _______________________________________________
>> 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
>>


[-- Attachment #1.2: Type: text/html, Size: 6242 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] 9+ messages in thread

* Re: Feature Request: property for the time part of a timestamp.
  2008-07-27 15:06         ` Carsten Dominik
@ 2008-07-27 15:19           ` Jose Robins
  0 siblings, 0 replies; 9+ messages in thread
From: Jose Robins @ 2008-07-27 15:19 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: org-mode


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

Hi Carsten,
Works beautifully! Thanks!!!!

Jose

Carsten Dominik wrote:
> Hi Robin, the function must return the string that you'd like to have 
> inserted as the value in the column.  For example, to get the time, 
> use something like (untested)
>
> (defun my-org-column-cleaner (title value)
>    (cond
>      ((equal title "TIME")
>       (if (and value (>= (length value) 20))
>           (substring value 15 20)
>          nil ; there was no value, or it was a short string
>          ))
>       (t nil)))
> (setq org-columns-modify-value-for-display-function 
> 'my-org-column-cleaner)
>
> HTH
>
> - Carsten
>
> On Jul 27, 2008, at 6:03 AM, Jose Robins wrote:
>
>> Hi Carsten,
>> Thank you so much. Here is a dumb question. What is the return value 
>> datatype and the value for the function? Right now I'm running edebug 
>> to trace what is going on there to figure this out....
>>
>> Thanks,
>> Jose
>>
>> Carsten Dominik wrote:
>>> If you get the latest git version,  take a look at the variable
>>> `org-columns-modify-value-for-display-function'.
>>>
>>> HTH
>>>
>>> - Carsten
>>>
>>> On Jul 25, 2008, at 5:33 AM, Jose Robins wrote:
>>>
>>>>
>>>>
>>>> Carsten Dominik wrote:
>>>>> Hi Robin,
>>>>>
>>>>> On Jul 23, 2008, at 9:57 AM, Jose Robins wrote:
>>>>>
>>>>>> I've been extensively using column mode in the agenda buffer to 
>>>>>> plan my day/week. I have columns set up for scheduled and 
>>>>>> deadline. However, I was wondering if it'd be possible to expose 
>>>>>> just the "time" part of the scheduled timestamp as a property so 
>>>>>> that I could have a column for the time part of the timestamp 
>>>>>> (without the date). This would allow one to look @ the daily 
>>>>>> agenda and schedule time for tasks with just that column without 
>>>>>> bothering about the date (after all I'm already in today's 
>>>>>> agenda; so there is no need to see the date).
>>>>>
>>>>> This would in principle be possible of course, basically a filter 
>>>>> when displaying the column.
>>>> Hi Carsten,
>>>> Would this filter be something that would be done on the source 
>>>> end? If so, would you consider adding it? :)
>>>>
>>>> The GoogleTech talk has inspired me to start hacking into the 
>>>> source code a bit and contributing back. As a baby step, I'm 
>>>> thinking about modifying the column view to display custom date 
>>>> formats for the date column. Any pointers on getting me going on this?
>>>>
>>>> Thanks mucho,
>>>> Jose
>>>>
>>>>> But
>>>>>
>>>>>>
>>>>>>
>>>>>> Also if it'd be possible to sort the column view based on that 
>>>>>> column's contents it'd be great. That way, all the tasks will be 
>>>>>> sorted based on the time of the day that the task has been 
>>>>>> scheduled for. I guess I'm trying to use the column view similar 
>>>>>> to the time grid.
>>>>>
>>>>> This does not make sense becaue column view still uses the outline 
>>>>> structure of your file.  Why don't you just use the agenda or a 
>>>>> timeline view for this?
>>>>>
>>>>> - Carsten
>>>>>
>>>>>>
>>>>>>
>>>>>> Not sure if others' sort of planning methodology would benefit 
>>>>>> from this or not. I'm open to other ideas  that folks may feel is 
>>>>>> more efficient for achieving this as well.
>>>>>>
>>>>>> Thanks,
>>>>>> Jose
>>>>>> _______________________________________________
>>>>>> Emacs-orgmode mailing list
>>>>>> Remember: use `Reply All' to send replies to the list.
>>>>>> Emacs-orgmode@gnu.org <mailto:Emacs-orgmode@gnu.org>
>>>>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>>>>
>>>>> ------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> 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
>>>>>   
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> 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
>>>   
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   

[-- Attachment #1.2: Type: text/html, Size: 7508 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] 9+ messages in thread

end of thread, other threads:[~2008-07-27 15:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-23 16:57 Feature Request: property for the time part of a timestamp Jose Robins
2008-07-23 17:16 ` Carsten Dominik
2008-07-23 18:10   ` Jose Robins
2008-07-25 12:33   ` Jose Robins
2008-07-25 14:24     ` Carsten Dominik
2008-07-26  0:07     ` Carsten Dominik
2008-07-27 13:03       ` Jose Robins
2008-07-27 15:06         ` Carsten Dominik
2008-07-27 15:19           ` Jose Robins

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).