GNU bug report logs -
#32550
26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
Previous Next
Reported by: Allen Li <darkfeline <at> felesatra.moe>
Date: Tue, 28 Aug 2018 00:04:02 UTC
Severity: minor
Tags: fixed
Fixed in version 26.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Allen Li <darkfeline <at> felesatra.moe> writes:
> On Mon, Aug 27, 2018 at 11:05 PM Eli Zaretskii <eliz <at> gnu.org> wrote:
>>
>> > From: Allen Li <darkfeline <at> 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.
This bug report was last modified 6 years and 344 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.