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

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

Re: Debugging new major mode


From: Paulo J. Matos
Subject: Re: Debugging new major mode
Date: Tue, 16 Jun 2009 23:48:31 +0100

On Sat, 2009-06-13 at 23:44 +0200, Xavier Maillard wrote:
> Hi,
> 
> At Sat, 13 Jun 2009 15:07:33 +0100,
> Paulo J. Matos wrote:
> > 
> > I have implemented a new major mode, and I can now load it. I have a
> > file that uses my new mode and the new mode source code in diff
> > buffers. I use load-file to load the new mode, however, I am not so
> > sure this is the best method to do it. What is the best method to
> > debug the new mode?
> 
> What do you mean by "debugging" ? What you can do is unit-tests
> and see if it behaves the way you thought it should have
> been. You can also try all commands/functions of your mode in a
> -Q launched session.
> 

Thanks! :) That seems to be what I want!

> Xavier





reply via email to

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