From: "René Genz" <liebundartig@freenet.de>
To: 23544@debbugs.gnu.org
Subject: bug#23544: 25.0.93; default paper size assumed from LANG locale setting -- use LC_PAPER
Date: Sun, 15 May 2016 22:53:07 +0200 [thread overview]
Message-ID: <5738E1B3.3080109@freenet.de> (raw)
Dear sir or madam,
if you want to have English language for text and paper size "A4" on
GNU/Linux as default you can set locale setting to:
LANG=en_US.UTF-8
LC_PAPER=de_DE.UTF-8
This works fine for other applications.
Emacs assumes default paper size from LANG, not LC_PAPER.
Please, use LC_PAPER to assume default paper size, if no (user or
system)option is set.
To reproduce:
1. execute in terminal: LANG=en_US.UTF-8 emacs
2. in Emacs: C-h v ps-paper-type
value is: letter
3. close Emacs
4. in terminal execute: LANG=de_DE.UTF-8 emacs
5. in Emacs: C-h v ps-paper-type
value is: a4
6. value of LC_PAPER does not matter
I am using Fedora 24 x86_64 to write up the bug report.
I can reproduce this with other versions of Emacs on different GNU/Linux
distributions, f.e. Emacs 24.3.1 on Trisquel 7.0 x86_64.
I can work around the problem with:
a) system setting
(setq ps-paper-type (quote a4)))
in /usr/share/emacs/site-lisp/site-start.el
b) user setting
in ${HOME}/.emacs
(customize in Emacs with: C-h v ps-paper-type)
In GNU Emacs 25.0.93.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.3)
of 2016-05-03 built on buildhw-12.phx2.fedoraproject.org
--
Kind regards,
René
next reply other threads:[~2016-05-15 20:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-15 20:53 René Genz [this message]
2016-05-16 15:19 ` bug#23544: 25.0.93; default paper size assumed from LANG locale setting -- use LC_PAPER Eli Zaretskii
2016-05-18 0:09 ` René Genz
2016-05-18 2:35 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5738E1B3.3080109@freenet.de \
--to=liebundartig@freenet.de \
--cc=23544@debbugs.gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.