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 17:49:00 +0300 Message-ID: <626efe11-0f9c-081b-11dd-0d61cee8168d@yandex.ru> References: <87bllfqj82.fsf@warpmail.net> <83o8pfxhzq.fsf@gnu.org> <83imfnxgt3.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="121604"; 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: Eli Zaretskii , Theodor Thornhill Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 19 16:50:26 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 1jmILZ-000VVw-ET for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 16:50:25 +0200 Original-Received: from localhost ([::1]:34310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmILY-0002lF-FB for ged-emacs-devel@m.gmane-mx.org; Fri, 19 Jun 2020 10:50:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmIKI-0001bi-MO for emacs-devel@gnu.org; Fri, 19 Jun 2020 10:49:06 -0400 Original-Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:42205) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmIKG-0003DI-Jz; Fri, 19 Jun 2020 10:49:06 -0400 Original-Received: by mail-ed1-x52f.google.com with SMTP id x93so7797993ede.9; Fri, 19 Jun 2020 07:49:03 -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=knRdZYVYTIOMNZCFDLq4MBMgTdJWNhCKonW22AbGrdA=; b=mArxJZccDbRIA5VJepy5mPmObcE88qrp4hfZJnNpzmlR0HZo9s9+ROC5LthjzsydyK Mjd6t909aIrMxsLPi96RHocwhgSzsLedMVwhwKI3+fBUGg4Y7rrCqgy5CZJ6lf80T2NI tYXnO9IGYMFYnGbNYxVs51THY9XhxVLDV8yezUcZo4BbyEhRV7I5KDKR6ascmS09bBOB Vl2MseS7Fi/Xs3d7TAwRvhVEg0gzDtNfd9ul5lbqJzwgSBaU34E9N6iU8OAjbGx4fZRg CgF92Lss5uTLX4gAHmQ33+Lo6pIUNys8/el2on48DGz1thNCVsnKnus2pu1t9tv7BnHS Nfbw== 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=knRdZYVYTIOMNZCFDLq4MBMgTdJWNhCKonW22AbGrdA=; b=EfOdx8gR8jCz0kTQMmWUJLJ0CFAILHsdANN883urV0PCyGYVn/Joj+oDo5Tw8xBCaa VwGSDQz1qgnmPF11KUWAZE3Hsyxfg/gu6LqMBAA4ssmTLJLiyWDWNNv+ku7mv/rqQzqd L2wznFyybYmhMfGeCEwg5qB3//nSlerVLFu/UVDsS7tLtX2KCrq2tqcn9YKlhSpn4OIQ GaEtYvIdJdupSCG3zPq7cw0QDMpmCTiEbVf+DLDRz0wdJSBTNi9I6LeUwGssYRo7TMj3 YHrkHQsw499rCTpBawYdpQD0UhusqePdIm5j7DzDz8AfsVesvNTp1wgyddu8sL43oak6 ud8w== X-Gm-Message-State: AOAM5338NysBbq7OojNTFCrTS1WXPVPLNA3Db3ZD8bavg3lfXU2bhYe9 YaRgLY2YpT9u/ozDlnlkbRK0YYUG X-Google-Smtp-Source: ABdhPJx08cujZ1S+ZyuQZNIq+/2Yd7vlmz0l2oyk294KduAFvar4BbdGW2WeCvntA7BkASOidn0Gmg== X-Received: by 2002:aa7:cdcb:: with SMTP id h11mr3781326edw.218.1592578142486; Fri, 19 Jun 2020 07:49:02 -0700 (PDT) Original-Received: from [192.168.0.60] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id v3sm5013761edj.89.2020.06.19.07.49.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 19 Jun 2020 07:49:01 -0700 (PDT) In-Reply-To: <83imfnxgt3.fsf@gnu.org> Content-Language: en-US Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=raaahh@gmail.com; helo=mail-ed1-x52f.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:252365 Archived-At: On 19.06.2020 17:37, Eli Zaretskii wrote: >>> Switch to another buffer related to the current project. >>> A buffer is related to a project if its `default-directory' >>> is inside the directory hierarchy of the project's root. >> >> Sounds good. Except some projects can be inside one another, too. > Does that invalidate what the text above says? If the current project contains a few other projects inside of its subdirectories, project-switch-to-buffer probably should offer any of "their" buffers for switching. It current does, but that's arguably a bug. :-( > Maybe we should step back and talk about the intended uses of this > command? When would you want to switch to a buffer whose name you > don't know in advance? When don't I? Do you use icomplete, or something similar? As soon as you start relying on completion hints, you don't need to remember the names in advance. And it's also a good overview of the current open buffers in the current project. Also, different projects can have files with conflicting names. And yes, uniquify solves that somewhat by renaming one of the buffers, but the other keeps the base name, so it's not immediately apparent to which project it belongs.