Commit Graph

1450 Commits

Author SHA1 Message Date
dbo c2f2b23a6c
Add stop shortcut for main music hydra
So far, only a toggle for playing and pausing was available.  Providing a
shortcut for `emms-stop` makes unconditionally sure the music is stoped.

Funnily(?), this also replaces an obsolete shortcut for `emms-show`.
2021-06-13 18:05:40 +02:00
dbo 4dfdee33ad
Disable archive mode in Weekly Review overview
In general, all tasks of the previous week should still be present in this week
and the week before, so there's no need to activate archive mode by default.  If
it's necessary after all, it can be activated manually.
2021-06-13 14:25:44 +02:00
dbo c4bb9a9a76
Group configuration of Gnus agent for better readablity
This only means to wrap a `use-package` around the variable settings, but since
I may be playing around with this in the future, it's better to visually group
this configuration already now.
2021-06-13 09:43:28 +02:00
dbo 73e8ded9da
Store gnus configuration files in the private conf directory
This is a more reasonable default for me.
2021-06-12 10:13:16 +02:00
dbo 9e4ea4591c
Update dash 2021-06-12 09:26:46 +02:00
dbo fea692a113
By default, only show closed items on Org angeda log mode
It's easier for the weekly review to see only those items that were closed, as
those may still have pending actions that need to be captured.  Items not yet
closed are still available on the calendar, on the Next Action list, or
elsewhere.
2021-06-06 16:47:58 +02:00
dbo 97d45a8874
Ignore waiting-fors that are scheduled at any time
We only ignored future items so far, but those that are scheduled today or in
the past are also in our focus (i.e., our the daily agenda).  So let's not show
those as well.
2021-06-01 20:30:23 +02:00
dbo 4bc26adbcb
Explicitly activate global-git-commit-mode
It's not activated by magit anymore, so we activate it explicitly.
2021-05-30 10:39:09 +02:00
dbo b8c98d08ef
Ignore scheduled items on the Waiting-For list
This allows to schedule items to some future date and not be remined about them
until then.
2021-05-21 15:52:33 +02:00
dbo b0fead9778
Add colon to reply capture template
It's easier to read this way.
2021-05-20 22:24:01 +02:00
dbo 4b1eb2e322
Sort items in Waiting-For list by priority and category
This is the same sorting as it is used in the Next Action list, and should
provide a better overview over the current items on the Waiting-For list.

Formatted the value for `org-agenda-sorting-strategy` on one line for better
readability, and also changed that for the definition of the Next Action list.
2021-05-19 20:12:46 +02:00
dbo e5c7494622
Fix wrong definition of org capture template for interruptions 2021-05-17 21:49:01 +02:00
dbo a269047a0d
Fix Org capture templates for Read and Response
The Read capture template did not properly ask for the topic and did not have a
placement indicator for the cursor, fixed that.  The Response capture template
now has a “Reply ” action word to indicate the proper action, and also has a
placement indicator in it.  This way, it should be easier to use these capture
templates.
2021-05-16 08:35:04 +02:00
dbo 6c4daa1cf5
Move reading list to main overview
As with the next action list, it's better to keep the reading list in sight so
that when I decide what to do next, it's there and showing me all the
possibilities.
2021-05-16 08:17:53 +02:00
dbo 299ab9d147
Sort next actions by category in addition to priority
At work, I am using the category to record the cost centers of the corresponding
actions.  Maybe sorting the next action list gives a better understanding of the
overall set of actions by clustering them by category?
2021-05-14 19:24:24 +02:00
dbo fb245e6358
Display next action list in main agenda view
I somehow have the feeling that my next action list is not “present” enough and
so I am afraid to miss things.  As an experiments, let's try to display the next
action list in the main agenda view to always have it in sight.
2021-05-14 19:24:20 +02:00
dbo 0899a9079e
Clean up all links in headline when linking to it
So far, we only considered one link in a headline and replaced it with its
description when linking to it.  When there are multiple links, this will fail.
This commit changes this by iterating over all links in the headline, not only
the first one.
2021-05-12 18:29:34 +02:00
dbo 7960f763f4
Keep headline around links when linking to them
So far, when a link is discovered in a headline, we only keep the description of
that link.  This will throw away the context of that link, which is
undesirable.  So let's keep it.
2021-05-12 18:20:18 +02:00
dbo 268ddeb1aa
Avoid complete links in descriptions when adding links to Org items
When inserting links to other Org items or to the currently clocked-in item, the
complete target headline is used as a description in the newly inserted link.
When that target headline is itself a link, the newly inserted link will contain
the complete link as a description, rendering it unreadable and also
malformed (it's not allowed to have two consequtive brackets in the description
of a link).  To remedy this, we now explicitly check the target headline for
being a link, and if so, only use the description of it as the description in
the newly inserted link.
2021-05-12 17:47:45 +02:00
dbo d6d2d4787d
Do not immediately finish capture when responding to mails
In that case, I sometimes want to add extra information, like scheduling a
date or adding extra references.  This is not easily possible when the capture
is closed immediately.
2021-05-12 17:03:12 +02:00
dbo a9ffee27f4
Bind scroll-lock-mode to Scroll-Lock-Mode key
Inspired by https://karl-voit.at/2021/04/10/GLT21-emacs-org-features/.  Thanks!
2021-05-01 20:27:34 +02:00
dbo a6a85cdb8b
Use only file name in Org mode refile targets instead of buffer name
Using the buffer name does not seem to play well together with org refile
keeping the last choice on top of the candidate list, because a slash is
automatically appended to this entry.  This results in an invalid refile
location.  Thus reverting back to only using the file name, it's fine this way.
2021-05-01 20:25:19 +02:00
dbo 453c6e37bf
Add missing parenthesis
This happens if one does not restart Emacs that often …
2021-04-30 15:39:12 +02:00
dbo a0b1f4df0d
Do not use `org-store-link` when inserting links to other items
When the link to another item is already present in the history of
`org-store-link`, nothing is updated.  Inserting the topmost link then results
in a wrong link being inserted.

Not using `org-store-link` at all fixes this problem and also leaves the history
of `org-store-link` untouched.  It also simplifies the implementation by not
relying on the complexity of `org-store-link`, but instead just only using
`org-entry-get` and `org-id-get-create`.
2021-04-29 19:52:54 +02:00
dbo 3bbf747aca
Do not include SOMEWHEN items in reading list
Those will be done somewhen, if at all, and are not necessarily associated with
any action.  So let's keep them off the reading list consisting of read actions.
2021-04-26 18:20:27 +02:00
dbo c0351f39b9
Extend agenda view for current projects
This view will now show stuck projects as well as periodic projects in addition
to the usual singleton projects.
2021-04-25 20:37:17 +02:00
dbo 323a59b622
Separate Next Action list from Reading list
This is a bit more overseeable.
2021-04-25 19:25:32 +02:00
dbo f21ae7576a
Do not include READ actions on the SOMEWHEN list
They are included in the main Next Action list now.
2021-04-25 18:30:36 +02:00
dbo 41bfbf9288
Experimentally include the READ list in the Next Action list
Usually, this list will be filtered away, but knowing it's there should help not
fogetting about it.
2021-04-25 16:49:13 +02:00
dbo bc07a89989
Include effort estimates in tags and todo lists
This is to see and also to filter those lists by effort.
2021-04-25 16:49:06 +02:00
dbo 293e137431
Do not schedule captured tasks by default
If this is necessary at all, if will be done during the clarification process.
2021-04-25 14:14:50 +02:00
dbo 9406291f5b
Remove list of stuck projects from Unsupervised agenda view
This list does not need to be inspected on a daily, but on a weekly basis.  It
can be accessed via the standard org-agenda command menu.
2021-04-25 12:08:17 +02:00
dbo 97b9141b31
Ignore Waiting-For actions on Next Action list
Obvious, but had missed that.
2021-04-25 11:17:25 +02:00
dbo 524c36a014
Add list for missed appointments
When a DATE action is missed, it will not show up in the agenda anymore.  So
let's track them individually.
2021-04-25 10:32:30 +02:00
dbo 7cc1c19c22
Clearly mark waiting-for and next-actions lists as such
The next actions list now also contains that have a deadline, but are not being
scheduled.  This is more in accordance with the GTD method, as items with a far
deadline can still be done today, and for this they have to appear in that list.
2021-04-25 10:27:53 +02:00
dbo ef7682b276
Allow projects to be marked as SOMEWHEN
This way, projects do not appear on the Unspecified agenda and are not subject
to rigorous Next-Action handling.
2021-04-24 20:41:44 +02:00
dbo 2e8d912c14
Update pyvenv command autoload list to include pyvenv-create
This might be used before loading pyvenv, so let's include it in the autoload
list.

However, it seems pyvenv is loading its autoloads anyway, so this change might
be irrelevant.  It's still nice to have it here for documentation.
2021-04-24 09:59:50 +02:00
dbo 277c360914
Allow WORKON_HOME environment variable to be overwritten
When running this Emacs configuration on different hosts (with different
operating systems …), virtual environments for Python may be available in
different locations.  So we allow the environment in which Emacs is started in
to overwrite the value of WORKON_HOME to accomodate for this.
2021-04-24 09:49:55 +02:00
dbo 36a1693610
Automatically restart python interpreters when switching virtualenvs
This apparantely does not work when simply deactivating the current virtual
environment, though.
2021-04-24 09:48:51 +02:00
dbo 32cb502915
Set WORKON_HOME environment variable for pyvenv usability
Again inspired by https://ddavis.io/posts/emacs-python-lsp/.
2021-04-24 09:40:11 +02:00
dbo 0d2897dff7
Try out lsp-ui-mode
This is fun :)
2021-04-22 15:51:45 +02:00
dbo eac4ff3146
Include some minimal package configuration for pyvenv
As described by https://ddavis.io/posts/emacs-python-lsp/.
2021-04-22 15:29:56 +02:00
dbo 02085570e6
Change key map prefix for LSP-mode
The super key is used by my window manager.
2021-04-22 15:29:32 +02:00
dbo 59fb5f3855
Increase some performance limits for lsp-mode
As suggested by https://emacs-lsp.github.io/lsp-mode/page/performance/.
2021-04-22 15:26:26 +02:00
dbo 9ac3640159
Replace eglot with lsp-mode as LSP backend
`lsp-mode` claims to be non-blocking and is equally easy to set up, so let's
give it a try.
2021-04-22 12:01:44 +02:00
dbo 0090975a5b
Use buffer-name in outline paths when refiling
Buffers are made globally unique, while filename usually are not, like my
various project diaries.  This new setting allows to distinguish targets in
equally named org mode files directly when refiling (and thus also when
inserting links).
2021-04-16 17:42:08 +02:00
dbo 56b1de2844
Remove duplication of refile target specification for current buffer 2021-04-16 17:34:40 +02:00
dbo 77f2dfc0eb
Fix missing specification of default buffer when inserting links
The `default-buffer` is apparently not optional when the current buffer is not
associated with a file.  If `default-buffer` is missing and the current buffer
is not a file-buffer, e.g., a note buffer, then `org-refile-get-targets` fails.
2021-04-16 17:31:55 +02:00
dbo cf86962d6f
Update dash 2021-04-16 15:19:22 +02:00
dbo 0a317afc29
Default to builtin region completion for shell mode
As for eshell, path completion in shell mode erroneously adds extra spaces when
using ivy.  Since the builtin completion is good enough for shell mode anyway,
let's stick to that.  No bad surprises.
2021-04-16 15:18:03 +02:00