From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 07 18:20:28 2020 Received: (at submit) by debbugs.gnu.org; 7 Aug 2020 22:20:28 +0000 Received: from localhost ([127.0.0.1]:57709 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4Aix-0001BH-N5 for submit@debbugs.gnu.org; Fri, 07 Aug 2020 18:20:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:44358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4Ait-0001B7-GD for submit@debbugs.gnu.org; Fri, 07 Aug 2020 18:20:26 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4Ait-0007c6-6x for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 18:20:23 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:44178) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k4Aiq-0007TS-5Z for bug-gnu-emacs@gnu.org; Fri, 07 Aug 2020 18:20:22 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 077M435G064436 for ; Fri, 7 Aug 2020 22:20:18 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=kLfeh7T4ZVO2DibjS1X6qMq5Y1Tia8M82Q1cv35lYG4=; b=BK1pSM6IwQEln6n78lem71LSZAvxfQmCt37/1Gjvf/uDG4jagdyJSW5rBeGT6LdgJfUW H+Mee1gfl58iwOf5RU1n5zlvxSTPFO2OCYqAKDVzEQroQbP9tRBm69tbWWzwPfBUvXOE 9YGKvBrhpCKfEsILGobhY++Ct3fRfPV937qHDUkPRlQHJKoFLfBm+kIsqs4dHl6waPfN kZrVQbo1FuB1Y3x3DvQPpXM+WNN+V8/aRDMy/xC7xWWuMfCBd666MB5m3ftScjbUaV5T vMU1yoAUh2UFXbhzUk6trNmhQpIHxCQC6+KV69wH7L4SZoty618mv8hHRQvigYhq7+ls bQ== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2130.oracle.com with ESMTP id 32r6gx2v9b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 07 Aug 2020 22:20:18 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 077Lx4Qs117241 for ; Fri, 7 Aug 2020 22:20:17 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3020.oracle.com with ESMTP id 32pdp1vtdx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 07 Aug 2020 22:20:17 +0000 Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 077MKGsu023326 for ; Fri, 7 Aug 2020 22:20:16 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 7 Aug 2020 15:20:15 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5017.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9706 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 spamscore=0 mlxscore=0 bulkscore=0 adultscore=0 phishscore=0 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008070150 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9706 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 spamscore=0 impostorscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 priorityscore=1501 phishscore=0 clxscore=1015 suspectscore=1 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008070150 Received-SPF: pass client-ip=156.151.31.86; envelope-from=drew.adams@oracle.com; helo=userp2130.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/07 16:38:19 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -63 X-Spam_score: -6.4 X-Spam_bar: ------ X-Spam_report: (-6.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Most of the manuals delivered with Emacs are missing from `info-look.el', for looking up Emacs-Lisp commands, non-interactive functions, options, and other variables. I believe that a fix for this is to replace the :doc-spec value here: (info-lookup-maybe-add-help :mode 'emacs-lisp-mode :regexp "[^][()`''',\" \t\n]+" :doc-spec '(;; Commands with key sequences appear in nodes as `foo' and ;; those without as `M-x foo'. ("(emacs)Command Index" nil "['`']\\(M-x[ \t\n]+\\)?" "['']") ;; Variables normally appear in nodes as just `foo'. ("(emacs)Variable Index" nil "['`']" "['']") ;; Almost all functions, variables, etc appear in nodes as ;; " -- Function: foo" etc. A small number of aliases and ;; symbols appear only as `foo', and will miss out on exact ;; positions. Allowing `foo' would hit too many false matches ;; for things that should go to Function: etc, and those latte= r ;; are much more important. Perhaps this could change if some ;; sort of fallback match scheme existed. ("(elisp)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(cl)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(cl)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)"))) with this :doc-spec value: '(;; Commands with key sequences appear in nodes as `foo' and ;; those without as `M-x foo'. ("(emacs)Command Index" nil "['`']\\(M-x[ \t\n]+\\)?" "[''= ]") ;; Variables normally appear in nodes as just `foo'. ("(emacs)Variable Index" nil "['`']" "['']") ;; Almost all functions, variables, etc appear in nodes as ;; " -- Function: foo" etc. A small number of aliases and ;; symbols appear only as `foo', and will miss out on exact ;; positions. Allowing `foo' would hit too many false matches ;; for things that should go to Function: etc, and those latter ;; are much more important. Perhaps this could change if some ;; sort of fallback match scheme existed. ("(elisp)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(info)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(efaq-w32)Indexes" nil "^ -+ .*: " "\\( \\|$\\)") ("(eintr)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(ccmode)Command and Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(ccmode)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(idlwave)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(octave-mode)Lisp Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(octave-mode)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(org)Command and Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(org)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(vhdl-mode)Command Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(vhdl-mode)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(eudc)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(emacs-gnutls)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(emacs-gnutls)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(gnus)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(mh-e)Command Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(mh-e)Option Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(message)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(newsticker)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(pgg)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(pgg)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(sasl)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(sasl)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(sc)Command Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(sc)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(sieve)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(tramp)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(tramp)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(autotype)Command Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(autotype)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(calc)Lisp Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(calc)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(dired-x)Command Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(dired-x)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(eieio)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(ert)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(eww)Lisp Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(eww)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(epa)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(epa)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(ediff)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(eshell)Function and Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(flymake)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(forms)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(htmlfontify)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(ido)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(pl-cvs)Function and Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(reftex)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(ses)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(srecode)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(semantic)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(speedbar)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(viper)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(viper)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(wisent)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(woman)Command Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(woman)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(auth)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(auth)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(cl)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(cl)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(dbus)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(mime)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(smtpmail)Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(url)Function Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(url)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") ("(widget)Index" nil "^ -+ .*: " "\\( \\|$\\)") ) That covers all of the manuals I get with `emacs -Q', which have indexes with entries for Emacs-Lisp commands, functions, options, and variables. Please do that, or something similar, so such symbols get picked up by `info-lookup'. I used the same order here as the manuals are presented in the top-level menu. You may want to change the order. Another possible change you might want to make is to use a value similar to the one for "(emacs)Command Index" for other "(...)Command Index" entries. ["(efaq-w32)Indexes" should probably be included conditionally, for MS Windows. And perhaps on other platforms `emacs -Q' gives a different set of manuals, so other adjustments could be made.] Note that `info-lookup' is used by 3rd-party libraries, so this will help them as well. It seems like there should be an easy way to just _add_ such missing entries after the fact, e.g., in a 3rd-party library. For example, I was thinking that perhaps `info-lookup-add-help' (without the `-maybe') would take care of that. But apparently not. While trying that I found I had to reset the various global values in `info-look.el' - once the alist and cache are defined there doesn't seem to be a way (already provided) to update them. `info-look.el' seems a bit monolithic, in this regard. But perhaps I'm missing something. In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor `Microsoft Corp.', version 10.0.18362 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 08 04:42:14 2020 Received: (at 42753) by debbugs.gnu.org; 8 Aug 2020 08:42:15 +0000 Received: from localhost ([127.0.0.1]:58030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4KQg-000876-Lu for submit@debbugs.gnu.org; Sat, 08 Aug 2020 04:42:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4KQf-00086t-Bu for 42753@debbugs.gnu.org; Sat, 08 Aug 2020 04:42:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43981) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k4KQZ-0005jV-L7; Sat, 08 Aug 2020 04:42:07 -0400 Received: from [176.228.60.248] (port=3776 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1k4KQY-0001gu-Lj; Sat, 08 Aug 2020 04:42:07 -0400 Date: Sat, 08 Aug 2020 11:42:01 +0300 Message-Id: <835z9t7cme.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-Reply-To: (message from Drew Adams on Fri, 7 Aug 2020 15:20:15 -0700 (PDT)) Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42753 Cc: 42753@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 7 Aug 2020 15:20:15 -0700 (PDT) > From: Drew Adams > > with this :doc-spec value: > > '(;; Commands with key sequences appear in nodes as `foo' and > ;; those without as `M-x foo'. > ("(emacs)Command Index" nil "['`']\\(M-x[ \t\n]+\\)?" "['']") > ;; Variables normally appear in nodes as just `foo'. > ("(emacs)Variable Index" nil "['`']" "['']") > ;; Almost all functions, variables, etc appear in nodes as > ;; " -- Function: foo" etc. A small number of aliases and > ;; symbols appear only as `foo', and will miss out on exact > ;; positions. Allowing `foo' would hit too many false matches > ;; for things that should go to Function: etc, and those latter > ;; are much more important. Perhaps this could change if some > ;; sort of fallback match scheme existed. > ("(elisp)Index" nil "^ -+ .*: " "\\( \\|$\\)") > ("(info)Index" nil "^ -+ .*: " "\\( \\|$\\)") > ("(efaq-w32)Indexes" nil "^ -+ .*: " "\\( \\|$\\)") > ("(eintr)Index" nil "^ -+ .*: " "\\( \\|$\\)") > ("(ccmode)Command and Function Index" nil "^ -+ .*: " "\\( \\|$\\)") > ("(ccmode)Variable Index" nil "^ -+ .*: " "\\( \\|$\\)") > [...] Wouldn't it make much more sense to make the :regexp attribute more specialized for the non-core manuals? AFAIU, your proposal will greatly slow down "C-h S" in emacs-lisp-mode, because of the need to scan many more indices, and for no good reason AFAICT. > ["(efaq-w32)Indexes" should probably be included conditionally, for MS > Windows. And perhaps on other platforms `emacs -Q' gives a different > set of manuals, so other adjustments could be made.] That would be sub-optimal, IMO, because questions specific to certain platforms can be asked and answered by people who run on other platforms. Instead, we should be more selective in the regexps that match symbols; for example, a symbol that starts with "w32-" should trigger search in efaq-w32 as well. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 08 10:28:48 2020 Received: (at 42753) by debbugs.gnu.org; 8 Aug 2020 14:28:48 +0000 Received: from localhost ([127.0.0.1]:59423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4Pq4-0001TS-5W for submit@debbugs.gnu.org; Sat, 08 Aug 2020 10:28:48 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:44932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k4Ppz-0001TB-68 for 42753@debbugs.gnu.org; Sat, 08 Aug 2020 10:28:46 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 078ESbrr061805; Sat, 8 Aug 2020 14:28:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=bUCVOsw3+ZF/n0coD7lJdWpOWSYC+5z9gGJE2UscwJo=; b=oaadUJUBv+MMCh55Q7bB4yvBaCgWZYRqbKNHVetHeAlAenlyIeu66/t0T0QHUmRLvqia SfjHKxYOrwl8okAXGtvUD/dGz6sDHvEcwv/+QYAn4EhCojfURG39WZGdXEtZU8o/z6h0 xfUl/+40LFttLGDTr0XsADDFRub8AXZHPj58Lgzio3kMH7LxTlrCkGZbWmLjhzB+vG82 BGXT2ha6qn4Z9UhpMg/jZp8444z1Tm7ZLbo/aijTJg1CSVqClsGqhIEZ9kdHOJVmSdlL 6pqEpKliepegxUvDSn+BnjzXZGcV9jrJJqf3ZgIydY+ueNxsM6rRomDNXJMLePU2nDWK 9Q== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2120.oracle.com with ESMTP id 32smpn11sw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 08 Aug 2020 14:28:37 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 078ES6g5117648; Sat, 8 Aug 2020 14:28:36 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3030.oracle.com with ESMTP id 32sh5r6gxd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 08 Aug 2020 14:28:36 +0000 Received: from abhmp0009.oracle.com (abhmp0009.oracle.com [141.146.116.15]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 078ESZUi013721; Sat, 8 Aug 2020 14:28:35 GMT MIME-Version: 1.0 Message-ID: <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> Date: Sat, 8 Aug 2020 07:28:34 -0700 (PDT) From: Drew Adams To: Eli Zaretskii , Drew Adams Subject: RE: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: <> <<835z9t7cme.fsf@gnu.org>> In-Reply-To: <<835z9t7cme.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5017.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9707 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 adultscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008080108 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9707 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 lowpriorityscore=0 bulkscore=0 impostorscore=0 phishscore=0 clxscore=1011 spamscore=0 malwarescore=0 adultscore=0 mlxlogscore=999 mlxscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008080108 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42753 Cc: 42753@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Wouldn't it make much more sense to make the :regexp attribute more > specialized for the non-core manuals? AFAIU, your proposal will > greatly slow down "C-h S" in emacs-lisp-mode, because of the need to > scan many more indices, and for no good reason AFAICT. >=20 > > ["(efaq-w32)Indexes" should probably be included conditionally, for MS > > Windows. And perhaps on other platforms `emacs -Q' gives a different > > set of manuals, so other adjustments could be made.] >=20 > That would be sub-optimal, IMO, because questions specific to certain > platforms can be asked and answered by people who run on other > platforms. Instead, we should be more selective in the regexps that > match symbols; for example, a symbol that starts with "w32-" should > trigger search in efaq-w32 as well. Feel free to make any such adjustments you feel are appropriate. I got into this because I discovered that functions etc. in the Dired-X manual weren't handled. ___ 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 15 10:22:56 2020 Received: (at 42753) by debbugs.gnu.org; 15 Aug 2020 14:22:56 +0000 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 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 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 From: Michael Albinus To: Drew Adams Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> Date: Sat, 15 Aug 2020 16:22:40 +0200 In-Reply-To: <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> (Drew Adams's message of "Sat, 8 Aug 2020 07:28:34 -0700 (PDT)") Message-ID: <87d03skmz3.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:MAEshnwqcEHAWL5iyd8/uo4sExBnQPPsNSKILbMwcbkHgec129c fq0ZwpS1Xv1+IbkNYx26U19cgiQr8Ke96C7eXuy2ZixeDFPp6h/e95UZIHgbCY0fd61AXYj g4wABXY7cryMNtTUpK6x72jaX6PMo5eZZNkOyzgBRIRToHU+X6uB5mW4r2kpGb+HPbEzkoM 6COfm4bGiji+lakvG6q1A== X-Spam-Flag: NO 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+OM8DivCO9hT6kBzGTRDRHWUL5sLu6Sh897SGdChQcYLdYR39G2q2sutSBZWHvQ1llbwCl8 Jcv+2PL0gJhCFWU4I0B4QSZFfVEsrOpS1IGCNMYKrsztYzgQ7c91CsOfkjcqkZ/dJruxoZuQw 9wgT9Gd3JZgX8zEfUp9CrEIUwGFenoJqF07yvH/8XA/PERfka4eju7zRvJKK46fYo+wB6Qt2t v/H3zemUZUjrqyh3U08ujbk2Au+d/UkepQ5ZuA5d82pLLbNgx9/6Vgb/FosCisInb0cahb7YD 1+J5Z69jU321MW0QqFJcH8fokEdVGQ0G2dOqVQL9ByrKByEWlbU+fAUEConcSvBiM8ngiwvTw vo/K7ec3LcmDeweWAzt7VBoV7Kvh1XnrBdBXchbDEjJVODGnJeMlQPA/nnKgLGBBOVsdpOQig v0gHyZOm+tYB0xPrcyFVOEsxsY8GxJwkOOctfrSsJMmm2wZPkEddlt65gzlzTe3vqEwl0xsWn h8qxjpO8X+SyQrfAZZph77JMm2GXl8R/cqjGoww== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42753 Cc: Eli Zaretskii , 42753@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 25 09:49:59 2020 Received: (at control) by debbugs.gnu.org; 25 Aug 2020 13:49:59 +0000 Received: from localhost ([127.0.0.1]:60836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAZKp-0001uG-13 for submit@debbugs.gnu.org; Tue, 25 Aug 2020 09:49:59 -0400 Received: from mail-yb1-f171.google.com ([209.85.219.171]:45730) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAZKm-0001tm-W3 for control@debbugs.gnu.org; Tue, 25 Aug 2020 09:49:57 -0400 Received: by mail-yb1-f171.google.com with SMTP id x2so7179041ybf.12 for ; Tue, 25 Aug 2020 06:49:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=YSW4f4GGLFcm/yhMIFnsgbvxNdZkJnR3dj8cbxcLngw=; b=LsQvQHtFRsHpYVsKDe4i9kMg6il5rkfqaf9bZQkaAvRtWlZlFSgt1R1+BVf/RcupQt p3V2mM8e13gCI9SvNAHqfD/5WEgp+bbHkgb/mY4p3YP+0JqkndvxaoEU7mFnnfn6LEfQ VeadfNDLFk6j8jVqtFdbvFKj689hBvCCanKhpBPGerMDlthYhWVzxQ9Ie1WkwlE6iQqB EShd25F+iAVzb8WC0IwO0Ync7J71TKo8PRMQwNYpyaarMKkgAUzWH4wbqlazKGOh3XsQ Df3Ziu9vt2C35UPfZI/L5RZLo0wx6+q9x996llEEk5J36XPFn1FY+C/VJ+qdRsDCMwmL PCKA== X-Gm-Message-State: AOAM530QL/Y4T4rbt1Tx3XVN5GfToA6wAZhluaSHDcZ9gY75HvmrMB4n uSggmTe+uBxXtjbwu31kbqQXQbdYpxPTUbbz7c5TL5zV X-Google-Smtp-Source: ABdhPJyAhHTNFY1HleC+gN5pe5ovZSMscIJ6ufN7mpgioi5rOkRNkG1c+2Z4i/lgxnow6zL4XBJ9oAn5uRUFf946jeQ= X-Received: by 2002:a25:9843:: with SMTP id k3mr14819318ybo.466.1598363391480; Tue, 25 Aug 2020 06:49:51 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Aug 2020 06:49:51 -0700 From: Stefan Kangas MIME-Version: 1.0 Date: Tue, 25 Aug 2020 06:49:51 -0700 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 2.5 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 42753 wishlist thanks Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.171 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.171 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 BLANK_SUBJECT Subject is present but empty 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.5 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 42753 wishlist thanks Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.219.171 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.219.171 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (stefankangas[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 BLANK_SUBJECT Subject is present but empty -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines 0.2 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and EnvelopeFrom freemail headers are different severity 42753 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 29 18:10:37 2021 Received: (at 42753) by debbugs.gnu.org; 29 Aug 2021 22:10:37 +0000 Received: from localhost ([127.0.0.1]:57623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKT0f-000316-4a for submit@debbugs.gnu.org; Sun, 29 Aug 2021 18:10:37 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKT0c-00030t-Sk for 42753@debbugs.gnu.org; Sun, 29 Aug 2021 18:10:35 -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:In-Reply-To:Date: References: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=iefkIimqnSn1dMiuJRDt/9Wrg0NsvobVsroSLXDLNJ8=; b=ZiYCdrVeNZUTkvM5kCrVsGpAHq FRQNX4xgI21m8X3mrTLLkQYMNuV9/ypt+XJ1SyEyJarg41cMZUBgVnBF+fuGRvFS7896YB+xyea9i M4YnOdPBS4JAEh/WBQSbF4DNOmSkHj0dCZEZQD7Eufy8Dp3aFVay8JW2gU9uOVmMdm40=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mKT0R-0004Xy-F0; Mon, 30 Aug 2021 00:10:27 +0200 From: Lars Ingebrigtsen To: Michael Albinus Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> <87d03skmz3.fsf@gmx.de> Date: Mon, 30 Aug 2021 00:10:21 +0200 In-Reply-To: <87d03skmz3.fsf@gmx.de> (Michael Albinus's message of "Sat, 15 Aug 2020 16:22:40 +0200") Message-ID: <87mtozc376.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Albinus writes: > (with-eval-after-load 'info-look > > It's a little bit hacky; a more simple interface for self-registration > would be appreciated. Yes, indeed. But looking at the code, it seems like the basic info-look infrastructure doesn't really want to support Eli's idea here. That is, for `emacs-lisp-mode', we want to register a bunch of re [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42753 Cc: Eli Zaretskii , 42753@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Michael Albinus writes: > (with-eval-after-load 'info-look > > It's a little bit hacky; a more simple interface for self-registration > would be appreciated. Yes, indeed. But looking at the code, it seems like the basic info-look infrastructure doesn't really want to support Eli's idea here. That is, for `emacs-lisp-mode', we want to register a bunch of regexps that map to different manuals (i.e., if the symbol starts with rmail, look in the rmail manual and so on), but there's just one regexp per mode. So it seems like a bigger rewrite is necessary here, unfortunately. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 09:37:03 2021 Received: (at 42753) by debbugs.gnu.org; 8 Oct 2021 13:37:03 +0000 Received: from localhost ([127.0.0.1]:49478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYq3b-0003z5-7Y for submit@debbugs.gnu.org; Fri, 08 Oct 2021 09:37:03 -0400 Received: from quimby.gnus.org ([95.216.78.240]:51014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYq3Y-0003yW-3D for 42753@debbugs.gnu.org; Fri, 08 Oct 2021 09:37:01 -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:In-Reply-To:Date: References: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=u90bHLYEjKkYwsu6AAJQHHLj/VvD8TbgOBBUT/1r4J8=; b=ZaF0j1ufMmhezeHf2IjPC1ZbSq wtmZ29q3mtZyGWjMqGD37WGaPj8McImteW2VNwGnUMkQFsLTo6Nb/qNahnEM71FyGqlgEXEZ5ZChI 6sFmabhNxupY7/QmSOHZcvToPQYgsigw9uqi2tbV5RvoRJL4ph0UKX+M1nuHI04fbOpI=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mYq3N-0002XH-Ud; Fri, 08 Oct 2021 15:36:52 +0200 From: Lars Ingebrigtsen To: Michael Albinus Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> <87d03skmz3.fsf@gmx.de> <87mtozc376.fsf@gnus.org> X-Now-Playing: Thomas Dolby's _The Flat Earth_: "Dissidents" Date: Fri, 08 Oct 2021 15:36:48 +0200 In-Reply-To: <87mtozc376.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 30 Aug 2021 00:10:21 +0200") Message-ID: <87pmsfprin.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Yes, indeed. But looking at the code, it seems like the basic info-look > infrastructure doesn't really want to support Eli's idea here. That is, > for `emacs-lisp-mode', we want to register a bunch [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42753 Cc: Eli Zaretskii , 42753@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Yes, indeed. But looking at the code, it seems like the basic info-look > infrastructure doesn't really want to support Eli's idea here. That is, > for `emacs-lisp-mode', we want to register a bunch of regexps that map > to different manuals (i.e., if the symbol starts with rmail, look in the > rmail manual and so on), but there's just one regexp per mode. > > So it seems like a bigger rewrite is necessary here, unfortunately. I've now made some headway here, and it basically works now for many of the "misc" manuals. The remaining problem is that there's not a standardised way to name the indices (eww has "lisp function index" instead of "function index", for instance), so I think I have to extend info-look with a way to get all the index nodes or something. Or rename the index nodes in the manuals to all follow the same naming conventions... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 10:02:48 2021 Received: (at 42753) by debbugs.gnu.org; 8 Oct 2021 14:02:48 +0000 Received: from localhost ([127.0.0.1]:51653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYqSW-0005D1-1L for submit@debbugs.gnu.org; Fri, 08 Oct 2021 10:02:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYqSU-0005Cf-Kj for 42753@debbugs.gnu.org; Fri, 08 Oct 2021 10:02:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40430) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYqSO-0002Ur-JA; Fri, 08 Oct 2021 10:02:40 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1507 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYqSG-00044A-P7; Fri, 08 Oct 2021 10:02:35 -0400 Date: Fri, 08 Oct 2021 17:02:12 +0300 Message-Id: <83tuhry5qz.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-Reply-To: <87pmsfprin.fsf@gnus.org> (message from Lars Ingebrigtsen on Fri, 08 Oct 2021 15:36:48 +0200) Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> <87d03skmz3.fsf@gmx.de> <87mtozc376.fsf@gnus.org> <87pmsfprin.fsf@gnus.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42753 Cc: 42753@debbugs.gnu.org, michael.albinus@gmx.de, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Lars Ingebrigtsen > Cc: Eli Zaretskii , 42753@debbugs.gnu.org, Drew Adams > > Date: Fri, 08 Oct 2021 15:36:48 +0200 > > Or rename the index nodes in the manuals to all follow the same naming > conventions... I think this alternative cannot fly, because many manuals are not under our control. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 10:33:25 2021 Received: (at 42753) by debbugs.gnu.org; 8 Oct 2021 14:33:25 +0000 Received: from localhost ([127.0.0.1]:51682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYqw9-0005xN-GX for submit@debbugs.gnu.org; Fri, 08 Oct 2021 10:33:25 -0400 Received: from mout.gmx.net ([212.227.15.19]:57359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYqw7-0005xB-P4 for 42753@debbugs.gnu.org; Fri, 08 Oct 2021 10:33:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1633703594; bh=siPjuLFLaPnKMCIo0NwXN/xUOhK6gMeufM18EoNjAm4=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=RdQvNk3Q6iOgKt+UFAtSaYZH6boL951xk2rJsVftlJG9xdgVHSSTY2d/blqc5SR/T i8XkvZrfOEfOYira0+5LZwwTHBgYBQRFqA70lmE8sGiTwRoT3dYJ5AClCLWTq6RlBh GkJDkHsUvIpbDBA67sYVUO91sLbBlJvM4el06IIw= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.242.152]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mo6v3-1n6pxy2LIR-00pbZt; Fri, 08 Oct 2021 16:33:13 +0200 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> <87d03skmz3.fsf@gmx.de> <87mtozc376.fsf@gnus.org> <87pmsfprin.fsf@gnus.org> <83tuhry5qz.fsf@gnu.org> Date: Fri, 08 Oct 2021 16:33:11 +0200 In-Reply-To: <83tuhry5qz.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Oct 2021 17:02:12 +0300") Message-ID: <87lf3337tk.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:1GFoWR2a5lQH7xauv4+cz4FGV3ksbiC1jSodypqiUnhrRSDkfs2 poqpcytGoTtrke9bobk2/4nBb7JCPK3+fAjQmGX7AOBM7RPRICvX4dYIMpb3mt3hljKSrPz BeKO7ExAYquBfDne0Uo5PQ4DHYI4Ujfqm62AHfowDysTXSQeuMACu9zIu39KEyqI6Azhy3k E1ooeet32gwxaqIVH7VmQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:yf+DMLKxeK4=:b+56m1uG/A+yS9CMy45f63 MkozEegL3S/AzHgO10LYAPezcBpGmb+ZGVb/0JQY98ICmtrpzD68T7/GUCaPn4CQCF8/b1k/q XvfN8p5zMyBhcSj5StzRRbZkCsZ2GwzviRHUpgW8Gg3Vz0mxNm6mhnTpFKbWmNyuIsidbptQA 89kXtvMXKeZfe56Zgbj/XT7fgGlB4FlTelKPYTRNEvovzT0cWy2kUfk3nYI1i+Bidq4wuYUoF BGo72fSPZ1mQ8dhqgNrczifsX4EMiky6vgDSKffAaU8lTHqoxg+eTWHI3O29Ixoc9ySo5lYuF I5v5Qp+sP7j2My6jCNTv0ECoTZzOcreRtUUhhvCCqXuFCdbbOxT97FKarbGTAe8SAokAAsHpA chm8fow/vcc1DiETeuhzJOAUJ3ncXrbnCjZHuYdWiJBBdKeGmKzf9VwPSR4ods+gZt0eEK/Zo ZimTO0RBzIKCpMJTLQhSx8O02sgRWMuUqP+fBrMWyKklv3Ofzw8pD+wnRQHF48KJZnJc81coV xPDtqFxaHx2uZkmOJVEbzzHpsKkXjB8HOaEHkkSn5nsDfxVxhEIkArR129P9yOqrcw8IYL1pO l5pb3KRnmQcuI6iFiA2AUlv6mtEBby8U0FcV5xtkPgt0tLU85tvjEDL/M6jclGsJ75IlNq3JU C8kHV9IoCtvhcUEYAB7TMrvszzcxIKzAGLv39kY6aNed6qzxv0SLF50G0mF7UBlLXqbpnnX+3 SqDWNQFD0VPg9xbtvT8FmXrtGQyyo/6bst7XwcK0uEPpS7Yvc27R2Ae07WzJvgvAguAxzo+U2 uqEc4tRZvRDyjwxdv9u7fm1nB6AWjjh0NIC3RIxWtW0auen/cpWVooFtHGiF93xInBWigGSvz KDEl4cJLbXwEjOkqtEqTHrAXTqQvvndHrm8+4AALQU5MCz6pG+aUQSe+aC17Wk7ybijCv+EdL /+JPX65MCwr4RTvN6Pf0r0WMilCmq4kBbzGdxixTmB47EfO3yqIw5DKfWM2/VTnHZtjuEy87Q GhSb9a70baejW8l3qbmH2POFssme+jei7XFt01EPUrEqI/xCCrp54r5mo0YrE1/F+DQGUxrFa sjCu9Yi0flW244= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42753 Cc: Lars Ingebrigtsen , 42753@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: >> Or rename the index nodes in the manuals to all follow the same naming >> conventions... > > I think this alternative cannot fly, because many manuals are not > under our control. They are integrated in the Emacs source tree, so we could negotiate with the maintainers. Even if we cannot change all manuals this way, the number of exceptions in info-lookup would decrease. I could start the discussion with the Tramp maintainer, I assume he is willing to change. Lars could discuss the eww and gnus cases, if needed :-) Of course, first we need to document the naming conventions. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 12:05:53 2021 Received: (at 42753) by debbugs.gnu.org; 8 Oct 2021 16:05:53 +0000 Received: from localhost ([127.0.0.1]:51794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYsNd-000208-1A for submit@debbugs.gnu.org; Fri, 08 Oct 2021 12:05:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYsNb-0001zw-8o for 42753@debbugs.gnu.org; Fri, 08 Oct 2021 12:05:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43566) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYsNV-0008Tb-9z; Fri, 08 Oct 2021 12:05:45 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1042 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYsNF-00024i-Cl; Fri, 08 Oct 2021 12:05:39 -0400 Date: Fri, 08 Oct 2021 19:05:08 +0300 Message-Id: <83pmsfy023.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-Reply-To: <87lf3337tk.fsf@gmx.de> (message from Michael Albinus on Fri, 08 Oct 2021 16:33:11 +0200) Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> <87d03skmz3.fsf@gmx.de> <87mtozc376.fsf@gnus.org> <87pmsfprin.fsf@gnus.org> <83tuhry5qz.fsf@gnu.org> <87lf3337tk.fsf@gmx.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42753 Cc: larsi@gnus.org, 42753@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: Lars Ingebrigtsen , 42753@debbugs.gnu.org, > drew.adams@oracle.com > Date: Fri, 08 Oct 2021 16:33:11 +0200 > > Eli Zaretskii writes: > > >> Or rename the index nodes in the manuals to all follow the same naming > >> conventions... > > > > I think this alternative cannot fly, because many manuals are not > > under our control. > > They are integrated in the Emacs source tree, so we could negotiate with > the maintainers. Even if we cannot change all manuals this way, the > number of exceptions in info-lookup would decrease. I meant the likes of Python manual, the glibc manual, and others. Good luck negotiating with them. And then there's always a possibility that the user will want to add some manual we know nothing about. I think a better solution will be to be tolerant, i.e. look for nodes that contain "index", and maybe also "function" or "variable", in them regardless of the rest. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 12:23:52 2021 Received: (at 42753) by debbugs.gnu.org; 8 Oct 2021 16:23:52 +0000 Received: from localhost ([127.0.0.1]:51804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYsf1-0002Pw-QM for submit@debbugs.gnu.org; Fri, 08 Oct 2021 12:23:52 -0400 Received: from mout.gmx.net ([212.227.15.15]:55641) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYsf0-0002Pi-1G for 42753@debbugs.gnu.org; Fri, 08 Oct 2021 12:23:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1633710220; bh=OK6x6DPtMTJlbFc/MKcWVrCFLYErlQVBmZrohWMHqCk=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=PFxXJE0/ibl7o9axrbRKXs+MxqbYUQSW44syFzO3XnibXzNnKQDV9i3DaZaweORep 6WESaMcgrTZEGIIc2LOSdYM/jWVg3F0Us+NBZkHipgLPwsBoPasPvheHViQYvpTV2i S0Nygr5f01rsH5XWnddNElclWUPNqwLZH3KPTBeU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from gandalf.gmx.de ([212.91.242.152]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mkpav-1n3WS43CAh-00mOBL; Fri, 08 Oct 2021 18:23:39 +0200 From: Michael Albinus To: Eli Zaretskii Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> <87d03skmz3.fsf@gmx.de> <87mtozc376.fsf@gnus.org> <87pmsfprin.fsf@gnus.org> <83tuhry5qz.fsf@gnu.org> <87lf3337tk.fsf@gmx.de> <83pmsfy023.fsf@gnu.org> Date: Fri, 08 Oct 2021 18:23:38 +0200 In-Reply-To: <83pmsfy023.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 08 Oct 2021 19:05:08 +0300") Message-ID: <878rz332ph.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:N9+GqHvpyQzn00wSEG8lM4wTJa1PxPx51dxF+BMahdoG/Y7lMNE NZDLAYTjPZfkKnpLbckuGBchQR81Z4s73HX6jNsT8hJYo/lNYjxb0cY77osMSMQO+Ta2tit vK/Z8pz93d/NhqpY50S+pSvTH/Vjc1x6KWCrub+LUvnyEnzmxSTLuy8ikseM3/WS39LBby1 UN1sM0uTOHKcp7HpzfXDw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Ad4qH0VKgzs=:C0tVpZsstMJcVBvvKX+vcK j1n/jWLTXOakWLAkoTTwaLVkmBfgcJhTZ7lK/px6g9fszVOngYTEqKoTsDsEUisseZirz2wjM g71tIcT1W+eJXTBJ+VhTDxe41E5D51xUcL6GTsmgG4/sTKCt61CCn3RyZ3P602BWjsScW/7lK q+qvwykwaT/lyTXgI8QRN+6ZXGsMPxnBGyIN7K/hq1zOZ5fC3bzt85MATNOumhIL/OWmHaxlC kJCDJRuEZLlNda5UUN8ddHcvf9k6BObOh7w8lnimyUzBkcZoMOS0iTZwrPOlaNO3VGjf2WIl6 qXOS6KvQ98768y6tuP86PMrLOEXlD3JcAAZsTlX6ajahe25WrGkoAIJENRjaVuYibUnevQhZ+ 8Je0o1U8jLLIn8wEnJwzT6vfZlyVzuS4Jrvb06ZAoT4ulv3nHCvNJekwxxqIHbfogxLCtz1xq JMX6kIdj92WEfN+Oqew2s6kizihEhor7UE9lEfLHxXabOAPtMYDQoFdNu7TS9QjUaCO6mOOpZ LCmXhs8rd8tDGKNFtEw1TYQ7ntzDru9uIMGcEmUjzQDOho3L82s2NGC1Ii6oDmIBxo47E7+Aq tWJkEI5Ecp3d3EspcQW22B7ssKcfcor3Q87INYydI09ypavOjlEVSI+arkDWRw2AGjlt8mLxH PGo9L5kA0k+ULAd20zV0GDh4cgOBUSsCkymUQPIbwpKENTVQ1Lfd2E04FSFhvy2b+9v6NwZIh AFLcwqvJKaMZZnljNNokhz5VVnhlZzFQ3FIisG9K9NAtZvjTk0gW4OeiCaD39R9oxtppnZlf+ E7N++WFEpmWd8/IUyFeLcYLNV0d7t0jijES4162IoabQyTLHH1Vw4mikWGYKv/sh15SLQmYxx JkYRZon4HKW7t0hoEYLll8BS7Zj0k/9Wbg35xHp3cKX5e8emytNteCy4rSczjA8X/Wz1xpMMN Q5tdLKEAcbtFVTkDZaAdUsqkS/bcg8N8PIC0mZmZroCyrskCtDBm7QRNuy1ovVoHw6hVrgboU 9apdjl7YI4m5LSZRzOJ5QLe1wsrqhYDihSvuoTXu0pXt9aDZJMNfNYKvcA10QEhAnjZUViGMB Krp29I1IBipv4U= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 42753 Cc: larsi@gnus.org, 42753@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Eli Zaretskii writes: Hi Eli, >> They are integrated in the Emacs source tree, so we could negotiate with >> the maintainers. Even if we cannot change all manuals this way, the >> number of exceptions in info-lookup would decrease. > > I meant the likes of Python manual, the glibc manual, and others. > Good luck negotiating with them. And then there's always a > possibility that the user will want to add some manual we know nothing > about. My reply was about Emacs integrated manuals. > I think a better solution will be to be tolerant, i.e. look for nodes > that contain "index", and maybe also "function" or "variable", in them > regardless of the rest. Sure. Same for *ELPA manuals. But I believe we also should use some conventions for manuals under our control. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 13:36:46 2021 Received: (at 42753) by debbugs.gnu.org; 8 Oct 2021 17:36:46 +0000 Received: from localhost ([127.0.0.1]:51840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYtnZ-0004Zg-Sb for submit@debbugs.gnu.org; Fri, 08 Oct 2021 13:36:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYtnM-0004ZE-LZ for 42753@debbugs.gnu.org; Fri, 08 Oct 2021 13:36:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49754) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYtnH-0003PD-AM; Fri, 08 Oct 2021 13:36:27 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2621 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYtnG-0007cN-SQ; Fri, 08 Oct 2021 13:36:27 -0400 Date: Fri, 08 Oct 2021 20:36:10 +0300 Message-Id: <83lf33xvud.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-Reply-To: <878rz332ph.fsf@gmx.de> (message from Michael Albinus on Fri, 08 Oct 2021 18:23:38 +0200) Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> <87d03skmz3.fsf@gmx.de> <87mtozc376.fsf@gnus.org> <87pmsfprin.fsf@gnus.org> <83tuhry5qz.fsf@gnu.org> <87lf3337tk.fsf@gmx.de> <83pmsfy023.fsf@gnu.org> <878rz332ph.fsf@gmx.de> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 42753 Cc: larsi@gnus.org, 42753@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Michael Albinus > Cc: larsi@gnus.org, 42753@debbugs.gnu.org, drew.adams@oracle.com > Date: Fri, 08 Oct 2021 18:23:38 +0200 > > > I think a better solution will be to be tolerant, i.e. look for nodes > > that contain "index", and maybe also "function" or "variable", in them > > regardless of the rest. > > Sure. Same for *ELPA manuals. But I believe we also should use some > conventions for manuals under our control. That should be a Good Thing regardless. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 09 07:17:17 2021 Received: (at 42753) by debbugs.gnu.org; 9 Oct 2021 11:17:17 +0000 Received: from localhost ([127.0.0.1]:52371 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZALt-0001WU-5k for submit@debbugs.gnu.org; Sat, 09 Oct 2021 07:17:17 -0400 Received: from quimby.gnus.org ([95.216.78.240]:60686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZALr-0001RS-EN for 42753@debbugs.gnu.org; Sat, 09 Oct 2021 07:17:16 -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:In-Reply-To:Date: References: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=iOB6zfWUPDJXRJUuS9oU2Wvx7Y/WD+iq3gsMvUiA+Wc=; b=HS0oAeogPO3mA/ZFvvTDDYe+mO XmEHMK90dmhrFoPsgmDS24bVZnz8HQVT81YL8hagl+gh7pfCoiq+49W66eFguMMyFk6Yu2qnBVoXU WsX83oFpjcmkx8f3ThCcv9qP/8CR2QkpYpnxLom2oPonDSSZzqKkEE9U+RrlD5S6e334=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZALi-0004n3-0Y; Sat, 09 Oct 2021 13:17:08 +0200 From: Lars Ingebrigtsen To: Michael Albinus Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> <87d03skmz3.fsf@gmx.de> <87mtozc376.fsf@gnus.org> <87pmsfprin.fsf@gnus.org> <83tuhry5qz.fsf@gnu.org> <87lf3337tk.fsf@gmx.de> <83pmsfy023.fsf@gnu.org> <878rz332ph.fsf@gmx.de> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUkHxswKiQVEhFf VFCilpD///85qtkRAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UKCQsPE7KWxUoAAAGxSURBVDjLrVTb kdwwDJN4DZDmFUBrG7BPbiBj919TAMqPZC/5yEw0s7uWAYIgZG8pY+n5KVae1bB+2UorLcC4KXH/ JtG+rRO/too77aHpfVmqQqH+CZgofSL6AFYFgAgRCTjHBTaK2mEGe4VbLb6agiCwgSaYoBo0sbd1 tflDRav516RBJc4H3jRbVRE3X0ZPcKwWE8gqc8Bk7EEux0+cI8SEmIp3c3Alhl0pIVUYBN1qkyuS TFAig+c07QbGPRBUAqpy1z4hCfghqJasjtl7347jsMIpJMVgEgWf1vcESkqlE+Aa/rETWKjCaNgE DSXcflBqIR85Rz4VzM6nedsHkI6v5yQ8bD82ADlJsLnUBF57R8lSOEieTHaL6r7D1rawwQCCcUT4 sXcgCxsPgK7p6lgvoPFDefoI/7R9R3MdbAAYgnG6bWmXbNzJ009/Xo5+bH0ZrccweeEtU1xOt6wY BG/mqMEcbRyVBBSDk68zSvRUyBjTHaRm+LUbKHwME3idFRLPi8bmNr1WHNR0S11A3zYA69c7cD0M 78D52kp5l/q2/ieQr27Jr9//Nuwv69+Bnw57ZtnpcaJwAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIx LTEwLTA5VDExOjE1OjE5KzAwOjAwnaRekAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMC0wOVQx MToxNToxOSswMDowMOz55iwAAAAASUVORK5CYII= X-Now-Playing: Throwing Muses's _Chains Changed_: "Finished" Date: Sat, 09 Oct 2021 13:17:04 +0200 In-Reply-To: <878rz332ph.fsf@gmx.de> (Michael Albinus's message of "Fri, 08 Oct 2021 18:23:38 +0200") Message-ID: <87ee8uphvz.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Michael Albinus writes: > My reply was about Emacs integrated manuals. My improvements here are only for the integrated Emacs, so we can edit them as we wish. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42753 Cc: Eli Zaretskii , 42753@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Michael Albinus writes: > My reply was about Emacs integrated manuals. My improvements here are only for the integrated Emacs, so we can edit them as we wish. But looking at this again today, I think the best solution here is to actually do the boring job to see what the index sections are actually called, and use that in the new info-look code, so I'll be doing that instead. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 09 08:45:59 2021 Received: (at 42753) by debbugs.gnu.org; 9 Oct 2021 12:45:59 +0000 Received: from localhost ([127.0.0.1]:52450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZBjj-0006GM-7f for submit@debbugs.gnu.org; Sat, 09 Oct 2021 08:45:59 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZBje-0006Fr-DF for 42753@debbugs.gnu.org; Sat, 09 Oct 2021 08:45:55 -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:In-Reply-To:Date: References: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=M6TVfA6kpxSNHc7BAv2/9I6be6YZpbAabJYS1eqyK6k=; b=Jus/VyoIfZmTY9kishNJ31UDjX qmXpP2krtguQ/7sVoqIs9b8mYHcpn+9DlbNlUXcp6KGe7i2AstQ/u93uwKoczVRBMIxEvWPTNA9vh xZ13A8WABAZPdbqzDqn5Zs4soOGevoKTVXqNa8FPBdRRGPLx0WLwjgvWDcXlx0tGeqGM=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZBjU-0005Qe-OP; Sat, 09 Oct 2021 14:45:47 +0200 From: Lars Ingebrigtsen To: Michael Albinus Subject: Re: bug#42753: 26.3; `info-lookup.el': Add all manuals delivered by `emacs -Q', for `emacs-lisp-mode' References: > <835z9t7cme.fsf@gnu.org>> <0d3dda22-b82e-47f0-a06d-5433ba2cf2b9@default> <87d03skmz3.fsf@gmx.de> <87mtozc376.fsf@gnus.org> <87pmsfprin.fsf@gnus.org> <83tuhry5qz.fsf@gnu.org> <87lf3337tk.fsf@gmx.de> <83pmsfy023.fsf@gnu.org> <878rz332ph.fsf@gmx.de> <87ee8uphvz.fsf@gnus.org> X-Now-Playing: Tom Robinson's _North by Northwest_: "Atmospherics" Date: Sat, 09 Oct 2021 14:45:44 +0200 In-Reply-To: <87ee8uphvz.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 09 Oct 2021 13:17:04 +0200") Message-ID: <87ily6nz7r.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > But looking at this again today, I think the best solution here is to > actually do the boring job to see what the index sections are actually > called, and use that in the new info-look code, so I' [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 42753 Cc: Eli Zaretskii , 42753@debbugs.gnu.org, drew.adams@oracle.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > But looking at this again today, I think the best solution here is to > actually do the boring job to see what the index sections are actually > called, and use that in the new info-look code, so I'll be doing that > instead. Now done, and boy was that boring. But `C-h S' now seems to work fine for all the misc manuals in Emacs. (Well, the ones I tested, at least.) Some of the manuals don't have index nodes, but perhaps that should be fixed. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 09 08:45:59 2021 Received: (at control) by debbugs.gnu.org; 9 Oct 2021 12:45:59 +0000 Received: from localhost ([127.0.0.1]:52452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZBjj-0006GU-Fy for submit@debbugs.gnu.org; Sat, 09 Oct 2021 08:45:59 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mZBjh-0006G3-Rr for control@debbugs.gnu.org; Sat, 09 Oct 2021 08:45:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WzDGa/J1UkDrP6JDzGS0/b1UDHdHtP8nZWQ8AxlugsY=; b=dhvvK/ngNKCp50wIZ8Z643V13K jWWnN1tdjB+eOV9AYGDdfVwkAfJtpwyTbu4PTWpwDfOnDHHTfB3qSDW8QA8H4NgWpUyUw+efGtu9h VfrL0EzMtWAlXOPyngUXr8qdopoVFr1lURDzmzFKu8IW3Ts1ja4WZmOOjZoLq5qo3PYU=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mZBja-0005Qn-24 for control@debbugs.gnu.org; Sat, 09 Oct 2021 14:45:52 +0200 Date: Sat, 09 Oct 2021 14:45:49 +0200 Message-Id: <87h7dqnz7m.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #42753 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 42753 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 42753 29.1 quit From unknown Tue Jun 17 01:27:58 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 07 Nov 2021 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator