From: Xavier Maillard <xma@gnu.org>
To: "Paulo J. Matos" <pocmatos@gmail.com>
Cc: emacs list <help-gnu-emacs@gnu.org>
Subject: Re: Debugging new major mode
Date: Sat, 13 Jun 2009 23:44:28 +0200 [thread overview]
Message-ID: <87zlcb6c77.wl%xma@gnu.org> (raw)
In-Reply-To: <11b141710906130707v1fcd6f0bm7db921f4d83b49e@mail.gmail.com>
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
next prev parent reply other threads:[~2009-06-13 21:44 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 [this message]
2009-06-16 22:48 ` Paulo J. Matos
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=87zlcb6c77.wl%xma@gnu.org \
--to=xma@gnu.org \
--cc=help-gnu-emacs@gnu.org \
--cc=pocmatos@gmail.com \
/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).