From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#15402: 24.3; Emacs and Mac OS Dock bad launch behavior Date: Thu, 19 Sep 2013 17:30:48 -0400 Message-ID: References: <10088A94-BDA2-4B86-96EF-A1DE03E38737@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1380057138 21011 80.91.229.3 (24 Sep 2013 21:12:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Sep 2013 21:12:18 +0000 (UTC) Cc: 15402@debbugs.gnu.org, Constantine Vetoshev To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 24 23:12:20 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VOZu7-0003Jc-Ou for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Sep 2013 23:12:19 +0200 Original-Received: from localhost ([::1]:48239 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOZu7-00021t-9o for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Sep 2013 17:12:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOZty-00021e-7S for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2013 17:12:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOZtq-0003Xt-TM for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2013 17:12:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOZtq-0003Xj-QN for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2013 17:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VOZtq-0001EK-Dr for bug-gnu-emacs@gnu.org; Tue, 24 Sep 2013 17:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Sep 2013 21:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15402 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 15402-submit@debbugs.gnu.org id=B15402.13800570714661 (code B ref 15402); Tue, 24 Sep 2013 21:12:02 +0000 Original-Received: (at 15402) by debbugs.gnu.org; 24 Sep 2013 21:11:11 +0000 Original-Received: from localhost ([127.0.0.1]:33313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VOZt1-0001D1-33 for submit@debbugs.gnu.org; Tue, 24 Sep 2013 17:11:11 -0400 Original-Received: from relais.videotron.ca ([24.201.245.36]:24739) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VOZsy-0001Cl-8K for 15402@debbugs.gnu.org; Tue, 24 Sep 2013 17:11:08 -0400 Original-Received: from ceviche.home ([24.201.53.56]) by VL-VM-MR006.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0MTN00KZ8EUJ1U20@VL-VM-MR006.ip.videotron.ca> for 15402@debbugs.gnu.org; Tue, 24 Sep 2013 17:11:07 -0400 (EDT) Original-Received: by ceviche.home (Postfix, from userid 20848) id 4168F665EB; Thu, 19 Sep 2013 17:30:48 -0400 (EDT) In-reply-to: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:78717 Archived-At: >>> This is NOT required when launching Emacs from the command line! >> Typically, the difference between the two is that running Emacs from the >> command line runs it with environment variables set by your shell's init >> scripts, whereas running it from the GUI does not have those >> env-vars set. >> IOW please compare M-: process-environment RET in the two cases, it will >> probably contain a clue. > I already checked, LANG is needed to be set properly in the environment, and > it isn't when laucnhng from dock. M-x setenv doesn't help, as it really > doesn't setenv anything (should be renamed IMHO). IIRC, under Darwin, everything along the lines of locale-coding-system, keyboard-codind-system, terminal-coding-system, etc... should always be utf-8. So we probably don't need to look at LANG to make that decision. Stefan