Commit Graph

1995 Commits

Author SHA1 Message Date
Daniel - d7ce497278
Add basic eglot configuration 2023-12-28 15:27:34 +01:00
Daniel - 3211acd21b
Extending lsp-mode configuration
Based on input from
https://andreyor.st/posts/2023-09-09-migrating-from-lsp-mode-to-eglot.
No configuration yet for eglot, though.
2023-12-27 21:45:41 +01:00
Daniel - 73de5e94ad
Show current number of matches in isearch
By courtesy of https://zck.org/improved-emacs-search, via [Irreal: A
Slight Isearch Improvement](https://irreal.org/blog/?p=11364).
2023-12-27 15:40:25 +01:00
Daniel - 30bd59c9da
Fix wrong keybinding definition for toggling the Org roam buffer 2023-12-23 21:35:50 +01:00
Daniel - 18e612b447
Show Org roam buffer in selected window before updating its content
This is to address the issue of malformed content in the Org roam
buffer, see https://github.com/org-roam/org-roam/issues/1586.  The
excellent description of @camdez in [there][1] is the basis for this
workaround.

[1]: https://github.com/org-roam/org-roam/issues/1586#issuecomment-1412250226
2023-12-23 21:17:48 +01:00
Daniel - 4eeb5527bc
Fix keybinding definitions for Org roam
Were defined in the wrong map, probably because this map was the correct
one in Org roam v1.
2023-12-23 18:24:31 +01:00
Daniel - 4fd8b655f9
Fix typo in comments 2023-12-23 15:31:01 +01:00
Daniel - 4bce1dec3e
Globally enable company-mode
This is an experimental setting to increase usage of completion
functionaly in my workflow.  It's not clear yet whether I will find this
disturbing, though.
2023-12-23 15:29:02 +01:00
Daniel - c0c5dfd080
Include unlinked references in Org roam buffer
This is an experimental setting to spot missing references easily.
Performance cost might be prohibitive, though.
2023-12-23 15:28:24 +01:00
Daniel - 4dfb36858a
Move Org roam db autosync activation to use-package definition
No need to conditionally enable it in main initialization function when
it can be done directly directly after loading `org-roam`.  This keeps
the configuration of the package local, i.e. syntactically together.
2023-12-23 15:27:06 +01:00
Daniel - 76c8717c24
Uniformly add single blank lines around captures Org items 2023-12-19 09:08:41 +01:00
Daniel - 5ebeeef3fd
Ensure point is on current clock when setting default task
Not sure whether this is the case otherwise.

Also add output when the default task is set, to see when it's set
accidentally.
2023-12-10 19:04:07 +01:00
Daniel - d1e3409e80
Only search for parent task for clock continuation when necessary
Avoid unnessary work by leveraging the fact that `setq` returns the new
value of the variable being set :D
2023-12-08 17:45:10 +01:00
Daniel - 498f4b78c4
Automatically clock into interrupted task only when not closed yet
This is to avoid jumping back to old task that are still pointed at by
`org-clock-interrupted-task` that have long been closed.  Let's see
whether this is enough to handle this case.
2023-12-08 17:43:59 +01:00
Daniel - 7128144ee0
Fix errors in some docstrings 2023-12-08 17:27:29 +01:00
Daniel - 482cebea68
Fix docstring for clock continuation function
Forgot to adapt this previously.
2023-12-06 16:40:56 +01:00
Daniel - 416ba934f9
Resume clock at interrupted task when available 2023-12-06 16:31:05 +01:00
Daniel - 479f9dbaf7
Remove obsolete configuration for synonyms package 2023-12-03 11:08:23 +01:00
Daniel - ed0286dc95
Include last modification time when adding custom-type bookmarks 2023-11-27 18:02:14 +01:00
Daniel - 15d202340f
Remove obsolete part of a function docstring 2023-11-27 17:46:12 +01:00
Daniel - 11ae275bb8
Do not use closures as handlers for custom bookmark types
Using closures leads to errors when using standard bookmark functions,
as they seem to expect a symbol as handler.
2023-11-27 17:35:33 +01:00
Daniel - 7456943c07
Limit line width in git commit messages to 72 characters
This is per https://cbea.ms/git-commit/#wrap-72 and makes the line width
in git commit messages independent of the global fill-column setting.
2023-11-27 17:14:00 +01:00
Daniel - 9a90e458f9
Adjust some code formatting
To avoid accidental reindentation via `lisp-indent-function`.
2023-11-25 10:17:25 +01:00
Daniel - a6ac99d013
Add autoload declaration for `org-cycle-hide-drawers`
Tihs avoids a byte-compiler warning.
2023-11-18 21:58:09 +01:00
Daniel - bbd547c1b7
Hide Org drawers during visibility cycling by default
This is taken from the release notes of Org 9.6,
cf. https://orgmode.org/Changes.html.
2023-11-18 16:25:32 +01:00
Daniel - aa0a7e9791
Unbind `org-agenda-redo-all` in agenda buffers
It's annoying that `org-agenda-redo-all` always jumps back to today, so let's
try to avoid this by not having it bound anymore.  I am usually completely
satisfied with `org-agenda-redo` anyway.
2023-11-18 14:19:25 +01:00
Daniel - 712a314923
Try a bit harder to avoid recentering after agenda buffer redo
New try: temporarily nullify `recenter`, seems to work so far and keeps point on
the same line.
2023-11-18 14:18:41 +01:00
Daniel - 2407f4196f
Fix typo in hydra docstring 2023-11-05 12:04:38 +01:00
Daniel - a959152d21
Increase highlighting of valid keys in Org clock hydra
This improves spotting the available keys, I think.
2023-11-04 09:35:40 +01:00
Daniel - 836bcaa0ff
Add small commit for structuring Org configuration 2023-11-04 09:34:28 +01:00
Daniel - 593a2ab9df
Get rid of last byte compiler warnings in Org configuration 2023-11-03 17:24:14 +01:00
Daniel - f14a5b6237
Make default Org clock hydra a bit more descriptive 2023-11-03 16:55:24 +01:00
Daniel - e675ec4b47
Ensure helm key bindings to be correctly set even w/o customization 2023-11-01 21:11:57 +01:00
Daniel - 44b78dbef1
Make main Org hydra a bit more consistent and self documenting
In particular, use “j” instead of “c” for jumping to the current clock, like the
standard Org bindings use it.
2023-11-01 21:06:35 +01:00
Daniel - 6c18d9ce9d
Ignore tasks on WAIT in stuck project list 2023-11-01 21:02:43 +01:00
Daniel - 7a42aedd9c
Add missing require statement for `helm-bookmark`
It's not automatically loaded with `helm`, apparently …
2023-10-29 13:16:06 +01:00
Daniel - 99aa8e5e56
Remove obsolete configuration for `typing` package 2023-10-28 19:06:24 +02:00
Daniel - 65f49dfabb
Eliminate byte-compiler warnings from eshell configuration 2023-10-28 18:59:21 +02:00
Daniel - 51d6111b47
Remove obsolete key bindings for ediff mode
I do not use them, and they cause byte-compiler warnings.
2023-10-28 18:51:17 +02:00
Daniel - 067a8cdacf
Eliminate some more byte-compiler warnings 2023-10-28 18:51:04 +02:00
Daniel - a41428eff0
Remove byte-compiler warning for enabling use-package imenu support 2023-10-28 18:14:07 +02:00
Daniel - 2f2eac0b38
Reorganize Gnus configuration to remove most byte-compiler warnings 2023-10-28 18:13:47 +02:00
Daniel - 7b3b0811a1
Separate TeX configuration into separate package
This allows to not have to install the `auctex` package without errors on
startup, cf. 886598e.
2023-10-28 12:06:27 +02:00
Daniel - 886598e0d8
Remove eval-when-compile for non-essential auctex package
This leads to an error on Emacs startup when auctex is not installed.
2023-10-28 11:35:32 +02:00
Daniel - 375ead7c7e
Add missing type and group declaration in `plantuml-mode` 2023-10-27 17:06:01 +02:00
Daniel - 55c19e5b78
Replace obsolete usage of `cl` in `plantuml-mode` with `cl-lib` 2023-10-27 17:05:43 +02:00
Daniel - f94e909987
Fix enabling imenu support for use-package
The setting has to be done before loading `use-package` (which yields a new
byte-compiler warning, narf).
2023-10-27 16:58:10 +02:00
Daniel - 88bc5b3162
Remove unnecessary require statements for `helm-emms`
The removed packages are loaded by `helm-emms` directly.
2023-10-27 16:32:30 +02:00
Daniel - dae26fcc5a
Do not perform adaptive sorting in personal shortcut helper
This never worked anyway, I would probably have had to define the source
globally for adaptive sorting to work, or something like that.  However, I am
usually happying with the interactive narrowing of the candidates, so let's get
rid of adaptive sorting for now.
2023-10-27 16:31:02 +02:00
Daniel - b3d620d884
Get rid of some more byte-compiler warnings in main init file 2023-10-27 16:30:19 +02:00