From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#49587: Where are links in describe-symbol minor-mode? Date: Sun, 17 Jul 2022 21:30:37 +0300 Organization: LINKOV.NET Message-ID: <86v8rv7ev6.fsf@mail.linkov.net> References: <87a6mngs5m.fsf@mail.linkov.net> <87fsj1p60g.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36019"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 49587@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 17 21:36:11 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 1oDA3n-00096K-1d for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Jul 2022 21:36:11 +0200 Original-Received: from localhost ([::1]:36912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oDA3m-0001zx-0M for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Jul 2022 15:36:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oDA3e-0001ze-Uc for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2022 15:36:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50842) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oDA3e-0002Co-Lw for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2022 15:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oDA3e-0006r3-FF for bug-gnu-emacs@gnu.org; Sun, 17 Jul 2022 15:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Jul 2022 19:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49587 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 49587-submit@debbugs.gnu.org id=B49587.165808650526258 (code B ref 49587); Sun, 17 Jul 2022 19:36:02 +0000 Original-Received: (at 49587) by debbugs.gnu.org; 17 Jul 2022 19:35:05 +0000 Original-Received: from localhost ([127.0.0.1]:48595 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDA2j-0006pR-6E for submit@debbugs.gnu.org; Sun, 17 Jul 2022 15:35:05 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:34391) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oDA2g-0006on-EW for 49587@debbugs.gnu.org; Sun, 17 Jul 2022 15:35:03 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 86D69240003; Sun, 17 Jul 2022 19:34:53 +0000 (UTC) In-Reply-To: <87fsj1p60g.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 16 Jul 2022 14:59:59 +0200") 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:237297 Archived-At: >> Another problem is that with 'C-h o' the same Help buffer is displayed twice >> that breaks some window-displaying commands. > > I'm not sure what can be done about that -- the `C-h o' function > basically just calls `C-h f' and `C-h v'. But what setups do they break > in practice? With a setup like this (push `("\\*Help\\*" display-buffer-same-window (inhibit-same-window . nil)) display-buffer-alist) M-x windmove-display-left RET C-h o dired-hide-details-mode RET the *Help* buffer is displayed in two windows. This is because of these lines in display-buffer-override-next-command: ;; Reset display-buffer-overriding-action ;; after the first display-buffer action (bug#39722). (funcall clearfun) In bug#39722 the same buffer was displayed in two tabs, so now display-buffer-overriding-action affects only the next display, and once the buffer is displayed, it resets the specified location of the window to the default location that is configured to the same window. Does `C-h o' really need to display the same buffer twice? BTW, I noticed that the generated docstring of define-minor-mode refers back to the help of both function/variable, whereas it should refer only to the variable: ``` diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el index c3a4e9fc7a..ab91c2bc37 100644 --- a/lisp/emacs-lisp/easy-mmode.el +++ b/lisp/emacs-lisp/easy-mmode.el @@ -91,7 +91,7 @@ easy-mmode--arg-docstring Disable the mode if ARG is a negative number. To check whether the minor mode is enabled in the current buffer, -evaluate `%s'. +evaluate the variable `%s'. The mode's hook is called both when the mode is enabled and when it is disabled.") ```