From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mike Kupfer Newsgroups: gmane.emacs.bugs Subject: bug#30271: 26.0.91; shell mode completion sometimes fails to complete Date: Sun, 28 Jan 2018 09:55:27 -0800 Message-ID: <21055.1517162127@alto> References: <809.1517080929@alto> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: blaine.gmane.org 1517163499 29042 195.159.176.226 (28 Jan 2018 18:18:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 28 Jan 2018 18:18:19 +0000 (UTC) To: 30271@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 28 19:18:15 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 1efrWv-0007Bp-NI for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jan 2018 19:18:13 +0100 Original-Received: from localhost ([::1]:53432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efrYw-0001dK-3e for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Jan 2018 13:20:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1efrYk-0001cF-5l for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2018 13:20:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1efrYh-0001BA-2m for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2018 13:20:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38560) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1efrYg-0001B4-VA for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2018 13:20:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1efrYg-0006bd-JB for bug-gnu-emacs@gnu.org; Sun, 28 Jan 2018 13:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mike Kupfer Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Jan 2018 18:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30271 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30271-submit@debbugs.gnu.org id=B30271.151716358125362 (code B ref 30271); Sun, 28 Jan 2018 18:20:02 +0000 Original-Received: (at 30271) by debbugs.gnu.org; 28 Jan 2018 18:19:41 +0000 Original-Received: from localhost ([127.0.0.1]:46457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efrYL-0006ay-9f for submit@debbugs.gnu.org; Sun, 28 Jan 2018 13:19:41 -0500 Original-Received: from shell1.rawbw.com ([198.144.192.42]:41428 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1efrYI-0006ap-UK for 30271@debbugs.gnu.org; Sun, 28 Jan 2018 13:19:39 -0500 Original-Received: from alto (96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id w0SHtSH7005798 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO) for <30271@debbugs.gnu.org>; Sun, 28 Jan 2018 09:55:35 -0800 (PST) (envelope-from mkupfer@alum.berkeley.edu) X-Authentication-Warning: shell1.rawbw.com: Host 96-95-200-133-static.hfc.comcastbusiness.net [96.95.200.133] claimed to be alto In-Reply-To: My message of "Sat, 27 Jan 2018 11:22:09 -0800." <809.1517080929@alto> X-Mailer: MH-E 8.6+git; nmh 1.6; GNU Emacs 26.0.91 Content-ID: <21054.1517162127.1@alto> 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:142615 Archived-At: Mike Kupfer wrote: > I suspect that the completion code is trying to be clever, figuring that > directories are not compressable, so "gzip Desktop" would not make > sense. I've verified that the completion code is going through #'pcomplete/gzip. From inspection, I see that #'pcmpl-gnu-zipped-files only considers regular files, so directories get filtered out. > But this just gets in the way if what I want to compress is a > file in Desktop. I haven't found any user options or variables that will let me get the behavior I want, so I ended up putting this workaround in my startup code: (defadvice pcomplete-find-completion-function (after mdk-reliable-completions compile activate) "Force use of the generic completion function." (setq ad-return-value nil)) mike