From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: cl-defgeneric vs random funcall in project.el Date: Mon, 10 Aug 2015 20:38:45 +0100 Message-ID: References: <86oaiwa57v.fsf@stephe-leake.org> <55B82A0C.5040709@yandex.ru> <86fv4782k2.fsf@stephe-leake.org> <55B92F76.7060104@yandex.ru> <86380686sm.fsf@stephe-leake.org> <55BA0AC4.7060906@yandex.ru> <86mvyd7jf0.fsf@stephe-leake.org> <55BA5BDD.1080009@yandex.ru> <86k2thz0dw.fsf@stephe-leake.org> <55BAC366.1010803@yandex.ru> <86fv44z94l.fsf@stephe-leake.org> <55BBFC3E.2010405@yandex.ru> <86h9ojjoll.fsf@stephe-leake.org> <55BCB6E5.2040804@yandex.ru> <86wpxfhyzm.fsf@stephe-leake.org> <55BCF888.4020907@yandex.ru> <55C1271A.2090202@yandex.ru> <86h9o7zvqw.fsf@stephe-leake.org> <867fp3ytnq.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1439235567 23037 80.91.229.3 (10 Aug 2015 19:39:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Aug 2015 19:39:27 +0000 (UTC) Cc: emacs-devel To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 10 21:39:27 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 1ZOsuo-0004Gv-4t for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2015 21:39:22 +0200 Original-Received: from localhost ([::1]:59999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOsun-0007MI-Lp for ged-emacs-devel@m.gmane.org; Mon, 10 Aug 2015 15:39:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOsuZ-0007M2-KU for emacs-devel@gnu.org; Mon, 10 Aug 2015 15:39:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZOsuY-0003x4-HH for emacs-devel@gnu.org; Mon, 10 Aug 2015 15:39:07 -0400 Original-Received: from mail-io0-x22c.google.com ([2607:f8b0:4001:c06::22c]:35354) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZOsuY-0003ww-CQ for emacs-devel@gnu.org; Mon, 10 Aug 2015 15:39:06 -0400 Original-Received: by iodd187 with SMTP id d187so180253354iod.2 for ; Mon, 10 Aug 2015 12:39:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=i0RZh4RUNMyeZuezLPXgYQZkdIruAAKbD0UxCzLTmtk=; b=BTF5W4vn6FsoERZxrKMB8SjevYQlgILbFTQhajKiu/E62Vp/9yweSEpg5+/VGLaNon Yb1u3a0+WgN8Ks7Mre0AvYhPRnPlhwXYzYzczgLLBnFUaXQK1mtC2pl/1ZAxGHJQgt+M GbVflUcF+QvE+AwNytiB3VfbuXjGinQxqoQn5jeI/RWfsvRUH5msN0TFIscfU3jCmoTa on7nYw0+kq7movKHyhG/on0WeoVMPEKj9E9O3to/RE+NKkWEfoZAXTz8e5THnkDGTMoE gowFCRPYPeL1GoKaKl2/o4VQD+8DHVR9jlZw4gXkECB7l3N7kwJJvRnl/mobGqiGB5ZL lFzg== X-Received: by 10.107.8.11 with SMTP id 11mr21399255ioi.125.1439235545554; Mon, 10 Aug 2015 12:39:05 -0700 (PDT) Original-Received: by 10.107.30.210 with HTTP; Mon, 10 Aug 2015 12:38:45 -0700 (PDT) In-Reply-To: <867fp3ytnq.fsf@stephe-leake.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c06::22c 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:188705 Archived-At: On Mon, Aug 10, 2015 at 5:50 PM, Stephen Leake wrote: > Jo=C3=A3o T=C3=A1vora writes: >> I suppose. I tried, but not very hard, ede.el in the past. The reason >> I didn't try very hard is that it scared me. If I recall pcorrectly, >> there a lot to setup, new concepts to learn... and a funnyly named >> file to edit: > > EDE has gotten better, and the developers are still actively improving it= . I (require 'ede) in a recentish trunk and tried (ede-project-root) only to find out that it requires an argument, and I couldn't make out how to pass it something like `ede-guess-current-project'`. How can I do that? In project.el, which I just tried for the first time, `project-root' also requires and argument, but it was rather trivial to find that `project-current` retu= rns one, and it works for 90% of my projects, which are git-based. It's enough for me to throw away my (defun joaot/vc-get-vc-dir-or-die (&optional dont-die) (or (locate-dominating-file default-directory ".git") (and (not dont-die) (error "Could not find git project dir from here (~a)" default-directory)))) and I'm sure it'll work on many more situations. And Dmitry seems to be working on functionality (xref) that makes my (defun joaot/vc-rgrep (regexp) ...) the most useful of my commands, not only obsolete, but ridiculously limited in comparison. > I believe the current development version of EDE meets these goals, or > at least desires to (except for the name of the project description > file). > > In particular, the user guide has been much improved. I believe you and I've only very briefly skimmed it. It seems, though, to be aimed at "creating projects". I'm interested in a tool that understands existing projects. Or in tools that help me develop those tools. > Both the Emacs bundled version and the SourceForge development version > of EDE are a little broken right now, because of the eieio and > cl-generic changes in Emacs master. So you should wait a while before > trying it again. That doesn't help EDE's case :-). But OK. --=20 Jo=C3=A3o T=C3=A1vora