From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' Date: Sat, 15 Aug 2020 16:22:40 +0200 Message-ID: <87d03skmz3.fsf@gmx.de> References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2966"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42753@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 15 16:23:31 2020 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 1k6x5m-0000gx-Ly for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Aug 2020 16:23:30 +0200 Original-Received: from localhost ([::1]:55156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k6x5l-00063W-HQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 15 Aug 2020 10:23:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35962) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k6x5K-00063Q-DP for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2020 10:23:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44538) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k6x5K-0008Vq-4G for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2020 10:23:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k6x5K-0007eP-01 for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2020 10:23:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Aug 2020 14:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42753 X-GNU-PR-Package: emacs Original-Received: via spool by 42753-submit@debbugs.gnu.org id=B42753.159750137629383 (code B ref 42753); Sat, 15 Aug 2020 14:23:01 +0000 Original-Received: (at 42753) by debbugs.gnu.org; 15 Aug 2020 14:22:56 +0000 Original-Received: from localhost ([127.0.0.1]:56084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6x5E-0007dq-Hj for submit@debbugs.gnu.org; Sat, 15 Aug 2020 10:22:56 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:36479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k6x5A-0007da-T5 for 42753@debbugs.gnu.org; Sat, 15 Aug 2020 10:22:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1597501362; bh=qpHyM0NtYYVXsq+tJUNi5Kxq1hWkGCXNvrwM3k9NJ5M=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=ZOvzKPGnr4LTBsOKi+pshHQgymRyPLA+9e3KwDn0gMjLpHJ41mDkeW1rBpV0w0pmh /+xCeUsQuiRTB6s39yMsbNj3PxfjccUt7rQk3My6jKnkDy1JkUGSPOvdsiEsTyo5hc zhKqNqu2WXdsSEdlEvTHaNlCD4pSz7rltgGuw5+M= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.63.243]) by mail.gmx.com (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MpUZ4-1kTskw0bfw-00ppof; Sat, 15 Aug 2020 16:22:42 +0200 In-Reply-To: <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> (Drew Adams's message of "Sat, 8 Aug 2020 07:28:34 -0700 (PDT)") X-Provags-ID: V03:K1:MAEshnwqcEHAWL5iyd8/uo4sExBnQPPsNSKILbMwcbkHgec129c fq0ZwpS1Xv1+IbkNYx26U19cgiQr8Ke96C7eXuy2ZixeDFPp6h/e95UZIHgbCY0fd61AXYj g4wABXY7cryMNtTUpK6x72jaX6PMo5eZZNkOyzgBRIRToHU+X6uB5mW4r2kpGb+HPbEzkoM 6COfm4bGiji+lakvG6q1A== X-UI-Out-Filterresults: notjunk:1;V03:K0:RgZpE5oNBGo=:WVbG0Wo1GcQ/W2UPXgEOQB J7yDhSIT8efb4BSAjbeMYyeTjk8nTNJWn1oXiOihQtS9I4QG8Y37GJqnbkkTC2916Q/xF9uvH zSsVvKc3p7Ofp3LlT2bGnln1kJQgOEbUDQBrINqmWGttvUitkqVloorWCEB1x22/8WisHEvSK WCkMWR/5MBF/APXP0DSUU41bsltYZ9QTAwKgv3DCWzCHkYV4IHn/j8ALgMzZbW0LpmKG/lrh8 s4tTaAcCDrKYjk7UQ2xbdc7/Owj6WL8GPalYU/uz2ncmvMznI5YNU34DS9yLrLUyOsww2uaKA KpT/z6a63sSauGIRxfiCkhE9adpiPxx7vwK9/dWt4Uiod9jHzMewZ201OS8KnNSRQlpg9PWb9 hH63l7hoQ/VNyRWMWsPNyKN2NehR6YmyyBYZKt1kNtlyOROWYyCAhOMIpH0wsBw4Y+nsnGwrM efx4dAYxEz/1QiyfOfMz4fHElbDU1ft7dgZzIJcJo4WVGw5zRFSP0Yq4/0i8bw2apTtCKl4h7 ZZxKA7q1vo25sHz+nPd4o48+xMm/9NPwaofl6KyvatYFOViYJBUgW/SZC1DSXnLsY7R4PCYZZ pkdq6EQ/Ea/HeyN39FEHHXKj8r6D7UU6a3HF6syfzLhgU4Qx7KMvrAkRDN0H5yJnzE5jcxaY/ 1ZgCeq7JsK4PRMQmVStswbbbiegPGbiog3NLgBQjcPFmBb+OA5IuyOO1IjdfGnb5/ZHbkD+yP DK+OM8DivCO9hT6kBzGTRDRHWUL5sLu6Sh897SGdChQcYLdYR39G2q2sutSBZWHvQ1llbwCl 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:185233 Archived-At: Drew Adams writes: Hi Drew, > ___ > > FWIW and IIUC, it's not really about "`C-h S' _in_ > emacs-lisp-mode". It's about Emacs-Lisp symbols in > manuals (indexes of manuals). The Dired-X manual, > for instance, is not at all about Emacs-Lisp mode. > > A separate info-lookup feature looks at the current > mode and takes it into account. IIUC, there's nothing > in info-look.el that requires or assumes that the > current mode determines the kind of things to look up. > > For example, a 3rd-party library that provides a link > for manual look-up when in `C-h f' *Help* (and there > are a few such libraries) does not make any use of the > current mode (which is `help-mode'). `C-h f' is about > Elisp functions, so the manuals to look in are those > that have entries for Elisp functions in one or more > indexes. > ___ > > And as I said in the bug report, I may misunderstand > but it seems like there is no easy/good way for a > user or library to simply extend the predefined > behavior to, say, cover another manual (whose index > has Elisp symbols). It seems like the behavior is > essentially chiseled in stone when info-look.el is > loaded - a once-and-for-all configuration of which > manuals to check. > > If I understand that correctly, then that's the real, > underlying bug that should be fixed (not just fix the > predefined list of manuals handled). If it were easy > to simply "add" a manual (e.g. Dired-X) to those > handling Elisp symbols then users and 3rd-party code > could do that. Similarly, for subtracting a manual etc. > > They could, themselves optimize (or not) any choice > or conditionalization of manual inclusion, and the > same for the regexps to use. > > IOW, a proper bug fix (IIUC what's happening) would > be to give users easy control over info-lookup > behavior. I'd be happy to learn that I'm mistaken > and that's already the case - and how to do that. > I didn't find it so. Tramp does this for its own symbols in tramp-integration.el, see block starting (with-eval-after-load 'info-look It's a little bit hacky; a more simple interface for self-registration would be appreciated. Best regards, Michael.