GNU bug report logs - #39541
M-x compile *Completions* should notice "<"

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Mon, 10 Feb 2020 07:33:02 UTC

Severity: wishlist

Tags: confirmed

Full log


Message #8 received at 39541 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 39541 <at> debbugs.gnu.org
Subject: Re: bug#39541: M-x compile *Completions* should notice "<"
Date: Wed, 05 Aug 2020 14:47:39 +0200
積丹尼 Dan Jacobson <jidanni <at> 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




This bug report was last modified 4 years and 317 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.