From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#2061: 23.0.60; Add preference to force load of Elisp files when they are newer than corresponding byte-compiled file Date: Mon, 26 Jan 2009 06:08:43 +0200 Message-ID: References: <18813.7599.138907.415045@hungover.brentg.com> Reply-To: Eli Zaretskii , 2061@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1232996439 23357 80.91.229.12 (26 Jan 2009 19:00:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 19:00:39 +0000 (UTC) To: Brent Goodrick , 2061@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 20:01:51 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRWiT-0003sS-Tu for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 20:01:50 +0100 Original-Received: from localhost ([127.0.0.1]:44463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRWhC-0000UJ-4z for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 14:00:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRViK-0002aW-Md for bug-gnu-emacs@gnu.org; Mon, 26 Jan 2009 12:57:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRViI-0002ZQ-UR for bug-gnu-emacs@gnu.org; Mon, 26 Jan 2009 12:57:36 -0500 Original-Received: from [199.232.76.173] (port=48166 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRViI-0002ZI-Nk for bug-gnu-emacs@gnu.org; Mon, 26 Jan 2009 12:57:34 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:52695) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LRVOw-0007Xy-FO for bug-gnu-emacs@gnu.org; Mon, 26 Jan 2009 12:37:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRJKc-0003GP-RT for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 23:44:19 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0Q4NTcH031693; Sun, 25 Jan 2009 20:23:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0Q4F2v4029342; Sun, 25 Jan 2009 20:15:02 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 26 Jan 2009 04:15:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2061-submit@emacsbugs.donarmstrong.com id=B2061.123294293728073 (code B ref 2061); Mon, 26 Jan 2009 04:15:02 +0000 Original-Received: (at 2061) by emacsbugs.donarmstrong.com; 26 Jan 2009 04:08:57 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout7.012.net.il (mtaout7.012.net.il [84.95.2.19]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0Q48q7p028065 for <2061@emacsbugs.donarmstrong.com>; Sun, 25 Jan 2009 20:08:54 -0800 Original-Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KE2008008LM1T00@i-mtaout7.012.net.il> for 2061@emacsbugs.donarmstrong.com; Mon, 26 Jan 2009 06:09:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.255.234]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KE2009518UX7H10@i-mtaout7.012.net.il>; Mon, 26 Jan 2009 06:09:03 +0200 (IST) In-reply-to: <18813.7599.138907.415045@hungover.brentg.com> X-012-Sender: halo1@inter.net.il X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Mon, 26 Jan 2009 12:57:36 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24560 Archived-At: > From: Brent Goodrick > Date: Sun, 25 Jan 2009 18:19:27 -0800 > Cc: > > When would the user ever prefer to load the .elc file after having > modified the .el file? When you are working on the .el file and it is not ready yet, or buggy. > My suggestion is to add a customizable preference variable called, > say, load-prefer-newer-lisp-files (that needs a better name), that is > recognized by the load function (defined in C code). When > load-prefer-newer-lisp-files is non-nil, and when there is a .el and > .elc file, and when the .el file is newer than the .elc file, it loads > the .el file and not the .elc file (and possibly emits a warning of > this action). Yes, but please not now, not before Emacs 23.1 is released. We are in feature freeze.