diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-06 11:15:09 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-13 17:36:32 -0700 |
commit | ac8ac7d171c21793e6192b2424ed374ba86c175a (patch) | |
tree | aa06242fb288009eda40fc28d88a552ce584273b /.config | |
parent | e33f5168aab82e69d017f6e6cf1f3a1937a2905f (diff) | |
download | dotfiles-ac8ac7d171c21793e6192b2424ed374ba86c175a.tar.gz |
emacsclient wrapper: introduce more uses of timeouts
Also improve handling of exit codes of intermediate gdbmacs requests.
Where these use gdb-wait-for-pending, if they don't exit zero, it means we
couldn't even submit the request, not just that it couldn't be fulfilled.
Also fix inotifywait(1) event type delete => delete_self.
Diffstat (limited to '.config')
-rw-r--r-- | .config/i3/config | 8 | ||||
-rw-r--r-- | .config/sway/config | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/.config/i3/config b/.config/i3/config index b4f68d2f..6f42f06e 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -59,17 +59,17 @@ mode "C-i-" { # make a fresh Emacs frame -- typically this gets invoked only on # empty workspaces, as otherwise I use commands under `C-x 5` to get # more Emacs frames - bindsym e exec emacsclient -nc, mode "default" + bindsym e exec emacsclient -nc -w8, mode "default" # override the script's usual logic to start a fresh, non-debug daemon - bindsym Shift+e exec emacsclient -nc --spw/installed, mode "default" + bindsym Shift+e exec emacsclient -nc -w8 --spw/installed, mode "default" # special daemon instance for debugging primary instance & Gnus - bindsym Mod1+e exec emacsclient -nc -sgdbmacs, mode "default" + bindsym Mod1+e exec emacsclient -nc -w8 -sgdbmacs, mode "default" # Fresh Emacs frame and get a shell in HOME. Without this it's # C-i e M-& which is too many keys esp. compared to C-i DEL - bindsym Return exec emacsclient -nce \ + bindsym Return exec emacsclient -nc -w8 -e \ "(let ((default-directory (expand-file-name "'"'~/'"'")) \ (display-buffer-overriding-action \ '(display-buffer-same-window \ diff --git a/.config/sway/config b/.config/sway/config index fecfc63a..cde42aed 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -38,17 +38,17 @@ mode "C-i-" { # make a fresh Emacs frame -- typically this gets invoked only on # empty workspaces, as otherwise I use commands under `C-x 5` to get # more Emacs frames - bindsym e exec emacsclient -nc, mode "default" + bindsym e exec emacsclient -nc -w8, mode "default" # override the script's usual logic to start a fresh, non-debug daemon - bindsym Shift+e exec emacsclient -nc --spw/installed, mode "default" + bindsym Shift+e exec emacsclient -nc -w8 --spw/installed, mode "default" # special daemon instance for debugging primary instance & Gnus - bindsym Mod1+e exec emacsclient -nc -sgdbmacs, mode "default" + bindsym Mod1+e exec emacsclient -nc -w8 -sgdbmacs, mode "default" # Fresh Emacs frame and get a shell in HOME. Without this it's # C-i e M-& which is too many keys esp. compared to C-i DEL - bindsym Return exec emacsclient -nce \ + bindsym Return exec emacsclient -nc -w8 -e \ "(let ((default-directory (expand-file-name "'"'~/'"'")) \ (display-buffer-overriding-action \ '(display-buffer-same-window \ |