From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: native-comp-async-report-warnings-errors default value Date: Tue, 07 Dec 2021 19:16:16 +0200 Message-ID: <83tufkxrmn.fsf@gnu.org> References: <87h7dj7su7.fsf@gmail.com> <83r1cnlu6y.fsf@gnu.org> <87czo77rx7.fsf@gmail.com> <837dcmamt2.fsf@gnu.org> <83v90694ka.fsf@gnu.org> <83v901zdh6.fsf@gnu.org> <8735n4hmyn.fsf@gnus.org> <878rwwhhu6.fsf@gmail.com> <87wnkgfv4m.fsf@gmail.com> <8335n4zdyx.fsf@gnu.org> <87wnkgl5ie.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18063"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org, stefankangas@gmail.com, akrl@sdf.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 07 18:17:40 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mue5x-0004MY-Vd for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 18:17:37 +0100 Original-Received: from localhost ([::1]:53926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mue5w-0007EL-Uw for ged-emacs-devel@m.gmane-mx.org; Tue, 07 Dec 2021 12:17:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:44786) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mue4e-0006Ra-MJ for emacs-devel@gnu.org; Tue, 07 Dec 2021 12:16:16 -0500 Original-Received: from [2001:470:142:3::e] (port=49772 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mue4e-0008NP-9y; Tue, 07 Dec 2021 12:16:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=9lXEL9ZibUUcv4KI5+Nx1E/EwTa9Wan/laFlsBzYBeA=; b=LQ3nUyVKDWHVmdhRmJl6 4SXIydwkjejmOoJzAZNUdU7YXDT0hOUYZ3R+FuaLZBn1pfbQ7HJTQc4aOeTIM4VWZuWFWyNJULWTh RI8JyPJ4uNMjAjLwTThM2mJFDS2Ume0RkmzR0F1ra3JViQE6/6jgQBZYoZlHNsTSvoxD5Fhgu37SU PnPhak8TbEysshXO67e1RamNcPC9Ka2vFBpNppev/eS7v3r5yPzmT9mzsDXPI3InP1iYyKrJ1/ymf eGaYSmp55bnKpy4tNp5BGLJqWzTmsOq36PSI2009Oiw/+7IrdU32WOzPje2B1HhtimaWDHa2cjzsF aN8o5nvJjiY46w==; Original-Received: from [87.69.77.57] (port=3419 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mue4e-0003Jk-36; Tue, 07 Dec 2021 12:16:16 -0500 In-Reply-To: <87wnkgl5ie.fsf@gmail.com> (message from Robert Pluim on Tue, 07 Dec 2021 17:54:49 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:281269 Archived-At: > From: Robert Pluim > Cc: akrl@sdf.org, larsi@gnus.org, stefankangas@gmail.com, > emacs-devel@gnu.org > Date: Tue, 07 Dec 2021 17:54:49 +0100 > > Let the wordsmithing begin! Thanks, this is fine, with two gotchas: > +is available. Note that because of this use of a subprocess, native > +compilation may produce warning and errors which byte-compilation does > +not, and lisp code may thus need to be modified to work correctly. See ^^ Two spaces there, please. > +@code{native-comp-async-report-warnings-errors} in @xref{Native-Compilation @xref is inappropriate in the middle of a sentence, since it produces a capitalized "See". You want @pxref instead. > Regarding discoverability, the > *Warnings* buffer has entries like this: > > Warning (comp): tex-site.el:168:31: Warning: the function > ‘BibTeX-auto-store’ is not known to be defined. Disable showing > Disable logging > > I guess we could add a link to > `native-comp-async-report-warnings-errors' when the warning type == (comp) We could, yes. Assuming the code to add that is simple enough to install on the release branch. Thanks.