From: "Paulo J. Matos" <pocmatos@gmail.com>
To: Xavier Maillard <xma@gnu.org>
Cc: emacs list <help-gnu-emacs@gnu.org>
Subject: Re: Debugging new major mode
Date: Tue, 16 Jun 2009 23:48:31 +0100 [thread overview]
Message-ID: <1245192511.15893.0.camel@drserver> (raw)
In-Reply-To: <87zlcb6c77.wl%xma@gnu.org>
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
prev parent reply other threads:[~2009-06-16 22:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-13 14:07 Debugging new major mode Paulo J. Matos
2009-06-13 21:44 ` Xavier Maillard
2009-06-16 22:48 ` Paulo J. Matos [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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1245192511.15893.0.camel@drserver \
--to=pocmatos@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=xma@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).