* [sdl.web@gmail.com: load-path missing?]
@ 2006-12-20 22:18 Richard Stallman
2006-12-24 3:05 ` Chong Yidong
0 siblings, 1 reply; 11+ messages in thread
From: Richard Stallman @ 2006-12-20 22:18 UTC (permalink / raw)
He is talking about Unicode-2, but could someone please
check whether this happens with the current pretest?
Please respond with the answer.
------- Start of forwarded message -------
To: emacs-devel@gnu.org
From: Leo <sdl.web@gmail.com>
Date: Tue, 19 Dec 2006 21:07:28 +0000
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Subject: load-path missing?
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed
version=3.0.4
Hi all,
Compiling Emacs on my new Fedora Core 6 reveals something
interesting. Here is another one about load-path.
My configure options are as follows:
,----
| ./configure --prefix=/usr/local/packages/emacs
| --enable-locallisppath=/usr/local/share/emacs/site-lisp
`----
After install, I see this directory tree:
PREFIX/share/emacs:
|--> site-lisp
\--> 23.0.0
|--> site-lisp
|--> lisp
|--> leim
\--> etc
However those two site-lisp dirs are not in the load-path. Is this
intentional?
- --
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
------- End of forwarded message -------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2006-12-20 22:18 [sdl.web@gmail.com: load-path missing?] Richard Stallman
@ 2006-12-24 3:05 ` Chong Yidong
2006-12-24 4:03 ` Leo
2006-12-25 0:42 ` Richard Stallman
0 siblings, 2 replies; 11+ messages in thread
From: Chong Yidong @ 2006-12-24 3:05 UTC (permalink / raw)
Cc: emacs-devel
Richard Stallman <rms@gnu.org> writes:
> He is talking about Unicode-2, but could someone please
> check whether this happens with the current pretest?
> Please respond with the answer.
It does not happen with Emacs 22.
> From: Leo <sdl.web@gmail.com>
> Subject: load-path missing?
> To: emacs-devel@gnu.org
>
> Hi all,
>
> Compiling Emacs on my new Fedora Core 6 reveals something
> interesting. Here is another one about load-path.
>
> My configure options are as follows:
>
> ,----
> | ./configure --prefix=/usr/local/packages/emacs
> | --enable-locallisppath=/usr/local/share/emacs/site-lisp
> `----
>
> After install, I see this directory tree:
>
> PREFIX/share/emacs:
> |--> site-lisp
> \--> 23.0.0
> |--> site-lisp
> |--> lisp
> |--> leim
> \--> etc
>
> However those two site-lisp dirs are not in the load-path. Is this
> intentional?
>
> - --
> Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
>
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel
> ----------
>
>
>
> _______________________________________________
> Emacs-devel mailing list
> Emacs-devel@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2006-12-24 3:05 ` Chong Yidong
@ 2006-12-24 4:03 ` Leo
2006-12-25 17:58 ` Chong Yidong
2006-12-25 0:42 ` Richard Stallman
1 sibling, 1 reply; 11+ messages in thread
From: Leo @ 2006-12-24 4:03 UTC (permalink / raw)
* Chong Yidong (2006-12-23 22:05 -0500) said:
^^^^^^^^^^^^
> It does not happen with Emacs 22.
I built Emacs 22.0.92.1 (2006.12.24). Seems to me it does.
/home/leo/packages/emacs22/share/emacs/site-lisp
/home/leo/packages/emacs22/share/emacs/22.0.92/site-lisp
exist but are not in the load-path as follows.
,----
| Configure option: ./configure --prefix=/home/leo/packages/emacs22
| --enable-locallisppath=/home/leo/packages/emacs-local/site-lisp-22
| --with-gtk
|
| ("/home/leo/packages/emacs-local/site-lisp-22"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/url"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/toolbar"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/textmodes"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/progmodes"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/play"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/obsolete"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/net"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/mh-e"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/mail"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/language"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/international"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/gnus"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/eshell"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/erc"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/emulation"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/emacs-lisp"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/calendar"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/calc"
| "/home/leo/packages/emacs22/share/emacs/22.0.92/leim")
`----
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2006-12-24 4:03 ` Leo
@ 2006-12-25 17:58 ` Chong Yidong
2006-12-26 1:12 ` Leo
0 siblings, 1 reply; 11+ messages in thread
From: Chong Yidong @ 2006-12-25 17:58 UTC (permalink / raw)
Cc: emacs-devel
Leo <sdl.web@gmail.com> writes:
> * Chong Yidong (2006-12-23 22:05 -0500) said:
> ^^^^^^^^^^^^
>> It does not happen with Emacs 22.
>
> I built Emacs 22.0.92.1 (2006.12.24). Seems to me it does.
>
> /home/leo/packages/emacs22/share/emacs/site-lisp
> /home/leo/packages/emacs22/share/emacs/22.0.92/site-lisp
>
> exist but are not in the load-path as follows.
OK now I understand the problem. You're right, this situation exists.
I'm not sure this causes any problems, however. Using
enable-locallisppath implies you are using another set of site-lisp
directories, but its documentation (from configure --help, which is
the only place this option is mentioned) is rather vague:
directories Emacs should search for lisp files
specific to this site
so it's plausible that the site-lisp directories are created but not
used, since the user is specifying another set of site directories to
look at instead.
It seems to me harmless to let this situation be. I don't know if
either not creating the directories or adding them to load-path will
break any existing installations.
> ,----
> | Configure option: ./configure --prefix=/home/leo/packages/emacs22
> | --enable-locallisppath=/home/leo/packages/emacs-local/site-lisp-22
> | --with-gtk
> |
> | ("/home/leo/packages/emacs-local/site-lisp-22"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/url"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/toolbar"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/textmodes"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/progmodes"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/play"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/obsolete"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/net"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/mh-e"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/mail"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/language"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/international"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/gnus"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/eshell"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/erc"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/emulation"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/emacs-lisp"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/calendar"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/lisp/calc"
> | "/home/leo/packages/emacs22/share/emacs/22.0.92/leim")
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2006-12-25 17:58 ` Chong Yidong
@ 2006-12-26 1:12 ` Leo
2007-01-02 3:08 ` Richard Stallman
0 siblings, 1 reply; 11+ messages in thread
From: Leo @ 2006-12-26 1:12 UTC (permalink / raw)
* Chong Yidong (2006-12-25 12:58 -0500) said:
^^^^^^^^^^^^
> Leo <sdl.web@gmail.com> writes:
>
>> * Chong Yidong (2006-12-23 22:05 -0500) said:
>> ^^^^^^^^^^^^
>>> It does not happen with Emacs 22.
>>
>> I built Emacs 22.0.92.1 (2006.12.24). Seems to me it does.
>>
>> /home/leo/packages/emacs22/share/emacs/site-lisp
>> /home/leo/packages/emacs22/share/emacs/22.0.92/site-lisp
>>
>> exist but are not in the load-path as follows.
>
> OK now I understand the problem. You're right, this situation exists.
>
> I'm not sure this causes any problems, however.
It didn't create any problems. But it confuses users because those
directories have a name indicating they are in the load-path. What if
Emacs is compiled with 'configure --prefix=/usr
--enable-locallisppath=...' then /usr/share/emacs/site-lisp will be
created and contain subdirs.el, but not in load-path.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2006-12-26 1:12 ` Leo
@ 2007-01-02 3:08 ` Richard Stallman
2007-01-02 4:10 ` Leo
0 siblings, 1 reply; 11+ messages in thread
From: Richard Stallman @ 2007-01-02 3:08 UTC (permalink / raw)
Cc: emacs-devel
>> /home/leo/packages/emacs22/share/emacs/site-lisp
>> /home/leo/packages/emacs22/share/emacs/22.0.92/site-lisp
>>
>> exist but are not in the load-path as follows.
My configure options are as follows:
,----
| ./configure --prefix=/usr/local/packages/emacs
| --enable-locallisppath=/usr/local/share/emacs/site-lisp
`----
I think what is going on is that configure sets up src/epaths.h based
on the value you specified for locallisppath, which overrides
the value that would have been computed from --prefix.
Is that right?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2007-01-02 3:08 ` Richard Stallman
@ 2007-01-02 4:10 ` Leo
2007-01-02 21:23 ` Richard Stallman
0 siblings, 1 reply; 11+ messages in thread
From: Leo @ 2007-01-02 4:10 UTC (permalink / raw)
Cc: emacs-devel
Dear Richard ,
* Richard Stallman (2007-01-01 22:08 -0500) said:
^^^^^^^^^^^^^^^^
> >> /home/leo/packages/emacs22/share/emacs/site-lisp
> >> /home/leo/packages/emacs22/share/emacs/22.0.92/site-lisp
> >>
> >> exist but are not in the load-path as follows.
>
> My configure options are as follows:
>
> ,----
> | ./configure --prefix=/usr/local/packages/emacs
> | --enable-locallisppath=/usr/local/share/emacs/site-lisp
> `----
>
> I think what is going on is that configure sets up src/epaths.h based
> on the value you specified for locallisppath, which overrides
> the value that would have been computed from --prefix.
>
> Is that right?
I guess it is not completely overridden since those 'site-lisp' dirs
are still created and even contain subdirs.el.
I'd propose to have PREFIX/share/emacs/22.0.92/site-lisp included just
like PREFIX/share/emacs/22.0.92/lisp, and PREFIX/share/emacs/site-lisp
be the default value to --enable-locallisppath.
regards,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2007-01-02 4:10 ` Leo
@ 2007-01-02 21:23 ` Richard Stallman
2007-01-02 22:12 ` Leo
0 siblings, 1 reply; 11+ messages in thread
From: Richard Stallman @ 2007-01-02 21:23 UTC (permalink / raw)
Cc: emacs-devel
> I think what is going on is that configure sets up src/epaths.h based
> on the value you specified for locallisppath, which overrides
> the value that would have been computed from --prefix.
>
> Is that right?
I guess it is not completely overridden since those 'site-lisp' dirs
are still created and even contain subdirs.el.
That's the point. The code that creates these directories does not
get the names from your specified locallisppath. It constructs the
names based on PREFIX.
I'd propose to have PREFIX/share/emacs/22.0.92/site-lisp included just
like PREFIX/share/emacs/22.0.92/lisp, and PREFIX/share/emacs/site-lisp
be the default value to --enable-locallisppath.
PREFIX/share/emacs/site-lisp _is_ in the default value for
locallisppath. But you specified a different value
so you did not get the default.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2007-01-02 21:23 ` Richard Stallman
@ 2007-01-02 22:12 ` Leo
2007-01-03 21:10 ` Richard Stallman
0 siblings, 1 reply; 11+ messages in thread
From: Leo @ 2007-01-02 22:12 UTC (permalink / raw)
* Richard Stallman (2007-01-02 16:23 -0500) said:
^^^^^^^^^^^^^^^^
> > I think what is going on is that configure sets up src/epaths.h based
> > on the value you specified for locallisppath, which overrides
> > the value that would have been computed from --prefix.
> >
> > Is that right?
>
> I guess it is not completely overridden since those 'site-lisp' dirs
> are still created and even contain subdirs.el.
>
> That's the point. The code that creates these directories does not
> get the names from your specified locallisppath. It constructs the
> names based on PREFIX.
>
> I'd propose to have PREFIX/share/emacs/22.0.92/site-lisp included just
> like PREFIX/share/emacs/22.0.92/lisp, and PREFIX/share/emacs/site-lisp
> be the default value to --enable-locallisppath.
>
> PREFIX/share/emacs/site-lisp _is_ in the default value for
> locallisppath. But you specified a different value
> so you did not get the default.
It is not clear from `configure --help' what's the default value to
--enable-locallisppath.
Is `PREFIX/share/emacs/22.0.92/site-lisp' also a default value to
--enable-locallisppath? If the answer is NO, is it supposed to be in
the load-path?
Anyway, if another set of load-path is specified in
--enable-locallisppath, the existence of
PREFIX/share/emacs/22.0.92/site-lisp and PREFIX/share/emacs/site-lisp
does nothing but confusing user.
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2007-01-02 22:12 ` Leo
@ 2007-01-03 21:10 ` Richard Stallman
0 siblings, 0 replies; 11+ messages in thread
From: Richard Stallman @ 2007-01-03 21:10 UTC (permalink / raw)
Cc: emacs-devel
It is not clear from `configure --help' what's the default value to
--enable-locallisppath.
You can't expect the --help output to go into such detail.
(Meanwhile, it seems to me that the name --enable-locallisppath
conflicts with the GNU standards for configure arguments.)
Anyway, if another set of load-path is specified in
--enable-locallisppath, the existence of
PREFIX/share/emacs/22.0.92/site-lisp and PREFIX/share/emacs/site-lisp
does nothing but confusing user.
Would someone like to change Makefile.in so that it creates the
directories given in locallisppath, rather than those two directories
specifically?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [sdl.web@gmail.com: load-path missing?]
2006-12-24 3:05 ` Chong Yidong
2006-12-24 4:03 ` Leo
@ 2006-12-25 0:42 ` Richard Stallman
1 sibling, 0 replies; 11+ messages in thread
From: Richard Stallman @ 2006-12-25 0:42 UTC (permalink / raw)
Cc: emacs-devel
Thanks for checking it.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-01-03 21:10 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-20 22:18 [sdl.web@gmail.com: load-path missing?] Richard Stallman
2006-12-24 3:05 ` Chong Yidong
2006-12-24 4:03 ` Leo
2006-12-25 17:58 ` Chong Yidong
2006-12-26 1:12 ` Leo
2007-01-02 3:08 ` Richard Stallman
2007-01-02 4:10 ` Leo
2007-01-02 21:23 ` Richard Stallman
2007-01-02 22:12 ` Leo
2007-01-03 21:10 ` Richard Stallman
2006-12-25 0:42 ` Richard Stallman
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.