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:21:13 +0300 Message-ID: <7db8ac85-5f05-b834-4a18-ccebc117f492@yandex.ru> References: <87bllfqj82.fsf@warpmail.net> <83o8pfxhzq.fsf@gnu.org> <83imfnxgt3.fsf@gnu.org> <83eeqbxevp.fsf@gnu.org> <87bllfnjy5.fsf@thornhill.no> 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="102372"; 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: philip@warpmail.net, emacs-devel@gnu.org To: Theodor Thornhill , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 19 20:21:55 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 1jmLeE-000QX4-OM for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 20:21:54 +0200 Original-Received: from localhost ([::1]:50838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmLeD-0007Tm-Qa for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 14:21:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmLdf-0006JN-EX for emacs-devel@gnu.org; Fri, 19 Jun 2020 14:21:19 -0400 Original-Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:34986) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmLde-000874-3G; Fri, 19 Jun 2020 14:21:19 -0400 Original-Received: by mail-ed1-x52d.google.com with SMTP id e12so8354237eds.2; Fri, 19 Jun 2020 11:21: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=hvUb0Q4xouHWKqTM7bQQ/VqtuCJ1d/eQd9JdFZkyvSs=; b=BKe1aLqtveXrm1EyE3pmjolXjqeaCcvZCucXZ1hc1PlHw9bzWhwEdEya9StjaEuZjq 4VeYWmlafVEFwBQvrzDg1gvn5SCXrFr/9iND4e0tvnXs6fgNJ+DlwitYTOjIVAr4u1OR gfQvzR3elb+Ot1QZBeZTEkOxDjTiWQ684uOMaGteIe4VQWDe/MA1YOQzeYCoBrpk8X2v ah3URl6BusLNOwf2PoLIry5b+/v0Rey6ud1qHldOAesYz62o++wtofnHByQpnYqNqFF0 xUvb06T/iICO8ajl8N5NPZpD9ELEE4QFzBls6kZMKgkMlo1lhEkuBLwWm4+kK+w4m//g mk+w== 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=hvUb0Q4xouHWKqTM7bQQ/VqtuCJ1d/eQd9JdFZkyvSs=; b=ry4QS3V2FcCpII6zu4rnta5GwwTUli3Z4SsdNS6wcNgBcpFlqL/SuXkVIzXxWiYClo bnJ7CyL6e20XtMSZDc8CV6/aM/fhLZhvDF7HDhriBavB6PvPPkqK4OF+wVhBaod/tso0 dbUyd1W3Mmj5EKDiPQbPaNIfC8UJDgRMn/nlCH2F092pNinZRrwEvGbUKzZTdaRdgLRs 5Ndi8eaZ3iSK7/GHPtzfBnnQcgZ8sRSJ2dc3brs/XlLvt3q1K08IJNFW9pHhSeJBBLY+ Yy37d8LBJP5HtkT3I3FTIL7gtg823KTPw6s2EZpIiTekxIgBgqxSEY1SFlMo3SNSIcNC 98YA== X-Gm-Message-State: AOAM5323qiu481mRysI5opLz0t822dMS51yYSFXwczlFdG1jP/JEPuVl /HFtoUZNQ0sqNk+3Hb7erIWYzIbO X-Google-Smtp-Source: ABdhPJyxlNYTFkZDISgwJl+ikxSkE3TMXJ4ZC/fADiTqEqlZ6NYO5YTf4kyFTqn6HFDBSsXBEqQoZQ== X-Received: by 2002:a05:6402:155a:: with SMTP id p26mr4428794edx.376.1592590876163; Fri, 19 Jun 2020 11:21:16 -0700 (PDT) Original-Received: from [192.168.0.3] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id ox27sm5289399ejb.101.2020.06.19.11.21.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2020 11:21:15 -0700 (PDT) In-Reply-To: <87bllfnjy5.fsf@thornhill.no> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::52d; envelope-from=raaahh@gmail.com; helo=mail-ed1-x52d.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:252390 Archived-At: On 19.06.2020 18:39, Theodor Thornhill wrote: > I believe project.el to be a bit ambiguous, since it is both a generic > "wrapper" for a generic interface "project", but also an implementation of > the "vc" version of this interface. So the behaviour you suggest here is > easily done in say: > > (cl-defmethod project-root ((project (head some-major-mode))) > ...) > > The version used now is merely saying: "Show me everything but the > things ignored in .gitignore." Let's not do that. In any case, this doesn't help us to define what project-switch-to-buffer should do now. It would only complicate things.