From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: Search multiple Info-buffers at once with Info-occur function Date: Sat, 29 May 2021 15:48:03 +0200 Message-ID: <874kel4pnw.fsf@gmail.com> References: <83cztij5ky.fsf@gnu.org> <835yz9kd6q.fsf@gnu.org> <5C87AF42-3A48-42B2-93C8-9C7421CB2EA4@gnu.org> <87czt94uc3.fsf@gmail.com> <83o8ct68hw.fsf@gnu.org> <878s3x4rju.fsf@gmail.com> <83mtsd653j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29936"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: dalanicolai@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 29 15:49:14 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 1lmzKz-0007YS-6M for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 15:49:13 +0200 Original-Received: from localhost ([::1]:43120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lmzKy-0006xo-A3 for ged-emacs-devel@m.gmane-mx.org; Sat, 29 May 2021 09:49:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lmzJz-0005bh-5j for emacs-devel@gnu.org; Sat, 29 May 2021 09:48:11 -0400 Original-Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:37769) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lmzJv-0002dK-M6; Sat, 29 May 2021 09:48:10 -0400 Original-Received: by mail-ed1-x52d.google.com with SMTP id b11so1244020edy.4; Sat, 29 May 2021 06:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=uEaig/hBJfuWeUdUtfo+Bj+1CwoAbgsy+gBgeqNHjkk=; b=bSDbht4PP6BulrV+vDdJEvevWEZ3LWiY8elM2OIm5J+0xiFna+aVt9jmiPlteiOR38 u/ajnSvmeoRbZxZ3NwxDnpwmcBrrS+8RWre2/wUHyNAlrUDysdK7MYKVN9O4LIgkr8JJ 64WVcGvSpfhfTE4dR3aU+9pxF8L3UroZEuJQTYm/G4vlYL9dqeZ5tw2HwM63/2ho7xup k6o1TlxefMb/Pk87N3nbYcdRrUy7UFugEHrLoVu6seBWgbBvQo9BOeZHnDCa0Pjqf6cH Sc0NlUjqfJdqIdva0KEPLlYuJOvOMvI0eVXAuSh0LX3HRypEBPSm/s3H2OqoqxdCJiEs otWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=uEaig/hBJfuWeUdUtfo+Bj+1CwoAbgsy+gBgeqNHjkk=; b=NvNV3EAW6YL2R5baTLVMOHVqUTf5nE0IMZnHLAQSqxUhS98YRJnRa84wCuDiHftR5S BDHxVKRvopZio6FTAOdWdqGk3ENRClZqXoMQgtV5BGA87zSma08EwTfnS5ffrD5ErkCA 4O3Vhxv7tfWpup64Bilp/lp0R+QXEVcSz5GWcVf5eF3NFXx64Av7SwRHJLWt3NMq2MUw mDuRozEyBkBn4Z5e75agM3eDB3eJjIc9D2vW9qfIji8fxgIHuo6wp4yaYfVHTdR+oQgR VpGSLHb2KEndwRIQg0YypnuZw0gr93w77H5KYWRME+egM72L+q+CgzhPkrpgCCioAzbN veQg== X-Gm-Message-State: AOAM5309tQC6QUuuCC0b7VakeQ3e8w0TrEHMvwljjF49vbfw5rd1Ta2g Ghr1TECBZfvcXqnd4B4k3zpuu9uFNig= X-Google-Smtp-Source: ABdhPJxj8VzvceT+GPhG3wGuh1GuaaASc9BtInCYaV+LoGW053htXKKn4Qvc6Oz+GM/abRRWHlu9rw== X-Received: by 2002:a50:eb08:: with SMTP id y8mr15822041edp.89.1622296085203; Sat, 29 May 2021 06:48:05 -0700 (PDT) Original-Received: from ars3 ([2a02:908:2211:8540::66]) by smtp.gmail.com with ESMTPSA id p13sm3531749ejr.87.2021.05.29.06.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 06:48:04 -0700 (PDT) In-Reply-To: <83mtsd653j.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 May 2021 16:29:20 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x52d.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, 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:270060 Archived-At: On Sat, 29 May 2021 at 16:29, Eli Zaretskii wrote: >> The only downside of info-look (and I guess this is inherent to the info >> format, or to long-form documentation is general) is that you can't just >> pick a random collection of manuals to search for symbols. Instead, >> there's a manually curated list of modes (via >> `info-lookup-maybe-add-help') with recipes as to what constitutes a >> symbol in that manual. > > That's true, but how else can Emacs possibly know which manual(s) > is/are relevant to a random symbol or major mode? Eventually, you > must have some DB of data that connects these dots, and info-look.el > provides the infrastructure to maintain and extend such a DB. Right? > Or am I missing something? That's inevitable, of course. The "evdocs" package I just submitted here will just ask you which manual(s) to search; alternatively, you can set a variable, say in a major mode hook, to avoid that question. But what I find a bit annoying is something else, namely the fact that info-look.el defines a bunch of regexps to decide what constitutes a symbol in each manual. So you can't just say "oh, by the way, please include also the manual of the Dash library when I'm in Elisp mode" (unless there's something else I'm missing...).