From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 11:13:48 2021 Received: (at submit) by debbugs.gnu.org; 23 Feb 2021 16:13:49 +0000 Received: from localhost ([127.0.0.1]:60294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEaJo-0005lp-L5 for submit@debbugs.gnu.org; Tue, 23 Feb 2021 11:13:48 -0500 Received: from lists.gnu.org ([209.51.188.17]:53832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEaJn-0005lh-9A for submit@debbugs.gnu.org; Tue, 23 Feb 2021 11:13:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35216) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEaJm-0008FY-Vw for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 11:13:47 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:34657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lEaJk-00088k-Tj for bug-gnu-emacs@gnu.org; Tue, 23 Feb 2021 11:13:46 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E47995C004B for ; Tue, 23 Feb 2021 11:13:42 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 23 Feb 2021 11:13:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ddavis.io; h= from:to:subject:date:message-id:mime-version:content-type; s= fm1; bh=d7lGJbF2N7LLX9m2nxnU7KDDHbg3x/9w1WSF6bHhlvo=; b=QcfQXiCo K1V6qSufFnOpkiVYGacQCr7WMhfxqgSm5xlE2ChlYLzTE9Btyxb/yPHbZX5TzyWw 8GXMlVDY0c0jzNHyElqPG2L+g5GptNWzhrgPpN3Be5VqdmLL+CeY1pwhEyJILy7+ H2wB7SWe1Txoe+sX3MHnouc39+pa1SZGlXjOeBqT5HAjCbBcQ+DSWcTk94jcIvHL 89Skp+E0YKIR9UfQrAgOYKBy2yR+Tzhi2OGOrQJJRgo/q/RMjWSoSpMyfG7Efrx4 lPl3uvzuPzbDgDk++8an9ApMPisEA+PrprvUTcflDquZF6epixDNmNvjbY3mfSh1 OBoBSe7H63H2yQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=d7lGJbF2N7LLX9m2nxnU7KDDHbg3x /9w1WSF6bHhlvo=; b=OmJ8tmqp4lNveQxlDMa8fqi6d87YZG+XvHQDWJY4uQA7A TSB6+WL1XBFKBcWQmemNsQqJuA/bUX3tXDD4xiDgEB7hMZGvFyxAojefKgwPMu3R n+0VflLaDvASFkyYoSLozwvSesun+BtRzZzFkGKKlpYco4ILngIU4sG1wDpol/1e wuVh6wh0Z0znx3DCfUeWM6gOvYMu3RX9frOVTebFBB0IffvKWWfDxLJnwMaZTEvD 9x+5xsUq9JpGhnH0ql05OdRO+BvMDzD4MxGFgdclWdJs2RqkWcZy9xcWAH82U6E1 HHY7PIyQe2tUOBhZAjHKFEdtuE5DaShOI7/3qtTVA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrkeehgdekhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgfgggtsehmtderredtre dtnecuhfhrohhmpeffohhughcuffgrvhhishcuoeguuggrvhhishesuggurghvihhsrdhi oheqnecuggftrfgrthhtvghrnhepheekheduleeghedutedtueefhfduveffvdejteeigf dtkeeuvdduvdfggeffhfevnecukfhppedvgedrleekrdejiedrkedtnecuvehluhhsthgv rhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggurghvihhsseguuggrvh hishdrihho X-ME-Proxy: Received: from localhost (c-24-98-76-80.hsd1.ga.comcast.net [24.98.76.80]) by mail.messagingengine.com (Postfix) with ESMTPA id 51D4D24005C for ; Tue, 23 Feb 2021 11:13:42 -0500 (EST) From: Doug Davis To: bug-gnu-emacs@gnu.org Subject: [PATCH] Interactive tag byte compilation functions in emacs-lisp-mode Date: Tue, 23 Feb 2021 11:13:40 -0500 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=66.111.4.25; envelope-from=ddavis@ddavis.io; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) --=-=-= Content-Type: text/plain I've accidentally called `emacs-lisp-byte-compile-and-load' in buffers that are not emacs-lisp-mode (due to M-x completion history), this patch should fix that. There are a number of other interactive functions in elisp-mode.el, but the two functions patched here I think are obviously meant to be limited to emacs-lisp-mode. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Interactive-tag-byte-compilation-functions-in-emacs-.patch >From 871b01a62ea494b0d04fb744d2fc0f69f78ec2cc Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Tue, 23 Feb 2021 10:54:01 -0500 Subject: [PATCH] Interactive tag byte compilation functions in emacs-lisp-mode * lisp/progmodes/elisp-mode.el (emacs-lisp-byte-compile, emacs-lisp-byte-compile-and-load): add interactive tagging. --- lisp/progmodes/elisp-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 397eb269a7..20c7f20d04 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -182,14 +182,14 @@ emacs-lisp-mode-map (defun emacs-lisp-byte-compile () "Byte compile the file containing the current buffer." - (interactive) + (interactive nil emacs-lisp-mode) (if buffer-file-name (byte-compile-file buffer-file-name) (error "The buffer must be saved in a file first"))) (defun emacs-lisp-byte-compile-and-load () "Byte-compile the current file (if it has changed), then load compiled code." - (interactive) + (interactive nil emacs-lisp-mode) (or buffer-file-name (error "The buffer must be saved in a file first")) (require 'bytecomp) -- 2.30.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 11:47:10 2021 Received: (at 46721) by debbugs.gnu.org; 24 Feb 2021 16:47:10 +0000 Received: from localhost ([127.0.0.1]:35724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lExJd-0004mI-SG for submit@debbugs.gnu.org; Wed, 24 Feb 2021 11:47:10 -0500 Received: from quimby.gnus.org ([95.216.78.240]:44176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lExJb-0004gC-Kj for 46721@debbugs.gnu.org; Wed, 24 Feb 2021 11:47:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=B8IBKwAAEw2zh/bHETLAGnEqPB9sEdEsRvBPYjXnVsY=; b=XVUz2msD9zcpdix5RS5r+ezj4y tD4BRX1DuoYzehNwadL8Cfn7jXmpuv2xg/YzfS45Qt53VLpgTPH5XoMQXZ3xKhlKJKVOPJY0pCtZV GBlOs4DBn4kPKfvkr9y5n0zzk9j5IsTUjKCsy+R3DJmm+Er4qVh6viB3/t0qIc9qO1kQ=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lExJT-0005tt-Gz; Wed, 24 Feb 2021 17:47:01 +0100 From: Lars Ingebrigtsen To: Doug Davis Subject: Re: bug#46721: [PATCH] Interactive tag byte compilation functions in emacs-lisp-mode References: X-Now-Playing: Moor Mother & billy woods's _BRASS_: "Maroons feat. Imani Robinson & Amirtha Kidambi" Date: Wed, 24 Feb 2021 17:46:57 +0100 In-Reply-To: (Doug Davis's message of "Tue, 23 Feb 2021 11:13:40 -0500") Message-ID: <87pn0p76ri.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Doug Davis writes: > I've accidentally called `emacs-lisp-byte-compile-and-load' in buffers > that are not emacs-lisp-mode (due to M-x completion history), this patch > should fix that. There are a number of other inter [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 46721 Cc: 46721@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Doug Davis writes: > I've accidentally called `emacs-lisp-byte-compile-and-load' in buffers > that are not emacs-lisp-mode (due to M-x completion history), this patch > should fix that. There are a number of other interactive functions in > elisp-mode.el, but the two functions patched here I think are obviously > meant to be limited to emacs-lisp-mode. Thanks; applied to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 24 11:47:15 2021 Received: (at control) by debbugs.gnu.org; 24 Feb 2021 16:47:15 +0000 Received: from localhost ([127.0.0.1]:35727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lExJj-0004qv-6O for submit@debbugs.gnu.org; Wed, 24 Feb 2021 11:47:15 -0500 Received: from quimby.gnus.org ([95.216.78.240]:44190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lExJg-0004kB-MX for control@debbugs.gnu.org; Wed, 24 Feb 2021 11:47:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=H6PhRgTS6Z01l2LWo0XOtGLc6KMSPrZ+5yAdXLL0tpM=; b=gEnV1tFK+ITbhk8p5zRisrvT9H 5bjRMESVvB5YTlEZ8UsOO1I93z60dvbblCF8UfgEQ+xUEWEJ+guwnQpJCW1DAa2+keVVvqCQQ6Cn6 S5v62vMGSwdzJRq16mOJeVczOA3jZh4DKqZAx7GiEr07NT2l7NJd8qm92NHPJIz+5B0g=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lExJY-0005u4-Ow for control@debbugs.gnu.org; Wed, 24 Feb 2021 17:47:06 +0100 Date: Wed, 24 Feb 2021 17:47:03 +0100 Message-Id: <87o8g976rc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #46721 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 46721 fixed close 46721 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 46721 fixed close 46721 28.1 quit From unknown Sat Aug 09 22:09:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 25 Mar 2021 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator