From: Ihor Radchenko <yantar92@posteo.net>
To: 70696@debbugs.gnu.org
Subject: bug#70696: [PATCH] Autoload `re-disassemble'
Date: Wed, 01 May 2024 11:28:48 +0000 [thread overview]
Message-ID: <87o79pepov.fsf@localhost> (raw)
[-- Attachment #1: Type: text/plain, Size: 670 bytes --]
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'
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Autoload-re-disassemble.patch --]
[-- Type: text/patch, Size: 904 bytes --]
From 91ddb836b5e1594adf41f2658d4c07b053873f9d Mon Sep 17 00:00:00 2001
Message-ID: <91ddb836b5e1594adf41f2658d4c07b053873f9d.1714562831.git.yantar92@posteo.net>
From: Ihor Radchenko <yantar92@posteo.net>
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
[-- Attachment #3: Type: text/plain, Size: 224 bytes --]
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next reply other threads:[~2024-05-01 11:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-01 11:28 Ihor Radchenko [this message]
2024-05-02 10:13 ` bug#70696: [PATCH] Autoload `re-disassemble' Eli Zaretskii
2024-05-02 10:21 ` Mattias Engdegård
2024-05-02 10:27 ` Ihor Radchenko
2024-05-02 11:19 ` Eli Zaretskii
2024-05-02 11:25 ` Ihor Radchenko
2024-05-02 13:28 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-02 14:26 ` Ihor Radchenko
2024-05-02 14:40 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-05-04 11:40 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o79pepov.fsf@localhost \
--to=yantar92@posteo.net \
--cc=70696@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.