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

To reply to this bug, email your comments to 39541 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#39541; Package emacs. (Mon, 10 Feb 2020 07:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 10 Feb 2020 07:33:02 GMT) Full text and rfc822 format available.

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

From: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
To: bug-gnu-emacs <at> gnu.org
Subject: M-x compile *Completions* should notice "<"
Date: Mon, 10 Feb 2020 15:25:48 +0800
$ 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".




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39541; Package emacs. (Wed, 05 Aug 2020 12:48:01 GMT) Full text and rfc822 format available.

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




Added tag(s) confirmed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 05 Aug 2020 12:48:01 GMT) Full text and rfc822 format available.

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

Previous Next


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