Commit Graph

230 Commits

Author SHA1 Message Date
Daniel - c8d5bb24e1
[Org] Skip short slots in timeline formatting 2018-01-07 17:17:09 +01:00
Daniel - 463d7c1532
[Org] Cluster entries of timeline by category 2018-01-07 16:34:49 +01:00
Daniel - 0d2e773d9d
[Org] Function stub for merging clock lines into existing file
unfinished.
2018-01-01 15:35:34 +01:00
Daniel - 0d982d66d5
[Org] Ignore scheduled items in SOMEWHEN list 2018-01-01 15:34:51 +01:00
Daniel - 8cf1afc64c
[Org] Add timestamps for notes 2018-01-01 15:34:40 +01:00
Daniel - 34e639ac98
[Org] Refactor ‘db/org-clocking-time-in-range’
This function now uses the more general ‘db/org-map-clock-lines-and-entries’,
which is also going to be used by the future ‘db/org-add-clock-line-to-file’ (or
similar).
2017-12-16 10:42:23 +01:00
Daniel - 1f00baadde
[Org] Remove obsolete comment 2017-12-16 10:41:46 +01:00
Daniel - adc1cac590
[Org] Remove unused ‘db/org-agenda-add-clocking-time’ 2017-12-15 21:46:14 +01:00
Daniel - 28c6ae47a1
[Org] make ‘db/org-add-clocking-time’ take two arguments 2017-12-15 21:45:50 +01:00
Daniel - 942c4a99dd
[Org] Don’t use UTC when converting time for reporting 2017-12-04 19:05:41 +01:00
Daniel - 54e6e242e3
[Org] Update type parameters for OneNote links
Untested.
2017-12-03 10:21:45 +01:00
Daniel - 58c786c251
[Org] Update and fix docstrings for reporting 2017-12-03 10:17:47 +01:00
Daniel - 5d347b1112
[Org] Use ‘sort’ instead of ‘cl-sort’
Should be equally fast, and is simpler.
2017-12-03 10:17:19 +01:00
Daniel - 62a2154d28
[Org] Fix typo in variable names 2017-12-03 10:16:13 +01:00
Daniel - 4273dfeb41
[Org] Revert ‘db/org-timeline-in-range’ to mostly imperative style
This mostly reverts 1192dc21, as it’s much clearer now what is going on, imho.

(btw: the commit message of 1192dc21 should have started with "More"
instead of "Move", duh!)
2017-12-03 10:07:58 +01:00
Daniel - 096989ee33
[Org] Use ‘org-read-date’ to query dates for reporting 2017-12-03 09:59:23 +01:00
Daniel - 53e81f252e
[Org] Another attempt to fix condition on current clock 2017-12-03 09:47:36 +01:00
Daniel - 41a57ecd96
[Org] Fix condition on when to include the current clock during reporting 2017-12-03 09:27:36 +01:00
Daniel - 17b5d9fecb
[Misc] Add lexical binding to all files 2017-12-03 09:19:05 +01:00
Daniel - 979f7af136
[Org] Clarify docstring for reporting function 2017-12-02 22:06:16 +01:00
Daniel - 1715a0412a
[Org] Remove redundant comma 2017-12-02 22:01:53 +01:00
Daniel - 5a68daa8e3
[Org] Adapt report formatting 2017-12-02 21:57:45 +01:00
Daniel - 1b6018dd84
[Org] Report for today ends 23:61 2017-12-02 21:57:28 +01:00
Daniel - c76c7e3fd7
[Org] Some meta-comment on reporting 2017-12-02 21:57:12 +01:00
Daniel - 984777fdc2
[Org] When no date is given, default to today 2017-12-02 21:49:50 +01:00
Daniel - bc08f185fd
[Org] Fix some bugs in the reporting functions 2017-12-02 21:48:57 +01:00
Daniel - afb474d44c
[Org] Add convenience function to format report for a particular day 2017-12-02 21:27:34 +01:00
Daniel - bdf7209032
[Org] Fix formatting of ‘db/org-format-timeline’ 2017-12-02 21:21:05 +01:00
Daniel - 24da327c2e
[Org] Show category instead of duration when reporting 2017-12-02 21:17:07 +01:00
Daniel - 1192dc2cb8
[Org] Move functional style for reporting function
Doesn’t mean it’s more comprehensible now, though …
2017-12-02 21:11:41 +01:00
Daniel - e95ca2da9a
[Org] Add markers to reporting function
In this way, more information can be extracted from the actual formatting
functions.
2017-12-02 20:55:14 +01:00
Daniel - 599e6d41b8
[Org] Add reporting function for timelines 2017-12-02 20:00:58 +01:00
Daniel - 6fea7a228d
[Org] Add auxiliary functions for reporting 2017-12-02 18:49:21 +01:00
Daniel - 850880ce5d
[Org] Don’t eval source blocks on export 2017-11-14 14:59:31 +01:00
Daniel - eb01e9f154
[Org] Don’t split lines on M-RET 2017-11-13 20:45:36 +01:00
Daniel - 9501f6b4ac
[Org] Reformatting some comments 2017-11-11 09:36:38 +01:00
Daniel - 5cdc0068c8
[Org] Remove empty strings from ‘org-agenda-files’ before exporting diary
Empty strings in the variable ‘org-agenda-files’ cause exporting of the current
buffer, because "" is treated by ‘org-agenda-files’ (the function).  This
results in ID properties generated in the current buffer, if this happens to be
an org-mode buffer currently selected at the time of export.
2017-11-11 09:36:00 +01:00
Daniel - 6d4d519aab
[Org] Clock time again for taking notes 2017-11-06 21:30:57 +01:00
Daniel - 9db7801fe6
[Org] Move ‘org-agenda-prefix-format’ to custom.el 2017-11-06 21:28:06 +01:00
Daniel - 11a467de51
[Org] Shortcut for noting down abbreviations 2017-11-04 11:32:15 +01:00
Daniel - edcce1d692
[Org] Add custom link for OneNote files 2017-11-04 11:17:45 +01:00
Daniel - bcac4afc03
[Org] Don’t use too large numbers in clock consistency checks
They could get too large and could be automatically converted to floats then,
resulting in strange errors.
2017-10-30 20:04:45 +01:00
Daniel - c67bfe2e17
[Org] File handlers for usual Windows file extensions 2017-10-30 20:04:04 +01:00
Daniel - 305c358ca9
[Org] Fix misplaced require when exporting calendar 2017-10-29 22:27:38 +01:00
Daniel - 5747361df6
[Org] Remove obsolete code from agenda custom command 2017-10-28 14:31:17 +02:00
Daniel - 8ce78e4c47
[Org] Use different face for broken links 2017-10-28 14:29:07 +02:00
Daniel - fdcbeebcb8
[Org] Fix bug when initializing custom agenda files 2017-10-28 09:43:28 +02:00
Daniel - ad27f96943
[Org] Update agenda files when changing customizations 2017-10-27 21:14:26 +02:00
Daniel - d515b9480d
[Org] Generalize export of org-mode calendar to ics
The location to which the calendar will be exported is not taken from the
customized value of ‘org-icalendar-combined-agenda-file’, which is not fixed
anymore in the configuration.  If this variable is not set (i.e. nil), the no
exporting is done.
2017-10-21 09:02:46 +02:00
Daniel - b5397920eb
[Org] Open directories in emacs itself
Finally!
2017-10-20 17:59:16 +02:00
Daniel - e49a3e3236
[Misc] Moving path specifications to custom.el 2017-10-17 22:09:53 +02:00
Daniel - 9768bc4580
[Org] Replace obsolete variable ‘org-time-clocksum-format’ with ‘org-duration-format’ 2017-10-17 18:30:42 +02:00
Daniel - b3151704de
[Org] Fix issue of ‘nil’ file names when exporting diary 2017-10-08 16:33:43 +02:00
Daniel - eccf84d6b0
[Org] Don’t show file name of currently running clock 2017-10-01 16:02:20 +02:00
Daniel - 5a06066324
[Org] Don’t clock in for notes anymore 2017-09-30 21:55:19 +02:00
Daniel - 2bfc90a9b7
Revert "[Org] No shortcut for break task needed anymore"
This reverts commit 9bc0cdffec.
2017-09-15 17:47:37 +02:00
Daniel - af8eb47675
[Org] Don’t set default values for main org-mode files 2017-09-15 17:47:30 +02:00
Daniel - 2712e8747b
[Org] Improve setting of `org-agenda-files' 2017-09-15 17:45:19 +02:00
Daniel - 9bc0cdffec
[Org] No shortcut for break task needed anymore 2017-09-08 17:45:09 +02:00
Daniel - f72acff3b1
[Org] Setting task ids in main init file now 2017-09-02 13:34:22 +02:00
Daniel - 7ce608cffe
[Org] Fix keybinding 2017-09-02 13:34:09 +02:00
Daniel - f27c078041
[Org] Include time of current task in clock-report again 2017-09-02 13:33:57 +02:00
Daniel - ffb1ae14d5
[Org] Don’t show sublevels in SOMEHOW list 2017-08-26 11:39:00 +02:00
Daniel - 20b9df0ff0
[Org] Extend functionality to manually add clock line 2017-08-26 11:38:44 +02:00
Daniel - fce3b088a8
[Org] Update capture templates 2017-08-14 20:36:18 +02:00
Daniel - 5b3a895cab
[Org] Restructure configuration
In particular, put clock persistence variables in correct order, and do not
include currently running clock task in clock report table anymore.
2017-08-14 08:18:55 +02:00
Daniel - 0ec7e34399
[Org] Don’t transfer org agenda appointments to appt 2017-08-12 11:33:14 +02:00
Daniel - f3c05d630d
[Org] Simplify resetting of checkboxes
Now there is no need to depend on ‘org-plus-contrib’ anymore :D
2017-08-12 11:25:04 +02:00
Daniel - c0aceb0e33
[Org] No .pl suffix for Perl scripts anymore 2017-08-11 09:07:19 +02:00
Daniel - 2fae149331
[Org] Don’t use tag inheritance in SOMEWHEN list 2017-08-11 09:07:03 +02:00
Daniel - 4b55df875e
[Org] Move hydra to ‘db-org’ 2017-08-06 13:56:14 +02:00
Daniel - 6ea314923f
[Org] Moving files around 2017-08-04 22:08:43 +02:00
Daniel - 1162a67ad4
[Org] Minor update of capture templates 2017-07-31 13:21:24 +02:00
Daniel - de0233d7cb
[Org] Don’t use habits anymore 2017-07-27 13:48:21 +02:00
Daniel - f9acbdcecc
[Misc] Snapshot 2017-07-27 13:08:18 +02:00
Daniel - 7e8396140b
[Org] Delete DATE tag when marking an appointment done 2017-07-27 13:06:54 +02:00
Daniel - b171594761
[Misc] Snapshot 2017-07-22 19:16:18 +02:00
Daniel - d064577b59
[Org] Minor beautifications 2017-07-18 18:14:58 +02:00
Daniel - 75f15b29fb
[Org] Capture template for past interruptions 2017-07-18 18:14:53 +02:00
Daniel - 2ecb388724
Initial commit 2017-07-16 18:07:00 +02:00