Event JSON
{
"id": "54513ba43da2608825b6dc25003c5af9580b6d06ce20b8db60977732293196fd",
"pubkey": "504110c64c947a11a8a9be56ea7dd1154ca2446420064f4ebfd633299ce0e6ff",
"created_at": 1717074336,
"kind": 1,
"tags": [
[
"t",
"windows11"
],
[
"t",
"wsl"
],
[
"proxy",
"https://emacs.ch/@tacosandlinux/112530183732997047",
"web"
],
[
"t",
"podman"
],
[
"t",
"tramp"
],
[
"t",
"emacs"
],
[
"t",
"powershell"
],
[
"t",
"guidance"
],
[
"t",
"help"
],
[
"t",
"advice"
],
[
"proxy",
"https://emacs.ch/users/tacosandlinux/statuses/112530183732997047",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://emacs.ch/users/tacosandlinux/statuses/112530183732997047",
"pink.momostr"
]
],
"content": "I have been hacking building a custom #TRAMP mode lately. I've been failing miserably but it's been fun. Basically, I want to do a custom TRAMP connection to my WSL environments.\n\nI'd been using the #Podman TRAMP mode effortlessly in #windows11. It's very helpful that it just works and I can enter containers with #Emacs even on a windows system. I got thinking why can't I do the same with #WSL? \n\nYou can access WSL from #powershell or cmd with a command like so:\n\nwsl.exe -d Ubuntu-22.04 --cd \"~\" -e bash -i -l\n\nEverything that I need write a custom TRAMP mode seems to be there. I tried reading the tramp.el to see how they do it for containers. But still fell a bit short because TRAMP seems to be missing something. I guess if anyone has experience writing custom TRAMP modes can give some #advice, #help, #guidance I'd really apprieciate it.",
"sig": "42457eb81c4082f2d88d29f9ba35bd9f3504bf0981096d2afabdbf28c92f9c83a6246d686d1bca935b8f763d25abda4ab584f7cd5cc72a41d522c05b9203d4b0"
}