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.bugs Subject: bug#41572: 28.0.50; [PATCH] Support plain project marked with file .emacs-project Date: Tue, 5 Oct 2021 05:03:05 +0300 Message-ID: <7cf254bf-a7e4-0121-3d0c-3a1b5dfabe0b@yandex.ru> References: <5f584d83-ef45-9912-bfbc-d2f00b24b9fd@yandex.ru> <87pnahjgdr.fsf@linkov.net> <87ftb92u8q.fsf@thornhill.no> <0ab90cf2-eab2-6fea-6698-4164d7753cd7@yandex.ru> <87d06ck2b0.fsf@thornhill.no> <2fbe5d5d-03a1-212b-9dd7-4723e168ad06@yandex.ru> <5EpzudgjedeKADsX4_Tq-2WtNm3XKXmZjnEI7Y1lmw-Pcn_KrzKPD1o31Ele0JOIrZ1ITDdeQrOsJTHfGVPJlzyLhmqjxP3rmVVzou8KEBo=@thornhill.no> <2a70c748-e250-2f96-5d74-712b6d71e8be@yandex.ru> <871riitzch.fsf@gnus.org> <87zgrq2ctj.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38307"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: Zhu Zihao , Lars Ingebrigtsen , Theodor Thornhill , 41572@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 05 04:04:17 2021 Return-path: Envelope-to: geb-bug-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 1mXZoW-0009lp-VS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 05 Oct 2021 04:04:16 +0200 Original-Received: from localhost ([::1]:49708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXZoV-0001FS-3r for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Oct 2021 22:04:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXZoI-0001Em-5s for bug-gnu-emacs@gnu.org; Mon, 04 Oct 2021 22:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXZoH-0004O2-Tv for bug-gnu-emacs@gnu.org; Mon, 04 Oct 2021 22:04:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXZoH-0002H5-PR for bug-gnu-emacs@gnu.org; Mon, 04 Oct 2021 22:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Oct 2021 02:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41572 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 41572-submit@debbugs.gnu.org id=B41572.16333993948675 (code B ref 41572); Tue, 05 Oct 2021 02:04:01 +0000 Original-Received: (at 41572) by debbugs.gnu.org; 5 Oct 2021 02:03:14 +0000 Original-Received: from localhost ([127.0.0.1]:38650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXZnV-0002Fr-M9 for submit@debbugs.gnu.org; Mon, 04 Oct 2021 22:03:13 -0400 Original-Received: from mail-lf1-f48.google.com ([209.85.167.48]:46749) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXZnU-0002Fe-KP for 41572@debbugs.gnu.org; Mon, 04 Oct 2021 22:03:12 -0400 Original-Received: by mail-lf1-f48.google.com with SMTP id i24so29929015lfj.13 for <41572@debbugs.gnu.org>; Mon, 04 Oct 2021 19:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=n2s9qgAyA6DImPRKIeKL4ZMFb+CKVtRIPUnwPylzjsw=; b=ot50namP/ITjgbneUr0JgAn0H02H5RRlTCBO6YNp921Idj2d5jVRdFO5B45ZwC63SB 1ObR0icXsZRcg8RiC31j/CCK4PWpDm/SyRfEXJPIrCuyACa34zOLYhQhs90EHGY8pY8S CyFOjKVB0iCzuoBpe/BIr7o1p4XYdIAVHKLLIAM0VFHfhTe/v3hA43RiVZREFpgt7Bdn mTidCRP8xslzFk1FRGl4rnGg8Rhpx42l+WUO+RUCf/VdW0jDq3dbgjJgHADaL4mG18pV +nlgDsnGrxozYoFklT6xOt9lUbmhFb420rCc9eNpKbJklsydIGpEXf8gR2Dalz6TycfP AeSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=n2s9qgAyA6DImPRKIeKL4ZMFb+CKVtRIPUnwPylzjsw=; b=BgV5YUKvCG+cjwR7GUcwuU3USlhx/cuaWJhDLeL/PAvizxxJP+pvpAueGUXgvJHi18 z+jz/yQa7Os6Pnn6inKwQlXFpnOTK6RtpkiR6EYU7oOSpOR1eoinrDDzZyj/UKyrbtFr ny0s1MvtJHZ8gUXVJjwPlfF5P912ZJZjuHmPpayW9L/cB/wtlYXRDgORFhhLu9cmVHpJ 4r332r29nmj7S7rO+vPyPjZMqtFr4K51n4vfjHretm62WYV+J8LQC1KlUCwnMtHoA9Yd +UXXja9voPAbBHHFIjqjVgb6LPoxn4MKw4wP/Zg0Icgnenc6gmKmESD0OnqDlfSeup4b eDBA== X-Gm-Message-State: AOAM532NAB0pBW8QU8NXFAR7aJkYtmqu1yFdb24t4mrivWgvUw0oCTm/ 2wUQ4lGvexKqhz5SeuztXX6MuMYcCrs= X-Google-Smtp-Source: ABdhPJzTUE88XiDltvya0PpHQVF1oJmrLIT4lHhAhj+gtwsXvFAqQNWxJwlOTCrb55wrL3TgkHxA3w== X-Received: by 2002:a05:6512:3502:: with SMTP id h2mr578088lfs.415.1633399386960; Mon, 04 Oct 2021 19:03:06 -0700 (PDT) Original-Received: from [192.168.1.113] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id t3sm1741291ljg.68.2021.10.04.19.03.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 04 Oct 2021 19:03:06 -0700 (PDT) In-Reply-To: <87zgrq2ctj.fsf@mail.linkov.net> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216406 Archived-At: On 03.10.2021 21:06, Juri Linkov wrote: >> Patch adding such backend with a customizable list of "markers" is >> attached. > > I've tested that it allows using 'C-x p g' in any directory, > not only in a repository! This is a great feature, thanks. Thanks for testing. > But a small problem that there is a need to exclude some subdirectories > from the search by 'C-x p g'. And I don't understand if your another patch > with 'project-vc-subprojects' could help with this? Now, it's for something else (subprojects within monorepos). A way to specify ignore entries for "fallback" projects can be added easily with a variable like project-fallback-ignores (same as project-vc-ignores). I've been debating internally whether we need such a variable at all, and whether it should simply be an alias for project-vc-ignores. But, uh, probably not?