Date: Sun, 23 Oct 2005 14:03:50 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: vittorio <vdemart1@tin.it> Cc: freebsd-questions@freebsd.org, netbsd-users@netbsd.org Subject: Re: Editor for C & C++ language Message-ID: <20051023110350.GA29565@flame.pc> In-Reply-To: <200510231252.12516.vdemart1@tin.it> References: <200510222207.20034.vdemart1@tin.it> <20051023003430.GB98548@flame.pc> <200510231252.12516.vdemart1@tin.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2005-10-23 12:52, vittorio <vdemart1@tin.it> wrote: > In my freebsd portable I have xemacs that is "sensitive" to many > environments (I use it for the statiscal program R and for pdflatex) > among which C++ . In fact the C++ program I edit triggers a C++ > menu and many options among which there are also debug and compile. > This latter unfortunately calls a "make -k" command while I'd like to > run "g++ prog.c -g -o prog" as usual. Could someone explain what > shoujld I do to modify xemacs as I want? This is probably an effect of the default value of ``compile-command''. What do you see if you type: M-: (list compile-command) RET should be ("make -k"). By customizing this variable, or setting it to a local value when C++ code is edited, you should be able to make the menu entry invoke any command you find more useful.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051023110350.GA29565>