From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: master 1e3b0f2: Improve doc strings of project.el Date: Fri, 19 Jun 2020 21:49:05 +0300 Message-ID: <0e9134ea-1cdf-5b0f-20fd-a7e8d58417c5@yandex.ru> References: <87bllfqj82.fsf@warpmail.net> <83o8pfxhzq.fsf@gnu.org> <83imfnxgt3.fsf@gnu.org> <83eeqbxevp.fsf@gnu.org> <87bllfnjy5.fsf@thornhill.no> <83d05vx9or.fsf@gnu.org> <877dw3ne2z.fsf@thornhill.no> <83a70zx7ag.fsf@gnu.org> <295d9f94-5198-6d5b-c51e-ba0bcf76a39c@yandex.ru> <835zbmykba.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="92846"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Cc: theothornhill@pm.me, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 19 20:49:46 2020 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 1jmM5B-000O0c-1G for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 20:49:45 +0200 Original-Received: from localhost ([::1]:57038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmM5A-00071d-1n for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 14:49:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmM4d-0006E2-On for emacs-devel@gnu.org; Fri, 19 Jun 2020 14:49:11 -0400 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:36069) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmM4b-0004xE-T0; Fri, 19 Jun 2020 14:49:11 -0400 Original-Received: by mail-ej1-x629.google.com with SMTP id dr13so11222209ejc.3; Fri, 19 Jun 2020 11:49:09 -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=ghy3qA6nw5z6UJ0E5/SrFDS/nb1BhMBfR/NKjIoIL3c=; b=kIiyk9lksOBKP/YLpJiRD+X5On8gMfZp3K5BIN896NUMbFQBKFljJFC42nP5R9yB/K FpTvxYgfhUaV3ieiMii4DkyyzelWdfUhtXyI3y0raeLs9uhnh532y/+jab27AItooJo5 cjzkueKstpA2EjK/URzs8SY3oPYsLH8EQBuIN3M5V4zNiAND8rtLO4ZLAFGlMdNBB4Lb L9D5oHIlryZc6PbyqfZgFgeY1ogi8bEkcaKOR0Hstls2DYpGRtGoajs2ZwNLFYC8ydv3 JeKhMiAzZ1CmBrs0bivqYdaCMqIKx2iFw+Hpq2WxViwtJoUzMMfs4ZuGsCX4o/kOOHmG WGhA== 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=ghy3qA6nw5z6UJ0E5/SrFDS/nb1BhMBfR/NKjIoIL3c=; b=IqMktzEnPOI62HWx74g6cBP3da4lry1Wnf48z+2RK1GKPvbD/JE9pMurca3OACi5aE saGznhbP6uCj8yHJCKmhhmGA6j9fypA3/QHir99I8mHO8KlM0wNfLBqj44yFx/VlEbBK kY8aMP/3zAHwguL2UuqK/K2X4YGP5ICcy1KcUXZpyQ/LIWdGrJ0p9SrF/efFmpyc8P/z Jv77I4a1Pr9hGfVdFXmMz8IdOGZpcFc4u1GtgHAiDKs6IGzoyoY43Qq52QtA7nYHFoyG xoKjA0YHQ3nQEpE1HbgL1FgCrf8nKcUQdhip3dkEv4c+Oei2URh/wY4VPdAvYPhMqmuk FrSQ== X-Gm-Message-State: AOAM532ptBPeYSNHDiy4zWrCZAE3g6mnRkQMwdmVV0gLVBXBe5Qorp6F A6waLT1QOeLD+eNfFioBC6iL9shi X-Google-Smtp-Source: ABdhPJynUP1TXrOmRX39GnN+qxIUzJIXKKQPpyp0IY6iGYjgQ22Xp9+eJ97ywS+9WH4q1ZamUXGQTg== X-Received: by 2002:a17:906:3e15:: with SMTP id k21mr4908396eji.525.1592592547763; Fri, 19 Jun 2020 11:49:07 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id z26sm5493555edm.1.2020.06.19.11.49.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2020 11:49:07 -0700 (PDT) In-Reply-To: <835zbmykba.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=raaahh@gmail.com; helo=mail-ej1-x629.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: 0 X-Spam_score: 0.0 X-Spam_bar: / X-Spam_report: (0.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=1, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:252401 Archived-At: On 19.06.2020 21:36, Eli Zaretskii wrote: >>> What I had in mind was a simple filtering by major mode, not unlike >>> the current filtering by default-directory. How complicate could that >>> be? >> That's not how it works. A project is defined by the generic functions >> the API already has. >> >> Even if some projects would prefer to work with files with certain >> extensions only (doesn't sound like a good idea to me), that would be an >> extra, new feature. As such, it is irrelevant to this discussion. > You have completely missed my point. But since you say this is > irrelevant, I won't say more. Perhaps. So let me clarify a little. What I originally though you meant, it adding a filter by major modes for non-file-visiting buffers. That kind of makes sense, but that kind of filter shouldn't depend on the project in question (it could, but that, again, would make things more complicated; so let's work with the current model first). On the flip side, *some* projects could specify that they only work with certain major modes. But a lot of projects won't specify that. And we need these commands to work in both cases. So discussing the projects of the former kind is, again, a complication, and I'd rather we did that later in a separate discussion.