• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: October 4th, 2023

help-circle

  • Aside - is there any good docs about _using_ treesitter mode? Setting it up was covered in a few great notes and guides, and took only a couple minutes.

    ex: python-mode has a keybinsd that shifts current line/region right or left a hop; super handy! I didnt’ see any obvious keybind for that in python-ts-mode … I expected to have a lot of like-for-like in the new mode, but I guess thats not quite right. Its not ‘a new python mode’, its ‘treesit modes’, so have to get used to presumably new keybinds for treesit-modes … and maybe they’re even consistent across languages (that’d be something!) … alas, I didn’t find out what that key was, so, sort of a shame.

    Any handy list of keybinds that are super useful across the treesit modes?







  • More info is needed, really.

    Yes you coudl ssh there and use the local Emacs (v23 apparently.)

    If ssh is supported like that, then local to you Emacs (v 29 or whatever) over Tramp/ssh should work fine as well (the F5 load balancer deep packet inspection wouldn’t see the different; Tramp is just ssh’ing and running commands same as a user would.)

    You could also try sshfs (map a local filesystem to a remote mount over ssh) but in my experience thats really slow.

    You could run an Emacs on the remote, with X11 projection to your laptop, over ssh tunnel, but that’d likely be slow, and Emacs 23 is ancient :)

    … so a local to you Emacs 29 with Tramp over ssh to the remote should likely work, but it depends on some other things; they _could_ block it, but not likely, assuming you can ssh there yourself.

    Now, if theres a jumpserver or something, that could be a problem (2FA type challenges in the middle) but multi-hop ssh tramp could do it…

    Another question is … why the heck are they stuck at Emacs 23, which is probably 10+ years old. Thats a security risk right there they should be happy to remedy :)