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: Mon, 21 Oct 2002 00:05:13 +0200 Organization: Mivtach-Simon Insurance agencies Sender: emacs-devel-admin@gnu.org Message-ID: <200210202205.g9KM5DV9013463@beta.mvs.co.il> References: <200210200000.g9K00B5d021923@beta.mvs.co.il> <200210201952.g9KJqnx12700@rum.cs.yale.edu> 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 1035151481 32760 80.91.224.249 (20 Oct 2002 22:04:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:04:41 +0000 (UTC) Cc: rms@gnu.org, 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 183OBc-0008WE-00 for ; Mon, 21 Oct 2002 00:04:40 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 183P5C-0003yq-00 for ; Mon, 21 Oct 2002 01:02:06 +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 183OCB-0002Bg-00; Sun, 20 Oct 2002 18:05:15 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 183OBM-0001qS-00 for emacs-devel@gnu.org; Sun, 20 Oct 2002 18:04:24 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 183OBK-0001m1-00 for emacs-devel@gnu.org; Sun, 20 Oct 2002 18:04:23 -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 183OBH-0001kg-00; Sun, 20 Oct 2002 18:04:20 -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 g9KM4Dh12311; Mon, 21 Oct 2002 00:04:13 +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 g9KM5Ged013469; Mon, 21 Oct 2002 00:05:17 +0200 Original-Received: (from ehud@localhost) by beta.mvs.co.il (8.12.5/8.12.5/Submit) id g9KM5DV9013463; Mon, 21 Oct 2002 00:05:13 +0200 X-Authentication-Warning: beta.mvs.co.il: ehud set sender to ehud@unix.mvs.co.il using -f Original-To: monnier+gnu/emacs@rum.cs.yale.edu In-reply-to: <200210201952.g9KJqnx12700@rum.cs.yale.edu> (message from Stefan Monnier on Sun, 20 Oct 2002 15:52:49 -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:8601 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:8601 On Sun, 20 Oct 2002 15:52:49 -0400, Stefan Monnier wrote: > > > 4. An easy way to interact (send input to) with the compilation process > > (`compile-send-to-process'). > > > > This indeed is something important. > > > > It is sort of unfortunate that we have the conflict between two > > meanings we would like RET to have in the compilation buffer: "visit > > the source code for a particular error message", and "send a line of > > input". We have used it for the former ever since that convention > > existed in Emacs (several years ago), but would it be better to use > > it for the latter instead? > > We could probably let RET do something like > (if (eobp) (send-to-process) (goto-error)) That may work, but please note that there 2 functions - 1 sends the string with terminating new line, the other sends without the NL. 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