From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#30223: 27.0.50; Arglist of advised but undefined functions missing Date: Tue, 17 Apr 2018 22:16:52 +0200 Message-ID: <87sh7th9l7.fsf@mouse.gnus.org> References: <874lndfl9d.fsf@tcd.ie> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1523996173 5758 195.159.176.226 (17 Apr 2018 20:16:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 17 Apr 2018 20:16:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 30223@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 17 22:16:09 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1f8X1N-0001PW-0S for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 22:16:09 +0200 Original-Received: from localhost ([::1]:60465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8X3T-0003IV-J6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Apr 2018 16:18:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f8X3G-0003GG-Kz for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 16:18:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f8X3D-0001u1-6e for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 16:18:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50048) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f8X3C-0001qO-O4 for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 16:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f8X3C-0000Rf-IJ for bug-gnu-emacs@gnu.org; Tue, 17 Apr 2018 16:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Apr 2018 20:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30223 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30223-submit@debbugs.gnu.org id=B30223.15239962231324 (code B ref 30223); Tue, 17 Apr 2018 20:18:02 +0000 Original-Received: (at 30223) by debbugs.gnu.org; 17 Apr 2018 20:17:03 +0000 Original-Received: from localhost ([127.0.0.1]:57945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8X2F-0000L5-Ef for submit@debbugs.gnu.org; Tue, 17 Apr 2018 16:17:03 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:38432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f8X2D-0000Ig-Dv for 30223@debbugs.gnu.org; Tue, 17 Apr 2018 16:17:01 -0400 Original-Received: from 46.67.12.60.tmi.telenormobil.no ([46.67.12.60] helo=corrigan) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1f8X2A-0005lW-H5; Tue, 17 Apr 2018 22:17:00 +0200 Original-Received: from larsi by corrigan with local (Exim 4.89) (envelope-from ) id 1f8X24-0002gk-Ie; Tue, 17 Apr 2018 22:16:52 +0200 In-Reply-To: <874lndfl9d.fsf@tcd.ie> (Basil L. Contovounesios's message of "Tue, 23 Jan 2018 00:53:50 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145519 Archived-At: "Basil L. Contovounesios" writes: > Steps to reproduce: > > 1. emacs -Q > 2. (advice-add 'some-funbound-sym :override #'ignore) > 3. C-h f some-funbound-sym RET > > This results in the *Help* buffer reporting: > > some-funbound-sym is . > > [Missing arglist. Please make a bug report.] > > Not documented. > > [back] > > which I presume is at least partially due to > > (get 'some-funbound-sym 'function-documentation) > => (advice--make-docstring 'some-funbound-sym) > > I wouldn't expect advised-but-undefined functions to have meaningful > documentation, but IMO the suggestion to make a bug report is > misleading, given that many users are likely to advise as-of-yet > undefined functions in their user-init-file. Yeah, this sounds like something that can happen commonly and there shouldn't be a "make a bug report" here. And describe-function should just say that it's a function that's not defined, but that there's a advice for the symbol, I think? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no