From owner-freebsd-questions@FreeBSD.ORG Sun Oct 23 11:05:28 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E2E416A41F for ; Sun, 23 Oct 2005 11:05:28 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id D63CD43D46 for ; Sun, 23 Oct 2005 11:05:26 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) by aiolos.otenet.gr (8.13.4/8.13.4/Debian-1) with SMTP id j9NB5PkM021512; Sun, 23 Oct 2005 14:05:25 +0300 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id j9NB3pGf029641; Sun, 23 Oct 2005 14:03:51 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id j9NB3o9m029640; Sun, 23 Oct 2005 14:03:50 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sun, 23 Oct 2005 14:03:50 +0300 From: Giorgos Keramidas To: vittorio Message-ID: <20051023110350.GA29565@flame.pc> References: <200510222207.20034.vdemart1@tin.it> <20051023003430.GB98548@flame.pc> <200510231252.12516.vdemart1@tin.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200510231252.12516.vdemart1@tin.it> Cc: freebsd-questions@freebsd.org, netbsd-users@netbsd.org Subject: Re: Editor for C & C++ language X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2005 11:05:28 -0000 On 2005-10-23 12:52, vittorio 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.