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: Mon, 20 Jul 2020 23:55:08 +0300 Message-ID: <2a70c748-e250-2f96-5d74-712b6d71e8be@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> 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="4317"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: Zhu Zihao , 41572@debbugs.gnu.org To: Theodor Thornhill , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 20 22:56:11 2020 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 1jxcpX-00012R-Nr for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jul 2020 22:56:11 +0200 Original-Received: from localhost ([::1]:51654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxcpW-0008Ey-Op for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jul 2020 16:56:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxcpO-0008Dq-Ko for bug-gnu-emacs@gnu.org; Mon, 20 Jul 2020 16:56:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxcpO-0007Fz-BK for bug-gnu-emacs@gnu.org; Mon, 20 Jul 2020 16:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxcpO-0003zS-AO for bug-gnu-emacs@gnu.org; Mon, 20 Jul 2020 16:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jul 2020 20:56:02 +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.159527851915260 (code B ref 41572); Mon, 20 Jul 2020 20:56:02 +0000 Original-Received: (at 41572) by debbugs.gnu.org; 20 Jul 2020 20:55:19 +0000 Original-Received: from localhost ([127.0.0.1]:36355 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxcog-0003y4-O8 for submit@debbugs.gnu.org; Mon, 20 Jul 2020 16:55:19 -0400 Original-Received: from mail-ej1-f65.google.com ([209.85.218.65]:44986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxcof-0003xn-GA for 41572@debbugs.gnu.org; Mon, 20 Jul 2020 16:55:17 -0400 Original-Received: by mail-ej1-f65.google.com with SMTP id ga4so19456472ejb.11 for <41572@debbugs.gnu.org>; Mon, 20 Jul 2020 13:55:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=AZ9V8Nyl8T9foV4/q489uvGEnFbzEmcpaU4kysrp6wU=; b=q/fBKOnFMtAWsohlrlwaD03E9P+AwYakG5/A8WsXadFtLgBjBGTiGAYSuwBqhCVDHL rZ8Tjn6YxNBr5o3JdZ+4srDO88hyw8yGsfdUW0kLBpdxsuO444N7JYsGoc9YvYhKJdfB OxyoqOpz5aIB3+eGGtQX05nrmyzwhp6JPf/hhHJLvw7LyeZJmidkCZvN63hfCbsDuqUi dFYaCUnxoCd9Fhlcta2oCO4fBYmasPH7mCy1FLbg0rS2usvayT4Mjhmfkok/zMJ6urbM gLHUJZ4vSTdlztSiwDMl6ABM4DlxDyCoeahqBdwl+9zye9fyl6KzC0KvUJRS+ID097Ft BNkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=AZ9V8Nyl8T9foV4/q489uvGEnFbzEmcpaU4kysrp6wU=; b=aLGhMaiB3PToHTM5DNR8RGeUF9nYfHSFIPDJlvLq4pdpwOrkxX7LPEjR+qAt/x+LL3 nxyNSurFO3XI3e7sxGnMZxkVpH31sbEhhbIYQG3jPWmmdN82nyXrMW29uCJZadgh6IxR SQscSZKfpzmAXvWa0H30qGZw2EAse8YLl6oxO3eJTg6Rpq9wktXFc1fpy7kdTE31ooYP kyJImmFd+n6q0R+XIBpymvVdx2YorA85wBub8FX3qxbd61imJZK6N1iT89SoswT3obvj cChZSRcYO6bV1DQWDZtDzSbNFFmMGqOAnGYGOUROq+cMB8Lr3knrg2N/LeUOBiWv4nbv ayIQ== X-Gm-Message-State: AOAM531EqAW208F/N3Mrc7Mps0yWrGhU25K3dcAHFtanfZ5hioGCLih3 beYmWLS2qHwU9p35Tya+4zkJE5wO X-Google-Smtp-Source: ABdhPJzo2Au0x8R+W3B8Asx3o0mqY3evQMw2UxYgsgnRw9KlRtvuODbXmGHLct2zb22ZcnzYF6w33Q== X-Received: by 2002:a17:906:3ac4:: with SMTP id z4mr21034508ejd.65.1595278511281; Mon, 20 Jul 2020 13:55:11 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id d23sm15195098eja.27.2020.07.20.13.55.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jul 2020 13:55:10 -0700 (PDT) In-Reply-To: <5EpzudgjedeKADsX4_Tq-2WtNm3XKXmZjnEI7Y1lmw-Pcn_KrzKPD1o31Ele0JOIrZ1ITDdeQrOsJTHfGVPJlzyLhmqjxP3rmVVzou8KEBo=@thornhill.no> 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:183330 Archived-At: On 06.06.2020 16:37, Theodor Thornhill wrote: > > >> Could you elaborate? > > Actually, I think I’ll withdraw the over engineering tendency of mine > here and rather refine: > > I believe it is appropriate to view project.el to have two different > focuses here: one for the general idea and one minor mode (overloaded > term, I know...) for vc. Right. > To help the out of the box experience with the project-vc I think either: > > - adding common patterns to project-vc-ignores instead of nil, to > accommodate for improperly configured .gitignore > > - simply adding documentation emphasizing project-vcs reliance on .gitignore I have hopefully addressed the above items in commit 7259377. Let me know if you think the description is missing something. > As such it could be neither project nor project-vc responsibility to add > the plain version. project-vc could morph into something like "project-auto"... with a customizable list of project markers. Still thinking about it. > Will project.el be split at some point? I mean moving vc things to vc. > I for one (maybe only one) find the scope of project.el a bit confusing That would be a good idea, but I think that would make it two different packages. ELPA Core doesn't understand multifile packages, AFAIK.