From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Andrea Corallo Newsgroups: gmane.emacs.bugs Subject: bug#42010: 28.0.50; "You should byte-compile Gnus" message for natively compiled gnus.el Date: Mon, 22 Jun 2020 22:41:38 +0000 Message-ID: References: <87zh8u258r.fsf@ddavis.io> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="101102"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: 42010@debbugs.gnu.org To: Doug Davis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jun 23 00:42:10 2020 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 1jnV8k-000QDA-32 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 23 Jun 2020 00:42:10 +0200 Original-Received: from localhost ([::1]:59364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jnV8i-0007US-IV for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 22 Jun 2020 18:42:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jnV8c-0007Tt-39 for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2020 18:42:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jnV8b-0006wt-Pj for bug-gnu-emacs@gnu.org; Mon, 22 Jun 2020 18:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jnV8b-0004jh-JO; Mon, 22 Jun 2020 18:42:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Corallo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Mon, 22 Jun 2020 22:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42010 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 42010-submit@debbugs.gnu.org id=B42010.159286571018184 (code B ref 42010); Mon, 22 Jun 2020 22:42:01 +0000 Original-Received: (at 42010) by debbugs.gnu.org; 22 Jun 2020 22:41:50 +0000 Original-Received: from localhost ([127.0.0.1]:34858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnV8P-0004jD-P6 for submit@debbugs.gnu.org; Mon, 22 Jun 2020 18:41:49 -0400 Original-Received: from mx.sdf.org ([205.166.94.20]:65386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jnV8L-0004iy-7c for 42010@debbugs.gnu.org; Mon, 22 Jun 2020 18:41:48 -0400 Original-Received: from sdf.org (ma.sdf.org [205.166.94.33]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 05MMfdle017185 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO); Mon, 22 Jun 2020 22:41:39 GMT Original-Received: (from akrl@localhost) by sdf.org (8.15.2/8.12.8/Submit) id 05MMfcD5014103; Mon, 22 Jun 2020 22:41:38 GMT In-Reply-To: <87zh8u258r.fsf@ddavis.io> (Doug Davis's message of "Mon, 22 Jun 2020 16:52:04 -0400") 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:182294 Archived-At: Doug Davis writes: > When running `gnus' with a native compiled Emacs build a message is > reported in the minibuffer "You should byte-compile Gnus" and `sit-for' > is called. I'm not sure what check is possible to see if a function is > natively compiled, but perhaps it should be added to this logic in > gnus.el: > > (unless (byte-code-function-p (symbol-function 'gnus)) > (message "You should byte-compile Gnus") > (sit-for 2)) I'll admint that added to my undenaiable laziness I probably skiped this for so long cause was giving me a tiny satisfaction :) Should be fixed by: 801e19d0ba * lisp/gnus/gnus.el (gnus): Fix a check to handle native compilation. Thanks for the feedback Andrea -- akrl@sdf.org