← Back to team overview

sslug-teknik team mailing list archive

Spørgsmål til emacs og compile mode

 

Hejsa 

Når man sidder med et autotools projekt så kan man have forskellige
configurationer i forskellige biblioteker. Det er også meget godt, men kan
man angive overfor emacs, når man bruger "compile" at den skal finde src
filerne fra fejlmeddelelserne i *compilation* vinduet et andet sted end
det katalog hvor oversættelsen fandt sted?

Altså, jeg redigerer
ged/src/main.cc

Jeg vil gerne oversætte i 
ged/config1/

(det kan jeg ved at lave min compile kommando om)

Og, når der er fejl og jeg klikker på dem, skal emacs åbne
ged/src/main.cc

Hvordan gør man lige det?

Mads

-- 
Mads Bondo Dydensborg.                               madsdyd@xxxxxxxxxxxx
The point is to decide what your needs are, pick an editor that looks like
it may fit them and then MASTER it. Learn every little nuance and key
stroke. Not just the easy stuff you pick up in an hour or two but especially
the obscure stuff. Learn it so well that your mind can stay about two steps
ahead of hands even when using the arcane commands and keystrokes. Then you
can edit in front of crowds and people will ohh and awe. Source code will
fear you. Project managers will want you. 
                                        - Dana S. Wheeler, M.D. on emacs/vi