From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jorge Israel =?UTF-8?Q?Pe=C3=B1a?= Newsgroups: gmane.emacs.bugs Subject: bug#52292: 29.0.50; when ~/.emacs.d is a relative symlink to ~/foo/bar, (setq find-file-visit-truename t) causes package-install to generate incorrect autoloads Date: Sat, 9 Apr 2022 19:02:18 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000001273f505dc433a85" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1616"; mail-complaints-to="usenet@ciao.gmane.io" To: alexandre.liao@gmail.com, 52292@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 10 04:49:10 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ndNdW-0000GM-5p for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 10 Apr 2022 04:49:10 +0200 Original-Received: from localhost ([::1]:40576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ndNdU-0007dT-PI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Apr 2022 22:49:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50968) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ndNdO-0007dJ-Nz for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 22:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ndNdO-0003Zb-F6 for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 22:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ndNdO-0004UA-CI for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2022 22:49:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Jorge Israel =?UTF-8?Q?Pe=C3=B1a?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Apr 2022 02:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52292 X-GNU-PR-Package: emacs Original-Received: via spool by 52292-submit@debbugs.gnu.org id=B52292.164955891517205 (code B ref 52292); Sun, 10 Apr 2022 02:49:02 +0000 Original-Received: (at 52292) by debbugs.gnu.org; 10 Apr 2022 02:48:35 +0000 Original-Received: from localhost ([127.0.0.1]:39050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndNcx-0004TR-5H for submit@debbugs.gnu.org; Sat, 09 Apr 2022 22:48:35 -0400 Original-Received: from mail-qt1-f174.google.com ([209.85.160.174]:41734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ndMuu-0003Na-EL for 52292@debbugs.gnu.org; Sat, 09 Apr 2022 22:03:04 -0400 Original-Received: by mail-qt1-f174.google.com with SMTP id r25so481826qtp.8 for <52292@debbugs.gnu.org>; Sat, 09 Apr 2022 19:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=NI8w9dGz0KtErCwoRaP/JycvFp9N6YpRubIeqy1Tirc=; b=P8SuCaPFRuWKBNvzKDjQBh1nZPi1T6raEOIgirqkvyZb1pp5pxnY6eco4WtN/ZS+ko nL6GWhKFSsyxtZCuV7hXeyl0ljdx7gD12wb9hjIU5MltqM3PFIzV68JiYYltVXZlK4RQ Vx+MCff9pygC/x7bcjaKqnq4X2CHvKMSqbdF5Uf/OknXDYXG9b+k2wJcUXwwAIuKYBi+ rOANjwylFGxDSlldJVvrl9WvpeQejUkRUmcwTAUb3m6DL15EKwJPAxO7MHXOyn4On1U6 JCuvA2x8r11KnpPII7AOjDYx2PolPVrdu3yMLa/RVzknGYLhcZT6U4ca2ebnmZtr0ulg UCiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NI8w9dGz0KtErCwoRaP/JycvFp9N6YpRubIeqy1Tirc=; b=uZvO3uXY+PB0E+JBrsiQ0xcRFw64zgcDs+y+oKEmSFyrVAlIsu4SRthfs8RpxX0Pxb vm7lo1pSK3/+CxuMeMBhhYxfSu08wNb+4bDdxEjGVcY83s3gveZ3zS87T/koirsmfYt8 iYTvwrgBXZ0DGqRcjW/ThYrGbPGg6Do4P25lAgfaV9rST/dxIPxVaLRb86Jl1seePQaA 29zoCOTUf1ywbV0hcWslhmR87mRo5c92ldHKGFb4ezQnFFkVqGC9VQ3maTgjr1LIm5G2 25q4NWDoVT1jREZniYY2T1d0wwI14limqB6QaAI+CU5RhxcW0HF/ZiRdfPZqSRZkkXXD P0VA== X-Gm-Message-State: AOAM533A/8hdSScboyL5NEULjAaj2VKW9iYN7mZQYnwCp6Z5T+ScVirZ cHlcdLzqY9erJ9Qdm3VcH5XlYxPH/dF6P90axYE= X-Google-Smtp-Source: ABdhPJwCsVYGfcO2zYycBAvTXV0cxXwWyVQ58xn4AuHb9T8yMjNLvngmbLpW6UTbwjOZgTZTNLw9mYSN3FezPF9h6G4= X-Received: by 2002:ac8:5805:0:b0:2e1:cea3:3ca2 with SMTP id g5-20020ac85805000000b002e1cea33ca2mr21145536qtg.33.1649556178759; Sat, 09 Apr 2022 19:02:58 -0700 (PDT) X-Mailman-Approved-At: Sat, 09 Apr 2022 22:48:35 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229644 Archived-At: --0000000000001273f505dc433a85 Content-Type: text/plain; charset="UTF-8" I am also observing this on Windows with Emacs 28. Reverting to Emacs 27.2 resolved the issue. I was also able to work around this issue on Emacs 28 by using an around-advice similar to the one provided by Faerryn but tailored for straight.el, wrapping function straight--build-autoloads. You can find other users running into this problem in this straight.el issue: https://github.com/raxod502/straight.el/issues/701 --0000000000001273f505dc433a85 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am also observing this on Windows with Emacs 28. Reverti= ng to Emacs 27.2 resolved the issue.

I was also able to = work around this issue on Emacs 28 by using an around-advice similar to the= one provided by Faerryn=C2=A0but=C2=A0tailored for straight.el, wrapping f= unction=C2=A0straight--build-autoloads.

You can find oth= er users running into this problem in this straight.el issue:=C2=A0https://github.com/= raxod502/straight.el/issues/701
--0000000000001273f505dc433a85--