From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Joshua Liu" Newsgroups: gmane.emacs.help Subject: Need help with autoloading new cc-mode Date: Tue, 15 Jun 2004 10:19:51 -0700 (PDT) Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200406151719.i5FHJpQj026534@adalia.ucdavis.edu> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1087320033 20219 80.91.224.253 (15 Jun 2004 17:20:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 15 Jun 2004 17:20:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 15 19:20:23 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BaHbj-0003n2-00 for ; Tue, 15 Jun 2004 19:20:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BaHcg-0001Lg-KE for geh-help-gnu-emacs@m.gmane.org; Tue, 15 Jun 2004 13:21:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BaHcW-0001JY-2H for help-gnu-emacs@gnu.org; Tue, 15 Jun 2004 13:21:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BaHcU-0001Ix-0S for help-gnu-emacs@gnu.org; Tue, 15 Jun 2004 13:21:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BaHcT-0001In-TR for help-gnu-emacs@gnu.org; Tue, 15 Jun 2004 13:21:09 -0400 Original-Received: from [169.237.104.157] (helo=warsaw.ucdavis.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BaHbH-0000ku-La for help-gnu-emacs@gnu.org; Tue, 15 Jun 2004 13:19:56 -0400 Original-Received: from adalia.ucdavis.edu (adalia.ucdavis.edu [169.237.104.182]) by warsaw.ucdavis.edu (8.12.10/8.12.9/it-defang-5.2.0) with ESMTP id i5FHJqgg018473 for ; Tue, 15 Jun 2004 10:19:52 -0700 (PDT) Original-Received: from adalia.ucdavis.edu (localhost [127.0.0.1]) by adalia.ucdavis.edu (8.12.10/8.12.9/UCD5.2.0) with ESMTP id i5FHJqEs026535 for ; Tue, 15 Jun 2004 10:19:52 -0700 (PDT) Original-Received: (from www@localhost) by adalia.ucdavis.edu (8.12.10/8.12.9/Submit) id i5FHJpQj026534; Tue, 15 Jun 2004 10:19:51 -0700 (PDT) Original-To: help-gnu-emacs@gnu.org X-Errors-To: jklliu@purple.ucdavis.edu X-Mailer: Geckomail-b16 X-Originating-IP: [169.237.108.204] X-User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) X-Scanned-By: MIMEDefang 2.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18972 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18972 Hello, I am developing a new emacs mode based upon the cc-mode package. The mode is embeded withing the cc-mode.el file. The package is complete but I cannot get emacs to automatically load my mode when I open a file with my specific file extension. Only after loading a .c, .cpp, .java or other cc- mode file extension am I able to access my mode and get autoloading. I have updated my loaddefs.el file and have no idea why emacs won't autoload my new cc-mode for me. Is there another initialization file that I am missing? Thanks in advance for you help. Josh