From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: pcase documentation missing Date: Thu, 21 Feb 2019 14:21:34 +0000 Message-ID: References: <87o975y08h.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="248195"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 21 15:22:38 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwpFG-0012Sx-Fg for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2019 15:22:38 +0100 Original-Received: from localhost ([127.0.0.1]:32930 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwpFF-0007fj-Gx for ged-emacs-devel@m.gmane.org; Thu, 21 Feb 2019 09:22:37 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:45153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwpEU-0007eE-N8 for emacs-devel@gnu.org; Thu, 21 Feb 2019 09:21:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwpES-0005dc-Ia for emacs-devel@gnu.org; Thu, 21 Feb 2019 09:21:50 -0500 Original-Received: from [195.159.176.226] (port=38892 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gwpEP-0005X7-6A for emacs-devel@gnu.org; Thu, 21 Feb 2019 09:21:46 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gwpEM-00119I-D9 for emacs-devel@gnu.org; Thu, 21 Feb 2019 15:21:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:f1Try2WU/hQfV3Tzp773fnZn37A= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:233516 Archived-At: On Thu 21 Feb 2019, Stefan Monnier wrote: >> pcase.el is not loaded after starting emacs -Q, so what you see is the >> (static part of the) docstring from the autoload until you load the >> library, right? > > Hmm... I thought `C-h f` loaded the file nowadays when displaying the > docstring of an autoloaded function (at least I seem to remember that > we had to do it in order for \\{foo-mode-map} references to work). > > > Stefan That seems to be the problem. On the emacs-26 branch and master, from "emacs -Q" only the static docstring is shown. The dynamically generated part is only shown after (load-library "pcase") or (require 'pcase) or evaluating a pcase form. AndyM