[Top][All Lists]

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

Re: find-file from Makefile under M-x compile

From: Kevin Rodgers
Subject: Re: find-file from Makefile under M-x compile
Date: Wed, 16 Oct 2002 10:35:10 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Dan Jacobson wrote:

What's a clean way to do find-file in a Makefile to switch to a buffer
in a already running emacs running M-x compile?  emacsclient file& ?

I think that's it.

Of course one could do (compile "xxxx")(find-file "yyy") but I was
wondering how to do it from a Makefile.

I assume "xxxx" is "make ...".

You could have the Makefile emit an error message that is recognized by C-x `
(M-x next-error):

        @echo "yyyy:1:Edit this file!"

<a href="mailto:&lt;kevinr&#64;;";>Kevin Rodgers</a>

reply via email to

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