unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
@ 2018-08-27 23:53 Allen Li
  2018-08-28  6:05 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Allen Li @ 2018-08-27 23:53 UTC (permalink / raw)
  To: 32550

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)





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Eli Zaretskii @ 2018-08-28  6:05 UTC (permalink / raw)
  To: Allen Li; +Cc: 32550

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





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
  2018-08-28  6:05 ` Eli Zaretskii
@ 2018-08-29 19:45   ` Allen Li
  2018-08-31 14:45     ` Michael Albinus
  0 siblings, 1 reply; 8+ messages in thread
From: Allen Li @ 2018-08-29 19:45 UTC (permalink / raw)
  To: eliz; +Cc: 32550

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?





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
  2018-08-29 19:45   ` Allen Li
@ 2018-08-31 14:45     ` Michael Albinus
  2018-09-04 10:02       ` Michael Albinus
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Albinus @ 2018-08-31 14:45 UTC (permalink / raw)
  To: Allen Li; +Cc: 32550

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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
  2018-08-31 14:45     ` Michael Albinus
@ 2018-09-04 10:02       ` Michael Albinus
  2018-09-04 15:19         ` Eli Zaretskii
  2018-09-04 21:53         ` Allen Li
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Albinus @ 2018-09-04 10:02 UTC (permalink / raw)
  To: Allen Li; +Cc: 32550

Michael Albinus <michael.albinus@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
  2018-09-04 10:02       ` Michael Albinus
@ 2018-09-04 15:19         ` Eli Zaretskii
  2018-09-04 21:53         ` Allen Li
  1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2018-09-04 15:19 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 32550, darkfeline

> From: Michael Albinus <michael.albinus@gmx.de>
> Cc: eliz@gnu.org,  32550@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
  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
  1 sibling, 1 reply; 8+ messages in thread
From: Allen Li @ 2018-09-04 21:53 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 32550

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

Also confirmed, thanks for the quick fix





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#32550: 26.1; minibuffer-electric-default-mode breaks greying out find-file prefix
  2018-09-04 21:53         ` Allen Li
@ 2018-09-05  7:25           ` Michael Albinus
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Albinus @ 2018-09-05  7:25 UTC (permalink / raw)
  To: Allen Li; +Cc: 32550-done

Version: 26.1

Hi Allen & Eli,

Allen Li <darkfeline@felesatra.moe> writes:

> On Tue, Sep 4, 2018 at 3:02 AM Michael Albinus <michael.albinus@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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-09-05  7:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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