bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28096: 25.2; c-a-p/shell/ielm: Broken directory completion for direc


From: Basil L. Contovounesios
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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

"Basil L. Contovounesios" <address@hidden> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]