unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp <p.stephani2@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 51832@debbugs.gnu.org, alan@idiocy.org, tor.a.s.kringeland@ntnu.no
Subject: bug#51832: Piping unicode text in `shell-command'
Date: Sun, 14 Nov 2021 12:48:21 +0100	[thread overview]
Message-ID: <22556E9A-A4EA-4A25-AB42-B7ADD3681730@gmail.com> (raw)
In-Reply-To: <87zgq76l24.fsf@gnus.org>



> Am 14.11.2021 um 12:20 schrieb Lars Ingebrigtsen <larsi@gnus.org>:
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>> And if it is needed, how come we are setting LANG to an invalid locale
>> and the system somehow sets it to the correct locale?
> 
> LANG outside of Emacs is "" for me on Macos.

For reference, on my Monterey system, only the following variables are initially set when launching Emacs from Finder:

__CF_USER_TEXT_ENCODING=0x1F5:0x0:0x3
__CFBundleIdentifier=org.gnu.Emacs
COMMAND_MODE=unix2003
DISPLAY=/private/tmp/com.apple.launchd.[...]/org.macosforge.xquartz:0
HOME=/Users/p
LOGNAME=p
PATH=/usr/bin:/bin:/usr/sbin:/sbin
SHELL=/opt/homebrew/bin/bash
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.[...]/Listeners
TMPDIR=/var/folders/hw/[...]/T/
USER=p
XPC_FLAGS=0x0
XPC_SERVICE_NAME=application.org.gnu.Emacs.[...]






  reply	other threads:[~2021-11-14 11:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-14  3:10 bug#51832: Piping unicode text in `shell-command' Tor Kringeland
2021-11-14  7:26 ` Eli Zaretskii
2021-11-14  7:53   ` Lars Ingebrigtsen
2021-11-14  8:13     ` Eli Zaretskii
2021-11-14  8:18       ` Lars Ingebrigtsen
2021-11-14  8:25         ` Eli Zaretskii
2021-11-14  9:19           ` Lars Ingebrigtsen
2021-11-14  9:32           ` Lars Ingebrigtsen
2021-11-14  9:46             ` Lars Ingebrigtsen
2021-11-14 10:31               ` Eli Zaretskii
2021-11-14 10:41                 ` Philipp
2021-11-14 10:56                   ` Eli Zaretskii
2021-11-14 11:20                     ` Lars Ingebrigtsen
2021-11-14 11:48                       ` Philipp [this message]
2021-11-14 12:16                       ` Eli Zaretskii
2021-11-14 12:31                     ` Alan Third
2021-11-14 13:41                       ` Lars Ingebrigtsen
2021-11-14 14:23                         ` Philipp
2021-11-14 14:28                           ` Lars Ingebrigtsen
2021-11-14 15:20                             ` Alan Third
2021-11-14 15:29                               ` Lars Ingebrigtsen
2021-11-16 20:52                                 ` Alan Third
2022-09-20 13:24                                   ` Lars Ingebrigtsen
2021-11-14 15:01                           ` Daniel Martín via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22556E9A-A4EA-4A25-AB42-B7ADD3681730@gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=51832@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    --cc=larsi@gnus.org \
    --cc=tor.a.s.kringeland@ntnu.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).