From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#57974: 2022-08-30; Enhancing help facility for function doc string Date: Fri, 23 Sep 2022 17:10:38 +0200 Message-ID: <87bkr65dox.fsf@gnus.org> References: <1509.1663752344@localhost> <871qs56iut.fsf@gnus.org> <6232.1663770080@localhost> <87czbn7jbh.fsf@gnus.org> <16872.1663860126@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="2334"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Ikumi Keita , 57974@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 23 17:11:17 2022 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 1obkKj-0000QB-Ga for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Sep 2022 17:11:17 +0200 Original-Received: from localhost ([::1]:49418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obkKi-00062D-El for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 23 Sep 2022 11:11:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obkKV-000623-5c for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2022 11:11:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42320) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obkKU-00056t-Sp for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2022 11:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1obkKU-0002bS-HH for bug-gnu-emacs@gnu.org; Fri, 23 Sep 2022 11:11: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: Fri, 23 Sep 2022 15:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57974 X-GNU-PR-Package: emacs Original-Received: via spool by 57974-submit@debbugs.gnu.org id=B57974.16639458549992 (code B ref 57974); Fri, 23 Sep 2022 15:11:02 +0000 Original-Received: (at 57974) by debbugs.gnu.org; 23 Sep 2022 15:10:54 +0000 Original-Received: from localhost ([127.0.0.1]:41398 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obkKL-0002b6-TA for submit@debbugs.gnu.org; Fri, 23 Sep 2022 11:10:54 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:37804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1obkKJ-0002at-OO for 57974@debbugs.gnu.org; Fri, 23 Sep 2022 11:10:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+MG3JibjTGiDgx7//TvtGDxFIp4qVQ/y+LwWq03qh/U=; b=jC45Q9hMSKKnhXU0J1OGBpBeDz Tu/pirHVaskspQXndJspu0YR9Ok0Ys3nC77GrCvzNPJmZ8drdzC+YC7WM8YIpFOvrzhAAkcV6PP4V uC8K8g3wq16oOLW+Gj7BjwVwV6fCmZlL82fOgPSALcIICktyPaok7NAghnKxk4ae9b9Q=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1obkK7-00031Q-3p; Fri, 23 Sep 2022 17:10:41 +0200 In-Reply-To: (Stefan Monnier's message of "Thu, 22 Sep 2022 12:47:37 -0400") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEVgGSeyTzTtni/s qkX80Vn///8TRdHCAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YJFw41Kr8DeQIAAAG9SURBVDjLlZPb ecMgDIUhXcDCGaAIBiiIBWy8/0w9EthO0qfqAX/Wz9EFhHPvRpxCJKLFef3cVlYJBeuPewjXmI/T Sqoka1VQmZkuUtZaAMIEHE4gJKIxALgBXMF2KhE5SMEh9ZbAHWMxkPaj3xLsDjWU+uN8lkPTrFPS dOkb+sjp0PR0pu/QEDnnOe/8mn6jSgZoJQX8vEAx4LDyaytbuIGR+KnwJ2hX8gFUEs7sPd8KlVxg z0eXD0BaFmfrfoBZV9DerbYPQABl8Vi3J9UPgGsOraPlV0VcO+v9J47uHaACWjyFvL0D1rEBIJZF qrtbt+kZu9qx3yD6qXcLkez3kVgKML/4wAZmpAhC5OHAePR9+A3QqtW6xT3aBewMfd5Jw7rnISfg MQ17BHGuNZF+na3OT2SrCn4pBswfU4t4FbAnBAaGgHCz/A3/2jHVCpivIemL1iRN0g3GvOGsWj+Q I2o7QyA6OTk2Mf8FkBoAo2X78W9An4e0Oenw1wnwpSRj3MT2s1b1qIKTHf4uCfvrVFT4mwIxS8ly ark6GDJN31YaobxwOt0W3mrBWX6dL0z3Q2GhIs2L+mOL+7/9Akkpkqnkksl9AAAAJXRFWHRkYXRl OmNyZWF0ZQAyMDIyLTA5LTIzVDE0OjUzOjQyKzAwOjAw1XiV6AAAACV0RVh0ZGF0ZTptb2RpZnkA MjAyMi0wOS0yM1QxNDo1Mzo0MiswMDowMKQlLVQAAAAASUVORK5CYII= X-Now-Playing: Kate Bush's _The Kick Inside_: "James And The Cold Gun" 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" Xref: news.gmane.io gmane.emacs.bugs:243467 Archived-At: Stefan Monnier writes: > I don't have a strong opinion either. I think the issue has more to do > about how to implement it (the info about advice is provided via the > same mechanism used for all kinds of other auxiliary info and is not > designed to distinguish those things that are more or less important, > it has a very limited flexibility right now). Today, I think the display is something along the lines of: --- func-A is a Lisp function in /tmp/foo.el. (func-A) doc string of A This function has :after advice: func-D. This function has :before advice: func-C. This function has :override advice: func-B. --- Moving the :override line to the start would be easy enough, but should perhaps also be rephrased to something like: --- This function has :override advice: func-B, so func-A isn't run at all, and the documentation below is possibly irrelevant. See the documentation to func-B instead. ---