unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* NEWBIE: different compile-commands for different fiel types (cc, xml)
@ 2004-10-28 14:04 Johannes Kastl
  2004-10-28 16:54 ` Kevin Rodgers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Johannes Kastl @ 2004-10-28 14:04 UTC (permalink / raw)


Hello everyone,
Im kind of a newbie to emacs, or more to configuration emacs. I have 
been using emacs for quite some time, and now I need to setup the 
compile-command.
The background is that I am compiling .cc files, and also .xml files 
at the moment. And I am proud that I got it working to specify my 
own complie-command in the settings. But it is only one, for the 
other filetype I have to change it everytime, which is "kind of 
uncomfortable". So, is there a way to set the compile-command to 
"make whatever" for .cc files and to "make anotherthing" for .xml files?
Adding local variables in xml files dont work for me, since it 
doesnt compile afterwards, cos the source code contains "non-xml" text.

Has anybody got an idea how to solve this, or is this just not 
possible with my emacs?

Thanks in advance,

Johannes

P.S. I am running emacs on a suse 8.2 linux, emacs is GNU Emacs 
21.2.1 (i586-suse-linux).

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

end of thread, other threads:[~2004-11-07 17:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 14:04 NEWBIE: different compile-commands for different fiel types (cc, xml) Johannes Kastl
2004-10-28 16:54 ` Kevin Rodgers
2004-10-31 21:58 ` Kai Grossjohann
     [not found] ` <mailman.6438.1099256981.2017.help-gnu-emacs@gnu.org>
2004-11-07 17:10   ` Johannes Kastl

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