all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* cc-mode + compilation
@ 2007-07-28 10:52 David Trallero
  2007-07-28 12:24 ` Hadron
  2007-08-22 11:12 ` pzehnder
  0 siblings, 2 replies; 7+ messages in thread
From: David Trallero @ 2007-07-28 10:52 UTC (permalink / raw)
  To: help-gnu-emacs

I would appreciate if there is a way in which I could compile my "C"
project (just execute a make) without care about the directory or file I
am editing. For example, if my project is in ~/my_projects/prjA/ and I
am editing /tmp/foo.txt, I would like to make something like: M-x
(re)compile-prj and execute a simple make.

I tried M-x compile and then to write as command: cd ~/my_projects/prjA
; make, but seems emacs is not always able to locate correctly the error
and warning messages (this is something I tried time ago and I do not
remember in which cases it did not work fine).

Is there also any emacs-package that use speed-bar to present the
"project" files (I assume there must be an interface to add and delete
files from the "project")?

Thanks a lot,
David

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cc-mode + compilation
  2007-07-28 10:52 cc-mode + compilation David Trallero
@ 2007-07-28 12:24 ` Hadron
  2007-07-28 18:37   ` David Trallero
  2007-08-22 11:12 ` pzehnder
  1 sibling, 1 reply; 7+ messages in thread
From: Hadron @ 2007-07-28 12:24 UTC (permalink / raw)
  To: help-gnu-emacs

David Trallero <ditiem@gmail.com> writes:

> I would appreciate if there is a way in which I could compile my "C"
> project (just execute a make) without care about the directory or file I
> am editing. For example, if my project is in ~/my_projects/prjA/ and I
> am editing /tmp/foo.txt, I would like to make something like: M-x
> (re)compile-prj and execute a simple make.
>
> I tried M-x compile and then to write as command: cd ~/my_projects/prjA
> ; make, but seems emacs is not always able to locate correctly the error
> and warning messages (this is something I tried time ago and I do not
> remember in which cases it did not work fine).
>
> Is there also any emacs-package that use speed-bar to present the
> "project" files (I assume there must be an interface to add and delete
> files from the "project")?
>
> Thanks a lot,
> David

try cedet and ecb

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cc-mode + compilation
  2007-07-28 12:24 ` Hadron
@ 2007-07-28 18:37   ` David Trallero
  2007-07-29 12:18     ` Hadron
  0 siblings, 1 reply; 7+ messages in thread
From: David Trallero @ 2007-07-28 18:37 UTC (permalink / raw)
  To: help-gnu-emacs

Hadron wrote:
> try cedet and ecb

It seems fantastic, but It does not work properly on my emacs 22.1.1 :(.
I will keep and eye on it to see if newer version support them.

Thanks a lot for letting me know about this projects, I was looking for
something like that for years!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cc-mode + compilation
  2007-07-28 18:37   ` David Trallero
@ 2007-07-29 12:18     ` Hadron
  2007-07-30  9:04       ` David Trallero
  0 siblings, 1 reply; 7+ messages in thread
From: Hadron @ 2007-07-29 12:18 UTC (permalink / raw)
  To: help-gnu-emacs

David Trallero <ditiem@gmail.com> writes:

> Hadron wrote:
>> try cedet and ecb
>
> It seems fantastic, but It does not work properly on my emacs 22.1.1 :(.
> I will keep and eye on it to see if newer version support them.
>
> Thanks a lot for letting me know about this projects, I was looking for
> something like that for years!

What didnt work? Did you "make" it properly?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cc-mode + compilation
  2007-07-29 12:18     ` Hadron
@ 2007-07-30  9:04       ` David Trallero
  2007-07-30 11:50         ` Hadron
  0 siblings, 1 reply; 7+ messages in thread
From: David Trallero @ 2007-07-30  9:04 UTC (permalink / raw)
  To: help-gnu-emacs

Hadron wrote:

> What didnt work? Did you "make" it properly?

Well, I think I did. I got several warnings about variables not defined
and so on, but it "compiled". I am not able to get all the
functionality, but the most important are:

- When I do try to see a "button", for example in "M-x customize-face"
or "M-x customize-variable" the buttons DO NOT APPEAR.

- Emacs keep telling me an error about an "overlay" (dont remember the
name, maybe move-overlay) and about a function that do not exists every
5 seconds or so, but the worse, it consumes a lot of CPU!. If you want a
detailed information I can enable it again (compiling from beginning
again) and send you a detailed list of all errors.

Thanks

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cc-mode + compilation
  2007-07-30  9:04       ` David Trallero
@ 2007-07-30 11:50         ` Hadron
  0 siblings, 0 replies; 7+ messages in thread
From: Hadron @ 2007-07-30 11:50 UTC (permalink / raw)
  To: help-gnu-emacs

David Trallero <ditiem@gmail.com> writes:

> Hadron wrote:
>
>> What didnt work? Did you "make" it properly?
>
> Well, I think I did. I got several warnings about variables not defined
> and so on, but it "compiled". I am not able to get all the
> functionality, but the most important are:
>
> - When I do try to see a "button", for example in "M-x customize-face"
> or "M-x customize-variable" the buttons DO NOT APPEAR.
>
> - Emacs keep telling me an error about an "overlay" (dont remember the
> name, maybe move-overlay) and about a function that do not exists every
> 5 seconds or so, but the worse, it consumes a lot of CPU!. If you want a
> detailed information I can enable it again (compiling from beginning
> again) and send you a detailed list of all errors.
>
> Thanks


Do you have nxhtml installed?

But do post the errors - someone will be able to help.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: cc-mode + compilation
  2007-07-28 10:52 cc-mode + compilation David Trallero
  2007-07-28 12:24 ` Hadron
@ 2007-08-22 11:12 ` pzehnder
  1 sibling, 0 replies; 7+ messages in thread
From: pzehnder @ 2007-08-22 11:12 UTC (permalink / raw)
  To: help-gnu-emacs

On Jul 28, 12:52 pm, David Trallero <dit...@gmail.com> wrote:
> I would appreciate if there is a way in which I could compile my "C"
> project (just execute a make) without care about the directory or file I
> am editing. For example, if my project is in ~/my_projects/prjA/ and I
> am editing /tmp/foo.txt, I would like to make something like: M-x
> (re)compile-prj and execute a simple make.
>
> I tried M-x compile and then to write as command: cd ~/my_projects/prjA
> ; make, but seems emacs is not always able to locate correctly the error
> and warning messages (this is something I tried time ago and I do not
> remember in which cases it did not work fine).
>
> Is there also any emacs-package that use speed-bar to present the
> "project" files (I assume there must be an interface to add and delete
> files from the "project")?
>
> Thanks a lot,
> David

Try this:

make -C ~/my_projects/prjA

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-08-22 11:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-28 10:52 cc-mode + compilation David Trallero
2007-07-28 12:24 ` Hadron
2007-07-28 18:37   ` David Trallero
2007-07-29 12:18     ` Hadron
2007-07-30  9:04       ` David Trallero
2007-07-30 11:50         ` Hadron
2007-08-22 11:12 ` pzehnder

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.