From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.devel Subject: Re: Changes to autoload handling in native-comp branch? Date: Tue, 14 Apr 2020 23:14:01 +0100 Message-ID: <87eesphg0m.fsf@linaro.org> 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="10502"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.10; emacs 28.0.50 Cc: emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 15 00:22:27 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 1jOTwo-0002er-Pe for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Apr 2020 00:22:26 +0200 Original-Received: from localhost ([::1]:39774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOTwn-0000Q5-Sr for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Apr 2020 18:22:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38242) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jOTom-0006gU-Sn for emacs-devel@gnu.org; Tue, 14 Apr 2020 18:14:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jOTok-0002XO-9V for emacs-devel@gnu.org; Tue, 14 Apr 2020 18:14:08 -0400 Original-Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]:55154) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jOToj-0002WQ-Up for emacs-devel@gnu.org; Tue, 14 Apr 2020 18:14:06 -0400 Original-Received: by mail-wm1-x341.google.com with SMTP id h2so14871791wmb.4 for ; Tue, 14 Apr 2020 15:14:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=5khbtwHKi3XXmQ2w7NwYX0oL550ztB9fiZeH6cXCxaY=; b=OPLMZjf4i0rAfKDPLSfbjLTaQpNjIkl/Ge4UJiNYMdGKJZVIiWyQKXkwH6I9VHZysW pjas4H5z+pYBsRIuvOjwoTcgQg8bbSfz0Xwd1YawVVvwbTCIn1fGjTdkxctWUrDMB8Gp fdR3+i61jjmtABQMb3Ca7Vtc2MSg0AjSOONhRsKRRP2wr8C4tbuNbt9nJXO5XjBrXS+m 2sTnrBBUfggVWkr81hU2tlEoRmo0kr9HiIgMLmiRHJuHxraVyeSWVZIe/wTPEaY+PRKh w/ln41s9Waw6MQSX/yDDHhyWxX6M7s9u+nv1v/hpFuvR8WAuzScKnlZ2DHsPMxk3MakG V0gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=5khbtwHKi3XXmQ2w7NwYX0oL550ztB9fiZeH6cXCxaY=; b=rtSaqlBKIAFFfyqXU5nsetT0nVVSiSLaTHu3H7n07IldJkWJ0DOhxZ1u8L5VkEgQ/j h5J3dneJzp2cnOb3CRAjwGHrEZ+8KxZf3Dp/AA6HvWa9ZAv0PQVu/x9ZTa67K6ViS/9k r5H3uTdeZmHr6fm1wXFN+DlQg4UXdWvHfEK/e33VXIoOvjcmaIzBtfINkQ0rfz6IwdEO yUVsJpri0TlPo0NBVKkO4Wr+9I3ca0ra2pA5lSJM64wO8XFJMYHQIDjHCYQC8K0fj3CI zA4xo53xteYuaF0Wv3x0aW16Mq/QLDC9M/7h5X4ttXRJXOGucYqQGlDtEujTiJKzMzUW WqIQ== X-Gm-Message-State: AGi0PuZ12hayo0wXD0ze8WzhKW61jVnTLv5msfWoPOdm5hajktW9H1Rw 5XEKch/6YKP7W0EaT/rryNq1ZtlG8d4= X-Google-Smtp-Source: APiQypK2c7s9VrJkiRPFsjBbGVkxdO2SOiaawswYh8NIOEreriTv0AV9UmORiX6DuCprKUHI7NiDuQ== X-Received: by 2002:a1c:4946:: with SMTP id w67mr2077498wma.38.1586902443964; Tue, 14 Apr 2020 15:14:03 -0700 (PDT) Original-Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id p7sm21198468wrf.31.2020.04.14.15.14.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Apr 2020 15:14:02 -0700 (PDT) Original-Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 99C891FF7E; Tue, 14 Apr 2020 23:14:01 +0100 (BST) In-reply-to: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::341 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:246968 Archived-At: Andrea Corallo writes: > 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 I've updated my tree and can confirm the bug is now gone and things are working as normal again. > > Bests > > Andrea --=20 Alex Benn=C3=A9e