emacs-bug-tracker
[Top][All Lists]
Advanced

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

[debbugs-tracker] bug#10326: closed (Need to document %load-path, %load-


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#10326: closed (Need to document %load-path, %load-compiled-path, and add %search-load-compiled-path and load-compiled-from-path to API)
Date: Sun, 10 Mar 2013 22:24:01 +0000

Your message dated Sun, 10 Mar 2013 23:22:26 +0100
with message-id <address@hidden>
and subject line Re: bug#10326: Need to document %load-path, 
%load-compiled-path, and add %search-load-compiled-path and 
load-compiled-from-path to API
has caused the debbugs.gnu.org bug report #10326,
regarding Need to document %load-path, %load-compiled-path, and add 
%search-load-compiled-path and load-compiled-from-path to API
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
10326: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10326
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: Need to document %load-path, %load-compiled-path, and add %search-load-compiled-path and load-compiled-from-path to API Date: Mon, 19 Dec 2011 15:00:19 +0000 User-agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111124 Thunderbird/8.0
Section 6.17.6 of the manual could do with a sections for %load-path
and %load-compiled-path.

e.g.
— Variable: %load-path

    The list of directories which will currently be searched by
load-from-path, primitive-load-path and %search-load-path to locate a
scheme file.

- Variable: %load-compiled-path

    The list of directories which will currently be searched by
load-compiled-from-path and %search-load-compiled-path to locate a
compiled scheme file.


Also, Guile really needs to provide a %search-load-compiled-path and a
load-compiled-from-path, it would have been useful in LilyPond code, and
Manual Section 4.7 (discussing site locations says)
"As with Scheme files, Guile searches a path to find compiled .go
files, the %load-compiled-path. By default, this path has two entries:
a path for Guile's files, and a path for site packages. You should
install your .go files into the latter. Currently there is no
procedure to get at this path, which is probably a bug."


— Scheme Procedure: %search-load-compiled-path filename
— C Function: scm_sys_search_load_compiled_path (filename)

    Search %load-compiled-path for the file named filename, which must
be readable by the current user. If filename is found in the list of
paths to search or is an absolute pathname, return its full pathname.
Otherwise, return #f.

— Scheme Procedure: load-compiled-from-path filename

    Similar to load-compiled, but searches for filename in the
compiled load paths.






--- End Message ---
--- Begin Message --- Subject: Re: bug#10326: Need to document %load-path, %load-compiled-path, and add %search-load-compiled-path and load-compiled-from-path to API Date: Sun, 10 Mar 2013 23:22:26 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
On Fri 27 Jan 2012 13:20, Andy Wingo <address@hidden> writes:

>> "As with Scheme files, Guile searches a path to find compiled .go
>> files, the %load-compiled-path. By default, this path has two entries:
>> a path for Guile's files, and a path for site packages. You should
>> install your .go files into the latter. Currently there is no
>> procedure to get at this path, which is probably a bug."
>
> I'll see about fixing this.

Added %site-ccache-dir, and updated docs.

Andy
-- 
http://wingolog.org/


--- End Message ---

reply via email to

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