all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: No Wayman <iarchivedmywholelife@gmail.com>
Cc: larsi@gnus.org, alexandre.liao@gmail.com, 52292@debbugs.gnu.org
Subject: bug#52292: [PATCH] #52292
Date: Wed, 11 May 2022 14:17:42 +0300	[thread overview]
Message-ID: <83a6bos4h5.fsf@gnu.org> (raw)
In-Reply-To: <87tu9wwv6u.fsf@gmail.com> (message from No Wayman on Wed, 11 May 2022 00:23:42 -0400)

> Cc: Lars Ingebrigtsen <larsi@gnus.org>, alexandre.liao@gmail.com
> From: No Wayman <iarchivedmywholelife@gmail.com>
> 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.





  reply	other threads:[~2022-05-11 11:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-05  2:37 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 Faerryn
2022-04-10  2:02 ` Jorge Israel Peña
2022-05-11  4:23 ` bug#52292: [PATCH] #52292 No Wayman
2022-05-11 11:17   ` Eli Zaretskii [this message]
2022-05-11 17:50     ` No Wayman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83a6bos4h5.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=52292@debbugs.gnu.org \
    --cc=alexandre.liao@gmail.com \
    --cc=iarchivedmywholelife@gmail.com \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.