all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#2577: 23.0.91; startup.el should choose .emacs ahead of .emacs.elc if .emacs is newer
@ 2009-03-06 20:04 Phil Hagelberg
  2009-03-06 20:23 ` Glenn Morris
  2009-03-07 14:24 ` Leo
  0 siblings, 2 replies; 12+ messages in thread
From: Phil Hagelberg @ 2009-03-06 20:04 UTC (permalink / raw)
  To: 2577


The specific failure is this:

A user keeps his entire .emacs.d in an SCM system. This includes not
only his personal customizations, (which would hardly benefit from
compilation) but third-party libraries that haven't made it into Emacs
proper yet. These third-party libraries are byte-compiled in every
checkout of the user's .emacs.d, which span multiple machines.

One of these libraries gets a bug fixed, so he installs the update and
checks it in. Now he moves to another machine that has his dotfiles
checked out, and he pulls in the update, but it's ignored in favour of
the out-of-date .elc file.

Everyone I know who uses Emacs seriously keeps their .emacs.d in an SCM
as well as third-party libraries, so I don't consider this much of an
edge case.

Ideally a flag would exist that could instruct Emacs to ignore
out-of-date .elc files. I understand this is not appropriate to submit
during a feature freeze, but saying it's not a problem is not helpful.

-Phil






^ permalink raw reply	[flat|nested] 12+ messages in thread
* bug#2577: 23.0.91; startup.el should choose .emacs ahead of .emacs.elc if .emacs is newer
@ 2009-03-05  8:44 Alex
  2009-03-05 16:49 ` Stefan Monnier
  0 siblings, 1 reply; 12+ messages in thread
From: Alex @ 2009-03-05  8:44 UTC (permalink / raw)
  To: emacs-pretest-bug

Following on from discussion at:

http://curiousprogrammer.wordpress.com/2009/03/04/compiling-at-emacs-startup

I humbly submit the following bug report:

From:  <alex@bennee.com>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.91; startup.el should choose .emacs ahead of .emacs.elc if .emacs is newer
--text follows this line--

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.

It should still warn, but by default it should go with the newest
version.

-- 
Alex, homepage: http://www.bennee.com/~alex/
It is far better to be deceived than to be undeceived by those we love.






^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2009-03-08  1:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-06 20:04 bug#2577: 23.0.91; startup.el should choose .emacs ahead of .emacs.elc if .emacs is newer Phil Hagelberg
2009-03-06 20:23 ` Glenn Morris
2009-03-06 20:30   ` Processed: " Emacs bug Tracking System
2009-03-07 14:24 ` Leo
  -- strict thread matches above, loose matches on Subject: below --
2009-03-05  8:44 Alex
2009-03-05 16:49 ` Stefan Monnier
2009-03-06 10:18   ` Alex
2009-03-06 10:55     ` Eli Zaretskii
2009-03-06 13:37     ` Jason Rumney
2009-03-07 22:08       ` Alex
2009-03-07 23:11         ` Stefan Monnier
2009-03-08  1:06           ` Lennart Borgman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.