GNU bug report logs - #32801
[macOS] (shell-command-to-string command) discrepancy in GUI vs terminal

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Jayesh Bhat <jayeshbhat55@HIDDEN>; Keywords: notabug; dated Sat, 22 Sep 2018 01:22:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 32801 <at> debbugs.gnu.org:


Received: (at 32801) by debbugs.gnu.org; 4 Nov 2018 21:31:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 04 16:31:39 2018
Received: from localhost ([127.0.0.1]:34320 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gJPzf-0000f6-02
	for submit <at> debbugs.gnu.org; Sun, 04 Nov 2018 16:31:39 -0500
Received: from mail-pl1-f195.google.com ([209.85.214.195]:41774)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jayeshbhat55@HIDDEN>) id 1gJPzc-0000es-Vg
 for 32801 <at> debbugs.gnu.org; Sun, 04 Nov 2018 16:31:37 -0500
Received: by mail-pl1-f195.google.com with SMTP id p16-v6so3419567plr.8
 for <32801 <at> debbugs.gnu.org>; Sun, 04 Nov 2018 13:31:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=91EuBPxD15hZZlvCuOgjpNT0Ye70nM11PBp9F/wpwZs=;
 b=S50AW6HCkzEtOioBG7gbVINAS1J3ibMzd1D1yA6C5UCoH3FeXDiwfBEJN+BGFPjTeW
 mVIn/5+x3hdS0cvWNy6ex3bzXphrQpXORk8LJwZJKli0wyCjiqD1ktyszCcsQi7ZfFyD
 1nJgsW4ZRhm2aEdYFUmNuhYxTkYgykV+9zw9qCqbnXsj3oyegVXcfxM3zkF07MZhfYTy
 lYP7HgFNxoEn7vviFxGdSCe5BOMoL7viOx2vnUyGNSFW/kRomkhOmSgIRtHKu26hVNot
 KiWc4PNc6Nel7CGJEVlgd05ErBm3GfZqSuRHcdX67KzlqkZwPBXKokPfWJIwpo9zAFIK
 STOw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=91EuBPxD15hZZlvCuOgjpNT0Ye70nM11PBp9F/wpwZs=;
 b=UmDLwaDOCynMk4bKR5KWzK0l3n98EZFt8lBNn7bf7CMOgEkYJ8++8DWz/iRJNXr6WD
 XRU/8BDHMvdDE0knWU0GO9kAxzk+ngWPZOz/RRqJuGGcKRXbsUO+nbmXdN/YrQXH5WdE
 oAJIKNnMmZRqsqWe5ogzh81hAF7W/WVxv1KgOOcSeyri/qA1151V3rGX9UcWqPN81cxb
 Xqe2+VGyBzu0d/tXWE1QiSb89TrBEfm2bgSHJ4nagcd15Lnk6iRSJk2gsLSLd0eFgqUL
 2VXdBm3qVKQz6DiMRK6mG/8Zvbw6PagUGWYd5iS7bUMdOwoFZ1ZvfrukAZF0EyYhXLJT
 KxCw==
X-Gm-Message-State: AGRZ1gJdOhA18ku5SNC66jwPBtxFk6E9CsmL+xwxuzVKcZT3Mi4p1OmC
 Tro3Lu4OImIDw7OTVKRzrJ1XNuBnlKRqVoNvfqE=
X-Google-Smtp-Source: AJdET5e83v5tA+5vXYp7++2YM982SJItnHoRXUkQuPkdu0c06GaQCyKt3g0BcgezWWIUPc+rHff1VAAzM8QzMgBz+to=
X-Received: by 2002:a17:902:e005:: with SMTP id
 ca5-v6mr19258834plb.195.1541367090826; 
 Sun, 04 Nov 2018 13:31:30 -0800 (PST)
MIME-Version: 1.0
References: <CAO7_e=jZ_ciOpf6qX1H_SxoGah7nDa7LSTFSQvqa27LFmqMytw@HIDDEN>
 <83o9cqca45.fsf@HIDDEN>
In-Reply-To: <83o9cqca45.fsf@HIDDEN>
From: Jayesh Bhat <jayeshbhat55@HIDDEN>
Date: Sun, 4 Nov 2018 22:30:54 +0100
Message-ID: <CAO7_e=jrehsJvjK7RNu_6EUHAvw6VG+hOsWaJYkEmnUJgfGsjA@HIDDEN>
Subject: Re: bug#32801: 26.1; (shell-command-to-string command) discrepancy in
 GUI vs terminal
To: eliz@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000ead3480579dd7d3e"
X-Spam-Score: 0.2 (/)
X-Debbugs-Envelope-To: 32801
Cc: 32801 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

--000000000000ead3480579dd7d3e
Content-Type: text/plain; charset="UTF-8"

It seems like that. My only reason to fire up Emacs from the Terminal was
to pass command-line arguments like --debug-init but since I use Spacemacs
this is builtin via the restart-emacs package. However, I didn't dig in
much to see how command-line arguments are passed through GUI restart.

https://github.com/iqbalansari/restart-emacs

Best wishes,
Jayesh


On Sat, 22 Sep 2018 at 08:36, Eli Zaretskii <eliz@HIDDEN> wrote:

> > From: Jayesh Bhat <jayeshbhat55@HIDDEN>
> > Date: Sat, 22 Sep 2018 02:53:25 +0200
> >
> > 3a. Open emacs from Terminal
> >
> > # open -n /Applications/Emacs.app --args -q
> >
> > M-x ielm
> >
> > *** Welcome to IELM ***  Type (describe-mode) for help.
> > ELISP> (shell-command-to-string "pwd")
> > " ]7;file://JayeshMacBook.local/Users/jayesh /Users/jayesh\n"
> >
> > 3b. Open /Applications/Emacs.app via double click on GUI icon
> >
> > - M-x ielm
> >
> > *** Welcome to IELM ***  Type (describe-mode) for help.
> > ELISP> (shell-command-to-string "pwd")
> > "/Users/jayesh\n"
>
> AFAIU, that's how macOS apps behave in terminal and in GUI mode.
> Emacs just reflects the truth.
>
> But I'll let macOS experts chime in.
>

--000000000000ead3480579dd7d3e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">It seems like that. My o=
nly reason to fire up Emacs from the Terminal was to pass command-line argu=
ments like --debug-init but since I use Spacemacs this is builtin via the r=
estart-emacs package. However, I didn&#39;t dig in much to see how command-=
line arguments are passed through GUI restart.=C2=A0</div><div dir=3D"ltr">=
<br></div><div dir=3D"ltr"><a href=3D"https://github.com/iqbalansari/restar=
t-emacs">https://github.com/iqbalansari/restart-emacs</a><br></div><div dir=
=3D"ltr"><br clear=3D"all"><div><div dir=3D"ltr" class=3D"gmail_signature">=
<div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div style=3D"=
color:rgb(0,0,0)">Best wishes,</div><div style=3D"color:rgb(0,0,0)">Jayesh<=
/div></div></div></div></div></div></div></div><br></div></div></div><br><d=
iv class=3D"gmail_quote"><div dir=3D"ltr">On Sat, 22 Sep 2018 at 08:36, Eli=
 Zaretskii &lt;<a href=3D"mailto:eliz@HIDDEN">eliz@HIDDEN</a>&gt; wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex">&gt; From: Jayesh Bhat &lt;<a href=
=3D"mailto:jayeshbhat55@HIDDEN" target=3D"_blank">jayeshbhat55@HIDDEN=
</a>&gt;<br>
&gt; Date: Sat, 22 Sep 2018 02:53:25 +0200<br>
&gt; <br>
&gt; 3a. Open emacs from Terminal<br>
&gt; <br>
&gt; # open -n /Applications/Emacs.app --args -q<br>
&gt; <br>
&gt; M-x ielm<br>
&gt; <br>
&gt; *** Welcome to IELM ***=C2=A0 Type (describe-mode) for help.<br>
&gt; ELISP&gt; (shell-command-to-string &quot;pwd&quot;)<br>
&gt; &quot; ]7;file://JayeshMacBook.local/Users/jayesh /Users/jayesh\n&quot=
;<br>
&gt; <br>
&gt; 3b. Open /Applications/Emacs.app via double click on GUI icon<br>
&gt; <br>
&gt; - M-x ielm<br>
&gt; <br>
&gt; *** Welcome to IELM ***=C2=A0 Type (describe-mode) for help.<br>
&gt; ELISP&gt; (shell-command-to-string &quot;pwd&quot;)<br>
&gt; &quot;/Users/jayesh\n&quot;<br>
<br>
AFAIU, that&#39;s how macOS apps behave in terminal and in GUI mode.<br>
Emacs just reflects the truth.<br>
<br>
But I&#39;ll let macOS experts chime in.<br>
</blockquote></div>

--000000000000ead3480579dd7d3e--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32801; Package emacs. Full text available.
Added tag(s) notabug. Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to '[macOS] (shell-command-to-string command) discrepancy in GUI vs terminal' from '26.1; (shell-command-to-string command) discrepancy in GUI vs terminal' Request was from Noam Postavsky <npostavs@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 32801 <at> debbugs.gnu.org:


Received: (at 32801) by debbugs.gnu.org; 22 Sep 2018 06:36:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 22 02:36:17 2018
Received: from localhost ([127.0.0.1]:48658 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g3bWb-0003nh-BN
	for submit <at> debbugs.gnu.org; Sat, 22 Sep 2018 02:36:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:51902)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1g3bWZ-0003nU-Sl
 for 32801 <at> debbugs.gnu.org; Sat, 22 Sep 2018 02:36:16 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1g3bWQ-0006It-6V
 for 32801 <at> debbugs.gnu.org; Sat, 22 Sep 2018 02:36:10 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50923)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1g3bWQ-0006Io-3A; Sat, 22 Sep 2018 02:36:06 -0400
Received: from [176.228.60.248] (port=4680 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1g3bWP-0003G3-JQ; Sat, 22 Sep 2018 02:36:06 -0400
Date: Sat, 22 Sep 2018 09:35:54 +0300
Message-Id: <83o9cqca45.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Jayesh Bhat <jayeshbhat55@HIDDEN>
In-reply-to: <CAO7_e=jZ_ciOpf6qX1H_SxoGah7nDa7LSTFSQvqa27LFmqMytw@HIDDEN>
 (message from Jayesh Bhat on Sat, 22 Sep 2018 02:53:25 +0200)
Subject: Re: bug#32801: 26.1;
 (shell-command-to-string command) discrepancy in GUI vs terminal
References: <CAO7_e=jZ_ciOpf6qX1H_SxoGah7nDa7LSTFSQvqa27LFmqMytw@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 32801
Cc: 32801 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -6.0 (------)

> From: Jayesh Bhat <jayeshbhat55@HIDDEN>
> Date: Sat, 22 Sep 2018 02:53:25 +0200
> 
> 3a. Open emacs from Terminal
> 
> # open -n /Applications/Emacs.app --args -q
> 
> M-x ielm
> 
> *** Welcome to IELM ***  Type (describe-mode) for help.
> ELISP> (shell-command-to-string "pwd")
> " ]7;file://JayeshMacBook.local/Users/jayesh /Users/jayesh\n"
> 
> 3b. Open /Applications/Emacs.app via double click on GUI icon
> 
> - M-x ielm
> 
> *** Welcome to IELM ***  Type (describe-mode) for help.
> ELISP> (shell-command-to-string "pwd")
> "/Users/jayesh\n"

AFAIU, that's how macOS apps behave in terminal and in GUI mode.
Emacs just reflects the truth.

But I'll let macOS experts chime in.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#32801; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Sep 2018 01:21:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 21 21:21:32 2018
Received: from localhost ([127.0.0.1]:48584 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1g3Wc0-0001pp-84
	for submit <at> debbugs.gnu.org; Fri, 21 Sep 2018 21:21:32 -0400
Received: from eggs.gnu.org ([208.118.235.92]:42347)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jayeshbhat55@HIDDEN>) id 1g3WP1-0001R9-RT
 for submit <at> debbugs.gnu.org; Fri, 21 Sep 2018 21:08:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jayeshbhat55@HIDDEN>) id 1g3WOu-0007Kk-P6
 for submit <at> debbugs.gnu.org; Fri, 21 Sep 2018 21:08:02 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: *
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50,
 FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:50538)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <jayeshbhat55@HIDDEN>)
 id 1g3WOu-0007KT-IL
 for submit <at> debbugs.gnu.org; Fri, 21 Sep 2018 21:08:00 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:35088)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <jayeshbhat55@HIDDEN>) id 1g3WOt-00088X-2S
 for bug-gnu-emacs@HIDDEN; Fri, 21 Sep 2018 21:08:00 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <jayeshbhat55@HIDDEN>) id 1g3WBQ-00056H-0i
 for bug-gnu-emacs@HIDDEN; Fri, 21 Sep 2018 20:54:05 -0400
Received: from mail-pg1-x52a.google.com ([2607:f8b0:4864:20::52a]:43378)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <jayeshbhat55@HIDDEN>)
 id 1g3WBP-000563-ND
 for bug-gnu-emacs@HIDDEN; Fri, 21 Sep 2018 20:54:03 -0400
Received: by mail-pg1-x52a.google.com with SMTP id q19-v6so5895055pgn.10
 for <bug-gnu-emacs@HIDDEN>; Fri, 21 Sep 2018 17:54:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=rktYGc5rfpcerCmOR6qwinlYGJpP0i1fLy89AB5mTf0=;
 b=vUC2dBPJIEugQxT9wyKJwX3aMqGLvyiJxGgHhUs5MLfMoCnGcGMy7g0Lzr0viHFZh7
 YrSMaCpkAxApD/2go8ahDoVyVs6iTMawgvDdmIyiz2ZDlQ7vRkzVO+xKmWXV6b7KBHFL
 n5yhm0xfTxmv0F/uW0dELxvfF3vhfc7eHQ4QbMcXnQu2PyxwBVoDS/0rq3cgbNV6aKwT
 zYI9rcJgeFXYuXoFRlo3k3U56NzvpY+EIZBd3WQ9XQ11N8OunBrNlL4edKwsrZCPqPSy
 3zOYhX+wR8BQfsAqf21Ip+PcjzrKYAd+wGP+t2/H+DS55gJMSEGCXelP5jyEzcDNAlcS
 pTnA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=rktYGc5rfpcerCmOR6qwinlYGJpP0i1fLy89AB5mTf0=;
 b=uKl2lO9NFqRs4a8s/ij7Td5EF2rqzIj89MGg7ngs8ru65l/iSO5H8/R8Oo5ZHlIJkw
 BUnJ0kjyROwmp5naVOEg1h8cYIUfngkFqJRQqeZtzgbQ7fk0uOReJuW/WnB070KF5Fvs
 8uGzAF45jCmW/h9Y+OiS8ltpBbSynpI6xROlw+X3gQAg0VkgX14b9wMWE77xByngBM2B
 tUD3WYGTE2og7lX4PF/v6Ui02ltfnn6wuk774JAVVgh5ga8Olik1qx/BCl7BkIdkJbjC
 xKYSEefJKHiLPvM7IMr9713z0r5Yo24PfGaIDm33emm4nmOw8aYMpAVfb+fVsSEAaa7G
 Yezw==
X-Gm-Message-State: APzg51AByFsX5rQjAKh6KDHmlG7HVorLvjNXzfL4fgq2SO4fQHE6Qatn
 TyoKVkvuKrqAdMF9NoISUokvW74ATl3rcBhok/GDti5n
X-Google-Smtp-Source: ANB0VdbeV5KjhbxAtUWWTAEDGIa8xmmnHKjbP1sBu8526vw/NYYHH1lOVZlOwH3xpkmOVZ/ezTBuX3BVIqbR+ghr76o=
X-Received: by 2002:a62:cc83:: with SMTP id j3-v6mr194001pfk.255.1537577642010; 
 Fri, 21 Sep 2018 17:54:02 -0700 (PDT)
MIME-Version: 1.0
From: Jayesh Bhat <jayeshbhat55@HIDDEN>
Date: Sat, 22 Sep 2018 02:53:25 +0200
Message-ID: <CAO7_e=jZ_ciOpf6qX1H_SxoGah7nDa7LSTFSQvqa27LFmqMytw@HIDDEN>
Subject: 26.1; (shell-command-to-string command) discrepancy in GUI vs terminal
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000002aabdb05766b3162"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -3.8 (---)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 21 Sep 2018 21:21:30 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.8 (----)

--0000000000002aabdb05766b3162
Content-Type: text/plain; charset="UTF-8"

Hi

1. zsh environment (discrepancy reproduced in bash, ksh)
# echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/munki:/opt/X11/bin

2. Emacs 26.1 fresh homebrew install on macOS High Sierra 10.13.3
# brew install emacs --with-cocoa --with-dbus --with-gnutls
--with-imagemagick@6 --with-librsvg --with-modules --with-mailutils
--with-ctags

M-x report-emacs-bug

In GNU Emacs 26.1 (build 1, x86_64-apple-darwin17.4.0, NS appkit-1561.20
Version 10.13.3 (Build 17D47)) of 2018-09-21 built on JayeshMacBook.bing.box
Windowing system distributor 'Apple', version 10.3.1561

Configured using:
'configure --disable-dependency-tracking --disable-silent-rules
--enable-locallisppath=/usr/local/share/emacs/site-lisp
--infodir=/usr/local/Cellar/emacs/26.1_1/share/info/emacs
--prefix=/usr/local/Cellar/emacs/26.1_1 --with-gnutls --without-x
--with-xml2 --with-dbus --with-imagemagick --with-modules --with-rsvg
--without-pop --with-ns --disable-ns-self-contained'

Configured features:
JPEG RSVG IMAGEMAGICK DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS NS MODULES THREADS LCMS2

Important settings:
value of $LC_ALL: en_US.UTF-8
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix

Major mode: IELM

Minor modes in effect:
tooltip-mode: t
global-eldoc-mode: t
eldoc-mode: t
electric-indent-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

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv
bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs
format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config
gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils ielm easymenu pp comint
ansi-color ring elec-pair time-date tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote dbusbind kqueue cocoa ns lcms2 multi-tty make-network-process
emacs)

Memory information:
((conses 16 207399 9881)
(symbols 48 20558 2)
(miscs 40 82 219)
(strings 32 29888 2290)
(string-bytes 1 799134)
(vectors 16 35548)
(vector-slots 8 719289 10274)
(floats 8 49 244)
(intervals 56 234 11)
(buffers 992 13))

3a. Open emacs from Terminal

# open -n /Applications/Emacs.app --args -q

M-x ielm

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> (shell-command-to-string "pwd")
" ]7;file://JayeshMacBook.local/Users/jayesh /Users/jayesh\n"

3b. Open /Applications/Emacs.app via double click on GUI icon

- M-x ielm

*** Welcome to IELM ***  Type (describe-mode) for help.
ELISP> (shell-command-to-string "pwd")
"/Users/jayesh\n"

--0000000000002aabdb05766b3162
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">Hi=C2=A0<div><br></div><div><div>1. zsh e=
nvironment (discrepancy reproduced in bash, ksh)</div><div># echo $PATH</di=
v><div>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/us=
r/local/munki:/opt/X11/bin</div><div><br></div><div>2. Emacs 26.1 fresh hom=
ebrew install on macOS High Sierra 10.13.3</div><div># brew install emacs -=
-with-cocoa --with-dbus --with-gnutls --with-imagemagick@6 --with-librsvg -=
-with-modules --with-mailutils --with-ctags</div><div><br></div><div>M-x re=
port-emacs-bug</div><div><br></div><div>In GNU Emacs 26.1 (build 1, x86_64-=
apple-darwin17.4.0, NS appkit-1561.20 Version 10.13.3 (Build 17D47)) of 201=
8-09-21 built on JayeshMacBook.bing.box</div><div>Windowing system distribu=
tor &#39;Apple&#39;, version 10.3.1561</div><div><br></div><div>Configured =
using:</div><div>&#39;configure --disable-dependency-tracking --disable-sil=
ent-rules</div><div>--enable-locallisppath=3D/usr/local/share/emacs/site-li=
sp</div><div>--infodir=3D/usr/local/Cellar/emacs/26.1_1/share/info/emacs</d=
iv><div>--prefix=3D/usr/local/Cellar/emacs/26.1_1 --with-gnutls --without-x=
</div><div>--with-xml2 --with-dbus --with-imagemagick --with-modules --with=
-rsvg</div><div>--without-pop --with-ns --disable-ns-self-contained&#39;</d=
iv><div><br></div><div>Configured features:</div><div>JPEG RSVG IMAGEMAGICK=
 DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB</div><div>TOOLKIT_SCROLL_BARS NS MODUL=
ES THREADS LCMS2</div><div><br></div><div>Important settings:</div><div>val=
ue of $LC_ALL: en_US.UTF-8</div><div>value of $LANG: en_US.UTF-8</div><div>=
locale-coding-system: utf-8-unix</div><div><br></div><div>Major mode: IELM<=
/div><div><br></div><div>Minor modes in effect:</div><div>tooltip-mode: t</=
div><div>global-eldoc-mode: t</div><div>eldoc-mode: t</div><div>electric-in=
dent-mode: t</div><div>mouse-wheel-mode: t</div><div>tool-bar-mode: t</div>=
<div>menu-bar-mode: t</div><div>file-name-shadow-mode: t</div><div>global-f=
ont-lock-mode: t</div><div>font-lock-mode: t</div><div>blink-cursor-mode: t=
</div><div>auto-composition-mode: t</div><div>auto-encryption-mode: t</div>=
<div>auto-compression-mode: t</div><div>line-number-mode: t</div><div>trans=
ient-mark-mode: t</div><div><br></div><div>Load-path shadows:</div><div>Non=
e found.</div><div><br></div><div>Features:</div><div>(shadow sort mail-ext=
r emacsbug message rmc puny seq byte-opt gv</div><div>bytecomp byte-compile=
 cconv cl-loaddefs cl-lib dired dired-loaddefs</div><div>format-spec rfc822=
 mml mml-sec password-cache epa derived epg epg-config</div><div>gnus-util =
rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse</div><div>rfc=
2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045</div><div>iet=
f-drums mm-util mail-prsvr mail-utils ielm easymenu pp comint</div><div>ans=
i-color ring elec-pair time-date tooltip eldoc electric uniquify</div><div>=
ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win</div><div>ucs=
-normalize mule-util term/common-win tool-bar dnd fontset image</div><div>r=
egexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode</di=
v><div>lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer=
</div><div>select scroll-bar mouse jit-lock font-lock syntax facemenu font-=
core</div><div>term/tty-colors frame cl-generic cham georgian utf-8-lang mi=
sc-lang</div><div>vietnamese tibetan thai tai-viet lao korean japanese eucj=
p-ms cp51932</div><div>hebrew greek romanian slovak czech european ethiopic=
 indian cyrillic</div><div>chinese composite charscript charprop case-table=
 epa-hook jka-cmpr-hook</div><div>help simple abbrev obarray minibuffer cl-=
preloaded nadvice loaddefs</div><div>button faces cus-face macroexp files t=
ext-properties overlay sha1 md5</div><div>base64 format env code-pages mule=
 custom widget hashtable-print-readable</div><div>backquote dbusbind kqueue=
 cocoa ns lcms2 multi-tty make-network-process</div><div>emacs)</div><div><=
br></div><div>Memory information:</div><div>((conses 16 207399 9881)</div><=
div>(symbols 48 20558 2)</div><div>(miscs 40 82 219)</div><div>(strings 32 =
29888 2290)</div><div>(string-bytes 1 799134)</div><div>(vectors 16 35548)<=
/div><div>(vector-slots 8 719289 10274)</div><div>(floats 8 49 244)</div><d=
iv>(intervals 56 234 11)</div><div>(buffers 992 13))</div><div><br></div><d=
iv>3a. Open emacs from Terminal</div><div><br></div><div># open -n /Applica=
tions/Emacs.app --args -q</div><div><br></div><div>M-x ielm</div><div><br><=
/div><div>*** Welcome to IELM ***=C2=A0 Type (describe-mode) for help.</div=
><div>ELISP&gt; (shell-command-to-string &quot;pwd&quot;)</div><div>&quot; =
]7;file://JayeshMacBook.local/Users/jayesh /Users/jayesh\n&quot;</div><div>=
<br></div><div>3b. Open /Applications/Emacs.app via double click on GUI ico=
n</div><div><br></div><div>- M-x ielm</div><div><br></div><div>*** Welcome =
to IELM ***=C2=A0 Type (describe-mode) for help.</div><div>ELISP&gt; (shell=
-command-to-string &quot;pwd&quot;)</div><div>&quot;/Users/jayesh\n&quot;</=
div></div><div><br></div></div></div>

--0000000000002aabdb05766b3162--




Acknowledgement sent to Jayesh Bhat <jayeshbhat55@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#32801; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.