all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dave Abrahams <dave@boostpro.com>
Cc: 64198@debbugs.gnu.org
Subject: bug#64198: Feature request: compile.el's "Find this in" prompt should be hookable.
Date: Wed, 21 Jun 2023 14:24:14 +0300	[thread overview]
Message-ID: <837crx5a8x.fsf@gnu.org> (raw)
In-Reply-To: <ABE677EB-2864-4A85-A02F-F1B53449530F@boostpro.com> (message from Dave Abrahams on Tue, 20 Jun 2023 15:30:58 -0700)

> From: Dave Abrahams <dave@boostpro.com>
> 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.





  reply	other threads:[~2023-06-21 11:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-20 22:30 bug#64198: Feature request: compile.el's "Find this in" prompt should be hookable Dave Abrahams
2023-06-21 11:24 ` Eli Zaretskii [this message]
2023-06-21 16:09   ` Dave Abrahams
2023-06-22 17:02     ` Eli Zaretskii
2023-06-22 17:11       ` Dave Abrahams
2023-06-22 17:23         ` Eli Zaretskii
2023-06-22 21:56           ` Dave Abrahams
2023-06-23  5:41             ` Eli Zaretskii
2023-06-22 17:58         ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-22 21:49           ` Dave Abrahams
2023-06-22 22:49             ` Dave Abrahams
2023-06-21 21:52   ` Björn Bidar via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-22  4:54     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837crx5a8x.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64198@debbugs.gnu.org \
    --cc=dave@boostpro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.