From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Wiesner Newsgroups: gmane.emacs.devel Subject: Re: compile mode and $EMACS Date: Sun, 11 Aug 2013 14:42:55 +0200 Message-ID: References: <87a9kommx9.fsf@informatimago.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1376224979 19860 80.91.229.3 (11 Aug 2013 12:42:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Aug 2013 12:42:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Pascal J. Bourguignon" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 11 14:43:02 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V8Uz7-0001aJ-Sf for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2013 14:43:02 +0200 Original-Received: from localhost ([::1]:45038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8Uz7-0005c4-HL for ged-emacs-devel@m.gmane.org; Sun, 11 Aug 2013 08:43:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8Uz3-0005Yr-Hu for emacs-devel@gnu.org; Sun, 11 Aug 2013 08:42:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8Uz2-0008Qo-KA for emacs-devel@gnu.org; Sun, 11 Aug 2013 08:42:57 -0400 Original-Received: from mail-qc0-x230.google.com ([2607:f8b0:400d:c01::230]:48780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8Uz2-0008Qf-Gd for emacs-devel@gnu.org; Sun, 11 Aug 2013 08:42:56 -0400 Original-Received: by mail-qc0-f176.google.com with SMTP id u12so2952043qcx.35 for ; Sun, 11 Aug 2013 05:42:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=dhOEGjxdHzVPtAu4+B5rebCx9vZX9uJ+tTkVPt9LN5w=; b=AcepoEVdtet18Z/4d4Bbo2q2ZZkm5l1NfKV29R2wahsjz13W2cIrd0d3uOqeTeyRVo 6Ak6u1RIptRy5o4u+YFAKqBaEofJB400RvgN1rULBH5wSwYFyWE/Qg+7yDY/DBLWRALx +CIUSPbqQb8twCFl1dr0ue34qArs9F/Dj/G79TodOOygs0nN7j/3TRqxG9yx9nG83Q8O Ud6mz0rYPOaYdWwspVwrRBiDMzR0aTuNmPJu86tw9NDD2EOnLxsUqflzWV/UVm64b5Tr qw8UbXIK7rB0dmZVQOhoeMPQ1XwI1NT+DYNLsSTqTa6VWSWYhbotHmLiQsR15HnpN1fh S9wg== X-Received: by 10.49.37.4 with SMTP id u4mr9424669qej.87.1376224975986; Sun, 11 Aug 2013 05:42:55 -0700 (PDT) Original-Received: by 10.224.21.136 with HTTP; Sun, 11 Aug 2013 05:42:55 -0700 (PDT) In-Reply-To: <87a9kommx9.fsf@informatimago.com> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c01::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:162566 Archived-At: 2013/8/11 Pascal J. Bourguignon : > Sebastian Wiesner writes: > >> Hello, >> >> I just discovered that compile mode adds "EMACS=3Dt" to the process >> environment (see "compilation-start"). >> >> [=E2=80=A6] How is it supposed to be interpreted by the invoked program?= [=E2=80=A6] > > Some compilers may have different error message output formats depending > on whether they're run INSIDE_EMACS or not. Which ones? Can you name *concrete* examples? > For example, ant has the -e option to output emacs friendly formatted > error messages. Yes, uhm, that's an explicit option to enable Emacs-friendly formatting. Many tools have those. But I see no $EMACS variable involved here=E2=80=A6