all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Juanma Barranquero" <lekktu@gmail.com>
To: "Emacs Devel" <emacs-devel@gnu.org>
Subject: user-init-file source vs. compiled
Date: Thu, 1 Feb 2007 16:10:37 +0100	[thread overview]
Message-ID: <f7ccd24b0702010710x23173472hc67d16a3c2c568c0@mail.gmail.com> (raw)

>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

             reply	other threads:[~2007-02-01 15:10 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-01 15:10 Juanma Barranquero [this message]
2007-02-01 15:46 ` user-init-file source vs. compiled Lennart Borgman (gmail)
2007-02-01 16:07   ` Juanma Barranquero
2007-02-01 16:21     ` Lennart Borgman (gmail)
2007-02-01 17:04       ` Juanma Barranquero
2007-02-01 17:20         ` Lennart Borgman (gmail)
2007-02-01 18:18           ` Juanma Barranquero
2007-02-01 19:17 ` Stefan Monnier
2007-02-01 20:02   ` Chong Yidong
2007-02-01 22:41     ` Stefan Monnier
2007-02-01 23:03       ` Juanma Barranquero
2007-02-02 15:30         ` Stefan Monnier
2007-02-02 16:03           ` Juanma Barranquero
2007-02-02 16:30             ` Lennart Borgman (gmail)
2007-02-02 16:38               ` Juanma Barranquero
2007-02-02 17:15                 ` Lennart Borgman (gmail)
2007-02-02 17:21                   ` Juanma Barranquero
2007-02-02 16:47             ` Stefan Monnier
2007-02-02 17:08               ` Juanma Barranquero
2007-02-01 20:07   ` Juanma Barranquero
2007-02-01 20:50 ` Eli Zaretskii
2007-02-01 22:06   ` Juanma Barranquero

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b0702010710x23173472hc67d16a3c2c568c0@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.