Commit Graph

810 Commits

Author SHA1 Message Date
Daniel - 0edfe4406c
Enable dash fontification and symbol lookup
As suggested by the dash README.
2021-11-07 07:05:24 +01:00
Daniel - 6277e0b104
Removed capture templates that add stuff to the current clock
Those things are added at the end of the LOGBOOK, instead of at the beginning.
This does not help, I would rather like to have those things being added as if I
would have taken a note on the currently clocked-in task.  Indeed, this is what
I have been doing instead of using those capture template, which is why this
commit removes them.
2021-10-16 10:32:48 +02:00
Daniel - aae46c2b0e
Do not show projects on hold in main project list
Use case: if the a super-project is set on hold, all sub-projects should also be
set on hold and not shown on the list of open projects.
2021-10-16 10:19:02 +02:00
Daniel - 1ddda3a730
Globally activate tab-bar-mode
The reason to keep this off was that my solarized-theme did not have support for
this.  Since I have hacked this support together on my own now, I can (and
should) also use it!
2021-10-16 10:14:55 +02:00
Daniel - 31e2067050
Enable hl-line-mode individually
Enabling hl-line-mode globally causes undesired and disruptive highlighting
effects in buffers such as eshell.  Enabling it in prog-mode and text-mode
should be fine, though.

Additional modes may be added later.
2021-09-30 15:08:14 +02:00
Daniel - b80271d299
Disable completion in Org Mode buffers
I do not use the completion provided by company-mode, and sometimes it's even
disruptive during writing.  So let's disable it for the time being.

The original reason to keep it activated has been to have completion when
inserting links to local files.  This can better be achieved by providing a
universal argument to `org-insert-link`.
2021-09-29 16:29:29 +02:00
Daniel - ef3ad78c18
Globally highlight the current line
This should improve readability, but is only activated for test purpose for now.
2021-09-29 16:27:35 +02:00
Daniel - 2586bf8f18
Do not show waiting-for items that are on hold
Those will be listed in a separate list.
2021-09-27 17:33:41 +02:00
Daniel - fdd921d9ff
Indent lines after open parens as blocks
This will move lines more to the left when specifying arguments to constructors
or functions on multiple lines.  Nested function calls can also be broken into
multiple lines to reduce their overall line width.  This looks nicer from my
point of view :)
2021-09-25 20:54:03 +02:00
Daniel - 28a6a86cc4
Merge Reading list with Next Action lists
From my point of view, it does not make much sense anymore to distinguish these
two lists.  Reading items should be on the main next action list as regular TODO
items.  Indeed, using dedicated READ state does not make much sense either, so
let's remove that one from our capture templates, too, but keep the READ tag for
now.  However, we cannot remove it from the keyword list for now as we are still
using it in some old items.
2021-09-24 16:27:17 +02:00
Daniel - 835cd6d091
Update background color for tab-bar-mode
It's better to have this visually separated from the background, so let's use
base02 instead of the default base03 for this.
2021-09-18 11:47:10 +02:00
Daniel Borchmann 96d0c459cc
Add custom tab-bar definitions for solarized-dark
They appear to be missing.
2021-09-18 11:16:17 +02:00
Daniel - 9a106d8f0c
Unconditionally use rgrep when searching for files
This does not exclude files from searches as ag does, and is fast enough for
what I need.

Motivated by https://www.manueluberti.eu//emacs/2021/09/10/rgrep-and-vc-git-grep/.
2021-09-11 09:32:48 +02:00
Daniel - 16d5dd4847
Disable global semantic-mode key bindings
Those collide with Org's bindings for setting item prioties.
2021-09-11 09:26:50 +02:00
Daniel - e95f868c9d
Change default TRAMP method to scp
Motivation: https://helpdeskheadesk.net/help-desk-head-desk/2021-05-19/.  In a
nutshell: scp should be faster.

Not sure whether choosing pscp on Windows is a good idea, though.  This may
change in the future.
2021-09-08 18:24:44 +02:00
Daniel - d8691928b0
Do not keep inserted links in history
When keeping old links around, it may happen that adding another link is already
present in `org-stored-links`.  In that case, only a message is displayed (“This
link already exists”), but the link itself is not pushed to the front of the
link history.  A subsequent insertion of the link then requires manual selection
of the desired target, resulting in massive interruptions of the current flow.
2021-09-08 17:57:09 +02:00
Daniel - 1d107f4fd1
Add more blanks in Org mode lists
This should improve readability, and I am doing this manually all the time
anyway.
2021-09-08 17:41:51 +02:00
Daniel - eeff9a5194
Push org-clock-history-lenght to the recommanded maximum
The more items are available in the clock history, the easier I can reference
them using `db/org-add-link-to-org-clock-select-task`.
2021-09-04 16:16:54 +02:00
Daniel - 3d761a4c6b
Add new commands and key-bindings for Org-roam v2 2021-09-04 14:53:58 +02:00
Daniel - e37be56b64
Migrating Org-roam to v2
Not completed yet, just removed old code from v1 that's not relevant anymore.
2021-09-04 14:46:43 +02:00
Daniel - 73228fdfc7
Sort tag and todo search result by priority also
This is the current default value from Org mode.  It also makes more sense for
my workflows, as those searches usually are meant to be worked upon, and
sorting by priority helps to find the most relevant items on those lists.
2021-09-03 17:17:37 +02:00
Daniel - 476d7128f8
Only show topics that have not been done or canceled yet
Those topics are not interesting anymore and should not appear on the topic
overview.
2021-08-28 20:55:02 +02:00
Daniel - 84f14a43a3
Do not show TOPICs scheduled in the future
This allows to hide topics that will only become relevant in the future.
2021-08-28 08:55:59 +02:00
Daniel - d6a392bcc7
Show topics in main project agenda
Topics are reviewed regularly (e.g, every month), so having a readily available
agenda view helps here.  It's also easier, I think, to keep an overview over all
active topics if they are easily accessible in a custom agenda view.
2021-08-27 17:28:59 +02:00
Daniel - 456cc6107b
Move refile overview to unspecified agenda
Things to refile should not be shown on the main agenda, as this view is only
meant to show open tasks.  Indeed, if to-be-refiled items are already done, they
should not be here for exactly that reason; and if they are not done yet, then
they will show up in the Next Action list anyway.

Bringing items to their (supposedly) correct location is not part of doing the
item, it's part of cleaning up (e.g., while doing the weekly review).

Emptying the refile file should still be done regularly, though, i.e., every
day (via a daily review) or weekly (in the weekly review).
2021-08-27 17:22:26 +02:00
Daniel - 83dde6adc9
Move main part of Gnus' files out of private configuration directory
Those files are specific for each machine where Emacs is running and change
often, and should not be included as private configuration files.  Indeed, those
files might be versioned (e.g., using git) and deploying those versioned
configuration files over multiple machines would cause a number of conflicts if
Gnus' local mail files would be included as well (as has happend to me).  Since
those machine-specific files are not really relevant for other machines, keeping
them somewhere else is reasonable.  The new default is $HOME/.config/gnus-news.

Note that the main gnus-newsrc file is still kept as private configuration file.
2021-08-22 09:35:17 +02:00
Daniel - a3fd8f77b2
Exclude NOP and TOPIC tags from inheritance
Those tags are meant to mark the current headline (and nothing below) as either
just a headline (via NOP, i.e., no projects) or as a topic (i.e., a general
obligation and not a concrete thing to achieve).

This tells `org-set-tags-command` to not clear the NOP tag if it's available
somewhere at a parent node – a thing `org-set-tags-command` apparently seems to
be doing in general to keep the tags hierarchy clean.
2021-08-17 10:54:10 +02:00
Daniel - e12252b7ff
Ignore SOMEWHEN projects on main project list
To mark whole projects as SOMEWHEN may further declutter the main project list.
To not loose sight of those SOMEWHEN projects, however, they are not explicitly
shown in the SOMEWHEN list.
2021-08-17 10:28:09 +02:00
Daniel - 91fa6ff543
Do not list projects which are SCHEDULED in the future
The SCHEDULED entry for projects (not for their respective tasks) is now used to
move currently irrelevant projects out of sight, and schedule them for later
resubmission.  Indeed, those projects will reappear on the main project list
when the SCHEDULED date is due.
2021-08-17 10:19:44 +02:00
Daniel - 0723f45769
Export plantuml images to SVG by default
SVG can be viewed by any browser and is not limited by predefined a resolution.
This is especially important for big diagrams.
2021-08-07 16:43:45 +02:00
Daniel - dc8a028742
Use pyright as language server when `lsp-pyright` is available
Also ignore the .cache directory, as that's the one `lsp-pyright' is installing
it's local copy of `pyright` into.
2021-07-22 20:27:20 +02:00
Daniel - ff3227b1f9
Deactivate subword-mode in plantuml files
plantuml-mode derives from prog-mode, which in my coniguration automatically
activates subword-mode.  However, as plantuml uses barewords as strings, those
are rarely meant to be in camel-case (indeed, typos are much more common) and
subword-mode is more distracting than helpful.
2021-07-13 19:40:34 +02:00
Daniel - 3482a18cce
Set indent level of plantuml-mode
Identing by the default eight spaces is too much for me.  Keep it more compact!
2021-06-25 20:38:27 +02:00
Daniel - 4222db03b8
Add default values for plantuml-mode
Font locking is not really working, but this might be due to incomplete face
definitions?
2021-06-21 17:40:13 +02:00
Daniel - 1a7afdf85e
Ensure that some essential packages are always installed 2021-06-19 14:31:05 +02:00
Daniel - 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
Daniel - 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
Daniel - 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
Daniel - 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
Daniel - 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
Daniel - 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
Daniel - 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
Daniel - b0fead9778
Add colon to reply capture template
It's easier to read this way.
2021-05-20 22:24:01 +02:00
Daniel - 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
Daniel - e5c7494622
Fix wrong definition of org capture template for interruptions 2021-05-17 21:49:01 +02:00
Daniel - 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
Daniel - 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
Daniel - 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
Daniel - 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
Daniel - 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