all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: m h <sesquile@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: code coverage mode?
Date: Thu, 22 Oct 2009 10:17:15 -0600	[thread overview]
Message-ID: <e36b84ee0910220917m465b253aoe731b5984879582c@mail.gmail.com> (raw)
In-Reply-To: <jwv8wf3o2tc.fsf-monnier+emacs@gnu.org>

On Thu, Oct 22, 2009 at 9:48 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> I like the flymake style, yet I still want to really use flymake for
>> how it was intended.  (Plus I don't want to be re-running coverage
> [...]
>> by any means, I'm hacking stuff together here.  But if this were
>> python then I'd create a subclass of flymake and use that for
>> coverage, while still using the former for its normal use (syntax
>> checking).
>
> So, IIUC you'd like to be able to use flymake in two different ways at
> the same time in the same buffer?  It's probably not too difficult to
> do, but will require changing flymake for that.
>

Yes I want normal flymake, then for code coverage I (think I) want to
turn on coverage-mode which will analyze the coverage data and if the
data is fresher than the file, show the coverage data as well.  Then
when one starts typing some new code (or a new line at least), disable
coverage data because it's stale.  This might seem weird but the
workflow I'm trying to get is working on a particular function,
analyze the coverage for it, and add tests to get full coverage.  My
helper utility provides me the ability to only run tests for that
function rather than a whole suite, so I imagine I'd want a macro to
run coverage-for-function.

> Patches welcome,

yes, they are ;)




      reply	other threads:[~2009-10-22 16:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-22  7:25 code coverage mode? m h
2009-10-22 15:48 ` Stefan Monnier
2009-10-22 16:17   ` m h [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e36b84ee0910220917m465b253aoe731b5984879582c@mail.gmail.com \
    --to=sesquile@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.