From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: force auto compile .el files Date: 25 Mar 2006 20:23:33 -0500 Message-ID: References: <87pskahftv.fsf@gnu.org> <87u09mrpff.fsf@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1143336239 24192 80.91.229.2 (26 Mar 2006 01:23:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Mar 2006 01:23:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 26 03:23:57 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FNJz2-0003ra-Qm for ged-emacs-devel@m.gmane.org; Sun, 26 Mar 2006 03:23:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNJz1-0003rn-UQ for ged-emacs-devel@m.gmane.org; Sat, 25 Mar 2006 20:23:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FNJyj-0003rV-3Q for emacs-devel@gnu.org; Sat, 25 Mar 2006 20:23:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FNJyh-0003rJ-5X for emacs-devel@gnu.org; Sat, 25 Mar 2006 20:23:36 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FNJyh-0003rG-3r for emacs-devel@gnu.org; Sat, 25 Mar 2006 20:23:35 -0500 Original-Received: from [67.59.132.6] (helo=mail.agora-net.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FNJzr-0008A7-0b; Sat, 25 Mar 2006 20:24:47 -0500 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.50) id 1FNJyf-0007y1-SQ; Sat, 25 Mar 2006 20:23:33 -0500 Original-To: Giuseppe Scrivano In-Reply-To: <87u09mrpff.fsf@gnu.org> Original-Lines: 16 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.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:52064 Archived-At: Giuseppe Scrivano writes: > Probably some users (me, for instance) will like the possibility to > have .elc files always updated without recompile them manually. recompile on load becomes difficult when there are dependencies outside the file (when it is not purely standalone), since there are many tricky cases to consider when recursing. to see what i mean, try (w/ your patched emacs) munging some autoloaded gnus/*.el files while using gnus. bonus points for surviving nontrivial changes to emacs-lisp/bytecomp.el. instead, you can move the compile to `write-contents-hooks' or similar. this can be arranged to be done automatically, as well. it might even already be a feature (if not in emacs proper, try emacswiki)... thi