Subject: bug#52948: 28.0.90; NS variant and X11 client are not separated on macOS Monterey, Version 12.1

From: Peter Dyballa <[email-masked]>
Date: Sat, 15 Jan 2022 10:44:56 +0100

> 
> So is there anything to do here, or should this bug report be closed?

Yes, it needs some work. The NS variant does not use the dumped image inside its application bundle although this image is installed there:

	total 0
	drwxr-xr-x  6 pete  admin  192  2 Jan 14:29 Contents
	
	./Contents:
	total 48
	-rw-r--r--  1 pete  admin  18094  2 Jan 14:20 Info.plist
	drwxr-xr-x  4 pete  admin    128  2 Jan 14:29 MacOS
	-rw-r--r--  1 pete  admin      8  1 Dez 21:37 PkgInfo
	drwxr-xr-x  6 pete  admin    192  7 Dez 10:15 Resources
	
	./Contents/MacOS:
	total 13696
	-rwxr-xr-x  1 pete  admin  7011232  2 Jan 14:29 Emacs        <== executable
	drwxr-xr-x  3 pete  admin       96  2 Jan 14:29 libexec
	
	./Contents/MacOS/libexec:
	total 30992
	-rw-r--r--  1 pete  admin 15866216  2 Jan 14:29 Emacs.pdmp   <== dumped image ./libexec/Emacs.pdmp
	
	./Contents/Resources:
	total 576
	-rw-r--r--  1 pete  admin     128  1 Dez 21:37 Credits.html
	-rw-r--r--  1 pete  admin  145987  1 Dez 21:37 Emacs.icns
	drwxr-xr-x  3 pete  admin      96  2 Jan 14:20 English.lproj
	-rw-r--r--  1 pete  admin  142428  1 Dez 21:37 document.icns
	
	./Contents/Resources/English.lproj:
	total 8
	-rw-r--r--  1 pete  admin  260  2 Jan 14:20 InfoPlist.strings

If Emacs.pdmp in /usr/local tree it is used from there. If it's not there Emacs loads a lot of ELisp files before it opens any frame and obviously never uses Contents/MacOS/libexec/Emacs.pdmp or ./libexec/Emacs.pdmp, relative to the executable.

Besides, GNU Emacs 28.0.90 will become after changes version 28.1 and be released. Then I would need to install "them", the NS variant and the X11 client. I am just testing this.

--
Greetings

  Pete

Think of XML as Lisp for COBOL programmers.
				- Tony-A (some guy on /.)