From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: dalanicolai Newsgroups: gmane.emacs.devel Subject: Re: Search multiple Info-buffers at once with Info-occur function Date: Sun, 23 May 2021 10:56:17 +0200 Message-ID: References: <83cztij5ky.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000f72a7a05c2fb77cd" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39005"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 23 10:57:35 2021 Return-path: Envelope-to: ged-emacs-devel@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 1lkjvT-0009v7-GQ for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 10:57:35 +0200 Original-Received: from localhost ([::1]:48672 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkjvS-000819-Fd for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 04:57:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkjua-0007KI-47 for emacs-devel@gnu.org; Sun, 23 May 2021 04:56:41 -0400 Original-Received: from mail-vs1-xe2c.google.com ([2607:f8b0:4864:20::e2c]:33606) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkjuQ-0000UW-AR; Sun, 23 May 2021 04:56:37 -0400 Original-Received: by mail-vs1-xe2c.google.com with SMTP id f11so12677915vst.0; Sun, 23 May 2021 01:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uB0DumkKGL0jDl8Sz1/GHs5rcymRqafLjItCrMPlZfE=; b=uWr49XlprVWhD3VWSyGbbPKrW0aLJqcT7ULbtGISjI74ZyWjKGQ25T8W2Si/nOcSwt t/AkHncpkO6/7qQxDRcpcm1ybJMkM1a+h0rA3y16h5MlHwYRhNTj0sid/l+FvkndyIXh XOoz3jfGI0oDj01sBqf4OJpd77UjUqc1HHRUuW/v3BnEU7C67j+m479ehhaMwlP9H5s8 vHopXf7R1zF269pxVcCiHkREX4Uw3KaezBfbKzxsoVMtpXAD2dd0uG0SRREzyedIHDwB ggLAuXzIhJBsg5jsWh+324xqYg12+h5hFpX3HdVfJcEk76JFhwl7CtaVHZwb9W6SOOmZ pKOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=uB0DumkKGL0jDl8Sz1/GHs5rcymRqafLjItCrMPlZfE=; b=LYyWzicQQbdLcwIbXHbRvwa+wQtcRvEyt3FQCIkAktoMFtznK88Lsj/zrwN4GTluFQ zMZhywSkveAAa8hyKFG/vz/d3IdQdqOYY05gh2RQqdRRAK3Nzk/xYTgQUX6/fbGLD7Rj X2OfNF1e2J89zCNIoag6vHzqeh2tAUNVgITyESEdbj71J5Fq1mYrQjT81qMHfem50YyB GbYzJM1iPqqwQO1XVrEU3r+fN7anHS7rq+UfJUk2Bu61yUiOV3fLPT+CbeeehAzci3Qx puOcJeOLALMd9TuNzHcIxlqHYAVuRc59hC37n9MUcjYDcKzDh+URUk4jPxzID2L9Hgq/ VRIQ== X-Gm-Message-State: AOAM531/8OYHRO3xAHanVIvR5DyR9awa9ockvJfCfwMBvxz5knWIunA/ e241xty5vPoCQ0QOnvqb+1iiL5CGxQXG39YifwiiE7Wlz7c= X-Google-Smtp-Source: ABdhPJyBdokpp7s1VpY+TdSTpfZS6nHjCJUeEeq7y1Nc1UX1YEMvG0cjZtrci8bYeSawm3q59NnCg5/nS085pRbSoTg= X-Received: by 2002:a67:efda:: with SMTP id s26mr17603520vsp.8.1621760188818; Sun, 23 May 2021 01:56:28 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::e2c; envelope-from=dalanicolai@gmail.com; helo=mail-vs1-xe2c.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:269652 Archived-At: --000000000000f72a7a05c2fb77cd Content-Type: text/plain; charset="UTF-8" So info-apropos searches all info-files on the system. It would be handy to have a variant that searches only Emacs related info files (or let you select a subset, like Info-occur does. But then info-occur additionally allows for narrowing further on context) On Sun, 23 May 2021 at 10:39, dalanicolai wrote: > I did not know about the info-apropos command, which does not surprise me, > given > that I find only two hits when googling for it and I find zero matches when > scanning the full emacs and elisp manuals (using my Info-occur command). > I would consider this/report this as a documentation bug (even though > turned out to > be mentioned in the info manual) > > Now, that you told me about it, using info-apropos, I indeed find that it > is > mentioned once in the Info manual. I wish I knew about this command before > (I > just knew about the various other apropos commands, but not this one) > > Then, although the idea is the same, still there are some considerable > differences > > - as far as I know info-apropos can only scan ALL manuals, which can take > very > long time to finish. (8.3 minutes !!! on my Spacemacs configuration. I used > [the macro posted here]( > https://stackoverflow.com/questions/23622296/emacs-timing-execution-of-function-calls-in-emacs-lisp > ) > to time it. I would vote for adding that macro to Emacs b.t.w., if there > is not > some hidden alternative command already. It would be great to make use of > some > indexing program like gnome-tracker/recoll for this, but that is a little > far > fetched. We can already use such programs outside (and inside) of Emacs.) > > - Info-occur lets you quickly jump through/preview the matches (it could > also > present its results in helm/ivy/selectrum etc.) > > - Info-occur lets you narrow down on context with additional terms (for > example handy to > find back something you remember to have read somewhere) > > > So I think the Info-apropos command is not only a quite nice > alternative/addition to info-apropos but also to the current 'default' > Info-search functionality. (But having info-apropos makes having Info-occur > slightly less valuable indeed...) > > > On Sun, 23 May 2021 at 09:02, Eli Zaretskii wrote: > >> > From: dalanicolai >> > Date: Sun, 23 May 2021 00:17:56 +0200 >> > >> > When I started using Emacs, I often regretted that I could not search >> in multiple manuals at once (especially >> > the Emacs and Elisp manuals). >> > So now I have created an Info-occur command that allows you to select >> multiple manuals to search and >> > present the results in a tablist buffer (tabular list extension for >> pdf-tools package). >> >> Thanks, but how is this different from the existing command >> info-apropos? >> > --000000000000f72a7a05c2fb77cd Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
So info-apropos searches all info-files on the system= .
It would be handy to have a variant that searches only Emacs re= lated info files
(or let you select a subset, like Info-occur doe= s. But then info-occur additionally allows for narrowing further on context= )

On Sun, 23 May 2021 at 10:39, dalanicolai <dalanicolai@gmail.com> wrote:
I did not know abo= ut the info-apropos command, which does not surprise me, given
that I fi= nd only two hits when googling for it and I find zero matches when
= scanning the full emacs and elisp manuals (using my Info-occur command).
I would consider this/report this as a documentation bug (even thou= gh turned out to
be mentioned in the info manual)

=
Now, that you told me about it, using info-apropos, I indeed fin= d that it is
mentioned once in the Info manual. I wish I knew abou= t this command before (I
just knew about the various other apropos comma= nds, but not this one)

Then, although the idea is the same, still th= ere are some considerable differences

- as far as I know info-apropo= s can only scan ALL manuals, which can take very
long time to finis= h. (8.3 minutes !!! on my Spacemacs configuration. I used
to time it. I would vote for adding tha= t macro to Emacs b.t.w., if there is not
some hidden alternative command= already. It would be great to make use of some
indexing program like gn= ome-tracker/recoll for this, but that is a little far
fetched. We can al= ready use such programs outside (and inside) of Emacs.)

- Info-occur= lets you quickly jump through/preview the matches (it could also
presen= t its results in helm/ivy/selectrum etc.)

- Info-occur lets you= narrow down on context with additional terms (for example handy to
find back something you remember to have read somewhere)
<= br>

So I think the Info-apropos command is not only a q= uite nice
alternative/addition to info-apropos but also to the current &= #39;default'
Info-search functionality. (But having info-apropos mak= es having Info-occur
slightly less valuable indeed...)


On Sun, 23 May 2021 at 09:02, Eli Zaretskii <eliz@gnu.org> wrote:
> From: dalanicolai <dalanicolai@gmail.com>= ;
> Date: Sun, 23 May 2021 00:17:56 +0200
>
> When I started using Emacs, I often regretted that I could not search = in multiple manuals at once (especially
> the Emacs and Elisp manuals).
> So now I have created an Info-occur command that allows you to select = multiple manuals to search and
> present the results in a tablist buffer (tabular list extension for pd= f-tools package).

Thanks, but how is this different from the existing command
info-apropos?
--000000000000f72a7a05c2fb77cd--