From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.devel Subject: Re: Changes to autoload handling in native-comp branch? Date: Tue, 14 Apr 2020 18:11:46 +0000 Message-ID: References: <87imi29yq8.fsf@linaro.org> <87ftd69osy.fsf@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="96147"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: emacs-devel@gnu.org To: Alex =?utf-8?Q?Benn=C3=A9e?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 14 20:12:39 2020 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 1jOQ34-000OsC-KI for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Apr 2020 20:12:38 +0200 Original-Received: from localhost ([::1]:36912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOQ33-0000uw-Me for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Apr 2020 14:12:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56795) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOQ2J-00006f-Eh for emacs-devel@gnu.org; Tue, 14 Apr 2020 14:11:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOQ2I-0005nY-B7 for emacs-devel@gnu.org; Tue, 14 Apr 2020 14:11:51 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:58194) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jOQ2I-0005hK-44 for emacs-devel@gnu.org; Tue, 14 Apr 2020 14:11:50 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 03EIBk1b004655 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Tue, 14 Apr 2020 18:11:46 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 03EIBks0032608; Tue, 14 Apr 2020 18:11:46 GMT In-Reply-To: <87ftd69osy.fsf@linaro.org> ("Alex =?utf-8?Q?Benn=C3=A9e=22's?= message of "Tue, 14 Apr 2020 14:31:25 +0100") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 205.166.94.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:246960 Archived-At: Alex Benn=C3=A9e writes: > Yeah manually running that gives me the same error. It all comes down to > the line (file-name-directory #$) which I guess should have some special > handling. The weird thing is on my "normal" emacs (GNU Emacs 25.2.2 > (x86_64-pc-linux-gnu) of 2017-09-22, modified by Debian) executing this > line also gives the same error although the *Messages* shows no such > problems during load up. > > Does this indicate there us some sort of special context in the way the > autoload code is run? Is file-name-handler-alist modified during > autoload processing in a way that isn't picked up by native code? Hi Alex, I confirm was bug#40620 and should be fixed by now. The bug was introduced by 6e09597e27. '$' is replaced by the reader with `load-file-name' value (and in this branch ATM by load-true-file-name). This last one I managed to forget to set it were should have been. Generally speaking I'm not sure having `load-true-file-name' and `load-file-name' is the nicest design but this was motivated by bug#40099 (glab :) https://lists.gnu.org/archive/html/bug-gnu-emacs/2020-04/msg00211.html Bests Andrea --=20 akrl@sdf.org