GNU bug report logs - #33723
26.1; function `byte-compile-file` use function `read` instead of the variable value of `load-read-function`

Previous Next

Package: emacs;

Reported by: Jingtao Xu <jingtaozf <at> gmail.com>

Date: Thu, 13 Dec 2018 11:18:02 UTC

Severity: wishlist

Found in version 26.1

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jingtao Xu <jingtaozf <at> gmail.com>
Cc: 33723 <at> debbugs.gnu.org
Subject: bug#33723: 26.1; function `byte-compile-file` use function `read` instead of the variable value of `load-read-function`
Date: Thu, 13 Dec 2018 15:51:07 +0200
> Date: Thu, 13 Dec 2018 19:17:17 +0800
> From: Jingtao Xu <jingtaozf <at> gmail.com>
> 
> But `byte-compile-file' will call `byte-compile-from-buffer' which will use function `read'
> instead of the gloal variable `load-read-function' when read emacs lisp forms.
> 
> So I think it should be a bug of function `byte-compile-from-buffer'.
> 
> Can you fix it in the future emacs version?

I think this is an enhancement request, because load-read-function is
documented to be relevant only to 'eval-region' and 'load', not to
'byte-compile'.

Thanks.




This bug report was last modified 3 years and 114 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.