X-Loop: help-debbugs@HIDDEN Subject: bug#39541: M-x compile *Completions* should notice "<" Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson <jidanni@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Mon, 10 Feb 2020 07:33:02 +0000 Resent-Message-ID: <handler.39541.B.158131993529997 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 39541 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 39541 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.158131993529997 (code B ref -1); Mon, 10 Feb 2020 07:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Feb 2020 07:32:15 +0000 Received: from localhost ([127.0.0.1]:53616 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1j13YF-0007nf-1r for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 02:32:15 -0500 Received: from lists.gnu.org ([209.51.188.17]:47535) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jidanni@HIDDEN>) id 1j13YD-0007nQ-90 for submit <at> debbugs.gnu.org; Mon, 10 Feb 2020 02:32:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:32892) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <jidanni@HIDDEN>) id 1j13YC-0007Ep-1Y for bug-gnu-emacs@HIDDEN; Mon, 10 Feb 2020 02:32:13 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1j13YA-0004dr-Pu for bug-gnu-emacs@HIDDEN; Mon, 10 Feb 2020 02:32:11 -0500 Received: from bisque.elm.relay.mailchannels.net ([23.83.212.18]:53279) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <jidanni@HIDDEN>) id 1j13YA-0004TR-8b for bug-gnu-emacs@HIDDEN; Mon, 10 Feb 2020 02:32:10 -0500 X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1E1495A1275 for <bug-gnu-emacs@HIDDEN>; Mon, 10 Feb 2020 07:32:07 +0000 (UTC) Received: from pdx1-sub0-mail-a12.g.dreamhost.com (100-96-216-4.trex.outbound.svc.cluster.local [100.96.216.4]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id A77365A0E8F for <bug-gnu-emacs@HIDDEN>; Mon, 10 Feb 2020 07:32:06 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@HIDDEN Received: from pdx1-sub0-mail-a12.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Mon, 10 Feb 2020 07:32:07 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@HIDDEN X-MailChannels-Auth-Id: dreamhost X-Trade-Snatch: 0812fbb454c0b4e7_1581319926905_3919113154 X-MC-Loop-Signature: 1581319926905:2537126457 X-MC-Ingress-Time: 1581319926904 Received: from pdx1-sub0-mail-a12.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a12.g.dreamhost.com (Postfix) with ESMTP id 55CB2B375D for <bug-gnu-emacs@HIDDEN>; Sun, 9 Feb 2020 23:32:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=aUDHEojPcZZ+lgj1fNWKLfHiezA=; b=iFsBMNCJCe84fQSE dMgkQOZ3h+/oVK0XCLKvXzqaTdirJTGPdI+LGIidKfAWBbAxbVPVnnlnpmcdIQOZ kaB6EXuL9PHso9yy8xYN/6SfaViaYh6W0uTVIEZaEJ8tQ37PAnqvLViELB5fMYfQ d9FTDEmFz11kxdlK2ztjsHqCiYw= Received: from jidanni.org (1-170-82-233.dynamic-ip.hinet.net [1.170.82.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@HIDDEN) by pdx1-sub0-mail-a12.g.dreamhost.com (Postfix) with ESMTPSA id F3EFBB2A34 for <bug-gnu-emacs@HIDDEN>; Sun, 9 Feb 2020 23:32:00 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a12 From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson <jidanni@HIDDEN> Date: Mon, 10 Feb 2020 15:25:48 +0800 Message-ID: <87v9oej43n.5.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedriedtgdejjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttddtjeenucfhrhhomhepnjjnnjcuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqnecukfhppedurddujedtrdekvddrvdeffeenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehjihgurghnnhhirdhorhhgpdhinhgvthepuddrudejtddrkedvrddvfeefpdhrvghtuhhrnhdqphgrthhhpeeprehuthhfqdekreeureehiehmpfehnfhiheehsgevkeerpecuffgrnhculfgrtghosghsohhnuceojhhiuggrnhhnihesjhhiuggrnhhnihdrohhrgheqpdhmrghilhhfrhhomhepjhhiuggrnhhnihesjhhiuggrnhhnihdrohhrghdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrgh X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.212.18 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) $ 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".
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson <jidanni@HIDDEN> Subject: bug#39541: Acknowledgement (M-x compile *Completions* should notice "<") Message-ID: <handler.39541.B.158131993529997.ack <at> debbugs.gnu.org> References: <87v9oej43n.5.fsf@HIDDEN> X-Gnu-PR-Message: ack 39541 X-Gnu-PR-Package: emacs Reply-To: 39541 <at> debbugs.gnu.org Date: Mon, 10 Feb 2020 07:33:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 39541 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 39541: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39541 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#39541: M-x compile *Completions* should notice "<" Resent-From: Lars Ingebrigtsen <larsi@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 05 Aug 2020 12:48:01 +0000 Resent-Message-ID: <handler.39541.B39541.15966316759291 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 39541 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson <jidanni@HIDDEN> Cc: 39541 <at> debbugs.gnu.org Received: via spool by 39541-submit <at> debbugs.gnu.org id=B39541.15966316759291 (code B ref 39541); Wed, 05 Aug 2020 12:48:01 +0000 Received: (at 39541) by debbugs.gnu.org; 5 Aug 2020 12:47:55 +0000 Received: from localhost ([127.0.0.1]:50334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k3Ipn-0002Pn-5C for submit <at> debbugs.gnu.org; Wed, 05 Aug 2020 08:47:55 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1k3Ipl-0002Mh-GV for 39541 <at> debbugs.gnu.org; Wed, 05 Aug 2020 08:47:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=RmSn33S3u2jscMs5VpN0orXFNqpKi8J5ITfUjTMz2tA=; b=cmFEPQ3aehXAjg3KODdRKhFvUD H9TWR9NPw4YIP820k5614w453tMcnjZ8znHXqNUuLkm+/Hsy71fP3ej5O8r2rWP2lOtOp28TTGyML 5XkSLo5aUEEVRhlyJrv449lUbEjm+e9sS0CRIka0kZEVb52QlaS8zIiJCzsRt6roDb0o=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1k3IpZ-0004lC-4D; Wed, 05 Aug 2020 14:47:46 +0200 From: Lars Ingebrigtsen <larsi@HIDDEN> References: <87v9oej43n.5.fsf@HIDDEN> Date: Wed, 05 Aug 2020 14:47:39 +0200 In-Reply-To: <87v9oej43n.5.fsf@HIDDEN> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Mon, 10 Feb 2020 15:25:48 +0800") Message-ID: <877dud8djo.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson <jidanni@HIDDEN> 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 "<" (lik [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson <jidanni@HIDDEN> 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? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
Received: (at control) by debbugs.gnu.org; 5 Aug 2020 12:48:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Aug 05 08:48:00 2020 Received: from localhost ([127.0.0.1]:50337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1k3Ips-0002QW-K4 for submit <at> debbugs.gnu.org; Wed, 05 Aug 2020 08:48:00 -0400 Received: from quimby.gnus.org ([95.216.78.240]:40730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <larsi@HIDDEN>) id 1k3Ipr-0002Pg-6X for control <at> debbugs.gnu.org; Wed, 05 Aug 2020 08:47:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=iNVeg8CNWP/g/TKnbUNCLwCvEyHb+d51yjjofUVysA4=; b=WPtvy4pc/bTRWXNJSjYTfI6hC3 EZDazJJiwuAC9Aathcmj5QMC4tMELTLcXS2GMHarQSjFMhMu0yuiITEYxvF2o3FAZsd/sbOoc6W1Y 0K5XXRVwFCU+sv9dDpW5yMY28QNaDlbZ+nV8StNy59SWui/NqbGq1FOe/QVRvED0R1JM=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1k3Ipj-0004lL-EW for control <at> debbugs.gnu.org; Wed, 05 Aug 2020 14:47:53 +0200 Date: Wed, 05 Aug 2020 14:47:50 +0200 Message-Id: <875z9x8djd.fsf@HIDDEN> To: control <at> debbugs.gnu.org From: Lars Ingebrigtsen <larsi@HIDDEN> Subject: control message for bug #39541 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 39541 + confirmed quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) tags 39541 + confirmed quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.