GNU bug report logs -
#59793
29.0.60; subr.elc is not compiled correctly
Previous Next
Reported by: Feng Shu <tumashu <at> 163.com>
Date: Sat, 3 Dec 2022 07:26:02 UTC
Severity: normal
Tags: notabug
Found in version 29.0.60
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 59793 <at> debbugs.gnu.org (full text, mbox):
> From: Feng Shu <tumashu <at> 163.com>
> Date: Sat, 03 Dec 2022 15:24:55 +0800
>
> This week, I faced an issue about emacs-eat:
>
>
> eat-yank not work well: https://codeberg.org/akib/emacs-eat/issues/9
>
>
> -------------
> (defun eat-yank (&optional arg)
> "Same as `yank', but for Eat.
>
> ARG is passed to `yank', which see."
> (interactive "*P")
> (when eat--terminal
> (funcall eat--synchronize-scroll-function)
> (cl-letf* ((inhibit-read-only t)
> (insert-for-yank (symbol-function #'insert-for-yank))
> ((symbol-function #'insert-for-yank)
> (lambda (&rest args)
> (cl-letf (((symbol-function #'insert)
> (lambda (&rest args)
> (eat-send-string-as-yank
> eat--terminal
> (mapconcat (lambda (arg)
> (if (stringp arg)
> arg
> (string arg)))
> args "")))))
> (apply insert-for-yank args)))))
> (yank arg))))
> ---------
>
>
> After some test with author of emacs-eat, we find that config
>
> (require 'eat)
> (load "subr.el")
>
> work, while the below config do not work.
>
> (require 'eat)
> (load "subr.elc")
>
>
> we find that C-x C-e insert-for-yank and insert-for-yank-1 works too.
>
>
> so we think subr.elc is not compiled correctly, I use the below
> script to compile emacs, do not install and run ~/emacs/emacs29/src/emacs directly
Thanks, but what exactly "does not work" in the byte-compiled version of
subr.el? Do you have a recipe to reproduce the problem you see without
using emacs-eat? If so, please post such a recipe. Because from your
report, I don't see how to reproduce the problem and how to investigate it.
This bug report was last modified 1 year and 252 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.