[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54437: 28.0.92; command-modes returns nil for native compiled functi
From: |
Eli Zaretskii |
Subject: |
bug#54437: 28.0.92; command-modes returns nil for native compiled functions |
Date: |
Thu, 17 Mar 2022 19:53:04 +0200 |
> From: Knut Anders Hatlen <kahatlen@gmail.com>
> Date: Thu, 17 Mar 2022 15:53:18 +0100
>
>
> With Emacs built with --with-native-compilation, command-modes appear to
> return nil for native compiled functions:
>
> (progn
> (load "help-mode")
> (command-modes 'help-view-source))
> => nil
>
> When the function is interpreted or byte-compiled, it returns the
> expected result:
>
> (progn
> (load "help-mode.el")
> (command-modes 'help-view-source))
> => (help-mode)
>
> (progn
> (load "help-mode.elc")
> (command-modes 'help-view-source))
> => (help-mode)
Obviously, command-modes doesn't consider natively-compiled functions,
but even if it did, it sounds like the information is lost at some
point, even with loading *.el and *.elc files:
(progn
(load "help-mode.elc")
(interactive-form 'help-view-source))
=> (interactive nil)
Shouldn't interactive-form return the 3rd element as well?
Andrea, can you please look at this? This is about the Emacs 28
pretest, so it's quite urgent. TIA.
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, (continued)
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Lars Ingebrigtsen, 2022/03/17
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Lars Ingebrigtsen, 2022/03/19
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Eli Zaretskii, 2022/03/19
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Andrea Corallo, 2022/03/19
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Lars Ingebrigtsen, 2022/03/19
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Andrea Corallo, 2022/03/20
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Lars Ingebrigtsen, 2022/03/20
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Andrea Corallo, 2022/03/21
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Lars Ingebrigtsen, 2022/03/21
- bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Knut Anders Hatlen, 2022/03/19
bug#54437: 28.0.92; command-modes returns nil for native compiled functions,
Eli Zaretskii <=
bug#54437: 28.0.92; command-modes returns nil for native compiled functions, Andrea Corallo, 2022/03/17