From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 22 12:25:58 2022 Received: (at submit) by debbugs.gnu.org; 22 Jan 2022 17:25:59 +0000 Received: from localhost ([127.0.0.1]:37796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBK9G-00013z-Bn for submit@debbugs.gnu.org; Sat, 22 Jan 2022 12:25:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:45692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBK4a-0000x0-3Z for submit@debbugs.gnu.org; Sat, 22 Jan 2022 12:21:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBK4Z-0000Yr-Ah for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2022 12:21:07 -0500 Received: from smtp-outgoing-1603.laposte.net ([160.92.124.98]:33652) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBK4V-0005VR-BL for bug-gnu-emacs@gnu.org; Sat, 22 Jan 2022 12:21:06 -0500 X-mail-filterd: {"version":"1.3.4", "queueID":"4Jh3133Rr2z7t7W", "contextId":"fc5f0e6d-7475-403b-81df-c00d946c3f8d"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0102.laposte.net (SMTP Server) with ESMTP id 4Jh3133Rr2z7t7W for ; Sat, 22 Jan 2022 18:20:39 +0100 (CET) X-mail-filterd: {"version":"1.3.4", "queueID":"4Jh3131Vs6z7t7L", "contextId":"e0b2b548-0a21-42fb-9d5a-aba9b462a1c7"} X-lpn-mailing: LEGIT X-lpn-spamrating: 50 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrgedvvddrvddvgddutddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkuffhvffftggfggfgsehtkeertddtreejnecuhfhrohhmpefhrhorugorrhhitgcuifhiqhhuvghluceofhhrvgguvghrihgtrdhgihhquhgvlheslhgrphhoshhtvgdrnhgvtheqnecuggftrfgrthhtvghrnhepvdeufeevveethffhgefhffejleeftdeiveefueetvdehjefghfehleetieetkeejnecuffhomhgrihhnpehmvghlphgrrdhorhhgnecukfhppeejledrleehrdekjedrudehvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeejledrleehrdekjedrudehvddphhgvlhhopegludelvddrudeikedrudeghedrudefudgnpdhmrghilhhfrhhomhepfhhrvgguvghrihgtrdhgihhquhgvlheslhgrphhoshhtvgdrnhgvthdpnhgspghrtghpthhtohepuddprhgtphhtthhopegsuhhgqdhgnhhuqdgvmhgrtghssehgnhhurdhorhhgpdhmohguvgepshhmthhpohhuth Received: from [192.168.145.131] (152.87.95.79.rev.sfr.net [79.95.87.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0102.laposte.net (SMTP Server) with ESMTPSA id 4Jh3131Vs6z7t7L for ; Sat, 22 Jan 2022 18:20:38 +0100 (CET) Message-ID: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> Subject: 28.0.91; Different behavior with native-compilation From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Giquel To: bug-gnu-emacs@gnu.org Date: Sat, 22 Jan 2022 18:20:38 +0100 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1642872045; bh=bJfQZKr+1OfBBZGF+R+HwAb1wMjtRIs3XdyE6QRkqx8=; h=Message-ID:Subject:From:To:Date:Content-Type:MIME-Version:Content-Transfer-Encoding; b=iJ4Fjvf40cc166h0h1ziPwkmGYyLWs0kXGutSsB8rBQVs/tQn8/jUcPG40impBCJHsnXTX1SqvSnYhzgwHiDCADe3JtUTlFK53mZks6QB3hvRRPBBLwyd6DkW7wBlnIz36hQnQfUP7I3NmcO8mNVTp7MnprFzIEVpwoognt1XUlz/cuJhMs//WHRaZMhD8iVqB382rs3NQq4M2mnHJPhvc3Bk65lCdAFzQjSzI4gaiGLpe25Bxj9hXhvealIXlffVr0G3DpnQzCyKer8GZ9SXfGLI1ujlMWVrCfvB5kg5Z5weexWQ2Tebw3H71gHKeMriQHWKMtZNnIBEf5S2S3T2w==; Received-SPF: pass client-ip=160.92.124.98; envelope-from=frederic.giquel@laposte.net; helo=smtp-outgoing-1603.laposte.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 22 Jan 2022 12:25:57 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) Hi all, I noticed a weird indentation using fish-mode (from MELPA). I tried to understand the root cause and found that the problem only appears when using native-compilation. So I open a bug here (and not in the fish-mode repository). Here is the procedure to repoduce : With the following init.el : (require 'package) (setq package-archives '(("melpa" . "https://melpa.org/packages/"))) (package-initialize) (unless package-archive-contents (package-refresh-contents)) (unless (package-installed-p 'fish-mode) (package-install 'fish-mode)) Open the "foobar.fish" file with the following content (no indentation at this step) : function foobar if test -n "$argv[1]" echo foobar end end Indent the whole buffer with : - M-x mark-whole-buffer - M-x indent-region Here is the result I see : With Emacs 28.0.91 without native-compilation (or with Emacs 27), the buffer is indented correctly : function foobar if test -n "$argv[1]" echo foobar end end With Emacs 28.0.91 with native-compilation (after ensuring that the compilation has been done [*]), the indentation is not the same (and not correct) : function foobar if test -n "$argv[1]" echo foobar end end [*] There is 2 warnings about "docstring wider than 80 characters" during the native compilation of fish-mode Best regards, Fr=C3=A9d=C3=A9ric Giquel In GNU Emacs 28.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.31, cairo version 1.16.0) of 2022-01-22 built on guiriden Repository revision: e58ecd01d51471e7e63d20ee059a5c26251220b7 Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --prefix=3D/opt/emacs28-native --with-native-compilation' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $EMACSLOADPATH:=20 value of $LANG: fr_FR.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Fish Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail mule-util vc-git diff-mode easy-mmode vc-dispatcher fish-mode cus-edit pp cus-start cus-load wid-edit compile comint ansi-color ring find-func autoload radix-tree lisp-mnt mm-archive message dired dired-loaddefs rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs text-property-search time-date mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail- utils gnutls network-stream url-http mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny url-cache url-auth epg rfc6068 epg-config finder-inf package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core eieio-loaddefs password-cache json map url-vars comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra help-mode seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 320362 12926) (symbols 48 17171 1) (strings 32 94792 3943) (string-bytes 1 2484930) (vectors 16 30341) (vector-slots 8 526241 44385) (floats 8 62 308) (intervals 56 511 0) (buffers 992 17)) From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 24 04:31:45 2022 Received: (at 53451) by debbugs.gnu.org; 24 Jan 2022 09:31:45 +0000 Received: from localhost ([127.0.0.1]:42092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBvhR-0007Ht-2G for submit@debbugs.gnu.org; Mon, 24 Jan 2022 04:31:45 -0500 Received: from mx.sdf.org ([205.166.94.24]:51708) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBvhM-0007Dm-LM for 53451@debbugs.gnu.org; Mon, 24 Jan 2022 04:31:44 -0500 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 20O9Vb70025249 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 24 Jan 2022 09:31:39 GMT From: Andrea Corallo To: 53451@debbugs.gnu.org Subject: Re: bug#53451: 28.0.91; Different behavior with native-compilation In-Reply-To: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> (=?utf-8?B?IkZyw6lkw6lyaWM=?= Giquel via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\""'s message of "Sat, 22 Jan 2022 18:20:38 +0100") References: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Mon, 24 Jan 2022 09:31:37 +0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53451 Cc: =?utf-8?B?RnLDqWTDqXJpYw==?= Giquel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Fr=C3=A9d=C3=A9ric Giquel via "Bug reports for GNU Emacs, the Swiss army kn= ife of text editors" writes: > Hi all, > > I noticed a weird indentation using fish-mode (from MELPA). I tried to > understand the root cause and found that the problem only appears when > using native-compilation. > So I open a bug here (and not in the fish-mode repository). Hi Fr=C3=A9d=C3=A9ric, the first time fish-mode is used a trace of its native compilation should appear in the *Async-native-compile-log* buffer. Could you have a look and report what is produced there? PS you can remove the fish-mode .eln already produced somewhere under ~/.emacs.d/eln-cache and restart emacs to re-trigger native compilation if necessary. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 24 14:05:15 2022 Received: (at 53451) by debbugs.gnu.org; 24 Jan 2022 19:05:15 +0000 Received: from localhost ([127.0.0.1]:45887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4eR-00018Z-9g for submit@debbugs.gnu.org; Mon, 24 Jan 2022 14:05:15 -0500 Received: from smtp-outgoing-1601.laposte.net ([160.92.124.96]:51802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC4eN-00018G-My for 53451@debbugs.gnu.org; Mon, 24 Jan 2022 14:05:14 -0500 X-mail-filterd: {"version":"1.3.4", "queueID":"4JjKDS2bl4zgY7t", "contextId":"1a116feb-7cc9-4a1a-8568-d80cb6fa856b"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0104.laposte.net (SMTP Server) with ESMTP id 4JjKDS2bl4zgY7t; Mon, 24 Jan 2022 20:04:56 +0100 (CET) X-mail-filterd: {"version":"1.3.4", "queueID":"4JjKDR3tHxzgY7p", "contextId":"dbe484de-05d8-4ab0-9ef8-2b3105ef7d7f"} X-lpn-mailing: LEGIT X-lpn-spamrating: 50 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrgedvvddrvdeigdduvddvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkuffhvfffjghftggfggfgsehtkeertddtreejnecuhfhrohhmpefhrhorugorrhhitgcuifhiqhhuvghluceofhhrvgguvghrihgtrdhgihhquhgvlheslhgrphhoshhtvgdrnhgvtheqnecuggftrfgrthhtvghrnhepkefhhfeivdehvdfhuefgfeektdejjeevveefiefhhfevgedvueegvddvffdvudeinecukfhppeekvddrieegrddvtddrudekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekvddrieegrddvtddrudekvddphhgvlhhopegludelvddrudeikedrvdelrdehiegnpdhmrghilhhfrhhomhepfhhrvgguvghrihgtrdhgihhquhgvlheslhgrphhoshhtvgdrnhgvthdpnhgspghrtghpthhtohepvddprhgtphhtthhopegrkhhrlhesshgufhdrohhrghdprhgtphhtthhopeehfeegheduseguvggssghughhsrdhgnhhurdhorhhgpdhmohguvgepshhmthhpohhuth Received: from [192.168.29.56] (82-64-20-182.subs.proxad.net [82.64.20.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0104.laposte.net (SMTP Server) with ESMTPSA id 4JjKDR3tHxzgY7p; Mon, 24 Jan 2022 20:04:55 +0100 (CET) Message-ID: <8190cc08e34d3cd81ba51c83b502c41236519ba4.camel@laposte.net> Subject: Re: bug#53451: 28.0.91; Different behavior with native-compilation From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Giquel To: Andrea Corallo , 53451@debbugs.gnu.org Date: Mon, 24 Jan 2022 20:04:55 +0100 In-Reply-To: References: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1643051104; bh=4W84JH7mVNVWHL2DK7QF+xpRdl3eiHm6Kt2Y9rs3Dog=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:MIME-Version:Content-Transfer-Encoding; b=fpDfoFIg5YnLRX4T1TvEv5p35tRzDLVQzUuc2yINk7io1c8ysOiNwczPCiNbVtr0LZ9KKC5TnBtuAkGLiTd15q+EzzkERJacJ5y9O8bu5zcpEI5VqL3xW3TQVuy77q5KO1cgSNm9KQvUMZM1/YanOY6N3V6yYYzFUladpceeiJl4bbVfxuMFdtguFWfz84GsHZbe4UHTctjRu1Vd93FXry/4jHdaZ73eRuLKJhDklU4wYWZbTGdsffPXOUuChAKbjuLHYAGzI47AK3cbZqIrTmvpC9E98SYJs5uncwPYcnMfMGyZMsLAnE8G3BNZH1FiawpJlvf1I6MfOo8JZKaAuQ==; X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53451 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Le lundi 24 janvier 2022 =C3=A0 09:31 +0000, Andrea Corallo a =C3=A9crit=C2= =A0: > Fr=C3=A9d=C3=A9ric Giquel via "Bug reports for GNU Emacs, the Swiss arm= y knife > of > text editors" writes: >=20 > > Hi all, > >=20 > > I noticed a weird indentation using fish-mode (from MELPA). I tried > > to > > understand the root cause and found that the problem only appears > > when > > using native-compilation. > > So I open a bug here (and not in the fish-mode repository). >=20 > Hi Fr=C3=A9d=C3=A9ric, >=20 > the first time fish-mode is used a trace of its native compilation > should appear in the *Async-native-compile-log* buffer.=C2=A0 Could you > have > a look and report what is produced there? The result of native compilation of fish-mode.el is : Compiling /home/fred/.emacs.d/elpa/fish-mode-20210215.1114/fish- mode.el... In fish/count-tokens-on-current-line: fish-mode.el:393:8: Warning: docstring wider than 80 characters In fish/auto-indent-post-indent-check: fish-mode.el:663:8: Warning: docstring wider than 80 characters Compilation finished. If I remove the corresponding docstrings in fish-mode.el, the warnings disappears in *Async-native-compile-log* but the indentation remains incorrect. PS: in my first message, I compared 2 versions of Emacs 28.0.91 (compiled with or without native compilation enabled). We can also hightlight the problem only using Emacs with native compilation enabled : if we add "(setq load-no-native t)" in init.el, the indentation is correct. Best regards, Fr=C3=A9d=C3=A9ric Giquel From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 08 16:22:59 2022 Received: (at 53451) by debbugs.gnu.org; 8 Feb 2022 21:22:59 +0000 Received: from localhost ([127.0.0.1]:48905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHXwx-0004N8-HN for submit@debbugs.gnu.org; Tue, 08 Feb 2022 16:22:59 -0500 Received: from smtp-outgoing-1803.laposte.net ([160.92.124.104]:58737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHXwv-0004Mp-8E for 53451@debbugs.gnu.org; Tue, 08 Feb 2022 16:22:58 -0500 X-mail-filterd: {"version":"1.3.4", "queueID":"4JtbZf0DmXz1spV8", "contextId":"011c3e25-5b90-4f39-86dc-6cc1357927a6"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0111.laposte.net (SMTP Server) with ESMTP id 4JtbZf0DmXz1spV8; Tue, 8 Feb 2022 22:22:50 +0100 (CET) X-mail-filterd: {"version":"1.3.4", "queueID":"4JtbZd5PRSz1spV6", "contextId":"daf412c4-e027-4e34-9377-ea69a525217c"} X-lpn-mailing: LEGIT X-lpn-spamrating: 50 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrgedvvddrheejgddugeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkuffhvfffjghftggfggfgsehtkeertddtreejnecuhfhrohhmpefhrhorugorrhhitgcuifhiqhhuvghluceofhhrvgguvghrihgtrdhgihhquhgvlheslhgrphhoshhtvgdrnhgvtheqnecuggftrfgrthhtvghrnhepkefhhfeivdehvdfhuefgfeektdejjeevveefiefhhfevgedvueegvddvffdvudeinecukfhppeekvddrieegrddvtddrudekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekvddrieegrddvtddrudekvddphhgvlhhopegludelvddrudeikedrvdelrdehiegnpdhmrghilhhfrhhomhepfhhrvgguvghrihgtrdhgihhquhgvlheslhgrphhoshhtvgdrnhgvthdpnhgspghrtghpthhtohepvddprhgtphhtthhopegrkhhrlhesshgufhdrohhrghdprhgtphhtthhopeehfeegheduseguvggssghughhsrdhgnhhurdhorhhgpdhmohguvgepshhmthhpohhuth Received: from [192.168.29.56] (82-64-20-182.subs.proxad.net [82.64.20.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0111.laposte.net (SMTP Server) with ESMTPSA id 4JtbZd5PRSz1spV6; Tue, 8 Feb 2022 22:22:49 +0100 (CET) Message-ID: Subject: Re: bug#53451: 28.0.91; Different behavior with native-compilation From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Giquel To: Andrea Corallo , 53451@debbugs.gnu.org Date: Tue, 08 Feb 2022 22:22:49 +0100 In-Reply-To: <8190cc08e34d3cd81ba51c83b502c41236519ba4.camel@laposte.net> References: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> <8190cc08e34d3cd81ba51c83b502c41236519ba4.camel@laposte.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1644355370; bh=8UhbonuLWvhS++YhAcywYZgFh4Ji52yUmnM+W2GWQtk=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:MIME-Version:Content-Transfer-Encoding; b=pjaG3lPYH0HIajyu69GBGZOlBJlnBxAI+XX171Uo+LiKYUb//zrfYhZxTKDQCPF00OkeR+gPEiPme3he9OmI8JNoVBetoXM03wjDF+4u516TxrppQrb/aW3GrMXBttdR9v4RdSKDEI1r5QW3Yg9imYqsFzXRiuJH24N5OmbHrAaRaNhV+0GVWNfdzAWk07J8WfYt+p4WmFSdOwwLU3RU2fWybzv4mLvgPyTrWi4drUUE6lffruo2lK4dkHO4OHCfaA/9Nu9i4h/aLhay8H9orsx8bGT8dIBk33VcoR9H/w1Mkw9v2J8t3qE+vAUqnIicTWizqoOJL4GxXY320IzrPg==; X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53451 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Andrea, How can I help ? Do you need further information ? Best Regards, Fr=C3=A9d=C3=A9ric Giquel Le lundi 24 janvier 2022 =C3=A0 20:04 +0100, Fr=C3=A9d=C3=A9ric Giquel a = =C3=A9crit=C2=A0: > Le lundi 24 janvier 2022 =C3=A0 09:31 +0000, Andrea Corallo a =C3=A9cri= t=C2=A0: > > Fr=C3=A9d=C3=A9ric Giquel via "Bug reports for GNU Emacs, the Swiss a= rmy > > knife > > of > > text editors" writes: > >=20 > > > Hi all, > > >=20 > > > I noticed a weird indentation using fish-mode (from MELPA). I > > > tried > > > to > > > understand the root cause and found that the problem only appears > > > when > > > using native-compilation. > > > So I open a bug here (and not in the fish-mode repository). > >=20 > > Hi Fr=C3=A9d=C3=A9ric, > >=20 > > the first time fish-mode is used a trace of its native compilation > > should appear in the *Async-native-compile-log* buffer.=C2=A0 Could y= ou > > have > > a look and report what is produced there? >=20 > The result of native compilation of fish-mode.el is : > Compiling /home/fred/.emacs.d/elpa/fish-mode-20210215.1114/fish- > mode.el... >=20 > In fish/count-tokens-on-current-line: > fish-mode.el:393:8: Warning: docstring wider than 80 characters >=20 > In fish/auto-indent-post-indent-check: > fish-mode.el:663:8: Warning: docstring wider than 80 characters > Compilation finished. >=20 > If I remove the corresponding docstrings in fish-mode.el, the > warnings > disappears in *Async-native-compile-log* but the indentation remains > incorrect. >=20 > PS: in my first message, I compared 2 versions of Emacs 28.0.91 > (compiled with or without native compilation enabled). We can also > hightlight the problem only using Emacs with native compilation > enabled > : if we add "(setq load-no-native t)" in init.el, the indentation is > correct. >=20 > Best regards, > Fr=C3=A9d=C3=A9ric Giquel From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 09 04:51:47 2022 Received: (at 53451) by debbugs.gnu.org; 9 Feb 2022 09:51:47 +0000 Received: from localhost ([127.0.0.1]:49894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHjdb-0004wP-19 for submit@debbugs.gnu.org; Wed, 09 Feb 2022 04:51:47 -0500 Received: from mx.sdf.org ([205.166.94.24]:56643) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHjdZ-0004wC-HF for 53451@debbugs.gnu.org; Wed, 09 Feb 2022 04:51:46 -0500 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 2199pe6m029010 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 9 Feb 2022 09:51:41 GMT From: Andrea Corallo To: 53451@debbugs.gnu.org Subject: Re: bug#53451: 28.0.91; Different behavior with native-compilation References: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> <8190cc08e34d3cd81ba51c83b502c41236519ba4.camel@laposte.net> Date: Wed, 09 Feb 2022 09:51:40 +0000 In-Reply-To: (=?utf-8?B?IkZyw6lkw6lyaWM=?= Giquel via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\""'s message of "Tue, 08 Feb 2022 22:22:49 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53451 Cc: =?utf-8?B?RnLDqWTDqXJpYw==?= Giquel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Fr=C3=A9d=C3=A9ric Giquel via "Bug reports for GNU Emacs, the Swiss army kn= ife of text editors" writes: > Hi Andrea, > > How can I help ? > Do you need further information ? > > Best Regards, > Fr=C3=A9d=C3=A9ric Giquel Hi Fr=C3=A9d=C3=A9ric, I've isolated `fish-get-end-indent' as the function causing the different behaviour. I'll have a look into what is going on and report. Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 09 12:16:59 2022 Received: (at 53451) by debbugs.gnu.org; 9 Feb 2022 17:16:59 +0000 Received: from localhost ([127.0.0.1]:52518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHqaQ-0001nU-Ro for submit@debbugs.gnu.org; Wed, 09 Feb 2022 12:16:59 -0500 Received: from mx.sdf.org ([205.166.94.24]:52789) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHqaN-0001nI-AL for 53451@debbugs.gnu.org; Wed, 09 Feb 2022 12:16:56 -0500 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 219HGrHB005644 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 9 Feb 2022 17:16:53 GMT From: Andrea Corallo To: 53451@debbugs.gnu.org Subject: Re: bug#53451: 28.0.91; Different behavior with native-compilation References: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> <8190cc08e34d3cd81ba51c83b502c41236519ba4.camel@laposte.net> Date: Wed, 09 Feb 2022 17:16:53 +0000 In-Reply-To: (Andrea Corallo's message of "Wed, 09 Feb 2022 09:51:40 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53451 Cc: =?utf-8?B?RnLDqWTDqXJpYw==?= Giquel X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Andrea Corallo writes: > Fr=C3=A9d=C3=A9ric Giquel via "Bug reports for GNU Emacs, the Swiss army = knife of > text editors" writes: > >> Hi Andrea, >> >> How can I help ? >> Do you need further information ? >> >> Best Regards, >> Fr=C3=A9d=C3=A9ric Giquel > > Hi Fr=C3=A9d=C3=A9ric, > > I've isolated `fish-get-end-indent' as the function causing the > different behaviour. I'll have a look into what is going on and report. > > Thanks > > Andrea Okay, this is an optimizer bug. The compiler was convinced the following lambda returned 1 :/ and could optimize accordingly... (=CE=BB (x) (if (eq x 0) (error "foo") (1+ x))) I've pushed the fix into emacs-28 as 69e82968d7 as I think this is important to have in the release branch. The commit include a testcase as well. Fr=C3=A9d=C3=A9ric if you could compile emacs-28 and verify it works for yo= u would be nice (I guess you'll have to clean-up at least the miss-compiled .eln) Thanks Andrea From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 09 15:35:55 2022 Received: (at 53451) by debbugs.gnu.org; 9 Feb 2022 20:35:55 +0000 Received: from localhost ([127.0.0.1]:52905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHtgx-0003pL-Ey for submit@debbugs.gnu.org; Wed, 09 Feb 2022 15:35:55 -0500 Received: from smtp-outgoing-1902.laposte.net ([160.92.124.106]:48797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHtgv-0003p7-IW for 53451@debbugs.gnu.org; Wed, 09 Feb 2022 15:35:54 -0500 X-mail-filterd: {"version":"1.3.4", "queueID":"4JvBTp0HgrzKm45", "contextId":"97148b4e-e6d5-404f-a13b-9dabcf43bbd2"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0115.laposte.net (SMTP Server) with ESMTP id 4JvBTp0HgrzKm45; Wed, 9 Feb 2022 21:35:42 +0100 (CET) X-mail-filterd: {"version":"1.3.4", "queueID":"4JvBTn5qXKzKm44", "contextId":"5ce3b007-4c40-41f4-bbb8-c85c167abafb"} X-lpn-mailing: LEGIT X-lpn-spamrating: 50 X-lpn-spamlevel: not-spam X-lpn-spamcause: OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrgedvvddrheelgddufeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecunfetrffquffvgfdpggftfghnshhusghstghrihgsvgenuceurghilhhouhhtmecufedttdenucenucfjughrpefkuffhvfffjghftggfggfgsehtkeertddtreejnecuhfhrohhmpefhrhorugorrhhitgcuifhiqhhuvghluceofhhrvgguvghrihgtrdhgihhquhgvlheslhgrphhoshhtvgdrnhgvtheqnecuggftrfgrthhtvghrnhepkefhhfeivdehvdfhuefgfeektdejjeevveefiefhhfevgedvueegvddvffdvudeinecukfhppeekvddrieegrddvtddrudekvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeekvddrieegrddvtddrudekvddphhgvlhhopegludelvddrudeikedrvdelrdehiegnpdhmrghilhhfrhhomhepfhhrvgguvghrihgtrdhgihhquhgvlheslhgrphhoshhtvgdrnhgvthdpnhgspghrtghpthhtohepvddprhgtphhtthhopegrkhhrlhesshgufhdrohhrghdprhgtphhtthhopeehfeegheduseguvggssghughhsrdhgnhhurdhorhhgpdhmohguvgepshhmthhpohhuth Received: from [192.168.29.56] (82-64-20-182.subs.proxad.net [82.64.20.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0115.laposte.net (SMTP Server) with ESMTPSA id 4JvBTn5qXKzKm44; Wed, 9 Feb 2022 21:35:40 +0100 (CET) Message-ID: Subject: Re: bug#53451: 28.0.91; Different behavior with native-compilation From: =?ISO-8859-1?Q?Fr=E9d=E9ric?= Giquel To: Andrea Corallo , 53451@debbugs.gnu.org Date: Wed, 09 Feb 2022 21:35:40 +0100 In-Reply-To: References: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> <8190cc08e34d3cd81ba51c83b502c41236519ba4.camel@laposte.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=laposte.net; s=lpn-wlmd; t=1644438946; bh=G8wjDH/7cpGRlqp5gjDhkfzYtxN0HQCd/OWNGn0XcTw=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:MIME-Version:Content-Transfer-Encoding; b=sswIhWrZBV6fAg0EImR8fBmFNm7h5SiNaxJU94PSIzatWVT7sL0H4PeS8WRadK2V4Kp5Mh0FogFXjJxmqtsc27DUJ1xkztrxsopIv4PrWSbuzfjdu18PNLNRx6ClX8pz74K/zb8Xs+3E9YvrOiqGDOk/ilOwv2yvQYs9N/+0uT3SN1Uwlay/jPeher9/FmP7EW0/Qb3Xhp3zyqVfFnCHByXCbUQdCqiu6le53Mz1ZFBDhVKe0e0t31lIjW+NKqTHJJvumuJ8WgXzhCBpH0LrglcpfDD7gzoqs7Ep0mzbeUBp4LgZHeGkfJPje+Fr6qLPA3zwpBwoyfX25ca5FdHuNA==; X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53451 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Le mercredi 09 f=C3=A9vrier 2022 =C3=A0 17:16 +0000, Andrea Corallo a =C3= =A9crit=C2=A0: > I've pushed the fix into emacs-28 as 69e82968d7 as I think this is > important to have in the release branch.=C2=A0 The commit include a > testcase > as well. >=20 > Fr=C3=A9d=C3=A9ric if you could compile emacs-28 and verify it works fo= r you > would > be nice (I guess you'll have to clean-up at least the miss-compiled > .eln) I confirm that the indentation issue is resolved. Thanks for the fix and more generally for your great work on native compilation. Fr=C3=A9d=C3=A9ric Giquel From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 09 16:05:52 2022 Received: (at 53451-done) by debbugs.gnu.org; 9 Feb 2022 21:05:52 +0000 Received: from localhost ([127.0.0.1]:52927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHu9w-0004f2-AZ for submit@debbugs.gnu.org; Wed, 09 Feb 2022 16:05:52 -0500 Received: from mx.sdf.org ([205.166.94.24]:59545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHu9s-0004et-LA for 53451-done@debbugs.gnu.org; Wed, 09 Feb 2022 16:05:49 -0500 Received: from ma.sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 219L5lBb025356 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Wed, 9 Feb 2022 21:05:47 GMT From: Andrea Corallo To: =?utf-8?B?RnLDqWTDqXJpYw==?= Giquel Subject: Re: bug#53451: 28.0.91; Different behavior with native-compilation References: <548b819e4f578de0f98a3e59a873514be560e451.camel@laposte.net> <8190cc08e34d3cd81ba51c83b502c41236519ba4.camel@laposte.net> Date: Wed, 09 Feb 2022 21:05:46 +0000 In-Reply-To: (=?utf-8?B?IkZyw6lkw6lyaWM=?= Giquel"'s message of "Wed, 09 Feb 2022 21:35:40 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53451-done Cc: 53451-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Fr=C3=A9d=C3=A9ric Giquel writes: > Le mercredi 09 f=C3=A9vrier 2022 =C3=A0 17:16 +0000, Andrea Corallo a =C3= =A9crit=C2=A0: >> I've pushed the fix into emacs-28 as 69e82968d7 as I think this is >> important to have in the release branch.=C2=A0 The commit include a >> testcase >> as well. >>=20 >> Fr=C3=A9d=C3=A9ric if you could compile emacs-28 and verify it works for= you >> would >> be nice (I guess you'll have to clean-up at least the miss-compiled >> .eln) > > I confirm that the indentation issue is resolved. > > Thanks for the fix and more generally for your great work on native > compilation. > > Fr=C3=A9d=C3=A9ric Giquel Very nice, thank you very much for testing and the kind words. Closing Andrea From unknown Fri Jun 20 07:24:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 10 Mar 2022 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator