From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#32215: 27.0.50; Minibuffer completion fails with /~ Date: Thu, 19 Jul 2018 19:55:18 +0200 Message-ID: <87tvovhzzt.fsf@gmx.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1532022858 28647 195.159.176.226 (19 Jul 2018 17:54:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Jul 2018 17:54:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 32215@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 19 19:54:14 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 1fgD7z-0007Jl-UI for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2018 19:54:12 +0200 Original-Received: from localhost ([::1]:44474 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgDA6-0004fV-U3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jul 2018 13:56:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgD9t-0004fH-6f for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 13:56:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgD9n-0002Cg-AM for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 13:56:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43487) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fgD9n-0002CT-40 for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 13:56:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fgD9m-0004xf-SY for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 13:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Jul 2018 17:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32215 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.153202294119034 (code B ref -1); Thu, 19 Jul 2018 17:56:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jul 2018 17:55:41 +0000 Original-Received: from localhost ([127.0.0.1]:48504 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgD9Q-0004ww-VQ for submit@debbugs.gnu.org; Thu, 19 Jul 2018 13:55:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgD9P-0004wi-B8 for submit@debbugs.gnu.org; Thu, 19 Jul 2018 13:55:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgD9H-0001j4-3W for submit@debbugs.gnu.org; Thu, 19 Jul 2018 13:55:33 -0400 Original-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 ) id 1fgD9G-0001iz-UD for submit@debbugs.gnu.org; Thu, 19 Jul 2018 13:55:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fgD9A-0004cy-Q6 for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 13:55:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fgD97-0001g4-Tc for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 13:55:24 -0400 Original-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 ) id 1fgD97-0001dH-Ie for bug-gnu-emacs@gnu.org; Thu, 19 Jul 2018 13:55:21 -0400 Original-Received: from rosalinde ([188.101.27.3]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MexaL-1fMby210p7-00OYCA for ; Thu, 19 Jul 2018 19:55:19 +0200 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 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-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:148687 Archived-At: 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/ 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