From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#70696: [PATCH] Autoload `re-disassemble' Date: Wed, 01 May 2024 11:28:48 +0000 Message-ID: <87o79pepov.fsf@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30288"; mail-complaints-to="usenet@ciao.gmane.io" To: 70696@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 01 13:29:11 2024 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 1s2898-0007eX-VT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 01 May 2024 13:29:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s288h-0003KH-IQ; Wed, 01 May 2024 07:28:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s288f-0003K0-Eh for bug-gnu-emacs@gnu.org; Wed, 01 May 2024 07:28:41 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s288f-00068o-6a for bug-gnu-emacs@gnu.org; Wed, 01 May 2024 07:28:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2890-0008Pn-11 for bug-gnu-emacs@gnu.org; Wed, 01 May 2024 07:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 May 2024 11:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70696 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171456289432332 (code B ref -1); Wed, 01 May 2024 11:29:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 May 2024 11:28:14 +0000 Original-Received: from localhost ([127.0.0.1]:36954 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s288E-0008PQ-3G for submit@debbugs.gnu.org; Wed, 01 May 2024 07:28:14 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:49648) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s288C-0008PI-CE for submit@debbugs.gnu.org; Wed, 01 May 2024 07:28:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s287l-0003Et-9u for bug-gnu-emacs@gnu.org; Wed, 01 May 2024 07:27:45 -0400 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s287i-000661-EV for bug-gnu-emacs@gnu.org; Wed, 01 May 2024 07:27:44 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5203C240027 for ; Wed, 1 May 2024 13:27:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1714562860; bh=OIQ9GV6caytiaRRWmoli8RBSAgHUVhQdP9HkG7DrDAk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type:From; b=mKCVKnECLR0P8U2dSDkOz0jAWCi6gYB+ADxWbchnaRIWfgnBc4TrENHqGUehBWSUM dxF/FuKCwd4byzrZV6Hpap89qy4Wa4e7l4B/lwsIQUc0+X6GGlzjE3RpdJRsSg/0JE G9UDWjB2j8rJibcTfZuWw+t/kBEII1UbtGsL5PgJpqex/dry5TIeceL3gGgJlLwwSU nxdJNhTp926cz5wJgp6ehhHo3HT7XxEqJf2Nyr47fWUZHOFyTjGzNarY58c54kUgVo rJEfJd7/ittL4MKu34fC1NfKizDze1iFhIfcuTtTbHUzy4SOSRWdAIGvpL6JF1+xBo zYvA9rAQv6G+g== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VTvtg4Wt9z6tvw for ; Wed, 1 May 2024 13:27:39 +0200 (CEST) Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284244 Archived-At: --=-=-= Content-Type: text/plain Tags: patch Hi, I have recently discovered a new `re-disassemble' command while reading NEWS. However, the command is not available by default - one needs to (require 'disass). I think it should be autoloaded, just like another function in disass.el - `disassemble'. In GNU Emacs 30.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) of 2024-05-01 built on localhost Repository revision: cde58b309588008707cc8b00919eb24801e42eb6 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101013 System Description: Gentoo Linux Configured using: 'configure --enable-checking=yes,glyphs CFLAGS=-g3' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Autoload-re-disassemble.patch >From 91ddb836b5e1594adf41f2658d4c07b053873f9d Mon Sep 17 00:00:00 2001 Message-ID: <91ddb836b5e1594adf41f2658d4c07b053873f9d.1714562831.git.yantar92@posteo.net> From: Ihor Radchenko Date: Wed, 1 May 2024 14:26:09 +0300 Subject: [PATCH] Autoload `re-disassemble' * lisp/emacs-lisp/disass.el (re-disassemble): Autoload the command to make it more discoverable. --- lisp/emacs-lisp/disass.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el index 60881ab176b..8a4d2f6ffb9 100644 --- a/lisp/emacs-lisp/disass.el +++ b/lisp/emacs-lisp/disass.el @@ -292,6 +292,7 @@ disassemble-1 (insert "\n"))))) nil) +;;;###autoload (defun re-disassemble (regexp &optional case-table) "Describe the compiled form of REGEXP in a separate window. If CASE-TABLE is non-nil, use it as translation table for case-folding. -- 2.44.0 --=-=-= Content-Type: text/plain -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at --=-=-=--