From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Brahimi Saifullah Newsgroups: gmane.emacs.devel Subject: Re: Time to merge scratch/correct-warning-pos into master, perhaps? Date: Sun, 16 Jan 2022 13:45:25 -0300 Message-ID: <84o84bmxy2.fsf@gmail.com> References: <84fspor0dj.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28061"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) Cc: emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 16 17:48:42 2022 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 1n98ht-00079R-4S for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jan 2022 17:48:41 +0100 Original-Received: from localhost ([::1]:46032 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n98hs-0006gR-2z for ged-emacs-devel@m.gmane-mx.org; Sun, 16 Jan 2022 11:48:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n98ep-00043c-U6 for emacs-devel@gnu.org; Sun, 16 Jan 2022 11:45:32 -0500 Original-Received: from [2607:f8b0:4864:20::22e] (port=43622 helo=mail-oi1-x22e.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n98eo-0003jA-DR for emacs-devel@gnu.org; Sun, 16 Jan 2022 11:45:31 -0500 Original-Received: by mail-oi1-x22e.google.com with SMTP id s22so20111249oie.10 for ; Sun, 16 Jan 2022 08:45:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=PlG9IkV2Q21V3BMDGwPwoCrrfZAD1xpDuoCiO4uMHZQ=; b=F9FlvxBh0tchwNZAcqaj1jqxcEFZIQVcEvHDk680Xa2RdLDVI7I5UMdzsFUV3ATHB0 OhFoj3vpbpRXqLBsEn31gjjA5/3u4tosEjCoFGiTxR/ZhdnUwtwrl/MVAUGv3mDgGuYw HVxddQ1zo/LSICSfSeQnpFG6psDFHqEIqpb8l83R5D8xd60OAn/1RYpyv9bakRrALTpv ExDtBsH/X/R6b68tgYxwjupNUjlcy2jJ18pCsBbmu2tMBuEJlD7zB4Xw/Go9tVeoI5oY jiHV3TCYpKahmNEtMC0BZIuDvH3kNnwm89jLgNjvoovjQRvhiCAWJ0W2llNKSghwJXxq LwyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=PlG9IkV2Q21V3BMDGwPwoCrrfZAD1xpDuoCiO4uMHZQ=; b=DOL8n7pFvHze+AR7+MPy4pgmn3EDIj5Xv8eZicit+nOO4QWe2MWpA2pgev2ekHNaAM X9x53uq8R2rvYZ92uYgHF48p0aIWBjijfvRkdGSyBd18JtZrlRIP/wCUQ+CGM9b+rytf 28KmfQE2fxatIVfFii0ioGo7prEb4TexUnhDrTd1ftyazADJr1VDHpIiteYKuzIpKH3m kLVNGljgKBerl5C2Z1gA3sqP9GBzUWf3gPN7YfqtGtvXty3/S+TRm2DIA+J1bJ7YKFRq a7iXO2EbW0eVVjSx9cAtWqTAcc4Jsa+SCuvBLDSKiuxmZvCwjYXA28/gLAQn+8yDxWCp WeTw== X-Gm-Message-State: AOAM532oH1LCHWyrquaMY/njzMTsTTSYiJkKdc2vgWwhm6zItndFEowv yIqQGZdA1OVeY+QQxtYCSTlzb+AQklc= X-Google-Smtp-Source: ABdhPJzHShGivM19WNAmMTI/kGz+W9H3AL4IL7UX/ep4bH0wtWjkHGEuoMCwndIRgoBbx4lrMAfs5w== X-Received: by 2002:a54:481a:: with SMTP id j26mr14410789oij.143.1642351528962; Sun, 16 Jan 2022 08:45:28 -0800 (PST) Original-Received: from COMPUTADOR ([2804:14d:90bc:807e:84c3:effd:28d5:1e0]) by smtp.googlemail.com with ESMTPSA id q65sm5291337oih.45.2022.01.16.08.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jan 2022 08:45:28 -0800 (PST) In-Reply-To: (Alan Mackenzie's message of "Sun, 16 Jan 2022 14:53:46 +0000") X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::22e (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::22e; envelope-from=brahimi.saifullah@gmail.com; helo=mail-oi1-x22e.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:284834 Archived-At: Alan Mackenzie writes: > I don't actually use Flymake mode. Could you possibly give me a recipe > to reproduce the bug, then either Jo=C3=A3o or I can fix it. Sure. emacs -Q M-x flymake-mode Type anything. I've also further tracked down the issue to `byte-compile-log-warning': (defun byte-compile-log-warning (string &optional fill level) "Log a byte-compilation warning. STRING, FILL and LEVEL are as described in `byte-compile-log-warning-function', which see." (funcall byte-compile-log-warning-function string nil fill ^^^ level)) The highlighted part used to be `byte-compile-last-position', but it was replaced with nil. The default byte compile log warning function doesn't make use of that value (which is why you wouldn't ordinarily notice it's amiss), but Flymake's function does.