From: "Basil L. Contovounesios" <contovob@tcd.ie>
To: Noam Postavsky <npostavs@gmail.com>
Cc: xristos <xristos@sdf.org>,
28096@debbugs.gnu.org, Eric Skoglund <eric@pagefault.se>
Subject: bug#28096: 25.2; c-a-p/shell/ielm: Broken directory completion for directories that contain spaces
Date: Wed, 30 May 2018 14:44:35 +0100 [thread overview]
Message-ID: <87sh69qmv0.fsf@tcd.ie> (raw)
In-Reply-To: <87y3g1qr3l.fsf@tcd.ie> (Basil L. Contovounesios's message of "Wed, 30 May 2018 13:13:02 +0100")
"Basil L. Contovounesios" <contovob@tcd.ie> writes:
> I'm not familiar with the workings of shell, but it seems like it's
> trying to be smart about cd completion and falling a bit short.
After a bit more digging (see bug#11348 and bug#11607), it looks like
the culprit is pcomplete/cd. I'm far from familiar with pcomplete, and
edebugging pcomplete-entries and pcomplete--entries did not reveal
anything obviously amiss to me, so my current workaround, inspired by
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=11348#26, is to:
(with-eval-after-load 'shell
(setq shell-dynamic-complete-functions
(delq #'pcomplete-completions-at-point
shell-dynamic-complete-functions)))
--
Basil
prev parent reply other threads:[~2018-05-30 13:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-15 12:42 bug#28096: 25.2; c-a-p/shell/ielm: Broken directory completion for directories that contain spaces xristos
2018-04-02 8:37 ` Eric Skoglund
2018-05-30 0:08 ` xristos
2018-05-30 10:47 ` Noam Postavsky
2018-05-30 12:13 ` Basil L. Contovounesios
2018-05-30 13:44 ` Basil L. Contovounesios [this message]
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=87sh69qmv0.fsf@tcd.ie \
--to=contovob@tcd.ie \
--cc=28096@debbugs.gnu.org \
--cc=eric@pagefault.se \
--cc=npostavs@gmail.com \
--cc=xristos@sdf.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.