From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Project support and completions Date: Mon, 26 Jan 2015 06:23:10 +0200 Message-ID: <54C5C12E.7050708@yandex.ru> References: <8361cucl3u.fsf@gnu.org> <54BDC34C.5070309@yandex.ru> <83wq4hwejl.fsf@gnu.org> <54BEBF63.9050709@yandex.ru> <8361c0w16n.fsf@gnu.org> <54C063E3.8020401@yandex.ru> <83a91avglz.fsf@gnu.org> <54C1655E.4050403@yandex.ru> <83r3uluawd.fsf@gnu.org> <54C28635.8070606@yandex.ru> <83twzhryyq.fsf@gnu.org> <54C2C9DC.1050908@yandex.ru> <83h9vgsehi.fsf@gnu.org> <54C3E7B6.2020006@yandex.ru> <837fwbstls.fsf@gnu.org> <83zj96rgs3.fsf@gnu.org> <83k30ar7dk.fsf@gnu.org> <54C576B3.20005@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1422246210 6421 80.91.229.3 (26 Jan 2015 04:23:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 04:23:30 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 26 05:23:25 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YFbCv-00058i-2a for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2015 05:23:25 +0100 Original-Received: from localhost ([::1]:39955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFbCu-00007z-AC for ged-emacs-devel@m.gmane.org; Sun, 25 Jan 2015 23:23:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFbCr-00007t-2O for emacs-devel@gnu.org; Sun, 25 Jan 2015 23:23:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFbCm-0006Le-2B for emacs-devel@gnu.org; Sun, 25 Jan 2015 23:23:21 -0500 Original-Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:55108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFbCl-0006LZ-RF; Sun, 25 Jan 2015 23:23:15 -0500 Original-Received: by mail-we0-f182.google.com with SMTP id l61so6891306wev.13; Sun, 25 Jan 2015 20:23:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=SiHjGEtfB+sQSClPvHfhOdv4FyX8LYqT7nJa3DbrsMY=; b=t+wuCKrz+98fMcjgxjqLoBwJYf2AVW1e4G5T+bOjMoQzAJuHo9+Z2v52L78/xnjfqL 83dRH/p+UZzJ2Um5J/UcDV28f/LsSEPmRaQrjXPQH+tpOxAL6hyVPRBGtk2ogYIFXZJa KymWDR0QjFtmDmZNSZNnIsGrB1lF37Mu12PYAq40xaqfv9O8us/6adnfIR6G/LreuSwW n/2oeNbdEkqGU5pvwWrbe8M9JVMgXnARvj+2UIqrmlWYkv6+xkI91rXm2hg+wslu+873 zqzy3zmMWyxChUwrPcE2ZRZrvNqhLDXT0pd9rD2JVFcf3dmSBBktlMB/RAhrncXfAt4N IM2Q== X-Received: by 10.180.9.115 with SMTP id y19mr28597120wia.32.1422246195127; Sun, 25 Jan 2015 20:23:15 -0800 (PST) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id di11sm12228341wid.8.2015.01.25.20.23.14 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jan 2015 20:23:14 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:33.0) Gecko/20100101 Thunderbird/33.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181772 Archived-At: On 01/26/2015 05:46 AM, Stefan Monnier wrote: > Which decision? Whether to make the second project active as soon as I visit a file in it. Assuming you use Eli's meaning of "active" (used for completion and navigation in all (?) buffers). Or whether to keep the previous project active, or entirely "leave" it. >> Quite often, when I visit files from different projects, they are just >> it: different projects. > > Right, that's exactly what I expect. Are we in violent agreement, or am > I missing something? We probably are, but I'm also entertaining the idea of supporting that alternative approach mentioned above. If we want to accomodate it, it will need separate notions of "active" projects (ones we're interested in in the current session) and the "current" project (the one the current file belongs to). In short, you're expressing ideas about how things should work in an implementation, and I worry that someone might consider them good constraints on the project API.