-
Notifications
You must be signed in to change notification settings - Fork 752
[BUG] -e exec commands not working on *stdin* scratch buffer #5423
Copy link
Copy link
Open
Labels
Description
Version of Kakoune
v2025.06.03
Reproducer
First, thank you for Kakoune, still loving it!
to reproduce launch kak from a terminal prompt with the following command line:
for i in {1..5}; do echo $i; done|kak -e "exec jge;eval rename-buffer temp"
or
for i in {1..5}; do echo $i; done|kak -e "eval rename-buffer temp;exec jge"
for i in {1..5}; do echo $i; done|kak -e "exec <percent>;eval rename-buffer temp"
Outcome
This creates a *stdin* scratch buffer with 6 lines. cursor remains at 1,1. rename-buffer does work as expected. d. % fails to select the entire buffer. Manually entering the commands works.
Expectations
Position the cursor to the end of buffer; select the entire buffer; In general execute keys
Additional information
Debian 13 clean install.
Reactions are currently unavailable