Hi Tassilo, Tassilo Horn wrote: > "Sebastien Vauban" <wxhgmqzgw...@spammotel.com> writes: > >> 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). > > Well, that line above tries to get the value of the environment variable > en_US.utf8. There is no such variable, so `getenv' returns nil leaving > you with the default setting of `system-time-locale'.
No. Sorry, I just edited directly in the mail, when answering... but was apparently too fast (or I just didn't read it carefully before sending it). If can assure you I had (the effect of): (setq system-time-locale "en_US.utf8") in my .emacs. The real lines in my .emacs were: #+begin_src emacs-lisp ;; specify your character-set locale (setenv "LANG" "en_US.utf8") ;; system locale to use for formatting time values (e.g., timestamps in ;; Org mode files) (setq system-time-locale (getenv "LANG")) #+end_src Why setting LANG? Because that environment variable doesn't exist on Windows, and was needed to quiet SVN (stop reporting warnings). >> 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!? > > See. ;-) Case still open (for understanding it fully, on my side: why setting it early in my .emacs file is different than setting it afterward). Best regards, Seb -- Sebastien Vauban