From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: Project support and completions (Was: Re: bug#19466: 25.0.50; xref-find-def doesn't find C functions) Date: Thu, 29 Jan 2015 16:19:19 -0500 Message-ID: References: <8361cucl3u.fsf@gnu.org> <54A230CD.3040309@yandex.ru> <83vbktb1ct.fsf@gnu.org> <54A2EE15.3020406@yandex.ru> <831tnhasx0.fsf@gnu.org> <54A6DAF6.5070605@yandex.ru> <831tna9tmr.fsf@gnu.org> <54A9C94F.8040701@yandex.ru> <83vbkl99vm.fsf@gnu.org> <54B8878A.4050506@yandex.ru> <54B8C22B.3080200@gmx.at> <54BC7A77.5020307@yandex.ru> <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> <54C429D8.6010302@yandex.ru> <83twzerges.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c1e9ee88c5b3050dd10a05 X-Trace: ger.gmane.org 1422566378 25794 80.91.229.3 (29 Jan 2015 21:19:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 Jan 2015 21:19:38 +0000 (UTC) Cc: Emacs developers , Brief Busters To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 29 22:19:37 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 1YGwUz-0000So-7D for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2015 22:19:37 +0100 Original-Received: from localhost ([::1]:33622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGwUy-0006Da-8W for ged-emacs-devel@m.gmane.org; Thu, 29 Jan 2015 16:19:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGwUk-0006DS-Ea for emacs-devel@gnu.org; Thu, 29 Jan 2015 16:19:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGwUj-0005rb-Ho for emacs-devel@gnu.org; Thu, 29 Jan 2015 16:19:22 -0500 Original-Received: from mail-yk0-x22a.google.com ([2607:f8b0:4002:c07::22a]:64839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGwUi-0005rG-99; Thu, 29 Jan 2015 16:19:20 -0500 Original-Received: by mail-yk0-f170.google.com with SMTP id q9so15432092ykb.1; Thu, 29 Jan 2015 13:19:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=oTx0DRK8FIDJTdL7T3suUGtvISxR4ZnPc2Yr9Xhpo8w=; b=xip1Uob//5Ed/icYH4Ykd1E0CElT1Yo8qoKQkPQ1xp+1gb+uf46G7V4tmG8B4Fy7+X Oo0M8/Ug/OYkFJgKP988cGXMFhTpI566IpD9AlIVoHPXy+K8g585FUWR0nHNhNkXbBZQ fJ2w6OhBbkpv3HWVh7t0GdJqnJ6p/uOgZud5oXckDqlJiqkaGNFFJ677eIw1Yia7uYyg iEgAyRCCTcp6JpAptMNND933mCCgd3LTJhoVaSj5OFdk8L++eLLz/jatFsrkTMPBbNa/ /Nz8HXlUS8Y34EmZmb124aElPiV0B886X5M21uQ1CzUCg+H4KTQFV5KNx7j5IYy0JzEt GMig== X-Received: by 10.236.223.198 with SMTP id v66mr1460660yhp.38.1422566359613; Thu, 29 Jan 2015 13:19:19 -0800 (PST) Original-Received: by 10.170.204.78 with HTTP; Thu, 29 Jan 2015 13:19:19 -0800 (PST) In-Reply-To: <83twzerges.fsf@gnu.org> X-Google-Sender-Auth: 1E8bWTVLT1dgPICL2M0quvFuASE X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4002:c07::22a 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:182008 Archived-At: --001a11c1e9ee88c5b3050dd10a05 Content-Type: text/plain; charset=UTF-8 EZ> For example, it sounds to me that by having an "add project" and EZ> "remove project" commands, we can give the user the ability to tell JY> Such a model is inherently stateful, hence problematic. It makes JY> multiplexing work on multiple projects difficult and error-prone. EZ> Stateful, yes. Working on a certain project or a set of projects is EZ> indeed inherently stateful. EZ> EZ> I don't see the problematic part in that, though. Could you elaborate EZ> on what practical problems you see with this? Eli, To me your proposed model of "add project" / "remove project" seemed just too reminiscent of etag's paradigm for managing tag tables. Of late I have been using git-new-workspace. In that setting find-tag forever seems to open the _wrong_ file. More perniciously it often opens one that looks right though in a different workspace, thereby slowing me down and making me paranoid. /john --001a11c1e9ee88c5b3050dd10a05 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
EZ> For example, it sounds to me that by having an &quo= t;add project" and
EZ> "remove project" commands, we c= an give the user the ability to tell

JY>=C2=A0Such a = model is inherently stateful, hence problematic.=C2=A0 It makes=C2=A0
=
JY> multiplexing work on multiple projects difficult and error-pron= e.

EZ>= ;=C2=A0Stateful, yes.=C2=A0 Working on a certain project or a set of projec= ts is
EZ>=C2=A0indeed inherently stateful.
EZ>
EZ>=C2=A0I= don't see the problematic part in that, though.=C2=A0 Could you elabor= ate
EZ>=C2=A0on what practical problems you see with this?

Eli,

To me your propos= ed model of "add project" / "remove project" seemed
just too reminiscent of etag's parad= igm for managing tag tables.=C2=A0 Of late
= I have been using git-new-workspace.=C2=A0 In that setting find-tag forever=
seems to open the _wrong_ file.=C2=A0 More= perniciously it often opens one
that looks= right though in a different workspace, thereby slowing me down
and making me paranoid.

/john

--001a11c1e9ee88c5b3050dd10a05--