From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Scott Frazer Newsgroups: gmane.emacs.devel Subject: Re: Project support and completions Date: Fri, 30 Jan 2015 15:36:56 -0500 Message-ID: References: <8361cucl3u.fsf@gnu.org> <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> <54C429D8.6010302@yandex.ru> <83twzerges.fsf@gnu.org> <838ugkn62m.fsf@gnu.org> 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 1422650424 28391 80.91.229.3 (30 Jan 2015 20:40:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2015 20:40:24 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 30 21:40:23 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 1YHIMZ-0003Rv-80 for ged-emacs-devel@m.gmane.org; Fri, 30 Jan 2015 21:40:23 +0100 Original-Received: from localhost ([::1]:38571 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHIMY-0003gd-KQ for ged-emacs-devel@m.gmane.org; Fri, 30 Jan 2015 15:40:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHIMP-0003Yz-4F for emacs-devel@gnu.org; Fri, 30 Jan 2015 15:40:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YHIMK-0007Sd-4o for emacs-devel@gnu.org; Fri, 30 Jan 2015 15:40:13 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:38848) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YHIMJ-0007PR-Sv for emacs-devel@gnu.org; Fri, 30 Jan 2015 15:40:08 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YHIMH-00033y-0G for emacs-devel@gnu.org; Fri, 30 Jan 2015 21:40:05 +0100 Original-Received: from rtp-isp-nat1.cisco.com ([64.102.254.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jan 2015 21:40:04 +0100 Original-Received: from frazer.scott by rtp-isp-nat1.cisco.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Jan 2015 21:40:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: rtp-isp-nat1.cisco.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:182091 Archived-At: On 1/30/15 11:17 AM, Stefan Monnier wrote: >> I never used git-new-workspace, so I don't really understand what you >> describe here. > > He describes a situation just like mine: even if I spend all day hacking > on nothing else than Emacs, I end up frequently switching between at > least 2, often 3 different "projects", which are simply 3 different > branches ("lightweight checkouts", actually, in Bazaar speech) of Emacs > (typically, "master", "local-work", and "emacs-24"). > > So for him (and for me) "multiple projects" is the norm, not > the exception. And indeed, I rarely used the etags facility for that > very reason: it all too often brings me to the file in the wrong branch. Might I suggest something like what XEmacs does, and set the tags table by looking for a matching path substring in a list? And maybe also by searching upwards? I wrote this a while ago as a possible starting place: http://www.emacswiki.org/emacs/etags-table.el Scott