From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#64198: Feature request: compile.el's "Find this in" prompt should be hookable. Date: Thu, 22 Jun 2023 20:02:29 +0300 Message-ID: <83ilbf2zx6.fsf@gnu.org> References: <837crx5a8x.fsf@gnu.org> <03EC2FC3-A297-4CD1-91FB-2262A319A6F3@boostpro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19548"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64198@debbugs.gnu.org To: Dave Abrahams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 22 19:03:14 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qCNiD-0004q3-OI for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Jun 2023 19:03:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCNi4-0003Pb-1g; Thu, 22 Jun 2023 13:03:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCNi2-0003P1-WD for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 13:03:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qCNi2-0005vD-O1 for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 13:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qCNi2-0005TL-2P for bug-gnu-emacs@gnu.org; Thu, 22 Jun 2023 13:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Jun 2023 17:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64198 X-GNU-PR-Package: emacs Original-Received: via spool by 64198-submit@debbugs.gnu.org id=B64198.168745334620986 (code B ref 64198); Thu, 22 Jun 2023 17:03:02 +0000 Original-Received: (at 64198) by debbugs.gnu.org; 22 Jun 2023 17:02:26 +0000 Original-Received: from localhost ([127.0.0.1]:36606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCNhR-0005SO-W2 for submit@debbugs.gnu.org; Thu, 22 Jun 2023 13:02:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:56960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qCNhP-0005S9-79 for 64198@debbugs.gnu.org; Thu, 22 Jun 2023 13:02:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCNhJ-0005q9-Pc; Thu, 22 Jun 2023 13:02:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=W8rFZlZi1y6D0A69aA//CSUBGKwn7RQxM3gsu0SYzAI=; b=H3v1vh5NAlqo0fAinTBH YrM2TXYC5NzYuQH1dT/6XhHT1OeEsJn1lxZZVwp0181a5niS8oaMgeVV8wLCkcerx8oELjry8AcU6 yTVlonYfwgMTsRHfHbpG7manS++HjyY4u8gxfhb8ftJ2pG+3sd1j33wy3jAM5SeWDtnaWDSdtIhdK DHTZlSlYkU0OzCv2k5B5fcO62uG9rIgHBjPm8nb0BG6IOsJ7IE6qGQSHV0RrrwTN4tsFT7WO49+XG PEe1bTH75CberE/GVjg5yJdNkxKP3c1A6mu8RweaY8PHPWJZhvxcGfm2m62umH2MMtYyKBFkvi2eA FH/6KbMH7W7O2w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCNhJ-0004Jy-9u; Thu, 22 Jun 2023 13:02:17 -0400 In-Reply-To: <03EC2FC3-A297-4CD1-91FB-2262A319A6F3@boostpro.com> (message from Dave Abrahams on Wed, 21 Jun 2023 09:09:08 -0700) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:263896 Archived-At: > From: Dave Abrahams > Date: Wed, 21 Jun 2023 09:09:08 -0700 > Cc: 64198@debbugs.gnu.org > > Before discussing patches, could you please describe your situation? > Specifically, how does it happen that neither the compilation > directory plus the file name shown by the diagnostics nor the search > of compilation-search-path succeed to locate the file? And what would > the hook function you suggest adding do to resolve this, i.e. how > would it know where to look for the file? > > When Swift asserts, it doesn't write the path to the file into the output, becauseā€¦ reasons I grudgingly > accept. So one needs to guess at the file. https://github.com/apple/swift/issues/66777 contains all the > details, but if you want additional info, please ask. I don't know what Swift is, and that issue talks about something called #fileID, which I again have no idea about. So yes, please do elaborate, and TIA.