unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Source file is newer than byte-compiled file
@ 2011-03-19 23:34 Florian Beck
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Beck @ 2011-03-19 23:34 UTC (permalink / raw)
  To: help-gnu-emacs

Whenever I have a source file more recent than the byte compiled file, 
Emacs warns me but loads the byte-compiled file nevertheless. Is there a 
way to make Emacs do the opposite, i.e. eval the source file instead of 
loading the compiled file?

I recompile my elisp files in `kill-emacs-hook', but for some reason 
that doesn't seem to be called when Emacs is killed (eg. by `reboot').

Anyway, I am sure there is a way to change the default, but I cannot 
figure it out.



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

* Re: Source file is newer than byte-compiled file
       [not found] <mailman.3.1300577702.19367.help-gnu-emacs@gnu.org>
@ 2011-03-20 16:18 ` Rolando Pereira
  2011-03-21  6:47   ` rusi
  0 siblings, 1 reply; 3+ messages in thread
From: Rolando Pereira @ 2011-03-20 16:18 UTC (permalink / raw)
  To: help-gnu-emacs

Florian Beck <fb@miszellen.de> writes:

> Whenever I have a source file more recent than the byte compiled file,
> Emacs warns me but loads the byte-compiled file nevertheless. Is there
> a way to make Emacs do the opposite, i.e. eval the source file instead
> of loading the compiled file?
>

Check out bug #2061:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2061

While it doesn't appear to offer a solution to your problem, it does
explain the rationale behind that behaviour.


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

* Re: Source file is newer than byte-compiled file
  2011-03-20 16:18 ` Source file is newer than byte-compiled file Rolando Pereira
@ 2011-03-21  6:47   ` rusi
  0 siblings, 0 replies; 3+ messages in thread
From: rusi @ 2011-03-21  6:47 UTC (permalink / raw)
  To: help-gnu-emacs

On Mar 20, 9:18 pm, Rolando Pereira <*.*@*.*> wrote:
> Florian Beck <f...@miszellen.de> writes:
> > Whenever I have a source file more recent than the byte compiled file,
> > Emacs warns me but loads the byte-compiled file nevertheless. Is there
> > a way to make Emacs do the opposite, i.e. eval the source file instead
> > of loading the compiled file?
>
> Check out bug #2061:http://debbugs.gnu.org/cgi/bugreport.cgi?bug=2061
>
> While it doesn't appear to offer a solution to your problem, it does
> explain the rationale behind that behaviour.

Cant say I find the explanations satisfactory -- but I am no emacs
dev.
Even if they are to remain how about an option that converts the
warning into an error?


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

end of thread, other threads:[~2011-03-21  6:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3.1300577702.19367.help-gnu-emacs@gnu.org>
2011-03-20 16:18 ` Source file is newer than byte-compiled file Rolando Pereira
2011-03-21  6:47   ` rusi
2011-03-19 23:34 Florian Beck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).