Commit Graph

2353 Commits

Author SHA1 Message Date
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
49c57c5438
Reformat and slightly update README 2025-03-28 18:58:40 +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
53a0944197
Remove obsolete .gitignore exclusion rule for bind-key
Not tracking that anymore.

This is a leftover from f205598.
2025-03-11 17:14:58 +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
e9a3778b74
Apply minor changes to Gnus configuration
Inspired by https://baty.net/posts/2025/03/using-gnus-for-email/.
2025-03-08 16:50:17 +01:00
2e2b208c23
Remember why we load customizations so late
So I don't have to ponder on this again the next time I see this …
2025-03-08 16:37:16 +01:00
9132364fb7
Avoid customization conflicts between Customize and use-package
To this end, do not use :custom in use-package declaration, because
according to the documentation[1], `:custom` declarations can conflict
with settings done via `customize-option`.  However, values set directly
in the configuration files should always be allowed to be overwritten by
custom settings done by the user – at least that's the general approach
of this Emacs configuration.

[1]: https://www.gnu.org/software/emacs/manual/html_mono/use-package.html#User-options
2025-03-08 09:10:57 +01:00
f2f98c3ac5
Do not restrict shell buffer display to frame sides
Give buffers running ephemeral `eshell` or `shell` sessions a name that
is different from the default name chosen by these commands, and only
restrict those ephemeral shell buffers to be displayed at the side.
This way, running the commands `eshell` and `shell` will yield windows
can be handled like any others and can be used for long-running
sessions.
2025-03-07 20:35:38 +01:00
5438a71cca
Tinker with Gnus' summary line format
Trying out some inspiration taken from https://baty.net/posts/2025/03/using-gnus-for-email/.
2025-03-07 17:34:32 +01:00
575eb0e600
Increase Gnus registry size
Hitting the limits.
2025-03-07 17:29:11 +01:00
0ba2fc5fd7
Adapt some obsolete configuration for transition to Emacs 30 2025-03-02 18:29:20 +01:00
de123f7cea
Allow relocation of custom URL bookmark types
This is mostly copied from the current implementation in `bookmark.el`,
adapted to non-filename bookmarks.

Note that we are now using the `location` slot in bookmarks to store the
URLs, and relocating bookmarks will set the `filename` slot to `nil`.
2025-03-02 18:11:13 +01:00
76815c0171
Use more generic location slot for storing URLs in bookmarks
This might allow easier relocation of such bookmarks later on.
2025-03-02 17:38:42 +01:00
c74eed5df1
Remove obsolete usage of defadvice
This only affected some old Gnus advices.  One of those should be
obsolete (I guess), the other has been transformed to use
`define-advice`.
2025-03-02 13:44:11 +01:00
0d1b624c72
Remove unused keybindings for bm 2025-02-26 13:06:49 +01:00