1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-01 16:32:54 +03:00
kakoune/rc/windowing
Johannes Altmanninger 1ce639f2f9 rc windowing: with-option to restore option value also after error
Today "with-option foo bar command-that-fails" fails with

	Error: 1:1: 'evaluate-commands': 1:1: 'with-option': 2:5: 'evaluate-commands': 4:9: 'evaluate-commands': 1:2: 'no-such-command': no such command

but leaks the option value. Fix this by resetting the option and
rethrowing the error.  Unfortunately the original stack trace is lost
(questionable behavior inherited from C++?).
2023-12-16 12:13:20 +01:00
..
repl rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
detection.kak rc windowing: with-option to restore option value also after error 2023-12-16 12:13:20 +01:00
iterm.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
kitty.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
new-client.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
screen.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
sway.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
tmux.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
wayland.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
wezterm.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
x11.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00
zellij.kak rc windowing: allow to configure windowing system and window placement in new/terminal commands 2023-11-13 22:54:49 +01:00