From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.devel Subject: [script vs ICon: latex binaries not found] (was: Emacs on macOS) Date: Sun, 03 Apr 2022 19:20:57 +0200 Message-ID: References: <0CBBB7FB-1D2A-46C7-90C2-8664913B0E29@icloud.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=sha256; protocol="application/pkcs7-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21704"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: auctex-devel To: emacs-devel@gnu.org Cancel-Lock: sha1:REopRMFQs/J3TCxcA5dEmmfox/E= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 03 19:21:56 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nb3vG-0005UC-VL for ged-emacs-devel@m.gmane-mx.org; Sun, 03 Apr 2022 19:21:55 +0200 Original-Received: from localhost ([::1]:32970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nb3vF-0001GB-IN for ged-emacs-devel@m.gmane-mx.org; Sun, 03 Apr 2022 13:21:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nb3uZ-0000Uz-IX for emacs-devel@gnu.org; Sun, 03 Apr 2022 13:21:11 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:34514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nb3uX-0004Wa-M3 for emacs-devel@gnu.org; Sun, 03 Apr 2022 13:21:11 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nb3uV-0004aS-WE for emacs-devel@gnu.org; Sun, 03 Apr 2022 19:21:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:287739 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>> "PS" =3D=3D Perry Smith writes: > I=E2=80=99m not sure if this is the best list for this: > I have an M1 Max (arm based / Apple Silicon) MacBook Pro with the > latest macOS of 12.3. I also have Homebrew installed with about 27 > items installed. I have not installed any libraries just to have the > libraries but have only installed commands. > In any case, building emacs was the usual drop dead easy: ./configure; ma= ke ; make install > The one tiny hiccup is you need to do: > sudo xattr -rds com.apple.quarantine Emacs.app > to get the Emacs.app to launch. The GNU Emacs web site points users to > EmacsForMacOSX. EmacsForMacOSX has problems opening files in > ~/Desktop, ~/Downloads, and ~/Documents if the user is using Apple=E2=80= =99s > cloud solution. My belief is that these problems come up because the > EmacsForMacOSX starts with a ruby script which eventually launches the > emacs binary. I believe macOS at that point no longer trusts the > executable =E2=80=94 which seems totally reasonable. Ah well, I run some tests. With your proposed xattr command, when clicking on the Emacs icon, then I cannot access these three folders, without further confirmation. When I start it via the script that problem does not occur (I recall vaguely that I have to configure the security setting of the Mac). I found another strange problem (curious what other think), when clicking on the icon and starting Emacs this way, then I have the following problem. Using auctex in a latex buffer auctex does not find the executable latex binaries (I have Mac Latex installed with is basically texlive), while it does when I start emacs with the rugby script. Not sure how is the culprit here. I put the auctex-devel on the CC Uwe Brauer=20 --=-=-= Content-Type: application/pkcs7-signature; name=smime.p7s Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=smime.p7s MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCCE8cw ggWDMIIDa6ADAgECAg9dk40wZzbIBh0ax1SEaQcwDQYJKoZIhvcNAQELBQAwOzELMAkGA1UEBhMC RVMxETAPBgNVBAoMCEZOTVQtUkNNMRkwFwYDVQQLDBBBQyBSQUlaIEZOTVQtUkNNMB4XDTA4MTAy OTE1NTk1NloXDTMwMDEwMTAwMDAwMFowOzELMAkGA1UEBhMCRVMxETAPBgNVBAoMCEZOTVQtUkNN MRkwFwYDVQQLDBBBQyBSQUlaIEZOTVQtUkNNMIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKC AgEAunGAekyGbn/IE23Axn0cAJePLAwjuxCaQKkat4eI+JtWavvme46Lko6nJV1ZEds2LrdRFx+p CB8EFyRYqjdKGN/lOdRX/dfBLJEBkeIi1APAWPx3R+yPPnRDuqw0jU04dmeOsMhvMDNYcVy09Wtu 1AFQuBN+bEqjSdEgGe68wCkYZafe/u/dCpAh5xpnkkIQmF9PMLw+HEW0ENdoQBTAQPrndxd65guP ZVs82ZpS27W9nkbPPeuRBQLAlrJ2TE0QljuS+px/D5nfviM1RR4CXP61qJuZJdpe8yLDOfXkKi7T xh/EbKrFHGoBBUov0s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