Commit Graph

1680 Commits

Author SHA1 Message Date
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
Daniel - ef7bd6e7b4
Remove old PHONE and MEETING keywords
Not used anymore.
2022-08-15 18:43:17 +02:00
Daniel - d2f034e7d2
Introduce new REFINE keyword
This is to mark items that are not yet actionable but are supposed to become
actionable.  The intended action on those items is then to refine those (or
cancel them).
2022-08-15 18:42:56 +02:00
Daniel - ae37cffb2c
Show buffer instead of file name when refiling
File names may not be unique, but buffer names usually are.
2022-08-14 10:39:35 +02:00
Daniel - d2d396d6db
Update dash 2022-08-13 10:20:02 +02:00
Daniel - 5360344a92
Close Gnus' server connection on suspend 2022-08-05 19:29:46 +02:00
Daniel - 95a32fba6b
Group Gnus search configuration in use-package 2022-08-05 19:29:25 +02:00
Daniel - 40ff1d3004
Update indentation in some elisp files
According to new elisp default indentation provided by
`common-lisp-indent-function`.
2022-08-05 09:15:33 +02:00
Daniel - f22ef5705c
Update default elisp indentation function to new standard value 2022-08-05 09:14:50 +02:00
Daniel - 263def911f
Confirm deletion of bookmarks via `edit-bookmarks` 2022-08-04 21:09:47 +02:00
Daniel - 3fa3ba2b3f
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
now?
2022-08-04 20:39:59 +02:00
Daniel - 39fa549fc7
Reduce default verbosity of Gnus
When necessary, this default value can be overwritten via Customize.
2022-08-04 20:25:51 +02:00
Daniel - 3aeb031330
Use universal Gnus search syntax by default 2022-08-04 20:14:12 +02:00
Daniel - af4dbe25ce
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
Daniel - c17a0e7f4c
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
Daniel - 836429db1c
Fix obsolete usage of `lexical-let` 2022-08-04 18:52:11 +02:00
Daniel - 5a0a5b5ea6
Set some variables new in Emacs 28.1
See their respective doc-strings for further information.
2022-08-04 18:49:55 +02:00
Daniel - 43e3edcd43
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
Daniel - 98283cad2a
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
Daniel - 29a5a83ae7
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
Daniel - 46d968d316
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
Daniel - c91a6d36db
Add helper to evaluate source blocks in subtree without confirmation 2022-07-21 21:54:35 +02:00
Daniel - 2bb88a9634
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
Daniel - 23eff3dc12
Use lsp-deferred to speed up Python mode startup 2022-07-03 16:59:16 +02:00
Daniel - 99d0ac3dc5
Clean up Org capture templates 2022-07-02 19:15:41 +02:00
Daniel - 3b13921097
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
Daniel - 09ca55efeb
Ignore TOPICs and PERIODICs in done, hold, or wait state 2022-06-30 16:50:58 +02:00
Daniel - 39cb696fc4
Allow NOTEs as refile-targets again
This partially reverts cff8720a44, but keeps the
doc-string.

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
Daniel - 06ae1cf95a
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
itself.
2022-06-28 21:10:17 +02:00
Daniel - 414b59b1d8
Simplify search for TOPICs
No need to look at keywords here.
2022-06-28 21:09:59 +02:00
Daniel - 7318c771ba
Do not sort TOPIC overview
This would render the indentation meaningless.
2022-06-28 21:09:38 +02:00
Daniel - 5bec83522d
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
Daniel - ab30b74763
Add custom agenda to include consistency checks
Starting with all complex tasks not marked with GOAL.
2022-06-28 20:29:14 +02:00
Daniel - 74e37b928c
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
Daniel - f193d6415f
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
well.
2022-06-24 15:56:46 +02:00
Daniel - 74c8d95381
Remove obsolete Open tasks agenda view
Haven't used it for a long time now.
2022-06-20 18:21:18 +02:00
Daniel - 2ee4de5937
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
Daniel - aa7623ca7c
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
Daniel - 8917d2d44b
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
Daniel - f3186b45f7
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
Daniel - 690d16cdab
Include complex tasks in main Backlog agenda view
This is not optional yet, but without an explicit GOAL tag it's hard to do
better.
2022-06-20 17:44:14 +02:00
Daniel - 7bba7ffbab
Remove obsolete REGULAR tag from definition of stuck tasks 2022-06-20 17:44:04 +02:00
Daniel - d7bf414fd5
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
Daniel - a79c67404a
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
Daniel - e2181fa87a
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
Daniel - 1ac4e44f86
Silence some flycheck warnings 2022-06-13 21:06:44 +02:00
Daniel - 731039e84f
Add missing semicolon
Consistency above all!
2022-06-13 21:06:30 +02:00