Commit Graph

1407 Commits

Author SHA1 Message Date
9354941ca1
Open eshell by default when switching to projects
This is what I usually need, and opening dired can be done by using the eshell alias `d`.
2025-06-27 16:44:46 +02:00
3d63440d2f
Do not query for creating missing links
Inspired by https://spepo.github.io/2025-06-22-fault-tolerant-org-links.html.
2025-06-25 17:46:49 +02:00
58b3c81418
Try out visual-fill-column-mode 2025-06-22 14:50:25 +02:00
7a14c64ef0
Explicitly configure top margin for org-tree-slide presentations
Better to remember how the variable was named, in case I need to adjust this locally.
2025-06-22 10:43:35 +02:00
b38b2ede6a
Do not enable olivetti-mode on org-tree-slide-mode by default
Usually, no extra spacing is needed because org-tree-slides are shown with increased face size, such
that the whole width is necessary.
2025-06-20 16:12:05 +02:00
f865ec138e
Fix false keyword in use-package declaration 2025-06-17 09:09:35 +02:00
45af82410a
Set some buffer-local variables via setq-default 2025-06-16 14:04:44 +02:00
ca17fa4b7e
Fix autoload definition 2025-06-16 12:25:10 +02:00
66d32f0ff8
Make redefinition of frequently used features keymap work
Replaced keymap with prefix funtion for this.  Not completely understood yet what I am doing here.
2025-06-16 12:23:31 +02:00
12458f7dc1
Note deficit when using keymaps for frequently used features 2025-06-16 11:25:11 +02:00
b7c7703b84
Use descriptive names in frequently used feature keymap 2025-06-16 11:24:33 +02:00
ab9245d58f
Replace hydra for frequently used features by simple map
Easier :)
2025-06-15 18:22:09 +02:00
cef425b1f8
Remove redundant zoom hydra
It's already available with `text-scale-adjust`, so let's use this.
2025-06-15 17:44:20 +02:00
b3830b6868
Move hydras to main db-utils package
No need to keep them separate.  Will be replaced partially by repeat-maps when possible.
2025-06-15 16:59:49 +02:00
49352abbfc
Only show trailing whitespace in text-mode and prog-mode 2025-06-15 12:09:17 +02:00
2180704db9
Highlight trailing whitespaces by default 2025-06-15 12:03:14 +02:00
648b5cc341
Show folding levels for outline-minor more in fringe
Neat :)
2025-06-09 20:17:29 +02:00
b7819025e9
Handle GPG ascii armored .asc files like .gpg files 2025-06-08 19:40:05 +02:00
db16dec343
Fix false face setting in inactive mode-lines
Same fix as for the Org clock mode line.
2025-06-07 20:37:27 +02:00
45123dee0a
Deemphasize buffer name in inactive mode-lines 2025-06-07 20:32:01 +02:00
aaad0c7745
Update mode-line format
The previous setting had been overwritten by smart-mode-line anyway, so let's adapt it to the
actual value.
2025-06-07 19:27:56 +02:00
598be98640
Remove now used smart-mode-line package 2025-06-07 19:25:02 +02:00
fef218ec94
Show project information in mode-line 2025-06-07 19:24:45 +02:00
b16996ea51
Update initial version warning
Still mentioned Emacs 29 here, oops!
2025-06-07 18:58:51 +02:00
4472cd7867
Disable high-contrast mode-line
This reverts d6b731f.  Does not look good :/
2025-06-07 18:51:09 +02:00
b5ceefbea7
Apply some auto indentation 2025-06-07 18:50:59 +02:00
3526563ce1
Let Org set Emacs' frame title
Why replicate functionality that is already there? :)
2025-06-07 18:50:03 +02:00
9892cdc0a9
Remove obsolete theme settings
This seem to be remnants of 96d0c45, where the then introduced custom tab-bar theme definitions have
been removed some time ago.
2025-06-07 18:35:32 +02:00
d6b731fcea
Make active mode-line stand out more
I often struggle to find the currently active window, so let's try this.
2025-06-07 18:32:56 +02:00
c5eac20b30
Move buffers below bookmarks in custom shortcut function
I usually access bookmarks more often than buffers with this function.
2025-06-05 20:20:13 +02:00
84545e9db5
Prefer splitting windows horizontally first
This is what I am accustomed to, and this is what modern wide screens are good for :)
2025-06-01 16:09:59 +02:00
56fd725c55
Add default display rule for helpful.el buffers
Not optimal yet (would like to have helpful reuse windows displaying another `*helpful-XXX*`
buffer), but it's a start.
2025-06-01 09:52:27 +02:00
e41e62d6dc
Improve window placement for shell windows
Allow splitting windows vertically when height is a bit lower (as is on my machine), so that shell
buffers can appear also in a smaller windows.  Also reuse windows that already display a shell
buffer to be able to jump to them (and avoid duplicate windows).
2025-06-01 09:51:11 +02:00
573b275972
Display more information when in dired-hide-details-mode 2025-05-31 19:14:02 +02:00
cc515f8f4f
Remove unused dired-recent package
I haven't used in a while and rely mostly on dired's own history (or something else that keeps track
of this).
2025-05-29 12:41:07 +02:00
2ea26be188
Try to display project.el shell buffers in separate windows
Not yet working as it should, does only pop up new window when the current frame only has one
window.
2025-05-25 18:49:14 +02:00
fb0b6dc2d7
Reveal more context by default when jumping to hidden Org entries
This is meant to avoid partially revealed structures that give a misleading overview of the actual
structure.  I think this has been mostly caused by the default entry `(agenda . local)`, so we just
use `lineage` by default for everything now.
2025-05-10 09:30:43 +02:00
70cf684efa
Reenable buffer dimming when ace-window is active
Turns out I still need it to see that is indeed active … oh well.
2025-05-03 09:51:11 +02:00
0edf904d93
Disable buffer dimming when ace-window is active
I find this distracting nowadays.
2025-05-03 08:57:10 +02:00
9e1e976710
Use Histogram Diff Algorithm For Git also in vc.el
I have set `diff.algorithm` to `histogram` anyway, so let's also use this in `vc.el`.

Taken from https://github.com/dgutov/diff-hl?tab=readme-ov-file#notes.
2025-05-01 15:59:26 +02:00
326711f4d2
Update diff-hl fringe marks after committing with magit 2025-05-01 12:56:20 +02:00
5ffdcf2954
Try out diff-hl
Inspired by https://www.rahuljuliato.com/posts/dired-enhanced.
2025-05-01 11:17:26 +02:00
837b7fc106
Ignore direct input when at the start of an Org headline
This is to guard headlines to become invalid due to my erratic (mis)typing behavior.
2025-04-19 17:05:26 +02:00
def778595d
Play around with outline-indent.el
See https://github.com/jamescherti/outline-indent.el.
2025-04-13 18:54:19 +02:00
47218d6b1e
Try out docker.el
See https://github.com/Silex/docker.el.  Inspired by
https://www.rahuljuliato.com/posts/emacs-docker-podman.
2025-04-13 10:17:54 +02:00
297cc8fa05
Provide thing at point for consult line history
Inspired by https://arialdomartini.github.io/consult-line-at-point.
2025-04-12 16:46:20 +02:00
f49903f168
Apply indentation fixes
Missed those in the last commit.
2025-04-10 20:48:23 +02:00
f1a5462622
Set some options in init.el using setopt
This is to try out `setopt`, further adaptions to come.
2025-04-07 18:59:35 +02:00
6f07502638
Let vertico sort candidates by name mostly
Show the history first, for manual selection, but sort the rest alphabetically.
2025-04-05 11:59:42 +02:00
ef6ba17d55
Ensure that consult is installed 2025-04-05 07:45:33 +02:00
a04d5cb8d2
Allow preview in consult functions
This is particularly relevant for `consult-line`.
2025-04-05 07:44:16 +02:00
f5c3780caa
Set own list of emoji text interpretations 2025-04-04 20:23:21 +02:00
b0d648c093
Guard headline stars from accidental changes
Activate Org's speed keys for this.  Let's see whether now I will accidentally do other things
than typing characters at the beginning of a headline …
2025-03-30 18:49:32 +02:00
87ab75fda2
Use project.el for default search
`rgrep` can be used when `project-find-regexp` does not find matches, but the latter can be used
more intuitively and also provides choosing the base directory and a file pattern via universal
arguments.
2025-03-30 10:59:24 +02:00
cdeeb1b0eb
Use proper use-package declaration for lv package 2025-03-29 17:41:29 +01:00
db5e1b70ef
Some reformatting 2025-03-29 17:41:23 +01:00
9113276fc8
Avoid undefined error when showing help without Org being loaded
`helpful.el` relies on Org links, so we ensure `ol.el` is loaded.
2025-03-29 17:35:04 +01:00
6279921553
Fix misplaced control characters in docstring
Found by flymake.
2025-03-29 17:26:21 +01:00
bd451a954a
Group package.el configuation with use-package 2025-03-29 17:24:11 +01:00
b9fde435a7
Revert "Check for spelling in comments"
This also checks strings that contain commands and other arbitrary content, producing a lot of false
mispelling alarms.  This is disturbing, so let's disable it again.

This reverts commit 7d0eb498e2.
2025-03-29 17:18:26 +01:00
7d0eb498e2
Check for spelling in comments
Again inspired by https://github.com/purcell/emacs.d .
2025-03-29 17:15:15 +01:00
93a2e5f939
Add some buffer limit indicators
Taken from https://github.com/purcell/emacs.d/blob/master/lisp/init-editing-utils.el.  Nice!
2025-03-29 17:03:13 +01:00
620ce06760
Remove redundant indentation configuration for use-package
Should be done properly by Emacs out of the box.
2025-03-29 15:13:39 +01:00
ec8f980148
Use eglot in additional modes
Namely: shell scripts, Perl, Haskell.

Also fix a minor typo in Haskell mode configuration.  Show Flymake warnings directly inline.
2025-03-29 15:05:02 +01:00
5a98a26fd5
Remove redundant global key binding 2025-03-29 13:19:40 +01:00
d5bc8c909b
Move some generic hooks to corresponding sections in init.el
Feels more natural to keep them there.
2025-03-29 13:15:57 +01:00
345bf46e9e
Do not check anymore for existence of major-mode-remap-alist
It's available in Emacs 30.1.
2025-03-29 11:57:39 +01:00
8ca5a0ec61
Use use-package for loading custom LaTeX utilities 2025-03-29 11:57:29 +01:00
dc37acca4e
Regroup some package definitions 2025-03-29 11:53:06 +01:00
1313fe1f21
Remove unused expand-region package
Haven't used that in a while.
2025-03-28 19:23:30 +01:00
261022d594
Reorder package configuration
Also found that I had two package definitions for `project.el` … oops.
2025-03-28 19:21:30 +01:00
c9377c1658
Store bm bookmarks in the usual userdata directory 2025-03-28 19:21:00 +01:00
45b5794db9
Remove obsolete ivy configuration 2025-03-28 19:01:22 +01:00
69e917ec86
Move GUI disabling to early-init.el
This way we can void drawing elements that will be disabled anyway.

Inspired by https://emacsredux.com/blog/2025/03/28/speed-up-emacs-startup-by-tweaking-the-gc-settings/.
2025-03-28 18:41:04 +01:00
b8147a6d45
Remove some obsolete projectile configuration 2025-03-28 18:39:02 +01:00
c271947e68
Require at least Emacs 30 2025-03-28 18:38:51 +01:00
6c899154ca
More tweaking of ibuffer saved filter groups 2025-03-27 20:11:39 +01:00
24b583d021
Tweak stored ibuffer filter groups a bit more 2025-03-23 13:58:34 +01:00
8b32ad1292
Add some default ibuffer filter groups
Motivated by [emacs-solo][1] and extended with some information from the [Emacs-Wiki][2].

[1]: 45d7bc1bd1/init.el (L125)
[2]: https://www.emacswiki.org/emacs/IbufferFilters
2025-03-23 12:46:41 +01:00
4113bc6bc5
Move some frame configuration to early-init
Inspired by https://github.com/LionyxML/emacs-solo/blob/main/early-init.el.  I am not quite sure
whether this will have much effect, though.
2025-03-22 16:23:33 +01:00
d40c0bc085
Allow page motion while searching
Found in https://emacsredux.com/blog/2025/03/18/you-have-no-idea-how-powerful-isearch-is/, nice!
2025-03-21 17:51:49 +01:00
8369eab33d
Apply some isearch optimizations
From https://blog.chmouel.com/posts/emacs-isearch/:
- Bind `avy-isearch` to directly jump to currently visible matchings
- Use `consult-line` instead of `swiper` (this also removes a package dependency)
2025-03-21 17:40:46 +01:00
b59c852c53
Resort to using the default location for TRAMP history override
Directories like `~/.emacs.d/private` may not exist on remote machines.
2025-03-16 16:55:02 +01:00
b176cb1748
Store TRAMP history in main userdata directory 2025-03-16 10:26:07 +01:00
23ca139e20
Track main dotfiles Git repository in magit 2025-03-16 10:23:52 +01:00
4e9d804bca
Move custom comint hook to corresponding use-package declaration
Because of consistency and such.
2025-03-15 20:17:28 +01:00
5e03486be9
Use native Emacs completion in shell mode
Evaluating INSIDE_EMACS might also be helpful in setting a usable prompt, even if TERM is "dumb".
2025-03-15 20:00:58 +01:00
3515f3e084
Explicitly mark Emacs 30.1 Dired features as such
This avoids setting those variables in Emacs 29.x, which is still supported by this
configuration (it won't hurt much to set those variables in this case as well, though).
2025-03-14 18:16:55 +01:00
77fffe3265
Allow encryption key selection via minibuffer completion
This way, the usual completion mechanisms can be used — nice!
2025-03-14 18:15:50 +01:00
1ad53d298f
Jump to next message in Gnus when reaching the end
This is what I am used to, the option to stop at the end of a message did not convince me.
2025-03-12 17:06:13 +01:00
c50689c38c
Add some configuration for debugging the init file
From the use-package manuel, see info:use-package#Troubleshooting.
2025-03-11 17:27:17 +01:00
3dd3183a44
Bound movement in dired buffers
A nice Emacs 30.1 feature :)
2025-03-10 20:24:01 +01:00
f205598c67
Rely on builtin versions of use-package and bind-key
One less external dependency to take care of :)
2025-03-10 20:18:30 +01:00
a9b54d27a9
Replace some bind-key calls with use-package :bind declarations
Also remove some obsolete declarations along the way.
2025-03-09 20:22:22 +01:00
09a8706bb1
Add some stub configuration for remember
Inspired by https://baty.net/posts/2025/03/i-went-a-little-nuts-with-remember-mode-in-emacs/.  Not
using it yet, but it's nice to have it recorded here.
2025-03-09 14:54:51 +01:00
41c4295e82
Only initialize BBDB for message-mode
Being asked all the time whether to add the contact of the current message to BBDB is annoying.
2025-03-09 09:56:14 +01:00
7cbe776c7f
Fix use-package autoload configuration for Org utilities 2025-03-08 18:47:46 +01:00
0fe7ec5c1b
Clean up own utilities collection
Properly separate interactive commands from simple functions in use-package declaration, and remove
two unused functions.
2025-03-08 18:34:33 +01:00
40e98e5bfa
Allow wider git commit messages
No need to restrict to 72 characters per line.
2025-03-08 18:26:56 +01:00
47c7e664e5
Remove obsolete extra-symbol customization for TeX input method 2025-03-08 18:26:37 +01:00