* bug#39541: M-x compile *Completions* should notice "<"
@ 2020-02-10 7:25 積丹尼 Dan Jacobson
2020-08-05 12:47 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2020-02-10 7:25 UTC (permalink / raw)
To: 39541
$ 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.
emacs-version "26.3".
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#39541: M-x compile *Completions* should notice "<"
2020-02-10 7:25 bug#39541: M-x compile *Completions* should notice "<" 積丹尼 Dan Jacobson
@ 2020-08-05 12:47 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-05 12:47 UTC (permalink / raw)
To: 積丹尼 Dan Jacobson; +Cc: 39541
積丹尼 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-05 12:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-10 7:25 bug#39541: M-x compile *Completions* should notice "<" 積丹尼 Dan Jacobson
2020-08-05 12:47 ` Lars Ingebrigtsen
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.