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#2577: 23.0.91; startup.el should choose .emacs ahead of .emacs.elc if .emacs is newer Date: Fri, 06 Mar 2009 12:55:06 +0200 Message-ID: References: <20090305084439.GR28813@bennee.com> <20090306101854.GW28813@bennee.com> Reply-To: Eli Zaretskii , 2577@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1236337518 5032 80.91.229.12 (6 Mar 2009 11:05:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2009 11:05:18 +0000 (UTC) To: Alex , 2577@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 06 12:06:35 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 1LfXsj-0005Cl-EU for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 12:06:22 +0100 Original-Received: from localhost ([127.0.0.1]:45849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfXrO-0000Mc-40 for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2009 06:04:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LfXqC-0007wt-Le for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2009 06:03:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LfXqA-0007vG-Hf for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2009 06:03:43 -0500 Original-Received: from [199.232.76.173] (port=49149 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LfXqA-0007v5-8b for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2009 06:03:42 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:53178) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LfXq9-0004WP-Ga for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2009 06:03:41 -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 n26B3dtI012261; Fri, 6 Mar 2009 03:03:40 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n26B03WI011154; Fri, 6 Mar 2009 03:00:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 06 Mar 2009 11:00:03 +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: wontfix Original-Received: via spool by 2577-submit@emacsbugs.donarmstrong.com id=B2577.123633691510875 (code B ref 2577); Fri, 06 Mar 2009 11:00:03 +0000 Original-Received: (at 2577) by emacsbugs.donarmstrong.com; 6 Mar 2009 10:55:15 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout2.012.net.il (mtaout2.012.net.il [84.95.2.4]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n26AtAYu009878 for <2577@emacsbugs.donarmstrong.com>; Fri, 6 Mar 2009 02:55:11 -0800 Original-Received: from conversion-daemon.i_mtaout2.012.net.il by i_mtaout2.012.net.il (HyperSendmail v2004.12) id <0KG200G00ZD6LQ00@i_mtaout2.012.net.il> for 2577@emacsbugs.donarmstrong.com; Fri, 06 Mar 2009 12:55:44 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.248.57]) by i_mtaout2.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KG20077YZOV4XG0@i_mtaout2.012.net.il>; Fri, 06 Mar 2009 12:55:44 +0200 (IST) In-reply-to: <20090306101854.GW28813@bennee.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Fri, 06 Mar 2009 06:03:43 -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:26038 Archived-At: > Date: Fri, 6 Mar 2009 11:18:54 +0100 > From: Alex > Cc: emacs-pretest-bug@gnu.org, 2577@emacsbugs.donarmstrong.com > > On Thu, Mar 05, 2009 at 11:49:42AM -0500, Stefan Monnier wrote: > > > Currently startup.el warns if .emacs.elc is newer than .emacs however > > > this hides subtle bugs if people don't carefully watch their logs/mode > > > line during startup. Although many people have clever auto-compile > > > magic every tiome they save .emacs this often break down when they > > > pull in updates via SCMs. > > > > I think that if people compile their .emacs they get what they ask for. > > That's not very helpful. Maybe not, but it isn't clear, at least not to me, what alternative behavior do you suggest. How about spelling it out? If this is your suggestion: > It should still warn, but by default it should go with the newest > version. then I doubt that it will fly, as Emacs does not do this with any other Lisp file. It always warns and goes with the .elc file.