Commit Graph

1726 Commits

Author SHA1 Message Date
Daniel - 137bafeb0b
Remove bookmark management from personal project utilities
I stopped using project diaries some time ago, so let's get rid of this
functinality.
2022-10-16 20:56:28 +02:00
Daniel - 4997f21bec
Do not recenter Org agenda after refreshing
This advice is experimental.  It should actually not move point, but after
executing `org-agenda-redo-all`, point is at the first position of the buffer.
Further investigation necessary.
2022-10-15 17:05:05 +02:00
Daniel - 548ba2c61b
Ignore native compile cache 2022-10-13 20:26:45 +02:00
Daniel - 93fee67983
Remove obsolete eshell magit command
Just use `magit` directly, eshell understands this.
2022-10-13 17:22:31 +02:00
Daniel - 0c84493abc
Do not include TEMPLATE in inserted checklists
References to item at point contained in templates are usually not meant to be
considered manually, but just to automatically insert backreferences.
2022-10-09 11:36:43 +02:00
Daniel - 754e22dc77
Update function name and docstring for Org template copy function
We are now not merely copying a template from another item, but more abstractly
insert a checklist consisting of backlinks and a template.  Update docstring and
function name to reflect that, but keep the old name of `db/org-copy-template`
as an obsolete alias.
2022-10-09 11:22:36 +02:00
Daniel - 564990a1af
Automatically add backlinks when copying templates
Experimental

Backlinks are an integral part of the checklist for the item at point, so why
not include them per default?

Copying is for now done unconditionally and without any customization.  If those
will turn out necessary, then they will be added later.
2022-10-09 10:25:39 +02:00
Daniel - 393a683db4
Ignore session.* files
Seem to come with Emacs 28.2?
2022-10-09 09:56:46 +02:00
Daniel - 799f1be1f6
Remove obsolete template copying functions
Everything is now covered by `db/org-copy-template`.
2022-10-09 09:56:09 +02:00
Daniel - 7169a6b83e
Allow general org-read-date syntax in workload overview report
This is already allowed by the docstring, but now also supported by calling
`org-read-date` on the original inputs (if given).
2022-10-07 15:45:53 +02:00
Daniel - 047627c6ac
Allow no start date in workload overview report
This is different from the previous default start date of today, as now all past
items will also be considered.  Additionally, also include the start date (or
today, if not given) to be included in the result table to show all efforts
still left for that day.
2022-10-07 15:42:02 +02:00
Daniel - e1123a8205
Sort TOPICs in project agenda according to global settings
Removed accidentally overwritten sorting startegy.
2022-10-07 15:21:47 +02:00
Daniel - bc3ab8b901
Fix template copy mechanism when template is in other buffer
Forgot to switch buffer when marker in other buffer is given.
2022-10-03 10:11:17 +02:00
Daniel - 12b001221c
Fix workload report in case of time range with individual timestamps
Simply replacing the first and last characters of a timestampt with `[` and `]`
is not sufficient when a time range is given with a start timestamp and an end
timestamp, because then the result would be something like `[2022-09-30 Fri
08:00>--<2022-09-30 Fri 09:00]`.  So let's replace all `<` with `[` and all `>`
with `]`, just to be save.
2022-09-30 14:54:30 +02:00
Daniel - 4308f2e8a5
Do not indent TOPIC overview
Assuming that items above TOPICs are also always TOPICs turned out to be wrong,
and an indented display is thus misleading at best.
2022-09-25 15:23:06 +02:00
Daniel - befcf95d1f
Include deadlines in agenda time grid effort summary
When deadlines are listed on the time grid because they are due, their effort
should also be considered in the effort summary, shouldn't it?
2022-09-23 15:47:45 +02:00
Daniel - 9b1e12a94c
Include deadlines in main agenda view when they are due 2022-09-23 07:28:15 +02:00
Daniel - a5969f6ab3
Add note to Org item when refiling
Nice add-on would be to automatically add a link to the new parent when
refiling, so that I can find all (former and current) sub-items by searching for
backlinks.  This does not seem to be supported out of the box, is it?
2022-09-22 09:35:56 +02:00
Daniel - f4f69b34c7
Add first version of workload overview report
This report will list the incremental planned workload between a given time
range using a given increment.  This way, one may better at finding time to
schedule new tasks coming in.

The current implementation might be slow, because it's calling a complete
parsing process for each step in the overview report.  One could instead think
about calling it only once and then disecting the individual tasks for when they
are planned specifically.  But before we dive in these complications, let's
frist see whether the report is worth it.
2022-09-17 10:17:25 +02:00
Daniel - 5396c7c37f
Fix typo in workload report timestamp extraction 2022-09-15 10:22:27 +02:00
Daniel - 8e534045d2
Explicitly activate some text-mode-hooks in Org mode
Apparently, text-mode-hooks are not run in Org mode?  So let's add them
explicitly.
2022-09-11 18:34:03 +02:00
Daniel - a339cbf75b
Move up list of task to be continued
This should emphasize the usage of this list as a shortlist of tasks to do next.
2022-09-10 16:04:32 +02:00
Daniel - e66c0d59ee
Reorder some global hooks 2022-09-10 13:56:26 +02:00
Daniel - 88a60e29cf
Add references to issues in org-ql
This should allow to remove those workarounds as soon as the corresponding
issues are fixed upstream.
2022-09-10 10:16:13 +02:00
Daniel - 257c2c815d
Convert active timestamps in workload report into inactive ones
Otherwise, agenda views get mixed up.
2022-09-10 09:55:55 +02:00
Daniel - e5bad8b847
Allow entries in workload report to be sorted 2022-09-10 09:40:32 +02:00
Daniel - 735570d7c0
Include various timestamps in workload report
This should make it easier to decide which entries could be moved in case too
much work is planned for the upcoming days.
2022-09-10 09:25:37 +02:00
Daniel - cbd088977e
Update docstring for workload report 2022-09-10 09:17:41 +02:00
Daniel - 9b4f15f69a
Do not unconditionally enable subword-mode in prog-mode
In most of the languages I use this is futile.  Just enable it in individual
modes instead.
2022-09-10 09:14:20 +02:00
Daniel - 2e895a23fa
Allow nil dates in workload report to ignore those constraints
Emacs Lisp is fun :)
2022-09-10 09:12:02 +02:00
Daniel - 2616693233
Allow custom org-ql filter expression in workload report
Nice!
2022-09-08 18:37:42 +02:00
Daniel - a8fee5f044
Add temporary fix for org-ql not recognizing timestamps with range 2022-09-07 18:40:12 +02:00
Daniel - 5ab5ec6aec
Format links in workload report to not include links themselves
Standard.
2022-09-07 18:06:36 +02:00
Daniel - 88a0d85006
Handle unset efforts in workload report 2022-09-07 17:41:09 +02:00
Daniel - 2e09ef6c9e
Add workload report functionality
This special kind of dynamic block inserts all planned tasks between two dates
and sums up it's efforts.  This could help in deciding what additional tasks to
accept or what dates to promise for completion of new tasks.
2022-09-06 18:34:12 +02:00
Daniel - 950e700d6e
Enable proper display of page feed also for text-mode
Why not?
2022-09-04 11:05:31 +02:00
Daniel - 8b97b092c4
Allow to customize whether the eshell prompt contains the git state
Since all of this is slow on Windows, it's better to be able to disable it.

Sigh.
2022-08-31 18:43:35 +02:00
Daniel - 2b7960d427
Do not rely on / file separator in eshell git prompt 2022-08-30 19:09:10 +02:00
Daniel - 263d1af073
Try to avoid eshell git prompt calls when inside a git directory
Not sure whether this is really the right way to do it.
2022-08-30 19:06:32 +02:00
Daniel - 437ce6daff
Fix errors in eshell prompt function
To determine whether a merge is in progress, do not check in the current
directory for .git/MERGE_HEAD, but do this in the repository directory.

When computing `base-dir`, take the whole non-directory part, not just the
basename; otherwise directories like .emacs.d will get the final `.d` get
stripped off.
2022-08-30 18:51:29 +02:00
Daniel - 584480bd53
Add state information to eshell git prompt 2022-08-29 18:59:06 +02:00
Daniel - 4e25b535ca
Fix search logic when jumping to first non-finished checkbox
Also stay put when no open checkbox is found, i.e., do not move to the end of
the subtree.
2022-08-29 17:58:02 +02:00
Daniel - 5479efabee
Add function to jump to first open checkbox in subtree
Still needs a nice key binding.
2022-08-28 19:07:51 +02:00
Daniel - 63a03f0038
Remove some unnecessary empty lines in capture templates 2022-08-28 10:12:43 +02:00
Daniel - c174080d4a
Restyle git branch information in eshell prompt
Just an idea.
2022-08-27 16:38:55 +02:00
Daniel - 925a55de1e
Include base directory of current git repository in eshell prompt
This allows to see of which git repository the current working directory is part
of.

This is also included in Howard Abrams configuration, but he instead determines
the name of the current git repository by looking at `remote.origin.url`.
However, my upstream branch is not always called `origin`, and sometimes there
is no upstream repository at all.  Using the name of the current directory (not
the whole path, though) instead seems to be a good compromise from my point of
view.
2022-08-27 16:17:14 +02:00
Daniel - a6f876d4f4
Add name of current git branch to eshell prompt
Inspired by configuration from Howard Abrams, see
https://github.com/howardabrams/dot-files/blob/master/emacs-eshell.org#special-prompt.
2022-08-27 15:57:59 +02:00
Daniel - 2d3efbb7c0
Do not remove tags in Org agenda view by default
I think those tags are valuable information for the agenda, let's try this out.
2022-08-21 20:07:09 +02:00
Daniel - a496ef9734
Add function to retrieve password from Org item by ID
This function is experimental and may need to be extended to search for IDs in a
specific password file that are is not necessarily a member of
`org-agenda-files`.
2022-08-19 20:34:10 +02:00
Daniel - f064305a07
Show Org-roam buffer as side buffer
This is nice to continuously show backlinks when browsing notes.
2022-08-15 18:52:25 +02:00