all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* M-x compile
@ 2003-02-07 16:28 Glenn Hancock
  2003-02-07 16:43 ` Alfred M. Szmidt
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Glenn Hancock @ 2003-02-07 16:28 UTC (permalink / raw)


Is there a quicker way to execute the compile process than to have to hit 
Alt X and then manually type out the word compile?

Thanks,

glenn

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

* Re: M-x compile
  2003-02-07 16:28 M-x compile Glenn Hancock
@ 2003-02-07 16:43 ` Alfred M. Szmidt
  2003-02-07 16:51 ` Alfred M. Szmidt
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Alfred M. Szmidt @ 2003-02-07 16:43 UTC (permalink / raw)
  Cc: help-gnu-emacs

   Is there a quicker way to execute the compile process than to have
   to hit Alt X and then manually type out the word compile?

Sure, bind compile to some nice key-binding.  This is what I often
use: (define-key global-map "\C-xc" 'compile)

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

* Re: M-x compile
  2003-02-07 16:28 M-x compile Glenn Hancock
  2003-02-07 16:43 ` Alfred M. Szmidt
@ 2003-02-07 16:51 ` Alfred M. Szmidt
  2003-02-07 17:13 ` Eli Zaretskii
  2003-02-07 17:47 ` Glenn Hancock
  3 siblings, 0 replies; 8+ messages in thread
From: Alfred M. Szmidt @ 2003-02-07 16:51 UTC (permalink / raw)


Please fix you From/Reply-to header to point to a valid email address.

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

* Re: M-x compile
  2003-02-07 16:28 M-x compile Glenn Hancock
  2003-02-07 16:43 ` Alfred M. Szmidt
  2003-02-07 16:51 ` Alfred M. Szmidt
@ 2003-02-07 17:13 ` Eli Zaretskii
  2003-02-08 15:54   ` Tiarnan O Corrain
       [not found]   ` <mailman.1674.1044719721.21513.help-gnu-emacs@gnu.org>
  2003-02-07 17:47 ` Glenn Hancock
  3 siblings, 2 replies; 8+ messages in thread
From: Eli Zaretskii @ 2003-02-07 17:13 UTC (permalink / raw)


> From: Glenn Hancock <ghancock@localhost.localdomain>
> Newsgroups: gnu.emacs.help
> Date: Fri, 07 Feb 2003 11:28:53 -0500
> 
> Is there a quicker way to execute the compile process than to have to hit 
> Alt X and then manually type out the word compile?

Of course, there is: this is Emacs!

It goes like this:

  - first time you compile, type "M-x compile RET" and then type the
    compilation command

  - second time you compile, type "M-x recompile RET"

  - thereafter, "M-x" followed by enough up-arrow keys to get to the
    "recompile" command will do

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

* Re: M-x compile
  2003-02-07 16:28 M-x compile Glenn Hancock
                   ` (2 preceding siblings ...)
  2003-02-07 17:13 ` Eli Zaretskii
@ 2003-02-07 17:47 ` Glenn Hancock
  3 siblings, 0 replies; 8+ messages in thread
From: Glenn Hancock @ 2003-02-07 17:47 UTC (permalink / raw)


Thanks for the help.  Couldn't figure out the key binding but the recompile 
thing was very helpful.  Didn't even know I could do that at all nor did I 
realize I could arrow up for command history.

Thanks a lot...

Glenn Hancock wrote:

> Is there a quicker way to execute the compile process than to have to hit
> Alt X and then manually type out the word compile?
> 
> Thanks,
> 
> glenn

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

* Re: M-x compile
  2003-02-07 17:13 ` Eli Zaretskii
@ 2003-02-08 15:54   ` Tiarnan O Corrain
       [not found]   ` <mailman.1674.1044719721.21513.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 8+ messages in thread
From: Tiarnan O Corrain @ 2003-02-08 15:54 UTC (permalink / raw)


Apropos M-x compile -- is there any way to set environment variables that may 
be needed by Makefiles when M-x compile runs make: e.g. DEVROOT or cognates?

Cheers

Tiarnan

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

* Re: M-x compile
       [not found]   ` <mailman.1674.1044719721.21513.help-gnu-emacs@gnu.org>
@ 2003-02-08 19:00     ` Christopher J. White
  2003-02-09 13:09       ` Daniel Pfeiffer
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher J. White @ 2003-02-08 19:00 UTC (permalink / raw)


>>>>> "tiarnan" == Tiarnan O Corrain <tiarnan.ocorrain@logicacmg.com> writes:

tiarnan> Apropos M-x compile -- is there any way to set environment
tiarnan> variables that may be needed by Makefiles when M-x compile
tiarnan> runs make: e.g. DEVROOT or cognates?

The current env in emacs is passed on to the compile process.
So, just M-x setenv DEVROOT or put it in your .emacs.  If you
need a different environment for different buffers, it's 
a bit more ugly.

...cj

-- 
------------------------------------------------------------------------------
 Christopher J. White                                    chris@grierwhite.com
------------------------------------------------------------------------------ 

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

* Re: M-x compile
  2003-02-08 19:00     ` Christopher J. White
@ 2003-02-09 13:09       ` Daniel Pfeiffer
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Pfeiffer @ 2003-02-09 13:09 UTC (permalink / raw)


chris@grierwhite.com (Christopher J. White) skribis:
> >>>>> "tiarnan" == Tiarnan O Corrain <tiarnan.ocorrain@logicacmg.com> writes:
> 
> tiarnan> Apropos M-x compile -- is there any way to set environment
> tiarnan> variables that may be needed by Makefiles when M-x compile
> tiarnan> runs make: e.g. DEVROOT or cognates?
> 
> The current env in emacs is passed on to the compile process.
> So, just M-x setenv DEVROOT or put it in your .emacs.  If you
> need a different environment for different buffers, it's 
> a bit more ugly.

You can put them in your compile command like:

ENVVAR=xyz make

and/or

make OVERRIDEVAR=xyz

coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer

-- GPL 3: take the wind out of Palladium's sails! --
 ------
  -- My other stuff here too, sawfish, make.pl...: --
   ------
    -- http://dapfy.bei.t-online.de/ --

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

end of thread, other threads:[~2003-02-09 13:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-07 16:28 M-x compile Glenn Hancock
2003-02-07 16:43 ` Alfred M. Szmidt
2003-02-07 16:51 ` Alfred M. Szmidt
2003-02-07 17:13 ` Eli Zaretskii
2003-02-08 15:54   ` Tiarnan O Corrain
     [not found]   ` <mailman.1674.1044719721.21513.help-gnu-emacs@gnu.org>
2003-02-08 19:00     ` Christopher J. White
2003-02-09 13:09       ` Daniel Pfeiffer
2003-02-07 17:47 ` Glenn Hancock

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.