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: Xavier Maillard
Subject: Re: Debugging new major mode
Date: Sat, 13 Jun 2009 23:44:28 +0200
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/22.3 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

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.

Xavier




reply via email to

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