help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Compiling ...


From: Kevin Rodgers
Subject: Re: Compiling ...
Date: Tue, 04 Oct 2005 15:39:12 -0600
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

SexyG wrote:
> I'm a bit new to emacs ... and I'd love to use it to compile my C
> programs ... using M-x compile (and maybe adding a keyboard shortcut a
> bit later ...)
> But I have a problem ... I'd like to know which is the shell that is
> used for this command ?

C-h v shell-file-name

> because ... where I work, tcsh is by default so
> I put an 'exec zsh' line in .mytcshrc but everytime I try compiling with
> Emacs, it seems that it also opens a tcsh and execs a zsh (because I
> also added a 'w' line in my .mytcshrc to see who is on my machine, and
> in Emacs the result of the 'w' appears so I guess it must have launched
> a tcsh and executed the line) ... and it screws up the compilation
> buffer ... I hope I'm being clear enough ...

(setq shell-file-name "/usr/bin/zsh")

--
Kevin Rodgers





reply via email to

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