From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Knut Anders Hatlen Newsgroups: gmane.emacs.bugs Subject: bug#54437: 28.0.92; command-modes returns nil for native compiled functions Date: Thu, 17 Mar 2022 15:53:18 +0100 Message-ID: <87y218pr4x.fsf@dell.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15853"; mail-complaints-to="usenet@ciao.gmane.io" To: 54437@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 17 16:00:49 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nUrcP-0003ts-Gh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Mar 2022 16:00:49 +0100 Original-Received: from localhost ([::1]:43250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nUrcO-000367-IN for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 17 Mar 2022 11:00:48 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUrXn-0005ci-4S for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2022 10:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32810) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUrXm-0005HD-Eg for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2022 10:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nUrXl-0000Uh-OT for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2022 10:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Knut Anders Hatlen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Mar 2022 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54437 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16475289591889 (code B ref -1); Thu, 17 Mar 2022 14:56:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Mar 2022 14:55:59 +0000 Original-Received: from localhost ([127.0.0.1]:54940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUrXi-0000UP-Ja for submit@debbugs.gnu.org; Thu, 17 Mar 2022 10:55:58 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUrXg-0000UG-PE for submit@debbugs.gnu.org; Thu, 17 Mar 2022 10:55:57 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nUrXc-0005QC-5N for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2022 10:55:54 -0400 Original-Received: from [2a00:1450:4864:20::22d] (port=37788 helo=mail-lj1-x22d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nUrXa-0005FA-CT for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2022 10:55:51 -0400 Original-Received: by mail-lj1-x22d.google.com with SMTP id r22so7582028ljd.4 for ; Thu, 17 Mar 2022 07:55:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=U04L4zyvjgl1aVvioYTeZ7comZzjCqEQNxuq0TepBO8=; b=ZdW5MiG3zmXdsOmqrLckACvRhLoN6jmBIMgdeaxYzfzdt57/riZwQ1oVoTKDEbdqDq sT3l08hfC4tyQF7YFBkJwTHGmDtfRfctzj1aGBISCcEMeVp2Sq+i/FaHatccI/K5SChN tdnJJeAdjAIHpE+Bgn+72tDfnzaG6rKHIHThHJLrDPlB3loe+7AD0OzqYO3WhWykQ4M+ e8VfK5dnpiHICXDJtnaxF+3nSmiRoBx+SyuNXxmT5W8lNLPE8KfPAkyuUG3WmEtxaKmX GeQkvdEODsu3D+XOw1siBsbCEBaW7rBn2YM5JhwNT8EMW3ZFngOHgme5DtjsYoP/lXuB 7wig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=U04L4zyvjgl1aVvioYTeZ7comZzjCqEQNxuq0TepBO8=; b=WENHMES6RjUS3b8qkLtF5k2RS/9HuDoq9vM/rnPs0eaM4nq8VO1go80lbd0bB2diEE S7ToCCMvSOnduTND3bj2QWYnyauLVsRCJVpsEUWENwJbZ07Ec19zu8yQAR7ZtleG9Gok 3b9Uz+Ym8NNwHfPR43vnD0aArJS1c8NJwSg2xRRvNeW9hRERbw7wtzPKTzlA4EhS1XgW qlKuHu47OZ3uil/Mz/3gCwy2hcxjc/lRkVJ8sMbTj2lz5NeIYk5aOWcybmYDoeX9k6Yj hW4Yuy56Ss/36Dw7U4wucntx8XFfwqBwiypNHlwgQX+Y2XadeBd4JaUXwjnTL5eEpfdQ GPNw== X-Gm-Message-State: AOAM5316mz4ua5Pep0c2KTRH0NAg2aODuV/5XKlsYxKHRg/xozi39anQ +LN9hDl+4GCX3O5+dRibrOhzmLGJQg== X-Google-Smtp-Source: ABdhPJxr4dlI/E5lTLcSSF6Uhr+0Ts2gLeatHAbb4dh278qG4El5NopqNwj0jiQReGHW6EdYLV0c5g== X-Received: by 2002:a2e:988b:0:b0:249:5ddd:bd0d with SMTP id b11-20020a2e988b000000b002495dddbd0dmr2700335ljj.91.1647528947699; Thu, 17 Mar 2022 07:55:47 -0700 (PDT) Original-Received: from dell (227.92-220-171.customer.lyse.net. [92.220.171.227]) by smtp.gmail.com with ESMTPSA id t11-20020a2e9c4b000000b002464680d328sm455546ljj.88.2022.03.17.07.55.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 07:55:47 -0700 (PDT) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::22d (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::22d; envelope-from=kahatlen@gmail.com; helo=mail-lj1-x22d.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228485 Archived-At: 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) In GNU Emacs 28.0.92 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.24, cairo version 1.16.0) of 2022-03-16 built on dell Repository revision: 62e830c3d9f3a74c65309d1f8f18f45a7f065a9f Repository branch: emacs-28 Windowing system distributor 'The X.Org Foundation', version 11.0.12011000 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --with-native-compilation --with-json --with-xml2 --with-modules 'CFLAGS=-O2 -flto -march=native' LDFLAGS=-flto --prefix=/usr/local/stow/emacs' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: nn_NO.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source eieio eieio-core eieio-loaddefs password-cache json map text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch derived jka-compr help-fns radix-tree cl-print debug backtrace comp comp-cstr warnings subr-x rx cl-seq cl-macs cl-extra seq byte-opt gv bytecomp byte-compile cconv find-func help-mode cl-loaddefs cl-lib iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 95067 5497) (symbols 48 8235 3) (strings 32 23907 1513) (string-bytes 1 813611) (vectors 16 18711) (vector-slots 8 356569 13037) (floats 8 29 34) (intervals 56 294 0) (buffers 992 14))