all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: glen stark <g.a.stark@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: integrating output from external program to emacs, ala gcc, grep
Date: Wed, 10 Sep 2014 09:07:48 GMT	[thread overview]
Message-ID: <ExUPv.216022$xb.181274@fx08.am4> (raw)

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


             reply	other threads:[~2014-09-10  9:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10  9:07 glen stark [this message]
2014-09-10 10:35 ` integrating output from external program to emacs, ala gcc, grep 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

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='ExUPv.216022$xb.181274@fx08.am4' \
    --to=g.a.stark@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.