From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Ehud Karni" Newsgroups: gmane.emacs.devel Subject: Re: M-x compile for different file extensions Date: Sun, 20 Oct 2002 20:07:17 +0200 Organization: Mivtach-Simon Insurance agencies Sender: emacs-devel-admin@gnu.org Message-ID: <200210201807.g9KI7H02011888@beta.mvs.co.il> References: <200210200000.g9K00B5d021923@beta.mvs.co.il> Reply-To: ehud@unix.mvs.co.il NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-8 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035137384 30737 80.91.224.249 (20 Oct 2002 18:09:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 18:09:44 +0000 (UTC) Cc: wgh@askme.ok, henrik+news@enberg.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 183KWD-0007zU-00 for ; Sun, 20 Oct 2002 20:09:41 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 183LPi-0006Rs-00 for ; Sun, 20 Oct 2002 21:07:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 183KTv-0002RQ-00; Sun, 20 Oct 2002 14:07:19 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 183KTC-0000XE-00 for emacs-devel@gnu.org; Sun, 20 Oct 2002 14:06:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 183KTA-0000TZ-00 for emacs-devel@gnu.org; Sun, 20 Oct 2002 14:06:33 -0400 Original-Received: from unix.sw.co.il ([192.114.178.12] helo=unix.mvs.co.il) by monty-python.gnu.org with esmtp (Exim 4.10) id 183KT9-0000MK-00; Sun, 20 Oct 2002 14:06:31 -0400 Original-Received: from beta.mvs.co.il (beta [10.253.0.3]) by unix.mvs.co.il (8.11.6/8.11.6) with ESMTP id g9KI6Ih20750; Sun, 20 Oct 2002 20:06:18 +0200 Original-Received: from beta.mvs.co.il (localhost [127.0.0.1]) by beta.mvs.co.il (8.12.5/8.12.5) with ESMTP id g9KI7Ied011894; Sun, 20 Oct 2002 20:07:19 +0200 Original-Received: (from ehud@localhost) by beta.mvs.co.il (8.12.5/8.12.5/Submit) id g9KI7H02011888; Sun, 20 Oct 2002 20:07:17 +0200 X-Authentication-Warning: beta.mvs.co.il: ehud set sender to ehud@unix.mvs.co.il using -f Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Sun, 20 Oct 2002 12:59:39 -0400) X-Mailer: Emacs 21.2.91.3 rmail (send-msg 1.106) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:8596 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8596 On Sun, 20 Oct 2002 12:59:39 -0400, Richard Stallman wrote: > > The debugging feature could make sense, but why isn't `make -k' a good > default regardless of the kind of file? In other words, why isn't > "You should write a proper makefile" a good solution for this? 1. There are many independent (small) programs which are not part of a big project and so there is no need for make file. 2. We use the compile command on many type of files which are not real "programs" - shell scripts (run with arguments), sql queries, reports (printed by the `compile') and many, many others. 3. This makes it more easy to have a standard policy regarding saving places for "compilation" output. For example we have some local tool that work on *.pns files, our tool convert it to .pnl our defined > 5. Run some commands with interactive input to them (when needed) in a > compilation window, with an option to kill the compilation buffer. > (`compile-commands', read the help carefully). > > Why is this better than using a single shell command string, with `;' > and `sleep N' used as needed between the individual shell commands? This is really used for programs that use /dev/tty (and not standard input), for security (programs that need pass words) or dynamic answers. It also has the added advantage of running multiple processes, each with its own buffer and different name automatically. Ehud. -- Ehud Karni Tel: +972-3-7966-561 /"\ Mivtach - Simon Fax: +972-3-7966-667 \ / ASCII Ribbon Campaign Insurance agencies (USA) voice mail and X Against HTML Mail http://www.mvs.co.il FAX: 1-815-5509341 / \ mailto:ehud@unix.mvs.co.il Better Safe Than Sorry