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: Navigating an enormous code base Date: Mon, 25 Apr 2022 22:31:44 -0400 Message-ID: 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="18063"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 26 04:33:15 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 1njB0t-0004X1-6U for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 26 Apr 2022 04:33:15 +0200 Original-Received: from localhost ([::1]:50652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njB0r-0004hE-Tz for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 25 Apr 2022 22:33:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njAzl-0004h3-5Z for help-gnu-emacs@gnu.org; Mon, 25 Apr 2022 22:32:06 -0400 Original-Received: from mail-ot1-f47.google.com ([209.85.210.47]:39617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njAzi-0005lu-2T for help-gnu-emacs@gnu.org; Mon, 25 Apr 2022 22:32:04 -0400 Original-Received: by mail-ot1-f47.google.com with SMTP id k29-20020a056830243d00b006040caa0988so12148442ots.6 for ; Mon, 25 Apr 2022 19:31:56 -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:from:date:message-id:subject:to; bh=wJ3J/X9UBWZPJaJvAQ7r8aKbLKXgr2d0sbasQJDOyUk=; b=LzrN/4URqum5E1F3f1hhFuEqCZi25sqn50gvJY3keRztbFnvw8wuUgHOZxnNhoETTZ rXJoqHsg2dW/fOlFftrjhFigJ4GgvLsLfSz0u8me7HptOirAzXNt5MRRh3pjFEjjjxsN OOGKEMfKmB8bSBLAfx3ydwE7aZjCjXJGdNO4XdmfHf1pTap0nguzST86j24+KoJwsOxe V1uH+ls4y/RKMPgfYVbdRJuhkglYr4QbBqvI7q3sT/2iIkbzajDAvmjsaoMoLrttcBTs zWX1DwjVjXsufPWu+g9+tW0VFuX7X9pqsj8SNKQsivXfh00xXbQqgi9kUzko09KZRWjb v2/w== X-Gm-Message-State: AOAM5334hUtnZo53EKYE/PujOJ4oTSTyFe+zcWXjSMQvZagYOQBCo4BP gGM8OeVjYwoDgRoy6AS9LL2IKlkLY5arA64ZcN/I5xxrL0U= X-Google-Smtp-Source: ABdhPJxm8JixkknlKCadFGngr4oE5lJ5YJc3xXwiVEHQj7PmVIjSr+SgSOR38hFp8SpTZ5NJ6ecHSGTMhXnGzYL+R+c= X-Received: by 2002:a05:6830:2b07:b0:605:c99a:3f39 with SMTP id l7-20020a0568302b0700b00605c99a3f39mr685667otv.157.1650940315610; Mon, 25 Apr 2022 19:31:55 -0700 (PDT) Received-SPF: pass client-ip=209.85.210.47; envelope-from=john.yates.sheets@gmail.com; helo=mail-ot1-f47.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:137025 Archived-At: At my day job I work on a 35 year old product with literally a few hundred million lines of codes. It is essentially a mono-repo. There are thousands of directory trees with Makefiles. To be consistent with Emacs concepts, let's call these 'projects'. Luckily projects are rarely nested, and not in the areas I work on. There is no discipline requiring file names be unique across projects, nor even within projects. Furthermore, within any project there can be multiple unittest/ and/or pkgtest/ directories. Each such directory must contain a suite_registration.cpp. Most often I work within a single project and want to navigate to files in the same project. Less frequently I need to find a file in a sibling project. Unfortunately, there are ~400 siblings, though I very rarely visit more than 10. With recent attempts to work within Emacs' built-in tools, I wonder how I find files in this code base. Or if Emacs lacks adequate built-in tooling, what package(s) might help?