From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Ufimtsev Subject: Re: lots of CLOCK lines displayed when opening a TODO Date: Thu, 12 Mar 2015 10:12:09 -0400 (EDT) Message-ID: <776285585.20509925.1426169529129.JavaMail.zimbra@redhat.com> References: <1101087058.16663516.1425568262844.JavaMail.zimbra@redhat.com> <86ioe6ephn.fsf@kcals2.maillard.im> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW3qQ-0004nS-Ov for emacs-orgmode@gnu.org; Thu, 12 Mar 2015 10:12:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YW3qN-0000Sf-IH for emacs-orgmode@gnu.org; Thu, 12 Mar 2015 10:12:14 -0400 Received: from mx5-phx2.redhat.com ([209.132.183.37]:51901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW3qN-0000SW-A8 for emacs-orgmode@gnu.org; Thu, 12 Mar 2015 10:12:11 -0400 In-Reply-To: <86ioe6ephn.fsf@kcals2.maillard.im> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xavier Maillard Cc: Rainer Stengele , emacs-orgmode@gnu.org >> (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 dis= tant past.=20 My todo list is publicly viewable: leoufimtsev.github.io./org/dev.org But below might be a more "typical" task. =20 You might notice that most of my time stamps are ~30mins long. That's becau= se I work in 30 minute time blocks (like pomodoro with 5 mins extra). I use org-pomodoro with some customizations (e.g notifications upon complet= ion, stop/continue functionality etc..).=20 I then have a 'last week' report that shows me what I've done the week befo= re so I can use that to make my weekly reports. #+BEGIN: clocktable :tstart "<-6d>" :tend "" :scope agenda-with-archi= ves :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).=20 *** HOLD [[https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D461616][Bug 4616= 16 =E2=80=93 {GTK3} Combo improvements in background/foreground for gtk3]] SCHEDULED: <2015-03-23 Mon> :LOGBOOK: =20 - 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] =3D> 0:30 CLOCK: [2015-03-11 Wed 11:48]--[2015-03-11 Wed 11:49] =3D> 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] =3D> 0:30 CLOCK: [2015-03-10 Tue 11:59]--[2015-03-10 Tue 12:29] =3D> 0:30 CLOCK: [2015-03-10 Tue 11:25]--[2015-03-10 Tue 11:55] =3D> 0:30 CLOCK: [2015-03-09 Mon 16:52]--[2015-03-09 Mon 17:41] =3D> 0:49 CLOCK: [2015-03-09 Mon 16:01]--[2015-03-09 Mon 16:35] =3D> 0:34 CLOCK: [2015-03-09 Mon 15:21]--[2015-03-09 Mon 15:51] =3D> 0:30 CLOCK: [2015-03-09 Mon 14:33]--[2015-03-09 Mon 15:03] =3D> 0:30 CLOCK: [2015-03-09 Mon 11:50]--[2015-03-09 Mon 12:52] =3D> 1:02 CLOCK: [2015-03-09 Mon 11:11]--[2015-03-09 Mon 11:41] =3D> 0:30 CLOCK: [2015-03-06 Fri 16:31]--[2015-03-06 Fri 17:01] =3D> 0:30 CLOCK: [2015-03-06 Fri 14:19]--[2015-03-06 Fri 14:49] =3D> 0:30 CLOCK: [2015-03-06 Fri 13:45]--[2015-03-06 Fri 14:15] =3D> 0:30 CLOCK: [2015-03-06 Fri 10:53]--[2015-03-06 Fri 12:56] =3D> 2:03 CLOCK: [2015-03-05 Thu 16:43]--[2015-03-05 Thu 17:30] =3D> 0:47 CLOCK: [2015-03-05 Thu 16:01]--[2015-03-05 Thu 16:31] =3D> 0:30 CLOCK: [2015-03-05 Thu 14:25]--[2015-03-05 Thu 15:00] =3D> 0:35 CLOCK: [2015-03-05 Thu 12:43]--[2015-03-05 Thu 13:13] =3D> 0:30 CLOCK: [2015-03-05 Thu 12:12]--[2015-03-05 Thu 12:42] =3D> 0:30 CLOCK: [2015-03-05 Thu 11:56]--[2015-03-05 Thu 12:04] =3D> 0:08 CLOCK: [2015-03-05 Thu 11:11]--[2015-03-05 Thu 11:41] =3D> 0:30 CLOCK: [2015-03-04 Wed 16:01]--[2015-03-04 Wed 16:07] =3D> 0:06 CLOCK: [2015-03-04 Wed 15:35]--[2015-03-04 Wed 15:37] =3D> 0:02 CLOCK: [2015-03-04 Wed 15:07]--[2015-03-04 Wed 15:35] =3D> 0:28 CLOCK: [2015-03-04 Wed 13:47]--[2015-03-04 Wed 14:17] =3D> 0:30 CLOCK: [2015-03-04 Wed 12:35]--[2015-03-04 Wed 13:04] =3D> 0:29 :END: =20 :PROPERTIES: :Effort: 4:00 :END: =20 - [X] Write/find test cases. - Info: Test_*Control : test_setForeground... tests bits. :DETAILS: #+BEGIN_SRC java =09Color color =3D new Color(control.getDisplay(), 255, 0, 0); =09control.setForeground(color); =09assertEquals(color, control.getForeground()); =09control.setForeground(null); =09assertTrue(!control.getForeground().equals(color)); =09color.dispose(); #+END_SRC=20 :END: - [X] change the setForeground method so that it doesn't use gdkcolor.=20 - [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.=20 - [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.=20 - [X] Try to find other dynamic functions that are overloaded.=20 - [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.=20 - [X] Write custom g_object_set_gtk3 function that does translation. =20 - [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.=20 - [ ] 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" To: "Leo Ufimtsev" Cc: "Rainer Stengele" , emacs-orgmode@gnu.org 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 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.