From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: user-init-file source vs. compiled Date: Thu, 1 Feb 2007 16:10:37 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1170342803 2730 80.91.229.12 (1 Feb 2007 15:13:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Feb 2007 15:13:23 +0000 (UTC) To: "Emacs Devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 01 16:13:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HCdaa-0007r8-Bp for ged-emacs-devel@m.gmane.org; Thu, 01 Feb 2007 16:11:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCdaZ-00076j-Ne for ged-emacs-devel@m.gmane.org; Thu, 01 Feb 2007 10:11:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HCdaE-00072Y-EJ for emacs-devel@gnu.org; Thu, 01 Feb 2007 10:10:42 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HCdaC-00071a-M1 for emacs-devel@gnu.org; Thu, 01 Feb 2007 10:10:41 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HCdaC-00071U-3R for emacs-devel@gnu.org; Thu, 01 Feb 2007 10:10:40 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.241]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HCdaB-0001lY-Np for emacs-devel@gnu.org; Thu, 01 Feb 2007 10:10:39 -0500 Original-Received: by an-out-0708.google.com with SMTP id b8so320140ana for ; Thu, 01 Feb 2007 07:10:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=qbVqQMg1WbYmPYN3Ycc1pdKG03zmWdm+8+1LEpLYi/CufdUG13lb/nrf0Lb0cdIx++SBGVn3oW3j/VACSwIww3HHNgQvxvFiDrjCu8PfptZZ5ti5KuytS6sR6AacnLOVKLFeYNLbl6EtIQ3a4noDfU5ZqpCLzbn2c9Ccyd1GefQ= Original-Received: by 10.115.51.1 with SMTP id d1mr151949wak.1170342637613; Thu, 01 Feb 2007 07:10:37 -0800 (PST) Original-Received: by 10.115.93.4 with HTTP; Thu, 1 Feb 2007 07:10:37 -0800 (PST) Content-Disposition: inline X-detected-kernel: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65741 Archived-At: >>From the docstring of `user-init-file': File name, including directory, of user's initialization file. If the file loaded had extension `.elc', and the corresponding source file exists, this variable contains the name of source file, suitable for use by functions like `custom-save-all' which edit the init file. Which is true, *once* the user init file is loaded. While it loads, `user-init-file' contains the real name of the file loaded: ------ .emacs ------ (message "user-init-file: %S" user-init-file) -------------------- After compiling .emacs and starting Emacs, *messages* contains: (C:\emacs\HEAD\bin\emacs.exe) Loading encoded-kb...done user-init-file: "c:/home/.emacs.elc" I've been struggling to find a clear wording to explain it. Suggestions welcome. /L/e/k/t/u