Commit Graph

1616 Commits

Author SHA1 Message Date
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 - 8d148c417a
Remove emacs-notes.org
Moved them to my zettelkasten after all.
2022-05-22 20:48:51 +02:00
Daniel - b0d208c2e5
Clean up my random Emacs notes
Not using it much currently, but I think it's good to keep those here.
2022-05-22 20:42:53 +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 - de314f6ac2
Refactor org link formatting functions to avoid duplicate code 2022-05-20 19:34:56 +02:00
Daniel - 2c01e1e09c
Do not format links directly in backlink dynamic block
They will show as links in links and will thus be mostly incomprehensible.
2022-05-20 19:22:57 +02:00
Daniel - c572451c14
Do not output headlines without backlinks in dynamic blocks 2022-05-20 19:09:39 +02:00
Daniel - 99dbd00e71
Exclude HOLD items from WIP list 2022-05-16 21:15:03 +02:00
Daniel - 3dcbf3e800
Add deprecation marker to custom project package 2022-05-15 17:50:15 +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 - a36671dc61
Fix minor indentation glitch 2022-05-08 17:04:45 +02:00
Daniel - 9184756c07
Refactor function to return backlinks to item at point
Extract function to return actual list of backlinks, to later use it for
extracting backlinks of item at point and all its parents.
2022-05-05 22:08:02 +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 - 726f3c1934
Ignore undo tree backup files
Seem to be new with the recent update of undo-tree.
2022-04-29 09:06:58 +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 - 8101a29d7a
Change default shortcut for "r" from scratch to refile
I am nowadays keeping my notes in the refile file, and not in the scratch
buffer.  Change the keybinding to reflect that.
2022-04-29 09:04:30 +02:00
Daniel - ad50360623
Update dash 2022-04-29 08:48:39 +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 - 92e30c7d47
Allow exclusion of individual track from favorite playlist
Filter for the tag `exclude-favorite-playlist` for this.
2022-04-23 18:57:39 +02:00
Daniel - 8f18c159d0
Code cosmetics
And not using `nconc`, as I am not quite sure whether it would also affect
`org-agenda-text-search-extra-files`.
2022-04-16 10:19:28 +02:00
Daniel - 341dec6a6a
Simplify code searching for backlinks
Reduce the conditional parts and extract common code.
2022-04-16 10:13:00 +02:00
Daniel - b670ee57f6
Only search Org buffers when querying for backlinks
It does not make sense to look in non-Org buffers for backlinks of items, but
this was indeed what happend until now: the function `db/org-get-location` only
checked whether the current buffer is associated with a file, and if so uses it
for querying the user for an item to select.  This does not make sense, as
`db/org-get-location` is supposed to return a mark to an Org item.

This is now fixed by `db/org-get-location` to also check whether the current
buffer is also an Org buffer.  It's as simple as that.
2022-04-16 10:08:11 +02:00
Daniel - 1d5f318b5b
Add function to return list of Org items linking to item at point
This function is not meant for interactive use, but instead should be used in
source blocks such as

```
(db/org-backlinks-to-item-at-point)
```

This will add a table of all items linking to the current item at point, and cut
be used in item templates, for example.

Background: I tried to achive this functionality with `org-ql` directly, but
somehow failed.  This function simply encapsulates the corresponding call to
`org-ql-query`, adding the ID property of item at point automatically.
2022-04-16 09:58:46 +02:00
Daniel - 5576b363cb
Update headline of WIP block
It's nicer this way :)
2022-04-02 11:00:07 +02:00
Daniel - fdc32eaa6d
Clear refile cache when updating the headline of an org mode item 2022-04-02 08:56:18 +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 - 367c8969fc
Make going back and forth in timeline buffers more robust
Do not treat the headline as a valid line.
2022-03-31 14:22:52 +02:00
Daniel - 3c7ea1b987
Simplify extraction of timeline entries from timeline buffer 2022-03-31 13:35:12 +02:00