[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to reference the current *.el file in elisp
From: |
Lennart Borgman |
Subject: |
Re: how to reference the current *.el file in elisp |
Date: |
Thu, 25 Jun 2009 14:30:24 +0200 |
On Thu, Jun 25, 2009 at 1:49 PM, Harry Putnam<reader@newsguy.com> wrote:
> Barry Margolin <barmar@alum.mit.edu> writes:
>
>>> Like this message (wrapped for mail):
>>>
>>> (message "hello world -- from
>>> /cvsb/reader/home/reader/lisp/site-start.el")
>>> (sit-for 1)
>>>
>>> that I use sometimes when tracking down how things are loading.
>>>
>>> How can I reference the name in a variable instead of writing it out?
>>
>> load-file-name
>
> I've tried everything but prayer... but not seeing how to reference
> that in a message.
Then maybe prayer is what you should try. After that you probably
realize that there are a lot of things you have not tried. (Is not
prayer for that?)
For example
C-h f message
Or did you try that?
> not:
> (message "hello"(load-file-name))
>
> not:
> (message "hello" '(load-file-name))
>
> not
> (message "Hello" 'load-file-name)
>
> not
> (message "Hello" load-file-name)
>
> A few others too ridiculous to print...
>
>
>
>
- how to reference the current *.el file in elisp, Harry Putnam, 2009/06/25
- Message not available
- Re: how to reference the current *.el file in elisp, Barry Margolin, 2009/06/25
- Re: how to reference the current *.el file in elisp, jidanni, 2009/06/28
- Re: how to reference the current *.el file in elisp, Barry Margolin, 2009/06/29
- Re: how to reference the current *.el file in elisp, jidanni, 2009/06/30
- Re: how to reference the current *.el file in elisp, Barry Margolin, 2009/06/30
Re: how to reference the current *.el file in elisp, Xah Lee, 2009/06/25