all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#12010: 24.1.50: NS variant does not use '--enable-locallisppath=...' configure option
@ 2012-07-21 16:30 Peter Dyballa
  2012-07-22 16:42 ` Jan Djärv
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2012-07-21 16:30 UTC (permalink / raw)
  To: 12010

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 eliz@gnu.org-20120721133332-7dceeh9e97zdafv8
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.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#12010: 24.1.50: NS variant does not use '--enable-locallisppath=...' configure option
  2012-07-21 16:30 bug#12010: 24.1.50: NS variant does not use '--enable-locallisppath=...' configure option Peter Dyballa
@ 2012-07-22 16:42 ` Jan Djärv
  2012-07-22 18:36   ` Peter Dyballa
  2012-07-30 20:13   ` Jan Djärv
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Djärv @ 2012-07-22 16:42 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 12010

Hello.

It seems that -Q must come after --eval.  I don't know why.

	Jan D.

21 jul 2012 kl. 18:30 skrev Peter Dyballa:

> 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 eliz@gnu.org-20120721133332-7dceeh9e97zdafv8
> 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.
> 
> 
> 






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#12010: 24.1.50: NS variant does not use '--enable-locallisppath=...' configure option
  2012-07-22 16:42 ` Jan Djärv
@ 2012-07-22 18:36   ` Peter Dyballa
  2012-07-29 16:59     ` Jan Djärv
  2012-07-30 20:13   ` Jan Djärv
  1 sibling, 1 reply; 5+ messages in thread
From: Peter Dyballa @ 2012-07-22 18:36 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 12010


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")

--
Greetings

  Pete

War springs from unseen and generally insignificant causes.
				– Anonymous






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#12010: 24.1.50: NS variant does not use '--enable-locallisppath=...' configure option
  2012-07-22 18:36   ` Peter Dyballa
@ 2012-07-29 16:59     ` Jan Djärv
  0 siblings, 0 replies; 5+ messages in thread
From: Jan Djärv @ 2012-07-29 16:59 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 12010-done

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.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#12010: 24.1.50: NS variant does not use '--enable-locallisppath=...' configure option
  2012-07-22 16:42 ` Jan Djärv
  2012-07-22 18:36   ` Peter Dyballa
@ 2012-07-30 20:13   ` Jan Djärv
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Djärv @ 2012-07-30 20:13 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 12010

Hello.

22 jul 2012 kl. 18:42 skrev Jan Djärv:

> Hello.
> 
> It seems that -Q must come after --eval.  I don't know why.
> 
> 	Jan D.
> 
> 21 jul 2012 kl. 18:30 skrev Peter Dyballa:
> 
>> 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)".

Emacs does evaluate the code after the --eval, but the Cocoa command line parsing mistakes the argument for a file and passes it to Emacs to be opened.  I fixed this in the trunk, so we ignore Cocoa-passed filenames during start.

	Jan D.







^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-07-30 20:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-21 16:30 bug#12010: 24.1.50: NS variant does not use '--enable-locallisppath=...' configure option Peter Dyballa
2012-07-22 16:42 ` Jan Djärv
2012-07-22 18:36   ` Peter Dyballa
2012-07-29 16:59     ` Jan Djärv
2012-07-30 20:13   ` Jan Djärv

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.