bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#14362: 24.3; Make it possible to modify compilation-find-file


From: Eli Zaretskii
Subject: bug#14362: 24.3; Make it possible to modify compilation-find-file
Date: Tue, 07 May 2013 22:28:51 +0300

> From: Gareth Rees <address@hidden>
> Date: Tue, 7 May 2013 20:19:04 +0100
> 
> If the user runs the p4 grep command via my interface, and then clicks
> on one of the hits, I want Emacs to jump to the corresponding line in
> that revision of the file. But the filename is given in Perforce
> server syntax, and compilation-next-error-function does not know how
> to visit that file. There seems to be no way to customize the
> behaviour of compilation-find-file.
> 
> 
> SUGGESTION
> 
> The simplest way to support my use case would be to add a new variable
> compilation-find-file-function. If this is non-NIL, then call it
> instead of compilation-find-file. Suggested patch against 24.3 below.

Isn't that what file handlers are for?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]