GNU bug report logs - #70696
[PATCH] Autoload `re-disassemble'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ihor Radchenko <yantar92@HIDDEN>; Keywords: notabug patch wontfix; Done: Eli Zaretskii <eliz@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug closed, send any further explanations to 70696 <at> debbugs.gnu.org and Ihor Radchenko <yantar92@HIDDEN> Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) wontfix and notabug. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 70696 <at> debbugs.gnu.org:


Received: (at 70696) by debbugs.gnu.org; 4 May 2024 11:41:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 04 07:41:12 2024
Received: from localhost ([127.0.0.1]:53168 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s3DlQ-0004ex-GW
	for submit <at> debbugs.gnu.org; Sat, 04 May 2024 07:41:12 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57050)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1s3DlO-0004em-FX; Sat, 04 May 2024 07:41:11 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1s3Dku-0007Fw-F8; Sat, 04 May 2024 07:40:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=ySnkc1srwVrJdQVFHcv58D8dRNxfvokFBk5FQp8eY5U=; b=jk9bx4DlAOMI
 ahCVMtn2kh/MWBE34jWsSzPP6izJqqlPYU1JFFbdTJ2y4i9Hmw3QGKHFtrX15ldDWNlshT6meCtmh
 2cYD8QSVJWTLGmw3ISiREKbmWwnNTJYGPc2hPDX0z8ZOcNFjvKuMuBSZ+KmEWul6/TBMTA3SNZq0s
 PfKGmAh91aSj9xrh9WPhW/8bBxK+XvemOXdJHt9K/rSwgxH9wyx3AHz5ZvxEKOtcOevozF8i9OpQe
 rxDrjQ1xTojpA5sDxKv1Iq15cARsQeptZxjrvidzyxnTC16+HR+7XN2+d+eTeQURuxmNhD+LLJCZU
 WiyNEEyFoBo0DKRC5o6kEA==;
Date: Sat, 04 May 2024 14:40:37 +0300
Message-Id: <86y18pg5ze.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
In-Reply-To: <jwv4jbgb7nj.fsf-monnier+emacs@HIDDEN> (bug-gnu-emacs@HIDDEN)
Subject: Re: bug#70696: [PATCH] Autoload `re-disassemble'
References: <87o79pepov.fsf@localhost> <jwva5l8bb16.fsf-monnier+emacs@HIDDEN>
 <87ikzw9tnc.fsf@localhost> <jwv4jbgb7nj.fsf-monnier+emacs@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70696
Cc: yantar92@HIDDEN, 70696 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 70696 notabug wontfix
close 70696
thanks

> Cc: 70696 <at> debbugs.gnu.org
> Date: Thu, 02 May 2024 10:40:04 -0400
> From:  Stefan Monnier via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN>
> 
> > So, I tried to play around with this new function, attempting to see if
> > it can be of any use to simplify regular expressions. (Spoiler: alas, it
> > is not by itself useful, without knowing the internals of Emacs regexp
> > engine.)
> 
> Thanks.  That confirms my impression that it's useful only for people
> working on the regexp engine.

I guess this means we don't want to autoload this command, and I'm
therefore closing this bug as wontfix.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.

Message received at 70696 <at> debbugs.gnu.org:


Received: (at 70696) by debbugs.gnu.org; 2 May 2024 14:40:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 10:40:38 2024
Received: from localhost ([127.0.0.1]:44176 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2Xby-0006is-GC
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 10:40:38 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:52498)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1s2Xbv-0006il-BR
 for 70696 <at> debbugs.gnu.org; Thu, 02 May 2024 10:40:37 -0400
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 765201000D6;
 Thu,  2 May 2024 10:40:06 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1714660805;
 bh=UAzZ40DBkQ2nQkU9K0LUp6gV7M93C/M7zH9Ly+xlntI=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=pdBZveSlVviXljmzzFJirUJ/hiBiUPAiFA0hHc6oSAKJXMkQKOhIHs9iI6FHXhv5B
 nj+IEYRrmhqNFQIwnoMbqqNv18PmKqioj51u3Ow0x2f8EnrGoXfd19BLxifP+37EWk
 ZV5aZjx3zEIyin978N0kFOtIi32q9QXkeb6yn6LusWH6WireB8mT0Lf/cHNiULNq0/
 0qyMLkueOcB/KPDvYUDoTdG+9dN+nslQdqfi/I35XMGEIZswwCqWLXtjs6G7HF2Sfe
 1HuF11GQWGSBaskOuuS71aV5AzEKeLtcDFdEBQIocYZSFjNXclq6mjJ4L3m40WZkdN
 +o/hBeE0iOhQQ==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8A52B10005D;
 Thu,  2 May 2024 10:40:05 -0400 (EDT)
Received: from pastel (unknown [45.72.201.215])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 69D3E120682;
 Thu,  2 May 2024 10:40:05 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>
Subject: Re: bug#70696: [PATCH] Autoload `re-disassemble'
In-Reply-To: <87ikzw9tnc.fsf@localhost> (Ihor Radchenko's message of "Thu, 02
 May 2024 14:26:47 +0000")
Message-ID: <jwv4jbgb7nj.fsf-monnier+emacs@HIDDEN>
References: <87o79pepov.fsf@localhost> <jwva5l8bb16.fsf-monnier+emacs@HIDDEN>
 <87ikzw9tnc.fsf@localhost>
Date: Thu, 02 May 2024 10:40:04 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL 0.017 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70696
Cc: 70696 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> So, I tried to play around with this new function, attempting to see if
> it can be of any use to simplify regular expressions. (Spoiler: alas, it
> is not by itself useful, without knowing the internals of Emacs regexp
> engine.)

Thanks.  That confirms my impression that it's useful only for people
working on the regexp engine.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.

Message received at 70696 <at> debbugs.gnu.org:


Received: (at 70696) by debbugs.gnu.org; 2 May 2024 14:26:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 10:26:14 2024
Received: from localhost ([127.0.0.1]:44116 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2XO2-0006bA-FA
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 10:26:14 -0400
Received: from mout01.posteo.de ([185.67.36.65]:56399)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yantar92@HIDDEN>) id 1s2XNx-0006b4-ES
 for 70696 <at> debbugs.gnu.org; Thu, 02 May 2024 10:26:13 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 7B170240028
 for <70696 <at> debbugs.gnu.org>; Thu,  2 May 2024 16:25:41 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1714659941; bh=WXsQ8dyNFVGsxOxmx9oUpCpUU5lbLoY3KcgGYUg33eg=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=UOmSj5h9EuhXqncRJo3t9mdq92PiMYbaU7AZdcKW+n+eCEqcE5pkdwhZ3WbScBarL
 23CkstfsmGL0hQnyTgv2/aLXM6zsph7G54PiW+fj5ueHBmLzU5NwoFS1I6uYvnyUFq
 jT1qz2l5amDpmVgU/Kk2xtx8EZB6UbHleB2d7BRajkFj7ygo0ONduKgjBuz+vSYtJt
 GqfLX9FdqU1ity62dTrscTUh2wY+wA4hvKru817ZFxXXa+JJKsoQWMRcUQNaNIMKEJ
 a+l+GRaz7Z/Unp1Fw6XhGEp6p1N94w8Jv2oqPhsX2Yn1UA8PUi/SoIAg28+WAeV9LT
 gnLNvuuGxeZvA==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VVbnc1z4bz6twb;
 Thu,  2 May 2024 16:25:39 +0200 (CEST)
From: Ihor Radchenko <yantar92@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#70696: [PATCH] Autoload `re-disassemble'
In-Reply-To: <jwva5l8bb16.fsf-monnier+emacs@HIDDEN>
References: <87o79pepov.fsf@localhost> <jwva5l8bb16.fsf-monnier+emacs@HIDDEN>
Date: Thu, 02 May 2024 14:26:47 +0000
Message-ID: <87ikzw9tnc.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70696
Cc: 70696 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Stefan Monnier <monnier@HIDDEN> writes:

> The functionality was designed under the assumption that it's used for
> the benefit of those working on the regexp engine.
>
> AFAIK you're not working on the regexp engine (are you?), so I'm curious
> what you're using this function for: maybe it is more generally useful
> than we thought and it deserves to be less hidden.

I saw the NEWS entry:

    ** New function 're-disassemble' to see the innards of a regexp.
    If you compiled with '--enable-checking', you can use this to help debug
    either your regexp performance problems or the regexp engine.

and I noticed the "regexp performance" part, which Org mode sometimes
struggles with (we just had a bug report recently where the problem lies
with way too complex regexp that makes things slow)

So, I tried to play around with this new function, attempting to see if
it can be of any use to simplify regular expressions. (Spoiler: alas, it
is not by itself useful, without knowing the internals of Emacs regexp
engine.)

-- 
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>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.

Message received at 70696 <at> debbugs.gnu.org:


Received: (at 70696) by debbugs.gnu.org; 2 May 2024 13:28:56 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 09:28:56 2024
Received: from localhost ([127.0.0.1]:43803 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2WUa-0000TK-G0
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 09:28:56 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:52265)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <monnier@HIDDEN>) id 1s2WUX-0000TC-Hb
 for 70696 <at> debbugs.gnu.org; Thu, 02 May 2024 09:28:54 -0400
Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1])
 by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 446D3442794;
 Thu,  2 May 2024 09:28:25 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
 s=mail; t=1714656504;
 bh=fXaouszA5Glu8YfZednexYiQop3UEaIr2sg3ud9F/vg=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
 b=VLTAtM7Gxgp9BMjR3uwGh+TlPNjXEPDK2+caFRU4RB+HpCVBFO7ffScrcixAQQLlY
 qSs26SbUCFJZE41blAd1P27NXMWTx+J1m4wW78HVIxxHKahFm8/6Wngd5TO/wikg4y
 Jp43Of/AZdmnpyR37Hc/BuBSJmqf8xryDdPrVpjs4l5CIgBAwSl6NuAlfj1r9z1prN
 gtijZz7Su2+ReGaW/MGstvGHQ6147llewMOD7jDG/8BiYOVLq2wyRQwhWtVogqM/qH
 YXkkMJTKAD+f8LSGvfWQ+S735cfFRo5cHpdM2t9dGrLSxUjA81KoOR2aOqg/2f9vpL
 YbcYndc4OV+IQ==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
 by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 058514427DC;
 Thu,  2 May 2024 09:28:24 -0400 (EDT)
Received: from pastel (unknown [45.72.201.215])
 by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id D636112062C;
 Thu,  2 May 2024 09:28:23 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>
Subject: Re: bug#70696: [PATCH] Autoload `re-disassemble'
In-Reply-To: <87o79pepov.fsf@localhost> (Ihor Radchenko's message of "Wed, 01
 May 2024 11:28:48 +0000")
Message-ID: <jwva5l8bb16.fsf-monnier+emacs@HIDDEN>
References: <87o79pepov.fsf@localhost>
Date: Thu, 02 May 2024 09:28:23 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results:  0
 ALL_TRUSTED                -1 Passed through trusted hosts only via SMTP
 AWL -0.001 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain
X-SPAM-LEVEL: 
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70696
Cc: 70696 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> 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'.

The functionality was designed under the assumption that it's used for
the benefit of those working on the regexp engine.

AFAIK you're not working on the regexp engine (are you?), so I'm curious
what you're using this function for: maybe it is more generally useful
than we thought and it deserves to be less hidden.


        Stefan





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.

Message received at 70696 <at> debbugs.gnu.org:


Received: (at 70696) by debbugs.gnu.org; 2 May 2024 11:24:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 07:24:43 2024
Received: from localhost ([127.0.0.1]:43194 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2UYN-0007FQ-3U
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 07:24:43 -0400
Received: from mout02.posteo.de ([185.67.36.66]:36885)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yantar92@HIDDEN>) id 1s2UYK-0007FI-16
 for 70696 <at> debbugs.gnu.org; Thu, 02 May 2024 07:24:41 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 2D895240105
 for <70696 <at> debbugs.gnu.org>; Thu,  2 May 2024 13:24:12 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1714649052; bh=Dqc4PZMzqWGf7ykX5Z1h74KinxvJJ/cGm0/QfvOGbWQ=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 From;
 b=Y+7T/P3ZAuuThN+Di0tsEWdh4bdsQIhc4Q0hNFh/aeWT7CF8soQxxMcPTUbP8AkZQ
 BXvxHM7/aBsL68tnIlqt9fCRWMvaysBdsi5m54YZ0AJwo+KXQ97B2A26omPulwSgep
 WVbXSD4xzPrGT9FL3xe+62M/Grkqaj739EKhHiGoi3dNsyATsrCSDJG+loBpwyhmxM
 hVNoNI0BV5HGtZPmCkqMEkafT5+hT8yeUo3JbGxEKyyS+6Pg06gbE5jMolEFbq1lJZ
 mUpkOyXdssmMIwgipOs+Dok70WpYK9Pwljn2KlWb3z4f3uN30/45gaWPNTnplVzAkO
 vgyw1Raf+KZSg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VVWmB6FNGz6tvw;
 Thu,  2 May 2024 13:24:10 +0200 (CEST)
From: Ihor Radchenko <yantar92@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#70696: [PATCH] Autoload `re-disassemble'
In-Reply-To: <86jzkclavo.fsf@HIDDEN>
References: <87o79pepov.fsf@localhost> <86r0ekldxh.fsf@HIDDEN>
 <04C346A0-F2BC-499C-A7E0-7F526281F0BB@HIDDEN> <87h6fgbjac.fsf@localhost>
 <86jzkclavo.fsf@HIDDEN>
Date: Thu, 02 May 2024 11:25:21 +0000
Message-ID: <878r0sbgm6.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70696
Cc: mattias.engdegard@HIDDEN, monnier@HIDDEN,
 70696 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Eli Zaretskii <eliz@HIDDEN> writes:

>> AFAIK, these kinds of helper functions are usually defined in C code and
>> are available without any requires as long as Emacs is compiled with
>> right flags. Having to do (require 'disass) was a surprise - I had to
>> search Emacs sources.
>
> I wonder why it was a surprise.  I'm quite used to the fact that some
> functions and variables are not known until I load their package.  You
> seem to say that it never happens to you?  How come? Emacs has gobs of
> stuff that is not autoloaded, including commands and user options.

Not in general. I was surprised in the context of regexp-related
function. I generally have an expectation that regular expressions are
available out of the box, leading to assumption that debug functionality
for regular expressions will be available too.

That said, I am OK with either decision you make about this. It is just
_me_ who were surprised. If others are not, there is no reason to change
upstream to meet my intuition.

-- 
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>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.

Message received at 70696 <at> debbugs.gnu.org:


Received: (at 70696) by debbugs.gnu.org; 2 May 2024 11:19:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 07:19:44 2024
Received: from localhost ([127.0.0.1]:43172 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2UTY-0007Br-A4
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 07:19:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:40110)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1s2UTW-0007Bh-2m
 for 70696 <at> debbugs.gnu.org; Thu, 02 May 2024 07:19:43 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1s2UT3-0006yd-R6; Thu, 02 May 2024 07:19:14 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=8LamjwEezSJdpsPvuJbBFp598K7Om1qDFmkKcHWrVCo=; b=SjqNaUr66CvsoPxTXfXe
 IIQtWyo5XqLDDff7yp5d4pdOa5HkEp9FUwkuKyQ0ZqwFiDQ1erS4KnqFPTJO5NhC0CnAqV1YcFUbJ
 Q86wbEuDvrTGD2c0TC8TNnO46xVqB7CqYuBfvzOfxaI81YPIC7cvEIDxNh3qKCtj77OvkvjAm/bci
 JWbNboEFuqKlwl/IC6cbCfZKWOeqd3zB5t2CYIDisHwhWQtX9EjNtYagWlzlEmTrj4a6EG2OpnfJb
 Lfkh4k5ss4PGDHhUYdWWfZKhcZCg0osWos+DsRnXtTYFF/3L3/R9fIJuOM1KRx2Rt9lKOtIablmvo
 0FLe1JfsMIkU2Q==;
Date: Thu, 02 May 2024 14:19:07 +0300
Message-Id: <86jzkclavo.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <87h6fgbjac.fsf@localhost> (message from Ihor Radchenko on Thu,
 02 May 2024 10:27:39 +0000)
Subject: Re: bug#70696: [PATCH] Autoload `re-disassemble'
References: <87o79pepov.fsf@localhost> <86r0ekldxh.fsf@HIDDEN>
 <04C346A0-F2BC-499C-A7E0-7F526281F0BB@HIDDEN> <87h6fgbjac.fsf@localhost>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70696
Cc: mattias.engdegard@HIDDEN, monnier@HIDDEN,
 70696 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ihor Radchenko <yantar92@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>, 70696 <at> debbugs.gnu.org, Stefan Monnier
>  <monnier@HIDDEN>
> Date: Thu, 02 May 2024 10:27:39 +0000
> 
> "Mattias EngdegÄrd" <mattias.engdegard@HIDDEN> writes:
> 
> > (Ihor, see it like this: the fact that you want it conveniently accessible means that you are one of a select few who have a reason to use it, and cool enough to add your own local autoload.)
> 
> AFAIK, these kinds of helper functions are usually defined in C code and
> are available without any requires as long as Emacs is compiled with
> right flags. Having to do (require 'disass) was a surprise - I had to
> search Emacs sources.

I wonder why it was a surprise.  I'm quite used to the fact that some
functions and variables are not known until I load their package.  You
seem to say that it never happens to you?  How come? Emacs has gobs of
stuff that is not autoloaded, including commands and user options.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.

Message received at 70696 <at> debbugs.gnu.org:


Received: (at 70696) by debbugs.gnu.org; 2 May 2024 10:27:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 06:27:05 2024
Received: from localhost ([127.0.0.1]:42912 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2Teb-0006g1-Dl
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 06:27:05 -0400
Received: from mout01.posteo.de ([185.67.36.65]:33733)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yantar92@HIDDEN>) id 1s2TeZ-0006fd-Ul
 for 70696 <at> debbugs.gnu.org; Thu, 02 May 2024 06:27:04 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 2E62F240027
 for <70696 <at> debbugs.gnu.org>; Thu,  2 May 2024 12:26:35 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1714645596; bh=ahWxrZVXN1JyByEeQJUwjhrSCcO/+S8p+2j6aHo74ws=;
 h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
 Content-Transfer-Encoding:From;
 b=Ncr5wlE3hbRoBFz/dHoWSOvwPjnZeM1iKcs1oh3r/vNpAnFntl+lAKdv5qLKAPdAM
 ESh1xTDSct+86oyi4efd7hRaD/GyANIV5zzUoB4gT3ZNMGcZFqhqYMsV+iQYHQc6VZ
 i8eK/vEVJZaBDTjVwUyYN+NtNr9y/qk7z1CUrk8hAc17wAecuCSkczvjKWtMrbFXdQ
 tf/t3eywJiCekdHCeK/J/QvFMAGDBB/nMcDfSLaDLwIKk4HiUETZhle7RXHQI66YPD
 O1q4XyBXETKG7BGycZe0jTMuFOzO34B/nvbVyKm8njHm5/gmTPFmOy+tzdKJzhNf0x
 TwqWfynQuuL2A==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VVVTk44Q0z9rxN;
 Thu,  2 May 2024 12:26:34 +0200 (CEST)
From: Ihor Radchenko <yantar92@HIDDEN>
To: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= <mattias.engdegard@HIDDEN>
Subject: Re: bug#70696: [PATCH] Autoload `re-disassemble'
In-Reply-To: <04C346A0-F2BC-499C-A7E0-7F526281F0BB@HIDDEN>
References: <87o79pepov.fsf@localhost> <86r0ekldxh.fsf@HIDDEN>
 <04C346A0-F2BC-499C-A7E0-7F526281F0BB@HIDDEN>
Date: Thu, 02 May 2024 10:27:39 +0000
Message-ID: <87h6fgbjac.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70696
Cc: Eli Zaretskii <eliz@HIDDEN>, Stefan Monnier <monnier@HIDDEN>,
 70696 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

"Mattias Engdeg=C3=A5rd" <mattias.engdegard@HIDDEN> writes:

>>  This function is mainly intended for maintenance of Emacs itself
>>  and may change at any time.  It requires Emacs to be built with
>>  `--enable-checking'."
>>=20
>> So I'm not sure we want this auto-loaded.
>
> I don't think it's important to auto-load it either.
>
> (Ihor, see it like this: the fact that you want it conveniently accessibl=
e means that you are one of a select few who have a reason to use it, and c=
ool enough to add your own local autoload.)

AFAIK, these kinds of helper functions are usually defined in C code and
are available without any requires as long as Emacs is compiled with
right flags. Having to do (require 'disass) was a surprise - I had to
search Emacs sources.

--=20
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>




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.

Message received at 70696 <at> debbugs.gnu.org:


Received: (at 70696) by debbugs.gnu.org; 2 May 2024 10:22:10 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 06:22:10 2024
Received: from localhost ([127.0.0.1]:42885 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2TZq-0006dF-91
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 06:22:10 -0400
Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]:45536)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mattiasengdegard@HIDDEN>) id 1s2TZo-0006d9-4Q
 for 70696 <at> debbugs.gnu.org; Thu, 02 May 2024 06:22:08 -0400
Received: by mail-lj1-x22f.google.com with SMTP id
 38308e7fff4ca-2e0b2ddc5d1so45585461fa.3
 for <70696 <at> debbugs.gnu.org>; Thu, 02 May 2024 03:21:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1714645300; x=1715250100; darn=debbugs.gnu.org;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:subject:mime-version:from:sender:from:to:cc:subject
 :date:message-id:reply-to;
 bh=Nq/CB07TNoz2WeymfCXjnZeDKuP1xMC5HAx34RcsVPc=;
 b=je7EU87DCs2UIsYcfyd8DXsTL8WNYZ/OKa+80ONAe2RY3vY41Hc5Y/tFeEX4Qcelvq
 zPRf8b5B4lkUN6b9vPKN5YRY9EseXwAA8VCVR8zK2GUS6qRkzrSSg3AY0HmMpshbNYAg
 Azreheqtsrl2ERFmftMywpRFnR4NlJ3ZJ2i1sBJ4X2XDZU8rWJKXuY0kagRs8PyGeiH8
 3dd6akBLJeG4YNhG42c2gYwN+iq8YOfPihrwVKSZna0tlLk8776kfADpIKv0u/24YtxT
 fik/kMzAMWqCEHtwaMS2L1Ruet5DZs68MpgJoxORCikNAB2AL8KX2/GcF3Ysv3+xxBwG
 ragA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1714645300; x=1715250100;
 h=to:references:message-id:content-transfer-encoding:cc:date
 :in-reply-to:subject:mime-version:from:sender:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=Nq/CB07TNoz2WeymfCXjnZeDKuP1xMC5HAx34RcsVPc=;
 b=vFeBA4cASQghW+CIv66azHQqutUod4dZ4qcSpRoMH3Ch1sfGdocYC/uuWgqiipMcTJ
 /ES+9rOM6urQqN1/Jq5EClOaiB/r1pGCM1MV35sLCTVVQa79SHCOMpYAjgKfNuPnMQLn
 Qjg20FDT0G4b+wypzJXeuMkGK4hnxMIliCqvnIL7/A0JdNL4+q6EUs2IrdhzL6cVqmSQ
 FoqVWazCPnan+7DhASN3I6S0AotExzB2MAMqsJNb4zXLWRtmhCX+T8A4Q0VjxVa0yXvI
 yVjvnLz6nxEfkVLx3EcJ+GNiyxz4IFFFgogno+6auLuSjZduQL8VQh49UQsVH4d2tLbl
 17NQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCVPqymfpaeHF2c6P4FAJXNBfs8H2nfQSJxUl1EOnaUWcv6T9DG2VcjvpSJy7DeCeChPurnyOtU1NIXVlmULRUTUC88h/iE=
X-Gm-Message-State: AOJu0Yx+/mblfORiNBrcnW73JN+voxbVATKzE8Qnz+aDoAHXF+6jD3WH
 xEsbE3sI7cWm8PzepYfjWRYWDGHUcOQ0iljwwj/bepl807zJbpqT
X-Google-Smtp-Source: AGHT+IGx9Z9tFz6XMOvFu7YOvxOPvJBtAo4xRwK78CsUsFq6U/IiWbHJjv9K0TY1ipm9JxgnC/YVVQ==
X-Received: by 2002:a2e:3201:0:b0:2df:6cb8:c92f with SMTP id
 y1-20020a2e3201000000b002df6cb8c92fmr2755682ljy.23.1714645300002; 
 Thu, 02 May 2024 03:21:40 -0700 (PDT)
Received: from smtpclient.apple (c80-217-1-132.bredband.tele2.se.
 [80.217.1.132]) by smtp.gmail.com with ESMTPSA id
 q16-20020a2e9150000000b002e0ecdd9e8csm131088ljg.61.2024.05.02.03.21.39
 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 02 May 2024 03:21:39 -0700 (PDT)
From: "=?utf-8?Q?Mattias_Engdeg=C3=A5rd?=" <mattias.engdegard@HIDDEN>
X-Google-Original-From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= <mattiase@HIDDEN>
Content-Type: text/plain;
	charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\))
Subject: Re: bug#70696: [PATCH] Autoload `re-disassemble'
In-Reply-To: <86r0ekldxh.fsf@HIDDEN>
Date: Thu, 2 May 2024 12:21:39 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <04C346A0-F2BC-499C-A7E0-7F526281F0BB@HIDDEN>
References: <87o79pepov.fsf@localhost> <86r0ekldxh.fsf@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
X-Mailer: Apple Mail (2.3654.120.0.1.15)
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 70696
Cc: Ihor Radchenko <yantar92@HIDDEN>,
 Stefan Monnier <monnier@HIDDEN>, 70696 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

2 maj 2024 kl. 12.13 skrev Eli Zaretskii <eliz@HIDDEN>:

>  This function is mainly intended for maintenance of Emacs itself
>  and may change at any time.  It requires Emacs to be built with
>  `--enable-checking'."
>=20
> So I'm not sure we want this auto-loaded.

I don't think it's important to auto-load it either.

(Ihor, see it like this: the fact that you want it conveniently =
accessible means that you are one of a select few who have a reason to =
use it, and cool enough to add your own local autoload.)





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.

Message received at 70696 <at> debbugs.gnu.org:


Received: (at 70696) by debbugs.gnu.org; 2 May 2024 10:14:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 02 06:14:01 2024
Received: from localhost ([127.0.0.1]:42851 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s2TRw-0006YT-M5
	for submit <at> debbugs.gnu.org; Thu, 02 May 2024 06:14:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36390)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1s2TRo-0006YG-Nu
 for 70696 <at> debbugs.gnu.org; Thu, 02 May 2024 06:13:59 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1s2TRL-0003km-Nq; Thu, 02 May 2024 06:13:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=/wQwLk1dU1GfrzdIKCzRRaBcHoA6b3lw7nsfKLX3sqA=; b=fNiaa7otwubuO6pokZ89
 NiC1XRIeJR3jVAevD9DyaiVUxAS5ijF0274hJCuQK5srKVepfN2byfhUHhgRT8FeS1jrbJYQxF6Xg
 xUGcet9Ww2WrAhrX/1vqchOQu+GSX/2LjEyj99rT50KKH09H3fPrTlB2NCjxX1S70Xr7uIkUqokbv
 zNcSFOQVjfY1qjaO9+1hfHQ9h+0npMFwdljYg6y2Gzy6Ot+OrMv3/zF5IMIepEfSwSmQLtFk95yV5
 Zl99cHnvXlybEFyUqDY11RmIZzs3VUIgxJ9yFpaR3/0uJ13DYmyctLLNz9ulLgMFqDJH13rWccGiO
 jMaPwZRIuHO21Q==;
Date: Thu, 02 May 2024 13:13:14 +0300
Message-Id: <86r0ekldxh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>, Mattias =?utf-8?Q?Engdeg=C3=A5rd?=
 <mattiase@HIDDEN>
In-Reply-To: <87o79pepov.fsf@localhost> (message from Ihor Radchenko on Wed,
 01 May 2024 11:28:48 +0000)
Subject: Re: bug#70696: [PATCH] Autoload `re-disassemble'
References: <87o79pepov.fsf@localhost>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 70696
Cc: Stefan Monnier <monnier@HIDDEN>, 70696 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Ihor Radchenko <yantar92@HIDDEN>
> Date: Wed, 01 May 2024 11:28:48 +0000
> 
> 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'.

The doc string says:

  This function is mainly intended for maintenance of Emacs itself
  and may change at any time.  It requires Emacs to be built with
  `--enable-checking'."

So I'm not sure we want this auto-loaded.  Adding Mattias and Stefan
to the discussion.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 1 May 2024 11:28:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed May 01 07:28:14 2024
Received: from localhost ([127.0.0.1]:36954 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s288E-0008PQ-3G
	for submit <at> debbugs.gnu.org; Wed, 01 May 2024 07:28:14 -0400
Received: from lists.gnu.org ([2001:470:142::17]:49648)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <yantar92@HIDDEN>) id 1s288C-0008PI-CE
 for submit <at> debbugs.gnu.org; Wed, 01 May 2024 07:28:13 -0400
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 <yantar92@HIDDEN>)
 id 1s287l-0003Et-9u
 for bug-gnu-emacs@HIDDEN; Wed, 01 May 2024 07:27:45 -0400
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 <yantar92@HIDDEN>)
 id 1s287i-000661-EV
 for bug-gnu-emacs@HIDDEN; Wed, 01 May 2024 07:27:44 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout01.posteo.de (Postfix) with ESMTPS id 5203C240027
 for <bug-gnu-emacs@HIDDEN>; 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==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4VTvtg4Wt9z6tvw
 for <bug-gnu-emacs@HIDDEN>; Wed,  1 May 2024 13:27:39 +0200 (CEST)
From: Ihor Radchenko <yantar92@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: [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="=-=-="
Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@HIDDEN;
 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-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--=-=-=
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@HIDDEN>
From: Ihor Radchenko <yantar92@HIDDEN>
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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

--=-=-=--




Acknowledgement sent to Ihor Radchenko <yantar92@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#70696; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 4 May 2024 11:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.