From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hadron Newsgroups: gmane.emacs.help Subject: Bug when compiling elc code? Date: Wed, 08 Aug 2007 12:29:56 +0200 Organization: http://en.wikipedia.org/wiki/Quark Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186569651 26838 80.91.229.12 (8 Aug 2007 10:40:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Aug 2007 10:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 08 12:40:50 2007 Return-path: Envelope-to: geh-help-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 1IIiy8-0006NE-QS for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Aug 2007 12:40:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIiy8-000380-BE for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Aug 2007 06:40:48 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-X-Trace: individual.net 0/NEGMvm2H+KlAqzQbWv9A0Pea4UemhY+iXFdnyHIbgD7NU5oh X-Orig-Path: news.individual.net!news Cancel-Lock: sha1:s8obA8VzDkI7+J0mgdumQwSm+Ic= sha1:Wem3+i2LJw8QIbrdPKBNrWaNYAg= Original-Xref: shelby.stanford.edu gnu.emacs.help:150825 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46400 Archived-At: I recently added this bit of lisp to my .emacs in order to automatically byte compile any el files I saved ,---- | (add-hook 'emacs-lisp-mode-hook | '(lambda () | (make-local-hook 'after-save-hook) | (add-hook 'after-save-hook | '(lambda () | (byte-compile-file buffer-file-name)) | nil t))) `---- I have my gnus specifics such as smtp server names and passwords in a "personal.el" file which is obviously not readable by anyone but my own login and root. Unfortunately byte-compile-file produced the following: -rw------- 1 hadron hadron 4961 2007-08-08 12:19 personal.el -rw-r--r-- 1 hadron hadron 3795 2007-08-08 12:19 personal.elc In other words a readable by anyone elc file. I just checked - I can load up the elc file and see all my passwords. Bug or feature? Seems like a nasty bug to me. Which leads on to the next question, is there something I can put into a file to stop it compiling into an elc using this hook?