Commit Graph

862 Commits

Author SHA1 Message Date
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