emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] lots of CLOCK lines displayed when opening a TODO


From: Leo Ufimtsev
Subject: Re: [O] lots of CLOCK lines displayed when opening a TODO
Date: Thu, 12 Mar 2015 10:12:09 -0400 (EDT)

>> (org-drawers
>>    (quote
>>     ("FURTHER_READING" "THEORY" "TASKS" "INFO" "TIP" "NOTE" "EG" "LINKS" 
>> "APPENDIX" "DETAILS" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "TASKARCHIVE" 
>> "SOURCE" "TROUBLESHOOTING")))

>OMG ! All of them are used ?
:-D,  I need to consolidate some of those. Many are left overs from the distant 
past. 


My todo list is publicly viewable:
leoufimtsev.github.io./org/dev.org

But below might be a more "typical" task.  
You might notice that most of my time stamps are ~30mins long. That's because I 
work in 30 minute time blocks (like pomodoro with 5 mins extra).
I use org-pomodoro with some customizations (e.g notifications upon completion, 
stop/continue functionality etc..). 


I then have a 'last week' report that shows me what I've done the week before 
so I can use that to make my weekly reports.
#+BEGIN: clocktable  :tstart "<-6d>" :tend "<now>" :scope agenda-with-archives 
:narrow 85 :formatter my-org-clocktable-notodo :maxlevel 3 :fileskip0

|---------+---------------------------------------------------------------------------------------+---------+-------+------|
| dev.org | *File time*                                                         
                  | *15:29* |       |      |
|         | Dev                                                                 
                  |   12:55 |       |      |
......
#+END:
(the formatter function trims out 'TODO' keywords). 




*** HOLD [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=461616][Bug 461616 – 
{GTK3} Combo improvements in background/foreground for gtk3]]
SCHEDULED: <2015-03-23 Mon>
:LOGBOOK:  
- Note taken on [2015-03-11 Wed 12:38] \\
  changed bits as per Alex's comments. Awaiting Alex approval.
CLOCK: [2015-03-11 Wed 11:57]--[2015-03-11 Wed 12:27] =>  0:30
CLOCK: [2015-03-11 Wed 11:48]--[2015-03-11 Wed 11:49] =>  0:01
- Note taken on [2015-03-10 Tue 14:25] \\
  awaiting review by alex.
CLOCK: [2015-03-10 Tue 13:45]--[2015-03-10 Tue 14:15] =>  0:30
CLOCK: [2015-03-10 Tue 11:59]--[2015-03-10 Tue 12:29] =>  0:30
CLOCK: [2015-03-10 Tue 11:25]--[2015-03-10 Tue 11:55] =>  0:30
CLOCK: [2015-03-09 Mon 16:52]--[2015-03-09 Mon 17:41] =>  0:49
CLOCK: [2015-03-09 Mon 16:01]--[2015-03-09 Mon 16:35] =>  0:34
CLOCK: [2015-03-09 Mon 15:21]--[2015-03-09 Mon 15:51] =>  0:30
CLOCK: [2015-03-09 Mon 14:33]--[2015-03-09 Mon 15:03] =>  0:30
CLOCK: [2015-03-09 Mon 11:50]--[2015-03-09 Mon 12:52] =>  1:02
CLOCK: [2015-03-09 Mon 11:11]--[2015-03-09 Mon 11:41] =>  0:30
CLOCK: [2015-03-06 Fri 16:31]--[2015-03-06 Fri 17:01] =>  0:30
CLOCK: [2015-03-06 Fri 14:19]--[2015-03-06 Fri 14:49] =>  0:30
CLOCK: [2015-03-06 Fri 13:45]--[2015-03-06 Fri 14:15] =>  0:30
CLOCK: [2015-03-06 Fri 10:53]--[2015-03-06 Fri 12:56] =>  2:03
CLOCK: [2015-03-05 Thu 16:43]--[2015-03-05 Thu 17:30] =>  0:47
CLOCK: [2015-03-05 Thu 16:01]--[2015-03-05 Thu 16:31] =>  0:30
CLOCK: [2015-03-05 Thu 14:25]--[2015-03-05 Thu 15:00] =>  0:35
CLOCK: [2015-03-05 Thu 12:43]--[2015-03-05 Thu 13:13] =>  0:30
CLOCK: [2015-03-05 Thu 12:12]--[2015-03-05 Thu 12:42] =>  0:30
CLOCK: [2015-03-05 Thu 11:56]--[2015-03-05 Thu 12:04] =>  0:08
CLOCK: [2015-03-05 Thu 11:11]--[2015-03-05 Thu 11:41] =>  0:30
CLOCK: [2015-03-04 Wed 16:01]--[2015-03-04 Wed 16:07] =>  0:06
CLOCK: [2015-03-04 Wed 15:35]--[2015-03-04 Wed 15:37] =>  0:02
CLOCK: [2015-03-04 Wed 15:07]--[2015-03-04 Wed 15:35] =>  0:28
CLOCK: [2015-03-04 Wed 13:47]--[2015-03-04 Wed 14:17] =>  0:30
CLOCK: [2015-03-04 Wed 12:35]--[2015-03-04 Wed 13:04] =>  0:29
:END:      
:PROPERTIES:
:Effort:   4:00
:END:      
- [X] Write/find test cases.
  - Info: Test_*Control : test_setForeground... tests bits.
   :DETAILS:
#+BEGIN_SRC java
        Color color = new Color(control.getDisplay(), 255, 0, 0);
        control.setForeground(color);
        assertEquals(color, control.getForeground());
        control.setForeground(null);
        assertTrue(!control.getForeground().equals(color));
        color.dispose();
#+END_SRC 
:END:
- [X] change the setForeground method so that it doesn't use gdkcolor. 
  - [X] either an if/else gtk3 block, or refer to widget's implementation.
- [X] Add color test cases to combo's junit test suite.
- [-] fix background color error on Junit on GTK3.
  - [-] Looks on gtk3:
    - [X] Before my change:
      - [X] SWT.NONE   [[./img/img_2015_03_05__16_17_00.png]] (entries are not 
colored) Backgrounds don't match. 
      - [X] SWT.READ_ONLY   [[./img/img_2015_03_05__16_19_45.png]] (entries not 
coloured) Backgrounds match.
    - [ ] After my fix:
      ....

- [X] Try to make all g_object_set functinos dynamic. 
  - [X] Try to find other dynamic functions that are overloaded. 
  - [X] overload all g_object_set. *didn't work*
    - [X] inspect os.c

- Investigate if backgruonds match in GTK2 before my fix.

- [X] Add custom g_object_set_gtk3 Function to os_custom.h and os_custom.c that 
translates to GdkRGBA
  - [X] Added swt_custom_leo_function to os_custom.c and os_custom.h
        that works differently depending on os. 
  - [X] Write custom g_object_set_gtk3 function that does translation.


 
- [X] investigate pre-launch warning messages?
  - [X] Seem to occur. Try running snippet without printing messages.

- [X] pass criteria:
  - [X] All text is red on gtk2/gtk3. 

- [ ] weed out PRE_GTK3 and styleIsReadOnly








Let me know if you have any questions.


Leo Ufimtsev | Intern Software Engineer @ Eclipse Team

----- Original Message -----
From: "Xavier Maillard" <address@hidden>
To: "Leo Ufimtsev" <address@hidden>
Cc: "Rainer Stengele" <address@hidden>, address@hidden
Sent: Thursday, March 12, 2015 1:47:32 AM
Subject: Re: [O] lots of CLOCK lines displayed when opening a TODO

Hello Leo,

Leo Ufimtsev <address@hidden> writes:

> I log everything into the logbook. Clocktimes, state changes, dated notes 
> when I put an item on hold.
> I found it too tedious to move things around.

Would you mind producing a "typical" TODO to see how it looks like ?
This is a topic where I am not (yet) very comfortable with. I tend to
put notes and so on here and there in my TODOs and my todo list is
slowly going crappy :)

> (org-drawers
>    (quote
>     ("FURTHER_READING" "THEORY" "TASKS" "INFO" "TIP" "NOTE" "EG" "LINKS" 
> "APPENDIX" "DETAILS" "PROPERTIES" "CLOCK" "LOGBOOK" "RESULTS" "TASKARCHIVE" 
> "SOURCE" "TROUBLESHOOTING")))

OMG ! All of them are used ?

Regards
-- Xavier.



reply via email to

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