Subject: bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix

From: Allen Li <[email-masked]>
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.

In GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.22.24), modified by Debian
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Debian GNU/Linux rodete (upgraded from: Ubuntu 14.04 LTS)