help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In emacs 23 compile-mode doesn't recognize (c)perl error messages


From: LanX
Subject: Re: In emacs 23 compile-mode doesn't recognize (c)perl error messages
Date: Fri, 9 Oct 2009 18:53:41 -0700 (PDT)
User-agent: G2/1.0

> The main problem is of course how to handle this. What about using
> unit tests? When I take time to write them for nXhtml I think they
> helps a lot. (But I am mostly not fighting problems with getting it to
> fit with changes in Emacs. I am fighting my own mistakes. And mistakes
> in external libraries.)

Sure testing is crucial!

let's see
- cperl-mode depends  on
  - mode-compile which depends on
    - compile.el which depends on
      - ???.

ATM me with my reduced knowledge of elisp have to PROVE the bug I'm
trying to report, instead of getting testtools or at least help to
isolate the problem.

But with an existing test framework every new bug would eventually
lead to a new test added.

I even was able to produce patches which solve the problem for me...
but this knowledge, which I was able to accumulate after 3 days, will
now mostly get lost, because the support still denies existence of and
responsibility for a problem, which involves external code and I'm now
loosing interest to help.

But with a test-set for compile.el I would have been in a position to
either prove the problem very fast  or I would at least have a
starting point to add new tests, improving the test coverage.

I have to say that even today after using emacs for more than 15 years
now my knowledge of elisp is quite reduced, so I can't even tell what
kind of testing is realistically possible.

>From a perlish point of view (excuse me ;-) someting like
www::mechanize or selenium used to test web-apps would be nice.

This way even elisp hating hackers would be able to supply test-code
in a scripting language of their choice!

Well, just some brainstorming ...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]