From: Michael Albinus <michael.albinus@gmx.de>
To: Allen Li <darkfeline@felesatra.moe>
Cc: 32550@debbugs.gnu.org
Subject: bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
Date: Fri, 31 Aug 2018 16:45:17 +0200 [thread overview]
Message-ID: <87o9di388y.fsf@gmx.de> (raw)
In-Reply-To: <CADbSrJywBY_yr2o_LUwXRWEjLxujU+KGJhpCCX95mVqj4_bgQQ@mail.gmail.com> (Allen Li's message of "Wed, 29 Aug 2018 12:45:03 -0700")
Allen Li <darkfeline@felesatra.moe> writes:
> On Mon, Aug 27, 2018 at 11:05 PM Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> > From: Allen Li <darkfeline@felesatra.moe>
>> > Date: Mon, 27 Aug 2018 16:53:18 -0700
>> >
>> > Reproduce:
>> >
>> > 1. emacs -Q
>> > 2. M-x minibuffer-electric-default-mode RET
>> > 3. C-x C-f /ssh:some-host:
>> >
>> > Expected:
>> >
>> > The ~/ prepopulated in the minibuffer should be greyed out.
>> >
>> > Actual:
>> >
>> > On typing the second :, the ~/ stops being greyed out.
>>
>> I seem to be unable to reproduce this here. Is it important for
>> some-host to name an existing address?
>
> No, I had to play with it to figure out the right conditions, you need
> to invoke find-file twice:
>
> 1. emacs -Q
> 2. M-x minibuffer-electric-default-mode RET
> 3. C-x C-f /ssh:some-host: C-g
> 3. C-x C-f /ssh:some-host:
>
> Expected:
>
> The ~/ prepopulated in the minibuffer should be greyed out.
>
> Actual:
>
> On typing the second :, the ~/ stops being greyed out.
>
> I can reproduce this consistently now, can you try again?
Maybe it is a Tramp problem. If I do the following, I can reproduce it:
# emacs -Q -l tramp
OTOH, the following Emacs invocation doesn't show the problem:
# emacs -Q -l tramp --eval '(setq tramp-mode nil)'
All tests performed with Emacs 27.0.50, but this shouldn't matter. Will
dig further.
Best regards, Michael.
next prev parent reply other threads:[~2018-08-31 14:45 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-27 23:53 bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix Allen Li
2018-08-28 6:05 ` Eli Zaretskii
2018-08-29 19:45 ` Allen Li
2018-08-31 14:45 ` Michael Albinus [this message]
2018-09-04 10:02 ` Michael Albinus
2018-09-04 15:19 ` Eli Zaretskii
2018-09-04 21:53 ` Allen Li
2018-09-05 7:25 ` 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=87o9di388y.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=32550@debbugs.gnu.org \
--cc=darkfeline@felesatra.moe \
/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).