From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.help Subject: Re: Navigating an enormous code base Date: Thu, 28 Apr 2022 10:50:41 -0400 Message-ID: References: <877d7aq5qy.fsf@cock.li> <87bkwmo56v.fsf@zoho.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18920"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs mailing list To: Marcus Harnisch Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 28 17:30:40 2022 Return-path: Envelope-to: geh-help-gnu-emacs@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 1nk66J-0004lj-QD for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 28 Apr 2022 17:30:39 +0200 Original-Received: from localhost ([::1]:44178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nk66I-0003Pa-LO for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 28 Apr 2022 11:30:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nk5Tr-0007Jc-EI for help-gnu-emacs@gnu.org; Thu, 28 Apr 2022 10:50:55 -0400 Original-Received: from mail-oa1-f48.google.com ([209.85.160.48]:41473) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nk5Tp-0000AK-Rb for help-gnu-emacs@gnu.org; Thu, 28 Apr 2022 10:50:55 -0400 Original-Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-e2442907a1so5359594fac.8 for ; Thu, 28 Apr 2022 07:50:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=kk7XkUjIvmUXS/PN0B3YMWuTb8zHM+Rxma2REMrw8uE=; b=e1ln56Vy6Vgbq8wro0Jei3cMyCAqNvvrb+N/varXcq2ltJuToXb+1eeTF8lfzkxQm3 5I+KymPfSBDlohOkjbZiQNOmlJ243U7Tj+ULLFHa94/a76+7qq0uF5d0znavpEWAd05E YX9iJFoYrmiaGGAFRUG37SoQ1LtWqZZ0iKPVIuiU1mC0RFkXMDJ1aFZsHG9VLlVrQyza Cju5AilbKp3Cr5OXdyEyNUuq/KTiqKN1VftiZuK6k2nTxPIwqR5aCOPAd5OVBLhr0n0E AYvA8RpzJvp91HnqjgNjH1/Yr+HYwtX6t3ttMkajFF405PYShZcwn2jbEZDz6S0YXQ7I Kciw== X-Gm-Message-State: AOAM531k0u61HevOLCVV8kghhRhKKLS8sDfUxfAuB0dWbmn37J/j4R3K KD+GqkmqJFlafcyLbfYcP6W4dmRkh5DL092nsAU= X-Google-Smtp-Source: ABdhPJzUqS0XW2T1BlMxIIy8SW6f5kuKRwVYVqfus/RulSz2UMWvd9Q1Rg9VK0D7f4qu9El9fVf7BxuXaz5F6Ua7c7U= X-Received: by 2002:a05:6871:89e:b0:e9:5368:10ed with SMTP id r30-20020a056871089e00b000e9536810edmr7598094oaq.182.1651157452647; Thu, 28 Apr 2022 07:50:52 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.160.48; envelope-from=john.yates.sheets@gmail.com; helo=mail-oa1-f48.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:137066 Archived-At: On Thu, Apr 28, 2022 at 3:14 AM Marcus Harnisch wrote: > > I don't bother and don't partition the project (comprising of 10k files, > and 50+ nested subprojects) In another reply I describe the size of my code base. > > * Is the user restricted to querying a single partition of the > > index? If yes, then that feels painfully restrictive. If no, > > how does that user indicate which partition indices to combine? > > How is combining accomplished? > > See above. I take that as "My project is not large enough to prompt me to consider partitioning, therefore why should you?". The flawed assumption is that your code base is comparable to mine. > > * How are duplicate filenames handled? > > By storing path names. Yes. I have written indexing software. I do index the entire workspace. I do store paths and identify duplicate filenames in the index. That does not make the tool pleasant: * indexing takes minutes * file moves and renames require reindexing * loading the index into emacs takes ~15s * firing up the ivy completion take ~3s * UI presentation of duplicates is ugly * UI is _very_ sluggish > Why don't you give it a whirl and see whether this suits you? Because it misses the point. I am not looking to navigate by tags, but rather by filename.