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#68818: [PATCH] lisp/emacs-lisp/inline.el: Autoload public macros Date: Tue, 30 Jan 2024 19:03:36 +0000 Message-ID: <87h6iuve2f.fsf@localhost> References: <871q9zvtw0.fsf@localhost> <86cyti3ob3.fsf@gnu.org> <87sf2e23ie.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4584"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 68818@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 30 20:01:22 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 1rUtMH-00011V-Pn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 30 Jan 2024 20:01:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rUtLw-0000Qy-PZ; Tue, 30 Jan 2024 14:01:01 -0500 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 1rUtLp-0000Qk-IJ for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2024 14:00:54 -0500 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 1rUtLp-0008Cz-5G for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2024 14:00:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rUtLx-0002Lo-Pj for bug-gnu-emacs@gnu.org; Tue, 30 Jan 2024 14:01:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jan 2024 19:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68818 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 68818-submit@debbugs.gnu.org id=B68818.17066412238976 (code B ref 68818); Tue, 30 Jan 2024 19:01:01 +0000 Original-Received: (at 68818) by debbugs.gnu.org; 30 Jan 2024 19:00:23 +0000 Original-Received: from localhost ([127.0.0.1]:36767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUtLK-0002Ki-Te for submit@debbugs.gnu.org; Tue, 30 Jan 2024 14:00:23 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:51453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rUtLJ-0002KP-Gi for 68818@debbugs.gnu.org; Tue, 30 Jan 2024 14:00:22 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 64A4124002A for <68818@debbugs.gnu.org>; Tue, 30 Jan 2024 20:00:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706641206; bh=jNF/PCeI/NyFkVLfb7LzyueQGuVGnx9DY3/YC1G8VB8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=HIRFlIk6NXszMkPwsD4sjunT5FHMPg3QwyZrIuoHLE6iECRcdHYQcXKuVibVZf4Ev I6DfJYfOcl8MUL1yiQzDjNJGuwqqwo65gZyuBx59XLpydQ+eNG7Nxn4w4YmzhKzoOF i9QpH4HlNCBOp9tRpxAgwpxSgaoSIFIg7FQbtmLGdDJn/oKytyMsDrnSDoBXdGJC+o WxB7p/6uq33cPQAnW5oAf675/zIS2K8vXmVHUWj0AX8TDiAb49oQLnoC5kZXpXuQSX ytFIm4pv3NuhS48WVGiHgWcdQRLOb0YOMdzk14V4LWkNLpsPc1lVc9vI+4xr51bEUB BD7G2671GabRg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TPZH91nJYz9rxD; Tue, 30 Jan 2024 20:00:04 +0100 (CET) In-Reply-To: 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:279198 Archived-At: Stefan Monnier writes: >> But how does it know that a given (expr ...) is a macro call or a >> function call without loading the containing library? AFAIK, only >> autoloading can provide such information. > > The autoload of `define-inline` says that it's a macro, so I was > thinking that maybe when the indentation code see `define-inline` it > could `autoload-do-load`. That would make sense, yes. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at