From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#2577: 23.0.91; startup.el should choose .emacs ahead of .emacs.elc if .emacs is newer Date: Sat, 7 Mar 2009 23:08:11 +0100 Message-ID: <20090307220811.GX28813@bennee.com> References: <20090305084439.GR28813@bennee.com> <20090306101854.GW28813@bennee.com> <49B12731.8060104@gnu.org> Reply-To: Alex , 2577@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1236464644 21232 80.91.229.12 (7 Mar 2009 22:24:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Mar 2009 22:24:04 +0000 (UTC) Cc: 2577@emacsbugs.donarmstrong.com To: Jason Rumney Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 07 23:25:19 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 1Lg4xH-0002BH-GP for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 23:25:15 +0100 Original-Received: from localhost ([127.0.0.1]:56242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lg4vv-0006qO-JD for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Mar 2009 17:23:51 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lg4vq-0006oG-5M for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2009 17:23:46 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lg4vo-0006ke-22 for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2009 17:23:45 -0500 Original-Received: from [199.232.76.173] (port=50619 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lg4vm-0006jm-MX for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2009 17:23:42 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56478) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Lg4vm-0001NJ-6a for bug-gnu-emacs@gnu.org; Sat, 07 Mar 2009 17:23:42 -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 n27MNe2s026322; Sat, 7 Mar 2009 14:23:40 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n27MK2gh025126; Sat, 7 Mar 2009 14:20:02 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Alex Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 07 Mar 2009 22:20:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2577 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2577-submit@emacsbugs.donarmstrong.com id=B2577.123646397523725 (code B ref 2577); Sat, 07 Mar 2009 22:20:02 +0000 Original-Received: (at 2577) by emacsbugs.donarmstrong.com; 7 Mar 2009 22:12:55 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from socrates.bennee.com (static.181.77.47.78.clients.your-server.de [78.47.77.181]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n27MCplC023719 for <2577@emacsbugs.donarmstrong.com>; Sat, 7 Mar 2009 14:12:52 -0800 Original-Received: from alex by socrates.bennee.com with local (Exim 4.69) (envelope-from ) id 1Lg4gl-0007BH-9x; Sat, 07 Mar 2009 23:08:11 +0100 Content-Disposition: inline In-Reply-To: <49B12731.8060104@gnu.org> User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: alex@bennee.com X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 07 Mar 2009 17:23:45 -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:26120 Archived-At: On Fri, Mar 06, 2009 at 09:37:53PM +0800, Jason Rumney wrote: > Alex wrote: >>> I think that if people compile their .emacs they get what they ask for. >>> >> >> That's not very helpful. > > For you, perhaps not. But we have discussed this on emacs-devel numerous > times in the past, and every time it has been clear that different > people have different opinions. Many people consider lisp source to be > "work in progress" until they compile it, and do not want Emacs to load > it by default if there is a compiled version around. The compromise is > to issue a warning. > > If you have a problem remembering to compile your .emacs, then either > delete the .emacs.elc file and stop compiling it, or investigate one of > the solutions that people have come up with to compile it automatically. Typically it's pulling in a later version from an SCM that the warning case trips up on, as the doesn't trip the compile-on-save hook that most people use to auto compile .emacs. As Emacs is a configurable editor would adding a variable to control this behaviour be the way forward? A lot of people do run their configs out of an SCM these days. Someone else suggested maybe being able to use def advice to modify the behaviour which might make any work-arounds less hacky but I'm not sure what this would entail for the core code. -- Alex, homepage: http://www.bennee.com/~alex/ Tax and title extra.