all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* automatic byte compilation
@ 2010-05-22 11:41 Andrea Crotti
  2010-05-22 14:23 ` Gary
  0 siblings, 1 reply; 5+ messages in thread
From: Andrea Crotti @ 2010-05-22 11:41 UTC (permalink / raw)
  To: help-gnu-emacs


I would like to always byte compile when possible, but I would also like
to avoid doing it manually.

I also have this alias
--8<---------------cut here---------------start------------->8---
alias emacs_compile="Emacs --batch -f batch-byte-compile *el"
--8<---------------cut here---------------end--------------->8---

Which is nice, but the best thing would be that whenever I load a file
- if there is the byte-compiled
  + if .el file is newer compile that and load it (maybe asking
  confirmation)
  + otherwise just load it

- if there isn't byte-compile and load it.

Why isn't it the default behaviour by the way?
Maybe it would take too long to load?

Are there any drawbacks in compiling?
For example now I have a problem with cedet/ecb, if I byte-compile I get
some strange errors, if I leave it as source everything works, what
could that be?

Thanks,
Andrea




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

end of thread, other threads:[~2010-05-24 11:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-22 11:41 automatic byte compilation Andrea Crotti
2010-05-22 14:23 ` Gary
2010-05-24  8:04   ` Andrea Crotti
2010-05-24  8:22     ` Andrea Crotti
2010-05-24 11:22       ` Gary

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.