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:39:19 +0200 Message-ID: References: <83cztij5ky.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000004d507e05c2fb3bb0" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="613"; 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:40:32 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 1lkjey-000AWa-2J for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 10:40:32 +0200 Original-Received: from localhost ([::1]:38718 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lkjex-0000EE-4Z for ged-emacs-devel@m.gmane-mx.org; Sun, 23 May 2021 04:40:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lkje4-0007r8-30 for emacs-devel@gnu.org; Sun, 23 May 2021 04:39:36 -0400 Original-Received: from mail-ua1-x92d.google.com ([2607:f8b0:4864:20::92d]:40532) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lkje0-0000bp-HY; Sun, 23 May 2021 04:39:35 -0400 Original-Received: by mail-ua1-x92d.google.com with SMTP id z14so7143415uan.7; Sun, 23 May 2021 01:39:31 -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=qfEJOdDpvCyepcoX+jf63TY0PDFFN+8yZ8gMNgP/H0Q=; b=Np400+ON6dmlSY9oysAEKqQCVZPgbVbyXVNd1/rSbFqriwkM/Q96K0y6hkDjGb4riM lRIkpRKY0qJ6CCKvpV7OnmCe8/3r62ybPsFbwBAZElTfhMHZD3OU8NIOA51vRldF1x/G 8O8LxkaenAWPJP++hjYpE8nzLPNj6zSvjEzlVc4CQtufpoNSO3gEWfZ6Cb33nnhzbpFt 2NdqG6kRI6bVO8sZnp5rDH34lpZuZyOkJsz5mCdw6vEhjDr92Vcd98Ps8x+W+Ep5FuZo zb3BIVHyTa1Ww6wsdEHnnGBeOS43Ol0Yd6xcas4pUtTPPNlspJwQdC69PHIBEqNTj6RU 5iCw== 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=qfEJOdDpvCyepcoX+jf63TY0PDFFN+8yZ8gMNgP/H0Q=; b=C89d9/aQhNcUtFwyYlpOgN8FrDwYNkv2J6cOuV/F7CUVFr5kp92cOc1ferS6vIuQcE jreyRAYDeLq4T1aVEDq8s5LqSzXm54ODqKVhBLuQDCWI7AoTZVpNpnUlLbsT/ISfvk7e IaR2Odg8UGiJ4xO148a5s8hfaOJfZLwm5+wMiuffNpHUQQ6VbfKHRvYryLOnx+cf2n96 DoAuQAyzw/qaMuFoWl0GDCDGlumu/5M0LZuzEn4m6peWr0pRzFeQnTHvJTP7lf6LiUOI nM31+KkyepboFm05tOJNl7xSnQOJhCMjkbWa8i+/WXrv8O+qIbb9J9GISaCZW+TX2hfz 5OKw== X-Gm-Message-State: AOAM533ayEhkK5AJG9tTFbJgN/jTqaA0u0qEYQc0BFlgX0qXGEHAIBjq 4jiodk9jgTlNJXI5IwrZM3S/zcULdvUA93o2bEkqBw9SMofuZg== X-Google-Smtp-Source: ABdhPJws0TL7IqNKR0HdlIxx3WwmGIivdM1L+1AtloewTrXrS8ldr/+KroENezzOPO2YDZTwxIzKyj66ydJUyFM5IEQ= X-Received: by 2002:ab0:7550:: with SMTP id k16mr18702035uaq.74.1621759171054; Sun, 23 May 2021 01:39:31 -0700 (PDT) In-Reply-To: <83cztij5ky.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::92d; envelope-from=dalanicolai@gmail.com; helo=mail-ua1-x92d.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:269651 Archived-At: --0000000000004d507e05c2fb3bb0 Content-Type: text/plain; charset="UTF-8" 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? > --0000000000004d507e05c2fb3bb0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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 an= d I find zero matches when
scanning the full emacs and elisp manual= s (using my Info-occur command).
I would consider this/report thi= s as a documentation bug (even though turned out to
be mentioned= in the info manual)

Now, that you told me about i= t, 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 ab= out the various other apropos commands, but not this one)

Then, alth= ough 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 t= ake very
long time to finish. (8.3 minutes !!! on my Spacemacs conf= iguration. I used
to time it. I would vo= te for adding that macro to Emacs b.t.w., if there is not
some hidden al= ternative command already. It would be great to make use of some
indexin= g program like gnome-tracker/recoll for this, but that is a little far
f= etched. We can already use such programs outside (and inside) of Emacs.)
- Info-occur lets you quickly jump through/preview the matches (it cou= ld also
present its results in helm/ivy/selectrum etc.)

- In= fo-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 comman= d 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...)<= br>


On Sun, 23 May 2021 at 09:02, Eli Zaretskii <eliz@gnu.org> wrote:
> From: dalanicolai <dalanicolai@gmail.com&g= t;
> 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?
--0000000000004d507e05c2fb3bb0--