unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: 15402@debbugs.gnu.org, Constantine Vetoshev <vetoshev@gmail.com>
Subject: bug#15402: 24.3; Emacs and Mac OS Dock bad launch behavior
Date: Thu, 19 Sep 2013 17:30:48 -0400	[thread overview]
Message-ID: <jwvioxwts95.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <E45AAB98-8FA4-42F8-88D2-8416003B1267@swipnet.se>

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





  parent reply	other threads:[~2013-09-19 21:30 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17  8:25 bug#15402: 24.3; Emacs and Mac OS Dock bad launch behavior Constantine Vetoshev
2013-09-17 18:04 ` Jan Djärv
2013-09-17 18:48   ` Constantine Vetoshev
2013-09-18 17:24 ` Stefan Monnier
2013-09-19 15:54   ` Jan Djärv
2013-09-19 19:25     ` Constantine Vetoshev
2013-09-20  7:05       ` Jan Djärv
2013-09-20  7:57         ` Constantine Vetoshev
2013-09-20  9:21           ` Jan Djärv
2013-09-20 11:25             ` Constantine Vetoshev
2013-09-19 21:30     ` Stefan Monnier [this message]
2013-09-29 17:11       ` Jan Djärv
2013-09-30 15:14         ` Constantine Vetoshev

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=jwvioxwts95.fsf-monnier+emacsbugs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=15402@debbugs.gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=vetoshev@gmail.com \
    /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).