comp.lang.ada
 help / color / mirror / Atom feed
* Re: Combining Rational VADS and Emacs
  1999-10-29  0:00 Combining Rational VADS and Emacs Jon Klaff
  1999-10-29  0:00 ` Kai Gro�johann
@ 1999-10-29  0:00 ` Ted Dennison
  1999-11-03  0:00 ` Stephen Leake
  2 siblings, 0 replies; 4+ messages in thread
From: Ted Dennison @ 1999-10-29  0:00 UTC (permalink / raw)


In article <381959FE.886DFC86@rdel.co.uk>,
  Jon Klaff <Jon.Klaff@rrds.co.uk> wrote:
> I am currently using the Rational VADS compiler
> and trying to get EMACS to work with it. I do not
> have the first clue where to start though.

> I have had a lot of experience using Emacs, but
> not much in customizing it!

You should probably be looking to customize the Ada-mode, which is
found in a file called "ada-mode.el" in the lisp directory. This is
really an emacs question, not an Ada question. Documentation for gnu
software like emacs is available online at
http://www.gnu.org/manual/manual.html . You'll probably find it very
tough going if you haven't had any exposure to Lisp in the past.

--
T.E.D.


Sent via Deja.com http://www.deja.com/
Before you buy.




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

* Re: Combining Rational VADS and Emacs
  1999-10-29  0:00 Combining Rational VADS and Emacs Jon Klaff
@ 1999-10-29  0:00 ` Kai Gro�johann
  1999-10-29  0:00 ` Ted Dennison
  1999-11-03  0:00 ` Stephen Leake
  2 siblings, 0 replies; 4+ messages in thread
From: Kai Gro�johann @ 1999-10-29  0:00 UTC (permalink / raw)


Jon Klaff <Jon.Klaff@rrds.co.uk> writes:

> I currently do this via an xterm away from emacs.
> I would like to be able to do it from within
> Emacs, even down to a basic compilation of a
> single file level.

You can type M-x compile RET, then enter any shell command.  If you
can do it with a shell command from within xterm, you should be able
to do it with a shell command in M-x compile RET.

Maybe you need to print appropriate `entering directory' and `leaving
directory' messages, as well.  See the variables
compilation-enter-directory-regexp-alist and
compilation-leave-directory-regexp-alist for details.

kai
-- 
Life is hard and then you die.




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

* Combining Rational VADS and Emacs
@ 1999-10-29  0:00 Jon Klaff
  1999-10-29  0:00 ` Kai Gro�johann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jon Klaff @ 1999-10-29  0:00 UTC (permalink / raw)


I am currently using the Rational VADS compiler
and trying to get EMACS to work with it. I do not
have the first clue where to start though. 
My main desire is to do the following:

We have a directory structure as follows;

Project
   Sub-module
      Edited Files
      Source Files

The ideology is that a file is edited in the
Edited Files directory and then moved into the
Source Files directory for compilation. A makefile
exists in the Sub-module directory in order to
make the sub-module (and one in the Project
directory to do the entire project). I would like
to be able to automatically copy files from the
edited files directory into the source files
directory, move up a directory and run the make
command from there.

I currently do this via an xterm away from emacs.
I would like to be able to do it from within
Emacs, even down to a basic compilation of a
single file level.

I have had a lot of experience using Emacs, but
not much in customizing it!


Any help will be greatly appreciated.
-- 
Jonathan Klaff
Software Engineer
Racal Defence Electronics
Radar and Electronic Warfare Division
Manor Royal, Crawley, West Sussex, RH10 2PZ
Tel : 01293 645137
E-mail: Jon.Klaff@rdel.co.uk




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

* Re: Combining Rational VADS and Emacs
  1999-10-29  0:00 Combining Rational VADS and Emacs Jon Klaff
  1999-10-29  0:00 ` Kai Gro�johann
  1999-10-29  0:00 ` Ted Dennison
@ 1999-11-03  0:00 ` Stephen Leake
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Leake @ 1999-11-03  0:00 UTC (permalink / raw)


Jon Klaff <Jon.Klaff@rrds.co.uk> writes:

> We have a directory structure as follows;
> 
> Project
>    Sub-module
>       Edited Files
>       Source Files
> 
> The ideology is that a file is edited in the
> Edited Files directory and then moved into the
> Source Files directory for compilation.

This seems like it will be extremely error-prone. You'll either forget
to copy the edited file (hence your request for a tool), or you'll
start editing in the Source directory.

I suggest you leave the source code in one directory, and use CVS to
manage the version history. See www.cyclic.com for the current CVS
distribution. 

> A makefile
> exists in the Sub-module directory in order to
> make the sub-module (and one in the Project
> directory to do the entire project). I would like
> to be able to automatically copy files from the
> edited files directory into the source files
> directory, move up a directory and run the make
> command from there.

You can easily run make from emacs; see the emacs help on 'compile'.

> and trying to get EMACS to work with it. I do not
> have the first clue where to start though. 

See the general Emacs web site:

http://www.gnu.org/software/emacs/emacs.html

there are lots of sources of information on how to use emacs.

-- Stephe




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

end of thread, other threads:[~1999-11-03  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-29  0:00 Combining Rational VADS and Emacs Jon Klaff
1999-10-29  0:00 ` Kai Gro�johann
1999-10-29  0:00 ` Ted Dennison
1999-11-03  0:00 ` Stephen Leake

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox