unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Compiling ...
@ 2005-10-04 20:32 SexyG
  2005-10-04 21:39 ` Compiling Kevin Rodgers
       [not found] ` <mailman.9748.1128462098.20277.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 3+ messages in thread
From: SexyG @ 2005-10-04 20:32 UTC (permalink / raw)


Hey guys,

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 ? 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 ...

Thanks a lot ...

-- 
Kiss

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

* Re: Compiling ...
  2005-10-04 20:32 Compiling SexyG
@ 2005-10-04 21:39 ` Kevin Rodgers
       [not found] ` <mailman.9748.1128462098.20277.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2005-10-04 21:39 UTC (permalink / raw)


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

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

* Re: Compiling ...
       [not found] ` <mailman.9748.1128462098.20277.help-gnu-emacs@gnu.org>
@ 2005-10-04 23:56   ` SexyG
  0 siblings, 0 replies; 3+ messages in thread
From: SexyG @ 2005-10-04 23:56 UTC (permalink / raw)


Kevin Rodgers wrote:
> SexyG wrote:
> [...]
> (setq shell-file-name "/usr/bin/zsh")
> 

Thank you so much !

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

end of thread, other threads:[~2005-10-04 23:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04 20:32 Compiling SexyG
2005-10-04 21:39 ` Compiling Kevin Rodgers
     [not found] ` <mailman.9748.1128462098.20277.help-gnu-emacs@gnu.org>
2005-10-04 23:56   ` Compiling SexyG

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).