Commit Graph

193 Commits

Author SHA1 Message Date
Daniel - 0583c08cda
Move Org Mode utilities to `db-org'
`db-utils', the original place, is used for general purpose utility functions.
2020-06-26 23:21:37 +02:00
Daniel - 755fb23e2b
Replace `org-get-tags-at' by 'org-get-tags' 2020-06-26 22:17:25 +02:00
Daniel - b2709c0187
Add missing require for `db-org' 2020-06-26 22:07:14 +02:00
Daniel - 1cad9cc186
Remove obsolete `db/cmp-date-property' function 2020-06-26 22:00:18 +02:00
Daniel - 336ee9d7c4
Incorporate some suggestions from the byte compiler 2020-06-26 21:59:25 +02:00
Daniel - bec4bc13a2
Add new PERIODIC tag for recurring tasks
As described in [1], we are sometimes representing recurring tasks as lists of
single tasks plus a recurring task to create new instances once in a while.  All
of this is grouped under a common headline, and those headlines should be marked
with PERIODIC to inhibit automatic clock-in.

[1]: https://karl-voit.at/2017/01/15/org-clone-subtree-with-time-shift/
2020-01-31 10:41:08 +01:00
Daniel - 38f7fd7c88
Move some more custom org mode link handlers to `db-org'
This is where they belong, nowhere else.
2020-01-19 17:21:14 +01:00
Daniel - c566908deb
Let the org mode RFC link handler cache its documents
RFC documents do not change over time.  The custom org mode link handler
`db/org-rfc-open' now makes use of this by downloading RFC documents to
`db/rfc-cache-path' (if defined) and opening the files locally.  If
`db/rfc-cache-path' is not defined, the RFC is opened in an external browser as
before.

This allows to keep a selection of used RFC documents locally on the filesystem
for future reference, without the need to retrieve them again from the IETF.

Since this is all org mode related, the handler now also resides in `db-org'
instead of `db-utils'.
2020-01-19 17:17:47 +01:00
Daniel - 6f856c61b6
Properly declare ignored variable 2020-01-05 14:42:13 +01:00
Daniel - 243e579973
Check whether special org-mode files are included in agenda when displaying it 2020-01-05 13:36:37 +01:00
Daniel - ec83430a70
Remove `db-update-org-agenda-files'
It's not used anymore and won't ever work as intended.
2020-01-05 13:06:50 +01:00
Daniel - 5627da7b42
Simplify output 2020-01-05 12:18:33 +01:00
Daniel - 541940d7dc
Fix glitch in custom setter for `org-agenda-file' 2020-01-05 12:17:37 +01:00
Daniel - e234912180
Inline `org-agenda-file-to-front'
This allows to use the value for the new file directly, instead of opening a
buffer for it.
2020-01-05 12:10:31 +01:00
Daniel - cf14629099
Remove obsolete debugging output 2020-01-05 11:57:43 +01:00
Daniel - bd65533b97
Update custom setter for special org agenda files
The setter will now complain if the file to be added to `org-agenda-files' does
not exist and is not readable.  It also now uses the proper functions from `org'
to update `org-agenda-files'.
2020-01-05 11:56:05 +01:00
Daniel - e63356ad06
Add descriptions to clocking hydra 2019-12-20 15:17:05 +01:00
Daniel - 2bc02703eb
[Org] Change title of all active frames when entering new task 2019-12-05 17:09:49 +01:00
Daniel - 44e6818abb
[Org] Provide function to set frame title from current clock 2019-08-31 11:26:04 +02:00
Daniel - ff06cddaba
[Music] Move shortcut to play automatic playlists to EMMS hydra
This is the right place.
2019-06-10 09:39:52 +02:00
Daniel - 016fbf3c10
[Org] Extend functionality to insert past interruptions
For this a new function ‘timeline-tools-clockline-no-org-agenda-conflicts’ as
been added that reads in a clock line (start and end times), updates all org
agenda files to fix conflicting clock lines, and returns the string of the new
clock line.  This works for all complete clock lines (i.e., those with end
times), but not for open clock lines (i.e., those missing an end timestamp).
2019-02-16 14:06:25 +01:00
Daniel - ff276c1316
[Org] Remove duplicates when updating ‘org-agenda-files’ 2019-02-10 20:13:49 +01:00
Daniel - 25ec604019
[Org] Change the way ‘org-agenda-files’ is set
Up to now, ‘org-agenda-files’ only consisted of the four variables customizable
in init.el, namly ‘db/org-default-work-file’, ‘db/org-default-home-file’,
‘db/org-default-notes-file’, and ‘db/org-default-refile-file’.  However, this
meant that no *additional* agenda files were possible, like including multiple
files for notes.  This should not be the case any longer.
2019-02-09 17:39:12 +01:00
Daniel - 83c1dfbed1
[Org] Simplify ‘db/make-org-capture-frame’ 2018-11-18 16:57:16 +01:00
Daniel - 5b64a89943
[Org] Code to make frame for spontaneous capturing 2018-11-18 16:39:43 +01:00
Daniel - 3459213765
[Org] Add simple check for ‘db/clock-in-by-task-id’ 2018-11-18 16:00:13 +01:00
Daniel - b11c63c49e
[Org] Clean up code for main hydra 2018-11-18 16:00:04 +01:00
Daniel - f6c7a408db
[Misc] Remove db-emacsclient.el and distribute functions to other files 2018-11-18 15:37:58 +01:00
Daniel - fe6cd4677b
[Org] Update brief documentation of db-org 2018-11-03 11:38:42 +01:00
Daniel - f8c2d0b441
[Org] Move org-capture configuration to init.el 2018-11-03 11:37:31 +01:00
Daniel - ec35b0edae
[Org] Make sure org-clock is loaded when using the org-clock hydra 2018-11-03 11:31:36 +01:00
Daniel - bfe12ddc24
[Org] Move require for org-download to init.el 2018-11-03 11:19:16 +01:00
Daniel - bef85cbdc5
[Org] Move hook for resetting checkboxes to init.el 2018-11-03 11:19:02 +01:00
Daniel - f510d73ae7
[Org] Move (small) Babel config to init.el 2018-11-03 11:18:40 +01:00
Daniel - d82d1550c6
[Org] Move hack for tag search to init.el 2018-11-03 11:18:22 +01:00
Daniel - 37273353c7
[Org] Move main variable definitions to init.el 2018-11-03 11:15:37 +01:00
Daniel - b8b6842e56
[Org] Move Agenda customization to init.el
some minor other configurations moved to init.el, too.
2018-11-03 10:59:41 +01:00
Daniel - 782dd9b8c1
[Org] Rename function to save current org task to file
That.
2018-11-03 10:30:47 +01:00
Daniel - 00934a6bec
[Org] Move helper functions back to db-org
New approach: all custom helper functions go to db-org, and all actual
configuration will move to init.el (someday).
2018-11-03 10:28:49 +01:00
Daniel - a8d79c52f5
[Org] Beautifications 2018-11-03 09:45:09 +01:00
Daniel - 8d07f1c197
[Org] Move some keybinding to init.el 2018-11-03 09:45:00 +01:00
Daniel - f0a2383b7a
[Org] Restructure configuration for org mode clocking
Moved most of the code to init.el, and some helper functions to the
corresponding hydra in db-org.el (this is the only place where they are used).
2018-11-03 09:44:52 +01:00
Daniel - f96329c4b6
[Org] Readd accidentally remove hyrda for org mode clocking 2018-11-03 09:05:01 +01:00
Daniel - f10ea83cef
[Org] Remove some obsolete or duplicate configuration 2018-11-02 20:28:39 +01:00
Daniel - 54f8492a33
[Org] Restructuring configuration
- Moving some package declarations to init.el
- Moving calendar export function to ‘db-utils’
2018-11-02 20:24:16 +01:00
Daniel - 06c427aba3
[Misc] Make most variable settings in init.el customizable
This is achieved by moving the variable definitions to use-packages’ :init
blocks, and allowing ‘db/run-init’ to override these definitions by calling
‘load-file’ on custom.el afterwards.

Also inlined some definitions from my custom.el file back into init.el
2018-11-02 18:17:51 +01:00
Daniel - e73c4d0596
[Org] Include diary in agenda view 2018-10-31 13:51:39 +01:00
Daniel - 73c2162b22
[Org] Fix bug in fix for ‘org-cached-entry-get’
and I thought it worked backed then, don’t know what I had tested …
2018-10-21 09:44:58 +02:00
Daniel - 93fc26e426
[Org] Remove old diary file before exporting new one 2018-10-07 19:19:33 +02:00
Daniel - f1a5c46f55
[Org] Explicitly specify cursor position in capture pattern 2018-09-12 17:08:51 +02:00