Commit Graph

571 Commits

Author SHA1 Message Date
Daniel - 46400826eb
[EShell] Don’t barf if git commands cannot be found 2018-01-24 19:29:42 +01:00
Daniel - e7ab32951b
[Timeline] Require ‘cl’ 2018-01-24 19:29:24 +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 - 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 - 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 - 18dd29d7e2
[Misc] Remove some more byte compiler warnings 2018-01-16 18:20:24 +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 - 7fbc7f0217
[EShell] Don’t truncate buffer
The hook was wrong anyway.
2018-01-14 10:47:18 +01:00
Daniel - 60a3675d3e
[Misc] Use ‘with-editor’ in eshell and shell 2018-01-14 10:10:18 +01:00
Daniel - fa0fb98291
[Org] Cosmetics 2018-01-13 18:29: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 - 62ae309381
[Misc] Enable lispy in ‘eval-expression’ and the like only if loaded beforehand 2018-01-13 14:19:12 +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 - 53142f5b1e
[EMMS] Show compose even if performer is not known 2017-12-17 14:33:28 +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 - eb67f79be6
[Themes] Add dark and light theme 2017-12-02 13:11:02 +01:00
Daniel - 4bae941b44
[Utils] Only show important document with prefix arg 2017-11-25 20:45:59 +01:00
Daniel - 3a51420a7c
[Utils] Minor simplification 2017-11-20 20:20:47 +01:00
Daniel - 04ab68b09d
[Utils] Dual converter for ascii to hex 2017-11-20 19:52:39 +01:00
Daniel - a1c29009ac
[Utils] Swapping lines for better readability 2017-11-18 15:14:09 +01:00
Daniel - 5377524830
[Utils] Make hex converter and ntp converter interactive
Not quite sure whether this is the right way to do it, though.
2017-11-18 11:25:55 +01:00
Daniel - 888c505f88
[Utils] Add function to convert NTP packets to human-readable time 2017-11-18 11:11:48 +01:00
Daniel - f85b40e2bb
[Utils] Minor cleanup 2017-11-18 11:11:37 +01:00
Daniel - 654abfe842
[Utils] Add little helper to convert hex to ascii 2017-11-16 19:32:56 +01:00
Daniel - 1f6a142a29
[Utils] Minor cleanup 2017-11-14 16:41:40 +01:00
Daniel - 850880ce5d
[Org] Don’t eval source blocks on export 2017-11-14 14:59:31 +01:00
Daniel - ec9510e24b
[EMMS] Try to eliminate recursive ‘require’ 2017-11-14 14:59:13 +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 - 139862d66d
[Misc] Introduce variable ‘on-windows’
to increase readability
2017-11-11 09:06:41 +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 - 48c2acde0e
[Helm] Allow specifying separate handler for helm shortcuts 2017-10-30 20:03:42 +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 - cd8e7ccd74
[Helm] Unify naming of sources 2017-10-27 21:57:27 +02:00
Daniel - 0803cd9abb
[Helm] Expand ‘db/important-documents-path’ before removing it 2017-10-27 21:57:02 +02:00
Daniel - 9b8c2ca7a7
[Helm] Add missing require 2017-10-27 21:54:20 +02:00
Daniel - 1ab91897e3
[Misc] Remove obsolete ical2org.el 2017-10-27 21:51:16 +02:00
Daniel - e048a01f83
[Helm] Give path for important documents sensible default 2017-10-27 21:48:46 +02:00
Daniel - ac10e90871
[Helm] Make personal shortcut more customizable 2017-10-27 21:46:50 +02:00
Daniel - ad27f96943
[Org] Update agenda files when changing customizations 2017-10-27 21:14:26 +02:00
Daniel - df224c099e
[Helm] Allow to call ‘find-file’ in helm shortcut 2017-10-27 20:53:37 +02:00
Daniel - 26e44b1d55
[Helm] Speed up recursive directory traversal in helm shortcut
By copying and adapting the code of ‘directory-files-recursively’
2017-10-27 20:47:34 +02:00
Daniel - 5403911bc0
[Helm] Adapt heading of section for important files in shortcut 2017-10-27 19:56:21 +02:00
Daniel - ca6d10fdd5
[Helm] Don’t show hidden files in shortcuts
Dump solution, but still …
2017-10-27 19:54:33 +02:00
Daniel - 9098d675b4
[Helm] Remove accidentally duplicated code
How could this happen?  Maybe I’m too tired already …
2017-10-27 19:44:36 +02:00
Daniel - 874e66d9d4
[Helm] Add bookmark management to helm shortcuts 2017-10-27 19:42:50 +02:00
Daniel - c2401e33eb
[Helm] Add listing of important files
Path to important files can be customized.
2017-10-27 19:39:45 +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 - e9870a7ce7
[Helm] Require ‘helm-files’ instead of ‘helm-x-files’ 2017-10-05 18:27:49 +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 - 6cfd4ddd8d
[LaTeX] Use evince as default, ‘pdf-tools’ if loaded 2017-09-30 17:45:06 +02:00
Daniel - 027b652bfd
[Helm] Fix custom program shortcut 2017-09-22 18:57:14 +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 - da1e3d8cec
[Private] Don’t use symlinks, adjust load-path instead
This eliminates the need for symlinks, and thus also works under Windows.
2017-09-14 19:35:21 +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 - 41c5e8bb1b
[LaTeX] electric-pair-mode disabled
Does not play well with AUCTeX, need to investigate further.
2017-09-02 13:33:21 +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 - 2265f89bad
[EMMS] Simplify description of current track 2017-08-26 11:38:20 +02:00
Daniel - 2cd264d7ef
[EMMS] Remove common prefix from tracks with not metadata 2017-08-18 17:43:45 +02:00
Daniel - 979d1284a7
[LaTeX] Disable electric pair mode only locally 2017-08-18 16:42:35 +02:00
Daniel - fce3b088a8
[Org] Update capture templates 2017-08-14 20:36:18 +02:00
Daniel - 1cff76f65c
[EMMS] Use mediainfo program to extract media metadata 2017-08-14 20:36:04 +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 - 173d4c8caa
[TeX] Disable ‘electric-pair-mode’ 2017-08-12 00:03:26 +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 - 813d1134ac
[EMMS] Don’t use fixed playlist
play everything instead.
2017-08-11 09:06:42 +02:00
Daniel - 30ffd149f6
[LaTeX] Refactor configuration into separate module 2017-08-06 22:18:09 +02:00
Daniel - f4c8a00a28
[EShell] Move configuration to dedicated package
Not clear whether this is a good idea, though.
2017-08-06 14:08:25 +02:00
Daniel - 4b55df875e
[Org] Move hydra to ‘db-org’ 2017-08-06 13:56:14 +02:00
Daniel - 23fe89a421
[EMMS] Fix flycheck warnings 2017-08-06 13:03:43 +02:00
Daniel - efad33d752
[EMMS] Minor fixes 2017-08-06 12:49:34 +02:00
Daniel - 75599362bd
[EMMS] Refactoring configuration into separate file 2017-08-06 12:45:37 +02:00
Daniel - 2f959b5a4a
[Org] Adapting path 2017-08-05 17:35:46 +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 - 8c41362312
[Dired] Update ‘dired-jump-to-top’
Since we are excluding ‘.’ and ‘..’ now, jumping to the first line needs to be
updated.
2017-07-23 12:02:57 +02:00
Daniel - f7bb731b2f
[Helm] Fixing missing require for ‘db/helm-shortcuts’
Not quite sure whether it is necessary, but it seems to help.  A proper
understanding would be more reassuring, though.
2017-07-22 19:16:22 +02:00
Daniel - b171594761
[Misc] Snapshot 2017-07-22 19:16:18 +02:00
Daniel - dcabf1f8d9
[Misc] Snapshot 2017-07-21 15:02:22 +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 - 63d5ae7ce8
[Helm] Minor fix for ‘db/helm-shortcuts’
Don’t know why it makes a difference, but apparently it does.
2017-07-16 22:42:57 +02:00
Daniel - 6ea382f2f6
[Misc] Fixing link to private data 2017-07-16 18:28:11 +02:00
Daniel - 2ecb388724
Initial commit 2017-07-16 18:07:00 +02:00