Open pmeiyu opened 7 years ago
According to the config.log generated when building emacs, it is included in lisppath. It is, however, not found when listing emacs' load-path on device (ctrl + h v load-path RET), so that's a bit strange.
Will need to do some investigation. Seems like a bug, thanks for reporting.
Not only that the two paths are not included but there are duplicates for a few entries (namely $PREFIX/share/emacs/25.3/lisp/{emacs-lisp,language,international,textmodes,vc}
). They don't go away even when --no-site-lisp
is specified.
$PREFIX/share/emacs/site-lisp/{,subdirs.el}
don't even exist (in addition to $PREFIX/share/emacs/25.3/site-lisp/{,subdirs.el}
).
For some reason site-load.el
and site-init.el
also get loaded in Termux but only default.el
or site-start.el
do (I think this is the expected behavior) in Arch.
P.S. Currently Termux inappropriately ships a $PREFIX/share/emacs/25.3/lisp/emacs-lisp/site-init.el
for terminal mouse events. It should really be shipped as $PREFIX/share/emacs/site-lisp/default.el
(as a conf file) when the bug gets fixed.
I looked at it a bit a week ago or so but could not figure out what is going on.
The path we end up with does not make sense when I look at the config.log and configure options. It might be some weird behaviour due to the (minimal) host-build we do.
Btw is it expected that the Termux build takes much longer (2s or so) to start? Coz emacs in Arch ARM (Termux proot) doesn't have that kind of load time either.
@tomty89 it is an unfortunate effect of androids -pie requirement, see https://github.com/termux/termux-packages/issues/1910
This issue/PR has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Both
$PREFIX/share/emacs/site-lisp
and$PREFIX/share/emacs/25.3/site-lisp
directories are not in emacs load-path. Is this a bug or a feature?