From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Project support and completions Date: Mon, 26 Jan 2015 10:11:09 -0500 Message-ID: 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> <83fvayqenf.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1422285216 7356 80.91.229.3 (26 Jan 2015 15:13:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2015 15:13:36 +0000 (UTC) Cc: emacs-devel@gnu.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 26 16:13:35 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 1YFlM6-0005UR-1G for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2015 16:13:34 +0100 Original-Received: from localhost ([::1]:42130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFlM0-0004tC-EJ for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2015 10:13:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFlJq-0002C6-PG for emacs-devel@gnu.org; Mon, 26 Jan 2015 10:11:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFlJm-0002cZ-DO for emacs-devel@gnu.org; Mon, 26 Jan 2015 10:11:14 -0500 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:34491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFlJm-0002cP-A1; Mon, 26 Jan 2015 10:11:10 -0500 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t0QFB9rH008914; Mon, 26 Jan 2015 10:11:09 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3E8F866135; Mon, 26 Jan 2015 10:11:09 -0500 (EST) In-Reply-To: <83fvayqenf.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 26 Jan 2015 07:44:52 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5198=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5198> : inlines <1948> : streams <1379776> : uri <1843896> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 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:181788 Archived-At: >> 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. I'm not sure which case you're referring to, but I have no doubt it won't always do the right thing. As mentioned, there is no single solution that will always do the right thing without reading the user's mind. But this solution should provide predictable behavior and when it doesn't automatically do what the user wants, it's easy for the user to instruct tell Emacs what she wants (i.e. by switching buffer). Stefan