--- Begin Message ---
Subject: |
24.1.50: NS variant does not use '--enable-locallisppath=...' configure option |
Date: |
Sat, 21 Jul 2012 18:30:05 +0200 |
Hello!
As you can see below I tried to teach it the place where site-specific Elisp
files are installed. This fails for the NS variant while the X client learns
and functions OK.
There is also a second flaw: when invoked as
"nextstep/Emacs.app/Contents/MacOS/Emacs -Q -eval '(message "Der load-path ist
%s" load-path)'" or "nextstep/Emacs.app/Contents/MacOS/Emacs -Q --eval
'(message "Der load-path ist %s" load-path)'" it instead open a file "(message
"Der load-path ist %s" load-path)".
In GNU Emacs 24.1.50.1 (i686-apple-darwin10, NS apple-appkit-1038.36)
of 2012-07-21 on Sumac.local
Bzr revision: 109179 address@hidden
Windowing system distributor `Apple', version 10.3.1038
Configured using:
`configure '--host=i686-apple-darwin10' '--target=i686-apple-darwin10'
'--with-wide-int' '--without-sound' '--without-dbus' '--without-pop'
'--without-gconf' '--without-gpm' '--with-ns'
'--disable-ns-self-contained' '--without-xpm' '--without-jpeg'
'--without-tiff' '--without-gif' '--without-png' '--without-rsvg'
'--x-libraries=/usr/X11/lib' '--x-includes=/usr/X11/include'
'--enable-locallisppath=/Library/Application
Support/Emacs/calendar24:/Library/Application Support/Emacs' 'CFLAGS=-g
-H -pipe -fPIC -fno-common -O0 -march=prescott -mtune=prescott -m32
-fomit-frame-pointer -msse4.2 -foptimize-register-move
-ftree-vectorize' 'LDFLAGS=-m32 -Wl,-dead_strip_dylibs
-Wl,-bind_at_load -Wl,-t' 'CC=clang' 'CXX=clang++'
'PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/share/pkgconfig:/sw/lib/pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/lib/pkgconfig'
'host_alias=i686-apple-darwin10' 'target_alias=i686-apple-darwin10''
Important settings:
value of $LC_CTYPE: de_DE.UTF-8
value of $LANG: de_DE.UTF-8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<ns-open-file-line> <down-mouse-1> <mouse-1> C-x b
* M e s <tab> <return> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Der load-path ist (/usr/local/share/emacs/24.1.50/lisp
/usr/local/share/emacs/24.1.50/lisp/vc /usr/local/share/emacs/24.1.50/lisp/url
/usr/local/share/emacs/24.1.50/lisp/textmodes
/usr/local/share/emacs/24.1.50/lisp/progmodes
/usr/local/share/emacs/24.1.50/lisp/play
/usr/local/share/emacs/24.1.50/lisp/org
/usr/local/share/emacs/24.1.50/lisp/nxml
/usr/local/share/emacs/24.1.50/lisp/net
/usr/local/share/emacs/24.1.50/lisp/mh-e
/usr/local/share/emacs/24.1.50/lisp/mail
/usr/local/share/emacs/24.1.50/lisp/language
/usr/local/share/emacs/24.1.50/lisp/international
/usr/local/share/emacs/24.1.50/lisp/gnus
/usr/local/share/emacs/24.1.50/lisp/eshell
/usr/local/share/emacs/24.1.50/lisp/erc
/usr/local/share/emacs/24.1.50/lisp/emulation
/usr/local/share/emacs/24.1.50/lisp/emacs-lisp
/usr/local/share/emacs/24.1.50/lisp/cedet
/usr/local/share/emacs/24.1.50/lisp/calendar
/usr/local/share/emacs/24.1.50/lisp/calc
/usr/local/share/emacs/24.1.50/lisp/obsolete
/usr/local/share/emacs/24.1.50/leim)
(New file)
Loading vc-bzr...done
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils vc-bzr time-date tooltip ediff-hook
vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list newcomment lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process ns multi-tty emacs)
--
Greetings
Pete
Eat the rich – the poor are tough and stringy.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#12010: 24.1.50: NS variant does not use '--enable-locallisppath=...' configure option |
Date: |
Sun, 29 Jul 2012 18:59:34 +0200 |
Hello.
22 jul 2012 kl. 20:36 skrev Peter Dyballa:
>
> Am 22.07.2012 um 18:42 schrieb Jan Djärv:
>
>> It seems that -Q must come after --eval. I don't know why.
>
> This does not alter the reported fact that load-path does not contain the two
> directories from configure:
>
> --enable-locallisppath=/Library/Application\
> Support/Emacs/calendar24:/Library/Application\ Support/Emacs
>
> The X client learns it and can launch without problems while the NS variant
> simply crashes. At least last month the NS variant learned this setting and
> the release 24.1 does it too:
>
> load-path is a variable defined in `C source code'.
> Its value is
> ("/Library/Application Support/Emacs/calendar24" "/Library/Application
> Support/Emacs" "/usr/local/share/emacs/24.1/lisp"
> "/usr/local/share/emacs/24.1/lisp/vc" "/usr/local/share/emacs/24.1/lisp/url"
> "/usr/local/share/emacs/24.1/lisp/textmodes"
> "/usr/local/share/emacs/24.1/lisp/progmodes"
> "/usr/local/share/emacs/24.1/lisp/play"
> "/usr/local/share/emacs/24.1/lisp/org"
> "/usr/local/share/emacs/24.1/lisp/nxml"
> "/usr/local/share/emacs/24.1/lisp/net"
> "/usr/local/share/emacs/24.1/lisp/mh-e"
> "/usr/local/share/emacs/24.1/lisp/mail"
> "/usr/local/share/emacs/24.1/lisp/language"
> "/usr/local/share/emacs/24.1/lisp/international"
> "/usr/local/share/emacs/24.1/lisp/gnus"
> "/usr/local/share/emacs/24.1/lisp/eshell"
> "/usr/local/share/emacs/24.1/lisp/erc"
> "/usr/local/share/emacs/24.1/lisp/emulation"
> "/usr/local/share/emacs/24.1/lisp/emacs-lisp"
> "/usr/local/share/emacs/24.1/lisp/cedet"
> "/usr/local/share/emacs/24.1/lisp/calendar"
> "/usr/local/share/emacs/24.1/lisp/calc"
> "/usr/local/share/emacs/24.1/lisp/obsolete"
> "/usr/local/share/emacs/24.1/leim")
I can't get it to crash, but I have checked in a fix for locallisppath not in
load-path for trunk. Note that -Q will not add locallisppath.
I'm surprised you could install Emacs with that locallisppath as spaces in
locallisppath wasn't handeled, i.e. make install would try to make directories
"/Library/Application" and "Support/Emacs/calendar24".
I'll see what the deal is with --eval only working before -Q.
Jan D.
--- End Message ---