Commit Graph

93 Commits

Author SHA1 Message Date
Daniel - 35518929d3
[Timeline] Cosmetics 2018-07-31 16:04:20 +02:00
Daniel - 4a93f1218a
[Timeline] Allow jumping to headlines in corresponding org-mode files 2018-07-31 16:04:05 +02:00
Daniel - ffa06f0ee3
[Timeline] Use org-modes parser to parse headlines
The headline will now also have a property called ’marker, pointing to the
corresponding headline in the org-mode file
2018-07-31 16:03:29 +02:00
Daniel - 1acc866b76
[Timeline] Allow interactive skipping of short entries 2018-07-31 14:35:58 +02:00
Daniel - 2eeb057122
[Timeline] Don’t make time formats customizable
One can overwrite them using standard dynamic binding.
2018-07-31 14:13:12 +02:00
Daniel - 8f0549d5d3
[Timeline] Use a proper way to increase a supplied date by one day
Courtesy of http://sachachua.com/blog/2015/08/org-mode-date-arithmetic/
2018-07-31 14:10:12 +02:00
Daniel - 023a14f8e7
[Timeline] Don’t do filtering anymore
Instead draw lines when the category changes.
2018-07-31 14:09:56 +02:00
Daniel - ddded41c7a
[Timeline] Change time formats when displaying only one day
There is no use in displaying the whole date when it’s clear that we are only
looking at one day.  Thus, only hours and minutes are shown for start and end
times now.  To make the headline still useful, a new time format has been
introduced.
2018-07-31 14:07:56 +02:00
Daniel - 003051ab24
[Timeline] Truncate start and end times 2018-07-31 14:07:20 +02:00
Daniel - e587855fe3
[Timeline] Allow re-parsing the current timeline
Will update the category cache of all relevant files before redrawing the
current timeline.
2018-06-29 21:22:09 +02:00
Daniel - c4508fcca0
[Timeline] Enable quitting the current window 2018-06-29 21:21:50 +02:00
Daniel - 5503d13183
[Timeline] Major rewrite
- Add major mode
- Add simple keybindings
- Add possibility to move forward and backward by one day
2018-04-30 19:30:24 +02:00
Daniel - 8d5f7fbe0b
[Timeline] Enable hl-mode and select buffer on display 2018-04-30 16:55:58 +02:00
Daniel - b55dbfa9d3
[Timeline] More abstraction 2018-02-19 12:58:50 +01:00
Daniel - 034e342040
[Timeline] Update name for function to retrieve markers 2018-02-19 12:57:15 +01:00
Daniel - 4e208f9d13
[Timeline] Enable undo in display buffer
Had been enabled some time back, but somehow got lost in between …
2018-02-19 12:41:13 +01:00
Daniel - 2a94f343da
[Timeline] Additionally cluster before skipping short entries
Thus consecutive short entries of the same category don’t get deleted.
2018-02-19 12:19:48 +01:00
Daniel - 7d2e41ac01
[Timeline] Entries now always have lists of markers
This removes a special case and thus makes handling easier.
2018-02-19 12:19:05 +01:00
Daniel - 7918f82876
[Timeline] Minor comments 2018-02-19 12:11:36 +01:00
Daniel - 9edfeb2cbc
[Timeline] Minor comment update 2018-02-19 10:41:43 +01:00
Daniel - e64a2c9183
[Timeline] More abstraction 2018-02-19 10:41:37 +01:00
Daniel - dd4a7433d2
[Timeline] Minor formatting 2018-02-19 10:21:42 +01:00
Daniel - 55827f5d6c
[Timeline] Add some abstraction 2018-02-19 10:21:35 +01:00
Daniel - 5d446edd29
[Timeline] Retrieve category from archive, too 2018-02-19 10:20:57 +01:00
Daniel - 6fd381f020
[Timeline] Include archives 2018-01-27 12:11:59 +01:00
Daniel - 54a2edb223
[Timeline] Don’t stack ‘car’ and ‘cdr’ too much
For clarity and sanity.
2018-01-24 21:09:26 +01:00
Daniel - eebf3f0e35
[Timeline] Beautify test on including the current clockline 2018-01-24 21:05:11 +01:00
Daniel - d011ce0422
[Timeline] Barf if no clocklines can be found in given range 2018-01-24 20:55:10 +01:00
Daniel - d6e79dcf2d
[Timeline] Use ‘org-time-string-to-seconds’
instead of longer version using ‘org-parse-time-string’.
2018-01-24 20:54:48 +01:00
Daniel - fe1a509acf
[Timeline] Don’t use ‘cl’
Lot’s of ‘car’s and ‘cdr’s now!
2018-01-24 20:50:04 +01:00
Daniel - 0a5dc32b98
[Timeline] Add missing case when looking for clocklines in range
Missed case where there is only one clockline covering the whole requested
range.
2018-01-24 20:48:57 +01:00
Daniel - e7ab32951b
[Timeline] Require ‘cl’ 2018-01-24 19:29:24 +01:00
Daniel - 88a20aff5f
[Timeline] Minor updates 2018-01-21 19:48:12 +01:00
Daniel - 50b7cf2653
[Timeline] Make filtering when formatting customizable 2018-01-21 19:15:33 +01:00
Daniel - 35c9ccbc4d
[Timeline] Make more clear that we keep some headlines as they are 2018-01-21 19:04:10 +01:00
Daniel - f59d687620
[Timeline] Make format of inactive timestamps into global variables 2018-01-21 19:00:14 +01:00
Daniel - a21bc3bc70
[Timeline] Use ‘cl-assert’ instead of ‘assert’ 2018-01-21 19:00:05 +01:00
Daniel - 90f6201c87
[Timeline] Continue refactoring 2018-01-21 18:51:30 +01:00
Daniel - 78480d5fae
[Timeline] More refactoring 2018-01-21 18:47:11 +01:00
Daniel - cbaf589c53
[Timeline] Renaming functions 2018-01-21 18:38:22 +01:00
Daniel - 8ce8182529
[Timeline] Expand TODO in Commentary 2018-01-21 18:37:55 +01:00
Daniel - 574d62e2b3
[Timeline] Incorporating suggestions from flycheck 2018-01-21 18:28:36 +01:00
Daniel - caa13eb1d3
[Timeline] Moving timeline code into separate package 2018-01-21 18:07:04 +01:00