This is the mail archive of the guile-emacs@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: scheme directory


Satoru Takabayashi <satoru-t@is.aist-nara.ac.jp> writes:

>   # mkdir /usr/local/share/emacs/20.6/scheme
>   # cp -r emacs /usr/local/share/emacs/20.6/scheme

This would be best, I think.

>   # mkdir /usr/local/share/emacs/site-scheme
>   # cp -r emacs /usr/local/share/emacs/site-scheme

Actually, this is how it was before I changed "site-scheme" to
"scheme".  ;-)

> Anyway, why should we install *.scm files into
> "/usr/local/share/emacs/20.6/scheme/emacs" instead of
> "/usr/local/share/emacs/20.6/scheme"?  I think `emacs' at
> the end of the path is redundant.

The files contain Guile modules.  For example, emacs/guile.scm is
loaded with (use-module (emacs guile)).  In the module name,
`emacs' is not redundant.  If we installed the *.scm files
directly in .../scheme/, we would have to either change Guile's
module-loading procedures or install a symlink somewhere.

> Moreover, it might be fine to install *.scm files
> automatically by `make install' of Guile Emacs.

True.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]