[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp (2.4.1-pre); Cannot move cursor back to /method:host: part whe
From: |
Michael Albinus |
Subject: |
Re: tramp (2.4.1-pre); Cannot move cursor back to /method:host: part when finding remote file |
Date: |
Thu, 20 Sep 2018 16:15:04 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Maarten Grachten <address@hidden> writes:
Hi Maarten,
> (the minibuffer shows /sshx:machine1:folder/file.txt, with the cursor
> at the end position)
>
> 5. move the cursor backwards to replace machine1 by machine2
>
> (the cursor cannot be moved to positions before the second colon in
> the path)
>
> The expected behavior would be that the cursor can be moved to any
> position in the path, and is not restricted by the colon. Note that as
> soon as the folder/file.txt part of the path is removed, the cursor
> can be moved further backwards.
>
> I am not sure this restrictive behavior is intended or not, but 1)
> earlier versions did not have this restriction, and 2) I do not see
> any benefit of this restriction. To the contrary, I find that it
> hinders my workflow.
I'm not sure this is a Tramp issue. I can reproduce the problem when I
start Emacs with my (rather extensive) configuration. It does not happen
when starting "emacs -Q". So I suspect a completion package is in the way.
Which one do you use?
You can edit the "machine1" part of the file name, if you delete the
trailing colon ":" after the host name temporarily. Likely it isn't the
final solution we want to get, but it's at least a work around.
Best regards, Michael.