Commit Graph

1673 Commits

Author SHA1 Message Date
Update dash 2022-08-13 10:20:02 +02:00
Close Gnus' server connection on suspend 2022-08-05 19:29:46 +02:00
Group Gnus search configuration in use-package 2022-08-05 19:29:25 +02:00
Update indentation in some elisp files
According to new elisp default indentation provided by
2022-08-05 09:15:33 +02:00
Update default elisp indentation function to new standard value 2022-08-05 09:14:50 +02:00
Confirm deletion of bookmarks via edit-bookmarks 2022-08-04 21:09:47 +02:00
Update usage of obsolete nnir-method-default-engines variable
Not clear how to search through local mails now, though.  Using
`gnus-search-find-grep` does not work.  And how to search through NNTP groups
2022-08-04 20:39:59 +02:00
Reduce default verbosity of Gnus
When necessary, this default value can be overwritten via Customize.
2022-08-04 20:25:51 +02:00
Use universal Gnus search syntax by default 2022-08-04 20:14:12 +02:00
Allow dired to use globstar when available
Most importantly, this allows to use globstar expansion in bash with dired.
Note that `dired` has to be invoked explicitly for this to work, as `find-file`
will not expand the globs itself.
2022-08-04 19:09:58 +02:00
Move custom ediff Dired function to utilities package
This is more in line with other utility functions.
2022-08-04 18:58:42 +02:00
Fix obsolete usage of lexical-let 2022-08-04 18:52:11 +02:00
Set some variables new in Emacs 28.1
See their respective doc-strings for further information.
2022-08-04 18:49:55 +02:00
Use emoji style to render smileys
It's not clear to me where this new option is taking effect, though.
2022-08-04 18:48:55 +02:00
Reduce content of tab bar
Using `tab-bar-format-align-right` does not work, as it moves the remaining text
too much to the right so that it wraps over.
2022-08-04 17:22:35 +02:00
Add local copy of org-password-manager.el
The project is archived and no longer available from melpa, so let's keep a
local copy with us.

It might be necessary to add an extra use-package declaration with autoload
definitions, but we'll do that when it's clear it's necessary.
2022-07-22 18:30:41 +02:00
Manually insert link when invoking interruption capture template
The provided %K shortcut inserts text links an not id: links.
2022-07-22 18:21:55 +02:00
Add helper to evaluate source blocks in subtree without confirmation 2022-07-21 21:54:35 +02:00
Keep dired buffers when opening new ones
Otherwise going back to a previous buffer looses the current view (hidden files,
marked files, etc.)
2022-07-10 20:00:41 +02:00
Use lsp-deferred to speed up Python mode startup 2022-07-03 16:59:16 +02:00
Clean up Org capture templates 2022-07-02 19:15:41 +02:00
Change default org-ql query for db/org-backlinks to (not (done))
Using `(todo)` (the previous default) excluded NOTEs and TOPICs (among others)
which I am usually interested in.
2022-06-30 16:51:55 +02:00
Ignore TOPICs and PERIODICs in done, hold, or wait state 2022-06-30 16:50:58 +02:00
Allow NOTEs as refile-targets again
This partially reverts cff8720a44, but keeps the

Rationale: TOPICs may contain notes which should be reviewd regularly.  Those
TOPICs should also be tagged with NOTE but could (and should) in addition
contain sub-items about concrete tasks.  In this case refiling to a NOTE should
be allowed.

Maybe limiting refiling to NOTE:TOPIC combinations would be more strict here,
but I think this complexity is not (yet) worth it.
2022-06-29 16:51:19 +02:00
Add consistency block to search for TOPICs nested in non-TOPICs
TOPICs are “upward-inherited”, so a TOPIC can always only be part of a TOPIC
2022-06-28 21:10:17 +02:00
Simplify search for TOPICs
No need to look at keywords here.
2022-06-28 21:09:59 +02:00
Do not sort TOPIC overview
This would render the indentation meaningless.
2022-06-28 21:09:38 +02:00
Explicitly set format for project agenda view
Efforts are not necessary there anymore, so remove those to save some horizontal
space.  Also add indentation to the TOPIC overview to make clear the (possibly)
hierachical structure.
2022-06-28 20:35:59 +02:00
Add custom agenda to include consistency checks
Starting with all complex tasks not marked with GOAL.
2022-06-28 20:29:14 +02:00
Officially introduct GOAL tag
Make it disjoint from TOPIC, NOP, PERIODIC, and TEMPLATE, as those things all
mean disjoint things.
2022-06-28 20:25:47 +02:00
Update way scheduled items are ignored in custom Org agendas
Items scheduled now or in the future are now ignored by default.  Rationale: if
things are scheduled now or in the future, they are displayed on the main agenda
and not overdue, so there's no need to show them in the other agendas (meant for
reviewing); if an item is scheduled in the past, it's still shown on the main
agenda, but should also be reviewd for why it's late, so we include it in the
other agendas as well.

Also ignore NOTE items that are scheduled, as the same logic applies there as
2022-06-24 15:56:46 +02:00
Remove obsolete Open tasks agenda view
Haven't used it for a long time now.
2022-06-20 18:21:18 +02:00
Remove explicit sorting settings in custom agendas
Those match the current value of `org-agenda-sorting-strategy` and are thus
redundant.  Removing those settings also allows to customize the order of items
in those views.
2022-06-20 18:18:56 +02:00
Include complex tasks in Backlog agenda in separate section
This is a compromise to have a list of all complex tasks but not cluttering the
list of actionable items with them.
2022-06-20 18:14:14 +02:00
Revert "Include complex tasks in main Backlog agenda view"
This reverts commit 690d16cdab.

Do not include complex tasks in the backlog agenda, as complex tasks are no
actionable items, but the backlog agenda should only list things that can and
should be done.  Stuck complex tasks are shown in the Project agenda, and a list
of all others might only be necessary during reviews – but when complex tasks
need reviews (apart from when they are stuck), they should have a NOTE sub-item.
2022-06-20 18:07:07 +02:00
Allow limiting number of parent ascents when listing backlinks
Sometimes only the backlinks to the items itself might be interesting, or
backlinks to the current item and its direct parent.  To allow for easy
insertion of dynamic backlink blocks in those cases as well, include a
:parent-depth parameter.  The default value of nil means no limit is imposed, as
has been the case until now.
2022-06-20 18:01:11 +02:00
Include complex tasks in main Backlog agenda view
This is not optional yet, but without an explicit GOAL tag it's hard to do
2022-06-20 17:44:14 +02:00
Remove obsolete REGULAR tag from definition of stuck tasks 2022-06-20 17:44:04 +02:00
Remove list of open tasks from project agenda
This list only shows complex tasks, i.e., tasks with sub-items, and is therefore
not a faithful indicator for overwork (this was the original intention to have
this list).  A better indicator might be to check the Backlog Agenda, but this
list might contain items far in the future and could thus also not be a valid
indicator for overwork.
2022-06-20 17:18:11 +02:00
Consistently sort agendas by priority-down effort-up
Maybe some of the explicit definitions could be removed, but it's fine the way
it is for now.
2022-06-19 09:28:43 +02:00
Add helper function to replace variables in strings
Only a thin but hopefully helpful wrapper around `replace-regexp-in-string`.
2022-06-13 21:15:49 +02:00
Silence some flycheck warnings 2022-06-13 21:06:44 +02:00
Add missing semicolon
Consistency above all!
2022-06-13 21:06:30 +02:00
Exclude NOTE entries in main org file as refile targets
The idea is that those entries represent project notes which should not get
tasks refiled as sub-items (sub-headings to structure these notes are fine,
though, and must be added directly).  To connect tasks with project notes, use
links and backlinks instead.

This helps to prevent accidental refiling of tasks under notes and loosing them
there.  A drawback is that `C-u org-refile` won't list notes as visiting targets
anymore; for this, use imenu instead.
2022-06-11 21:17:57 +02:00
Try to increase readability of db/org-backlinks implementation
Mostly making use of pcase-*, but I am not quite sure whether the `(,foo . ,bar)
syntax really helps …

Also adjusted some comments and some formatting.
2022-06-11 09:25:25 +02:00
Visually separate different groups of priorities in backlinks dblock
Use an hline for this, should increase readability.
2022-06-11 09:10:17 +02:00
Transpose output of backlink dynamic block to emphasize backlinks
We are interested in the backlinks so we now put them first.  The backlink
targets (i.e., current item or any of its parents) are now grouped after the
priority of the item containing the backlink.
2022-06-10 18:46:22 +02:00
Use org-ql regexp search to find backlins
This is because org-ql link queries seem to be broken when target links contain
brackets in their description.
2022-06-09 21:27:35 +02:00
Another try to the fix org-ql link regexp generator
The previous version caused stack overflows in the regexp matcher, supposedly
because of matching newlines in the description.  This should not happend
anymore, but description won't be matched anymore of they contain a line break.
2022-06-09 21:20:55 +02:00
Add workaround for org-ql to find links with brackets in description
This will be tested now and then reported upstream.
2022-06-09 19:51:28 +02:00