From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#32215: 27.0.50; Minibuffer completion fails with /~ Date: Fri, 20 Jul 2018 09:58:10 -0400 Message-ID: References: <87tvovhzzt.fsf@gmx.net> <834lgv2imf.fsf@gnu.org> <87pnzjhtom.fsf@gmx.net> <87bmb27m98.fsf@gmail.com> <87va9ajol1.fsf@gmx.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1532095028 22574 195.159.176.226 (20 Jul 2018 13:57:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 13:57:08 +0000 (UTC) Cc: 32215@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 20 15:57:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgVu3-0005iO-Oi for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 15:57:04 +0200 Original-Received: from localhost ([::1]:48329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgVw9-00039o-0a for geb-bug-gnu-emacs@m.gmane.org; Fri, 20 Jul 2018 09:59:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgVw1-00039H-5O for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 09:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgVvy-0003I8-4C for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 09:59:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgVvx-0003I3-W2 for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 09:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fgVvx-0002rS-P4 for bug-gnu-emacs@gnu.org; Fri, 20 Jul 2018 09:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Jul 2018 13:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32215 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32215-submit@debbugs.gnu.org id=B32215.153209509810941 (code B ref 32215); Fri, 20 Jul 2018 13:59:01 +0000 Original-Received: (at 32215) by debbugs.gnu.org; 20 Jul 2018 13:58:18 +0000 Original-Received: from localhost ([127.0.0.1]:49816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgVvF-0002qP-RJ for submit@debbugs.gnu.org; Fri, 20 Jul 2018 09:58:18 -0400 Original-Received: from mail-oi0-f50.google.com ([209.85.218.50]:37183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgVvE-0002qC-MB for 32215@debbugs.gnu.org; Fri, 20 Jul 2018 09:58:17 -0400 Original-Received: by mail-oi0-f50.google.com with SMTP id k81-v6so21480079oib.4 for <32215@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) Original-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@gmx.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:148728 Archived-At: On 20 July 2018 at 04:31, Stephen Berman wrote: > On Thu, 19 Jul 2018 21:02:11 -0400 Noam Postavsky wrote: > >> Stephen Berman writes: >> >>> On Thu, 19 Jul 2018 21:19:36 +0300 Eli Zaretskii wrote: >>> >>>>> From: Stephen Berman >>>>> 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 '/~', 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?