Subject: Re: bug#23544: 25.0.93; default paper size assumed from LANG locale setting -- use LC_PAPER

From: Eli Zaretskii <[email-masked]>
Date: Mon, 16 May 2016 18:19:39 +0300

> From: René Genz <[email-masked]>
> Date: Sun, 15 May 2016 22:53:07 +0200
> 
> 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.

Emacs already uses LC_PAPER for assigning the default value to
ps-paper-type.  It's just that the code which did that had a subtle
bug.  Now fixed on the emacs-25 branch.  Please try that, if you can,
and please see if your problem is solved.

Thanks.