From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Feature Request : autoload-form Date: Mon, 31 Mar 2008 12:24:45 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1206980759 1350 80.91.229.12 (31 Mar 2008 16:25:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 16:25:59 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "paul r" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 31 18:26:23 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JgMpq-00058s-Jq for ged-emacs-devel@m.gmane.org; Mon, 31 Mar 2008 18:26:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgMpE-00045H-LJ for ged-emacs-devel@m.gmane.org; Mon, 31 Mar 2008 12:25:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JgMoS-0003gw-2s for emacs-devel@gnu.org; Mon, 31 Mar 2008 12:24:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JgMoQ-0003eY-68 for emacs-devel@gnu.org; Mon, 31 Mar 2008 12:24:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgMoQ-0003eV-0Y for emacs-devel@gnu.org; Mon, 31 Mar 2008 12:24:46 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JgMoP-0004o2-S9 for emacs-devel@gnu.org; Mon, 31 Mar 2008 12:24:45 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JgMoP-00024x-7G; Mon, 31 Mar 2008 12:24:45 -0400 In-reply-to: (paul.r.ml@gmail.com) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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 Xref: news.gmane.org gmane.emacs.devel:94043 Archived-At: - I got rid of the monolithic .emacs, so that bits of configuration go into dedicated "modules". There is a module for C-mode, one for Muse-mode etc. One module resides in one file. Modules are shared in your network of friends/colleagues ... anybody syncing with you, so they are "network-specific" but not "user-specific". I think I understand what these do. I'm not completely sure why you want them, though. What job do these do, which you couldn't do by installing some Lisp libraries in the usual way? - To allow fine-tuning, a user can use "module configuration file", which is an other file, with personal tweaking in it. Those conf files are not shared and are usually optional. They are user specific, and private. Exemple : the ERC module does a lot of configuration, but it can not set up username, password etc because this information is user-specific. Why not put this stuff directly in .emacs? I could put, at beginning of *every* modules, a (load-file "thisModuleConfigurationFile" t). I don't see why you want to do that, rather than putting the "module configuration" expressions directly in .emacs. What do you gain? This is what I did before, but I do not find that elegant, nor fully satisfactory in many ways for the needs, so it now is to the TidyConfig system to carry proper loading of modules. I am confused. Are you talking about making a module load its module configuration expressions, or are you talking about how to load the module itself when it is needed? Those are two different issues, right? Some of your words seem to imply one, and some seem to imply the other. Here we are. I currently have no option to do so, except putting the form I want to eval in a dummy file and registering this file with autoload. I have lost you completely here.