[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cl-defgeneric vs random funcall in project.el
From: |
João Távora |
Subject: |
Re: cl-defgeneric vs random funcall in project.el |
Date: |
Mon, 10 Aug 2015 20:38:45 +0100 |
On Mon, Aug 10, 2015 at 5:50 PM, Stephen Leake
<address@hidden> wrote:
> João Távora <address@hidden> 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` returns
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.
--
João Távora
- Re: cl-defgeneric vs random funcall in project.el, (continued)
- Re: cl-defgeneric vs random funcall in project.el, Dmitry Gutov, 2015/08/01
- Re: cl-defgeneric vs random funcall in project.el, Stephen Leake, 2015/08/01
- Re: cl-defgeneric vs random funcall in project.el, João Távora, 2015/08/04
- Re: cl-defgeneric vs random funcall in project.el, Dmitry Gutov, 2015/08/04
- Re: cl-defgeneric vs random funcall in project.el, João Távora, 2015/08/04
- Re: cl-defgeneric vs random funcall in project.el, Dmitry Gutov, 2015/08/04
- Re: cl-defgeneric vs random funcall in project.el, Dmitry Gutov, 2015/08/09
- Re: cl-defgeneric vs random funcall in project.el, Stephen Leake, 2015/08/09
- Re: cl-defgeneric vs random funcall in project.el, João Távora, 2015/08/10
- Re: cl-defgeneric vs random funcall in project.el, Stephen Leake, 2015/08/10
- Re: cl-defgeneric vs random funcall in project.el,
João Távora <=
- Re: cl-defgeneric vs random funcall in project.el, Dmitry Gutov, 2015/08/10
- Re: cl-defgeneric vs random funcall in project.el, João Távora, 2015/08/10
- Re: cl-defgeneric vs random funcall in project.el, Dmitry Gutov, 2015/08/10
- Re: cl-defgeneric vs random funcall in project.el, João Távora, 2015/08/10
- Re: cl-defgeneric vs random funcall in project.el, Dmitry Gutov, 2015/08/10
- Re: cl-defgeneric vs random funcall in project.el, Dmitry Gutov, 2015/08/10
- Re: cl-defgeneric vs random funcall in project.el, Stefan Monnier, 2015/08/07
- Re: cl-defgeneric vs random funcall in project.el, Dmitry Gutov, 2015/08/07
- Re: cl-defgeneric vs random funcall in project.el, Stefan Monnier, 2015/08/07
- Re: cl-defgeneric vs random funcall in project.el, Stephen Leake, 2015/08/05