From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Project support and completions Date: Mon, 26 Jan 2015 07:44:52 +0200 Message-ID: <83fvayqenf.fsf@gnu.org> References: <8361cucl3u.fsf@gnu.org> <54BCC033.2010104@gmx.at> <83oapuy8ew.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422251129 7501 80.91.229.3 (26 Jan 2015 05:45:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 05:45:29 +0000 (UTC) Cc: emacs-devel@gnu.org, dgutov@yandex.ru To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 26 06:45:28 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 1YFcUI-0005nB-O7 for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2015 06:45:26 +0100 Original-Received: from localhost ([::1]:40036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFcUH-0003VU-PD for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2015 00:45:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFcU5-0003VE-9u for emacs-devel@gnu.org; Mon, 26 Jan 2015 00:45:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFcU0-000526-Fy for emacs-devel@gnu.org; Mon, 26 Jan 2015 00:45:13 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:39622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFcU0-00050h-8b for emacs-devel@gnu.org; Mon, 26 Jan 2015 00:45:08 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NIR00H00RPD2200@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Mon, 26 Jan 2015 07:45:06 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIR00GVURZ6VN40@a-mtaout20.012.net.il>; Mon, 26 Jan 2015 07:45:06 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:181774 Archived-At: > From: Stefan Monnier > Cc: dgutov@yandex.ru, emacs-devel@gnu.org > Date: Sun, 25 Jan 2015 17:43:52 -0500 > > >> > IOW, I think there should be support for "I only work on one project > >> > at a time" kind of users, which means "don't switch projects on me > >> > unless I approve". > >> If you've only used a single project in this Emacs, then we should be > >> able to avoid having you select a project when you're in a buffer which > >> is not explicitly linked to "the only project". > > Sure, but then I also need a means to say "now I'm switching to > > another". Because amazingly, sometimes I do. > > Normally, this should magically happen when you visit a file in that > other project, at which point, your Emacs session has 2 projects active > and the user will then, when using project-dependent operations from > a buffer not explicitly linked to any project, choose which project to use. I have just described a few messages ago why this logic will sometimes misfire.