From: "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: Suddenly, my timestamps get localized!
Date: Thu, 27 Oct 2011 09:46:15 +0200 [thread overview]
Message-ID: <80bot2q3lk.fsf@somewhere.org> (raw)
In-Reply-To: 80d3dltl0z.fsf@somewhere.org
Hi Tassilo,
> Tassilo Horn wrote:
>> "Sebastien Vauban" <wxhgmqzgwmuf-geNee64TY+gS+FvcfC7Uqw@public.gmane.org> writes:
>>
>>>> What's going on? I even have no glue how org/emacs (correctly)
>>>> guesses that I'm German. My locale is en_US.UTF-8...
>>>
>>> Found in my .emacs:
>>>
>>> #+begin_src emacs-lisp
>>> ;; system locale to use for formatting time values (e.g., timestamps in
>>> ;; Org mode files)
>>> (setq system-time-locale "C")
>>> ;; "en_US.utf8" did not work for the weekday in the agenda!
>>> #+end_src
>>
>> Ok, that does the trick. It was nil before.
>> And
>>
>> (setq system-time-locale (getenv "LANG"))
>>
>> resulting in "en_US.utf8" seems to work as well. What did not work for
>> you in the agenda?
>
> When I wrote (months ago) "did not work", I meant: I got French weekdays in my
> agenda ("Lun." for Monday, "Mar.", "Mer.", etc. -- even on 4 characters).
>
> I could retry... but I don't have UTF8 specified in my LANG var. I should do
> add it, I guess.
Just to confirm:
(setq system-time-locale (getenv "en_US.utf8"))
in my .emacs is not working for me: I get French timestamps (I mean: weekday
abbreviations) in Org (on `C-c .', for example).
Setting it back, on-the-fly (with `C-x C-e') to "C" works: I get English
timestamps.
Though, setting it back once again to "en_US.utf8" works as well: I now still
get English timestamps!?
That seems to indicate that setting that var before Org or after Org doesn't
provide me with the same view. I say Org, but maybe it's before or after
another one. Should be investigated, but not that clear anymore...
> PS- I'm on Windows XP, with a win32 binary from FSF.
(and Cygwin for the subshell, but Emacs is not launched from it).
Best regards,
Seb
--
Sebastien Vauban
next prev parent reply other threads:[~2011-10-27 7:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-25 9:36 Suddenly, my timestamps get localized! Tassilo Horn
2011-10-25 9:41 ` Sebastien Vauban
2011-10-25 10:13 ` Olaf Meeuwissen
2011-10-25 10:25 ` Tassilo Horn
2011-10-25 10:37 ` Sebastien Vauban
2011-10-25 10:39 ` Tassilo Horn
2011-10-27 7:46 ` Sebastien Vauban [this message]
2011-10-27 8:40 ` Tassilo Horn
2011-10-27 9:34 ` Sebastien Vauban
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.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=80bot2q3lk.fsf@somewhere.org \
--to=wxhgmqzgwmuf-genee64ty+gs+fvcfc7uqw@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/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/org-mode.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).