From: Mike Kupfer <mkupfer@alum.berkeley.edu>
To: 30271@debbugs.gnu.org
Subject: bug#30271: 26.0.91; shell mode completion sometimes fails to complete
Date: Sun, 28 Jan 2018 09:55:27 -0800 [thread overview]
Message-ID: <21055.1517162127@alto> (raw)
In-Reply-To: My message of "Sat, 27 Jan 2018 11:22:09 -0800." <809.1517080929@alto>
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
next prev parent reply other threads:[~2018-01-28 17:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-27 19:22 bug#30271: 26.0.91; shell mode completion sometimes fails to complete Mike Kupfer
2018-01-28 17:55 ` Mike Kupfer [this message]
2020-10-27 2:21 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=21055.1517162127@alto \
--to=mkupfer@alum.berkeley.edu \
--cc=30271@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.