bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32801: 26.1; (shell-command-to-string command) discrepancy in GUI vs


From: Stefan Kangas
Subject: bug#32801: 26.1; (shell-command-to-string command) discrepancy in GUI vs terminal
Date: Thu, 23 Jan 2020 06:12:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> 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.

Does anyone else have an opinion here?  I'm hardly an expert on macOS,
but it seems to me that Eli is right.

Best regards,
Stefan Kangas





reply via email to

[Prev in Thread] Current Thread [Next in Thread]