From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Paulo J. Matos" Newsgroups: gmane.emacs.help Subject: Debugging new major mode Date: Sat, 13 Jun 2009 15:07:33 +0100 Message-ID: <11b141710906130707v1fcd6f0bm7db921f4d83b49e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1244902109 509 80.91.229.12 (13 Jun 2009 14:08:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Jun 2009 14:08:29 +0000 (UTC) To: emacs list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 13 16:08:26 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MFTuC-0006ba-1N for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 16:08:24 +0200 Original-Received: from localhost ([127.0.0.1]:56086 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFTuB-0003qf-AV for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Jun 2009 10:08:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MFTtr-0003qa-3w for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 10:08:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MFTtm-0003qJ-L8 for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 10:08:02 -0400 Original-Received: from [199.232.76.173] (port=54249 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MFTtm-0003qG-I8 for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 10:07:58 -0400 Original-Received: from mail-fx0-f217.google.com ([209.85.220.217]:58375) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MFTtl-0003n0-P0 for help-gnu-emacs@gnu.org; Sat, 13 Jun 2009 10:07:58 -0400 Original-Received: by fxm17 with SMTP id 17so4173513fxm.42 for ; Sat, 13 Jun 2009 07:07:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=A93SVLYdHAqatNzi0J7z9XzPI78ttbNf0/wSi74FO9I=; b=F8vex9tio6HCLZgiFRvQQLkoni04DQe/8+CvvDZOuc1L2lSQoK1NQuaCaPIRPFG7Vr eMq7vfqtMzVVWSgPfYD6AZiJI2zxJVcnkLHBdqUaQZZ6Yk/6iGECWHzukY8o22ng3L33 Ddov0LxsCQPwh2u/Dp5hZ/HQsu0EVtWq7oFbg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=aHssQbLx6lGhkUAAEt7GuwnWSb0rABNIkTIelWlsjzkXD/2EqZ5Os/EEOG60IOMOI1 cLZGUSHSa3BdZC/cgMYlcF9f9nf4q1umhOxxdMTuwjWWQjULAd/8c2tHNuRBbV0SE78k WMgoLzyg2E8NrQOKcrI1zJgcJGor/IHLqjCkU= Original-Received: by 10.102.228.10 with SMTP id a10mr2465689muh.26.1244902073584; Sat, 13 Jun 2009 07:07:53 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65246 Archived-At: Hi all, 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? Cheers, -- Paulo Jorge Matos - pocmatos at gmail.com http://www.pmatos.net