GNU bug report logs - #42921
27.1; Setting (setq system-time-locale “C”) in daemon ineffective

Previous Next

Package: emacs;

Reported by: Matthias Weigand <matthias.weigand <at> protonmail.com>

Date: Tue, 18 Aug 2020 20:32:01 UTC

Severity: normal

Tags: moreinfo

Found in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42921 in the body.
You can then email your comments to 42921 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#42921; Package emacs. (Tue, 18 Aug 2020 20:32:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matthias Weigand <matthias.weigand <at> protonmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 18 Aug 2020 20:32:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Matthias Weigand <matthias.weigand <at> protonmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.1;
  Setting (setq system-time-locale “C”) in daemon ineffective
Date: Tue, 18 Aug 2020 20:08:52 +0000
[Message part 1 (text/plain, inline)]
I try to set the time locale to "C" in my config via (setq
system-time-locale "C"). However, when using the emacs --daemon, it is
not set properly and I end up with non-english date formats and weekday
abbreviations when the system locale is different.

Discussion over at stackexchange pointed to the time variable not being
used directly but as a terminal-local variable.
https://emacs.stackexchange.com/q/60134

Unfortunately, I am not very literate in elisp so I am not able to
provide more information. Let me know if I should test something.

Kind regards

In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.22)
 of 2020-08-13 built on juergen
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Arch Linux

Configured using:
 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int
 --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt'
 CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON
PDUMPER LCMS2 GMP

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: mu4e:main

Minor modes in effect:
  org-edna-mode: t
  yas-global-mode: t
  global-auto-highlight-symbol-mode: t
  global-magit-file-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  global-git-gutter-mode: t
  global-flycheck-mode: t
  show-paren-mode: t
  smartparens-global-mode: t
  dumb-jump-mode: t
  counsel-projectile-mode: t
  ivy-mode: t
  projectile-mode: t
  openwith-mode: t
  auto-dim-other-buffers-mode: t
  delete-selection-mode: t
  adaptive-wrap-prefix-mode: t
  global-auto-revert-mode: t
  beacon-mode: t
  global-display-line-numbers-mode: t
  recentf-mode: t
  global-hl-line-mode: t
  doom-modeline-mode: t
  ido-vertical-mode: t
  ido-everywhere: t
  which-key-mode: t
  company-quickhelp-mode: t
  company-quickhelp-local-mode: t
  global-company-mode: t
  override-global-mode: t
  evil-leader-mode: t
  global-undo-tree-mode: t
  undo-tree-mode: t
  shell-dirtrack-mode: t
  evil-mode: t
  evil-local-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  global-visual-line-mode: t
  visual-line-mode: t
  transient-mark-mode: t
  auto-save-visited-mode: t
  overwrite-mode: overwrite-mode-binary

Load-path shadows:
/home/loki/.emacs.d/elpa/org-9.3.6/ob-gnuplot hides /usr/share/emacs/27.1/lisp/org/ob-gnuplot
/home/loki/.emacs.d/elpa/org-9.3.6/org-protocol hides /usr/share/emacs/27.1/lisp/org/org-protocol
/home/loki/.emacs.d/elpa/org-9.3.6/org-keys hides /usr/share/emacs/27.1/lisp/org/org-keys
/home/loki/.emacs.d/elpa/org-9.3.6/org-lint hides /usr/share/emacs/27.1/lisp/org/org-lint
/home/loki/.emacs.d/elpa/org-9.3.6/ob-processing hides /usr/share/emacs/27.1/lisp/org/ob-processing
/home/loki/.emacs.d/elpa/org-9.3.6/ob hides /usr/share/emacs/27.1/lisp/org/ob
/home/loki/.emacs.d/elpa/org-9.3.6/ol-info hides /usr/share/emacs/27.1/lisp/org/ol-info
/home/loki/.emacs.d/elpa/org-9.3.6/ob-dot hides /usr/share/emacs/27.1/lisp/org/ob-dot
/home/loki/.emacs.d/elpa/org-9.3.6/ox-beamer hides /usr/share/emacs/27.1/lisp/org/ox-beamer
/home/loki/.emacs.d/elpa/org-9.3.6/org-attach hides /usr/share/emacs/27.1/lisp/org/org-attach
/home/loki/.emacs.d/elpa/org-9.3.6/ol-bbdb hides /usr/share/emacs/27.1/lisp/org/ol-bbdb
/home/loki/.emacs.d/elpa/org-9.3.6/org-colview hides /usr/share/emacs/27.1/lisp/org/org-colview
/home/loki/.emacs.d/elpa/org-9.3.6/ob-ocaml hides /usr/share/emacs/27.1/lisp/org/ob-ocaml
/home/loki/.emacs.d/elpa/org-9.3.6/ob-awk hides /usr/share/emacs/27.1/lisp/org/ob-awk
/home/loki/.emacs.d/elpa/org-9.3.6/org-clock hides /usr/share/emacs/27.1/lisp/org/org-clock
/home/loki/.emacs.d/elpa/org-9.3.6/ob-org hides /usr/share/emacs/27.1/lisp/org/ob-org
/home/loki/.emacs.d/elpa/org-9.3.6/org-inlinetask hides /usr/share/emacs/27.1/lisp/org/org-inlinetask
/home/loki/.emacs.d/elpa/org-9.3.6/ob-stan hides /usr/share/emacs/27.1/lisp/org/ob-stan
/home/loki/.emacs.d/elpa/org-9.3.6/ol-mhe hides /usr/share/emacs/27.1/lisp/org/ol-mhe
/home/loki/.emacs.d/elpa/org-9.3.6/ol hides /usr/share/emacs/27.1/lisp/org/ol
/home/loki/.emacs.d/elpa/org-9.3.6/ob-lob hides /usr/share/emacs/27.1/lisp/org/ob-lob
/home/loki/.emacs.d/elpa/org-9.3.6/org-tempo hides /usr/share/emacs/27.1/lisp/org/org-tempo
/home/loki/.emacs.d/elpa/org-9.3.6/ob-sql hides /usr/share/emacs/27.1/lisp/org/ob-sql
/home/loki/.emacs.d/elpa/org-9.3.6/org-element hides /usr/share/emacs/27.1/lisp/org/org-element
/home/loki/.emacs.d/elpa/org-9.3.6/org hides /usr/share/emacs/27.1/lisp/org/org
/home/loki/.emacs.d/elpa/org-9.3.6/ob-perl hides /usr/share/emacs/27.1/lisp/org/ob-perl
/home/loki/.emacs.d/elpa/org-9.3.6/ol-irc hides /usr/share/emacs/27.1/lisp/org/ol-irc
/home/loki/.emacs.d/elpa/org-9.3.6/ob-exp hides /usr/share/emacs/27.1/lisp/org/ob-exp
/home/loki/.emacs.d/elpa/org-9.3.6/ox-man hides /usr/share/emacs/27.1/lisp/org/ox-man
/home/loki/.emacs.d/elpa/org-9.3.6/ob-C hides /usr/share/emacs/27.1/lisp/org/ob-C
/home/loki/.emacs.d/elpa/org-9.3.6/ob-core hides /usr/share/emacs/27.1/lisp/org/ob-core
/home/loki/.emacs.d/elpa/org-9.3.6/org-indent hides /usr/share/emacs/27.1/lisp/org/org-indent
/home/loki/.emacs.d/elpa/org-9.3.6/org-plot hides /usr/share/emacs/27.1/lisp/org/org-plot
/home/loki/.emacs.d/elpa/org-9.3.6/ob-hledger hides /usr/share/emacs/27.1/lisp/org/ob-hledger
/home/loki/.emacs.d/elpa/org-9.3.6/ob-lua hides /usr/share/emacs/27.1/lisp/org/ob-lua
/home/loki/.emacs.d/elpa/org-9.3.6/ob-asymptote hides /usr/share/emacs/27.1/lisp/org/ob-asymptote
/home/loki/.emacs.d/elpa/org-9.3.6/ob-vala hides /usr/share/emacs/27.1/lisp/org/ob-vala
/home/loki/.emacs.d/elpa/org-9.3.6/ob-css hides /usr/share/emacs/27.1/lisp/org/ob-css
/home/loki/.emacs.d/elpa/org-9.3.6/ob-ref hides /usr/share/emacs/27.1/lisp/org/ob-ref
/home/loki/.emacs.d/elpa/org-9.3.6/org-duration hides /usr/share/emacs/27.1/lisp/org/org-duration
/home/loki/.emacs.d/elpa/org-9.3.6/ol-bibtex hides /usr/share/emacs/27.1/lisp/org/ol-bibtex
/home/loki/.emacs.d/elpa/org-9.3.6/ob-calc hides /usr/share/emacs/27.1/lisp/org/ob-calc
/home/loki/.emacs.d/elpa/org-9.3.6/ob-forth hides /usr/share/emacs/27.1/lisp/org/ob-forth
/home/loki/.emacs.d/elpa/org-9.3.6/ox-odt hides /usr/share/emacs/27.1/lisp/org/ox-odt
/home/loki/.emacs.d/elpa/org-9.3.6/org-macs hides /usr/share/emacs/27.1/lisp/org/org-macs
/home/loki/.emacs.d/elpa/org-9.3.6/ol-rmail hides /usr/share/emacs/27.1/lisp/org/ol-rmail
/home/loki/.emacs.d/elpa/org-9.3.6/org-habit hides /usr/share/emacs/27.1/lisp/org/org-habit
/home/loki/.emacs.d/elpa/org-9.3.6/ob-latex hides /usr/share/emacs/27.1/lisp/org/ob-latex
/home/loki/.emacs.d/elpa/org-9.3.6/org-goto hides /usr/share/emacs/27.1/lisp/org/org-goto
/home/loki/.emacs.d/elpa/org-9.3.6/ob-tangle hides /usr/share/emacs/27.1/lisp/org/ob-tangle
/home/loki/.emacs.d/elpa/org-9.3.6/ob-sass hides /usr/share/emacs/27.1/lisp/org/ob-sass
/home/loki/.emacs.d/elpa/org-9.3.6/ob-python hides /usr/share/emacs/27.1/lisp/org/ob-python
/home/loki/.emacs.d/elpa/org-9.3.6/ol-docview hides /usr/share/emacs/27.1/lisp/org/ol-docview
/home/loki/.emacs.d/elpa/org-9.3.6/ox-texinfo hides /usr/share/emacs/27.1/lisp/org/ox-texinfo
/home/loki/.emacs.d/elpa/org-9.3.6/ob-coq hides /usr/share/emacs/27.1/lisp/org/ob-coq
/home/loki/.emacs.d/elpa/org-9.3.6/ob-haskell hides /usr/share/emacs/27.1/lisp/org/ob-haskell
/home/loki/.emacs.d/elpa/org-9.3.6/ob-octave hides /usr/share/emacs/27.1/lisp/org/ob-octave
/home/loki/.emacs.d/elpa/org-9.3.6/org-crypt hides /usr/share/emacs/27.1/lisp/org/org-crypt
/home/loki/.emacs.d/elpa/org-9.3.6/ob-shen hides /usr/share/emacs/27.1/lisp/org/ob-shen
/home/loki/.emacs.d/elpa/org-9.3.6/ob-J hides /usr/share/emacs/27.1/lisp/org/ob-J
/home/loki/.emacs.d/elpa/org-9.3.6/ox-publish hides /usr/share/emacs/27.1/lisp/org/ox-publish
/home/loki/.emacs.d/elpa/org-9.3.6/ob-screen hides /usr/share/emacs/27.1/lisp/org/ob-screen
/home/loki/.emacs.d/elpa/org-9.3.6/ob-io hides /usr/share/emacs/27.1/lisp/org/ob-io
/home/loki/.emacs.d/elpa/org-9.3.6/ob-eshell hides /usr/share/emacs/27.1/lisp/org/ob-eshell
/home/loki/.emacs.d/elpa/org-9.3.6/ob-ruby hides /usr/share/emacs/27.1/lisp/org/ob-ruby
/home/loki/.emacs.d/elpa/org-9.3.6/org-ctags hides /usr/share/emacs/27.1/lisp/org/org-ctags
/home/loki/.emacs.d/elpa/org-9.3.6/org-compat hides /usr/share/emacs/27.1/lisp/org/org-compat
/home/loki/.emacs.d/elpa/org-9.3.6/org-pcomplete hides /usr/share/emacs/27.1/lisp/org/org-pcomplete
/home/loki/.emacs.d/elpa/org-9.3.6/ob-groovy hides /usr/share/emacs/27.1/lisp/org/ob-groovy
/home/loki/.emacs.d/elpa/org-9.3.6/ob-js hides /usr/share/emacs/27.1/lisp/org/ob-js
/home/loki/.emacs.d/elpa/org-9.3.6/ob-table hides /usr/share/emacs/27.1/lisp/org/ob-table
/home/loki/.emacs.d/elpa/org-9.3.6/org-install hides /usr/share/emacs/27.1/lisp/org/org-install
/home/loki/.emacs.d/elpa/org-9.3.6/ol-w3m hides /usr/share/emacs/27.1/lisp/org/ol-w3m
/home/loki/.emacs.d/elpa/org-9.3.6/ox-icalendar hides /usr/share/emacs/27.1/lisp/org/ox-icalendar
/home/loki/.emacs.d/elpa/org-9.3.6/ob-makefile hides /usr/share/emacs/27.1/lisp/org/ob-makefile
/home/loki/.emacs.d/elpa/org-9.3.6/ob-java hides /usr/share/emacs/27.1/lisp/org/ob-java
/home/loki/.emacs.d/elpa/org-9.3.6/ob-R hides /usr/share/emacs/27.1/lisp/org/ob-R
/home/loki/.emacs.d/elpa/org-9.3.6/org-loaddefs hides /usr/share/emacs/27.1/lisp/org/org-loaddefs
/home/loki/.emacs.d/elpa/org-9.3.6/org-mouse hides /usr/share/emacs/27.1/lisp/org/org-mouse
/home/loki/.emacs.d/elpa/org-9.3.6/ox hides /usr/share/emacs/27.1/lisp/org/ox
/home/loki/.emacs.d/elpa/org-9.3.6/ob-sed hides /usr/share/emacs/27.1/lisp/org/ob-sed
/home/loki/.emacs.d/elpa/org-9.3.6/ob-emacs-lisp hides /usr/share/emacs/27.1/lisp/org/ob-emacs-lisp
/home/loki/.emacs.d/elpa/org-9.3.6/org-agenda hides /usr/share/emacs/27.1/lisp/org/org-agenda
/home/loki/.emacs.d/elpa/org-9.3.6/ob-mscgen hides /usr/share/emacs/27.1/lisp/org/ob-mscgen
/home/loki/.emacs.d/elpa/org-9.3.6/org-attach-git hides /usr/share/emacs/27.1/lisp/org/org-attach-git
/home/loki/.emacs.d/elpa/org-9.3.6/ob-shell hides /usr/share/emacs/27.1/lisp/org/ob-shell
/home/loki/.emacs.d/elpa/org-9.3.6/org-feed hides /usr/share/emacs/27.1/lisp/org/org-feed
/home/loki/.emacs.d/elpa/org-9.3.6/ox-latex hides /usr/share/emacs/27.1/lisp/org/ox-latex
/home/loki/.emacs.d/elpa/org-9.3.6/org-footnote hides /usr/share/emacs/27.1/lisp/org/org-footnote
/home/loki/.emacs.d/elpa/org-9.3.6/ob-sqlite hides /usr/share/emacs/27.1/lisp/org/ob-sqlite
/home/loki/.emacs.d/elpa/org-9.3.6/ox-org hides /usr/share/emacs/27.1/lisp/org/ox-org
/home/loki/.emacs.d/elpa/org-9.3.6/ob-lilypond hides /usr/share/emacs/27.1/lisp/org/ob-lilypond
/home/loki/.emacs.d/elpa/org-9.3.6/ob-abc hides /usr/share/emacs/27.1/lisp/org/ob-abc
/home/loki/.emacs.d/elpa/org-9.3.6/org-num hides /usr/share/emacs/27.1/lisp/org/org-num
/home/loki/.emacs.d/elpa/org-9.3.6/org-faces hides /usr/share/emacs/27.1/lisp/org/org-faces
/home/loki/.emacs.d/elpa/org-9.3.6/ob-fortran hides /usr/share/emacs/27.1/lisp/org/ob-fortran
/home/loki/.emacs.d/elpa/org-9.3.6/ob-ebnf hides /usr/share/emacs/27.1/lisp/org/ob-ebnf
/home/loki/.emacs.d/elpa/org-9.3.6/ob-comint hides /usr/share/emacs/27.1/lisp/org/ob-comint
/home/loki/.emacs.d/elpa/org-9.3.6/ob-ledger hides /usr/share/emacs/27.1/lisp/org/ob-ledger
/home/loki/.emacs.d/elpa/org-9.3.6/ob-matlab hides /usr/share/emacs/27.1/lisp/org/ob-matlab
/home/loki/.emacs.d/elpa/org-9.3.6/org-list hides /usr/share/emacs/27.1/lisp/org/org-list
/home/loki/.emacs.d/elpa/org-9.3.6/ob-plantuml hides /usr/share/emacs/27.1/lisp/org/ob-plantuml
/home/loki/.emacs.d/elpa/org-9.3.6/org-archive hides /usr/share/emacs/27.1/lisp/org/org-archive
/home/loki/.emacs.d/elpa/org-9.3.6/ox-html hides /usr/share/emacs/27.1/lisp/org/ox-html
/home/loki/.emacs.d/elpa/org-9.3.6/org-timer hides /usr/share/emacs/27.1/lisp/org/org-timer
/home/loki/.emacs.d/elpa/org-9.3.6/ob-scheme hides /usr/share/emacs/27.1/lisp/org/ob-scheme
/home/loki/.emacs.d/elpa/org-9.3.6/org-table hides /usr/share/emacs/27.1/lisp/org/org-table
/home/loki/.emacs.d/elpa/org-9.3.6/org-capture hides /usr/share/emacs/27.1/lisp/org/org-capture
/home/loki/.emacs.d/elpa/org-9.3.6/ob-maxima hides /usr/share/emacs/27.1/lisp/org/ob-maxima
/home/loki/.emacs.d/elpa/org-9.3.6/ol-gnus hides /usr/share/emacs/27.1/lisp/org/ol-gnus
/home/loki/.emacs.d/elpa/org-9.3.6/org-src hides /usr/share/emacs/27.1/lisp/org/org-src
/home/loki/.emacs.d/elpa/org-9.3.6/ox-md hides /usr/share/emacs/27.1/lisp/org/ox-md
/home/loki/.emacs.d/elpa/org-9.3.6/ob-eval hides /usr/share/emacs/27.1/lisp/org/ob-eval
/home/loki/.emacs.d/elpa/org-9.3.6/org-id hides /usr/share/emacs/27.1/lisp/org/org-id
/home/loki/.emacs.d/elpa/org-9.3.6/ob-clojure hides /usr/share/emacs/27.1/lisp/org/ob-clojure
/home/loki/.emacs.d/elpa/org-9.3.6/org-macro hides /usr/share/emacs/27.1/lisp/org/org-macro
/home/loki/.emacs.d/elpa/org-9.3.6/org-entities hides /usr/share/emacs/27.1/lisp/org/org-entities
/home/loki/.emacs.d/elpa/org-9.3.6/ol-eshell hides /usr/share/emacs/27.1/lisp/org/ol-eshell
/home/loki/.emacs.d/elpa/org-9.3.6/ox-ascii hides /usr/share/emacs/27.1/lisp/org/ox-ascii
/home/loki/.emacs.d/elpa/org-9.3.6/ob-ditaa hides /usr/share/emacs/27.1/lisp/org/ob-ditaa
/home/loki/.emacs.d/elpa/org-9.3.6/org-datetree hides /usr/share/emacs/27.1/lisp/org/org-datetree
/home/loki/.emacs.d/elpa/org-9.3.6/ol-eww hides /usr/share/emacs/27.1/lisp/org/ol-eww
/home/loki/.emacs.d/elpa/org-9.3.6/ob-picolisp hides /usr/share/emacs/27.1/lisp/org/ob-picolisp
/home/loki/.emacs.d/elpa/org-9.3.6/ob-lisp hides /usr/share/emacs/27.1/lisp/org/ob-lisp
/home/loki/.emacs.d/elpa/org-9.3.6/org-mobile hides /usr/share/emacs/27.1/lisp/org/org-mobile
/home/loki/.emacs.d/elpa/org-9.3.6/org-version hides /usr/share/emacs/27.1/lisp/org/org-version

Features:
(shadow emacsbug cal-move diary-lib diary-loaddefs cal-iso org-archive
disp-table linum whitespace org-agenda vc-mtn vc-hg vc-git vc-bzr vc-src
vc-sccs vc-cvs vc-rcs vc vc-dispatcher transpose-frame buffer-move
pdf-tools cus-edit cus-start cus-load pdf-view magit-bookmark bookmark
pp pdf-cache pdf-info tq pdf-util org-ref org-ref-helm-bibtex
org-ref-helm helm-utils helm-bibtex bibtex-completion org-capture biblio
biblio-download biblio-dissemin biblio-ieee biblio-hal biblio-dblp
biblio-crossref biblio-arxiv timezone biblio-doi biblio-core let-alist
url-queue helm-net helm-help helm helm-source eieio-compat
helm-multi-match helm-lib helm-config helm-easymenu org-ref-core
reftex-cite reftex reftex-loaddefs reftex-vars parsebib ox-odt rng-loc
rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii
ox-publish ox org-ref-glossary org-ref-bibtex org-ref-citeproc key-chord
hydra lv doi-utils org-ref-utils org-ref-pdf htmlize cl org-edna
org-tempo tempo org-inlinetask iedit iedit-lib expand-region
text-mode-expansions the-org-mode-expansions er-basic-expansions
expand-region-core expand-region-custom yasnippet-snippets yasnippet
ess-mode ess-inf ess-tracebug ess ess-utils ess-custom dockerfile-mode
sh-script smie executable haskell-mode haskell-cabal haskell-utils
haskell-font-lock haskell-indentation haskell-string
haskell-sort-imports haskell-lexeme haskell-align-imports
haskell-complete-module haskell-ghc-support flymake-proc flymake
warnings dabbrev haskell-customize auto-highlight-symbol magit-submodule
magit-obsolete magit-blame magit-stash magit-reflog magit-bisect
magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit
magit-sequence magit-notes magit-worktree magit-tag magit-merge
magit-branch magit-reset magit-files magit-refs magit-status magit
magit-repos magit-apply magit-wip magit-log which-func imenu magit-diff
smerge-mode diff-mode magit-core magit-autorevert magit-margin
magit-transient magit-process magit-mode git-commit transient magit-git
magit-section magit-utils crm log-edit pcvs-util add-log with-editor
async-bytecomp async server git-gutter multiple-cursors
mc-hide-unmatched-lines-mode mc-separate-operations
rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors
mc-edit-lines multiple-cursors-core flycheck rainbow-delimiters paren
smartparens fill-column-indicator dumb-jump popup ag vc-svn find-dired
counsel-projectile counsel xdg swiper ivy ivy-faces ivy-overlay colir
color projectile grep ibuf-ext ibuffer ibuffer-loaddefs mu4e-alert ht
alert log4e notifications dbus gntp mu4e desktop frameset mu4e-org
mu4e-main mu4e-view mu4e-headers mu4e-compose mu4e-context mu4e-draft
mu4e-actions rfc2368 smtpmail sendmail mu4e-mark mu4e-message flow-fill
mu4e-proc mu4e-utils mu4e-lists mule-util mu4e-vars mu4e-meta darkroom
openwith face-remap auto-dim-other-buffers langtool delsel adaptive-wrap
autorevert filenotify beacon display-line-numbers dashboard
dashboard-widgets time recentf tree-widget page-break-lines hl-line
doom-themes-ext-org doom-themes-ext-treemacs doom-themes-ext-neotree
doom-one-theme neotree doom-themes doom-themes-base doom-modeline
doom-modeline-segments doom-modeline-env doom-modeline-core shrink-path
rx f s all-the-icons all-the-icons-faces data-material data-weathericons
data-octicons data-fileicons data-faicons data-alltheicons memoize
ido-vertical-mode ido ace-window avy which-key company-quickhelp pos-tip
company-oddmuse company-keywords company-etags etags fileloop xref
project company-gtags company-dabbrev-code company-dabbrev company-files
company-capf company-cmake company-xcode company-clang company-semantic
company-eclim company-template company-bbdb company pcase
use-package-diminish use-package-bind-key bind-key org-evil
org-evil-table org-evil-motion org-evil-list org-evil-commands
org-evil-core monitor dash tar-mode arc-mode archive-mode evil-leader
evil evil-keybindings evil-integration undo-tree diff evil-maps
evil-commands reveal flyspell ispell evil-jumps evil-command-window
evil-types evil-search evil-ex shell evil-macros evil-repeat evil-states
evil-core evil-common windmove thingatpt rect evil-digraphs evil-vars
compile autoload radix-tree lisp-mnt mm-archive gnutls network-stream
url-http url-gw nsm url-cache url-auth try use-package-ensure
use-package-core org-element avl-tree generator ol-eww ol-rmail ol-mhe
ol-irc ol-info ol-gnus nnir gnus-sum url url-proxy url-privacy
url-expand url-methods url-history mailcap shr url-cookie url-domsuf
url-util svg xml dom gnus-group gnus-undo gnus-start gnus-cloud nnimap
nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int
gnus-range message rmc puny rfc822 mml mml-sec epa derived epg
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums text-property-search
mail-utils mm-util mail-prsvr wid-edit ol-docview doc-view jka-compr
image-mode exif dired dired-loaddefs ol-bibtex bibtex ol-bbdb ol-w3m
cl-extra help-mode org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint
ansi-color ring org-list org-faces org-entities time-date noutline
outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table
ol org-keys org-compat advice org-macs org-loaddefs format-spec
find-func cal-menu calendar cal-loaddefs finder-inf edmacro kmacro info
package easymenu browse-url url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type
mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 798493 104024)
 (symbols 48 58219 17)
 (strings 32 242315 13342)
 (string-bytes 1 7357820)
 (vectors 16 92875)
 (vector-slots 8 1182890 64552)
 (floats 8 1226 394)
 (intervals 56 6544 2466)
 (buffers 1000 25))
[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42921; Package emacs. (Fri, 16 Oct 2020 15:01:02 GMT) Full text and rfc822 format available.

Message #8 received at 42921 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Matthias Weigand <matthias.weigand <at> protonmail.com>
Cc: 42921 <at> debbugs.gnu.org
Subject: Re: bug#42921: 27.1;  Setting (setq system-time-locale
 “C”) in daemon ineffective
Date: Fri, 16 Oct 2020 17:00:11 +0200
Matthias Weigand <matthias.weigand <at> protonmail.com> writes:

> I try to set the time locale to "C" in my config via (setq
> system-time-locale "C"). However, when using the emacs --daemon, it is
> not set properly and I end up with non-english date formats and weekday
> abbreviations when the system locale is different.
>
> Discussion over at stackexchange pointed to the time variable not being
> used directly but as a terminal-local variable.
> https://emacs.stackexchange.com/q/60134
>
> Unfortunately, I am not very literate in elisp so I am not able to
> provide more information. Let me know if I should test something.

I'm unable to reproduce this error.  Could you provide a recipe for
reproducing this?  In particular, what are the LC_* language environment
variables?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 16 Oct 2020 15:02:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42921; Package emacs. (Tue, 24 Nov 2020 08:52:02 GMT) Full text and rfc822 format available.

Message #13 received at 42921 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Matthias Weigand <matthias.weigand <at> protonmail.com>
Cc: 42921 <at> debbugs.gnu.org
Subject: Re: bug#42921: 27.1;  Setting (setq system-time-locale
 “C”) in daemon ineffective
Date: Tue, 24 Nov 2020 09:50:57 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I'm unable to reproduce this error.  Could you provide a recipe for
> reproducing this?  In particular, what are the LC_* language environment
> variables?

This was a month ago, and there was no response, so it seems unlikely
that there'll be further progress here, and I'm closing this bug report.
If further progress can be made, please respond to the debbugs address
and we'll reopen.
-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 42921 <at> debbugs.gnu.org and Matthias Weigand <matthias.weigand <at> protonmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 24 Nov 2020 08:52:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42921; Package emacs. (Mon, 30 Nov 2020 10:27:02 GMT) Full text and rfc822 format available.

Message #18 received at 42921 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Matthias Weigand <matthias.weigand <at> protonmail.com>
Cc: "42921 <at> debbugs.gnu.org" <42921 <at> debbugs.gnu.org>
Subject: Re: bug#42921: 27.1;  Setting (setq system-time-locale
 “C”) in daemon ineffective
Date: Mon, 30 Nov 2020 11:26:29 +0100
Matthias Weigand <matthias.weigand <at> protonmail.com> writes:

> It turned out, that although my zsh showed the correct locale,
> en_US.UTF-8 that is, my bash did still rock the wrong de_DE.UTF-8.
>
> Changing it solve the issue, for me at least. It does not explain why
> setting the locale in your init.el/config.org would not be accepted
> when running in daemon as opposed to individually instanced sessions.

I wasn't able to reproduce the bug, and there's no recipe to reproduce
it, either, so I'm guessing there'll be no further progress in this bug
report, and I'm closing it.  If further progress can be made, please
respond to the debbugs address and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#42921; Package emacs. (Mon, 30 Nov 2020 15:45:02 GMT) Full text and rfc822 format available.

Message #21 received at 42921 <at> debbugs.gnu.org (full text, mbox):

From: Matthias Weigand <matthias.weigand <at> protonmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "42921 <at> debbugs.gnu.org" <42921 <at> debbugs.gnu.org>
Subject: Re: bug#42921: 27.1;
   Setting (setq system-time-locale “C”) in daemon ineffective
Date: Mon, 30 Nov 2020 07:59:11 +0000
[Message part 1 (text/plain, inline)]
It turned out, that although my zsh showed the correct locale, en_US.UTF-8 that is, my bash did still rock the wrong de_DE.UTF-8. 


Changing it solve the issue, for me at least. It does not explain why setting the locale in your init.el/config.org would not be accepted when running in daemon as opposed to individually instanced sessions.

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Friday, October 16, 2020 5:00 PM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:

&gt; Matthias Weigand matthias.weigand <at> protonmail.com writes:
&gt;
&gt; &gt; I try to set the time locale to "C" in my config via (setq
&gt; &gt; system-time-locale "C"). However, when using the emacs --daemon, it is
&gt; &gt; not set properly and I end up with non-english date formats and weekday
&gt; &gt; abbreviations when the system locale is different.
&gt; &gt; Discussion over at stackexchange pointed to the time variable not being
&gt; &gt; used directly but as a terminal-local variable.
&gt; &gt; https://emacs.stackexchange.com/q/60134
&gt; &gt; Unfortunately, I am not very literate in elisp so I am not able to
&gt; &gt; provide more information. Let me know if I should test something.
&gt;
&gt; I'm unable to reproduce this error. Could you provide a recipe for
&gt; reproducing this? In particular, what are the LC_* language environment
&gt; variables?
&gt;
&gt; --------------------------------------------------------------------------------------------------------------------------------------------------------
&gt;
&gt; (domestic pets only, the antidote for overdose, milk.)
&gt; bloggy blog: http://lars.ingebrigtsen.no

</larsi <at> gnus.org>
[signature.asc (application/pgp-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 29 Dec 2020 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.