GNU logs - #32801, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#32801: 26.1; (shell-command-to-string command) discrepancy in GUI vs terminal
Resent-From: Jayesh Bhat <jayeshbhat55@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 22 Sep 2018 01:22:02 +0000
Resent-Message-ID: <handler.32801.B.15375792927062 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 32801
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 32801 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.15375792927062
          (code B ref -1); Sat, 22 Sep 2018 01:22:02 +0000
Received: (at submit) by debbugs.gnu.org; 22 Sep 2018 01:21:32 +0000
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>
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-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--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Jayesh Bhat <jayeshbhat55@HIDDEN>
Subject: bug#32801: Acknowledgement (26.1; (shell-command-to-string
 command) discrepancy in GUI vs terminal)
Message-ID: <handler.32801.B.15375792927062.ack <at> debbugs.gnu.org>
References: <CAO7_e=jZ_ciOpf6qX1H_SxoGah7nDa7LSTFSQvqa27LFmqMytw@HIDDEN>
X-Gnu-PR-Message: ack 32801
X-Gnu-PR-Package: emacs
Reply-To: 32801 <at> debbugs.gnu.org
Date: Sat, 22 Sep 2018 01:22:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 32801 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
32801: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32801
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#32801: 26.1; (shell-command-to-string command) discrepancy in GUI vs terminal
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 22 Sep 2018 06:37:02 +0000
Resent-Message-ID: <handler.32801.B32801.153759817714617 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 32801
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Jayesh Bhat <jayeshbhat55@HIDDEN>
Cc: 32801 <at> debbugs.gnu.org
Received: via spool by 32801-submit <at> debbugs.gnu.org id=B32801.153759817714617
          (code B ref 32801); Sat, 22 Sep 2018 06:37:02 +0000
Received: (at 32801) by debbugs.gnu.org; 22 Sep 2018 06:36:17 +0000
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>
In-reply-to: <CAO7_e=jZ_ciOpf6qX1H_SxoGah7nDa7LSTFSQvqa27LFmqMytw@HIDDEN>
 (message from Jayesh Bhat on Sat, 22 Sep 2018 02:53:25 +0200)
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-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.




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


Received: (at control) by debbugs.gnu.org; 25 Oct 2018 00:47:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 24 20:47:33 2018
Received: from localhost ([127.0.0.1]:41041 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gFToD-00039f-FJ
	for submit <at> debbugs.gnu.org; Wed, 24 Oct 2018 20:47:33 -0400
Received: from mail-it1-f179.google.com ([209.85.166.179]:39650)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1gFToB-00039Q-Nn
 for control <at> debbugs.gnu.org; Wed, 24 Oct 2018 20:47:32 -0400
Received: by mail-it1-f179.google.com with SMTP id m15so9024825itl.4
 for <control <at> debbugs.gnu.org>; Wed, 24 Oct 2018 17:47:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=YuGaXnNZptChb0aInmvfCDtRs0NqlftH/fwaEGODq8k=;
 b=PrEx0KAZTO7vL26cZLfoYt2BnEy+0s6ZneiE0baFSfptOGvJ5nmcWJKBIcaby9Vwu6
 6jCKsB0H0AYdiUflioIn9M5AZGvQOmW41vBjD/eT83q7JPCmUACsk4D/6f9XdBh9qidL
 RBTL2E6uoSpd0q8bZkZ7bDvRVaKksCFB0LqBlfHsuwh5vmKL+R7Td4EQxeGFquzpIqFm
 K4W49vnbF/C0hkyOA0z9fN57/7JmxeDEqbZUmG32U9PBkU/yEmhFVv0Eisxu2ud5cNMZ
 yapDGpwSejwASQ6qyXoOFAp8CoB0zO0c1rytaQiMi7AuExSfB/pTHNh3dHNv+7tZqCXq
 SzIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=YuGaXnNZptChb0aInmvfCDtRs0NqlftH/fwaEGODq8k=;
 b=njG8NaJCwD3kg+UdgxbeU0/GN8155oi4EpZEnev1ha6ljhJPppkpvRBlE7CXmqvZe9
 ou6ReOj10OZN3J44fAX7wPIoNxEqEMzQq6Buxjqn1ItjVL5UdGYZD7x11/hRsdRdkFbP
 2hW2dgCLOVDaAHMQOnAx9TLch6yfiZj393DFZaBeVpOg/cFyQhauL+e7v0vHNo21mbud
 Ualv3XRletz/srIFSHktijcrKtaDrRMGPxmzzHhw966MbC0O6z/XOKbmR/ykn4e8Ag18
 umqIDpOXB8p0DG8Qd1qGXcCrFUw7Qz4TtuC+r909g3FIU79KkI3y8FEClOamp0sX1k2W
 1beQ==
X-Gm-Message-State: AGRZ1gIsEHCd/Kr1IKYDTiIWXDEvVKFTo7fUFyFRMsUYLQapboE8YNsa
 8X6Hov0CyXJokC6VV5cXvT/q3fEZ
X-Google-Smtp-Source: AJdET5egnWiyuIUi6M3tMCbCY5GPgUbrr6QTkYzTiqNAvLqK3+VGIVtjj5SUvYM9dVFiwQlBJk2unw==
X-Received: by 2002:a24:21d5:: with SMTP id
 e204-v6mr3025374ita.127.1540428445713; 
 Wed, 24 Oct 2018 17:47:25 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 z9-v6sm1077510iom.12.2018.10.24.17.47.24
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 24 Oct 2018 17:47:25 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: control message for bug #32801
Date: Wed, 24 Oct 2018 20:47:24 -0400
Message-ID: <871s8en97n.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
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: -1.0 (-)

# probably just normal macOS behaviour
retitle 32801 [macOS] (shell-command-to-string command) discrepancy in GUI vs terminal
tags 32801 + notabug
quit





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


Received: (at control) by debbugs.gnu.org; 25 Oct 2018 00:47:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 24 20:47:33 2018
Received: from localhost ([127.0.0.1]:41041 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gFToD-00039f-FJ
	for submit <at> debbugs.gnu.org; Wed, 24 Oct 2018 20:47:33 -0400
Received: from mail-it1-f179.google.com ([209.85.166.179]:39650)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>) id 1gFToB-00039Q-Nn
 for control <at> debbugs.gnu.org; Wed, 24 Oct 2018 20:47:32 -0400
Received: by mail-it1-f179.google.com with SMTP id m15so9024825itl.4
 for <control <at> debbugs.gnu.org>; Wed, 24 Oct 2018 17:47:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:mime-version;
 bh=YuGaXnNZptChb0aInmvfCDtRs0NqlftH/fwaEGODq8k=;
 b=PrEx0KAZTO7vL26cZLfoYt2BnEy+0s6ZneiE0baFSfptOGvJ5nmcWJKBIcaby9Vwu6
 6jCKsB0H0AYdiUflioIn9M5AZGvQOmW41vBjD/eT83q7JPCmUACsk4D/6f9XdBh9qidL
 RBTL2E6uoSpd0q8bZkZ7bDvRVaKksCFB0LqBlfHsuwh5vmKL+R7Td4EQxeGFquzpIqFm
 K4W49vnbF/C0hkyOA0z9fN57/7JmxeDEqbZUmG32U9PBkU/yEmhFVv0Eisxu2ud5cNMZ
 yapDGpwSejwASQ6qyXoOFAp8CoB0zO0c1rytaQiMi7AuExSfB/pTHNh3dHNv+7tZqCXq
 SzIw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:mime-version;
 bh=YuGaXnNZptChb0aInmvfCDtRs0NqlftH/fwaEGODq8k=;
 b=njG8NaJCwD3kg+UdgxbeU0/GN8155oi4EpZEnev1ha6ljhJPppkpvRBlE7CXmqvZe9
 ou6ReOj10OZN3J44fAX7wPIoNxEqEMzQq6Buxjqn1ItjVL5UdGYZD7x11/hRsdRdkFbP
 2hW2dgCLOVDaAHMQOnAx9TLch6yfiZj393DFZaBeVpOg/cFyQhauL+e7v0vHNo21mbud
 Ualv3XRletz/srIFSHktijcrKtaDrRMGPxmzzHhw966MbC0O6z/XOKbmR/ykn4e8Ag18
 umqIDpOXB8p0DG8Qd1qGXcCrFUw7Qz4TtuC+r909g3FIU79KkI3y8FEClOamp0sX1k2W
 1beQ==
X-Gm-Message-State: AGRZ1gIsEHCd/Kr1IKYDTiIWXDEvVKFTo7fUFyFRMsUYLQapboE8YNsa
 8X6Hov0CyXJokC6VV5cXvT/q3fEZ
X-Google-Smtp-Source: AJdET5egnWiyuIUi6M3tMCbCY5GPgUbrr6QTkYzTiqNAvLqK3+VGIVtjj5SUvYM9dVFiwQlBJk2unw==
X-Received: by 2002:a24:21d5:: with SMTP id
 e204-v6mr3025374ita.127.1540428445713; 
 Wed, 24 Oct 2018 17:47:25 -0700 (PDT)
Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.googlemail.com with ESMTPSA id
 z9-v6sm1077510iom.12.2018.10.24.17.47.24
 for <control <at> debbugs.gnu.org>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 24 Oct 2018 17:47:25 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: control <at> debbugs.gnu.org
Subject: control message for bug #32801
Date: Wed, 24 Oct 2018 20:47:24 -0400
Message-ID: <871s8en97n.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: control
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: -1.0 (-)

# probably just normal macOS behaviour
retitle 32801 [macOS] (shell-command-to-string command) discrepancy in GUI vs terminal
tags 32801 + notabug
quit






Last modified: Thu, 25 Oct 2018 01:00:02 UTC

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