From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Wu Newsgroups: gmane.emacs.help Subject: Re: How to configure Emacs to autoload modes? Date: Fri, 21 Feb 2003 19:35:18 +0800 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <86k7ft6f49.fsf@canada.com> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1045827759 24908 80.91.224.249 (21 Feb 2003 11:42:39 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 21 Feb 2003 11:42:39 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18mBZc-0006TD-00 for ; Fri, 21 Feb 2003 12:42:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18mBXk-0002ya-07 for gnu-help-gnu-emacs@m.gmane.org; Fri, 21 Feb 2003 06:40:40 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!61.170.156.87!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 61.170.156.87 Original-X-Trace: fu-berlin.de 1045827325 52404939 61.170.156.87 (16 [117651]) Defun: canada.com User-Agent: Gnus/5.090015 (Oort Gnus v0.15) Emacs/21.2 Cancel-Lock: sha1:aH19e24G2Rw7S7CgxlZSq4Ggin8= Original-Xref: shelby.stanford.edu gnu.emacs.help:110472 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6974 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6974 Lucas writes: > Un beau jour, "Peter Wu" nous a dit: > >>> But I'm sure you'll get the same result by editing files.el, with being >>> ((((careful)) (to) '(((parenthesis))))) and "strings" that end >>> anywhere". >> >> However, it does not work for me after I modified the files.el and >> loaddefs.el. What could I have missed? Thanks! > > Maybe M-x byte-compile-and-load ? All my previous tests include a byte-compile. But this did not help. :( I think Emacs must be reading some files at bootup and load some modes. I'd like to know what those files are. Emacs should do something according to those files to respond to various modes, say cc-mode. -- Peter Wu