New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve ivy TRAMP support #285
Conversation
Sorry for the noise -- turns out I have no idea how to comment my PR on GitHub. The commit is available with annotations: |
Thanks, it looks like a lot of changes. Since Ivy is in GNU ELPA, you can contribute only up to 15 lines without an Emacs Copyright Assignment. Do you have one? |
Will shoot assign@gnu.org a message for the CA. I'll let you know once I've gotten it in order. |
Great! If you're in USA, it can be done faster electronically. I had to go through snail mail since I was in Germany back then, so it took around 1 month. |
I did mine electronically, but it took about a month anyway (no idea why). Hope it gets done in short order! :) |
Received confirmation of my Emacs assignment. I noticed that there was a bug in my previous patch (6666cf8) when checking against the expanded filename (fixed in b39e20c). I expand them in the above PR in some places as well, so I will take some time to investigate if there are any related issues a bit later this week and update against the latest master. In the meantime, if there is any commentary on the patch, especially related to the |
Could you update the PR? I only see a version of code from 2 weeks ago. Is that still current? |
Still current as of now; I'll have time tomorrow to update against master and check to make sure it isn't affected by the expanded path problem. Updated PR will be available at that time. The part I was wondering though was the purpose of this line in master. It seems like removing that condition ( It could also be removed separately from my PR, if that's the case. |
I think it can be removed. It carried over from the general logic of trying to partial-complete on the first TAB and exit on the second TAB. But if the input is a perfect directory name, might as well exit on the first TAB. |
PR is now updated against master. |
Thanks, the change looks good to me. Could you maybe give some examples of the new things that work now and didn't work before? Should be useful for the manual. |
* ivy.el (ivy-alt-done): Match not only `ivy-text' but also `ivy--current' for TRAMP regex. Re #285
Sure. In most cases it gives Hostname completion:Completions: Prior: ivy: Prior: Find file (continue in ivy):Prior: Prior: File open (if path is a valid directory, it continues in ivy):Prior: Quick jump to same directory as sudo:Prior: |
Modifications for better ivy/TRAMP support
for
/protocol:
syntax as well as/path/to//protocol:
.