News for hackers. Stuff that matters.
Re:Buttery smooth Emacs (2016) by kickingvegas on Thursday December 27, 2018 @01:01AM (#18767707)
If you’re willing to give up local editing, Blink.sh/mosh + tmux + emacs/emacsclient on a remote host has done the job for me.
Re:Buttery smooth Emacs (2016) by jwr on Saturday December 29, 2018 @06:47PM (#18786396)
No, Blink does not work for Emacs.

This is a common misunderstanding: a serious Emacs setup will use multiple modifiers (in my case, I need at least Shift, Control, Meta/Alt and Super, preferably also Hyper). My Mac's command key is mapped to Super in my native Emacs. My Emacs as an IDE is basically unusable without the Super modifier. As there is no way to get the additional modifiers through Blink, this is a non-starter. Additionally, the terminal is a bit too slow, and there are a number of other issues (for example, remapping CapsLock to Control kind of works, but there is a small delay, so you get missed keystrokes sometimes).

So, while I use and love Blink, it does not help with Emacs at all.

Re:Buttery smooth Emacs (2016) by sedachv on Tuesday January 01, 2019 @05:15PM (#18802740)
> Meta/Alt

Meta and Alt are two separate modifiers, so if you get a JIS Japanese layout keyboard (QWERTY with extra modifiers), you can have Alt as a separate modifier, at least in X11, which has enough mod bits (mod1 through mod5) to cover everything. Handy for quick input of APL, Greek, etc. Unicode characters.

Re:Buttery smooth Emacs (2016) by vanzorn on Thursday December 27, 2018 @01:30AM (#18767829)
How well does it handle chords? I had a heck of a time covering a lot of my common key combos using a bluetooth keyboard on an iPad pro.

Would love to know if anyone has a good terminal solution for emacs, (ideally kickingvegas' blink.sh/mosh + tmux) ... I returned to XWindows via WSL (Ubuntu 18.04) + VcXsrv for emacs daily use.

Re:Buttery smooth Emacs (2016) by kickingvegas on Thursday December 27, 2018 @01:40AM (#18767870)
Blink.sh has support for swapping caps and control, which goes a long way for the chords I use in emacs. Not all the meta keys are supported if you’re looking for that, but esc is handled fine.
Re:Buttery smooth Emacs (2016) by tosh on Thursday December 27, 2018 @03:29AM (#18768287)
I have a similar setup at the moment (without tmux). One thing I noticed w/ mosh was that copy pasting an input from advent of code (a few hundred lines iirc) caused mosh (?) to hang and I had to restart blink. When I tried copy pasting via ssh instead of mosh it worked.

Any idea why this might be (I’d be curious if that was to be expected re how mosh works or whether it might be fixable) and alternatively how I can work around it (instead of fetching the content from a web page via the remote server?).

Re:Buttery smooth Emacs (2016) by kickingvegas on Thursday December 27, 2018 @03:45AM (#18768331)
Possible workaround: create a new Blink shell and paste clipboard via cat > file. Then scp file to the remote host and import into emacs, if scp works. Another approach is to use iCloud sync to move the file over if the remote has it. Note that pasting via cat > file will not echo your clipboard. Don’t worry, it’s there.
Re:Buttery smooth Emacs (2016) by tosh on Thursday December 27, 2018 @04:02AM (#18768398)
ty!