From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neo Liu Subject: system-time-locale doesn't work in emacs daemon Date: Mon, 4 Apr 2011 11:15:17 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf307d050e46af1e04a00f2b6b Return-path: Received: from [140.186.70.92] (port=60863 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6aG8-0003xs-Tm for emacs-orgmode@gnu.org; Sun, 03 Apr 2011 23:15:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6aG7-0001pa-6s for emacs-orgmode@gnu.org; Sun, 03 Apr 2011 23:15:20 -0400 Received: from mail-vw0-f41.google.com ([209.85.212.41]:51441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6aG7-0001pB-1R for emacs-orgmode@gnu.org; Sun, 03 Apr 2011 23:15:19 -0400 Received: by vws4 with SMTP id 4so4983425vws.0 for ; Sun, 03 Apr 2011 20:15:18 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --20cf307d050e46af1e04a00f2b6b Content-Type: text/plain; charset=UTF-8 Hi, everyone: My shell locale is zh_CN.UTF-8, and I want to let org-mode insert timestamp in English, so I inserted (setq system-time-locale "C") into my emacs initialization file (.emacs). Then I found that this setting does work in normal emacs, i.e. starting emacs without --daemon option. But if I start emacs with --daemon, it doesn't work. It still insert timestamp in the language according to the shell locale setting (zh_CN.UTF-8). Is anyone knows how to solve this problem? diabloneo --20cf307d050e46af1e04a00f2b6b Content-Type: text/html; charset=UTF-8 Hi, everyone:

My shell locale is zh_CN.UTF-8, and I want to let org-mode insert timestamp in English, so I inserted (setq system-time-locale "C") into my emacs initialization file (.emacs). Then I found that this setting does work in normal emacs, i.e. starting emacs without --daemon option. But if I start emacs with --daemon, it doesn't work. It still insert timestamp in the language according to the shell locale setting (zh_CN.UTF-8).

Is anyone knows how to solve this problem?

diabloneo

--20cf307d050e46af1e04a00f2b6b--