GNU bug report logs - #32550
26.1; minibuffer-electric-default-mode breaks greying out find-file prefix

Previous Next

Package: emacs;

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32550 in the body.
You can then email your comments to 32550 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32550; Package emacs. (Tue, 28 Aug 2018 00:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Allen Li <darkfeline <at> felesatra.moe>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 28 Aug 2018 00:04:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Allen Li <darkfeline <at> felesatra.moe>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1;
 minibuffer-electric-default-mode breaks greying out find-file prefix
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)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32550; Package emacs. (Tue, 28 Aug 2018 06:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 32550 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Allen Li <darkfeline <at> felesatra.moe>
Cc: 32550 <at> debbugs.gnu.org
Subject: Re: bug#32550: 26.1;
 minibuffer-electric-default-mode breaks greying out find-file prefix
Date: Tue, 28 Aug 2018 09:05:27 +0300
> 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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32550; Package emacs. (Wed, 29 Aug 2018 19:46:01 GMT) Full text and rfc822 format available.

Message #11 received at 32550 <at> debbugs.gnu.org (full text, mbox):

From: Allen Li <darkfeline <at> felesatra.moe>
To: eliz <at> gnu.org
Cc: 32550 <at> debbugs.gnu.org
Subject: Re: bug#32550: 26.1; minibuffer-electric-default-mode breaks greying
 out find-file prefix
Date: Wed, 29 Aug 2018 12:45:03 -0700
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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32550; Package emacs. (Fri, 31 Aug 2018 14:46:02 GMT) Full text and rfc822 format available.

Message #14 received at 32550 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Allen Li <darkfeline <at> felesatra.moe>
Cc: eliz <at> gnu.org, 32550 <at> debbugs.gnu.org
Subject: Re: bug#32550: 26.1;
 minibuffer-electric-default-mode breaks greying out find-file prefix
Date: Fri, 31 Aug 2018 16:45:17 +0200
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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32550; Package emacs. (Tue, 04 Sep 2018 10:03:02 GMT) Full text and rfc822 format available.

Message #17 received at 32550 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Allen Li <darkfeline <at> felesatra.moe>
Cc: eliz <at> gnu.org, 32550 <at> debbugs.gnu.org
Subject: Re: bug#32550: 26.1;
 minibuffer-electric-default-mode breaks greying out find-file prefix
Date: Tue, 04 Sep 2018 12:02:19 +0200
Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi Allen,

> 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.

Finally, I could trap it. Tramp's rfn-shadow hook ceased to work after
Tramp has been changed to lexical binding.

Fixed in the emacs-26 branch. Could you, pls, check?

Best regards, Michael.




Added tag(s) fixed. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Tue, 04 Sep 2018 10:55:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32550; Package emacs. (Tue, 04 Sep 2018 15:20:02 GMT) Full text and rfc822 format available.

Message #22 received at 32550 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 32550 <at> debbugs.gnu.org, darkfeline <at> felesatra.moe
Subject: Re: bug#32550: 26.1;
 minibuffer-electric-default-mode breaks greying out find-file prefix
Date: Tue, 04 Sep 2018 18:19:24 +0300
> From: Michael Albinus <michael.albinus <at> gmx.de>
> Cc: eliz <at> gnu.org,  32550 <at> debbugs.gnu.org
> Date: Tue, 04 Sep 2018 12:02:19 +0200
> 
> > 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.
> 
> Finally, I could trap it. Tramp's rfn-shadow hook ceased to work after
> Tramp has been changed to lexical binding.
> 
> Fixed in the emacs-26 branch. Could you, pls, check?

Seems to work fine here, thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32550; Package emacs. (Tue, 04 Sep 2018 21:54:01 GMT) Full text and rfc822 format available.

Message #25 received at 32550 <at> debbugs.gnu.org (full text, mbox):

From: Allen Li <darkfeline <at> felesatra.moe>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: eliz <at> gnu.org, 32550 <at> debbugs.gnu.org
Subject: Re: bug#32550: 26.1; minibuffer-electric-default-mode breaks greying
 out find-file prefix
Date: Tue, 4 Sep 2018 14:53:36 -0700
On Tue, Sep 4, 2018 at 3:02 AM Michael Albinus <michael.albinus <at> gmx.de> wrote:
> Fixed in the emacs-26 branch. Could you, pls, check?
>
> Best regards, Michael.

Also confirmed, thanks for the quick fix




Reply sent to Michael Albinus <michael.albinus <at> gmx.de>:
You have taken responsibility. (Wed, 05 Sep 2018 07:26:02 GMT) Full text and rfc822 format available.

Notification sent to Allen Li <darkfeline <at> felesatra.moe>:
bug acknowledged by developer. (Wed, 05 Sep 2018 07:26:03 GMT) Full text and rfc822 format available.

Message #30 received at 32550-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Allen Li <darkfeline <at> felesatra.moe>
Cc: eliz <at> gnu.org, 32550-done <at> debbugs.gnu.org
Subject: Re: bug#32550: 26.1;
 minibuffer-electric-default-mode breaks greying out find-file prefix
Date: Wed, 05 Sep 2018 09:25:42 +0200
Version: 26.1

Hi Allen & Eli,

Allen Li <darkfeline <at> felesatra.moe> writes:

> On Tue, Sep 4, 2018 at 3:02 AM Michael Albinus <michael.albinus <at> gmx.de> wrote:
>> Fixed in the emacs-26 branch. Could you, pls, check?
>>
>> Best regards, Michael.
>
> Also confirmed, thanks for the quick fix

Thanks for confirmation, I'm closing the bug.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 03 Oct 2018 11:24:05 GMT) Full text and rfc822 format available.

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.