Commit Graph

276 Commits

Author SHA1 Message Date
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
Daniel - c48bb8d3da
[Org] Hack: don’t read all properties of an entry when asking only for one 2018-09-12 17:08:28 +02:00
Daniel - 7b611873a1
[Org] Some minor modifications in babel configuration 2018-09-09 11:43:24 +02:00
Daniel - de1b42a34d
[Org] Settings for listings package also for beamer 2018-09-09 10:59:46 +02:00
Daniel - 479a797a88
[Org] Trying some color in LaTeX export
Not there yet, but close
2018-09-08 21:44:04 +02:00
Daniel - 7dbf97b54a
[Org] Further improving LaTeX export settings 2018-09-08 21:36:15 +02:00
Daniel - acd3962f4c
[Org] Some default settings for the listings package 2018-09-08 13:16:20 +02:00
Daniel - 473ac32147
[Org] Use ‘lualatex’ as default 2018-09-08 13:16:17 +02:00
Daniel - bebcee23fa
[Org] No postamble in HTML export 2018-09-08 10:30:39 +02:00
Daniel - ecab60562e
[Org] Restructuring export settings 2018-09-08 10:27:02 +02:00
Daniel - 67b1290088
[Org] Update docstring for function capturing code snippets 2018-08-18 16:34:00 +02:00
Daniel - b6bb05eb3f
[Org] Neat capture template for code snippets
from http://ul.io/nb/2018/04/30/better-code-snippets-with-org-capture/, inspired
by http://irreal.org/blog/?p=7207.
2018-08-18 16:18:14 +02:00
Daniel - 6ab52f11ed
[Misc] Almost exclusively use ‘with-eval-after-load’
instead of ‘eval-after-load’.
2018-08-15 21:12:42 +02:00
Daniel - e8a8781a78
[Org] Update file-apps for default M$ programs 2018-08-15 17:54:50 +02:00
Daniel - 4a2acf28fc
[Org] Fix error in file-app default for Cygwin 2018-08-15 17:51:59 +02:00
Daniel - 9b45215f7a
[Org] Don’t make NOP inherited when looking for stuck projects
This is a major change in the semantics of this tag: NOP now does not designated
whole projects anymore, but only headlines that should not considered by
themselves as projects.  Consequently, sub-headlines of NOP-tagged headlines can
by projects on their own, and also show up as stuck projects if they are so.
2018-08-15 17:49:27 +02:00
Daniel - 4975dab897
[Org] Don’t give up on broken links when exporting 2018-08-14 19:50:36 +02:00
Daniel - 68c235b3d0
[Org] Allow current buffer as additional refile target 2018-08-14 19:50:25 +02:00
Daniel - 78fb2e2860
[Org] Update ‘org-file-apps‘ for Cygwin 2018-08-14 19:50:10 +02:00
Daniel - d5215d60be
[Org] Enable more LaTeX classes 2018-08-09 21:34:28 +02:00
Daniel - d0a98c9c6a
[Org] Move Hy Babel code to ‘db-org’ 2018-08-04 12:32:54 +02:00
Daniel - d8bf5b3e9e
[Org] Add export by pandoc 2018-08-01 16:28:37 +02:00
Daniel - 09c1d2c37c
[Org] Moving loading of hydra to more sensible place 2018-07-31 21:01:18 +02:00
Daniel - ca7f632e4b
[Org] Remove iCal support 2018-07-31 20:57:04 +02:00
Daniel - 3419d456dc
[Org] Moving some code around 2018-07-31 20:55:59 +02:00
Daniel - c6d05cea7b
[Org] Capture template for plain bookmarks 2018-07-08 13:13:28 +02:00
Daniel - 000397e932
[Org] Don’t treat _ and ^ special without braces 2018-07-08 13:13:13 +02:00
Daniel - 4c1afc9baf
[Org] New defaults for opening Microsoft documents 2018-07-06 19:37:15 +02:00
Daniel - 12136f699a
[Org] Minor rework of ox integration 2018-05-05 20:41:49 +02:00
Daniel - 3189a3a0b1
[Org] Don’t delete diary before export
The original use case, namely an underlying git-annex repository in indirect
mode, has now been changed into an (experimental) v6 git-annex repository.
Let’s see how this works out.
2018-03-25 20:59:58 +02:00
Daniel - e235e9993c
[Org] Show deadlines even if scheduled
To not lose track of them
2018-03-25 20:59:27 +02:00
Daniel - 805c94a1b6
[Org] Don’t be too strict on exporting diary 2018-03-17 11:39:46 +01:00
Daniel - b517c17535
[Org] Additional checking when exporting diary 2018-03-17 11:11:37 +01:00
Daniel - df1fdd16cc
[Org] Delete ‘org-icalendar-combined-agenda-file’ before exporting diary 2018-03-04 14:52:32 +01:00
Daniel - 4c7102eb2d
[Org] Capture notes into default refile file 2018-03-03 10:56:55 +01:00
Daniel - 1aacffa2e8
[Org] Try out ‘org-download’ 2018-02-22 16:43:54 +01:00
Daniel - c77155dd63
[Org] Fix implementation for OneNote-Links 2018-02-14 22:26:29 +01:00
Daniel - c14f45d186
[Org] Exclude refiling targets with DONE states
Copied from http://doc.norang.ca/org-mode.html#Refiling
2018-02-14 22:06:42 +01:00
Daniel - 2943a7a4b9
[Org] Fix spec for stuck projects 2018-02-04 18:14:30 +01:00
Daniel - 7a9961a253
[Org] Don’t ask so much for meetings 2018-01-23 17:51:00 +01:00
Daniel - 31e1c64037
[Org] Use ‘cl-equalp’ instead of ‘equalp’ 2018-01-23 17:50:23 +01:00
Daniel - 8fd665b954
[Org] Comments and TODOs 2018-01-21 18:12:48 +01:00
Daniel - caa13eb1d3
[Timeline] Moving timeline code into separate package 2018-01-21 18:07:04 +01:00
Daniel - 3787cef333
Merge branch 'db/org-merger'
Conflicts:
	site-lisp/db-org.el
	site-lisp/db-utils.el
2018-01-21 16:19:04 +01:00
Daniel - 2d9b54104c
[Org] Highlight some latex syntax 2018-01-21 16:12:55 +01:00
Daniel - b790d98977
[Org] Functions to copy clock lines from one task to another 2018-01-21 16:10:21 +01:00
Daniel - 74a26b4d5a
[Org] Change API of function to add clock lines to task
Instead of resolving an ID, this function now gets a marker designating the task
where the provided clock line should go to.
2018-01-21 16:09:27 +01:00
Daniel - 08927fd0ee
[Org] Fix reformatting function for bank csv files 2018-01-21 14:55:58 +01:00
Daniel - 9e32733014
[Misc] Even more silencing 2018-01-16 18:30:59 +01:00
Daniel - 55e3c0ab8f
[Org] Avoid some byte compiler warnings 2018-01-16 17:55:15 +01:00
Daniel - 925bb90dee
[Org] Don’t set symbol for ellipsis explicitly
Let’s use customize for this.
2018-01-16 17:40:56 +01:00
Daniel - 0bbaf4b62b
[Org] Change time representation for ‘db/org-add-clock-line-to-file’ 2018-01-13 18:29:37 +01:00
Daniel - 766b12e4e3
[Org] Updating documentation for clock line mapping function 2018-01-13 18:29:13 +01:00
Daniel - f1ae359a35
[Utils] Move org-mode utils to ‘db-org.el’
and do some minor beautifications.
2018-01-13 14:25:05 +01:00
Daniel - 375e39dd35
[Org] Simplification 2018-01-13 14:07:20 +01:00
Daniel - 2a6c40d446
[Org] Minor formatting 2018-01-13 14:07:13 +01:00
Daniel - 2c8d8ddaf1
[Org] Save point and mark when inserting new clock lines 2018-01-13 14:07:09 +01:00
Daniel - 2fcc4c4685
[Org] Cleaing up code on manipulating clock lines 2018-01-13 13:06:31 +01:00
Daniel - 0fa88c141f
[Org] First working version of clock line inserter 2018-01-13 12:51:08 +01:00
Daniel - fab318d5dc
[Org] Rearrange code for manually inserting new clock lines 2018-01-13 12:50:50 +01:00
Daniel - b81a152d42
[Org] Keep point and mark when iterating over clock lines and headlines 2018-01-13 12:49:43 +01:00
Daniel - 64c4f231bd
[Org] Update docstring for timeline formatter 2018-01-07 17:28:42 +01:00
Daniel - 3d283d600f
[Org] Add customization for timeline reporting 2018-01-07 17:28:20 +01:00
Daniel - e4893fe52e
[Org] Minor changes for main timeline formatting function 2018-01-07 17:17:54 +01:00
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