Commit Graph

2287 Commits

Author SHA1 Message Date
7309cee413
Insert active concurrent DATE entries when inserting checklist
Those DATE entries may be relevant to the item at hand.

Caveat: the query to determine active, concurrent DATE entries is not
quite right yet, two disjoint time ranges that do not include today but
cover the past and the future would also be considered as concurrent
active date.  This needs to be fixed.
2024-07-06 13:50:33 +02:00
94187697e6
Remove checklist entry for relevant backlinks when there are none
The original motivation to keep this entry was to signify that backlinks
where searched for, but none where found.  However, I now think that it
is enough to just rely on the code to search for relevant backlinks, and
where there are none, to just print nothing.
2024-07-06 12:51:51 +02:00
2318ffa199
Add handling for ledger errors when converting to Org tables 2024-07-06 12:03:46 +02:00
fb6bb224cb
Use helpful.el also for describing symbols
Forgot this binding.
2024-07-06 11:52:24 +02:00
7d75bae3ed
Hide drawers when jumping to current clock via custom function
Open drawers confuse me.
2024-07-06 09:42:32 +02:00
0acc0687ea
Save bookmarks added with custom handlers
I am saving bookmarks anyway, so why not do it automatically.
2024-07-06 09:18:31 +02:00
0b82dd1945
Extend regular expression to remove cookie when inserting Org links
This should also catch the empty cookies `[/]` and `[%]` now.
2024-07-06 09:15:52 +02:00
6f4baa885e
Conduct a bit of refactoring for ledger to Org table converter 2024-07-01 20:52:40 +02:00
e7c08b088d
Introduce helper function to format Ledger CLI output as Org table
This function is ideal, but it's doing the job.  It can be used to
format output of calls to ledger as follows:

    #+begin_src emacs-lisp :results value raw table
    (db/ledger-cli-to-org-table-list
     (concat "ledger -f finance.ledger "
             "--period monthly --depth 2 "
             "--display 'd >= [2024-07-01]' "
             "--empty "
             "lisp ^Expense"))
    #+end_src
2024-07-01 20:11:40 +02:00
4714e0d0df
Remove workaround to match range timestamps in Org QL
https://github.com/alphapapa/org-ql/pull/237 has been merged in 0.8.7,
so there should be no need anymore for my workaround.
2024-06-30 12:32:42 +02:00
583a5dea91
Introduce helpful.el 2024-06-30 10:23:28 +02:00
ea6ef8ef63
Ensure hydra is installed 2024-06-30 10:23:19 +02:00
a2840cc003
Exclude near deadlines from main task backlog
Those items are shown in the “Deadlines” section anyway, there is no
need to duplicate them in the task backlog.
2024-06-27 21:01:46 +02:00
583ddabeaa
Do not require pyvenv to be installed
It's not that crucial to be anymore.
2024-06-27 12:05:29 +02:00
bca13ec9f2
Use more telling name for setting up git commit buffers
There is no mode here, just a call to `git-commit-setup`.
2024-06-27 11:15:40 +02:00
e84b4fb825
Ensure org-password-manager only checks for properties when in Org
This surpresses warnings like

> Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer *Org Agenda*> (org-agenda-mode)

among others.
2024-06-19 16:45:01 +02:00
f196d6e808
Show bookmarks before important files
I access bookmarks far more often than the list of local important
files, so let's skip the usual `C-o` hazzle and have bookmarks right
under point when available.
2024-06-17 16:20:42 +02:00
028dc91f28
Insert current clock when capturing simple tasks
This is more reasonable than inserting a link to the current location of
point, which can be quite arbitrary (at least in my workflow).  When a
link to the item at point is needed, it should be inserted manually.
2024-06-13 21:04:45 +02:00
5d28ab04a6
Fix some warnings in timeline-tools 2024-06-11 18:19:37 +02:00
051b578ba0
Do not include archives in timeline-tools by default
They are usually not needed, and can be included explicitly when
necessary.
2024-06-11 18:17:08 +02:00
2144c7e110
Fix headline display in timeline tools
Why did I do this that complicated to begin with?
2024-06-11 18:12:51 +02:00
3b8fa72a5a
Add missing but obvious path for magit to search for git repositories
Ah, well … that one's important ;)
2024-06-10 18:54:49 +02:00
5d561c0e1d
Update elpa packages
Also remove obsolete configuration for `git-commit` package.
2024-06-10 18:09:40 +02:00
03f856ce49
Use visual line breaks in markdown mode
Markdown formatted files are often displayed as HTML, where automatic
line breaks work better.
2024-06-09 16:01:57 +02:00
01a71c93d2
Move known links to front of link list only in older Org versions
This behavior became the default in Org 9.7.
2024-06-08 10:41:07 +02:00
de68fc30b2
Statically specify git repositories for magit
Relying on projectile's project list seems to be fragile and often
includes too many repositories, so let's let magit find those
repositories itself.
2024-06-08 09:26:40 +02:00
3dee200729
Skip task backlog items with deadline warning time in the future
This change is experimental and might be reverted.

Idea: we don't want to see those items until the deadline warning date
is due anyway.  Drawback: those items are not shown even when jumping to
the specific date (or past it), so planning ahread get's a bit more
complicated.
2024-06-06 10:45:25 +02:00
599cdec229
Ignore SOMEWHEN tasks in NEXT list 2024-06-02 18:17:41 +02:00
4a8e0a611b
Only considered direct tags when checking for missed appointments
Subitems of DATE entries are not relevant for this check.
2024-05-12 15:21:31 +02:00
207d9f8c39
Remove statistics cookies from Org links
Those cookies are correct when the link is inserted, but subsequently
gets updated (usually to `[0/0]`) when the statistics cookie is updated
in the Org item where the link is placed — removing any meaning from
this cookie.  It's thus better to not have it at all, I think.
2024-04-30 08:30:07 +02:00
85a6366550
Remove explicit final newlines in Org capture templates
`org-capture-fill-template` unconditionally adds a final newline to each
template.  This caused extra empty lines with the old templates when
nothing is inserted at point (`%?`), because in this case empty lines
before and after point were present, with nothing in between.

Those extra empty lines are gone now, and point is positioned after the
final non-blank character.  When extra empty lines are needed, they have
to be inserted manually.
2024-04-28 19:56:33 +02:00
84b18acc54
Show empty lines in collapsed Org view between too many blank lines
This is to better be able to identify those empty lines and keep the
notes tidy.

The new value for org-cycle-separator-lines` is the current default
value.
2024-04-27 20:14:44 +02:00
655da52bf0
Update Org tag alignment in headlines to match new text line width 2024-04-27 12:08:43 +02:00
a9f0f0b2ee
Increase text line width to take advantage of monitor space
Yes, 80 has been the default since ages, but I indeed to have more
horizontal space available and I should use it #NewTraditionsFromOld.
2024-04-27 10:45:18 +02:00
8fa265bd9b
Exemplarily simplify hook definition for BBDB setup
Inspired by the `use-package` documentation, but the other places where
`add-hook` is called this simplification does not seem to be appropriate
from my point of view (missing `-hook` suffix, better readability when
calling `add-hook` directly).
2024-04-25 17:16:58 +02:00
37d8c1c282
Do not enable proced auto-updating on Windows
This seems to be slow, causing proced to take more time updating a
buffer than waiting the one second until the next update – resulting in
an unresponsive proced buffer.

Note: I am not sure whether this setting is correct, as `(not
on-windows)` will not be evaluated when `use-package` calls
`custom-theme-set-variables`.  However, I think it will be evaluated
eventually, and that should be all that's needed.
2024-04-25 11:03:28 +02:00
83c9fd7d20
Allow the agent in Gnus to cache all articles
I sometimes have the feeling that mails are downloaded multiple times …
maybe this setting will help?
2024-04-24 21:15:56 +02:00
8ed64b7fb1
Remove more extra empty lines in Org capture templates 2024-04-14 11:00:30 +02:00
f064bf9384
Remove seemingly extra blank line after captured interruptions 2024-04-13 15:34:56 +02:00
595ac9e696
Disable org-lint checker for obsolete percentage encoding
I do not mind having such links, and sometimes I have to put up with
them, so let's spare `org-lint` of the trouble reporting them.
2024-04-11 20:19:11 +02:00
edb5d9119b
Experimentally include plain lists in Org's visibility cycling
It's nice to be able to collapse plain lists easily, as I have some
quite large ones.  The comment advises to be careful with certain
situations yields strange results, though, which is why this setting is
deemed experimental for the time being.
2024-04-11 19:01:04 +02:00
9edd604d26
Fix ill-worded comment 2024-04-11 18:58:59 +02:00
238c8ae0c8
Add extra spacing also to Org capture template for generic items
Missed that before.
2024-04-05 15:37:33 +02:00
5f33044458
Globally deactivate Org refile cache
This seems to be fast enough on Windows (and on Linux anyway) and avoids
cache invalidation problems.
2024-04-05 15:36:15 +02:00
1f348e256d
Disable refile verification when jumping to any Org item
Any item could be of interest, not only those that are valid refile
targets.

This might be slow.  May we should not be using the refile mechanism to
jump to any item?
2024-04-01 11:16:15 +02:00
840f10cab9
Display async shell command buffer again
I keep opening it manually for most of the commands, so why not have it
pop up automatically?
2024-03-30 15:46:21 +01:00
63eeefcb8e
Ignore backlink items tagged HOLD in default checklist
Items tagged with HOLD should be ignored in normal processes and should
thus not appear as backlinks.  Items tagged WAIT are supposed to appear,
though, and are not excluded from the list of relevant backlinks.
2024-03-25 17:48:50 +01:00
c6bfd493db
Minor reformatting in music-control hydra
This way, the help page for the `music-control` hydra show a link to
`db/play-auto-playlist`, as for all the other key bindings.
2024-03-24 16:55:19 +01:00
019c8822a1
Ignore scheduled entries on Waiting-For list altogether
They are shown on the main agenda view.
2024-03-24 13:44:19 +01:00
60c8a57bf8
Use consult for region completion, when available
This seems to be a good default?
2024-03-23 09:54:18 +01:00