unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* integrating output from external program to emacs, ala gcc, grep
@ 2014-09-10  9:07 glen stark
  2014-09-10 10:35 ` Pascal J. Bourguignon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: glen stark @ 2014-09-10  9:07 UTC (permalink / raw)
  To: help-gnu-emacs

Hi everyone.

I'm writing a little tool that parses some code, and identifies likely 
candidates for refactoring.  Now what I'd like to do is be able to call 
that from emacs, and use the 'next error' function like I do when using 
gcc (via compile), or when I grep in the eshell.

So what do I have to do so that emacs can use my tools output?  I suppose 
there's some standard output format defined to allow tools to jump to 
errors.  Could someone point me to the documentation?

I guess the easiest thing to do is call the tool from the compile 
command.  What are the other possibilities?  How do I get it to run like 
grep does in eshell for example?

If anyone has tips that might save me a little time here, or result in a 
better implementation,  I'll be very grateful.

Thanks,

Glen


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

end of thread, other threads:[~2014-09-16 14:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-10  9:07 integrating output from external program to emacs, ala gcc, grep glen stark
2014-09-10 10:35 ` Pascal J. Bourguignon
2014-09-10 12:48 ` Stefan Monnier
2014-09-12  9:42 ` Aurélien Aptel
     [not found] ` <mailman.8611.1410353423.1147.help-gnu-emacs@gnu.org>
2014-09-16 14:18   ` glen stark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).