From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: grischka Newsgroups: gmane.emacs.help Subject: How to pass parameters to compile ? And how to use CScope like features ? Date: Sat, 29 Nov 2008 20:42:43 +0100 Message-ID: <49319B33.1010900@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227987957 17651 80.91.229.12 (29 Nov 2008 19:45:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Nov 2008 19:45:57 +0000 (UTC) To: christiano.fh@gmail.com, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Nov 29 20:47:00 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6VmJ-0003ct-RW for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 20:46:56 +0100 Original-Received: from localhost ([127.0.0.1]:54447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6VlA-0000nh-35 for geh-help-gnu-emacs@m.gmane.org; Sat, 29 Nov 2008 14:45:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6VjV-0000Pz-E4 for help-gnu-emacs@gnu.org; Sat, 29 Nov 2008 14:44:01 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6VjT-0000Oa-U4 for help-gnu-emacs@gnu.org; Sat, 29 Nov 2008 14:44:00 -0500 Original-Received: from [199.232.76.173] (port=59219 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6VjT-0000OO-KZ for help-gnu-emacs@gnu.org; Sat, 29 Nov 2008 14:43:59 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]:47180) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1L6VjT-0007pL-2S for help-gnu-emacs@gnu.org; Sat, 29 Nov 2008 14:43:59 -0500 Original-Received: (qmail invoked by alias); 29 Nov 2008 19:43:56 -0000 Original-Received: from 1Cust245.tnt5.ber2.deu.da.uu.net (EHLO [149.225.86.245]) [149.225.86.245] by mail.gmx.net (mp019) with SMTP; 29 Nov 2008 20:43:56 +0100 X-Authenticated: #18588216 X-Provags-ID: V01U2FsdGVkX1/S1HRWiybSwMA2k/HHyWn6EgfGj7VjYOayQLajN6 cO6R9+Kmyrp4sU User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) Original-References: 767a01f1-dfad-4e08-bdd5-50e3cb9c80b6@l42g2000yqe.googlegroups.com X-Y-GMX-Trusted: 0 X-FuHaFi: 0.65 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60237 Archived-At: Christiano Farina Haesbaert wrote: > I often want to do the following but I don't know how. > 1 ) I would like to have a keystroke for compiling the same directory > (project), without having to type it. eproject is made for you: http://tromey.com/elpa/eproject-0.1.tar at http://tromey.com/elpa/ You have a per-project menu that you can edit on the fly to add commands and (optionally) keystrokes. Everything is loaded and saved automatically and you can switch between project with two keystrokes as if you were just switching to another buffer. Here is for example (part of) my "emacs" project-menu: make (f9) : -in src make clean (C-f9) : rm -vf src/emacs-23.* etc/DOC* && make clean stop (C-f8) : -e kill-compilation run (f8) : src/emacs --- configure : ./configure install : echo root-pass | sudo -S make install