all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* find-file from Makefile under M-x compile
@ 2002-10-14 20:45 Dan Jacobson
  2002-10-16 16:35 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Jacobson @ 2002-10-14 20:45 UTC (permalink / raw)


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& ?
Of course one could do (compile "xxxx")(find-file "yyy") but I was
wondering how to do it from a Makefile.
-- 
http://jidanni.org/ Taiwan(04)25854780

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: find-file from Makefile under M-x compile
  2002-10-14 20:45 find-file from Makefile under M-x compile Dan Jacobson
@ 2002-10-16 16:35 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2002-10-16 16:35 UTC (permalink / raw)


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;ihs.com&gt;">Kevin Rodgers</a>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-16 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-14 20:45 find-file from Makefile under M-x compile Dan Jacobson
2002-10-16 16:35 ` Kevin Rodgers

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.