[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Program development questions
From: |
Kai Großjohann |
Subject: |
Re: Program development questions |
Date: |
Mon, 02 Sep 2002 16:36:47 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
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)