GNU bug report logs - #32215
27.0.50; Minibuffer completion fails with /~<partial-name>

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: Stephen Berman <stephen.berman@HIDDEN>; dated Thu, 19 Jul 2018 17:56:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 21:47:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 17:47:08 2018
Received: from localhost ([127.0.0.1]:50039 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgdEy-0000HN-BL
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 17:47:08 -0400
Received: from mout.gmx.net ([212.227.17.21]:42503)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgdEw-0000Gs-QV
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 17:47:07 -0400
Received: from rosalinde ([178.6.211.58]) by mail.gmx.com (mrgmx101
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0M5Z5A-1fw4eh2h56-00xX94; Fri, 20
 Jul 2018 23:46:59 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
 <87va9ajol1.fsf@HIDDEN>
 <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
 <87h8kuj81s.fsf@HIDDEN> <8336we0xdf.fsf@HIDDEN>
 <87d0vij66g.fsf@HIDDEN> <83y3e5zuss.fsf@HIDDEN>
 <878t65ke5v.fsf@HIDDEN> <83sh4dzq4m.fsf@HIDDEN>
Date: Fri, 20 Jul 2018 23:46:58 +0200
In-Reply-To: <83sh4dzq4m.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 20 Jul
 2018 22:03:21 +0300")
Message-ID: <874lgtk2b1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:NOUEA7cVo+XYUpSxkNvvQyuK+KqkqPf47ow/VZIMdHtG9S0gBa4
 Mj9DS45YsYVpKJFlRLsjGYiepJBbb5X5boyNqE3OWQy6HGygrCeqPQvU2exOwvIJ5UX7k9z
 TMhhYlX7qOola0Ysnh9pzB7FX2+Bj051o9EfZGnwnlfX6VuDItkz6lEW5zT9sS6zDRzgHZg
 Ul2cTDz3Nqi/TmIDyvi9Q==
X-UI-Out-Filterresults: notjunk:1;V01:K0:zJxu4NdRuQA=:VziDc2vMKT9VHfuXXVE9qJ
 B2o7vbiHqI4Z38hGIB3DXWH1TWQDEgWPFEJRusLZ+APgSE8eB7/RD8kEzRvu4qPbgrZQhT5LH
 WYJY3HSE7dL+vKF7phsEeP5ANly+3nR0Xrqq4GLtHehUZ+NiyrgiM37EoFXTEs6WR82ZK79T0
 xhed3c3Txrx2oeYjOjpBCWifQIsRZz7J+ImCdJgJUMJku43MkrdQi8dExTrEGqi052P5NiB7u
 rPAaxBUf6fmDv/XmvRPNy8Edu0ncO2GCqwxad+uVktlkH3u+qszgDkjkofuAA0heTmb9naaYV
 2Q1Q5wjkCMNfIifW9ntd63uSkc43Cs41bt2/GQ6bC5WSkyn0p3rFBTFtHcDU/QEO8KUtRmbtt
 kYwYgNFXCONZf9zi46ggE5BWL/dmMSHB7hIgqBmg/jI2YnqXTWypzZ/uXMruODT9vRkXXJre1
 uR1JUqZkxXAtzOBsnyuhSISuUGPBbIWM/Ef55li9tD6cRgmpPUSY3IRaY6DblhzJ2CJy7c58u
 2x40THKp8dyF7jinf/HZTx7jwkrZ5KDRDQcM+yNo+1h/Wib91i8YWHJcauC6hD7vikE0B9+rV
 CeXvYChS13/ZMlQGun9wASBKoJxu91IsDIutVry7UZiyzV/Htp+lTt/wvXjnTj4UB9S5CvAmh
 xlVGmD/w5m8OjhiNB/h7HFlVnZKaOMZ8NAZYWjuXRl3+5Nl5ewUQXkpV0wLcAzjCgO25b+oYj
 aw6ZymawlEcXcl3qlHktiCQC6zyVbQgR/iQ4JJkS79pRVAadftx5h1fUU3ZtRoXWuI0uzgLPA
 qpzLhj4
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org, npostavs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Fri, 20 Jul 2018 22:03:21 +0300 Eli Zaretskii <eliz@HIDDEN> wrote:

>> From: Stephen Berman <stephen.berman@HIDDEN>
>> Cc: npostavs@HIDDEN,  32215 <at> debbugs.gnu.org
>> Date: Fri, 20 Jul 2018 19:30:52 +0200
>>=20
>> > Try a subdirectory of your home directory.
>>=20
>> Perhaps I'm misunderstanding what you're suggesting, but with the
>> following I still get the same behavior:
>>=20
>> 0. emacs -Q
>> 1. M-x cd RET ~/Downloads/ RET
>> 2. C-x d /~s TAB
>>=20
>> results in this minibuffer display:
>>=20
>> Dired (directory): ~/Downloads//~s=E2=96=88[No match]
>
> The original recipe was different:
>
>   0. emacs -Q
>   1. M-x cd RET ~/Downloads/ RET
>   2. C-x d / ~ TAB s TAB

I did not give, nor have I seen, this recipe in this bug thread.  But I
see now that the recipe of my OP (which lacked the above step 1) could
be understood as consistent with the above.  There is indeed a
difference between

  Dired (directory): ~/~ TAB

or

  Dired (directory): ~/Downloads/~ TAB

on the one hand, and

  Dired (directory): ~//~ TAB

or

  Dired (directory): ~/Downloads//~ TAB

on the other.  But the bug I meant to report is about this:

  Dired (directory): ~//~s TAB

or

  Dired (directory): ~/Downloads//~s TAB

which both get '[No match]', whereas

  Dired (directory): ~//~steve TAB

or

  Dired (directory): ~/Downloads//~steve TAB

both complete, to '~//steve/' and '~/Downloads//steve/', respectively.=20=20

One thing I just noticed: in the latter two case, when I type '/', that
changes the face on '~/' or '~/Downloads/' to shadow, and when I then
type '~', the changes the face of the just typed '/' to shadow, but when
I continue and type 's', then the face of the last '/' returns to
default (but the face of the preceding characters remains shadow), and
stays like that when I add 't', 'e', 'v'; but as soon as I add 'e'
(which make TAB complete successfully), the face of the last '/' changes
back to shadow (and '~steve' keeps default face).

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 19:03:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 15:03:31 2018
Received: from localhost ([127.0.0.1]:49931 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgagd-0002fF-A8
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 15:03:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49602)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fgagb-0002f3-JV
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 15:03:29 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fgagT-0003xi-5c
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 15:03:24 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40928)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fgagT-0003xe-1f; Fri, 20 Jul 2018 15:03:21 -0400
Received: from [176.228.60.248] (port=4015 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fgagS-0000yg-Ho; Fri, 20 Jul 2018 15:03:20 -0400
Date: Fri, 20 Jul 2018 22:03:21 +0300
Message-Id: <83sh4dzq4m.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
In-reply-to: <878t65ke5v.fsf@HIDDEN> (message from Stephen Berman on Fri, 20
 Jul 2018 19:30:52 +0200)
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
 <87va9ajol1.fsf@HIDDEN>
 <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
 <87h8kuj81s.fsf@HIDDEN> <8336we0xdf.fsf@HIDDEN>
 <87d0vij66g.fsf@HIDDEN> <83y3e5zuss.fsf@HIDDEN> <878t65ke5v.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org, npostavs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Stephen Berman <stephen.berman@HIDDEN>
> Cc: npostavs@HIDDEN,  32215 <at> debbugs.gnu.org
> Date: Fri, 20 Jul 2018 19:30:52 +0200
> 
> > Try a subdirectory of your home directory.
> 
> Perhaps I'm misunderstanding what you're suggesting, but with the
> following I still get the same behavior:
> 
> 0. emacs -Q
> 1. M-x cd RET ~/Downloads/ RET
> 2. C-x d /~s TAB
> 
> results in this minibuffer display:
> 
> Dired (directory): ~/Downloads//~s█[No match]

The original recipe was different:

  0. emacs -Q
  1. M-x cd RET ~/Downloads/ RET
  2. C-x d / ~ TAB s TAB





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 17:31:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 13:31:04 2018
Received: from localhost ([127.0.0.1]:49912 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgZF9-0000Vz-U4
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 13:31:04 -0400
Received: from mout.gmx.net ([212.227.15.19]:38425)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgZF7-0000VU-ED
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 13:31:02 -0400
Received: from rosalinde ([178.6.211.58]) by mail.gmx.com (mrgmx001
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Ln8Tl-1gF37D2c8b-00hQmT; Fri, 20
 Jul 2018 19:30:54 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
 <87va9ajol1.fsf@HIDDEN>
 <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
 <87h8kuj81s.fsf@HIDDEN> <8336we0xdf.fsf@HIDDEN>
 <87d0vij66g.fsf@HIDDEN> <83y3e5zuss.fsf@HIDDEN>
Date: Fri, 20 Jul 2018 19:30:52 +0200
In-Reply-To: <83y3e5zuss.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 20 Jul
 2018 20:22:27 +0300")
Message-ID: <878t65ke5v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:bvZEjX3PHcNIGf/AczVdnOkfx1P4Gt3WxccjedBe/yQehZT5UcJ
 9r1f6vGuGp43BvGmX1bo571ZIgW20zJQpCtigMjtwwil18+d/JjuRq6rUE6KQWu7pOC/7/r
 OGDPd8eu1GFoT8VT+IMlVVV0vjB3HyDNXS7Zfd0QyzF9YfKFaiEu/ESx76J2A/t52TU5luO
 nT+O/BlTMmSP5d7kBNsdQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:Ttn1NBYFKkE=:4MjV5BQDkLHRZEWQM7bQue
 J7hFJ+v9Z6vmxKZeFJDEXkWxBONpnKOYerer9ZHs/eXTCswWSuOZq6X06d3C9Md07m9OwGmnN
 lvDjdqLeVrm4olJA2zP+lAvQzkZTgfagEPsjXX6jt26pU9kP1N8mbpo6q4dEtd8dnxMWTp4re
 QoUKyNrXQb8lSqxpilW8AJiZmrHyHg3ilMPbkkL/TVLbzdQvZV10UAwzu1VQQy4vDrmyYtzgY
 NM9VUHSwEU/HEmjcVIgXgAq4rFONhNCOZQ91AsgqR2AtJGdilCb/h9JCJpgqHZd8YJhnwMOGp
 EZycqcBUMOMwGAl2AhpzxIY2cy5x+HILgpsoPBzZuZQz3PMR99JJAzyTHTkGm3IKX5S/4Ha3r
 1G1eTqF2n3yj50KSwP9ToCadDLrJhxB+hw3TWDcFyovRR+eaLhhIO93Fpk++GCMgBE2T94ItE
 cUPD5/BwgqO3DmDyInqfeKWAWwLTLYxB9AS8Iur6che61MMGPtAlBtFUclgNrxDQcme5aTGwh
 uJk/UDgNuxqnUfLu/GKBJRDtc3hj9UpEMl+5IJ73x2Q+l46D841M3hWD4ck/vdy0C32JVd+u1
 v2Q1asjEkNw6h1wuGE0MEcmSKEbiGN41CKPY/KJmDB0yOLKI7Ys+oK5tgdwjyi0eC/DToIbcv
 menIvXNxduKX7sA/h4LgbG0svrGCVUh9cAqaU0J0VYLN6DnRT79ebI+KeiHvzs7kPYJ01rwAf
 V2sKOx+xOT8QBxE76QpKPQA+IAadf4S1QNdnV5sgIzk/Mklt6fi+LRWzKRF3F9CKB8n3zbwYw
 eEybI8I
X-Spam-Score: 0.3 (/)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org, npostavs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Fri, 20 Jul 2018 20:22:27 +0300 Eli Zaretskii <eliz@HIDDEN> wrote:

>> From: Stephen Berman <stephen.berman@HIDDEN>
>> Cc: npostavs@HIDDEN,  32215 <at> debbugs.gnu.org
>> Date: Fri, 20 Jul 2018 17:08:39 +0200
>>=20
>> > Ah, I think I understand why I couldn't reproduce the problem: it
>> > seems to only happen if default-directory is "~/" before starting the
>> > recipe.  If it is something else, the problem doesn't happen.  Can you
>> > confirm?
>>=20
>> I'm afraid not:
>>=20
>> 0. emacs -Q
>> 1. M-x cd RET /tmp/ RET
>> 2. C-x d /~s TAB
>>=20
>> results in this minibuffer display:
>>=20
>> Dired (directory): /tmp//~s=E2=96=88[No match]
>
> Try a subdirectory of your home directory.

Perhaps I'm misunderstanding what you're suggesting, but with the
following I still get the same behavior:

0. emacs -Q
1. M-x cd RET ~/Downloads/ RET
2. C-x d /~s TAB

results in this minibuffer display:

Dired (directory): ~/Downloads//~s=E2=96=88[No match]

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 17:22:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 13:22:39 2018
Received: from localhost ([127.0.0.1]:49902 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgZ70-0000I0-PV
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 13:22:38 -0400
Received: from eggs.gnu.org ([208.118.235.92]:32869)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fgZ6z-0000Hm-61
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 13:22:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fgZ6p-0002F6-4O
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 13:22:32 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39364)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fgZ6o-0002F1-VB; Fri, 20 Jul 2018 13:22:27 -0400
Received: from [176.228.60.248] (port=1763 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fgZ6o-0001oZ-DR; Fri, 20 Jul 2018 13:22:26 -0400
Date: Fri, 20 Jul 2018 20:22:27 +0300
Message-Id: <83y3e5zuss.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
In-reply-to: <87d0vij66g.fsf@HIDDEN> (message from Stephen Berman on Fri, 20
 Jul 2018 17:08:39 +0200)
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
 <87va9ajol1.fsf@HIDDEN>
 <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
 <87h8kuj81s.fsf@HIDDEN> <8336we0xdf.fsf@HIDDEN> <87d0vij66g.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org, npostavs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Stephen Berman <stephen.berman@HIDDEN>
> Cc: npostavs@HIDDEN,  32215 <at> debbugs.gnu.org
> Date: Fri, 20 Jul 2018 17:08:39 +0200
> 
> > Ah, I think I understand why I couldn't reproduce the problem: it
> > seems to only happen if default-directory is "~/" before starting the
> > recipe.  If it is something else, the problem doesn't happen.  Can you
> > confirm?
> 
> I'm afraid not:
> 
> 0. emacs -Q
> 1. M-x cd RET /tmp/ RET
> 2. C-x d /~s TAB
> 
> results in this minibuffer display:
> 
> Dired (directory): /tmp//~s█[No match]

Try a subdirectory of your home directory.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 15:08:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 11:08:51 2018
Received: from localhost ([127.0.0.1]:49865 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgX1X-0004nU-7p
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 11:08:51 -0400
Received: from mout.gmx.net ([212.227.15.15]:36425)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgX1V-0004nE-6P
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 11:08:49 -0400
Received: from rosalinde ([178.6.211.58]) by mail.gmx.com (mrgmx002
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LrNIC-1g9z3k13OO-0138mH; Fri, 20
 Jul 2018 17:08:40 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
 <87va9ajol1.fsf@HIDDEN>
 <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
 <87h8kuj81s.fsf@HIDDEN> <8336we0xdf.fsf@HIDDEN>
Date: Fri, 20 Jul 2018 17:08:39 +0200
In-Reply-To: <8336we0xdf.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 20 Jul
 2018 17:56:12 +0300")
Message-ID: <87d0vij66g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:uN1m1zOPK1XD+Gu4FigU/N36Rwr3VNkrcYfwFPTHriLaOgxBwyc
 MEq31r5lAKiD6R33N7ZaXLRzD0rN+wmmIC6ieql/bLzr8NJoNzPsYeiXTFqomqe2cfCB4wA
 fql3ZAtKASLLbSbchioQ/BSqL2Ls16zpPRnOdVNmReOKL1lt+rDzJ0Gj6h+QFHQV/9b6SpI
 49Dk06MEiOle8WJnAWO+w==
X-UI-Out-Filterresults: notjunk:1;V01:K0:ZWpIBrEsLuI=:Mys3zHjQJfP9JMUxD/uyEJ
 pyIIjKyjsuzRL2CGCtWpLjmk4tcuGJSFd/ftki9q5LNlVqgZFFre0ahIHtVL2fopW+3AX/1/g
 AMcO3oLCP0rm+wCrmBl3AGThAtDXRfjq144za6JdREe+msIK4vjOzltxxxGV1t1C8fmpPDON0
 M5y027OBg6KkfB4TwSlyfBoJ0nTuFXeFUr0EZPv2l2Jov0FooZLFQmwKfdjDuDgkumVKlZQNG
 QK4+4ixOSEXekCPXnx5LhAOMZ+4EMIYWrnStDzcviKj4bwsKcBYHX7coxAA5+2eDU96VT9Jrc
 8ZEMHqfikJ6U61E6jBp0CY19ksoHYLyCHs6JqdvabKgXnG/ZEJPBw7Cbu8zUA1GxuwvTyZC43
 rrYB7o+7oTX8/wgjOdyx21Nzofqo4JUe/RDMiv8lG8AqQTvjURUmAVI4B7/V+8Jrx9bAPlOr5
 C0r/W6zwgTPDZu1o0c8oLUkwtGh2ilpf4STvjxVcxIrODUAW+Hly/GVz9m+AEXK88OZiEc+WS
 Ltdicw5toKQ/s91U15LR5bKIpFCbmhze21KqS3f4iPcXCYkydC6iZSLf7+JtD4JUDFOriAWeR
 lzvWUHcozBxCHu6nnOgwJG/ZvmAPh0SXhXaYLrElX3hEBQGvmjWwQzgIGTXqnFiPYwLi0kr91
 LJ93zMip4ku1D7UbD5Ux+Bkf4BHeVnphkl+UE9AyzYILBvyzVqYGvYGHNvQLBAhaJvwMpDcp2
 VCF0wjnmNV4GZfL8bdp51TXm7geqhO+zxjw8iGjMdni+DlpYv6p4OzIgz1ShOHekyR3JFt+RP
 fkxuCj3
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org, npostavs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Fri, 20 Jul 2018 17:56:12 +0300 Eli Zaretskii <eliz@HIDDEN> wrote:

>> From: Stephen Berman <stephen.berman@HIDDEN>
>> Cc: Eli Zaretskii <eliz@HIDDEN>,  32215 <at> debbugs.gnu.org
>> Date: Fri, 20 Jul 2018 16:28:15 +0200
>>=20
>> Nothing is removed.  To be explicit, when I start with -Q and type 'C-x
>> d', the minibuffer displays this:
>>=20
>> Dired (directory): ~/
>>=20
>> with point after '/'.  When I now type '/', the face of '~/' changes to
>> shadow, and when I then type '~', the face of the second '/' also
>> changes to shadow.  When I now type TAB, the minibuffer looks like this:
>>=20
>> Dired (directory): ~//~
>>=20
>> with '~//' in shadow face, and a *Completions* buffer pops up and shows
>> the directory names of all members of (system-users).  When I now type
>> 's TAB', the face of the second '/' changes from shadow to default
>> (black), '[No match]' appears after the cursor and the *Completions*
>> buffer disappears.  I.e., the minibuffer looks like this on hitting TAB:
>>=20
>> Dired (directory): ~//~s=E2=96=88[No match]
>>=20
>> with '~/' in shadow face and '/~s' in default face, and after a couple
>> of seconds, '[No match]' disappears, leaving the rest.
>
> Ah, I think I understand why I couldn't reproduce the problem: it
> seems to only happen if default-directory is "~/" before starting the
> recipe.  If it is something else, the problem doesn't happen.  Can you
> confirm?

I'm afraid not:

0. emacs -Q
1. M-x cd RET /tmp/ RET
2. C-x d /~s TAB

results in this minibuffer display:

Dired (directory): /tmp//~s=E2=96=88[No match]

with '/tmp/' in shadow face and '/~s' in default face.  Same thing with
any other value of default-directory I've tried.

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 15:07:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 11:07:07 2018
Received: from localhost ([127.0.0.1]:49861 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgWzq-0004l1-Sa
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 11:07:07 -0400
Received: from eggs.gnu.org ([208.118.235.92]:60004)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fgWzo-0004kV-PL
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 11:07:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fgWzi-000175-Uy
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 11:06:59 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36108)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fgWze-00014j-Cc; Fri, 20 Jul 2018 11:06:54 -0400
Received: from [176.228.60.248] (port=1457 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fgWzd-0001tL-SK; Fri, 20 Jul 2018 11:06:54 -0400
Date: Fri, 20 Jul 2018 18:06:54 +0300
Message-Id: <831sby0wvl.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: stephen.berman@HIDDEN
In-reply-to: <8336we0xdf.fsf@HIDDEN> (message from Eli Zaretskii on Fri, 20
 Jul 2018 17:56:12 +0300)
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
 <87va9ajol1.fsf@HIDDEN>
 <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
 <87h8kuj81s.fsf@HIDDEN> <8336we0xdf.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org, npostavs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> Date: Fri, 20 Jul 2018 17:56:12 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> Cc: 32215 <at> debbugs.gnu.org, npostavs@HIDDEN
> 
> Ah, I think I understand why I couldn't reproduce the problem: it
> seems to only happen if default-directory is "~/" before starting the
> recipe.  If it is something else, the problem doesn't happen.  Can you
> confirm?

And I see this in Emacs 26, 25, and 24, so it isn't a new problem.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 14:56:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 10:56:26 2018
Received: from localhost ([127.0.0.1]:49856 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgWpV-0004RF-RM
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 10:56:26 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57558)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fgWpT-0004Qw-5M
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 10:56:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fgWpJ-0005qa-48
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 10:56:18 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35965)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fgWpI-0005qW-Vb; Fri, 20 Jul 2018 10:56:13 -0400
Received: from [176.228.60.248] (port=4745 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fgWpI-0001QF-DS; Fri, 20 Jul 2018 10:56:12 -0400
Date: Fri, 20 Jul 2018 17:56:12 +0300
Message-Id: <8336we0xdf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
In-reply-to: <87h8kuj81s.fsf@HIDDEN> (message from Stephen Berman on Fri, 20
 Jul 2018 16:28:15 +0200)
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
 <87va9ajol1.fsf@HIDDEN>
 <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
 <87h8kuj81s.fsf@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org, npostavs@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Stephen Berman <stephen.berman@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  32215 <at> debbugs.gnu.org
> Date: Fri, 20 Jul 2018 16:28:15 +0200
> 
> Nothing is removed.  To be explicit, when I start with -Q and type 'C-x
> d', the minibuffer displays this:
> 
> Dired (directory): ~/
> 
> with point after '/'.  When I now type '/', the face of '~/' changes to
> shadow, and when I then type '~', the face of the second '/' also
> changes to shadow.  When I now type TAB, the minibuffer looks like this:
> 
> Dired (directory): ~//~
> 
> with '~//' in shadow face, and a *Completions* buffer pops up and shows
> the directory names of all members of (system-users).  When I now type
> 's TAB', the face of the second '/' changes from shadow to default
> (black), '[No match]' appears after the cursor and the *Completions*
> buffer disappears.  I.e., the minibuffer looks like this on hitting TAB:
> 
> Dired (directory): ~//~s█[No match]
> 
> with '~/' in shadow face and '/~s' in default face, and after a couple
> of seconds, '[No match]' disappears, leaving the rest.

Ah, I think I understand why I couldn't reproduce the problem: it
seems to only happen if default-directory is "~/" before starting the
recipe.  If it is something else, the problem doesn't happen.  Can you
confirm?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 14:28:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 10:28:29 2018
Received: from localhost ([127.0.0.1]:49841 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgWOS-0003fD-VD
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 10:28:29 -0400
Received: from mout.gmx.net ([212.227.17.22]:45263)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgWOQ-0003ex-95
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 10:28:26 -0400
Received: from rosalinde ([178.6.211.58]) by mail.gmx.com (mrgmx101
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MUUWN-1fXtZZ2ObT-00RHiP; Fri, 20
 Jul 2018 16:28:18 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
 <87va9ajol1.fsf@HIDDEN>
 <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
Date: Fri, 20 Jul 2018 16:28:15 +0200
In-Reply-To: <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
 (Noam Postavsky's message of "Fri, 20 Jul 2018 09:58:10 -0400")
Message-ID: <87h8kuj81s.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:3hBsJ1aBmFioMinARkHjl0PBGPq1Kf73lW+KgxwtAguEMZtRt4b
 0fq3pQ8YSdZLsV57lgrVVUBhpcVCAjnCcZIch1yeHyLA78jNGKVoGXgK1/U+NVtBYH8uits
 ipkP2m1OVxV503dDKu9NqRFNrcRzgNJuzi4wxBKsdF5itxRQ7lX97AJbHIupgGv+OfjF1Mw
 ACuoQQkVYfvRbRBrUyykQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:+8rKwoSV4nU=:FWQAIeVAEBe0Z7m/8TzbC9
 jZe44wRJnzSEijYoymFZLgdqPn9SIoPfLT9TJwB4e5bKKZgch1uS8ALz7FS0FVAgsMFdhaHV8
 PKUXYvD+eqX5zISODCKiZG1NcGTfDAczsdwJxRe9SnhoLJ+keoFrplvH+jD/t0zOwWQfhhU0A
 dHgUjhlZQ6G70ees5g79tR260R3VOEeBx7BKy0QOPYWIHXUnyzpRlb9IigynXyrPQilUfqaBQ
 c+N4uH739pMPNfDxm2MDOh94fxWtk7nAOu2YeTYk4n+jp41UrJp2lmssGqWSCksqBH6/jwwnh
 WFJCh236AStMyIeNrfIqA/VYDouCr7Ilf7vQtiHiUznNv0201spYK0RrlzuIBj5zxnh+TR8ZB
 NoKiA8+YxyhfHTPVpgschrF1EIPM7jT1h9s0vn0I8wGZjExtMRQAyBDbgpocGSSj93g2Of1I8
 G+MPKscQMzNUjx5gCJYffUVKdl0TkciDwZQIVORKJwBfm3iB/zt5VndnhCauGOtdB/KzrISJq
 45mIeuMcm7R+XDwhC4HWiz9TDqHTm79d0Hwok3oD4gHTys+xxn8jS/8AnY0+g+1LLDMWNJ7LP
 isnBnqnE4gI14261FaeaYFWhdgpSka3edGc4XeXnsYlBBVPkzBHKqHeKajKerCEoHfDqPvHW/
 wElG6aPVUHwXU1E8MLhnNy0ym/3uwgUEnqYklmfYmtHA1/FxGU5nF+6K0SquZg8IR8fwrXRTu
 bbEA2oagRR6bZyQdRYJ+3UscDbD/w0bjLXuJ0+dDtTvBh/lUu9Aq3bEGokeOaWms5ftgi3Rwk
 2u0xz8s
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 32215
Cc: Eli Zaretskii <eliz@HIDDEN>, 32215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Fri, 20 Jul 2018 09:58:10 -0400 Noam Postavsky <npostavs@HIDDEN> wrot=
e:

> On 20 July 2018 at 04:31, Stephen Berman <stephen.berman@HIDDEN> wrote:
>> On Thu, 19 Jul 2018 21:02:11 -0400 Noam Postavsky <npostavs@HIDDEN> w=
rote:
>>
>>> Stephen Berman <stephen.berman@HIDDEN> writes:
>>>
>>>> On Thu, 19 Jul 2018 21:19:36 +0300 Eli Zaretskii <eliz@HIDDEN> wrote:
>>>>
>>>>>> From: Stephen Berman <stephen.berman@HIDDEN>
>>>>>> Date: Thu, 19 Jul 2018 19:55:18 +0200
>>>>>>
>>>>>> 0. emacs -Q
>>>>>> 1. C-x d / ~ TAB
>>>>>>    This pops up a *Completions* buffer showing directory names of all
>>>>>>    members of (system-users), e.g. steve/
>>>>>> 2. Continuing from step 1, when I type any of 's TAB', 'st TAB', 'ste
>>>>>>    TAB' or 'stev TAB', Emacs responds with [No match], but 'steve TA=
B'
>>>>>>    completes to steve/
>>>>>>
>>>>>> The failure only happens with '/~<partial-name>', typing e.g. '~/Dow=
nl
>>>>>> TAB' here completes to ~/Downloads/
>>>>>
>>>>> Doesn't happen here, FWIW.  Strange.
>>>>
>>>> Strange indeed, assuming you tested on GNU/Linux or another POSIX
>>>> system, since IIUC on MS-Windows system-users returns only
>>>> user-real-login-name (at least it does here on Emacs 25.3 under Windows
>>>> 8).  I also tested on another GNU/Linux system I have with Emacs 24.3
>>>> and see exactly the same behavior I described above.
>>>
>>> I see it on both Windows and GNU/Linux.
>>
>> Like Eli, I'm surprised you see it on Windows.
>
> Oh, I skipped the TAB in step 1. With that, all of the leading text
> before the ~ is removed, so there is no problem (and it indeed
> completes immediately to my current user on Windows).
>
>>
>>>                                          I notice that the after typing
>>> the first letter of the user name, the leading "/" is no longer in
>>> shadow face,
>>
>> Yes, I didn't notice that when I tested before but I do now.
>
> Ah, so when you hit TAB, the leading "/" is not removed?

Nothing is removed.  To be explicit, when I start with -Q and type 'C-x
d', the minibuffer displays this:

Dired (directory): ~/

with point after '/'.  When I now type '/', the face of '~/' changes to
shadow, and when I then type '~', the face of the second '/' also
changes to shadow.  When I now type TAB, the minibuffer looks like this:

Dired (directory): ~//~

with '~//' in shadow face, and a *Completions* buffer pops up and shows
the directory names of all members of (system-users).  When I now type
's TAB', the face of the second '/' changes from shadow to default
(black), '[No match]' appears after the cursor and the *Completions*
buffer disappears.  I.e., the minibuffer looks like this on hitting TAB:

Dired (directory): ~//~s=E2=96=88[No match]

with '~/' in shadow face and '/~s' in default face, and after a couple
of seconds, '[No match]' disappears, leaving the rest.

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 13:58:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 09:58:18 2018
Received: from localhost ([127.0.0.1]:49816 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgVvF-0002qP-RJ
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 09:58:18 -0400
Received: from mail-oi0-f50.google.com ([209.85.218.50]:37183)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1fgVvE-0002qC-MB
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 09:58:17 -0400
Received: by mail-oi0-f50.google.com with SMTP id k81-v6so21480079oib.4
 for <32215 <at> debbugs.gnu.org>; Fri, 20 Jul 2018 06:58:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:in-reply-to:references:from:date:message-id:subject:to
 :cc; bh=yMoXKXkqx6qxVUnvc+snWc6apJ1xTH+o51ST8+Vlk6U=;
 b=EDZcseM9CQq+DjoplhU9GryUzB0ZJYDDcKbxd2IU23yOVEj87yXqWdqwrKrQCeGmok
 WvW+WPA6tk22dSExXfSoMaMy3+BpBi+7h7LynSvJSibOOUtFPIcjKXxvGYyGCgLE+m9k
 ExjqkJb0iSfM9A0x/31akLf2tXZzFxqmMN4YRaC3DUC5U0+n8fN3trWbFTLzIjW/fl2T
 XpsSqid+SmFXthzJvbDCIzf48PY6N6+UAFqD+6cPeM7QXrR10j2QMBz6aZRDORqJYtHm
 pzBNWdCSqGk2dDxv/vZReAdppsCbjQKgcHWhZBtDuipEOwIZ14BYRfOaPQmdzQ+5njF9
 pfVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:in-reply-to:references:from:date
 :message-id:subject:to:cc;
 bh=yMoXKXkqx6qxVUnvc+snWc6apJ1xTH+o51ST8+Vlk6U=;
 b=ZLil9IMxgoyb8V9Ypfb9INT3iP6KoME9f1dvmgz10KQVkqpiBdJPJzmqAGJMQn6ZaO
 0lmzSCU3Fa336HP1XokkqPaorWsPma2YaBIdd2iWNSdeHshAhgIc6iDWsR4R/pwEItKB
 415ddLPkVgUm8zFQazW2YVolQKr/wUAphentlr9Sfu++dTrbqdIDPS2HmzoP4sZfnCxQ
 ttgY3Ezg+m0FymTWWmriJTICRjCn1K1CMy57fZWd8P1HQmerD+cADoL+cTo2zeewr9yo
 kqcfxPGaTE44K64hPlPJkHA/deZ2hXpii5fH/8PF9VQ2QrJZOCnMLWTbrcWNr55k8tBY
 Jlcg==
X-Gm-Message-State: AOUpUlHd6ofxN6eBLbi5BLDQVWzc5liUjTHCSHiuh34YqYUDnFONre1C
 X1mLWZ8LH91Ckwj/Brc4OqAnDPriD3dQgVKSJDU=
X-Google-Smtp-Source: AAOMgpfLjtGTsDdThlkZKYTWnb63kab1dMSWOkCToFfkX+wC+E/KqDfxh7o1RfyBW8SG58K291JERKFSDx9UQVgB7W0=
X-Received: by 2002:aca:d5d3:: with SMTP id
 m202-v6mr2218595oig.93.1532095091011; 
 Fri, 20 Jul 2018 06:58:11 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a4a:3b8d:0:0:0:0:0 with HTTP; Fri, 20 Jul 2018 06:58:10
 -0700 (PDT)
In-Reply-To: <87va9ajol1.fsf@HIDDEN>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN> <87va9ajol1.fsf@HIDDEN>
From: Noam Postavsky <npostavs@HIDDEN>
Date: Fri, 20 Jul 2018 09:58:10 -0400
Message-ID: <CAM-tV--ZETHpZNE54sRGG9pASQvo1Yiy-KVwcmj=MxbcNU292A@HIDDEN>
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
To: Stephen Berman <stephen.berman@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 32215
Cc: Eli Zaretskii <eliz@HIDDEN>, 32215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

On 20 July 2018 at 04:31, Stephen Berman <stephen.berman@HIDDEN> wrote:
> On Thu, 19 Jul 2018 21:02:11 -0400 Noam Postavsky <npostavs@HIDDEN> wrote:
>
>> Stephen Berman <stephen.berman@HIDDEN> writes:
>>
>>> On Thu, 19 Jul 2018 21:19:36 +0300 Eli Zaretskii <eliz@HIDDEN> wrote:
>>>
>>>>> From: Stephen Berman <stephen.berman@HIDDEN>
>>>>> Date: Thu, 19 Jul 2018 19:55:18 +0200
>>>>>
>>>>> 0. emacs -Q
>>>>> 1. C-x d / ~ TAB
>>>>>    This pops up a *Completions* buffer showing directory names of all
>>>>>    members of (system-users), e.g. steve/
>>>>> 2. Continuing from step 1, when I type any of 's TAB', 'st TAB', 'ste
>>>>>    TAB' or 'stev TAB', Emacs responds with [No match], but 'steve TAB'
>>>>>    completes to steve/
>>>>>
>>>>> The failure only happens with '/~<partial-name>', typing e.g. '~/Downl
>>>>> TAB' here completes to ~/Downloads/
>>>>
>>>> Doesn't happen here, FWIW.  Strange.
>>>
>>> Strange indeed, assuming you tested on GNU/Linux or another POSIX
>>> system, since IIUC on MS-Windows system-users returns only
>>> user-real-login-name (at least it does here on Emacs 25.3 under Windows
>>> 8).  I also tested on another GNU/Linux system I have with Emacs 24.3
>>> and see exactly the same behavior I described above.
>>
>> I see it on both Windows and GNU/Linux.
>
> Like Eli, I'm surprised you see it on Windows.

Oh, I skipped the TAB in step 1. With that, all of the leading text
before the ~ is removed, so there is no problem (and it indeed
completes immediately to my current user on Windows).

>
>>                                          I notice that the after typing
>> the first letter of the user name, the leading "/" is no longer in
>> shadow face,
>
> Yes, I didn't notice that when I tested before but I do now.

Ah, so when you hit TAB, the leading "/" is not removed?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 08:31:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 04:31:17 2018
Received: from localhost ([127.0.0.1]:48777 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgQom-00055t-Qy
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 04:31:17 -0400
Received: from mout.gmx.net ([212.227.17.20]:45621)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgQol-00055f-1e
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 04:31:15 -0400
Received: from rosalinde ([178.6.211.58]) by mail.gmx.com (mrgmx102
 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MIhDo-1ficfj1QF6-002KHX; Fri, 20
 Jul 2018 10:31:07 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
Date: Fri, 20 Jul 2018 10:31:06 +0200
In-Reply-To: <87bmb27m98.fsf@HIDDEN> (Noam Postavsky's message of "Thu, 19
 Jul 2018 21:02:11 -0400")
Message-ID: <87va9ajol1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:/CEZ5NC4EN1ZT5cHg1/1Sn/i28F+jbCysV9CKLkFY+lZUP8bULX
 naIyXJBCyGTn3wMg7qsuR1J5lC3PfuOc5XppC6+KyxumExdooOiT/dt35L1y828jR/F+8oQ
 8+iFQALKEYqrOS5hIKmJu1qKbfYHdLHtYEJQdQcvOnmf53q9ZvLjuyrznEqft3jWYj+t148
 O91xevVBzNWQgUA1MK/4g==
X-UI-Out-Filterresults: notjunk:1;V01:K0:aOEOuwS4Wa4=:wAqLkuocSr79lX5dweRXQk
 EVlUoz///nihJNij+Lul+tz3C8G51bA6w7ZiVk4/0D2Fhd1vlK9r9xUFnXPqGBR99JcM533x0
 0E86l2ZV96mTl/lZJkKGdubJznZK2tqhMLbwaAXOy9eppCgIQ+a7r3iD3NMjhLuPDqR4Diou9
 pZ08nRqJxI87/Kd3RWEHEfzFk8e83GXZS00JugH0/lxGK7E8bVnBVH5ocX6cLTE1xnymaJYdI
 ZO3V8FAzOu37e+Y+MoQGAibETITzf+R2qUPSJPne1xeoDHdaz+7HWbz7wRv2L/GWXZp73nF+R
 PPpISQHFHxGTbyZUgaTIwAwm1VmX3ypmtXUyNqdoGJyJl+IGtYOUM7cPiOoh86/U8ShTrwl+i
 Y+3YiCBsdDz8YWdIT9s+qm2iATzmSgoa+mPaDJCnxu+7UIsJsF5szJmg/0Ujwk0vAcoyYHp5q
 KGEGvy6UZha9c9udxMQuDitA4ic+sqGi6E2sfm+juKvKAHBTAph+x6K7x9ELCyvnGEueLZGh9
 EN+sUeghzuuAn4VCL+/V/HLed/Phxy/FkMlQ333dPAwxqT16GcyWPKy7YF0CO1vWiagZSwlB+
 gSFQXuRMqiKPBhInSyfcF2bWn6dsFvg1xhd9NxR2QkZxRyQfWEc7tx68qEuwHChU3gdx1zkTq
 oFCXHWKm8LzuhqmaaKmpVIjhK92q5S5+cgE0jUwVHb/FzdefsxYN0vqZjQ1PvhkW/UbUIVuK5
 9+n8YNd3rJc9n8DwAECKbGx1wQwLKHz/vYsF7LMaCxmRJZdhuRI4xyB5uRbtXxqSJN5JpgaRE
 3aZbjbk
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 32215
Cc: Eli Zaretskii <eliz@HIDDEN>, 32215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Thu, 19 Jul 2018 21:02:11 -0400 Noam Postavsky <npostavs@HIDDEN> wrote:

> Stephen Berman <stephen.berman@HIDDEN> writes:
>
>> On Thu, 19 Jul 2018 21:19:36 +0300 Eli Zaretskii <eliz@HIDDEN> wrote:
>>
>>>> From: Stephen Berman <stephen.berman@HIDDEN>
>>>> Date: Thu, 19 Jul 2018 19:55:18 +0200
>>>> 
>>>> 0. emacs -Q
>>>> 1. C-x d / ~ TAB
>>>>    This pops up a *Completions* buffer showing directory names of all
>>>>    members of (system-users), e.g. steve/
>>>> 2. Continuing from step 1, when I type any of 's TAB', 'st TAB', 'ste
>>>>    TAB' or 'stev TAB', Emacs responds with [No match], but 'steve TAB'
>>>>    completes to steve/
>>>> 
>>>> The failure only happens with '/~<partial-name>', typing e.g. '~/Downl
>>>> TAB' here completes to ~/Downloads/
>>>
>>> Doesn't happen here, FWIW.  Strange.
>>
>> Strange indeed, assuming you tested on GNU/Linux or another POSIX
>> system, since IIUC on MS-Windows system-users returns only
>> user-real-login-name (at least it does here on Emacs 25.3 under Windows
>> 8).  I also tested on another GNU/Linux system I have with Emacs 24.3
>> and see exactly the same behavior I described above.
>
> I see it on both Windows and GNU/Linux.  

Like Eli, I'm surprised you see it on Windows.

>                                          I notice that the after typing
> the first letter of the user name, the leading "/" is no longer in
> shadow face, 

Yes, I didn't notice that when I tested before but I do now.

>              i.e., Emacs is looking for a directory starting with "~"
> under the root directory.

I suppose so, though it's still surprising that it only completes to
/~steve/ when typing /~steve, not /~stev.  Note that (at least here)
'/home/stev TAB' also completes to /home/steve/.

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 06:41:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 02:41:07 2018
Received: from localhost ([127.0.0.1]:48728 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgP6B-0002Wh-B8
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 02:41:07 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57641)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fgP6A-0002W4-3D
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 02:41:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fgP61-0003tQ-Ux
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 02:41:01 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42103)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fgP61-0003t5-NG; Fri, 20 Jul 2018 02:40:57 -0400
Received: from [176.228.60.248] (port=1212 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fgP61-0000cp-3R; Fri, 20 Jul 2018 02:40:57 -0400
Date: Fri, 20 Jul 2018 09:40:57 +0300
Message-Id: <83zhym1kau.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Noam Postavsky <npostavs@HIDDEN>
In-reply-to: <87bmb27m98.fsf@HIDDEN> (message from Noam Postavsky on Thu,
 19 Jul 2018 21:02:11 -0400)
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN> <87bmb27m98.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org, stephen.berman@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Noam Postavsky <npostavs@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  32215 <at> debbugs.gnu.org
> Date: Thu, 19 Jul 2018 21:02:11 -0400
> 
> I see it on both Windows and GNU/Linux.

What did you type on Windows, exactly?  If I type "C-x d / ~ TAB", I
get a single completion with my user-name, as expected.  How did you
get more than one completion?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 06:39:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 20 02:39:45 2018
Received: from localhost ([127.0.0.1]:48724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgP4q-0002Tr-Vb
	for submit <at> debbugs.gnu.org; Fri, 20 Jul 2018 02:39:45 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57338)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fgP4p-0002Te-19
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 02:39:43 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fgP4g-00036R-MQ
 for 32215 <at> debbugs.gnu.org; Fri, 20 Jul 2018 02:39:37 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42087)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fgP4g-00036N-Hk; Fri, 20 Jul 2018 02:39:34 -0400
Received: from [176.228.60.248] (port=1126 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fgP4g-00071M-0W; Fri, 20 Jul 2018 02:39:34 -0400
Date: Fri, 20 Jul 2018 09:39:34 +0300
Message-Id: <831sby2yxl.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
In-reply-to: <87pnzjhtom.fsf@HIDDEN> (message from Stephen Berman on Thu, 19
 Jul 2018 22:11:37 +0200)
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Stephen Berman <stephen.berman@HIDDEN>
> Cc: 32215 <at> debbugs.gnu.org
> Date: Thu, 19 Jul 2018 22:11:37 +0200
> 
> >> The failure only happens with '/~<partial-name>', typing e.g. '~/Downl
> >> TAB' here completes to ~/Downloads/
> >
> > Doesn't happen here, FWIW.  Strange.
> 
> Strange indeed, assuming you tested on GNU/Linux or another POSIX
> system

I tested on GNU/Linux, yes.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 01:02:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 19 21:02:21 2018
Received: from localhost ([127.0.0.1]:48659 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgJoK-0007GD-P4
	for submit <at> debbugs.gnu.org; Thu, 19 Jul 2018 21:02:20 -0400
Received: from mail-io0-f175.google.com ([209.85.223.175]:41258)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1fgJoI-0007Fx-U4
 for 32215 <at> debbugs.gnu.org; Thu, 19 Jul 2018 21:02:19 -0400
Received: by mail-io0-f175.google.com with SMTP id q9-v6so8620792ioj.8
 for <32215 <at> debbugs.gnu.org>; Thu, 19 Jul 2018 18:02:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=ltHdLb4NCFxyzv8B+Fn5FGLb7HZvOwaSftNydDrddx0=;
 b=VzIBzZHoWKSrgB7251kc0NVgYqMWzuGyLKdsTCArS/06MRlDdFFjCKKw8HZefJ3xyI
 8Go+ri3ln9OUo+TlY9HnNWPi0hRN/22kYNykIMW7eqfVTyYEw3stF8RuhMDxVk5YJjol
 RL2mefyOQrm8i6wItyatRjaftLIYELcAfBWz9UlIPMLVaDjvJsutAENQ/xhJOiNbJQ0m
 MLVDWeVqbP3ssvlsVpj6WgrduifY2UWYYpNpcFTEaOgRCcNt4rcBrAyGZsorkDiFEW8y
 DBEKL9cZiODTT7uGcCx/2VzRvycVJObcGNqQfWY9hgiMFNGDmn56hGVx9BPqnA8rwmhH
 JQ8A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=ltHdLb4NCFxyzv8B+Fn5FGLb7HZvOwaSftNydDrddx0=;
 b=c+YTRh1vG9yGvR8KbKkLthOT/v/d/vuI2H/MVpwTEroeoJjxfF5C7AEKQjNTylrBbF
 XG7Gsh3j6cxVvwt0o97LziLUCHhK4ioNB/2+8umLU9jNxNHEDxS+AIwi/OPXVSzLfLl4
 CVd/IeOVd9pXuRI29LU0DtXYgkgvVYfgVXWijxMA8sja6EsdFnrm1iCamshQu3aHsc1A
 kygAxDIheFRya9fbpRpZw1hySaWjCiXxxCeOkJzpBztipiGmni6LtkNiDE0eLON39U2k
 SdoXMQnSpK6x40xzSnjH8RQBqFz0ULzxtYYAVk4ZicTaU0oT8mmGRqb7rSpzrreqQ4AO
 UYvA==
X-Gm-Message-State: AOUpUlE8gMaTjdN51ABjYS1XBn56hezpSQNAxhDws4rkQ+B+p6nJI1FM
 Z4CsAh77wzaxcRqORlufDdwI5/WA
X-Google-Smtp-Source: AA+uWPxcOT1+9bYvigDCpAo7bfXjybGaajzbno/DFWyjXX4TFxDQ5xGUZP82wzgUAntL41iOrZBDjQ==
X-Received: by 2002:a6b:7e07:: with SMTP id
 i7-v6mr10730010iom.90.1532048533210; 
 Thu, 19 Jul 2018 18:02:13 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 d9-v6sm203848itj.10.2018.07.19.18.02.12
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 19 Jul 2018 18:02:12 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
 <87pnzjhtom.fsf@HIDDEN>
Date: Thu, 19 Jul 2018 21:02:11 -0400
In-Reply-To: <87pnzjhtom.fsf@HIDDEN> (Stephen Berman's message of "Thu, 19
 Jul 2018 22:11:37 +0200")
Message-ID: <87bmb27m98.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 32215
Cc: Eli Zaretskii <eliz@HIDDEN>, 32215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Stephen Berman <stephen.berman@HIDDEN> writes:

> On Thu, 19 Jul 2018 21:19:36 +0300 Eli Zaretskii <eliz@HIDDEN> wrote:
>
>>> From: Stephen Berman <stephen.berman@HIDDEN>
>>> Date: Thu, 19 Jul 2018 19:55:18 +0200
>>> 
>>> 0. emacs -Q
>>> 1. C-x d / ~ TAB
>>>    This pops up a *Completions* buffer showing directory names of all
>>>    members of (system-users), e.g. steve/
>>> 2. Continuing from step 1, when I type any of 's TAB', 'st TAB', 'ste
>>>    TAB' or 'stev TAB', Emacs responds with [No match], but 'steve TAB'
>>>    completes to steve/
>>> 
>>> The failure only happens with '/~<partial-name>', typing e.g. '~/Downl
>>> TAB' here completes to ~/Downloads/
>>
>> Doesn't happen here, FWIW.  Strange.
>
> Strange indeed, assuming you tested on GNU/Linux or another POSIX
> system, since IIUC on MS-Windows system-users returns only
> user-real-login-name (at least it does here on Emacs 25.3 under Windows
> 8).  I also tested on another GNU/Linux system I have with Emacs 24.3
> and see exactly the same behavior I described above.

I see it on both Windows and GNU/Linux.  I notice that the after typing
the first letter of the user name, the leading "/" is no longer in
shadow face, i.e., Emacs is looking for a directory starting with "~"
under the root directory.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 19 Jul 2018 20:11:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 19 16:11:47 2018
Received: from localhost ([127.0.0.1]:48570 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgFH9-0008RM-Bt
	for submit <at> debbugs.gnu.org; Thu, 19 Jul 2018 16:11:47 -0400
Received: from mout.gmx.net ([212.227.15.18]:49585)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgFH7-0008R7-EE
 for 32215 <at> debbugs.gnu.org; Thu, 19 Jul 2018 16:11:46 -0400
Received: from rosalinde ([188.101.27.3]) by mail.gmx.com (mrgmx003
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0LrNE4-1g9iRa15OG-013AaI; Thu, 19
 Jul 2018 22:11:38 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN> <834lgv2imf.fsf@HIDDEN>
Date: Thu, 19 Jul 2018 22:11:37 +0200
In-Reply-To: <834lgv2imf.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 19 Jul
 2018 21:19:36 +0300")
Message-ID: <87pnzjhtom.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:s8c/iO3DF/U7HWKGc2AbtccIyIFuoZ+eszPFFZm//yzVwJmiJ6r
 tLH9LrHnbXXVBV8WEuhky0+Nxf9jvLREPda9WFu8EaG62crVvnH0KBerQNEUOTLzGDa7cGt
 NDqpnGNMO0ozkhYiByFQVZVmyhFN5idLvp79eA4INGPRAyIkYBTjF0c38hiv11m4I5gJ44j
 yyjexPZ/o1GuPt5b0J1qQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:OiGFKKVWt3E=:5VXzIUIcPfQnLOzrfMTpsR
 Mqnq5Zm/I7YeUnGpeDBtQt9+I0Tyb9O6seNem1l99moTehosz0pPhk9k1jJwmChWwd0pZ9Tkg
 OXTGOlFuUGs5M/ytXlBLmDELa8C6mhISzDtJUyiNhEW8HnKaFG2VtGikbAuqK3e1md34Mp43j
 r3P1Egx+deT4yqdOmJgxEbKemYlnuKul8+qeuFkkI8VaBKBprJ9v5SGf4OBBTGAq8qo/1olWM
 Y+6ERfEmtMNK9oaDut+aWX6qIKe3s74HnWl3mrIakD4/Bo50bysldDVT0FdsHtzsGDERMwcm9
 n4knTxE7DtztukJ/SwNw2WMICM1sBB7k2HghSStqO1PG9ipTdUVTVi8FzKVLLHFjy4z+JpBNP
 OqoADFwmHS9L2rThs9PJJBm2GoZzvS54p77+1cjwLO52o4pnmD0cvVo2EMMR4HgjH3hFAnMcj
 1vP94HHXja2h0FUqI5AWLaW5qRH94mZ7OfRTTIL1ZeKLBYI/5dox/ULwHMW5rUYxgl/NPlxAP
 jzxWMxGADQ5INKOQC1uyDLpoYBJaGDN7+ir+UTocTU254KdzU6rB80eaPX3CCN9opBxvzSBrc
 E0gzxUtuQZNrjpC5ypileWVar0qtIa2zneZII1Cd8UqdjvTLkaQhgG5Rc9W69qIvudchqr53U
 KpAzRmy6MNKY3Wt651U0FxEYS5LvLPp6+WDYh+oikx4yYC3Tt1dOs9EIQLCTjtU0nCrl10V+2
 vLTnqzGeUX43B2js2jun+VdS/Xx0rZlt/aPltT69i1zO3CAcImzgyStmGlwbuwUcD9nPbh3Mk
 RNB4K42
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On Thu, 19 Jul 2018 21:19:36 +0300 Eli Zaretskii <eliz@HIDDEN> wrote:

>> From: Stephen Berman <stephen.berman@HIDDEN>
>> Date: Thu, 19 Jul 2018 19:55:18 +0200
>> 
>> 0. emacs -Q
>> 1. C-x d / ~ TAB
>>    This pops up a *Completions* buffer showing directory names of all
>>    members of (system-users), e.g. steve/
>> 2. Continuing from step 1, when I type any of 's TAB', 'st TAB', 'ste
>>    TAB' or 'stev TAB', Emacs responds with [No match], but 'steve TAB'
>>    completes to steve/
>> 
>> The failure only happens with '/~<partial-name>', typing e.g. '~/Downl
>> TAB' here completes to ~/Downloads/
>
> Doesn't happen here, FWIW.  Strange.

Strange indeed, assuming you tested on GNU/Linux or another POSIX
system, since IIUC on MS-Windows system-users returns only
user-real-login-name (at least it does here on Emacs 25.3 under Windows
8).  I also tested on another GNU/Linux system I have with Emacs 24.3
and see exactly the same behavior I described above.

Steve Berman




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at 32215 <at> debbugs.gnu.org:


Received: (at 32215) by debbugs.gnu.org; 19 Jul 2018 18:19:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 19 14:19:49 2018
Received: from localhost ([127.0.0.1]:48515 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgDWn-0005a9-5x
	for submit <at> debbugs.gnu.org; Thu, 19 Jul 2018 14:19:49 -0400
Received: from eggs.gnu.org ([208.118.235.92]:53874)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1fgDWl-0005Zu-Ii
 for 32215 <at> debbugs.gnu.org; Thu, 19 Jul 2018 14:19:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1fgDWc-0004be-60
 for 32215 <at> debbugs.gnu.org; Thu, 19 Jul 2018 14:19:42 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59906)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1fgDWc-0004bN-1o; Thu, 19 Jul 2018 14:19:38 -0400
Received: from [176.228.60.248] (port=3603 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1fgDWb-000266-Dt; Thu, 19 Jul 2018 14:19:37 -0400
Date: Thu, 19 Jul 2018 21:19:36 +0300
Message-Id: <834lgv2imf.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stephen Berman <stephen.berman@HIDDEN>
In-reply-to: <87tvovhzzt.fsf@HIDDEN> (message from Stephen Berman on Thu, 19
 Jul 2018 19:55:18 +0200)
Subject: Re: bug#32215: 27.0.50;
 Minibuffer completion fails with /~<partial-name>
References: <87tvovhzzt.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32215
Cc: 32215 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Stephen Berman <stephen.berman@HIDDEN>
> Date: Thu, 19 Jul 2018 19:55:18 +0200
> 
> 0. emacs -Q
> 1. C-x d / ~ TAB
>    This pops up a *Completions* buffer showing directory names of all
>    members of (system-users), e.g. steve/
> 2. Continuing from step 1, when I type any of 's TAB', 'st TAB', 'ste
>    TAB' or 'stev TAB', Emacs responds with [No match], but 'steve TAB'
>    completes to steve/
> 
> The failure only happens with '/~<partial-name>', typing e.g. '~/Downl
> TAB' here completes to ~/Downloads/

Doesn't happen here, FWIW.  Strange.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Jul 2018 17:55:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 19 13:55:41 2018
Received: from localhost ([127.0.0.1]:48504 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fgD9Q-0004ww-VQ
	for submit <at> debbugs.gnu.org; Thu, 19 Jul 2018 13:55:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:48700)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgD9P-0004wi-B8
 for submit <at> debbugs.gnu.org; Thu, 19 Jul 2018 13:55:39 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgD9H-0001j4-3W
 for submit <at> debbugs.gnu.org; Thu, 19 Jul 2018 13:55:33 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:33623)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <stephen.berman@HIDDEN>)
 id 1fgD9G-0001iz-UD
 for submit <at> debbugs.gnu.org; Thu, 19 Jul 2018 13:55:31 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:39664)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgD9A-0004cy-Q6
 for bug-gnu-emacs@HIDDEN; Thu, 19 Jul 2018 13:55:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <stephen.berman@HIDDEN>) id 1fgD97-0001g4-Tc
 for bug-gnu-emacs@HIDDEN; Thu, 19 Jul 2018 13:55:24 -0400
Received: from mout.gmx.net ([212.227.15.18]:38221)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <stephen.berman@HIDDEN>)
 id 1fgD97-0001dH-Ie
 for bug-gnu-emacs@HIDDEN; Thu, 19 Jul 2018 13:55:21 -0400
Received: from rosalinde ([188.101.27.3]) by mail.gmx.com (mrgmx003
 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MexaL-1fMby210p7-00OYCA for
 <bug-gnu-emacs@HIDDEN>; Thu, 19 Jul 2018 19:55:19 +0200
From: Stephen Berman <stephen.berman@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 27.0.50; Minibuffer completion fails with /~<partial-name>
Date: Thu, 19 Jul 2018 19:55:18 +0200
Message-ID: <87tvovhzzt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K1:IyBBp5lcHdV+zNzouqA/4LY+htfrRo9ObxK6hpu8fx8ZE+pI0GP
 6B/8Sjne5V5fH+YrB+Mkt1FZjJ7LFxau7kntXRQuDammb7SsbFUe6KnorDPviqSiJ1dlfKg
 EwguedyOYlQHH8TQislUnd9cCouPwRr8RhAJQ8dC26patc0JOSKqEJ62tDfwfK6W0KfhvAO
 QvOQ6JAA9TMfOjWA6WCbQ==
X-UI-Out-Filterresults: notjunk:1;V01:K0:RJ86FR8n4oE=:M/9sbOh2i1GhBeAkeyGwFY
 vQEARN8WUS3TmEfo18mnM2DSS3Tn38XsPjAbiLX3XyMh78I4jjtWGdKwcNEgYjE9QUHFAs9mf
 GLdrlZrYXZweqL3x1lmD3Q4rnDvn1IENQme9e/6QBjQGmY0q1CSPo841sLk8m3OD9gC9f0Wgj
 Qp2u1SdlTrv4ThWkTfTEztR52Gp49saT0PcE0Bymi0Yc947taT4gBB+SBBA/CZCFNCN9pYwtR
 Z07qw+KvU+THg+7trm3mmSiYMAfZHxELPWsyqHSCV9ATw0OTnZbgaFSz6YP0QVtzs5JYGNDND
 KWPLqYghHigmd8GfSnnxCKun9G07U5Ko4mWvQDvgafy1jAm/zXcGBO9enrAwZ6tRALxa76yZg
 dR+BGUD+wk4cy+EnnD7Owa6gq4YfWhnMFYLPG3WyzsIokTvLn6rUw2EBR+3Gcs61OdBHluE5s
 nVF8PrZm6gFA3M8C3nuuKdHP8EXo7lR14F6lSHpPqpNeVfRyZafcth6JAfVg+9/WbYGShVBOQ
 4pQ4m91GKUngVdijoUYt6JeuZ+mePOJjkhrzxTJ0yL1HuVDkdRzfFnJF7ZGnHvhCVc2IlsUnw
 uEYtofnUjT15KY3l+XFoJSbwNEqEHX3T9rkZFKh6rSAdZqS2WUr78V9SACYzHWXo8LvyBzOzq
 Hww8yIw9JLp4pShkVPRf5pTdoyYjsCA3yyVvSpOz4raV/wnrqqzwsEdfzxUBFtbh5Z5bgPPXf
 3Oort4FIeruHQr8exGR7E+kvf0RzDL0C1mgpznVxaafgsvP9A20WdZJYyodaUMtDigjW19Aj/
 9ZCayRY
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.1 (-----)

0. emacs -Q
1. C-x d / ~ TAB
   This pops up a *Completions* buffer showing directory names of all
   members of (system-users), e.g. steve/
2. Continuing from step 1, when I type any of 's TAB', 'st TAB', 'ste
   TAB' or 'stev TAB', Emacs responds with [No match], but 'steve TAB'
   completes to steve/

The failure only happens with '/~<partial-name>', typing e.g. '~/Downl
TAB' here completes to ~/Downloads/

I tried debugging but only got as far as completion--some; when stepping
through that after '/~stev TAB' *Messages* shows this:

  Result: (closure ((metadata metadata (category . file) (completion--unquote-requote . t)) (point . 6) (pred . file-exists-p) (table . completion-file-name-table) (string . "/~stev") (n . 1) t) (style) (funcall (nth n (assq style completion-styles-alist)) string table pred point))
   [2 times]
  Result: (substring basic partial-completion emacs22)
  
  Result: (substring basic partial-completion emacs22)
  
  Result: substring
  
  Result: nil

In contrast, with '/~steve TAB':

  Result: (closure ((metadata metadata (category . file) (completion--unquote-requote . t)) (point . 6) (pred . file-exists-p) (table . completion-file-name-table) (string . "~steve") (n . 1) t) (style) (funcall (nth n (assq style completion-styles-alist)) string table pred point))
   [2 times]
  Result: (substring basic partial-completion emacs22)
  
  Result: (substring basic partial-completion emacs22)
  
  Result: substring
  
  Result: ("~steve/" . 7)


In GNU Emacs 27.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.22.28)
 of 2018-07-18 built on rosalinde
Repository revision: 04a32fa60bead4359bc9353af67f26958c795593
Windowing system distributor 'The X.Org Foundation', version 11.0.11906000
System Description: Linux From Scratch

Recent messages:
scroll-up-command: End of buffer
Contacting host: debbugs.gnu.org:443
Opening nndoc server on /tmp/gnus-temp-group-vnhsiy-ephemeral...done
Contacting host: debbugs.gnu.org:443
Opening nndoc server on /tmp/gnus-temp-group-L5CVOB-ephemeral...done
scroll-up-command: End of buffer
Contacting host: debbugs.gnu.org:443
Opening nndoc server on /tmp/gnus-temp-group-GXyYYJ-ephemeral...done
Contacting host: debbugs.gnu.org:443
Opening nndoc server on /tmp/gnus-temp-group-x4tMir-ephemeral...done

Configured using:
 'configure 'CFLAGS=-Og -g3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY ACL
GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS
GTK3 X11 THREADS LCMS2

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix




Acknowledgement sent to Stephen Berman <stephen.berman@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#32215; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.