Commit Graph

599 Commits

Author SHA1 Message Date
Daniel Borchmann 362f3cad22
Sort keybindings
This should prevent unnoticed duplicate keybindings.
2020-09-12 08:52:02 +02:00
Daniel Borchmann 021416fcf9
Add goto-last-change package 2020-09-12 08:51:35 +02:00
Daniel Borchmann 1c7f9917d3
Remove duplicate (and unused) key bindings for C-z 2020-09-12 08:51:17 +02:00
Daniel Borchmann b65359b652
Allow scrolling during search 2020-09-11 17:19:07 +02:00
Daniel Borchmann 3f2993654d
Set some imenu variables 2020-09-11 17:10:02 +02:00
Daniel Borchmann 4e63da5d67
Increase imenu depth in Org Mode buffers 2020-09-11 17:03:45 +02:00
Daniel Borchmann beca0bf7c5
Inhibit implicit frame resizing
This is not important when using a tiled window manager, but may inhibit frame
resizing when starting elsewhere, like on windows.
2020-09-11 16:49:57 +02:00
Daniel Borchmann 5961491f77
Replace custom imenu support use-package with builtin one
2020-09-11 16:47:28 +02:00
Daniel Borchmann a20b5faa42
Explicitly set w32-browser keybindings
This is for when dired+ is not available (which is current the case, because
dired+ does not seem to be available from melpa and the previously used version
was too old).
2020-09-07 17:00:59 +02:00
Daniel Borchmann 8ba10fda9c
Show closed and clocked states in agenda by default
State changes are usually not that relevant for me.
2020-09-07 16:59:41 +02:00
Daniel Borchmann 61260a4651
Use ID properties for links, creating it if necessary
and elsewhere.
2020-09-06 16:06:46 +02:00
Daniel Borchmann 1e16d183c5
Add new TOPIC tag
This should allow to distinguish proper tasks (“projects” in the PARA parlance)
from areas of responsibility.  It currently mimics the semantics of the NOP tag,
but may be updated later on.
2020-09-06 10:55:03 +02:00
Daniel Borchmann b1010403e4
Update Org Mode tag list 2020-09-06 10:45:25 +02:00
Daniel Borchmann 327b44e3a0
Emit message when server is not started 2020-09-02 15:04:54 +02:00
Daniel Borchmann e08b6bc31d
Comment on our check for whether the server is already running
In a nutshell: it might be redundant, but we keep it nevertheless.
2020-09-02 11:53:07 +02:00
Daniel Borchmann 621c51f347
Remember why to require helm-for-files in Helm shortcut function 2020-09-02 11:28:42 +02:00
Daniel Borchmann 121f5ee16b
Add missing require for helm recentf source 2020-09-02 11:27:00 +02:00
Daniel Borchmann 1708ed3ec4
Make the server log interactions with clients 2020-09-02 11:23:00 +02:00
Daniel Borchmann b51c311210
Make server start more robust
The present configuration is supposed to start the server if it's not already
running.  Previously we checked this using `server-running-p', but this is not
really realiable.  Instead, we now checking the `server-process' variable

Furthermore, if it turns out during startup that the currently configured server
file is already present, we warn the user about this and don't do anything
else.  We let the user to fix it manually because it's (i) easy for the
user (easier than doing it automatically) and (ii) only done once, namly during
startup (the burden on the user is thus tenable).

The current implementation may not be accurate, though, as my understanding of
the implementation around Emacs' server functionality is only at the beginning.
2020-09-02 11:22:56 +02:00
Daniel Borchmann b9fe0924f2
Add recently used files to main helm shortcuts function 2020-08-31 08:23:26 +02:00
Daniel Borchmann cb081e22b5
Revert "Remove obsolete note taking capture template"
We may need this for fleeting notes.  See

This reverts commit 20176badc7.
2020-08-29 12:19:16 +02:00
Daniel Borchmann 23c2a225ae
Fix obsolete key binding for org-roam 2020-08-29 11:52:20 +02:00
Daniel Borchmann 20176badc7
Remove obsolete note taking capture template 2020-08-29 11:50:46 +02:00
Daniel Borchmann 23fc3133c4
Try to fix a problem with org-roam and it's auto-rename feature
The old title is sometimes not retrieved correctly and nil is passed instead.
This leads to errors and links not being updated.
2020-08-29 11:50:03 +02:00
Daniel Borchmann 1c044cc086
Add stub configuration for org-roam
Just trying it out.  More configuration may follow.
2020-08-28 20:12:29 +02:00
Daniel Borchmann 4c7c18b34e
Remove some unused package definitions 2020-08-27 19:39:28 +02:00
Daniel Borchmann 186aef5252
Fix typo in use-package definition for shell scripts 2020-08-27 19:39:18 +02:00
Daniel Borchmann 628bfde98c
Ensure that expand-region is available 2020-08-27 19:35:51 +02:00
Daniel Borchmann ae77ece055
Do not disable package initialization on startup
This is some relic from former configurations, and might have been wrong quite
some time now.  However, in Emacs 27+, package initialization is done before
loading user-init-file, and thus we don't have to do it by hand.  Before that,
package initialization was done after reading user-init-file, but before calling
after-init-hook, and since we needed to load some packages in the init file, we
had to initialize package.el ourselves.
2020-08-27 15:22:00 +02:00
Daniel Borchmann 1ba91b3271
Introduce dedicated variable for main Org Mode file
The shortcut in the frequently-used menu now points there, and not anymore to
the dedicated home and work files.  If only a single main Org Mode file is used,
this variable should be sufficient.
2020-08-27 12:16:54 +02:00
Daniel Borchmann 9cf79c3733
Move custom helm key bindings to the use-package configuration
This is where they belong.
2020-08-27 11:52:25 +02:00
Daniel Borchmann 5d6110982b
Add dired-recent to keep a cache of recently opened directories
Inspired by (and mostly copied from)
2020-08-27 11:46:06 +02:00
Daniel Borchmann 1187577348
Manipulate explicit-bash-args only after loading shell package
It's not there available early, duh!
2020-08-26 19:45:34 +02:00
Daniel Borchmann 9f42b95958
Try to enable readline editing in shell-mode
See for more
2020-08-26 17:27:51 +02:00
Daniel Borchmann 88e0a5021d
Add custom function for keyboard-quit
This version should also quit the minibuffer even if not selected.  Found at
2020-08-26 10:30:25 +02:00
Daniel Borchmann 221f8f7fc3
Move custom helm bindings to top-level db/run-init
Configuring custom key bindings via use-package's :map keyword does seem to
install autoloads for the bound functions into the main helm package.  I.e.,
when binding `db/play-radio-stations' to # in `helm-command-map' via :map,
use-package seems to install an autoload for `db/play-radio-stations' that
requires `helm', instead of the correct `db-music' package.  Additionally,
defining key bindings somewhere in the init file is hard to manage, and they are
thus now collected with other key bindings in `db/run-init'.
2020-08-25 14:23:06 +02:00
Daniel Borchmann f1ef558a23
Explicitly require helm instead of enabling helm-mode
`helm-mode' should actually not be activated, since we are still using ivy for
`completing-read' and friends.  That being said, when we want to enable
`helm-mode' in the future, we should also not call `ivy-mode' anymore.
2020-08-23 20:28:04 +02:00
Daniel Borchmann 2ed50ed61f
Add comment for new early-init.el file
So I know what's this is about next time.
2020-08-15 16:54:00 +02:00
Daniel Borchmann ed7266bd65
Move package initialization to early-init.el
This is done in preparation for using Emacs 27.1, which sources this file
automatically before package activation.
2020-08-15 16:50:40 +02:00
Daniel Borchmann 4e0bb27304
Set projectile's default completion to helm 2020-08-15 11:35:04 +02:00
Daniel Borchmann 14014c25ec
Let magit choose its completing backend
When we switch defaults, it should also apply to magit.
2020-08-13 16:22:21 +02:00
Daniel Borchmann 83f8496ca6
Set default key binding for helm 2020-08-13 16:16:51 +02:00
Daniel Borchmann 8ae7d9d7f8
Eagerly load helm
Autoloading helm does not work well with custom keybindings.  Binding our
default "C-c h" to either `helm-command-map' or `helm-command-prefix' gives
errors, as both are not commands.  In the previous configuration, the prefix
"C-c h" was initially undefined and only defined when helm was loaded.  This led
to irritating behavior.

All this can be fixed by eagerly loading helm.  This may slow down startup, in
particular on Windows, but it should be worth it.
2020-08-13 16:14:54 +02:00
Daniel Borchmann abc06188b7
Remove `helm-emms'
It was actually only used for playing EMMS streams, but since the implementation
has been rewritten in EMMS, helm-emms does not work anymore.  Replaced the radio
playing functionality by a custom function, obsoleting helm-emms.
2020-08-12 21:59:09 +02:00
Daniel Borchmann 772ee43c2c
Add custom function to play radio stations 2020-08-12 21:57:48 +02:00
Daniel Borchmann 12543a352b
Remove obsolete diminish package 2020-08-11 17:38:23 +02:00
Daniel Borchmann 09d28876f5
Revert default binding for F1 to EShell
I need more Emacs integration in my default shell.
2020-07-31 16:22:09 +02:00
Daniel Borchmann b65d05e2d3
Use an external shell as default shell
This is experimental.
2020-07-31 15:59:24 +02:00
Daniel Borchmann f8596e1028
Set default shell to bash
That's not only good enough, but also much more predictable than using the
currently used shell.  Customize `explicit-shell-file-name' if you don't want
2020-07-25 11:20:55 +02:00
Daniel Borchmann 1252023886
Use flycheck instead of flymake for Python
Not sure whether this configuration will actually work in all cases, but it's a
2020-07-12 12:54:54 +02:00