unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc
@ 2010-02-05 17:42 ` jidanni
  2010-03-13 18:27   ` Chong Yidong
  2011-07-10  0:32   ` bug#5531: closed (Re: bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc) jidanni
  0 siblings, 2 replies; 4+ messages in thread
From: jidanni @ 2010-02-05 17:42 UTC (permalink / raw)
  To: 5531; +Cc: rfrancoise

view-echo-area-messages shows
  Loading /home/jidanni/.emacs-custom.el (source)...done
even though there is an .elc available. (Made by
(add-hook
 'emacs-lisp-mode-hook
 '(lambda ()
    (turn-on-auto-fill)
    (or (string-equal buffer-file-name "/home/jidanni/.newsrc.eld")
	(add-hook
	 'after-save-hook
	 '(lambda ()
	    (byte-compile-file buffer-file-name)
	    ) nil t))))
in my ~/.emacs.)







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

* bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc
  2010-02-05 17:42 ` bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc jidanni
@ 2010-03-13 18:27   ` Chong Yidong
  2011-07-09 22:36     ` Glenn Morris
  2011-07-10  0:32   ` bug#5531: closed (Re: bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc) jidanni
  1 sibling, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2010-03-13 18:27 UTC (permalink / raw)
  To: jidanni, jidanni.org; +Cc: 5531

> view-echo-area-messages shows
>   Loading /home/jidanni/.emacs-custom.el (source)...done
> even though there is an .elc available.

What is the value of the variable `custom-file'?






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

* bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc
  2010-03-13 18:27   ` Chong Yidong
@ 2011-07-09 22:36     ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2011-07-09 22:36 UTC (permalink / raw)
  To: 5531-done


Presumably you have a

(load custom-file)

line in your .emacs, because that is the documented way to make the
feature work. Adjust it so that it looks like

(load (file-name-sans-extension custom-file))

It is not worth documenting this because byte-compiling your init files
is a bad idea that generally loses you time due to confusion (this is
documented).





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

* bug#5531: closed (Re: bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc)
  2010-02-05 17:42 ` bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc jidanni
  2010-03-13 18:27   ` Chong Yidong
@ 2011-07-10  0:32   ` jidanni
  1 sibling, 0 replies; 4+ messages in thread
From: jidanni @ 2011-07-10  0:32 UTC (permalink / raw)
  To: 5531

GbTS> because byte-compiling your init files is a bad idea that
GbTS> generally loses you time due to confusion (this is documented).
OK, I was just following the trends.





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

end of thread, other threads:[~2011-07-10  0:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <handler.5531.D5531.13102510234314.notifdone@debbugs.gnu.org>
2010-02-05 17:42 ` bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc jidanni
2010-03-13 18:27   ` Chong Yidong
2011-07-09 22:36     ` Glenn Morris
2011-07-10  0:32   ` bug#5531: closed (Re: bug#5531: 23.1.92; .emacs-custom.el read despite presence of .elc) jidanni

Code repositories for project(s) associated with this public inbox

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

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).