* Program development questions
@ 2002-09-01 22:03 Caj Zell
2002-09-02 14:36 ` Kai Großjohann
0 siblings, 1 reply; 2+ messages in thread
From: Caj Zell @ 2002-09-01 22:03 UTC (permalink / raw)
Hi,
I want to ask three (probably simple) questions in connections with c
programming in emacs. (I have tried to find answers in faq's, etc.)
1. I have a Makefile in a top directory and under it other
directories, where one is a source directory in which I am often
editing files. When I want to compile the software, I want to run the
mentioned Makefile in the above directory from emacs, but the "current
directory" has no Makefile so I get "no target with so-and-so name".
Is there a simple way of letting emacs know it should compile like
from the above directory.
2. Running etags and then M-., I come to the definition of a function,
variable, etc. But, if I want to find several other places where the
specific function is called, and not just the definition, how can I do
that?
3. Is there a general consensus as to which package to use for code
browsing under emacs? Is "ecb" the most used?
Caj Zell
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Program development questions
2002-09-01 22:03 Program development questions Caj Zell
@ 2002-09-02 14:36 ` Kai Großjohann
0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2002-09-02 14:36 UTC (permalink / raw)
cajzell@hotmail.com (Caj Zell) writes:
> 1. I have a Makefile in a top directory and under it other
> directories, where one is a source directory in which I am often
> editing files. When I want to compile the software, I want to run the
> mentioned Makefile in the above directory from emacs, but the "current
> directory" has no Makefile so I get "no target with so-and-so name".
> Is there a simple way of letting emacs know it should compile like
> from the above directory.
You could set compile-command to something like:
cd /top/level/directory && make
> 2. Running etags and then M-., I come to the definition of a function,
> variable, etc. But, if I want to find several other places where the
> specific function is called, and not just the definition, how can I do
> that?
M-0 M-. finds further tags.
M-x tags-search RET finds places which aren't definitions.
> 3. Is there a general consensus as to which package to use for code
> browsing under emacs? Is "ecb" the most used?
Maybe speedbar is used more often because it comes with Emacs. I
haven't used ECB. It might well be better.
kai
--
A large number of young women don't trust men with beards. (BFBS Radio)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-02 14:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-01 22:03 Program development questions Caj Zell
2002-09-02 14:36 ` Kai Großjohann
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.