X-Loop: help-debbugs@HIDDEN Subject: bug#64198: Feature request: compile.el's "Find this in" prompt should be hookable. Resent-From: Dave Abrahams <dave@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 20 Jun 2023 22:32:02 +0000 Resent-Message-ID: <handler.64198.B.16873002785155 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 64198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 64198 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.16873002785155 (code B ref -1); Tue, 20 Jun 2023 22:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Jun 2023 22:31:18 +0000 Received: from localhost ([127.0.0.1]:60126 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qBjsb-0001L4-Ug for submit <at> debbugs.gnu.org; Tue, 20 Jun 2023 18:31:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:57862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <dave@HIDDEN>) id 1qBjsZ-0001Kw-Rt for submit <at> debbugs.gnu.org; Tue, 20 Jun 2023 18:31:16 -0400 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 <dave@HIDDEN>) id 1qBjsZ-0003bC-M3 for bug-gnu-emacs@HIDDEN; Tue, 20 Jun 2023 18:31:15 -0400 Received: from mail-oa1-x34.google.com ([2001:4860:4864:20::34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <dave@HIDDEN>) id 1qBjsW-0000kd-Om for bug-gnu-emacs@HIDDEN; Tue, 20 Jun 2023 18:31:14 -0400 Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-19a427d7b57so3499206fac.2 for <bug-gnu-emacs@HIDDEN>; Tue, 20 Jun 2023 15:31:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=boostpro-com.20221208.gappssmtp.com; s=20221208; t=1687300270; x=1689892270; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:from:to:cc:subject:date:message-id:reply-to; bh=jSCyLAiqpqE45vkBL4p8oCWhWlDyYRgK4FwLIR3fQnA=; b=4uS2ZLasNIhVMxUri4jWZp7tj847J3mgGc+HhkU1Qlvjtyi0P7YYXcXyZtorLD/1Qb Ds8Up74buS9Q9/yVH9hP216P/Og858dx2okYpHhDYjoqSmED1LA+ESCofp5KGL0DcRBl AxSQOEXkrkxQNIMv4NuI6ufC3fos75utMRyD0BJzOjVdlQirYc2hcCI15hV6XZ6rqj90 0K+NR1rg1nYpQceUaOMEwkd/M4umZMDy7Q99prJO6XLiYVdMgttvu6AXA2pVjRAu5UxC 3AHBeO9Wc6oQiOqut55r/mg/9FstER98tjYkMylgmZC8j7zrJY5+eg2Rwz2w5qLJM1ei 0VeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687300270; x=1689892270; h=to:date:message-id:subject:mime-version:content-transfer-encoding :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=jSCyLAiqpqE45vkBL4p8oCWhWlDyYRgK4FwLIR3fQnA=; b=DW/Q/YuY32n3yTCu37glZ+mwoMMp8DWWm+4faThsnXdv/CWn8cg9rpZH3DmOsw4Y7g QfPOH/3HowBYFrHH0P35Q7ijcC0pAyNgvTe6cd3y6V39OnIYK769YO4rdAY4EBKgmCi6 FKhufId+LPKMlZSyEveExI6Zt/juHM1LGa4hzkTqnjQO57Az+RMSEmtuZ2ox9TmKCSoi r7lwfpUGk+aJPjy0yV52ulJMmxdZNWcTteemdZS1s+5LcZR9jUwTKaSrExY2Xr51dC1b 1kSN+zHB24ciqz13/Ly3g7RUDCrMByW/ibtg72JmrtmaPSK6kCEJcUXWZS1fWKJ5Ge5n rqrA== X-Gm-Message-State: AC+VfDxu5ovLSt5CTCnj5vteDi9wS27x9P1ZCdvpyqHLUV1xPEgVFXWZ h8fHZN5QB+PDZhCnONCIS8rAnRWCkyywCY2snMs= X-Google-Smtp-Source: ACHHUZ5szXtZmKBzfEyShj6OBeiymKNsGtxCC7H5RZ+waUJ3Nv6aYmb6ULqHEvW/JrTDqub3rq0F/g== X-Received: by 2002:a05:6871:616:b0:1ad:544:f643 with SMTP id w22-20020a056871061600b001ad0544f643mr1066931oan.14.1687300269724; Tue, 20 Jun 2023 15:31:09 -0700 (PDT) Received: from smtpclient.apple (69-209-31-205.lightspeed.sntcca.sbcglobal.net. [69.209.31.205]) by smtp.gmail.com with ESMTPSA id c204-20020a814ed5000000b0057060bb2874sm748601ywb.37.2023.06.20.15.31.09 for <bug-gnu-emacs@HIDDEN> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2023 15:31:09 -0700 (PDT) From: Dave Abrahams <dave@HIDDEN> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Message-Id: <ABE677EB-2864-4A85-A02F-F1B53449530F@HIDDEN> Date: Tue, 20 Jun 2023 15:30:58 -0700 X-Mailer: Apple Mail (2.3731.600.7) Received-SPF: none client-ip=2001:4860:4864:20::34; envelope-from=dave@HIDDEN; helo=mail-oa1-x34.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) 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: -3.3 (---) [I hope this is the right venue for feature requests. If not, sorry!] When a file can't be found via the path given in a diagnostic, I'd like = to be able to override the prompt that emacs gives to locate the file. = compilation-parse-errors-filename-function happens too early, while the = buffer is being initially parsed. A similar = compilation-locate-file-function would be great. If there's interest I = could try to develop a patch.=
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: Dave Abrahams <dave@HIDDEN> Subject: bug#64198: Acknowledgement (Feature request: compile.el's "Find this in" prompt should be hookable.) Message-ID: <handler.64198.B.16873002785155.ack <at> debbugs.gnu.org> References: <ABE677EB-2864-4A85-A02F-F1B53449530F@HIDDEN> X-Gnu-PR-Message: ack 64198 X-Gnu-PR-Package: emacs Reply-To: 64198 <at> debbugs.gnu.org Date: Tue, 20 Jun 2023 22:32: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 64198 <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 64198: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64198 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#64198: Feature request: compile.el's "Find this in" prompt should be hookable. Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 21 Jun 2023 11:25:01 +0000 Resent-Message-ID: <handler.64198.B64198.16873466695264 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 64198 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dave Abrahams <dave@HIDDEN> Cc: 64198 <at> debbugs.gnu.org Received: via spool by 64198-submit <at> debbugs.gnu.org id=B64198.16873466695264 (code B ref 64198); Wed, 21 Jun 2023 11:25:01 +0000 Received: (at 64198) by debbugs.gnu.org; 21 Jun 2023 11:24:29 +0000 Received: from localhost ([127.0.0.1]:60768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qBvwq-0001Mq-M8 for submit <at> debbugs.gnu.org; Wed, 21 Jun 2023 07:24:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1qBvwo-0001MX-E2 for 64198 <at> debbugs.gnu.org; Wed, 21 Jun 2023 07:24:27 -0400 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 <eliz@HIDDEN>) id 1qBvwf-0000Ig-IW; Wed, 21 Jun 2023 07:24:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yurkDmh40J/JhycNyfNYyOgU+TuhusabpkyDxWpJFgs=; b=NNojFzWcCQjo JMvZufuQeA9zYcwb1eCb3kdj4lL7IeP/xf8O8t1Du9yUmbVGgDSNGf/MA3NLuFaQ0EESHuWCdvqJh UpjGq3t9j4UvbzOvSBhtu4zdSKFW/4n5kneDl2bu1+DJg6IgOXrjLng8RTmEKCUp+0KZfXs7Oc8qr aI4fPW1/3o/a7UIzYXcpd3JMCXliIspCytdsr2MWocn0VfLEvnH/pEz1TO024dORJlpBbaZyVzf3a IVdZJsJO+CzGS5TdM1nq/g0l15BZLsQn2YrknBo0fQpLKqZqkEWB7OlVWF/sxhgMAIKMLHH6zuPZz mzzCGWPYyT5JB5U2DgoEfg==; 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 <eliz@HIDDEN>) id 1qBvwW-000801-BJ; Wed, 21 Jun 2023 07:24:17 -0400 Date: Wed, 21 Jun 2023 14:24:14 +0300 Message-Id: <837crx5a8x.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <ABE677EB-2864-4A85-A02F-F1B53449530F@HIDDEN> (message from Dave Abrahams on Tue, 20 Jun 2023 15:30:58 -0700) References: <ABE677EB-2864-4A85-A02F-F1B53449530F@HIDDEN> X-Spam-Score: -2.3 (--) 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: -3.3 (---) > From: Dave Abrahams <dave@HIDDEN> > Date: Tue, 20 Jun 2023 15:30:58 -0700 > > [I hope this is the right venue for feature requests. If not, sorry!] This is the right place. > When a file can't be found via the path given in a diagnostic, I'd like to be able to override the prompt that emacs gives to locate the file. compilation-parse-errors-filename-function happens too early, while the buffer is being initially parsed. A similar compilation-locate-file-function would be great. If there's interest I could try to develop a patch. 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? Thanks.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.