From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: info-find-source Date: Sat, 13 Jan 2018 08:31:50 -0800 (PST) Message-ID: <986269fe-e3b4-48eb-bc49-7f31362e8beb@default> References: <86bmhyk2qy.fsf@zoho.com> <87mv1ia0et.fsf@robertthorpeconsulting.com> <877esme3ih.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1515861057 15223 195.159.176.226 (13 Jan 2018 16:30:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 13 Jan 2018 16:30:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Emanuel Berg To: Marcin Borkowski , Robert Thorpe Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 13 17:30:52 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eaOhi-0003Df-05 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jan 2018 17:30:46 +0100 Original-Received: from localhost ([::1]:48411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaOjh-0002aE-L4 for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jan 2018 11:32:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaOiu-0002Zv-27 for help-gnu-emacs@gnu.org; Sat, 13 Jan 2018 11:32:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaOip-00063o-5X for help-gnu-emacs@gnu.org; Sat, 13 Jan 2018 11:32:00 -0500 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:37008) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eaOio-00063W-Ve for help-gnu-emacs@gnu.org; Sat, 13 Jan 2018 11:31:55 -0500 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w0DGVsGg077608; Sat, 13 Jan 2018 16:31:54 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-2017-10-26; bh=/5L6g9jtoFjlbTSCceT30+AvAk663ud7Mxm7kMMNPa0=; b=VJcFuKJWvHQHE12+muOM/pAhjSxFl6SxMB/cvqdMuBxBPdQQrqvwFHf8Fnd4S03VogW7 oVm6uAJESDcYpS0beyoUKd/feWLOVSCGpSTri17Aegh/3m75MRmGhIemSotjiJfSEdTy Ig8E7yiJgRLQSopLybGtc09ECoSF2ICkxXaMIyZ5YJQpysh9PvSXlxMohYEr/hDdPxbn RAKERzSCfqerif8+besn1ZkjdRexrfumCp4NI8MpmSMFFYoCf3QvPUSmzQfajWJDuFkl fXJJ3RWJk4vbDu3+bYKKZz8P6ooLWFmcFw7W7XJgKgBHEOr2nRzKkHkmi4PWn+KkcXdk xg== Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2120.oracle.com with ESMTP id 2ffmcb83md-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 13 Jan 2018 16:31:53 +0000 Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w0DGVrpn007311 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 13 Jan 2018 16:31:53 GMT Original-Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w0DGVpkG002711; Sat, 13 Jan 2018 16:31:52 GMT In-Reply-To: <877esme3ih.fsf@mbork.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4627.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8773 signatures=668652 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801130234 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 141.146.126.78 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115702 Archived-At: > I would really like it if someone set up a contest of "how fast can > someone use Info to search for things and come back to other things and > not get distracted by links and/or writing one's own functions to do > what you can do with stock Emacs better", and made Emanuel and me the > contestants. What I find most useful for finding stuff: `i', combined with better pattern-matching for the index-entry completion candidates. I use Icicles. That means that index entries, which are what `i' completes your minibuffer contents to, can be matched with regexps, including just substrings. In Icicle mode, `i' is bound to command `icicle-Info-index'. Besides giving you better pattern-matching, you can optionally have it highlight index-entry candidates in *Completions* that correspond to already-visited nodes. That way, you don't end up trying multiple index entries in hopes of getting to some nodes you haven't already checked out. (Wrt seeing which nodes you've visited by link color, face `info-xref-visited' helps, but if you want that indication to persist across Emacs sessions you can get that (togglable anytime) with `info+.el' minor mode `Info-persist-history-mode'.)=20 Even just substring matching makes `i' much, much more useful, IMO. (And yes, you can set vanilla Emacs to use substring matching for `i'. If you don't use Icicles or similar then this is a good workaround/substitute.) With Icicles you can incrementally match any number of simple patterns (progressive completion), which is much simpler and quicker than trying to come up with a single regexp to match what you need. (Not to mention more powerful, as a single regexp is limited in terms of what it matches.) You can also match the complements of patterns. Beyond pattern-matching and indicated previously visited nodes, `icicle-Info-index' is a multi-command, which means that you can, with a single invocation, visit any number of nodes, matching any patterns, in any order. Icicles also enhances other Info commands, in particular `g'. When you use it you can optionally match node names or node _content_, or both at once. https://www.emacswiki.org/emacs/Icicles_-_Info_Enhancements https://www.emacswiki.org/emacs/Icicles_-_Nutshell_View#ProgressiveCompleti= on