4 ms·
I agree that Emacs would greatly benefit from this feature but "unusable" a overly dramatic. It's an inconvenience. I use Super on the desktop as much as anybod
by donio 4y ago
I agree that Emacs would greatly benefit from this feature but "unusable" a overly dramatic. It's an inconvenience. I use Super on the desktop as much as anybody but I manage with remote tty sessions (including termux from phone) just fine. I just make sure that I also have a terminal-friendly binding for anything critical that I have on Super.
- denotational 4y ago> "unusable" a overly dramatic Disagree. I used to use Emacs with evil-mode, but I gave up because of this issue. If I entered `ESC` then `k` (i.e. return to normal mode and move up a line) too quickly on an SSH connection, there was a good chance the `read` syscall on the PTTY file descriptor would return two characters (determined via `strace`) instead of two subsequent calls returning a single character each. This makes it literally impossible for Emacs to distinguish it from `M-k` (i.e. `kill-line`), so I’d “randomly” see lines deleted before I figured out what was going on. The effect is a lot more pronounced over SSH where a spike in network latency can cause two subsequent TCP segments to reach the host essentially back-to-back (or even be retransmitted as a single segment), leading to this behaviour of `read` returning two characters.
- donio 4y agoI see. I don't use the vi modes so it never occurred to me that ESC vs meta would be timing sensitive.
- jwr 4y agoI guess it depends on how many Super shortcuts you use, and for how many years you have been using them. In my case, both numbers are into double digits, so.
- donio 4y agoI count 36 Super bindings and I started using them for Emacs in 2016. I was using them for StumpWM before that. Some of it is EXWM specific but about half also apply on a tty frame too. My fingers just automatically type the alternate version when needed. Sorry if it came off too argumentative. I've been on the other side of this plenty, one person's annoyance is another's show stopper.