From: "David L" <idht4n@hotmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: build-and-load-etags
Date: Thu, 26 Apr 2007 14:06:27 -0700 [thread overview]
Message-ID: <BAY144-F2786F35152EC09D04563BD84480@phx.gbl> (raw)
In-Reply-To: <umz0uzx3r.fsf@gnu.org>
>
> > From: "David L" <idht4n@hotmail.com>
> > Bcc:
> > Date: Thu, 26 Apr 2007 13:39:14 -0700
> >
> > (defun build-etags ()
> > (interactive)
> > (compile "make etags")
> ^^^^^^^
>This is your problem: `compile' runs the command asynchronously, which
>is not what you want. Use `shell-command' or some such, and Emacs will
>wait.
>
Thanks for the quick response! Is there a way to get compile to run
syncrhonously? Or alternatively to get the "next-error" functionality
when using shell-command? The generation of my etags from my makefile
uses gcc to generate dependencies that are used as inputs to etags. I'd
like
to be able to use the "next-error" function when building etags in case I
have
a typo in a #include or something. So the function will either build and
load
the etags or bring me to the line with the error that prevented a complete
dependency list from being generated.
Thanks again...
David
_________________________________________________________________
MSN is giving away a trip to Vegas to see Elton John. Enter to win today.
http://msnconcertcontest.com?icid-nceltontagline
next prev parent reply other threads:[~2007-04-26 21:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 20:39 build-and-load-etags David L
2007-04-26 20:42 ` build-and-load-etags Eli Zaretskii
2007-04-26 21:06 ` David L [this message]
2007-04-27 8:16 ` build-and-load-etags Eli Zaretskii
2007-04-27 19:41 ` build-and-load-etags David L
2007-04-28 2:21 ` build-and-load-etags Tom Tromey
2007-04-28 8:03 ` build-and-load-etags Eli Zaretskii
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=BAY144-F2786F35152EC09D04563BD84480@phx.gbl \
--to=idht4n@hotmail.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.