From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: lisp/generic.el patch. Date: Mon, 21 Mar 2005 16:48:13 -0600 (CST) Message-ID: <200503212248.j2LMmDQ28034@raven.dms.auburn.edu> References: <87y8co96uz.fsf@xs4all.nl> <877jk8oi9s.fsf-monnier+emacs@gnu.org> <87vf7s7jcp.fsf@xs4all.nl> <87y8colji9.fsf-monnier+emacs@gnu.org> <87hdjc7fa8.fsf@xs4all.nl> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1111446667 9975 80.91.229.2 (21 Mar 2005 23:11:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2005 23:11:07 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 22 00:11:06 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDW32-0004an-O7 for ged-emacs-devel@m.gmane.org; Tue, 22 Mar 2005 00:11:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDWKD-00067g-Ng for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2005 18:28:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDWBK-0004MS-1G for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:19:34 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDWB9-0004Gr-Qu for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:19:28 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDWB6-0004Bl-Vo for emacs-devel@gnu.org; Mon, 21 Mar 2005 18:19:21 -0500 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDVhb-0008Ng-Qf for emacs-devel@gnu.org; Mon, 21 Mar 2005 17:48:52 -0500 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j2LMmp9N001343; Mon, 21 Mar 2005 16:48:51 -0600 (CST) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j2LMmDQ28034; Mon, 21 Mar 2005 16:48:13 -0600 (CST) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: Lute.Kamstra.lists@xs4all.nl In-reply-to: <87hdjc7fa8.fsf@xs4all.nl> (message from Lute Kamstra on Tue, 15 Mar 2005 22:47:11 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34925 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34925 Lute Kamstra wrote: I prefer the latter. Maybe the mode function will never be called. For example, it makes it possible to remove (require 'generic) from generic-x.el. So you can just load generic-x.elc to define a bunch of major modes (and add them to auto-mode-alist) and generic.el will only be loaded when you actually use one of them. Why do you prefer adding (require 'generic)? generic is a tiny file. (generic-x is the large one.) Sincerely, Luc.