From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Sami Kerola Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Flymake support for C/C++ Date: Sat, 14 Oct 2017 08:58:58 +0100 Message-ID: References: <87zi8wmmhw.fsf@gmail.com> Reply-To: kerolasa@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1507968163 27346 195.159.176.226 (14 Oct 2017 08:02:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Oct 2017 08:02:43 +0000 (UTC) Cc: Richard Stallman , Noam Postavsky , emacs-devel@gnu.org, =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Alan Mackenzie , Eli Zaretskii , sdl.web@gmail.com, Stefan Monnier To: Reuben Thomas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 14 10:02:37 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3HP1-00066c-W7 for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2017 10:02:36 +0200 Original-Received: from localhost ([::1]:53125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3HP9-0006uL-Hq for ged-emacs-devel@m.gmane.org; Sat, 14 Oct 2017 04:02:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3HLd-00063F-8t for emacs-devel@gnu.org; Sat, 14 Oct 2017 03:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3HLc-0007bv-D0 for emacs-devel@gnu.org; Sat, 14 Oct 2017 03:59:05 -0400 Original-Received: from mail-io0-x244.google.com ([2607:f8b0:4001:c06::244]:51504) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3HLa-0007XV-AL; Sat, 14 Oct 2017 03:59:02 -0400 Original-Received: by mail-io0-x244.google.com with SMTP id b186so11234550iof.8; Sat, 14 Oct 2017 00:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:sender:in-reply-to:references:from:date :message-id:subject:to:cc; bh=EMdyCsmZgiY/wWDqzQOIYvMyIOyCAHIxukc0oPfQKeI=; b=ctBs92uTcQ2vOEU5saCp1LCnSx9BkqoCeQkkRzOJqR5g9g7E75WWAs+T6BW6ZisOLZ hJw6rLp93CSEbv1ItVmFLUL5MqiMq0giiPbu+8zKALLDiKKH+evEvNO1RsYCpgFeMxdX rR8UGKb+iiMICjoC6Z606s7F7iBN6HJoanwyDI+rDL49pmytAEPH5yEKJDZA/Noj3wzB YnMfKsJ9n5/2bkPUB1qL7frF3+XanaTuAmRLm7jzoBCpLGRML+nau5gBjX4hw0OsH8C/ eIlSR/9SzodToO4IwesFOJ4gatWyx5cAp+cTn2VJP84ce36T9ZMDfylleOaNqGkm0lqB 8Zcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:sender:in-reply-to :references:from:date:message-id:subject:to:cc; bh=EMdyCsmZgiY/wWDqzQOIYvMyIOyCAHIxukc0oPfQKeI=; b=NcYzVRg2luwL+cY0ClTikiWNUYPaXPX8xZV1bYaCOd7FBczbYlGoSV83hgmidWL0rD A3myuBxi1UuwA7NoSURBSLkiq40Xk2VdPEVR4ViXzmeQnZCOYvBVyhesSIBepSzwgUqu sH9SJVu6xibOW8DttDnDlMKRcnrXVmaHPXIWClS2OSnwCCuZ5uizQAolGqhZ3aYTuWLN rC5EzjQlbGUnJnwG1jbFCW9mwW1Lk44vBJmQlOVLiC6JXWQtSy3bBleCa0Isj6tINKNB sbbQHAuOZ3Iy+jpM68mh5qpe1v+BtzLQisykHCwMf2YOtIvLvjgYTdH+w3qfLsjN0oha eqBw== X-Gm-Message-State: AMCzsaX/rr07ehCI/pFwGSQfaF375RFWw7ZEbmVziUvTiGBROMLm1hUH uK1X1UV8k9CxuqpZad36t3+0fdh+Vf8Kq+DPPVg= X-Google-Smtp-Source: ABhQp+SfZ3PDZY8ytDfrENm0ImHMh7YUlW3D4dZ+9Hnqx8oI0RUz1IPV2gkado1+AmQ0tAEZJw12UxrO3fgsQ74IUDQ= X-Received: by 10.107.32.148 with SMTP id g142mr4896072iog.217.1507967938691; Sat, 14 Oct 2017 00:58:58 -0700 (PDT) Original-Received: by 10.107.97.14 with HTTP; Sat, 14 Oct 2017 00:58:58 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: TY0-TeWPzTZcKErYFcnN9gE_Erg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c06::244 X-Mailman-Approved-At: Sat, 14 Oct 2017 04:02:35 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:219486 Archived-At: On 14 October 2017 at 08:10, Reuben Thomas wrote: > On 14 October 2017 at 02:34, Richard Stallman wrote: >> >> [[[ To any NSA and FBI agents reading my email: please consider ]]] >> [[[ whether defending the US Constitution against all enemies, ]]] >> [[[ foreign or domestic, requires you to follow Snowden's example. ]]] >> >> > *: Sadly, GNU Hello no longer works since it uses a backquoted shell >> > expression that the current implementation can't intercept (my old >> > use-emacs-as-a-shell-parser ) >> >> It is important to fix this, since it is not good for Flymake to fail >> on the GNU example of proper packaging. >> >> It could be fixed in Flymake or fixed in GNU Hello. >> Which one is better? > > > These days, it seems much better to use Flycheck than Flymake (that's > certainly what I do). See https://github.com/flycheck/flycheck > > It would be a pity for Flymake to become yet another part of Emacs that > developers spend time updating and users largely ignore; better to spin it > off into ELPA, and if people still want to work on it there, fine. > Meanwhile, why not use Flycheck by default (in the same way as we've > "in-sourced" Org and other packages)? I tried to reproduce following comple output[1] without luck[2]. gcc -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I.. -I../intl -I../intl -g -O2 -c `test -f 'hello.c' || echo './'`hello.c Perhaps backticks are coming from autotools. Mine are: autoconf (GNU Autoconf) 2.69 automake (GNU automake) 1.15.1 [1] as mentioned in earlier in thread: https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00432.html [2] tested using hello-2.10 distribution package, and latest upstream version 4d0301f23b1666cf466a0ac281a0ea008abe70bb. -- Sami Kerola http://www.iki.fi/kerolasa/