guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add-relative-load-path ?


From: Neil Jerram
Subject: Re: add-relative-load-path ?
Date: Mon, 23 Jan 2012 19:36:27 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux)

Andy Wingo <address@hidden> writes:

> Hi,
>
> On Mon 23 Jan 2012 16:45, address@hidden (Ludovic Courtès) writes:
>
>> Andy Wingo <address@hidden> skribis:
>>
>>>   (add-to-load-path (dirname (dirname (current-filename))))
>>
>> What about calling it ‘current-file-name’ instead?

I sympathise with that too, although I know I was inconsistent in my own
last email in this thread.

>   > (apropos "filename")
>   (guile): set-module-filename!       #<procedure 1546f20 at 
> ice-9/boot-9.scm:1712:2 (module val)>
>   (guile): module-filename    #<procedure 1546fa0 at ice-9/boot-9.scm:1712:2 
> (module)>
>   (guile): current-filename
>   (guile): set-port-filename! #<procedure set-port-filename! (_ _)>
>   (guile): port-filename      #<procedure port-filename (_)>
>   (ice-9 readline): filename-completion-function      #<procedure 
> filename-completion-function (_ _)>
>   > (apropos "file-name")
>   > 
>
> Though I am responsible for three of those, I think I was just following
> established convention.

Hmm, tricky to argue with that though.

        Neil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]