From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: emacs-26: `with-eval-after-load' docstring omission Date: Fri, 13 Apr 2018 14:41:30 -0400 Message-ID: References: <827ed6de-fd90-144e-53dd-50163a937b63@gmail.com> <4e07d7b4-f1f7-0d5d-5f2a-b5e491ab4303@gmail.com> <35b3a8a6-6cf1-bb0b-c0b6-e8e25fa803fc@gmail.com> <171cd8bd-ea86-b8b0-2cbc-e9dcd04d8035@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1523644787 26868 195.159.176.226 (13 Apr 2018 18:39:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Apr 2018 18:39:47 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 13 20:39:43 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f73bq-0006rm-9A for ged-emacs-devel@m.gmane.org; Fri, 13 Apr 2018 20:39:42 +0200 Original-Received: from localhost ([::1]:45149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f73dw-0004PM-NU for ged-emacs-devel@m.gmane.org; Fri, 13 Apr 2018 14:41:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f73do-0004MU-7W for emacs-devel@gnu.org; Fri, 13 Apr 2018 14:41:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f73dk-0001ZU-88 for emacs-devel@gnu.org; Fri, 13 Apr 2018 14:41:44 -0400 Original-Received: from [195.159.176.226] (port=46414 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f73dk-0001YL-0x for emacs-devel@gnu.org; Fri, 13 Apr 2018 14:41:40 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1f73ba-0006Xj-Gw for emacs-devel@gnu.org; Fri, 13 Apr 2018 20:39:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:Z7SeM2cvf0mUdMXiKIwV2eeMMOQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224555 Archived-At: > The concrete issue stems from users copying a form from flycheck.el intto > their init file, without macro-expanding it. Of course, we can recommend > that users copy the macro-expanded version (the defvar + the function call) > — but that's not ideal, because not many of our users know how to do that > (macroexpand a form). And macroexpanding all uses in flycheck.el isn't an > option either. Ah, a social engineering problem. Sorry, you're talking to the wrong guy. > That would be nice. It would then be safe to do > > (with-eval-after-load > (with-lazy-macro-expansion > …)) > > right? That's right. Stefan