bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64226: 30.0.50; emacs-lisp-native-compile-and-load permission error


From: No Wayman
Subject: bug#64226: 30.0.50; emacs-lisp-native-compile-and-load permission error
Date: Thu, 22 Jun 2023 12:22:07 -0400
User-agent: mu4e 1.11.6; emacs 30.0.50


Eli Zaretskii <eliz@gnu.org> writes:

No, I don't think so, not with emacs-lisp-native-compile-and-load.
Andrea, am I right?

See comp-final:

        (with-temp-buffer
         (unwind-protect
             (if (zerop
                  (call-process (expand-file-name invocation-name
                                                  invocation-directory)
                                 nil t t "-no-comp-spawn" "-Q" "--batch" "-l"
                                temp-file))
                 (progn
                   (delete-file temp-file)
                   output)
                (signal 'native-compiler-error (list (buffer-string))))
           (comp-log-to-buffer (buffer-string))))))))


And you haven't answered my other question:

If, in "emacs -Q", you visit the source file, that is

  $HOME/.emacs.d/elpaca/builds/elpaca/elpaca.el

and then type

  M-: (native-compile buffer-file-name) RET

what file name do you see in the echo-area after the compilation
finishes?

The following file name is messaged with no error signaled:

"/home/n/.emacs.d/eln-cache/30.0.50-58a66af6/elpaca-0646d6fc-1256ece5.eln"







reply via email to

[Prev in Thread] Current Thread [Next in Thread]