[Top][All Lists]

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

Re: [h-e-w] Help with defadvice

From: Peter Lee
Subject: Re: [h-e-w] Help with defadvice
Date: Thu, 19 Jun 2003 10:31:27 -0500
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (windows-nt)

>>>> Ken Goldman writes:

    Ken> What I do on windows is go into MSDev once and export a
    Ken> makefile.  Then I can use 'make' from emacs just like I would
    Ken> compile any other source.

It's a pain to have to regen a makefile though whenever the project

I've been using the following:

(defun vc-build ()
  "Builds vc project"
  (let ((compilation-read-command nil))
    (compile "msdev d:/src/someproj/some.dsw /MAKE \"MyProj - Win32 Debug\"")))
(global-set-key [f7] 'vc-build)

I've been meaning to write some lisp to find the dsw based on my
current working dir and then parse that dsw for a list of
projects/configurations which would be shown in a completion buffer to
the command.

But I typically work with the same project for a few days at a time so
I've lazily just updated the above function to reflect what I'm
working on.

If I ever get around to actually doing the above I'll post the code
(ugly as it will be given my lisp abilities).

reply via email to

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