Commit Graph

1027 Commits

Author SHA1 Message Date
Daniel - 63a03f0038
Remove some unnecessary empty lines in capture templates 2022-08-28 10:12:43 +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 - 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 - 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 - 09ca55efeb
Ignore TOPICs and PERIODICs in done, hold, or wait state 2022-06-30 16:50:58 +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 - 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 - 72c67796c2
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
Daniel - 949b49226d
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
Daniel - e1e7da0c81
Exclude NOTE entries tagged with NOP from project note overview
NOP means „not a project“, so excluding them is plausible per se.  NOP entries
will also be reviewed less frequently (usually once per month) so a combination
of NOTE and NOP would allow to have „abstract“ project notes whose main purpose
is to collect backlinks and thus group proper note entries (example: topics
relevant for release planning).
2022-06-08 17:01:10 +02:00
Daniel - 2894c48e79
Sort Org entries also by ascending effort
The idea is that items with identical priority but low effort are „more worthy“
than items with higher efforts (same gain = priority with lower effort).
2022-06-08 16:58:29 +02:00
Daniel - a8eeab743a
Add formatting for day-of-death BBDB entries
That's part of it.
2022-06-05 14:50:22 +02:00
Daniel - d63910cb8b
Do not error in eshell when glob expansion is not possible
Just keep the input as it is.  This avoids errors when cd-ing to
`/sshx:hostname:~/` or similar.
2022-06-04 15:24:13 +02:00
Daniel - ce806bcc2e
Add list of project notes to project overview
Actually, the name “project” is too ambigious here, which is why I have replaced
it at some points with the more concrete word “task”.  This is to mean that
tasks are items that work towards a particular, tangible goal but consist of
multiple steps to reach it.  Project notes, then, capture the state of more
complex tasks with varying or multiple goals all interconnected in a specify
realm.  Project notes are used for planning tasks and for capturing the current
state of affairs.

Topics, on the most abstract level, comprise areas of responsibility or activity
where not at every point in time there's something conrete to be done, but
periodic review is in order.

Related to PARA parlance (https://fortelabs.co/blog/para/), the mapping may not
be completely clear, as projects (in the sense of PARA) relate to both tasks and
project notes.  Indeed, it could be the case that a project is small enough to
only have a associated task and no project notes (e.g., if everything is clear
and it's just „doing“), or a project (again in the sense of PARA) relate only to
some project notes (in my sense), e.g., when it's not yet clear or not yet
planned what needs to be done concretely or when even the goal(s) are not set
yet.

However, as far as I currently understand, the other items in the PARA
methodology map quite nicely to my terminology:

- Area of Responsibility ↔ Topics

- Resources ↔ Project Notes (or any other notes like my zettelkasten)

- Archive ↔ Archive (surprise!)

Maybe I should split my notes into two categories: project notes proper and
general notes containing information about not-necessarily-project-related
topics?
2022-06-04 09:41:53 +02:00
Daniel - f8fecc0bda
Ignore active future appointments on the WIP list
When appoints have been started but are then postponed to the future, I do not
want to see them on the WIP list.  I could schedule them for the new date in
addition, but this would count the associated effort twice in the agenda view.
So let's just ignore timestamps in the future, they will show up when they are
due anyway.
2022-06-03 21:46:17 +02:00
Daniel - cd0894a19e
Do not query to save clock on exit by default
I always say no anyway, and that's the default.
2022-05-27 14:56:54 +02:00
Daniel - f22990d611
Revert "Remove possibly obsolete Org mode fix"
This reverts commit fa7c7ca3ed.

The hack is still necessary, as otherwise listing stuck Org projects takes too
long.
2022-05-27 14:46:54 +02:00
Daniel - 4dd7efe71a
Ensure dash is loaded before its functions are used
Emacs otherwise complains about an undefined -difference function in the
use-package declaration of mm-decode.
2022-05-25 17:53:20 +02:00
Daniel - b20203f335
Really disable eyebrowse mode
Forgot to remove this explicit activation.
2022-05-23 17:32:23 +02:00
Daniel - 64b5310853
Remove obsolete usage of semantic-mode
I have only used it for imenu support in Org mode and init.el, but this seems to
work without semantic as well.
2022-05-22 18:09:31 +02:00
Daniel - b9d991425f
Remove obsolete references to pdf-tools
org-ref-pdf references pdf-tools, but I do not use it anyway anymore.
2022-05-22 18:04:15 +02:00
Daniel - aaa9e33801
Remove obsolete eyebrowse package 2022-05-22 17:56:35 +02:00
Daniel - b9cf1441dd
Remove obsolete configuration for ox-latex
Not using it anymore.
2022-05-22 17:40:01 +02:00
Daniel - 152c17643a
Always use #' for lambda
Current exception: not in backtick expansions.  Is it necessary there?
2022-05-22 17:37:33 +02:00
Daniel - fa7c7ca3ed
Remove possibly obsolete Org mode fix 2022-05-22 17:20:19 +02:00
Daniel - a45a19f904
Exclude templates from open project list 2022-05-22 11:34:37 +02:00
Daniel - 61e9c3bf94
Disable automatic org bookmarks 2022-05-21 08:28:48 +02:00
Daniel - 99dbd00e71
Exclude HOLD items from WIP list 2022-05-16 21:15:03 +02:00
Daniel - 826725cd99
Manually add NonGNU elpa archive
This has been added by default in Emacs 28.1, so it's resonable to also include
it in my list.
2022-05-15 17:13:51 +02:00
Daniel - b8313453d4
Change default calendar time zone style to numeric
I do not know all time zone abbreviations, but I can handle numbers :)
2022-05-15 17:13:07 +02:00
Daniel - cee89f4ef8
Add auto-mode declaration for local copy of plantuml-mode
*.plantuml files are currently not loaded automatically in plantuml-mode, this
should fix it.
2022-05-15 13:53:42 +02:00
Daniel - 0eb79f74d7
Do not save undo-tree history by default
Turns out I don't use it and it's slowing down saving of large files.
2022-05-15 10:58:19 +02:00
Daniel - 05a126bfed
Introduce dynamic block to show backlinks of Org item at point
This dynamic block will list all items (including their priority) that link to
the item at point or to any of its parent items.  The use case for this is to
have a series of periodic appointments where certain topics should be
discussed (“jour fixe”), and where those topics can be referenced in those
appointments via backlinks.  However, simple backlinks to an item on a fixed
date is not sufficient here, as there might not be enough time on that day to
discuss all items.  To avoid having to manipulate all backlinks that could not
be discussed, one could simply add a reference to the parent item of all
appointments of the jour fixe series.  Using the new dynamic block introduced
here, this item will be on the list of open topics until it's closed.
2022-05-14 11:43:08 +02:00
Daniel - 5664eeb2bb
Remove obsolete keybinding for ivy-pages
Package seems to be gone.
2022-05-08 19:31:06 +02:00
Daniel - 41dbea2ebd
Disable lispy in minibuffer
Somehow, using lispy in the minibuffer causes random indentations although
everythin is on the same line.  This might not be an issue with lispy itself,
disabling it however makes the symptom go away.  Since I am not using lispy
features in the minibuffer anyway, I can as well switch it off.
2022-05-01 19:30:36 +02:00
Daniel - 1159a9fe64
Ignore periodic tasks on hold in overview 2022-05-01 14:39:36 +02:00
Daniel - 380c102dcc
Save undo-tree history to disk
But use the standard ebackup directory for this.
2022-04-30 15:13:18 +02:00
Daniel - 1b3acb5c20
Remove custom function to play radio stations
This is done via helm-emms nowadays.
2022-04-29 09:39:57 +02:00
Daniel - 3d119fdd18
Minor cleanup of main init file 2022-04-29 09:36:24 +02:00
Daniel - 8a264d7c1e
Kill dired buffers when switching directories
This works only in Emacs 28.1+.
2022-04-29 09:26:14 +02:00
Daniel - b384065065
Enable highlighting of "next error messages"
As recommended by https://www.masteringemacs.org/article/whats-new-in-emacs-28-1.
2022-04-29 09:05:18 +02:00
Daniel - fcdb36b39a
Remove pdf-tools
I am not using them anymore.
2022-04-29 08:48:29 +02:00
Daniel - 10b69ad923
Remove declaration for db-projects
The code's still there, but not used otherwise.
2022-04-29 08:23:52 +02:00
Daniel - 8773e60052
Fix history key binding for Eshell with new Emacs 28.1
There's a new mode map `eshell-hist-mode-map` which already contains a binding
for `M-r`, so we have to redefine that key binding there to make it work.
2022-04-29 07:42:39 +02:00
Daniel - 5576b363cb
Update headline of WIP block
It's nicer this way :)
2022-04-02 11:00:07 +02:00
Daniel - 3f01c6fecb
Fix typo in PERIODIC task list and ignore future items
Ignoring future items allows to ignore periodic tasks until they are due again.
2022-04-01 18:32:08 +02:00
Daniel - ff0ea07f53
Let the SOMEWHEN list also display notes
This allows to keep ideas for later in dedicated NOTE items, to group them
together.  Not sure whether this is really a good idea, as it spreads those
ideas around, but let's try it out!
2022-03-31 08:57:19 +02:00
Daniel - 4428db4f82
Apply minor cosmetics 2022-03-30 08:44:15 +02:00
Daniel - cfc11ec807
Keep Org links after insertion by default
When inserting links multiple times, it's annoying to have to go back to the
original place the link points to and reinsert it into the stored link list.
Using a universal argument to toggle `org-link-keep-stored-after-insertion` is
also not an option, as I keep forgetting to use it.

Instead, by default keep all links after insertion.  To be able to handle the
growing list of links, we now provide a function `db/org-clear-stored-links` to
set the list of stored links to the empty list.
2022-03-30 08:42:06 +02:00
Daniel - 7713f379eb
Simplify use-package declaration for org-ql-search
We want `org-ql-search`, but need to install `org-ql`, so it's best to simply state
this in the `:ensure` declaration.

The `:commands` specification might be redundant, as `org-ql` comes with an
autoload file.  But let's keep it there for clarify purposes.
2022-03-27 11:58:52 +02:00
Daniel - 20597a12e3
Add org-ql as extended query languag
This includes, among others, a dynamic block to insert the result of a query –
which is exactly what I am looking for.  I have to learn a new query language,
though, but it seems as if non-sexp syntax is easy enough; and having a
lisp-like query syntax is undoubtedly a big improvement!
2022-03-27 11:49:44 +02:00
Daniel - 85a963e6ae
Update configuration of stuck projects to exclude TEMPLATE items 2022-03-27 10:00:26 +02:00
Daniel - ce9fa34c1a
Include items in WIP list that are scheduled today or in the past
This way, the WIP list faithfully shows all WIP items and gives a better
overview of the current work load.  Items will appear twice though when they are
scheduled today or in the past.
2022-03-27 09:44:35 +02:00
Daniel - d025283c24
Experimentally introduce TEMPLATE tag
This should allow to have TODO subtasks in templates without them appearing in
agenda views, among others.

Tried to update some agenda views, but some configurations may still be missing.
2022-03-27 09:41:51 +02:00
Daniel - 470a4c2ebf
Do not save bookmarks while using Org capture
I do not use those.
2022-03-19 20:09:06 +01:00
Daniel - 800e4ed4d1
Try initializing the Gnus registry earlier
Somethings restarting Gnus results in many error messages whether the
`gnus-registry` seems to be nil.  Maybe initializing the registry earlier helps?
2022-03-18 17:05:54 +01:00
Daniel - 844b0baf0f
Fix markup in init.el commentary
Use - instead of * for itemize, as otherwise the individual items are confused
with headlines.
2022-03-18 17:05:23 +01:00
Daniel - 5ad6429442
Do not use notmuch for nnmaildir searches anymore
Not needed anymore, as the underlying file layout has changed.
2022-03-14 19:25:06 +01:00
Daniel - 6eb3e4e943
Do not automatically add ATTACH tag
I do not need this tag and it might confuse me.
2022-03-11 11:46:56 +01:00
Daniel - 43fb995ba4
Store link to recently attached files
This allows to insert those links directly into the buffer afterwards.  Might
come in handy when inserting screenshots on Windows.
2022-03-11 11:40:36 +01:00
Daniel - 558330f42c
Exclude done periodic projects from agenda view 2022-03-09 16:21:25 +01:00
Daniel - c35956c2dd
Fix false filter in Next Action List 2022-02-25 17:13:25 +01:00
Daniel - 9221f0f8af
Don't let TRAMP use auth-sources when completing input
This is unnecessary and potentially annoying.
2022-02-23 18:10:17 +01:00
Daniel - b3202085c3
Simplify dired ls switches
This should also work on busybox now.
2022-02-23 18:09:56 +01:00
Daniel - 5234ddd0a3
Do not show scheduled items in WIP or NEXT list
When things are scheduled, they are shown in the time grid portion of the
agenda.  When they are scheduled in the future, they will not show up until that
date is due; when they are scheduled in the past or present, they are shown on
the time grid directly.  Both situations are sufficient, and it's thus not
necessary to show scheduled items in other lists as well.
2022-02-23 16:51:45 +01:00
Daniel - 695b3396dd
Extend WIP list with started dates and remove future items
Started dates are also WIP, in particular if they have been interrupted.  Items
scheduled in the future should only appear on the WIP list when they are due.
2022-02-07 17:10:17 +01:00
Daniel - 0a76969a95
Automatically expire elements in Gnus groups via gnus handler
So I don't have to do it manually.

Not sure whether this works, though.
2022-02-06 20:56:46 +01:00
Daniel - 940c4b04a8
Remove explicit initialization of gnus-demon
This is automatically done by `gnus-demon-add-handler`.
2022-02-06 20:56:19 +01:00
Daniel - 5178d039f4
Experimentally add a WIP list
I regularly filter the main agenda view for the CONT tag to see my WIP items, so
it's propably meaningful to have this as extra list.  It's using some space in
the agenda view, though, so let's see how this will turn out.
2022-02-06 14:19:45 +01:00
Daniel - 90223e3ab0
Do not export diary by default
This had been used to synchronize my calender with others, but since this
synchronization is not in use anymore, regular exports are unnecessary.
Furthermore, the export makes Emacs unresponsive sometimes, as the export does
not seem to be easily preemtable.
2022-02-06 10:11:28 +01:00
Daniel - 2b02da2eca
Do not filter short kill ring entries in helm selection
I sometime kill single characters for usage in query-replace, and not having
them available in the kill ring is hampering.
2022-01-30 21:06:43 +01:00
Daniel - dccac3982f
Do not highlight LaTeX related syntax by default
Enabling this somehow caused performance issues in Org Mode buffers, and since I
am not using this syntax, let's just disable it.  This setting can be
overwritten via the Customize interface.
2022-01-29 15:37:56 +01:00
Daniel - 50362f4d27
Allow to ignore stuck projects that are scheduled in the future
This allows to postpone projects into the future when they are not relevant now
but would otherwise be stuck.  Because of the scheduling, an automatic reminder
will appear on the agenda when the date is due, upon which the projects is shown
again as stuck.  Then new items can be planned, or other measure might be taken.
2022-01-23 09:34:18 +01:00
Daniel - 4a5b363ead
Show items in main agenda view that are not scheduled in the future
This should make the main agenda view into a good overview of everything that
can be done right now, allowing it to choose the next task directly from that
list.  The scheduled items then are only meant for information and hiding future
tasks.
2022-01-02 14:22:35 +01:00
Daniel - 4ae5bc87dd
Reduce Gnus registry size
I had ≈9500 entries and I think this had been too much, causing noticable lag
when closing Groupd.  In particular my email volume is much lower than this.
2021-12-15 09:46:01 +01:00
Daniel - 5bc7c70882
Add function to copy template of Org Mode item to location at point
This is a convenience function and has been bound to a shortcut for easier
usage.  This function is supposed to be the standard way to copy templates.
2021-12-15 09:43:50 +01:00
Daniel - 092cbd653d
Ignore SOMEWHEN items on waiting-for list
They are shown in the dedicated SOMEWHEN list, where they belong.
2021-12-14 19:34:34 +01:00
Daniel - ded3e93e78
Add some missing autoload statements 2021-12-13 21:36:04 +01:00
Daniel - d5d6c9ecb2
Try out special behavior of C-a and C-e in Org mode
Learned about this via [1].  Sound interesting!

[1]: https://emacs.stackexchange.com/questions/55360/org-move-point-to-beginning-of-an-item#55366.
2021-11-28 14:41:39 +01:00
Daniel - 901d557c0b
Add backlog overview over all next items, regardless of schedule
This is primarily to be used in the weekly review to check all next items for
still being relevant, but can of course be used for other purposes as well.
2021-11-22 17:24:34 +01:00
Daniel - 56693defa3
Temporarily disable moody modeline
Apparently, this causes a considerable lag when drawing buffers (determined by
experimentation).  It's not clear to me whether really moody is the cause of
this issue here, or some subtle side effect.
2021-11-08 19:15:12 +01:00
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