Jordan Ellis Coppard <jc+o.em...@wz.ht> writes: Hi Jordan,
> I have a label on dev containers I use, so I want a custom completion > function: ps -a --filter 'label=jam.devbox' --format > '{{.ID}}\t{{.Names}}' This looks like you want to have an own completion function. See (info "(tramp) Customizing Completion") about, and ask for help here writing the function. Tell me if the Tramp manual isn't sufficient for this, it hasn't been updated for years in this area. > I also want to pass the workdir flag to Podman when `podman exec` is > invoked. > > I've read the docs a few times but all the different ways one can > customise how Tramp makes a connection feel overwhelming: create your > own method, connection local variables, default values for connections > based on application and protocol, etc. You don't need this. You can overwrite arguments of a method in tramp-methods, like tramp-login-args, see (info "(tramp) Predefined connection information"). > Tacking something on here, I also notice that tramp-list-connections > always returns nil for me (on 2.8.0pre), is this the case for you? > I've spent the past 6 hours trying to figure out why and I must admit > I am exhausted. As I wrote in my other message, this is fixed meanwhile. I'm very sorry that it caused so much pain. > Tramps codebase feels very complex and I wonder if there is > opportunity to simplify it a great deal (I say this as one willing to > assist in that). Overall I think I've spent about 50 hours this past 2 > weeks trying to understand why Tramp is doing what it is doing, where > errors are occurring etc it feels very brittle and I mostly just want > to get the work I want to be doing done instead. Or, if I am working > on Tramp in some regard the ability to make progress as all the > indirection, complex implementation, and difficulty debugging leaves > me feeling stonewalled almost the entire time. Well. For more than 20 years, I'm the Tramp maintainer. Other people do contribute (I'm very grateful for this!), but in general this is a one-man-show. I would appreciate much, if somebody (you?) could contribute on a regular basis. > /Jordan Best regards, Michael. PS: Tramp, like Emacs, is copyrighted to the FSF. If somebody wants to contribute more than a small change (up to 15 lines), we need to sign legal papers for the FSF copyrights. Are you willing to do so?