unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 32591@debbugs.gnu.org, Joshua Branson <jbranso@fastmail.com>
Subject: bug#32591: 26.1; Ido-find-file does not intuitiely support tramp
Date: Thu, 12 Aug 2021 15:25:26 +0200	[thread overview]
Message-ID: <87im0alrqx.fsf@gnus.org> (raw)
In-Reply-To: <87d0tzx4pc.fsf@gmx.de> (Michael Albinus's message of "Thu, 30 Aug 2018 17:19:11 +0200")

[-- Attachment #1: Type: text/plain, Size: 613 bytes --]

Michael Albinus <michael.albinus@gmx.de> writes:

> Ido greys out "~/" because of the double slash. It has nothing to do with
> a remote file name. Again, there is no remote file name, only a string
> which might be a remote file name when it is complete.
>
>> Type a : to specify a path and watch the "~/" get un-greyed out.
>
> That seems to be an ido problem. With plain "M-x find-file" I cannot
> reproduce it.
>
> However, even if this grey out does not work as expected, I believe that
> opening the file (after entering RET) still works as expected.

Let's see...  I `C-x C-f' while in a Tramp-ey buffer:


[-- Attachment #2: Type: image/png, Size: 7642 bytes --]

[-- Attachment #3: Type: text/plain, Size: 22 bytes --]


Then type ~/.emacs:


[-- Attachment #4: Type: image/png, Size: 9765 bytes --]

[-- Attachment #5: Type: text/plain, Size: 684 bytes --]


So the greyed-out parts here seem to say that we're going to get
~/.emacs on the remote host...  and hitting RET does indeed give me
that.

To get the ~/.emacs on the local machine, I have to delete everything in
the minibuffer and type ~/.emacs.

I've been tripped up by this before, because I'm so used to just typing
`C-x C-f ~/.emacs RET' without even looking (to get to my local .emacs
file).  But I think the current behaviour is the intended one, really --
it's consistent, powerful and makes sense.

So I'm closing this bug report -- I think this is working as intended.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

  reply	other threads:[~2021-08-12 13:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-30 14:30 bug#32591: 26.1; Ido-find-file does not intuitiely support tramp Joshua Branson
2018-08-30 14:26 ` Colin Baxter
2018-08-31 14:50   ` Joshua Branson
2018-08-30 15:19 ` Michael Albinus
2021-08-12 13:25   ` Lars Ingebrigtsen [this message]
2021-08-12 14:15     ` Andreas Schwab
2021-08-12 14:27     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87im0alrqx.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=32591@debbugs.gnu.org \
    --cc=jbranso@fastmail.com \
    --cc=michael.albinus@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).