From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Subprojects in project.el Date: Sat, 26 Nov 2022 01:58:41 +0200 Message-ID: <029529d0-a846-483b-cb13-67fad54e9b13@yandex.ru> References: <87zgcq68zp.fsf@ericabrahamsen.net> <87o7t2vj19.fsf@dfreeman.email> <877czqtyfy.fsf@dfreeman.email> <87zgcml7g7.fsf@gmail.com> <2ba04533-097a-a1da-ff3f-2c9506fd488e@yandex.ru> <875yf9bbzb.fsf@gmail.com> <87wn7oa0aw.fsf@gmail.com> <7a5b76fd-fb15-8c1e-ea29-bf11f7e0d2ae@yandex.ru> <87bkoya815.fsf@gmail.com> <0024a67d-b8e5-b35c-1b22-82541a170eb3@yandex.ru> <871qptai4d.fsf_-_@gmail.com> <33292672-2a59-ba63-05ab-a7995118a822@yandex.ru> <86pmdb34hb.fsf@mail.linkov.net> <87cz9atx3o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30601"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: Juri Linkov , Stefan Monnier , Danny Freeman , Eric Abrahamsen , emacs-devel To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 26 00:59:22 2022 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 1oyibJ-0007l1-5q for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Nov 2022 00:59:21 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyian-00043p-3n; Fri, 25 Nov 2022 18:58:49 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyiak-00043R-NV for emacs-devel@gnu.org; Fri, 25 Nov 2022 18:58:46 -0500 Original-Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oyiaj-0008Tb-28 for emacs-devel@gnu.org; Fri, 25 Nov 2022 18:58:46 -0500 Original-Received: by mail-wr1-x42a.google.com with SMTP id z4so8824088wrr.3 for ; Fri, 25 Nov 2022 15:58:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=K8Ftuz9NdWgxrD1NYEfZ9Om3q2S6O+5oMFsZQ1h23BM=; b=E32duHJfeqbsX521kCOtZKC/5O9OkIyA4php7tCwxMNRsysBgl9AaAr5up5bnVC41P bKQLpHz2Z4+JPivbp2xQRSC1B1qhMCrqWsgL5v4A2m9TyMYK5TKv/r+940VTSv2npA1g cv5ynamyW2RBxEDeNHvF0d1/hTI8CeOisehcxKxWxaCsXNsJhrrRSe6EJGudNKPuomEb IceUh/zhVz/st3S0k+PlHqd8BWK1sCWH4Vb1GOFx6XEq3YGUHzq6KD3K0lGUMteIW0ED XJ+eKORYhn2ZCt3gLeBqGTRdpWz+FJZHKMpv3gMciOlWsNzUsSIeKSjUzmK5JouQ5eeU sa9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K8Ftuz9NdWgxrD1NYEfZ9Om3q2S6O+5oMFsZQ1h23BM=; b=qp/sYxPTE8BYC5RL7/cZRr6KUOOiJgREYqHjw5HQZxLC3E/jK+zXZ8rFPqCStedQ2H PLGdxvSun/4O7SkpHL+WLauOoA1ejDBdcFTbUex3TUdfb9ecF1/GF1+DJKCm2lYnauiB y0pCVNkaSpV8a15twfFy17Eo9/BcdmdbMGhhiZjl0wNG92c5ktr3nQWcHvIDuR7kpj/D BhelfV6h2UyNtRapZXTq800VNA9pZ2o00Oux2ulrM+UWKgvQhGV+PJ5Q7D5DzMtPDpcQ mMNEZIHXcBzxCHv/qkNzUIDulPkOYfcCnGvEGkUrRyDM2N1XaMMKAh7Zezf/s1oV8NKP Y9Gg== X-Gm-Message-State: ANoB5pnYscICvuCroDBEhgS9msGtoCdXxXQhULo2HjJwfYYTix5r0CJZ SGGFUUOJmYQUqo71qEMyJh0= X-Google-Smtp-Source: AA0mqf5zazzI9kuds+aiRE6JtsazgRVC0d1/aVsTJELYc64gsXJ6UMw0onqgI1mx8uu61VpudgCFRA== X-Received: by 2002:a5d:4fd0:0:b0:241:fdb9:c7b9 with SMTP id h16-20020a5d4fd0000000b00241fdb9c7b9mr6434466wrw.46.1669420723552; Fri, 25 Nov 2022 15:58:43 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id k21-20020a05600c1c9500b003cfa3a12660sm19584914wms.1.2022.11.25.15.58.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Nov 2022 15:58:42 -0800 (PST) Content-Language: en-US In-Reply-To: <87cz9atx3o.fsf@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=raaahh@gmail.com; helo=mail-wr1-x42a.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.243, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300534 Archived-At: On 26/11/22 01:47, João Távora wrote: > You can use dir-locals-set-class-variables to variable like the > hypothetical project-subproject-prefixes to the super-project's root. > This contains a list of strings or regexps that identify the subprojects > inside the superproject. I don't see the problem. Elements in > project-find-functions would be aware of this value and proceed > accordingly to find the subprojects. I don't see the problem in that. I just fail to see an advantage either, given that the list of prefixes would be different between the "super" projects, so the suggestion to use a class is perplexing.