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

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

bug#39541: M-x compile *Completions* should notice "<"


From: Lars Ingebrigtsen
Subject: bug#39541: M-x compile *Completions* should notice "<"
Date: Wed, 05 Aug 2020 14:47:39 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> $ emacs -q Makefile
> M-x compile
> Compile command: make -k sstt < [TAB]
>
> at this point *Completions* just still shows targets from the Makefile
> (like "sstt")
>
> It should notice the "<" (like bash-completion correctly does), and start
> instead expanding filenames.
>
> OK, we now help it by entering the first letter of a file there, and hit
> TAB. And indeed it does expand the filename correctly.

I can confirm that this bug is still present in Emacs 28.

I tried looking at what's causing it to switch from Makefile target
completion to filename completion when you enter a character first, but
was unable to -- the completion code here is kinda convoluted.

Anybody got any idea what's going on here?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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