help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No automatic tabs in Emacs?


From: Mario Lassnig
Subject: Re: No automatic tabs in Emacs?
Date: Mon, 06 Dec 2010 11:41:13 +0100
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 12/6/10 11:24 AM, Miles Bader wrote:
I'm confused; are you implying that CEDET's project-management is
somehow hard to use or figure out?  Have you used it?

I've been trying to figure out the following workflow with CEDET,
but ultimately I had to give up, due to me not having days to figure
it out... The workflow is as follows:

I have a directory structure like so:

project/
   /src/
       /subdir1/
                a.cpp
                a.h
       /subdir1/
                b.cpp
                b.h
       main.cpp
   /build/
          ...
   /docs/
         ...
   /externals/
              externalA/
                        includes
              externalB/
                        includes
   Makefile



Now, the only thing I want is that when I open a file in the src/
directories, to have emacs know about the includes from the
externals and the other src directories, and if i save any
file to execute the makefile from the top directory.

"How hard can that be?" I thought... emacs only needs to know about
the includes directory to get the cedet fun stuff enabled, and
a save-hook for the makefile. Figures, I've been completely unable
to even parse the documentation to find out where to start on how
to configure this.

Do I have to place a special configuration file in the project main?
Do I have to place some configuration lines in a file?
Do I have to set something in my .emacs?

And if yes on any of this, how?

In fact, I think if someone knows how to do this very very very simple
thing of a workflow, and makes a "I'm a dummy" tutorial for this,
(including on how to enable cedet in .emacs!) then I guess thousands
of developers would be very very very happy.

Peace out :)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]