From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52292: [PATCH] #52292 Date: Wed, 11 May 2022 14:17:42 +0300 Message-ID: <83a6bos4h5.fsf@gnu.org> References: <87tu9wwv6u.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8190"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, alexandre.liao@gmail.com, 52292@debbugs.gnu.org To: No Wayman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 11 13:18:30 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 1nokMM-0001sh-NI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 May 2022 13:18:29 +0200 Original-Received: from localhost ([::1]:48218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nokML-0007U0-Ax for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 May 2022 07:18:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nokLy-0007Sp-4M for bug-gnu-emacs@gnu.org; Wed, 11 May 2022 07:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nokLx-0003tu-R5 for bug-gnu-emacs@gnu.org; Wed, 11 May 2022 07:18:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nokLx-0008Gu-NJ for bug-gnu-emacs@gnu.org; Wed, 11 May 2022 07:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 May 2022 11:18:01 +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.165226786931776 (code B ref 52292); Wed, 11 May 2022 11:18:01 +0000 Original-Received: (at 52292) by debbugs.gnu.org; 11 May 2022 11:17:49 +0000 Original-Received: from localhost ([127.0.0.1]:36222 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nokLk-0008GS-Or for submit@debbugs.gnu.org; Wed, 11 May 2022 07:17:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nokLi-0008GB-Vw for 52292@debbugs.gnu.org; Wed, 11 May 2022 07:17:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36944) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nokLd-0003nD-Md; Wed, 11 May 2022 07:17:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ufrNJW6ZkHOuagGW19CWZoLXquEhDGfnVV4sAqO01Ww=; b=q8ya3qyho9ed yC/MlTye0g/l1t8Nxj5CQ7c0TNE56w4OwMkPvRqhb/ynVXF7VrZBjs8yQV1Aew+aYxTmMQUjA8g65 /yX694PPTflZDQhsKxY2Z+8H2bjROcHJIwOBXJ0eueOf3s/W9BQPG5s2XF3G8oRzeVLk46XJ12Um8 jpcrUktHN3kO6afQkhGPteVLrG1NnvYfa74fiqG9usSXFhGkJol8/gO5gNKZWy1VrafpHcoitcAt1 uk+JuSLFbRSNl+nhy/mWKtYCRo7C6sAivQmYpcaHZIGhn2+qvmU6iY3I0DlWZ5NR8nLgE3XWD2ejK liMZPvxsiHhgqhCPkn2j9w==; Original-Received: from [87.69.77.57] (port=1099 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nokLd-0000id-6B; Wed, 11 May 2022 07:17:41 -0400 In-Reply-To: <87tu9wwv6u.fsf@gmail.com> (message from No Wayman on Wed, 11 May 2022 00:23:42 -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:231892 Archived-At: > Cc: Lars Ingebrigtsen , alexandre.liao@gmail.com > From: No Wayman > Date: Wed, 11 May 2022 00:23:42 -0400 > > diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el > index 1e4b2c14a0..23e34ddad0 100644 > --- a/lisp/emacs-lisp/autoload.el > +++ b/lisp/emacs-lisp/autoload.el > @@ -282,6 +282,7 @@ autoload-find-generated-file > (let ((enable-local-variables :safe) > (enable-local-eval nil) > (find-file-hook nil) > + (find-file-visit-truename nil) > (delay-mode-hooks t)) > ;; We used to use `raw-text' to read this file, but this causes > ;; problems when the file contains non-ASCII characters. I think I'd prefer to run the file name through expand-file-name instead, as not resolving symlinks and other similar "equivalences" could have adverse effect elsewhere, if someone compares the file name to some other file name.